:root{color:#2f2925;background:#f5f0e8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button,select{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgb(176 76 39 / 28%);outline-offset:2px}.auth-shell{display:grid;min-height:100vh;place-items:center;padding:24px;background:radial-gradient(circle at 20% 15%,rgb(221 179 111 / 30%),transparent 28rem),linear-gradient(145deg,#f8f4ed,#eee3d4)}.login-card,.content-card{border:1px solid rgb(82 60 45 / 13%);border-radius:24px;background:#fffdf9f2;box-shadow:0 24px 70px #563a251c}.login-card{width:min(100%,460px);padding:clamp(28px,7vw,48px)}.compact-card{text-align:center}.brand-mark,.success-mark{display:grid;width:54px;height:54px;margin-bottom:24px;place-items:center;border-radius:17px;color:#fffaf3;background:#ad4b28;font-family:Georgia,serif;font-size:1.7rem;font-weight:700;box-shadow:0 10px 22px #ad4b283d}.success-mark{margin-right:auto;margin-left:auto;background:#387153;font-family:inherit}.eyebrow{margin:0 0 10px;color:#ad4b28;font-size:.74rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}h1,h2{margin:0;color:#2b2420;font-family:Georgia,Times New Roman,serif;font-weight:600;letter-spacing:-.025em}h1{font-size:clamp(2.1rem,9vw,3.25rem);line-height:1}h2{font-size:clamp(1.75rem,5vw,2.45rem);line-height:1.08}.intro,.content-card>p:not(.eyebrow){margin:18px 0 28px;color:#6d625a;line-height:1.55}.login-form,.user-form{display:grid;gap:18px}label{display:grid;gap:8px;color:#494039;font-size:.86rem;font-weight:700}input,select{width:100%;min-height:48px;padding:11px 13px;border:1px solid #cfc2b6;border-radius:11px;color:#2f2925;background:#fff}input:hover,select:hover{border-color:#9e8d80}.primary-button,.secondary-button,.text-button,.main-nav button,.brand-button{min-height:44px;border:0;border-radius:11px;font-weight:750}.primary-button{padding:12px 18px;color:#fff;background:#ad4b28;box-shadow:0 8px 20px #ad4b282e}.primary-button:hover:not(:disabled){background:#933d20}.secondary-button{padding:10px 14px;color:#74351f;background:#f6e5d8}.text-button{padding:9px 11px;color:#754631;background:transparent}.text-button:hover:not(:disabled){background:#f4ebe2}.form-error,.form-success,.notice{margin:0;padding:11px 13px;border-radius:10px;font-size:.88rem;line-height:1.4}.form-error{color:#7e2d26;background:#fae9e6}.form-success{color:#2d6247;background:#e7f2eb}.notice.warning{margin-bottom:20px;color:#70491d;background:#fbefd8}.loading-label,.muted,.field-hint{color:#766b63}.loading-label{font-weight:700}.field-hint{font-size:.75rem;font-weight:500}.app-shell{min-height:100vh;background:#f5f0e8}.app-header{position:sticky;z-index:30;top:0;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(16px,2vw,30px);min-height:78px;padding:14px clamp(18px,4vw,48px);border-bottom:1px solid rgb(82 60 45 / 13%);background:#fffdf9eb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand-button{display:flex;min-width:0;align-items:center;gap:12px;padding:0;color:#2f2925;text-align:left;background:transparent}.header-logo{display:block;width:46px;height:46px;flex:0 0 auto;border-radius:13px;box-shadow:0 8px 18px #484a5429}.brand-button>span:last-child{display:grid}.brand-button small,.user-summary span,.account-email{color:#766b63;font-size:.76rem;font-weight:500}.account-actions{display:flex;min-width:0;align-items:center;gap:10px}.main-nav{display:flex;min-width:0;align-items:center;gap:4px;padding:0}.main-nav button{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;color:#6d625a;background:transparent;white-space:nowrap}.main-nav button[aria-current=page]{color:#823b23;background:#eedbcb}.main-nav button:hover:not(:disabled){color:#74351f;background:#f4ebe2}.desktop-nav{justify-self:center;justify-content:center}.service-nav{position:relative}.service-menu-trigger{gap:8px}.service-menu-chevron{width:7px;height:7px;border-right:2px solid currentcolor;border-bottom:2px solid currentcolor;transform:translateY(-2px) rotate(45deg);transition:transform .16s ease}.service-menu-trigger[aria-expanded=true] .service-menu-chevron{transform:translateY(2px) rotate(225deg)}.service-submenu{position:absolute;z-index:20;top:calc(100% + 9px);left:50%;display:grid;width:196px;gap:3px;padding:8px;border:1px solid rgb(82 60 45 / 13%);border-radius:15px;background:#fffdf9;box-shadow:0 18px 42px #563a252e;transform:translate(-50%)}.service-submenu button{width:100%;justify-content:flex-start;padding:9px 11px}.desktop-account{flex:0 1 auto;justify-self:end}.desktop-account .account-email{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-menu-toggle,.mobile-menu-panel{display:none}.workspace{width:min(100%,1160px);margin:0 auto;padding:clamp(18px,4vw,48px)}.dashboard-layout{display:grid;gap:20px}.dashboard-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.dashboard-heading h1{font-size:clamp(2.5rem,7vw,4.5rem)}.freshness{margin:10px 0 0;color:#58715f;font-size:.84rem;font-weight:700}.freshness.stale{color:#9a5a22}.period-label{padding-bottom:5px;color:#6d625a;font-size:.86rem;text-align:right}.heading-actions{display:grid;justify-items:end;gap:10px}.export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.export-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.period-filter{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:12px;border:1px solid rgb(82 60 45 / 13%);border-radius:16px;background:#fffdf9d1}.preset-buttons{display:flex;gap:4px;overflow-x:auto}.preset-buttons button{min-height:42px;padding:9px 13px;border:0;border-radius:10px;color:#695e56;background:transparent;font-weight:750;white-space:nowrap}.preset-buttons button[aria-pressed=true]{color:#7a361f;background:#efdccb}.custom-period{display:flex;gap:8px}.custom-period label{gap:4px;font-size:.7rem}.custom-period input{min-height:42px;padding:7px 9px}.incomplete-notice{padding:12px 15px;border-radius:12px;color:#70491d;background:#fbefd8;font-size:.88rem}.metrics-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.metric-card{display:grid;min-height:148px;grid-column:span 2;align-content:space-between;padding:20px;border:1px solid rgb(82 60 45 / 12%);border-radius:18px;background:#fffdfa;box-shadow:0 10px 30px #563a2512}.metric-card:first-child,.metric-card:last-child{grid-column:span 3}.metric-card>span{color:#766b63;font-size:.79rem;font-weight:750}.metric-card>strong{margin:10px 0;color:#2e2723;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.55rem,3.4vw,2.35rem);font-weight:600;letter-spacing:-.03em}.metric-card small{color:#796f67}.change-badge{display:inline-flex;width:fit-content;padding:5px 8px;border-radius:8px;font-size:.72rem;font-weight:800}.change-badge.positive{color:#2f694b;background:#e5f2e9}.change-badge.negative{color:#8a332b;background:#f8e7e4}.change-badge.neutral{color:#70645b;background:#f1e9e1}.chart-interval-switch{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:3px;padding:3px;border:1px solid #ded1c5;border-radius:11px;background:#f4eee8}.chart-interval-switch button{min-height:34px;padding:6px 9px;border:0;border-radius:8px;color:#6b5b4d;background:transparent;font-size:.72rem;font-weight:750}.chart-interval-switch button[aria-pressed=true]{color:#6f301b;background:#fffdfa;box-shadow:0 1px 4px #301f161a}.chart-interval-switch button:disabled{color:#a99d94;opacity:.58}.chart-card{overflow:hidden}.chart-scroll,.table-scroll{overflow-x:auto}.bar-chart{display:flex;min-width:620px;height:280px;align-items:end;gap:6px;margin-top:30px;padding:34px 4px 28px;border-bottom:1px solid #ded2c7}.bar-column{display:flex;min-width:5px;height:100%;flex:1 0 5px;flex-direction:column;justify-content:end;position:relative}.revenue-bar{width:100%;min-height:2px;border-radius:4px 4px 1px 1px;background:#ad4b28}.revenue-bar.negative-bar{background:#8a332b}.revenue-bar.incomplete-bar{background:repeating-linear-gradient(135deg,#ad4b28,#ad4b28 4px,#dda482 4px 8px)}.bar-column .bar-value{position:absolute;left:50%;z-index:1;transform:translate(-50%);color:#51463f;font-size:.67rem;font-variant-numeric:tabular-nums;font-weight:750;line-height:1;pointer-events:none;white-space:nowrap}.bar-column .bar-date{position:absolute;top:calc(100% + 8px);color:#81746a;font-size:.64rem;white-space:nowrap}.bar-column:last-child .bar-date{right:0}.chart-table-details{margin-top:24px;color:#685c53}.chart-table-details summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:750}table{width:100%;border-collapse:collapse;font-size:.82rem}th,td{padding:10px;border-bottom:1px solid #eadfd4;text-align:left;white-space:nowrap}th{color:#75685e;font-size:.72rem;text-transform:uppercase}.comparison-card>p:not(.eyebrow){margin-bottom:18px}.comparison-values{display:flex;flex-wrap:wrap;gap:10px}.comparison-values span{display:grid;gap:4px;padding:12px 14px;border-radius:11px;color:#766a62;background:#f4ece4;font-size:.76rem}.comparison-values strong{color:#3f3630;font-size:1rem}.detail-tabs{display:flex;gap:5px;overflow-x:auto;padding-bottom:2px}.detail-tabs button{min-height:44px;padding:9px 14px;border:1px solid #d9ccc1;border-radius:11px;color:#6c6057;background:#fffdfa;font-weight:750;white-space:nowrap}.detail-tabs button[aria-current=page]{border-color:#ad4b28;color:#7a361f;background:#efdccb}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.detail-card{min-width:0}.detail-card h2+.table-scroll,.detail-card .section-heading+.table-scroll{margin-top:22px}.wide-table{min-width:760px}.product-table{min-width:920px}.table-link,.sort-button{min-height:34px;padding:4px 0;border:0;color:#8d3e22;background:transparent;font-weight:750;text-align:left}.sort-button{color:inherit;font-size:inherit;text-transform:uppercase}.raw-name-cell{min-width:220px;max-width:360px;white-space:normal;overflow-wrap:anywhere}.inline-details summary{min-height:34px;padding:7px 0;color:#8d3e22;cursor:pointer;font-weight:700}.inline-details ul{display:grid;gap:4px;min-width:240px;margin:6px 0;padding-left:18px;color:#70655d;font-size:.76rem}.active-filter{display:flex;width:fit-content;align-items:center;gap:5px;margin-top:18px;padding:7px 9px 7px 12px;border-radius:10px;color:#6e4635;background:#f3e3d6;font-size:.8rem}.active-filter button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:8px;color:#713921;background:#ffffff7a;font-size:1.1rem}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:22px;color:#75685f;font-size:.8rem}.basket-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:22px 0}.basket-metrics div{padding:14px;border-radius:12px;background:#f4ebe2}.basket-metrics dt{color:#756960;font-size:.72rem}.basket-metrics dd{margin:6px 0 0;color:#3e342e;font-family:Georgia,serif;font-size:1.4rem;font-weight:600}.pair-list,.issue-list{display:grid;gap:8px;margin:22px 0 0;padding:0;list-style:none}.pair-list li,.issue-list li{display:flex;align-items:start;justify-content:space-between;gap:14px;padding:12px;border-bottom:1px solid #eadfd4}.pair-list span,.issue-list span{min-width:0;overflow-wrap:anywhere}.issue-list li{align-items:stretch;flex-direction:column}.issue-list strong{color:#8a332b;font-size:.78rem}.issue-list span{color:#6d625a;font-size:.84rem;line-height:1.45}.healthy-state{margin:22px 0 0;padding:14px;border-radius:11px;color:#2d6247;background:#e7f2eb}.dashboard-loading{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.dashboard-loading div{height:150px;border-radius:18px;background:linear-gradient(100deg,#eee5dc 20%,#f8f2ec,#eee5dc 70%);background-size:220% 100%;animation:loading 1.4s ease infinite}@keyframes loading{to{background-position-x:-220%}}.empty-state,.error-state{text-align:center}.empty-state p,.error-state p{color:#71665e}.empty-mark{display:grid;width:56px;height:56px;margin:0 auto 18px;place-items:center;border-radius:50%;color:#8a7769;background:#eee4db;font-family:Georgia,serif;font-size:1.6rem}.content-card{padding:clamp(24px,5vw,42px)}.permission-note{display:inline-flex;gap:5px;padding:11px 14px;border-radius:10px;color:#665950;background:#f2e8dc;font-size:.86rem}.access-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(420px,1.28fr);gap:20px;align-items:start}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.count-badge{display:grid;min-width:38px;height:38px;padding:0 10px;place-items:center;border-radius:19px;color:#74351f;background:#f6e5d8;font-weight:800}.status-region{display:grid;gap:8px;margin-top:18px}.user-list{display:grid;gap:10px;margin:20px 0 0;padding:0;list-style:none}.user-list li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid #eadfd4;border-radius:13px;background:#fffdfa}.user-list li.inactive-user{background:#f3efeb;opacity:.78}.user-summary{display:grid;min-width:0;gap:5px}.user-summary strong{overflow:hidden;text-overflow:ellipsis}.user-actions{display:flex;flex:0 0 auto;gap:4px}.mode-switch{display:inline-flex;width:fit-content;margin:0 0 16px;padding:3px;border:1px solid #ded1c5;border-radius:11px;background:#f4eee8}.mode-switch button{padding:7px 12px;border:0;border-radius:8px;color:#6b5b4d;background:transparent;cursor:pointer;font:inherit;font-weight:700}.mode-switch button[aria-pressed=true]{color:#301f16;background:#fffdfa;box-shadow:0 1px 4px #301f161a}.source-names{display:block;max-width:480px;margin-top:5px;color:#786a60;font-weight:400;white-space:normal}.mapping-layout{max-width:1180px}.mapping-note{margin:-8px 0 0;padding:13px 16px;border:1px solid #ddcdbf;border-radius:13px;color:#634d3e;background:#fff8ef}.mapping-list,.mapping-history{display:grid;gap:10px;margin:18px 0 0;padding:0;list-style:none}.mapping-list li,.mapping-history li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px;border:1px solid #eadfd4;border-radius:13px;background:#fffdfa}.mapping-pair,.mapping-history li>div{display:grid;min-width:0;gap:5px}.mapping-pair strong{overflow-wrap:anywhere}.mapping-pair>span{color:#a58b78}.mapping-pair small,.mapping-history span{color:#786a60}.compact-button{min-width:auto;padding:10px 14px}.mapping-raw-list{max-height:540px}.reconciliation-layout{display:grid;gap:20px}.candidate-list,.reconciliation-history{display:grid;gap:10px;margin-top:20px}.candidate-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px;border:1px solid #eadfd4;border-radius:12px}.candidate-row span{color:#6d625a;font-size:.84rem}.reconciliation-workspace{display:grid;grid-template-columns:minmax(230px,.38fr) minmax(0,1fr);gap:20px;align-items:start}.reconciliation-history{margin:0}.reconciliation-card{display:grid;width:100%;gap:6px;padding:14px;border:1px solid #dfd2c7;border-radius:13px;color:#554a43;background:#fffdfa;text-align:left}.reconciliation-card.selected{border-color:#ad4b28;background:#f8ece2}.reconciliation-card span,.reconciliation-card small{color:#786b61}.reconciliation-metrics{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.reconciliation-metrics span{display:grid;gap:3px;padding:10px 13px;border-radius:10px;color:#77695f;background:#f4ece4;font-size:.76rem}.reconciliation-detail .table-scroll{margin:22px 0}.reconciliation-detail table{min-width:980px}.technical-value{max-width:280px;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem}.reconciliation-detail pre{max-width:440px;max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.7rem}.secondary-link{display:inline-flex;min-height:44px;align-items:center;padding:10px 14px;border-radius:11px;color:#74351f;background:#f6e5d8;font-size:.84rem;font-weight:750;text-decoration:none}@media(max-width:1100px){.app-header{grid-template-columns:minmax(0,1fr) auto}.desktop-nav,.desktop-account{display:none}.mobile-menu-toggle{display:inline-flex;min-height:44px;align-items:center;gap:9px;padding:9px 12px;border:0;border-radius:11px;color:#754631;background:#f4ebe2;font-weight:750}.mobile-menu-toggle:hover:not(:disabled){background:#eedbcb}.menu-icon{position:relative;display:grid;width:19px;height:14px;align-content:space-between}.menu-icon>span{display:block;width:100%;height:2px;border-radius:999px;background:currentcolor;transition:transform .16s ease,opacity .16s ease}.mobile-menu-toggle[aria-expanded=true] .menu-icon>span:first-child{transform:translateY(6px) rotate(45deg)}.mobile-menu-toggle[aria-expanded=true] .menu-icon>span:nth-child(2){opacity:0}.mobile-menu-toggle[aria-expanded=true] .menu-icon>span:last-child{transform:translateY(-6px) rotate(-45deg)}.mobile-menu-panel{position:absolute;top:calc(100% + 8px);right:clamp(12px,4vw,48px);display:grid;width:min(360px,calc(100vw - 24px));gap:12px;padding:14px;border:1px solid rgb(82 60 45 / 13%);border-radius:18px;background:#fffdf9;box-shadow:0 20px 48px #563a252e}.mobile-account{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 10px 8px;border-bottom:1px solid rgb(82 60 45 / 10%)}.mobile-account-email{min-width:0;overflow:hidden;color:#766b63;font-size:.76rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.mobile-nav{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.mobile-nav button{justify-content:flex-start;min-height:46px;padding:10px 12px}.mobile-nav .service-menu-trigger{width:100%;justify-content:space-between}.mobile-nav .service-submenu{position:static;width:100%;margin-top:6px;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px;border:0;border-radius:12px;background:#f8f1e9;box-shadow:none;transform:none}}@media(max-width:800px){.access-layout{grid-template-columns:1fr}.period-filter{align-items:stretch;flex-direction:column}.custom-period{width:100%}.custom-period label{flex:1}.metrics-grid{grid-template-columns:repeat(2,1fr)}.detail-grid,.reconciliation-workspace{grid-template-columns:1fr}.metric-card,.metric-card:first-child,.metric-card:last-child{grid-column:span 1}}@media(max-width:560px){.auth-shell{align-items:stretch;padding:0}.login-card{display:flex;width:100%;min-height:100vh;flex-direction:column;justify-content:center;border:0;border-radius:0;box-shadow:none}.app-header{min-height:70px}.header-logo{width:42px;height:42px}.brand-button small{display:none}.workspace{padding-top:18px}.dashboard-heading{align-items:start;flex-direction:column}.period-label{padding:0;text-align:left}.heading-actions{width:100%;justify-items:start}.export-actions{justify-content:flex-start}.preset-buttons{width:100%}.custom-period{flex-direction:column}.metrics-grid,.dashboard-loading{grid-template-columns:1fr}.metric-card{min-height:132px}.chart-card .section-heading{align-items:flex-start;flex-direction:column}.chart-interval-switch{width:100%;justify-content:flex-start}.bar-chart{height:220px}.content-card{border-radius:18px}.user-list li,.user-actions,.candidate-row,.mapping-list li,.mapping-history li{align-items:stretch;flex-direction:column}.user-actions button,.candidate-row button{width:100%}.pagination{justify-content:space-between}.pagination span{text-align:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important}}
