:root {
    --navy: #102a2c;
    --navy-2: #173b3d;
    --teal: #0f766e;
    --teal-2: #14b8a6;
    --teal-soft: #e9f8f5;
    --orange: #e77732;
    --orange-soft: #fff3ea;
    --blue: #3566c8;
    --blue-soft: #eef4ff;
    --red: #c44343;
    --red-soft: #fff0f0;
    --ink: #172426;
    --muted: #687779;
    --line: #dfe8e7;
    --surface: #ffffff;
    --canvas: #f5f8f7;
    --shadow: 0 18px 50px rgba(20, 52, 51, .09);
    --shadow-sm: 0 7px 22px rgba(20, 52, 51, .07);
    --radius: 16px;
    --radius-sm: 10px;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, .brand { font-family: 'Manrope', sans-serif; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--teal-2), var(--teal)); box-shadow: 0 8px 20px rgba(20, 184, 166, .23); }
.brand-light { color: white; }
.punit-logo { position: relative; display: block; overflow: hidden; flex: none; background: #fff; border-radius: 11px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.punit-logo img { position: absolute; display: block; height: auto; max-width: none; }
.punit-logo-login { width: 230px; height: 108px; }
.punit-logo-login img { width: 230px; left: 0; top: -61px; }
.punit-logo-sidebar { width: 184px; height: 54px; border-radius: 9px; }
.punit-logo-sidebar img { width: 196px; left: -6px; top: -52px; }
.punit-logo-mobile { width: 205px; height: 94px; margin-bottom: 38px; }
.punit-logo-mobile img { width: 205px; left: 0; top: -55px; }
.eyebrow { display: inline-block; font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: 1.8px; }
.text-teal { color: var(--teal); }
.muted { color: var(--muted); }

/* Login */
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); }
.login-showcase { position: relative; overflow: hidden; min-height: 100vh; padding: 44px 6vw; color: white; background: radial-gradient(circle at 18% 18%, rgba(28, 197, 179, .21), transparent 30%), radial-gradient(circle at 85% 78%, rgba(64, 148, 139, .2), transparent 33%), linear-gradient(145deg, #0c2729, #123c3d 55%, #0e3133); display: flex; flex-direction: column; }
.login-showcase::before { content: ''; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom right, black, transparent 70%); }
.showcase-copy { position: relative; z-index: 2; margin: auto 0 30px; max-width: 720px; }
.showcase-copy .eyebrow { color: #72ded2; margin-bottom: 22px; }
.showcase-copy h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.04; letter-spacing: -3px; margin-bottom: 24px; }
.showcase-copy p { max-width: 620px; font-size: 18px; line-height: 1.7; color: #b9cecd; }
.showcase-foot { position: relative; z-index: 2; color: #9eb7b6; font-size: 13px; letter-spacing: .4px; }
.showcase-visual { position: absolute; inset: auto 3vw 16vh auto; width: 360px; height: 330px; opacity: .92; }
.orbit { position: absolute; border: 1px solid rgba(104, 222, 209, .16); border-radius: 50%; animation: orbit 18s linear infinite; }
.orbit-one { width: 300px; height: 300px; inset: 20px; }
.orbit-two { width: 210px; height: 210px; inset: 65px; animation-direction: reverse; animation-duration: 13s; }
.orbit::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #56dbcb; position: absolute; left: 50%; top: -4px; box-shadow: 0 0 20px #56dbcb; }
@keyframes orbit { to { transform: rotate(360deg); } }
.visual-card { position: absolute; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.09); backdrop-filter: blur(16px); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.2); padding: 18px; display: flex; flex-direction: column; }
.visual-card strong { font: 700 22px 'Manrope'; margin: 7px 0 3px; }
.visual-card small { color: #b7cecc; }
.card-master { width: 220px; left: 40px; top: 60px; animation: float 5s ease-in-out infinite; }
.card-weight { width: 185px; right: 0; bottom: 46px; animation: float 5s ease-in-out -2s infinite; }
.mini-label { color: #70ded1; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #5de4a3; box-shadow: 0 0 0 7px rgba(93,228,163,.1); }
@keyframes float { 50% { transform: translateY(-10px); } }
.visual-barcode { position: absolute; display: flex; gap: 5px; align-items: stretch; width: 150px; height: 52px; left: 13px; bottom: 35px; opacity: .5; }
.visual-barcode i { flex: 1; background: white; border-radius: 2px; }
.visual-barcode i:nth-child(2n) { flex: .4; }
.login-panel { display: grid; place-items: center; padding: 45px; background: white; }
.login-card { width: min(100%, 420px); }
.login-card h2 { margin: 15px 0 8px; font-size: 36px; letter-spacing: -1.5px; }
.login-card > p { margin-bottom: 33px; }
.login-help { display: block; text-align: center; color: var(--muted); margin-top: 20px; }
.mobile-brand { display: none; }

/* Form controls */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span { color: #405052; font-size: 13px; font-weight: 700; }
.field span em { color: #849293; font-size: 11px; font-style: normal; font-weight: 500; float: right; }
.field input, .field select, .field textarea, .toolbar select, .search-box { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; min-height: 44px; padding: 10px 13px; outline: none; transition: .18s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search-box:focus-within, .toolbar select:focus { border-color: #4fb6aa; box-shadow: 0 0 0 4px rgba(20, 184, 166, .1); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 50px; }
.password-wrap .icon-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.form-error { margin: 16px 0; padding: 11px 13px; border-radius: 9px; color: var(--red); background: var(--red-soft); font-size: 13px; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.form-grid .span-2 { grid-column: span 2; }
.form-grid.compact { gap: 10px; }

/* Buttons */
.btn { border: 1px solid transparent; border-radius: 10px; min-height: 42px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; transition: .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { color: white; background: linear-gradient(135deg, #0f7e74, #0a675f); box-shadow: 0 8px 18px rgba(15,118,110,.18); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(15,118,110,.28); }
.btn-secondary { color: var(--teal); background: white; border-color: #bcdad7; }
.btn-ghost { color: #536163; background: transparent; border-color: transparent; }
.btn-ghost:hover { background: #eef5f4; }
.btn-danger { color: var(--red); background: var(--red-soft); }
.btn-sm { min-height: 34px; padding: 6px 11px; font-size: 12px; }
.btn-lg { min-height: 50px; padding: 12px 18px; }
.btn-block { width: 100%; }
.icon-btn { width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 9px; color: inherit; }
.icon-btn:hover { background: rgba(127,127,127,.1); }

/* App shell */
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: 258px; color: #d7e3e2; background: linear-gradient(180deg, #112d2f, #0d2729); display: flex; flex-direction: column; }
.sidebar::after { content: ''; position: absolute; inset: auto 0 0; height: 250px; background: radial-gradient(circle at 20% 90%, rgba(20,184,166,.12), transparent 65%); pointer-events: none; }
.sidebar-head { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sidebar-brand-card { min-width: 0; flex: 1; height: 68px; display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 24px rgba(0,0,0,.1); transition: .2s ease; }
.sidebar-brand-card:hover { border-color: rgba(82,211,196,.28); background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(20,184,166,.07)); transform: translateY(-1px); }
.sidebar-logo-crop { position: relative; flex: none; width: 104px; height: 50px; overflow: hidden; border-radius: 9px; background: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.16); }
.sidebar-logo-crop img { position: absolute; width: 122px; height: auto; max-width: none; left: -9px; top: -32px; }
.sidebar-brand-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.08; }
.sidebar-brand-copy small { color: #64d8cb; font-size: 7px; font-weight: 800; letter-spacing: 1.25px; }
.sidebar-brand-copy strong { margin-top: 4px; color: #f3f9f8; font: 700 12px 'Manrope'; white-space: nowrap; }
.sidebar-brand-copy em { margin-top: 3px; color: #7f9d9b; font-size: 7px; font-style: normal; white-space: nowrap; }
.sidebar-close { display: none; }
.workspace-chip { margin: 18px 15px 8px; padding: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.035); }
.workspace-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #73dfd2; background: rgba(20,184,166,.13); font-size: 10px; font-weight: 800; }
.workspace-chip div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.workspace-chip small { color: #7f9a99; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }
.workspace-chip strong { color: #e6efee; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #50d795; box-shadow: 0 0 0 5px rgba(80,215,149,.09); }
.nav-list { flex: 1; padding: 4px 12px; overflow-y: auto; }
.nav-heading { color: #6f8988; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; margin: 22px 12px 8px; }
.nav-link { position: relative; height: 44px; padding: 0 12px; border-radius: 10px; display: flex; align-items: center; gap: 13px; color: #a9bcbb; font-size: 13px; margin-bottom: 4px; transition: .18s ease; }
.nav-link > span { width: 21px; text-align: center; font-size: 18px; }
.nav-link b { font-weight: 600; }
.nav-link:hover { color: white; background: rgba(255,255,255,.05); }
.nav-link.active { color: white; background: linear-gradient(90deg, rgba(20,184,166,.24), rgba(20,184,166,.08)); }
.nav-link.active::before { content: ''; position: absolute; left: -12px; width: 3px; height: 24px; border-radius: 0 4px 4px 0; background: #48d1c0; box-shadow: 0 0 14px rgba(72,209,192,.45); }
.nav-link em { margin-left: auto; color: white; background: var(--orange); border-radius: 20px; padding: 2px 7px; font-size: 9px; font-style: normal; }
.sidebar-foot { position: relative; z-index: 1; padding: 15px; }
.support-card { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 11px; background: rgba(255,255,255,.04); }
.support-card > span { color: #61d7ca; }
.support-card div { display: flex; flex-direction: column; }
.support-card strong { font-size: 11px; color: #cfe0df; }
.support-card small { color: #6f8988; font-size: 9px; }
.main-area { margin-left: 258px; min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 30; height: 79px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-left p { margin: 0 0 2px; color: #8a9899; font-size: 10px; }
.topbar-left h1 { margin: 0; font-size: 18px; letter-spacing: -.5px; }
.menu-toggle { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 11px; }
.live-pill, .date-pill { height: 34px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 20px; padding: 0 12px; background: white; color: var(--muted); font-size: 11px; }
.live-pill i { width: 7px; height: 7px; background: #2fbf7f; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47,191,127,.12); } }
.user-menu-wrap { position: relative; }
.user-button { border: 0; background: transparent; display: flex; align-items: center; gap: 9px; border-radius: 10px; padding: 5px 7px; text-align: left; }
.user-button:hover { background: #eef4f3; }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(145deg, #245f61, #0f766e); font-weight: 800; }
.user-button > span:nth-child(2) { display: flex; flex-direction: column; min-width: 95px; }
.user-button strong { font-size: 11px; }
.user-button small { color: var(--muted); font-size: 9px; }
.user-dropdown { position: absolute; top: 48px; right: 0; min-width: 150px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); padding: 6px; }
.user-dropdown button { width: 100%; border: 0; padding: 9px 10px; text-align: left; background: transparent; border-radius: 7px; color: var(--red); }
.user-dropdown button:hover { background: var(--red-soft); }
.page-container { padding: 30px 32px 48px; max-width: 1680px; margin: 0 auto; }
.page { display: none; animation: pageIn .25s ease; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } }
.welcome-row, .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.welcome-row h2, .page-head h2 { margin: 8px 0 5px; font-size: 28px; letter-spacing: -1.2px; }
.welcome-row p, .page-head p { margin: 0; color: var(--muted); font-size: 13px; }
.head-actions { display: flex; gap: 9px; }

/* Panels, metrics, tables */
.panel, .table-panel, .label-summary, .access-note, .report-banner { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 3px 12px rgba(15,54,52,.025); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 17px; }
.metric-card { position: relative; overflow: hidden; min-height: 135px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.metric-card::after { content: ''; position: absolute; width: 100px; height: 100px; border-radius: 50%; right: -40px; top: -40px; background: var(--metric-soft); }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--metric-soft); color: var(--metric-color); font-size: 18px; }
.metric-value { display: block; margin: 14px 0 2px; font: 800 26px 'Manrope'; letter-spacing: -1px; }
.metric-foot { color: var(--muted); font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr); gap: 17px; }
.panel { padding: 21px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.panel-head > div { display: flex; align-items: center; gap: 10px; }
.panel-head h3 { margin: 3px 0 0; font-size: 15px; }
.panel-head small { color: var(--muted); }
.panel-kicker { display: block; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.stock-chart { min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 13px; }
.chart-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) minmax(150px, 3fr) 110px; gap: 15px; align-items: center; }
.chart-name { min-width: 0; }
.chart-name strong, .chart-name small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-name strong { font-size: 12px; }
.chart-name small { color: var(--muted); font-size: 9px; }
.chart-track { height: 9px; overflow: hidden; border-radius: 10px; background: #edf3f2; }
.chart-fill { height: 100%; min-width: 2px; border-radius: 10px; background: linear-gradient(90deg, #16a394, #46cabb); animation: growBar .8s ease both; }
@keyframes growBar { from { width: 0 !important; } }
.chart-value { text-align: right; font-size: 11px; font-weight: 700; }
.activity-list { display: flex; flex-direction: column; }
.activity-item { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; padding: 0 0 17px; }
.activity-item:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 34px; bottom: 0; width: 1px; background: var(--line); }
.activity-icon { position: relative; z-index: 1; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; color: var(--teal); background: var(--teal-soft); }
.activity-item strong { display: block; font-size: 11px; }
.activity-item p { margin: 2px 0; color: var(--muted); font-size: 10px; }
.activity-item small { color: #97a3a4; font-size: 9px; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.search-box { max-width: 360px; display: flex; align-items: center; gap: 8px; padding: 0 13px; }
.search-box input { min-width: 0; width: 100%; height: 40px; border: 0; outline: 0; background: transparent; }
.toolbar select { width: auto; min-width: 140px; }
.result-count { margin-left: auto; color: var(--muted); font-size: 11px; }
.table-panel { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { height: 44px; padding: 0 15px; text-align: left; color: #738182; background: #f7faf9; border-bottom: 1px solid var(--line); font-size: 9px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.data-table td { padding: 13px 15px; border-bottom: 1px solid #ebf0ef; font-size: 11px; vertical-align: middle; }
.data-table tbody tr { transition: .15s ease; }
.data-table tbody tr:hover { background: #fbfdfd; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.cell-main { display: flex; align-items: center; gap: 10px; min-width: 170px; }
.cell-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: var(--teal-soft); font-weight: 800; }
.cell-main strong, .cell-main small { display: block; }
.cell-main strong { font-size: 11px; }
.cell-main small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; color: #3d5152; }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; border-radius: 20px; padding: 3px 8px; font-size: 9px; font-weight: 700; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-success { color: #167d58; background: #e9f8f1; }
.badge-muted { color: #7b8788; background: #eef2f2; }
.badge-blue { color: #315dac; background: var(--blue-soft); }
.badge-orange { color: #b45d26; background: var(--orange-soft); }
.row-actions { display: flex; justify-content: flex-end; gap: 3px; }
.row-action { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #667576; background: transparent; }
.row-action:hover { color: var(--teal); background: var(--teal-soft); }
.row-action.danger:hover { color: var(--red); background: var(--red-soft); }
.mini-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 13px; }
.mini-metric { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.mini-metric span { color: var(--muted); font-size: 10px; }
.mini-metric strong { font: 700 15px 'Manrope'; }

/* Empty state */
.empty-state { min-height: 260px; display: grid; place-items: center; align-content: center; text-align: center; padding: 35px; }
.empty-state h3 { margin: 18px 0 5px; font-size: 15px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 11px; }
.empty-animation { position: relative; width: 85px; height: 68px; }
.empty-animation span, .empty-animation i, .empty-animation b { position: absolute; border-radius: 8px; }
.empty-animation span { width: 54px; height: 43px; left: 15px; bottom: 3px; background: #dff3f0; border: 2px solid #75c9bf; animation: emptyFloat 3s ease-in-out infinite; }
.empty-animation i { width: 36px; height: 7px; left: 24px; bottom: 18px; background: #70c6bc; box-shadow: 0 -12px #9edbd4; }
.empty-animation b { width: 18px; height: 18px; right: 0; top: 0; background: var(--orange-soft); border: 2px solid #eba16e; animation: emptyFloat 3s ease-in-out -1s infinite; }
@keyframes emptyFloat { 50% { transform: translateY(-6px); } }

/* Labels */
.label-summary, .access-note, .report-banner, .customer-overview { padding: 15px 18px; margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.label-summary > div:first-child, .access-note, .report-banner > div:first-child { display: flex; align-items: center; gap: 12px; }
.summary-icon, .access-note > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--teal); background: var(--teal-soft); }
.label-summary strong, .label-summary small, .access-note strong, .access-note small, .report-banner strong, .report-banner small { display: block; }
.label-summary strong, .access-note strong, .report-banner strong { font-size: 11px; }
.label-summary small, .access-note small, .report-banner small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.label-legend { display: flex; gap: 16px; color: var(--muted); font-size: 10px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.bundle-dot { background: var(--teal-2); }.master-dot { background: var(--orange); }
.customer-overview { border: 1px solid #cfe7e4; border-radius: var(--radius); background: linear-gradient(100deg, #f2faf8, #fff); }
.customer-overview > div:first-child { display: flex; align-items: center; gap: 12px; }
.customer-overview strong, .customer-overview small { display: block; }
.customer-overview strong { font-size: 11px; }.customer-overview small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.customer-stat { min-width: 118px; padding-left: 18px; border-left: 1px solid #d8e9e6; text-align: right; }
.customer-stat strong { font: 800 22px 'Manrope'; color: var(--teal); }.customer-stat span { color: var(--muted); font-size: 9px; }
.contact-stack strong, .contact-stack small { display: block; }.contact-stack small { color: var(--muted); margin-top: 2px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.label-card { border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; transition: .2s ease; }
.label-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.label-preview { height: 180px; display: grid; place-items: center; background: #f2f6f5; padding: 24px; }
.label-sheet { position: relative; width: 100%; height: 100%; max-width: 235px; background: white; border: 1px solid #cad4d3; box-shadow: 0 6px 15px rgba(30,60,60,.08); overflow: hidden; }
.label-sheet .preview-element { position: absolute; transform: scale(.72); transform-origin: left top; white-space: nowrap; }
.label-card-body { padding: 14px; }
.label-card-top { display: flex; justify-content: space-between; gap: 10px; }
.label-card h3 { margin: 0 0 4px; font-size: 13px; }
.label-card p { color: var(--muted); font-size: 9px; margin: 0; }
.label-card-actions { display: flex; align-items: center; gap: 3px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }

/* Dispatch */
.dispatch-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(300px,.65fr); gap: 16px; align-items: start; }
.dispatch-builder, .dispatch-summary { padding: 22px; }
.step-badge { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: var(--teal-soft); font-size: 10px; font-weight: 800; }
.scan-section { margin: 23px -22px 0; padding: 20px 22px; background: #f7faf9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scan-title, .dispatch-cart-head { display: flex; align-items: center; gap: 10px; }
.scan-title h3, .dispatch-cart-head h3 { margin: 0; font-size: 13px; }
.scan-title small, .dispatch-cart-head small { color: var(--muted); font-size: 9px; }
.scan-box { margin-top: 13px; min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 15px; border: 1.5px dashed #8fc5bf; border-radius: 12px; background: white; }
.scan-box:focus-within { border-style: solid; box-shadow: 0 0 0 4px rgba(20,184,166,.1); }
.scan-box input { flex: 1; min-width: 0; border: 0; outline: 0; font: 600 13px ui-monospace, monospace; }
.scan-icon { color: var(--teal); font-size: 22px; }
.scan-help { display: block; color: var(--muted); margin-top: 7px; font-size: 9px; }
.dispatch-cart-head { justify-content: space-between; margin-top: 20px; }
.dispatch-cart-head > div { display: flex; align-items: center; gap: 10px; }
.link-danger { border: 0; background: transparent; color: var(--red); font-size: 10px; }
.dispatch-cart { min-height: 120px; margin-top: 12px; }
.cart-row { display: grid; grid-template-columns: 36px minmax(150px,1fr) repeat(3,80px) 32px; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 7px; animation: pageIn .2s ease; }
.cart-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--teal); background: var(--teal-soft); }
.cart-row strong { display: block; font-size: 10px; }
.cart-row small { color: var(--muted); font-size: 8px; }
.cart-stat span, .cart-stat strong { display: block; }
.cart-stat span { color: var(--muted); font-size: 8px; }
.cart-stat strong { font-size: 10px; }
.dispatch-summary { position: sticky; top: 95px; overflow: hidden; }
.dispatch-summary::before { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -70px; top: -80px; background: var(--teal-soft); }
.dispatch-summary h3 { font-size: 17px; margin: 5px 0 26px; }
.summary-number { padding: 19px; border-radius: 13px; background: linear-gradient(145deg,#123a3c,#0d2d2f); color: white; text-align: center; }
.summary-number strong { display: block; font: 800 34px 'Manrope'; letter-spacing: -1px; }
.summary-number span { color: #a8c1c0; font-size: 9px; }
.summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 15px 0; }
.summary-grid div { padding: 10px; border-radius: 9px; background: #f5f8f7; text-align: center; }
.summary-grid span, .summary-grid strong { display: block; }
.summary-grid span { color: var(--muted); font-size: 8px; }.summary-grid strong { font: 700 15px 'Manrope'; margin-top: 2px; }
.summary-products { min-height: 34px; margin-bottom: 15px; color: var(--muted); font-size: 9px; }
.summary-product { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.safe-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 8px; }
.section-divider { display: flex; align-items: center; gap: 13px; margin: 28px 0 13px; color: #6c7a7b; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.section-divider::before, .section-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }

/* Reports, users */
.segmented { display: flex; padding: 3px; border-radius: 9px; background: #eef3f2; }
.segmented button { border: 0; border-radius: 7px; background: transparent; padding: 7px 11px; color: var(--muted); font-size: 10px; }
.segmented button.active { color: var(--teal); background: white; box-shadow: 0 2px 8px rgba(20,50,50,.08); }
.report-panel { min-height: 300px; }
.access-note { justify-content: flex-start; background: #f3faf9; border-color: #cfe7e4; }
.channel-badges { display: flex; gap: 4px; }
.channel-badge { display: inline-flex; align-items: center; border-radius: 6px; padding: 4px 6px; color: #526869; background: #edf3f2; font-size: 8px; font-weight: 700; }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[aria-hidden="true"] { display: none; }
.confirm-modal { z-index: 180; }
.confirm-card { width: min(100%, 430px); padding: 30px; align-items: center; text-align: center; }
.confirm-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: var(--teal); background: var(--teal-soft); font: 800 22px 'Manrope'; margin-bottom: 16px; }
.confirm-card h2 { margin: 0 0 8px; font-size: 19px; }
.confirm-card p { margin: 0; max-width: 330px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.confirm-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,28,29,.63); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: min(100%, 620px); max-height: calc(100vh - 40px); overflow: hidden; border-radius: 18px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.25); display: flex; flex-direction: column; animation: modalIn .24s ease; }
.modal-lg { width: min(100%, 820px); }.modal-xl { width: min(100%, 1080px); }.modal-designer { width: min(100%, 1260px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(15px) scale(.98); } }
.modal-head { padding: 21px 23px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 6px 0 4px; font-size: 20px; letter-spacing: -.7px; }
.modal-head p { margin: 0; color: var(--muted); font-size: 10px; }
.modal-close { flex: none; width: 34px; height: 34px; border: 0; border-radius: 9px; color: var(--muted); background: #f0f4f3; font-size: 22px; }
.modal-body { padding: 22px 23px; overflow-y: auto; }
.modal-foot { min-height: 70px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 23px; border-top: 1px solid var(--line); background: #fafcfc; }
.form-section + .form-section { margin-top: 22px; }
.section-title { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.section-title > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: var(--teal-soft); font-size: 9px; font-weight: 800; }
.section-title h3 { margin: 0; font-size: 13px; }
.section-title small { color: var(--muted); font-size: 9px; }
.config-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 22px; }
.config-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.bundle-config { border-top: 3px solid var(--teal-2); }.master-config { border-top: 3px solid var(--orange); }
.calculation { margin-top: 16px; padding: 11px 12px; border-radius: 9px; display: flex; align-items: center; justify-content: space-between; background: #f2f7f6; }
.calculation span { color: var(--muted); font-size: 9px; }.calculation strong { font-size: 11px; }
.choice-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 18px 0; }
.choice-cards input { position: absolute; opacity: 0; }
.choice-cards label > span { display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; gap: 1px 9px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.choice-cards b { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: var(--teal-soft); }
.choice-cards strong { font-size: 11px; }.choice-cards small { color: var(--muted); font-size: 8px; }
.choice-cards input:checked + span { border-color: var(--teal); background: #f4fbfa; box-shadow: 0 0 0 3px rgba(20,184,166,.08); }
.stock-product-summary { margin-bottom: 17px; padding: 12px; border-radius: 10px; color: #3e5b5a; background: var(--teal-soft); font-size: 10px; line-height: 1.7; }
.switch-field { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; }
.switch-field span { display: flex; flex-direction: column; }.switch-field strong { font-size: 12px; }.switch-field small { color: var(--muted); font-size: 9px; }
.switch-field input { position: absolute; opacity: 0; }.switch-field i { position: relative; width: 42px; height: 24px; border-radius: 15px; background: #cfd8d7; transition: .2s; }.switch-field i::after { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: .2s; }.switch-field input:checked + i { background: var(--teal); }.switch-field input:checked + i::after { transform: translateX(18px); }
.permissions-wrap { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.permission-matrix { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.permission-row { min-height: 44px; padding: 8px 12px; display: grid; grid-template-columns: 150px repeat(5,1fr); align-items: center; border-bottom: 1px solid var(--line); }
.permission-row:last-child { border-bottom: 0; }
.permission-row > strong { font-size: 10px; text-transform: capitalize; }
.check-pill { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 8px; }.check-pill input { accent-color: var(--teal); }

/* Label designer */
.designer-layout { min-height: 610px; display: grid; grid-template-columns: 310px 1fr; overflow: hidden; }
.designer-tools { padding: 18px; border-right: 1px solid var(--line); overflow-y: auto; }
.tool-heading { margin: 20px 0 9px; color: #7b8889; font-size: 9px; font-weight: 800; letter-spacing: 1.1px; }
.field-palette { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.palette-item { min-height: 36px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: white; color: #465758; text-align: left; font-size: 9px; }
.palette-item:hover { border-color: #8dcac3; background: var(--teal-soft); }
.style-controls { display: grid; gap: 9px; padding: 11px; border-radius: 10px; background: #f5f8f7; }
.style-controls.empty { color: var(--muted); font-size: 9px; }
.style-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.style-row button { min-height: 32px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.style-row button.active { color: var(--teal); border-color: var(--teal); background: var(--teal-soft); }
.designer-stage { min-width: 0; display: flex; flex-direction: column; background: #edf2f1; }
.stage-toolbar { height: 56px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.canvas-wrap { flex: 1; display: grid; place-items: center; padding: 35px; overflow: auto; background-image: radial-gradient(#cbd7d5 1px, transparent 1px); background-size: 18px 18px; }
.label-canvas { position: relative; width: 640px; height: 480px; background: white; border: 1px solid #aebcba; box-shadow: 0 15px 45px rgba(20,45,45,.15); overflow: hidden; }
.canvas-element { position: absolute; min-height: 24px; padding: 3px 5px; border: 1px solid transparent; cursor: move; user-select: none; white-space: nowrap; overflow: hidden; }
.canvas-element:hover { border-color: #75c9bf; }.canvas-element.selected { border: 1px solid var(--teal); box-shadow: 0 0 0 2px rgba(20,184,166,.12); }
.canvas-element[data-field="barcode"] { font-family: ui-monospace, monospace; letter-spacing: 3px; background-image: repeating-linear-gradient(90deg,#182526 0,#182526 2px,transparent 2px,transparent 4px); color: transparent; min-height: 38px; }
.canvas-help { display: block; height: 38px; padding: 11px 18px; color: var(--muted); background: white; border-top: 1px solid var(--line); font-size: 9px; }

/* Toast and loading */
.toast-stack { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.toast { width: min(360px, calc(100vw - 40px)); padding: 13px 15px; display: grid; grid-template-columns: 24px 1fr 20px; gap: 9px; align-items: center; color: #26403f; background: white; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 11px; box-shadow: var(--shadow); animation: toastIn .25s ease; }
.toast.error { border-left-color: var(--red); }.toast.warning { border-left-color: var(--orange); }
.toast strong { display: block; font-size: 11px; }.toast small { color: var(--muted); font-size: 9px; }.toast button { border: 0; background: transparent; color: var(--muted); }
@keyframes toastIn { from { opacity: 0; transform: translateX(15px); } }
.loading-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(255,255,255,.68); backdrop-filter: blur(2px); display: grid; place-items: center; align-content: center; gap: 12px; color: var(--teal); font-weight: 700; font-size: 11px; }
.loader { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #cde9e5; border-top-color: var(--teal); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Print */
.print-only { display: none; }
@media print {
    body { background: white; }
    .sidebar, .topbar, .page-container, .modal-backdrop, .modal-head, .modal-foot { display: none !important; }
    .modal { position: static; display: block; padding: 0; }
    .modal-card { width: 100%; max-height: none; box-shadow: none; }
    .modal-body { overflow: visible; padding: 0; }
    .print-only { display: block; }
}

/* Responsive */
@media (max-width: 1180px) {
    .metric-grid { grid-template-columns: repeat(2,1fr); }
    .card-grid { grid-template-columns: repeat(2,1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dispatch-layout { grid-template-columns: 1fr; }
    .dispatch-summary { position: static; }
    .showcase-visual { opacity: .45; }
}
@media (max-width: 920px) {
    .sidebar { transform: translateX(-100%); transition: .24s ease; box-shadow: 20px 0 60px rgba(0,0,0,.18); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-close, .menu-toggle { display: inline-grid; }
    .sidebar-head { position: relative; }
    .sidebar-close { position: absolute; z-index: 2; right: 18px; top: 30px; color: #d8e7e5; background: rgba(8,30,31,.72); }
    .sidebar-brand-card { padding-right: 43px; }
    .sidebar-logo-crop { width: 84px; }
    .sidebar-logo-crop img { width: 103px; left: -9px; top: -27px; }
    .sidebar-brand-copy em { display: none; }
    .sidebar-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(8,28,29,.48); opacity: 0; pointer-events: none; transition: .2s; }
    .sidebar-scrim.open { opacity: 1; pointer-events: auto; }
    .main-area { margin-left: 0; }
    .topbar { padding: 0 18px; }
    .page-container { padding: 24px 18px 40px; }
    .login-page { grid-template-columns: 1fr; }
    .login-showcase { display: none; }
    .login-panel { min-height: 100vh; }
    .mobile-brand { display: inline-flex; }
    .designer-layout { grid-template-columns: 260px 1fr; }
    .label-canvas { width: 520px; height: 390px; }
}
@media (max-width: 700px) {
    .date-pill, .live-pill, .user-button > span:nth-child(2), .user-button > b { display: none; }
    .welcome-row, .page-head { align-items: flex-start; flex-direction: column; }
    .head-actions { width: 100%; }.head-actions .btn { flex: 1; }
    .metric-grid, .mini-metrics, .card-grid, .config-columns { grid-template-columns: 1fr; }
    .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: auto; }
    .toolbar { align-items: stretch; flex-direction: column; }
    .search-box { max-width: none; }.toolbar select { width: 100%; }
    .result-count { margin-left: 0; }
    .table-panel { overflow-x: auto; }
    .data-table { min-width: 760px; }
    .chart-row { grid-template-columns: 100px 1fr 80px; gap: 8px; }
    .cart-row { grid-template-columns: 36px 1fr 30px; }.cart-stat { display: none; }
    .label-summary, .report-banner { align-items: flex-start; flex-direction: column; }
    .modal { padding: 0; align-items: end; }
    .modal-card { max-height: 95vh; border-radius: 18px 18px 0 0; }
    .designer-layout { display: block; overflow-y: auto; }
    .designer-tools { border-right: 0; border-bottom: 1px solid var(--line); }
    .designer-stage { min-height: 500px; }
    .label-canvas { width: 430px; height: 323px; }
    .permission-row { grid-template-columns: 110px repeat(5,70px); min-width: 500px; }.permission-matrix { overflow-x: auto; }
    .login-panel { padding: 25px; }
}

@media (max-height: 820px) and (min-width: 921px) {
    .login-showcase { padding-top: 24px; padding-bottom: 24px; }
    .punit-logo-login { width: 190px; height: 92px; }
    .punit-logo-login img { width: 190px; top: -50px; }
    .showcase-copy { margin-bottom: 12px; max-width: 650px; }
    .showcase-copy .eyebrow { margin-bottom: 13px; }
    .showcase-copy h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.02; margin-bottom: 15px; }
    .showcase-copy p { max-width: 570px; font-size: 15px; line-height: 1.55; margin-bottom: 0; }
    .showcase-visual { width: 300px; height: 270px; bottom: 8vh; transform: scale(.86); transform-origin: right bottom; opacity: .22; }
    .login-card h2 { font-size: 32px; }
    .login-card > p { margin-bottom: 24px; }
}

/* Login v2 — professional operations portal */
.app-guest { overflow-x: hidden; background: #eef4f3; }
.login-v2 {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 22px clamp(22px, 4vw, 64px) 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 8%, rgba(34, 173, 157, .13), transparent 27%),
        radial-gradient(circle at 93% 88%, rgba(32, 98, 105, .12), transparent 26%),
        #f1f6f5;
}
.login-v2::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .43;
    background-image: linear-gradient(rgba(23, 73, 72, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 73, 72, .055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at 50% 45%, black 10%, transparent 78%);
}
.login-v2-header,
.login-v2-footer { width: min(100%, 1180px); margin-inline: auto; }
.login-v2-header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.login-v2-brand { display: inline-flex; align-items: center; gap: 13px; }
.login-v2-logo { position: relative; width: 132px; height: 49px; overflow: hidden; border: 1px solid rgba(31, 72, 73, .1); border-radius: 11px; background: white; box-shadow: 0 8px 22px rgba(19, 66, 65, .09); }
.login-v2-logo img { position: absolute; width: 144px; max-width: none; height: auto; left: -6px; top: -38px; }
.login-v2-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.08; }
.login-v2-brand small { color: #0f766e; font-size: 8px; font-weight: 800; letter-spacing: 1.7px; }
.login-v2-brand strong { margin-top: 4px; color: #173436; font: 800 14px 'Manrope'; }
.login-v2-status { height: 34px; display: inline-flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #d8e5e3; border-radius: 999px; color: #5f7475; background: rgba(255,255,255,.76); font-size: 11px; font-weight: 600; box-shadow: 0 4px 14px rgba(27, 68, 67, .04); }
.login-v2-status i { width: 8px; height: 8px; border-radius: 50%; background: #2bbf83; box-shadow: 0 0 0 5px rgba(43, 191, 131, .1); animation: pulse 2s infinite; }
.login-v2-frame {
    width: min(100%, 1180px);
    min-height: min(640px, calc(100svh - 132px));
    margin: 14px auto 12px;
    display: grid;
    grid-template-columns: minmax(0, 1.07fr) minmax(410px, .93fr);
    overflow: hidden;
    border: 1px solid rgba(32, 79, 78, .12);
    border-radius: 26px;
    background: white;
    box-shadow: 0 30px 90px rgba(17, 62, 61, .16), 0 2px 8px rgba(17, 62, 61, .06);
}
.login-v2-story {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 5vh, 62px) clamp(38px, 4.6vw, 68px) 34px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 88% 12%, rgba(70, 212, 194, .19), transparent 30%),
        radial-gradient(circle at 20% 92%, rgba(36, 146, 139, .17), transparent 31%),
        linear-gradient(145deg, #0a2b2e, #0d4041 58%, #0c3537);
}
.login-v2-story::before { content: ''; position: absolute; width: 360px; height: 360px; right: -180px; bottom: -180px; border: 1px solid rgba(123, 231, 217, .15); border-radius: 50%; box-shadow: 0 0 0 58px rgba(123, 231, 217, .025), 0 0 0 116px rgba(123, 231, 217, .02); }
.login-v2-story > * { position: relative; z-index: 1; }
.login-v2-kicker { display: inline-flex; align-items: center; gap: 9px; color: #79ddd2; font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: 2.2px; }
.login-v2-kicker::before { content: ''; width: 23px; height: 2px; border-radius: 3px; background: currentColor; }
.login-v2-story h1 { max-width: 560px; margin: 21px 0 20px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.03; letter-spacing: -2.7px; }
.login-v2-story h1 em { color: #70d8cc; font-style: normal; }
.login-v2-story > div:first-child > p { max-width: 520px; margin: 0; color: #b6cac8; font-size: 15px; line-height: 1.68; }
.login-v2-features { display: grid; gap: 5px; margin: 28px 0; }
.login-v2-features > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; transition: .2s ease; }
.login-v2-features > div:hover { border-color: rgba(132, 224, 213, .14); background: rgba(255,255,255,.045); transform: translateX(4px); }
.login-v2-features > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #70d8cc; background: rgba(112, 216, 204, .1); font-size: 9px; font-weight: 800; }
.login-v2-features p { margin: 0; }
.login-v2-features strong, .login-v2-features small { display: block; }
.login-v2-features strong { color: #eef9f7; font-size: 12px; }
.login-v2-features small { margin-top: 3px; color: #91adab; font-size: 10px; }
.login-v2-assurance { display: flex; align-items: center; gap: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.login-v2-assurance span { min-width: 0; flex: 1; color: #779493; font-size: 8px; text-transform: uppercase; letter-spacing: .7px; }
.login-v2-assurance b { display: block; margin-bottom: 4px; color: #dff3f0; font: 700 11px 'Manrope'; letter-spacing: .2px; }
.login-v2-auth { display: grid; place-items: center; padding: clamp(32px, 5vw, 70px); background: linear-gradient(145deg, #ffffff, #fbfdfd); }
.login-v2-card { width: min(100%, 390px); }
.login-v2-auth-head { margin-bottom: 31px; }
.login-v2-kicker-dark { color: #0f766e; }
.login-v2-auth-head h2 { margin: 17px 0 9px; color: #142d30; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -1.8px; }
.login-v2-auth-head p { margin: 0; color: #6e7d7f; font-size: 13px; line-height: 1.6; }
.login-v2-form { display: grid; gap: 18px; }
.login-v2-card .field { gap: 8px; }
.login-v2-card .field > span { color: #314b4d; font-size: 12px; }
.login-v2-card .field input { min-height: 52px; padding: 13px 15px; border-color: #d9e4e3; border-radius: 11px; background: #fbfdfd; font-size: 13px; }
.login-v2-card .field input::placeholder { color: #9aa8a9; }
.login-v2-card .field input:hover { border-color: #b8cfcc; background: white; }
.login-v2-card .password-wrap input { padding-right: 68px; }
.login-v2-card .password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 10px; border: 0; border-radius: 8px; color: #0f766e; background: #eaf7f5; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.login-v2-card .password-toggle:hover { background: #dff2ef; }
.login-v2-card .form-error { margin: -5px 0 0; }
.login-v2-submit { width: 100%; min-height: 54px; margin-top: 2px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 11px; color: white; background: linear-gradient(115deg, #0e716a, #0a5c58); box-shadow: 0 12px 24px rgba(15, 118, 110, .22); font-size: 12px; font-weight: 800; transition: .2s ease; }
.login-v2-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(15, 118, 110, .29); }
.login-v2-submit:active { transform: translateY(0); }
.login-v2-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.login-v2-submit b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.12); font-size: 15px; }
.login-v2-help { margin-top: 25px; padding-top: 20px; border-top: 1px solid #e4eceb; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.login-v2-help span { position: relative; padding-left: 14px; color: #426061; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; white-space: nowrap; }
.login-v2-help span::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; transform: translateY(-50%); border-radius: 50%; background: #2bbf83; }
.login-v2-help small { color: #819091; font-size: 9px; text-align: right; }
.login-app-download { margin-top: 15px; min-height: 70px; padding: 11px 12px; display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 11px; align-items: center; border: 1px solid #d7e8e5; border-radius: 13px; background: linear-gradient(135deg, #f3faf9, #fbfdfd); transition: .2s ease; }
.login-app-download:hover { border-color: #9bcfc8; background: #eff9f7; box-shadow: 0 9px 22px rgba(15, 118, 110, .1); transform: translateY(-1px); }
.login-app-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(145deg, #20a58f, #0f766e); box-shadow: 0 7px 15px rgba(15, 118, 110, .2); font: 800 18px 'Manrope'; }
.login-app-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.login-app-copy small { color: #0f766e; font-size: 7px; font-weight: 800; letter-spacing: 1.1px; }
.login-app-copy strong { margin-top: 4px; color: #183b3d; font: 800 11px 'Manrope'; }
.login-app-copy em { margin-top: 4px; overflow: hidden; color: #748788; font-size: 8px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.login-app-action { padding: 7px 9px; border-radius: 8px; color: #0f766e; background: #dff2ef; font-size: 8px; font-weight: 800; white-space: nowrap; }
.login-v2-footer { min-height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #6c7e7f; font-size: 9px; letter-spacing: .2px; }

@media (max-width: 920px) {
    .login-v2 { display: flex; padding: 18px; }
    .login-v2-frame { min-height: 0; grid-template-columns: 1fr; margin-top: 12px; border-radius: 22px; }
    .login-v2-story { display: none; }
    .login-v2-auth { min-height: calc(100svh - 150px); padding: 46px 30px; }
    .login-v2-card { width: min(100%, 430px); }
    .login-v2-footer { padding-top: 4px; }
}
@media (max-width: 560px) {
    .login-v2 { padding: 12px; overflow: auto; }
    .login-v2-header { min-height: 54px; }
    .login-v2-logo { width: 112px; height: 43px; }
    .login-v2-logo img { width: 123px; left: -5px; top: -32px; }
    .login-v2-brand > span:last-child { display: none; }
    .login-v2-status { height: 31px; padding-inline: 11px; }
    .login-v2-frame { margin: 9px auto; border-radius: 19px; }
    .login-v2-auth { min-height: calc(100svh - 131px); padding: 36px 23px; align-items: center; }
    .login-v2-auth-head { margin-bottom: 27px; }
    .login-v2-auth-head h2 { font-size: 32px; }
    .login-v2-help { align-items: flex-start; flex-direction: column; gap: 7px; }
    .login-v2-help small { text-align: left; }
    .login-app-download { grid-template-columns: 40px minmax(0,1fr); }
    .login-app-action { grid-column: 2; width: max-content; margin-top: -2px; }
    .login-v2-footer { justify-content: center; }
    .login-v2-footer span:last-child { display: none; }
}
@media (max-height: 760px) and (min-width: 921px) {
    .login-v2 { padding-top: 13px; padding-bottom: 10px; }
    .login-v2-header { min-height: 52px; }
    .login-v2-frame { min-height: calc(100svh - 105px); margin-top: 8px; margin-bottom: 7px; }
    .login-v2-story { padding-top: 30px; padding-bottom: 25px; }
    .login-v2-story h1 { margin-top: 15px; margin-bottom: 12px; font-size: clamp(36px, 3.8vw, 48px); }
    .login-v2-story > div:first-child > p { font-size: 13px; }
    .login-v2-features { margin: 14px 0; }
    .login-v2-features > div { padding-top: 7px; padding-bottom: 7px; }
    .login-v2-assurance { padding-top: 15px; }
    .login-v2-auth { padding-top: 34px; padding-bottom: 34px; }
    .login-v2-auth-head { margin-bottom: 23px; }
    .login-v2-form { gap: 14px; }
    .login-v2-help { margin-top: 18px; padding-top: 15px; }
    .login-app-download { margin-top: 11px; min-height: 63px; padding-top: 8px; padding-bottom: 8px; }
    .login-v2-footer { display: none; }
}

