:root { --ink:#18231f; --forest:#174d3b; --mint:#dcebdd; --paper:#f3efe3; --cream:#fffdf6; --orange:#e96b3a; --gold:#d7a436; --pb-line:#d8d4c8; --pb-muted:#66736d; }
* { box-sizing:border-box; }
.price-book-page { margin:0; color:var(--ink); background:radial-gradient(circle at 8% 5%,rgba(215,164,54,.17),transparent 24%),linear-gradient(145deg,#f7f3e8,#edf1e9 55%,#f5ecdf); font-family:"Trebuchet MS",Verdana,sans-serif; min-height:100vh; }
.price-shell { max-width:1540px; margin:auto; padding:18px 24px 70px; }
.price-login { width:min(480px,calc(100% - 32px)); margin:12vh auto; padding:36px; border:1px solid var(--pb-line); border-top:6px solid var(--forest); border-radius:18px; background:rgba(255,253,246,.95); box-shadow:0 28px 80px rgba(24,35,31,.14); }
.price-login h1,.price-hero h2,.price-drawer h2,.price-dialog h2 { font-family:Georgia,"Times New Roman",serif; letter-spacing:-.03em; }
.price-login h1 { font-size:42px; margin:4px 0 10px; }
.price-login label,.price-dialog label,.filter-panel label { display:block; margin-bottom:5px; color:var(--pb-muted); font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.price-header { display:flex; justify-content:space-between; gap:24px; align-items:center; padding:12px 0 20px; }
.price-brand { display:flex; align-items:center; gap:12px; }.price-brand p,.price-brand h1 { margin:0; }.price-brand p { color:var(--pb-muted); font-size:11px; text-transform:uppercase; letter-spacing:.11em; font-weight:900; }.price-brand h1 { font-family:Georgia,serif; font-size:26px; }
.price-mark { display:grid; place-items:center; width:44px; height:44px; color:#fff; border-radius:50% 50% 42% 58%; background:var(--forest); font-family:Georgia,serif; font-weight:bold; }
.price-nav { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:5px; }.price-nav a,.price-nav button { color:var(--ink); text-decoration:none; font-size:12px; font-weight:900; padding:8px 10px; border:0; border-radius:999px; background:transparent; margin:0; }.price-nav a:hover { background:var(--mint); }.price-nav .price-logout { color:#fff; background:#a53e35; }
.price-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; min-height:210px; padding:34px; overflow:hidden; border-radius:22px; color:#f8f4e8; background:radial-gradient(circle at 83% 15%,rgba(233,107,58,.55),transparent 26%),linear-gradient(120deg,#123b31,#1d5c47 67%,#886125); box-shadow:0 18px 45px rgba(23,77,59,.2); }
.price-hero h2 { max-width:820px; margin:6px 0 12px; font-size:clamp(30px,4vw,53px); line-height:1.03; }.price-hero p:last-child { max-width:700px; color:#dbe7dc; }.price-kicker { margin:0; color:var(--orange); font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }.price-hero .price-kicker { color:#ffc492; }
.hero-actions { display:flex; gap:9px; flex-wrap:wrap; flex:0 0 auto; }
.price-primary,.price-secondary,.price-ghost { border:0; border-radius:9px; padding:10px 14px; margin:0; font-weight:900; cursor:pointer; }.price-primary { background:var(--orange); color:#fff; }.price-secondary { background:var(--forest); color:#fff; }.price-ghost { background:#f2f0e9; color:var(--ink); border:1px solid var(--pb-line); }.price-hero .price-secondary { background:#fff; color:var(--forest); }
.price-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:14px 0; }.price-metric { min-height:104px; padding:16px; border-radius:14px; border:1px solid var(--pb-line); background:rgba(255,253,246,.88); }.price-metric small { color:var(--pb-muted); font-size:11px; font-weight:900; text-transform:uppercase; }.price-metric strong { display:block; margin-top:7px; font:31px Georgia,serif; }.price-metric.warn { border-top:4px solid var(--orange); }.price-metric.good { border-top:4px solid var(--forest); }
.price-panel { margin-top:14px; border:1px solid var(--pb-line); border-radius:16px; background:rgba(255,253,246,.94); box-shadow:0 10px 30px rgba(24,35,31,.06); padding:18px; }.filter-panel { display:grid; grid-template-columns:minmax(240px,1.5fr) repeat(4,minmax(135px,.7fr)) auto; gap:10px; align-items:end; }.filter-panel input,.filter-panel select,.price-dialog input,.price-dialog select,.price-drawer input,.price-drawer select { margin:0; border:1px solid var(--pb-line); border-radius:8px; background:#fff; }
.panel-title-row { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:14px; }.panel-title-row h3 { margin:3px 0 0; font:25px Georgia,serif; }.table-actions { display:flex; align-items:center; gap:10px; color:var(--pb-muted); font-size:12px; }
.price-table-wrap { overflow:auto; border:1px solid var(--pb-line); border-radius:11px; }.price-table { min-width:1250px; }.price-table th { background:#e9e3d5; color:#37443e; }.price-table tbody tr { background:#fffdf8; }.price-table tbody tr:nth-child(even) { background:#f8f5ec; }.price-table tbody tr:hover { background:#edf5eb; }.price-table td { padding:10px 8px; }.sku-link { color:var(--forest); font-weight:900; border:0; background:none; padding:0; margin:0; text-decoration:underline; text-decoration-color:#a4bdad; text-underline-offset:3px; }.product-cell { min-width:210px; }.delta-up { color:#b84a27; font-weight:900; }.delta-down { color:#1b7652; font-weight:900; }.muted-dash { color:#9aa29e; }.map-chips { display:flex; gap:4px; flex-wrap:wrap; }.map-chip,.count-pill { display:inline-flex; padding:3px 7px; border-radius:999px; background:var(--mint); color:var(--forest); font-size:10px; font-weight:900; text-transform:uppercase; }.map-chip.missing { color:#9c402b; background:#fee5d9; }.pagination { display:flex; justify-content:flex-end; align-items:center; gap:10px; margin-top:12px; color:var(--pb-muted); font-size:12px; }
.price-grid-two { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.exception-list { display:grid; gap:8px; max-height:430px; overflow:auto; }.exception-card { display:grid; grid-template-columns:1fr auto; gap:12px; padding:12px; border:1px solid var(--pb-line); border-left:4px solid var(--orange); border-radius:9px; background:#fff; }.exception-card strong,.exception-card small { display:block; }.exception-card small { margin-top:4px; color:var(--pb-muted); }.exception-actions { display:flex; gap:5px; align-items:center; }.health-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin-bottom:10px; }.health-stat { padding:10px; border-radius:8px; background:#f2efe6; }.health-stat strong { display:block; font:23px Georgia,serif; }.health-stat small { color:var(--pb-muted); }
.subsection-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:20px 0 8px; padding-top:14px; border-top:1px solid var(--pb-line); }.subsection-head h4 { margin:0; font:19px Georgia,serif; }
.custom-choice { margin-top:8px; }.choice-hint { margin:8px 0 0; color:var(--pb-muted); font-size:12px; }.form-grid > div { min-width:0; }
.drawer-backdrop { position:fixed; inset:0; z-index:1000; background:rgba(11,21,17,.38); backdrop-filter:blur(2px); }.price-drawer { position:fixed; z-index:1001; top:0; right:0; width:min(680px,100%); height:100vh; overflow:auto; padding:24px; transform:translateX(102%); transition:transform .24s ease; background:var(--cream); box-shadow:-20px 0 60px rgba(13,30,23,.23); }.price-drawer.open { transform:translateX(0); }.drawer-head,.dialog-head { display:flex; justify-content:space-between; gap:20px; align-items:start; border-bottom:1px solid var(--pb-line); padding-bottom:14px; margin-bottom:18px; }.drawer-head h2,.dialog-head h2 { margin:4px 0 0; }.icon-button { width:38px; height:38px; margin:0; padding:0; border-radius:50%; color:var(--ink); background:#eee9dc; font-size:23px; }.detail-cost { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:16px; }.detail-total { grid-column:1/-1; padding:18px; color:#fff; border-radius:12px; background:var(--forest); }.detail-total strong { display:block; margin-top:4px; font:35px Georgia,serif; }.detail-stat { padding:12px; border:1px solid var(--pb-line); border-radius:10px; }.detail-stat small,.detail-stat strong { display:block; }.detail-stat small { color:var(--pb-muted); }.drawer-section { margin-top:22px; }.drawer-section h3 { font:21px Georgia,serif; }.timeline { display:grid; gap:0; }.timeline-item { position:relative; padding:0 0 18px 24px; border-left:2px solid #c9d7cb; }.timeline-item::before { content:""; position:absolute; left:-6px; top:3px; width:10px; height:10px; border-radius:50%; background:var(--forest); }.timeline-item p { margin:4px 0; }.status-label { font-size:10px; font-weight:900; text-transform:uppercase; color:var(--pb-muted); }.mapping-card { padding:10px; margin-bottom:7px; border-radius:8px; background:#f1eee5; }.mapping-form { display:grid; grid-template-columns:1fr 1fr; gap:7px; padding:12px; border:1px dashed #aab5ad; border-radius:10px; }.mapping-form .wide { grid-column:1/-1; }
.price-dialog { width:min(1000px,calc(100% - 30px)); max-height:92vh; overflow:auto; border:0; border-radius:18px; padding:24px; color:var(--ink); background:var(--cream); box-shadow:0 30px 90px rgba(15,27,22,.35); }.price-dialog::backdrop { background:rgba(12,24,19,.52); backdrop-filter:blur(3px); }.form-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }.form-grid .wide { grid-column:span 2; }.cost-strip { display:grid; grid-template-columns:repeat(5,minmax(110px,1fr) auto) minmax(140px,1fr); align-items:end; gap:6px; margin:18px 0; padding:14px; border-radius:12px; background:#e9efe6; }.cost-strip span { padding-bottom:12px; color:var(--pb-muted); font-weight:900; }.cost-total { padding:9px; border-radius:8px; color:#fff; background:var(--forest); }.cost-total strong { display:block; font:21px Georgia,serif; }.dialog-note { margin:14px 0; padding:10px; border-left:4px solid var(--gold); background:#f5edda; }.dialog-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:16px; }.import-preview { max-height:360px; }.check-row { display:flex; align-items:center; gap:8px; margin:12px 0; }.check-row input { width:auto; }
@media(max-width:1000px){.price-metrics{grid-template-columns:repeat(2,1fr)}.filter-panel{grid-template-columns:1fr 1fr}.price-grid-two{grid-template-columns:1fr}.cost-strip{grid-template-columns:1fr 1fr}.cost-strip>span{display:none}.price-header{align-items:flex-start;flex-direction:column}.price-nav{justify-content:flex-start}.price-hero{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.price-shell{padding:10px 10px 60px}.price-hero{padding:24px 18px}.price-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.price-metric{min-height:88px}.price-metric:last-child{grid-column:1/-1}.filter-panel,.form-grid,.detail-cost,.health-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.price-nav{overflow:auto;flex-wrap:nowrap;width:100%;justify-content:flex-start}.price-nav a{white-space:nowrap}.price-panel{padding:12px}.price-dialog{padding:16px}.cost-strip{grid-template-columns:1fr}.price-grid-two{display:block}}
