:root{--navy:#102d3a;--navy-2:#0b2530;--teal:#0b6566;--teal-dark:#084f52;--mint:#dff4ef;--lime:#9dce67;--ink:#16323b;--muted:#60757d;--line:#dce6e7;--surface:#fff;--canvas:#f4f7f7;--danger:#b42318;--shadow:0 18px 54px rgba(9,42,48,.12);font-family:Inter,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;min-height:100dvh}body{background:var(--canvas)}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.72}svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-layout{display:grid;grid-template-columns:minmax(390px,44%) 1fr;min-height:100vh;min-height:100dvh;background:#f7fafa}.brand-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:clamp(34px,5vw,72px);color:white;background:linear-gradient(145deg,#0d3441 0%,#0b5c5f 56%,#08756f 100%)}.brand-panel:after{content:"";position:absolute;inset:auto -8% -12% 18%;height:40%;border:1px solid rgba(255,255,255,.16);border-radius:50%;transform:rotate(-8deg)}.brand-glow{position:absolute;border-radius:50%;filter:blur(1px);background:rgba(157,206,103,.14)}.glow-one{width:420px;height:420px;right:-180px;top:13%}.glow-two{width:300px;height:300px;left:-150px;bottom:5%;background:rgba(255,255,255,.06)}.brand-lockup,.mobile-brand,.sidebar-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px}.brand-lockup{font-size:1.38rem;font-weight:800;letter-spacing:.16em}.brand-mark{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#123d42;background:var(--lime);box-shadow:0 8px 26px rgba(3,31,34,.24)}.brand-mark svg{width:27px;height:27px;stroke-width:1.9}.brand-message{position:relative;z-index:1;margin:auto 0;max-width:600px}.eyebrow{display:block;margin-bottom:10px;color:var(--teal);font-size:.73rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.eyebrow.light{color:#ccebdc}.brand-message h1{margin:0 0 22px;font-size:clamp(2.5rem,4.4vw,5.2rem);line-height:1.02;letter-spacing:-.045em}.brand-message p{max-width:530px;margin:0;color:rgba(255,255,255,.78);font-size:clamp(1rem,1.45vw,1.23rem);line-height:1.65}.brand-trust{position:relative;z-index:1;display:flex;align-items:center;gap:13px;width:max-content;max-width:100%;padding:14px 17px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(7,39,45,.25);backdrop-filter:blur(10px)}.brand-trust>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:var(--lime);background:rgba(255,255,255,.1)}.brand-trust strong,.brand-trust small{display:block}.brand-trust strong{font-size:.84rem}.brand-trust small{margin-top:3px;color:rgba(255,255,255,.65);font-size:.71rem}.auth-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px}.auth-card{width:min(100%,520px);padding:clamp(30px,4vw,52px);border:1px solid rgba(12,76,80,.09);border-radius:26px;background:#fff;box-shadow:var(--shadow)}.mobile-brand{display:none;margin-bottom:30px}.mobile-brand strong{font-size:1.25rem;letter-spacing:.13em}.step-pill{display:inline-flex;margin-bottom:20px;padding:7px 11px;border-radius:999px;color:var(--teal-dark);background:var(--mint);font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.auth-card h2{margin:0;font-size:clamp(1.9rem,3vw,2.65rem);line-height:1.08;letter-spacing:-.03em}.lead{margin:13px 0 30px;color:var(--muted);font-size:.96rem;line-height:1.65}.auth-card form{display:flex;flex-direction:column}.auth-card label{margin:14px 0 8px;color:#29454e;font-size:.8rem;font-weight:750}.auth-card input{width:100%;height:52px;padding:0 15px;border:1px solid #cbdadb;border-radius:11px;outline:0;color:var(--ink);background:#fbfdfd;transition:border .18s,box-shadow .18s}.auth-card input:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(11,101,102,.1)}.field-help{margin:7px 0 2px;color:#7a8c92;font-size:.69rem}.password-wrap{position:relative}.password-wrap input{padding-right:84px}.reveal{position:absolute;right:8px;top:8px;height:36px;padding:0 10px;border:0;border-radius:8px;color:var(--teal);background:#eef7f5;font-size:.72rem;font-weight:750}.primary,.secondary,.logout-button,.danger-button,.upload-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 17px;border-radius:10px;font-weight:750;transition:transform .16s,background .16s,border .16s}.primary{border:1px solid var(--teal);color:white;background:var(--teal);box-shadow:0 7px 18px rgba(11,101,102,.2)}.primary:hover{background:var(--teal-dark);transform:translateY(-1px)}.primary.wide{width:100%;height:52px;margin-top:22px}.secondary{border:1px solid #cbdadb;color:var(--ink);background:#fff}.secondary:hover{border-color:#9db5b7;background:#f7fafa}.danger-button{border:1px solid #f1c9c4;color:var(--danger);background:#fff8f7}.spinner{display:inline-block;width:17px;height:17px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.security-note{display:flex;gap:12px;margin-top:24px;padding:14px;border-radius:12px;color:#385860;background:#f1f7f6}.security-note>span{flex:none;color:var(--teal)}.security-note p{margin:0;font-size:.73rem;line-height:1.55}.security-note strong{color:var(--ink)}.status-box{display:flex;align-items:flex-start;gap:11px;margin-top:17px;padding:12px 13px;border:1px solid;border-radius:11px}.status-box .status-symbol{display:grid;flex:none;place-items:center;width:24px;height:24px;border-radius:50%;font-size:.77rem;font-weight:900}.status-box .status-symbol svg{width:14px}.status-box strong{display:block;font-size:.78rem}.status-box p{margin:3px 0 0;font-size:.72rem;line-height:1.45}.status-box.success{border-color:#b9dec9;color:#215d3f;background:#effaf3}.status-box.success .status-symbol{color:#fff;background:#25824f}.status-box.error{border-color:#f0c2bc;color:#8c2b21;background:#fff4f2}.status-box.error .status-symbol{color:#fff;background:#c43c2d}.status-box.info{border-color:#c8dcdf;color:#345b64;background:#f1f8f8}.status-box.info .status-symbol{color:#fff;background:#47808a}.connection-line{display:flex;align-items:center;gap:8px;margin-top:24px;padding-top:17px;border-top:1px solid var(--line);color:#637b82;font-size:.7rem}.connection-line button{margin-left:auto;padding:0;border:0;color:var(--teal);background:none;font-weight:750}.online-dot{width:8px;height:8px;border-radius:50%;background:#38a169;box-shadow:0 0 0 3px rgba(56,161,105,.12)}.auth-footer{margin:22px 0 0;color:#8da0a4;font-size:.69rem}.app-shell{display:grid;grid-template-columns:246px 1fr;min-height:100vh;min-height:100dvh}.sidebar{position:sticky;top:0;z-index:20;display:flex;flex-direction:column;height:100vh;height:100dvh;padding:24px 15px;color:#dce9e9;background:linear-gradient(180deg,var(--navy-2),var(--navy))}.sidebar-brand{padding:0 10px 26px}.sidebar-brand .brand-mark{width:41px;height:41px;border-radius:12px}.sidebar-brand .brand-mark svg{width:24px}.sidebar-brand strong,.sidebar-brand small{display:block}.sidebar-brand strong{font-size:1.18rem;letter-spacing:.13em}.sidebar-brand small{margin-top:2px;color:#8daab0;font-size:.65rem;letter-spacing:.03em}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:9px 11px;border:0;border-radius:10px;color:#a9c0c4;background:transparent;text-align:left;font-size:.78rem}.nav-item svg{flex:none;width:18px}.nav-item:hover{color:#fff;background:rgba(255,255,255,.06)}.nav-item.active{color:white;background:#0b696a;box-shadow:inset 3px 0 var(--lime)}.nav-item.active svg{color:var(--lime)}.sidebar-bottom{margin-top:auto}.user-chip{display:flex;align-items:center;gap:9px;margin-top:10px;padding:14px 9px 2px;border-top:1px solid rgba(255,255,255,.09)}.avatar{display:grid;flex:none;place-items:center;width:34px;height:34px;border-radius:10px;color:#183c40;background:var(--lime);font-size:.68rem;font-weight:850}.user-chip strong,.user-chip small{display:block;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-chip strong{font-size:.7rem}.user-chip small{margin-top:3px;color:#829fa4;font-size:.58rem}.main-column{min-width:0}.topbar{position:sticky;top:0;z-index:15;display:flex;align-items:center;height:70px;padding:0 clamp(18px,3.2vw,48px);border-bottom:1px solid var(--line);background:rgba(255,255,255,.92);backdrop-filter:blur(16px)}.topbar-title{display:flex;align-items:center;gap:13px}.topbar-title>strong{font-size:.87rem}.live-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;color:#316345;background:#edf8f1;font-size:.62rem;font-weight:750}.live-badge i{width:6px;height:6px;border-radius:50%;background:#3ca464}.top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.icon-button{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;color:#526e75;background:#fff}.icon-button:hover{color:var(--teal);background:#f4f8f8}.icon-button.rotating svg{animation:spin .8s linear infinite}.logout-button{min-height:40px;border:1px solid var(--line);color:#526e75;background:#fff;font-size:.71rem}.menu-button{display:none;margin-right:10px}.content{padding:clamp(26px,4vw,54px);max-width:1420px;margin:0 auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{margin:0;font-size:clamp(2rem,3.2vw,3.1rem);letter-spacing:-.04em}.page-heading p{margin:9px 0 0;color:var(--muted);font-size:.86rem}.date-chip{align-self:center;padding:9px 13px;border:1px solid var(--line);border-radius:9px;color:#5e757b;background:#fff;font-size:.7rem}.test-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px;padding:18px 20px;border:1px solid #c8e3d2;border-radius:14px;background:linear-gradient(90deg,#effaf3,#f8fcfa)}.test-strip>div{display:flex;align-items:center;gap:13px}.test-strip strong{font-size:.82rem}.test-strip p{margin:4px 0 0;color:#587269;font-size:.7rem}.test-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;color:#fff;background:#278150}.result-pill{display:inline-flex;align-items:center;gap:6px;flex:none;padding:7px 10px;border-radius:999px;font-size:.66rem;font-weight:800}.result-pill svg{width:13px}.result-pill.ok{color:#28613f;background:#dcefe3}.result-pill.warn{color:#8a5923;background:#f8e9cd}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 15px}.section-heading>div:first-child{display:flex;align-items:center;gap:10px}.section-heading h2{margin:0;font-size:1.08rem}.section-heading>div:first-child span{padding:4px 7px;border-radius:999px;color:#58727a;background:#e5eeee;font-size:.62rem}.search-box{display:flex;align-items:center;width:min(280px,40vw);height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.search-box>span{color:#789096;font-size:1.35rem}.search-box input{min-width:0;width:100%;padding-left:7px;border:0;outline:0;color:var(--ink);background:transparent;font-size:.74rem}.customer-card{display:grid;grid-template-columns:minmax(300px,1fr) 180px 140px;align-items:center;gap:20px;padding:24px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 28px rgba(21,57,63,.05);transition:transform .18s,box-shadow .18s,border .18s}.customer-card:hover{transform:translateY(-2px);border-color:#b8cdcf;box-shadow:0 13px 34px rgba(21,57,63,.09)}.customer-identity{display:flex;align-items:center;gap:16px;min-width:0}.customer-logo{display:grid;flex:none;place-items:center;width:64px;height:64px;overflow:hidden;border-radius:15px;color:#fff;background:linear-gradient(145deg,#0c6768,#123747);font-size:1.08rem;font-weight:850;letter-spacing:.06em}.customer-logo.has-image{border:1px solid var(--line);background:#fff}.customer-logo img{width:100%;height:100%;object-fit:contain;padding:5px}.customer-name-line{display:flex;align-items:center;gap:9px}.customer-name-line h3{margin:0;font-size:1.12rem}.active-pill{padding:4px 7px;border-radius:999px;color:#2f7249;background:#e3f3e9;font-size:.58rem;font-weight:800}.customer-identity p{margin:6px 0;color:#73868b;font-size:.68rem}.source-tag{display:inline-flex;align-items:center;gap:5px;color:#46707a;font-size:.61rem}.source-tag svg{width:13px}.ba-number{padding-left:22px;border-left:1px solid var(--line)}.ba-number span,.ba-number small{display:block;color:#74888e;font-size:.64rem}.ba-number strong{display:block;margin:3px 0;color:var(--teal);font-size:2rem;line-height:1}.customer-open{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 0;border:0;color:var(--teal);background:none;font-size:.73rem;font-weight:800}.customer-open svg{width:16px;transition:transform .15s}.customer-open:hover svg{transform:translateX(3px)}.empty-state,.module-placeholder,.error-card{padding:55px 25px;border:1px dashed #bfd0d2;border-radius:16px;background:#fff;text-align:center}.empty-state>span,.module-placeholder>span{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 15px;border-radius:18px;color:var(--teal);background:#e7f3f1}.empty-state>span svg,.module-placeholder>span svg{width:28px;height:28px}.empty-state h3,.module-placeholder h2{margin:0}.empty-state p,.module-placeholder p{max-width:560px;margin:9px auto 20px;color:var(--muted);font-size:.78rem;line-height:1.6}.empty-state.compact{padding:30px}.customer-dialog{width:min(720px,calc(100vw - 28px));max-height:90vh;padding:0;border:0;border-radius:21px;color:var(--ink);box-shadow:0 28px 90px rgba(4,31,38,.3)}.customer-dialog::backdrop{background:rgba(5,28,34,.58);backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;padding:27px 30px 20px;border-bottom:1px solid var(--line)}.dialog-header h2{margin:0;font-size:1.65rem}.detail-grid{padding:25px 30px 30px}.logo-manager{display:grid;grid-template-columns:135px 1fr;gap:22px;margin-bottom:24px;padding:19px;border-radius:15px;background:#f2f7f7}.logo-preview{display:grid;place-items:center;width:135px;height:108px;overflow:hidden;border:1px solid var(--line);border-radius:12px;color:#fff;background:linear-gradient(145deg,#0c6768,#123747);font-size:1.6rem;font-weight:850}.logo-preview img{width:100%;height:100%;padding:8px;object-fit:contain;background:#fff}.logo-manager h3{margin:4px 0 6px;font-size:1rem}.logo-manager p{margin:0 0 12px;color:var(--muted);font-size:.7rem;line-height:1.5}.logo-manager small{display:block;margin-top:7px;color:#7b8e93;font-size:.62rem}.upload-button{min-height:39px;padding:0 13px;color:white;background:var(--teal);font-size:.7rem}.upload-button.disabled{pointer-events:none;opacity:.7}.detail-row{display:flex;justify-content:space-between;padding:14px 2px;border-bottom:1px solid var(--line);font-size:.76rem}.detail-row span{color:#6c8187}.detail-row.emphasis strong{color:var(--teal);font-size:1.05rem}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.metric-card{display:flex;align-items:center;gap:14px;padding:21px;border:1px solid var(--line);border-radius:15px;background:#fff}.metric-card>span{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;color:var(--teal);background:#e6f3f1}.metric-card small,.metric-card strong{display:block}.metric-card small{color:#70848a;font-size:.65rem}.metric-card strong{margin-top:4px;font-size:1.12rem}.metric-card.teal{border-color:var(--teal);color:#fff;background:var(--teal)}.metric-card.teal>span{color:#fff;background:rgba(255,255,255,.13)}.metric-card.teal small{color:#c5e0df}.dashboard-panel{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding:30px;border-radius:18px;color:#fff;background:linear-gradient(120deg,#102f3b,#0a6667)}.dashboard-panel h2{margin:3px 0 5px;font-size:1.7rem}.dashboard-panel p{margin:0;color:#bfe0df}.dashboard-panel .eyebrow{color:var(--lime)}.settings-card{max-width:850px;padding:28px;border:1px solid var(--line);border-radius:17px;background:#fff}.settings-card h2{margin:0 0 15px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.setting-row span,.setting-row strong{display:block}.setting-row span{color:#6b8187;font-size:.68rem}.setting-row strong{max-width:600px;margin-top:5px;overflow-wrap:anywhere;font-size:.8rem}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.settings-actions{display:flex;justify-content:space-between;margin-top:24px}.module-placeholder{max-width:750px;margin:65px auto}.skeleton-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.skeleton{height:150px;border-radius:16px;background:linear-gradient(90deg,#e7eeee 25%,#f2f6f6 45%,#e7eeee 65%);background-size:300% 100%;animation:shimmer 1.4s infinite}.skeleton.large{grid-row:span 2;height:320px}@keyframes shimmer{to{background-position:-200% 0}}.sidebar-scrim{display:none}
@media(max-width:980px){.auth-layout{grid-template-columns:1fr}.brand-panel{display:none}.mobile-brand{display:flex}.app-shell{grid-template-columns:82px 1fr}.sidebar{padding:22px 10px}.sidebar-brand{justify-content:center;padding:0 0 25px}.sidebar-brand>div{display:none}.nav-item{justify-content:center}.nav-item span{display:none}.sidebar-bottom .user-chip{justify-content:center;padding:14px 0 0}.user-chip>div{display:none}.customer-card{grid-template-columns:1fr 130px}.customer-open{grid-column:1/-1;justify-content:flex-start;padding:10px 0 0;border-top:1px solid var(--line)}.content{padding:28px}.metric-grid{grid-template-columns:1fr}.auth-side{min-height:100dvh}}
@media(max-width:700px){.app-shell{display:block}.sidebar{position:fixed;left:0;transform:translateX(-105%);width:246px;transition:transform .22s}.sidebar .sidebar-brand{justify-content:flex-start;padding:0 10px 26px}.sidebar .sidebar-brand>div,.sidebar .nav-item span,.sidebar .user-chip>div{display:block}.sidebar .nav-item{justify-content:flex-start}.sidebar .user-chip{justify-content:flex-start}.menu-open .sidebar{transform:translateX(0)}.sidebar-scrim{position:fixed;inset:0;z-index:19;border:0;background:rgba(5,28,34,.45)}.menu-open .sidebar-scrim{display:block}.menu-button{display:inline-grid}.topbar{height:62px;padding:0 14px}.topbar-title .live-badge{display:none}.logout-button span{display:none}.logout-button{width:40px;padding:0}.content{padding:24px 16px 40px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading .secondary{width:100%}.test-strip{align-items:flex-start;flex-direction:column}.result-pill{align-self:flex-start}.section-heading{align-items:stretch;flex-direction:column;gap:12px}.search-box{width:100%}.customer-card{grid-template-columns:1fr;padding:19px}.ba-number{padding:14px 0 0;border-top:1px solid var(--line);border-left:0}.customer-identity{align-items:flex-start}.customer-logo{width:54px;height:54px}.logo-manager{grid-template-columns:1fr}.logo-preview{width:100%;height:150px}.dialog-header,.detail-grid{padding-left:20px;padding-right:20px}.metric-grid{grid-template-columns:1fr}.dashboard-panel{align-items:flex-start;flex-direction:column;gap:20px}.dashboard-panel .primary{width:100%}.settings-actions{align-items:stretch;flex-direction:column;gap:10px}.auth-side{padding:20px 14px}.auth-card{padding:27px 22px;border-radius:20px}.auth-footer{text-align:center}.connection-line{align-items:flex-start;flex-wrap:wrap}.connection-line button{margin-left:16px}.skeleton-grid{grid-template-columns:1fr}.skeleton.large{height:220px}.date-chip{align-self:flex-start}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
