@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap";:root{font-family:IBM Plex Sans,Segoe UI,sans-serif;color:#102033;background:linear-gradient(180deg,#e6f0fae6,#f8fafcf2),linear-gradient(90deg,rgba(32,111,184,.04) 1px,transparent 1px),linear-gradient(rgba(32,111,184,.04) 1px,transparent 1px);background-size:auto,38px 38px,38px 38px;color-scheme:light;--panel: rgba(255, 255, 255, .92);--panel-border: rgba(16, 32, 51, .12);--sheet-blue: #1f6eaf;--sheet-blue-dark: #114f82;--sheet-blue-soft: rgba(31, 110, 175, .12);--sheet-green-soft: rgba(37, 120, 75, .12);--sheet-red-soft: rgba(183, 69, 55, .14);--ink-soft: #5a6a78;--danger: #a6352c;--success: #22714a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}#root{min-height:100vh}.auth-shell{width:min(1180px,calc(100vw - 1.5rem));min-height:100vh;margin:0 auto;padding:1.25rem 0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.9fr);gap:1rem;align-items:stretch}.auth-shell--loading{grid-template-columns:minmax(320px,520px);justify-content:center;align-content:center}.auth-hero,.auth-card{background:var(--panel);border:1px solid var(--panel-border);border-radius:24px;box-shadow:0 16px 40px #12243b14}.auth-hero{padding:2rem;background:radial-gradient(circle at top right,rgba(31,110,175,.16),transparent 36%),linear-gradient(180deg,#fffffff5,#ecf4fce6);display:grid;align-content:space-between;gap:1.5rem}.auth-hero h1,.auth-card h2{margin:0}.auth-hero h1{font-size:clamp(2.5rem,5vw,4.4rem);line-height:.95;max-width:9ch}.auth-hero p{margin:0;color:var(--ink-soft);max-width:52ch}.auth-feature-list{display:grid;gap:.85rem}.auth-feature-list article{padding:1rem 1.1rem;border-radius:18px;border:1px solid rgba(16,32,51,.08);background:#ffffffbd}.auth-feature-list strong,.auth-feature-list span{display:block}.auth-feature-list span{margin-top:.35rem;color:var(--ink-soft)}.auth-card{padding:1.35rem;display:grid;gap:1.2rem;align-content:start}.auth-card__header{display:grid;gap:1rem}.auth-toggle{display:inline-flex;gap:.45rem;padding:.3rem;border-radius:999px;background:#1020330f;width:fit-content}.auth-toggle__button{border:0;border-radius:999px;padding:.55rem .95rem;background:transparent;color:#102033;font-weight:700}.auth-toggle__button--active{background:linear-gradient(135deg,var(--sheet-blue),var(--sheet-blue-dark));color:#fff}.auth-form{display:grid;gap:.9rem}.auth-submit{width:100%;justify-content:center}.app-shell{width:min(1480px,calc(100vw - 1.5rem));margin:0 auto;padding:1rem 0 2rem}.app-topbar{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.7fr);gap:1rem;margin-bottom:1rem}.app-topbar__brand,.app-topbar__nav{background:var(--panel);border:1px solid var(--panel-border);border-radius:18px;box-shadow:0 16px 40px #12243b14}.app-topbar__brand{padding:1rem 1.15rem}.app-topbar__brand h2{margin:0;font-size:1.45rem}.language-switch{display:inline-flex;gap:.4rem;margin-top:.9rem}.app-user{display:flex;gap:.75rem;align-items:center;justify-content:space-between;margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(16,32,51,.08)}.app-user__meta{min-width:0}.app-user__meta strong,.app-user__meta span{display:block}.app-user__meta span{color:var(--ink-soft);font-size:.88rem;word-break:break-word}.language-switch__button{border:1px solid rgba(16,32,51,.12);border-radius:999px;padding:.35rem .75rem;background:#ffffffeb;color:#102033;font-size:.82rem;font-weight:700}.language-switch__button--active{background:linear-gradient(135deg,var(--sheet-blue),var(--sheet-blue-dark));border-color:transparent;color:#fff}.app-topbar__nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;padding:.75rem}.app-topbar__link{text-align:left;border:1px solid rgba(16,32,51,.1);border-radius:16px;padding:.95rem 1rem;background:#ffffffe6;color:#102033;display:flex;flex-direction:column;gap:.3rem}.app-topbar__link-icon{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:12px;background:#1f6eaf1a;color:#1f6eaf}.app-topbar__link span{font-weight:700}.app-topbar__link small{color:var(--ink-soft);font-size:.86rem}.app-topbar__link--active{background:linear-gradient(180deg,#1f6eaf24,#114f8214);border-color:#1f6eaf3d}.workspace-shell{display:grid;grid-template-columns:1fr;gap:1rem;align-items:start}.workspace-main{min-width:0}.sidebar{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.7fr) minmax(220px,.95fr);gap:1rem;align-items:stretch}.sidebar__brand,.sidebar__summary{background:var(--panel);border:1px solid var(--panel-border);border-radius:18px;box-shadow:0 16px 40px #12243b14;padding:1rem}.sidebar__brand h2{margin:0;font-size:1.5rem}.sidebar__brand p,.sidebar__summary p{margin:.6rem 0 0;color:var(--ink-soft)}.sidebar__nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.sidebar__nav-item{text-align:left;border:1px solid rgba(16,32,51,.1);border-radius:18px;padding:.95rem 1rem;background:#ffffffe6;color:#102033;display:flex;flex-direction:column;justify-content:space-between;gap:.28rem;min-height:100%;box-shadow:0 10px 24px #12243b0d}.sidebar__nav-item strong{margin-top:.35rem;font-size:1.5rem}.sidebar__nav-item--active{background:linear-gradient(180deg,#1f6eaf24,#114f8214);border-color:#1f6eaf3d}.sidebar__nav-label{font-weight:700}.sidebar__nav-copy{color:var(--ink-soft);font-size:.88rem}.workbook-header,.workbook-panel,.metric-card,.status-panel{background:var(--panel);border:1px solid var(--panel-border);border-radius:18px;box-shadow:0 16px 40px #12243b14}.workbook-header{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.75fr);gap:1rem;margin-bottom:1rem}.workbook-header__copy{padding:1.5rem}.eyebrow,.sheet-kicker{margin:0 0 .45rem;color:var(--sheet-blue-dark);letter-spacing:.12em;text-transform:uppercase;font-size:.74rem;font-weight:700}.workbook-header h1{margin:0;max-width:18ch;font-size:clamp(2.2rem,4vw,3.4rem);line-height:.98}.workbook-header p{margin:.85rem 0 0;color:var(--ink-soft)}.status-panel{margin:1rem;padding:1.25rem;background:linear-gradient(180deg,#1f6eaf1f,#ffffffeb)}.status-panel__label{display:inline-flex;padding:.28rem .7rem;border-radius:999px;background:#ffffffc7;color:var(--sheet-blue-dark);font-size:.82rem;font-weight:700}.status-panel strong{display:block;margin-top:1rem;font-size:2rem}.alert-banner{margin-bottom:1rem;padding:.9rem 1rem;border-radius:14px;border:1px solid rgba(166,53,44,.24);background:#a6352c1a;color:var(--danger);font-weight:600}.metric-ribbon,.editor-grid{display:grid;gap:1rem}.metric-ribbon{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem}.metric-card{padding:1rem 1.1rem}.metric-card span{display:block;color:var(--ink-soft)}.metric-card strong{display:block;margin-top:.6rem;font-size:2rem}.editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:1rem}.editor-grid--single{grid-template-columns:minmax(0,1fr)}.editor-grid--storage{align-items:start}.editor-grid--activity-page{grid-template-columns:minmax(360px,.95fr) minmax(0,1.45fr)}.workbook-panel{padding:1rem}.workbook-panel--compact{padding:0;margin-bottom:1rem}.workbook-panel--full{padding:0;overflow:hidden}.workbook-panel__header{margin-bottom:.9rem}.workbook-panel__header h2{margin:0;font-size:1.2rem}.sheet-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.sheet-form--compact{grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem}.sheet-form__wide{grid-column:1 / -1}label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;font-weight:600}input,select,textarea{width:100%;border:1px solid rgba(16,32,51,.14);border-radius:12px;padding:.72rem .82rem;background:#ffffffeb;color:#102033}textarea{resize:vertical;min-height:120px}input:focus,select:focus,textarea:focus{outline:none;border-color:#1f6eaf85;box-shadow:0 0 0 4px #1f6eaf14}.sheet-form__actions{display:flex;gap:.75rem;flex-wrap:wrap}.sheet-note{padding:.72rem .82rem;border-radius:12px;background:#1f6eaf14;color:var(--sheet-blue-dark);font-size:.92rem}.button{border:0;border-radius:999px;padding:.72rem 1rem;font-weight:700}.button--primary{background:linear-gradient(135deg,var(--sheet-blue),var(--sheet-blue-dark));color:#fff}.button--ghost{background:#10203314;color:#102033}.button--danger{background:#a6352c1f;color:var(--danger)}.button--small{padding:.5rem .78rem;font-size:.88rem}.tab-strip{padding:1rem;border-bottom:1px solid rgba(16,32,51,.08)}.filter-bar,.table-actions{display:flex;gap:.75rem;flex-wrap:wrap}.tab-strip__heading{margin-bottom:.85rem}.tab-strip__toolbar{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.85rem}.tab-strip__actions{display:flex;gap:.75rem;flex-wrap:wrap}.tab-strip__heading h2{margin:0;font-size:1.3rem}.tab-strip__heading p:last-child{margin:.45rem 0 0;color:var(--ink-soft)}.dashboard-tab-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.dashboard-tab-nav__item{text-align:left;border:1px solid rgba(16,32,51,.1);border-radius:16px;padding:.9rem 1rem;background:#ffffffe6;color:#102033;display:flex;flex-direction:column;gap:.3rem}.dashboard-tab-nav__item span{font-weight:700}.dashboard-tab-nav__item small{color:var(--ink-soft);font-size:.85rem}.dashboard-tab-nav__item strong{margin-top:.2rem;font-size:1.25rem}.dashboard-tab-nav__item--active{background:linear-gradient(180deg,#1f6eaf24,#114f8214);border-color:#1f6eaf3d}.filter-bar label{min-width:220px}.sheet-table-wrap{overflow-x:auto;padding:0 1rem 1rem}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1rem}.report-card{border:1px solid rgba(16,32,51,.08);border-radius:18px;background:linear-gradient(180deg,#fffffffa,#f4f8fceb),#fffffff2;padding:1rem;min-height:360px}.report-card__header{margin-bottom:1rem}.report-card__header h3{margin:0;font-size:1.1rem}.report-card__header p{margin:.45rem 0 0;color:var(--ink-soft);font-size:.92rem}.settings-preview{display:grid;gap:.75rem;margin-top:1rem}.batch-lines{display:grid;gap:.75rem;margin-top:.85rem}.batch-lines__toolbar,.batch-line-card__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.batch-lines__toolbar--sticky{position:sticky;top:-1px;z-index:3;padding:.8rem 0;background:linear-gradient(180deg,#fffffffa,#ffffffeb);border-bottom:1px solid rgba(16,32,51,.08);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.batch-line-card{border:1px solid rgba(16,32,51,.1);border-radius:16px;padding:.8rem;background:#ffffffe0}.inbound-compact-card{grid-column:1 / -1}.batch-line-card__header{margin-bottom:.55rem}.batch-line-card__title{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.batch-line-grid{display:grid;grid-template-columns:120px 110px minmax(240px,1.5fr) 120px 120px 100px 110px;gap:.6rem;align-items:end}.batch-line-grid label{gap:.25rem;font-size:.82rem}.batch-line-grid input,.batch-line-grid select{padding:.58rem .68rem;border-radius:10px}.batch-line-grid__description{min-width:0}.batch-line-grid__detail{grid-column:span 2}.batch-line-card__meta{display:flex;justify-content:space-between;gap:.6rem;align-items:center;margin-top:.6rem;flex-wrap:wrap}.batch-line-card__hint{color:var(--ink-soft);font-size:.82rem;line-height:1.3}.report-chart-wrap{min-height:320px;overflow-x:auto}.report-bars{display:grid;gap:.9rem}.report-bars--summary{margin-top:.75rem}.report-bars__row{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(0,1.8fr) auto;gap:.8rem;align-items:center}.report-bars__labels strong,.report-bars__labels span,.report-bars__value{display:block}.report-bars__labels strong{font-size:.95rem}.report-bars__labels span{margin-top:.22rem;color:var(--ink-soft);font-size:.82rem}.report-bars__track{position:relative;height:14px;border-radius:999px;overflow:hidden;background:#10203314}.report-bars__fill{height:100%;border-radius:inherit}.report-bars__fill--blue{background:linear-gradient(90deg,#4aa3e2,#1f6eaf)}.report-bars__fill--green{background:linear-gradient(90deg,#4dbb84,#22714a)}.report-bars__fill--amber{background:linear-gradient(90deg,#f4c160,#c18311)}.report-bars__fill--red{background:linear-gradient(90deg,#ef8d80,#b64537)}.report-bars__value{min-width:84px;text-align:right;font-family:IBM Plex Mono,Consolas,monospace;font-size:.84rem;font-weight:600}.trend-chart{display:grid;gap:1rem;height:100%}.trend-chart__legend{display:flex;gap:1rem;flex-wrap:wrap;color:var(--ink-soft);font-size:.85rem;font-weight:600}.trend-chart__legend span{display:inline-flex;align-items:center;gap:.45rem}.trend-chart__swatch{width:12px;height:12px;border-radius:999px;display:inline-block}.trend-chart__swatch--in{background:linear-gradient(180deg,#4dbb84,#22714a)}.trend-chart__swatch--out{background:linear-gradient(180deg,#ef8d80,#b64537)}.trend-chart__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem;align-items:end;margin-top:.9rem}.trend-chart__group{display:grid;gap:.45rem;align-items:end}.trend-chart__mini-meter{display:grid;gap:.4rem;padding:.65rem;border-radius:14px;background:linear-gradient(180deg,#1f6eaf0f,#10203305)}.trend-chart__mini-bar{height:10px;border-radius:999px}.trend-chart__mini-bar--in{background:linear-gradient(90deg,#4dbb84,#22714a)}.trend-chart__mini-bar--out{background:linear-gradient(90deg,#ef8d80,#b64537)}.trend-chart__totals,.trend-chart__label{text-align:center}.trend-chart__totals{font-family:IBM Plex Mono,Consolas,monospace;font-size:.76rem;color:var(--ink-soft)}.trend-chart__label{font-size:.82rem;font-weight:700}.sheet-table{width:100%;min-width:1180px;border-collapse:collapse}.sheet-table thead th{position:sticky;top:0;background:linear-gradient(180deg,#2c83c6,#1f6eaf);color:#fff;text-align:left;padding:.82rem .7rem;font-size:.82rem;letter-spacing:.03em;white-space:nowrap}.sheet-table tbody td{padding:.8rem .7rem;border-bottom:1px solid rgba(16,32,51,.08);background:#ffffffeb;vertical-align:top}.sheet-table tbody tr:nth-child(2n) td{background:#eff6fcb8}.row--alert td{background:#fff1d2d9!important}.row--mismatch td{background:#feedebe6!important}.row--inbound td{border-left:4px solid rgba(34,113,74,.35)}.row--outbound td{border-left:4px solid rgba(166,53,44,.35)}.cell--mono{font-family:IBM Plex Mono,Consolas,monospace;white-space:nowrap}.cell--mismatch{color:var(--danger);font-weight:700}.row-action-select{min-width:110px}.empty-state{padding:2.2rem 1rem;text-align:center;color:var(--ink-soft)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1020336b;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50}.modal-panel{width:min(920px,100%);max-height:calc(100vh - 2rem);overflow:auto;background:#fffffffa;border:1px solid var(--panel-border);border-radius:22px;box-shadow:0 24px 60px #12243b3d;padding:1rem}.modal-panel__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.modal-panel__header h2{margin:0}.status-stack{display:flex;flex-direction:column;gap:.4rem;min-width:120px}.status-pill{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:.28rem .65rem;border-radius:999px;font-size:.8rem;font-weight:700;white-space:nowrap}.status-pill--ok{background:#22714a1f;color:var(--success)}.status-pill--alert{background:#ffb74d38;color:#8d5a00}.status-pill--danger{background:#a6352c1f;color:var(--danger)}@media (max-width: 1200px){.auth-shell,.app-topbar,.workbook-header,.editor-grid,.metric-ribbon,.editor-grid--activity-page,.report-grid,.sidebar{grid-template-columns:1fr}.sidebar__nav{grid-template-columns:repeat(3,minmax(0,1fr))}.tab-strip__toolbar{flex-direction:column}.sheet-form--compact,.batch-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-line-grid__description,.batch-line-grid__detail{grid-column:1 / -1}}@media (max-width: 720px){.auth-shell{width:min(100vw - .75rem,1180px);padding:.75rem 0}.app-shell{width:min(100vw - .75rem,1480px);padding:.5rem 0 1.5rem}.workspace-shell{gap:.75rem}.app-topbar__nav,.sidebar__nav,.dashboard-tab-nav,.sheet-form,.filter-bar{grid-template-columns:1fr}.sheet-form,.sheet-form--compact,.batch-line-grid{display:grid}.sheet-form__actions,.table-actions,.sidebar__nav{flex-direction:column;align-items:stretch}.filter-bar{display:flex;flex-direction:column}.report-bars__row{grid-template-columns:1fr}.report-bars__value{text-align:left}}
