/* Free Point 1.2 — blue corporate identity, stronger hierarchy and contrast. */
:root{--primary:#28579b;--text:#172f50;--muted:#526783;--line:#cdd9e8;--bg:#e8eef6}
body{background:#e8eef6;color:#172f50;font-size:16px}
.sidebar{background:#142e50;color:#fff;border:0}
.sidebar .brand{background:#fff;border-radius:14px;margin:18px 14px 16px;padding:8px}
.sidebar .brand img{width:100%;height:72px;object-fit:contain}
.sidebar .brand-sub,.sidebar .nav-label,.sidebar .brand-caption,.sidebar .user-card .muted{color:#bbcee7}
.sidebar nav button,.sidebar .nav-item{color:#c5d5e9;border-radius:10px;font-size:14px}
.sidebar nav button:hover,.sidebar .nav-item:hover{background:#234670;color:white}
.sidebar nav button.active,.sidebar .nav-item.active{background:#3268ad;color:white;box-shadow:inset 3px 0 #98c5ff}
.sidebar .user-card{border-color:#385472;color:#fff}.sidebar .user-card small{color:#c2d2e5}.sidebar .btn{color:#fff}
.topbar{background:#fff;border-bottom:1px solid #c7d5e6;box-shadow:0 4px 18px #172f5008}
.content{max-width:1760px;margin:auto}.page-head h1{letter-spacing:-.035em;font-size:1.95rem;color:#142e50}
.page-head p{color:#4b6280;font-size:15px}.card{border:1px solid #cfdaea;box-shadow:0 5px 16px #17345308;border-radius:16px;background:white}
.card h2{font-size:1.08rem;color:#172f50;display:flex;align-items:center;gap:10px}
.kpi-card{position:relative;overflow:hidden;border-top:4px solid #28579b;padding-top:19px}
.kpi-card:nth-child(2){border-top-color:#087f8c}.kpi-card:nth-child(3){border-top-color:#6846a5}.kpi-card:nth-child(4){border-top-color:#426786}
.kpi-card:first-child{background:#1e477e;color:white;border-color:#1e477e;box-shadow:0 8px 22px #28579b30}
.kpi-card:first-child .kpi-label,.kpi-card:first-child .kpi-foot{color:#dce9fb}.kpi-card:first-child .kpi-value{color:white}
.kpi-label{font-size:14px;color:#465f7e;font-weight:650;gap:7px}.kpi-value{font-size:1.9rem;letter-spacing:-.04em}.kpi-foot{font-size:14px;line-height:1.5}
.kpi-label>.icon{margin-left:auto;color:inherit}.banner{border:0;border-left:5px solid currentColor;box-shadow:0 6px 18px #172f500a}
.banner.green{background:#d8efe4;color:#195b3b}.banner.yellow{background:#fff0cf;color:#744707}.banner.red{background:#ffe2e7;color:#8c2437}.banner.info{background:#dce9fa;color:#224d85}
.banner-title{display:flex;align-items:center;gap:10px}.health-strip{box-shadow:0 3px 12px #172f5008}.health-strip button{font-size:14px;background:#fff}
.banner-actions{display:flex;align-items:center;gap:10px}.banner-dismiss{width:34px;height:34px;border:0;border-radius:50%;background:#ffffff99;color:currentColor;font-size:24px;line-height:1;display:grid;place-items:center}.banner-dismiss:hover{background:#fff;box-shadow:0 2px 8px #172f5020}
.pill{font-size:13px;font-weight:650}.pill.green{background:#d4ecde;color:#155434}.pill.yellow{background:#ffebba;color:#794909}.pill.red{background:#ffdae2;color:#93263e}.pill.unknown,.pill.no_cost{background:#e4ebf4;color:#405772}.pill.info{background:#dbe9fc;color:#234e89}
.btn{font-size:14px;border-color:#bdcde1;transition:background .15s,box-shadow .15s,transform .15s}.btn:hover{box-shadow:0 3px 9px #17345315}.btn.primary{background:#28579b;color:white;border-color:#28579b}.btn.primary:hover{background:#214981}.btn:focus-visible,.help-button:focus-visible{outline:3px solid #66a1eb;outline-offset:3px}
.segmented{background:#d8e2ef;padding:5px;border:1px solid #c2d1e4;flex-wrap:wrap}.segmented button{font-size:14px}.segmented button.active{background:#28579b;color:white;box-shadow:0 2px 6px #21498130}
.product-filters{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:16px}.product-filters label{min-width:180px;flex:1;max-width:300px}.type-label{display:block!important;margin-top:4px}.type-edit{border:0;background:none;color:#28579b;text-decoration:underline;cursor:pointer;font-size:12px;padding:3px}
th{background:#e9f0f9;color:#344f72;font-size:13px}td{font-size:14px}.product strong{font-size:14px}.product small{font-size:13px}tbody tr:nth-child(even){background:#f7f9fd}tbody tr:hover{background:#edf3fc}
.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px;margin-bottom:24px}.category-analytics .chart-card{grid-column:1/-1}.chart-card{min-width:0;padding:24px}.chart-card h2{padding-bottom:16px;border-bottom:1px solid #e1e8f2;margin-bottom:20px}.bar-chart{display:grid;gap:17px}.bar-caption{display:flex;justify-content:space-between;gap:16px;align-items:baseline;font-size:14px;margin-bottom:7px}.bar-caption span{overflow-wrap:anywhere}.bar-caption strong{white-space:nowrap;font-size:14px}.bar-track{height:10px;background:#e5edf7;border-radius:6px;overflow:hidden}.bar-fill{height:100%;border-radius:6px;min-width:2px}.bar-item small{display:block;font-size:13px;margin-top:6px;color:#526783}.chart-note{font-size:13px;line-height:1.55;margin-top:18px}.chart text{fill:#526783}.legend{font-size:14px}
.brand-link,.donut-brand{border:0;background:none;color:#173f75;padding:2px 0;font:inherit;text-align:left;cursor:pointer}.brand-link{display:inline-flex;align-items:center;gap:7px}.brand-link:hover,.donut-brand:hover span{text-decoration:underline;color:#28579b}.brand-link span{transition:transform .15s}.brand-link:hover span{transform:translateX(3px)}
.donut-layout{display:flex;align-items:center;gap:28px;justify-content:center}.donut{width:200px;max-width:50%;flex-shrink:0}.donut text{font-size:12px;fill:#526783}.donut .donut-number{font-size:28px;font-weight:700;fill:#172f50}.donut-legend{display:grid;gap:12px;flex:1}.donut-brand{display:flex;gap:9px;align-items:center;font-size:14px;width:100%}.donut-legend i{width:9px;height:9px;border-radius:3px;flex:none}.donut-legend strong{margin-left:auto;color:#172f50}
.help-button{border:1px solid #b5c8e2;border-radius:50%;background:#edf3fc;color:#28579b;width:25px;height:25px;min-width:25px;font-size:14px;font-weight:700;cursor:pointer;line-height:1;padding:0;display:inline-grid;place-items:center;margin-left:auto}.help-copy{font-size:16px;line-height:1.75}.kpi-card:first-child .help-button{background:#37629c;color:white;border-color:#7294c2}
.return-hero{background:#eaf1fb;border-radius:12px;padding:22px}.return-hero h3{font-size:1.25rem;margin:14px 0 8px}.detail-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.detail-tabs .active{background:#28579b;color:#fff}.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.details-grid>div{padding-bottom:12px;border-bottom:1px solid #e3eaf4}.details-grid dt{font-size:13px;color:#526783;margin-bottom:6px}.details-grid dd{margin:0;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.timeline-item{position:relative}.timeline-item:before{content:'';position:absolute;left:-27px;top:2px;width:10px;height:10px;border-radius:50%;background:#28579b;border:2px solid white}.timeline-item p{font-size:14px}.timeline-item details{margin-top:10px}.wizard-progress{font-size:14px;color:#526783;border-bottom:3px solid #28579b;padding-bottom:12px;margin-bottom:24px}.wizard-progress+div:empty{display:none}#return-wizard label{font-size:16px}#return-wizard textarea{min-height:140px}.closure-notice{font-size:15px}fieldset{border:1px solid #c9d7e9;border-radius:10px;padding:16px}fieldset .check{margin:8px 0}
.sort-control{display:flex;flex-direction:row;align-items:center;gap:8px;white-space:nowrap}.sort-control select{min-width:165px}.brand-detail-summary,.price-compare-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.brand-detail-summary>div,.price-compare-grid>div{border:1px solid #d4dfed;background:#f5f8fc;border-radius:11px;padding:14px}.brand-detail-summary span,.price-compare-grid span,.price-compare-grid small{display:block;color:#526783;font-size:13px;margin-bottom:5px}.brand-detail-summary strong{font-size:1.25rem}.price-compare-grid strong{font-size:1rem;overflow-wrap:anywhere}.source-price{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #e1e8f2}.source-price span{display:block;color:#526783;font-size:13px;margin-top:4px}.comparison-review{margin:18px 0}.comparison-review summary{font-weight:700;cursor:pointer}.price-review-input{min-width:130px;width:150px}.field-help{font-size:12px;line-height:1.4;color:#647893;font-weight:400;min-height:34px}
.report-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.report-choice{border:1px solid #c3d3e7;border-radius:14px;background:#f5f8fd;color:#172f50;padding:20px;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.report-choice:hover{border-color:#28579b;background:#eaf2fd;transform:translateY(-1px)}.report-choice:focus-visible{outline:3px solid #66a1eb;outline-offset:3px}.report-choice strong,.report-choice span{display:block}.report-choice strong{font-size:1.05rem;margin-bottom:8px}.report-choice span{color:#526783;font-size:14px;line-height:1.55}.report-meta{display:flex;justify-content:space-between;gap:16px;color:#526783;font-size:13px;margin-bottom:10px}.whatsapp-preview{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;background:#e9f4ec;border:1px solid #bdd8c6;border-radius:14px;padding:22px;color:#183d2b;font:15px/1.58 "Segoe UI",Arial,sans-serif;max-height:55vh;overflow:auto;box-shadow:inset 0 1px 0 #fff}
@media(max-width:960px){.analytics-grid{grid-template-columns:1fr}.kpi-value{font-size:1.6rem}.brand-detail-summary,.price-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.page-head h1{font-size:1.55rem}.kpis{grid-template-columns:1fr 1fr}.kpi-card{padding:16px}.kpi-label{font-size:14px;flex-wrap:wrap}.kpi-label>.icon{display:none}.kpi-value{font-size:1.6rem}.kpi-foot{font-size:13px}.help-button{width:24px;height:24px;min-width:24px}.segmented{gap:3px}.segmented button{flex:1 1 28%;font-size:14px;padding:9px 6px}.chart-card{padding:18px}.analytics-grid{gap:16px}.donut-layout{gap:14px}.donut{width:150px}.donut-brand{font-size:13px}.details-grid{grid-template-columns:1fr}.product-filters label{min-width:130px}.bar-caption{font-size:14px}.bar-caption strong{font-size:13px}.sidebar .brand{margin-top:18px}.banner-title{flex-wrap:wrap}.detail-tabs .btn{flex:1;font-size:13px}.topbar{background:#fff}.page-head .actions .btn{flex:1}.banner-actions{width:100%;padding-left:44px}.banner-actions .btn{margin-left:0}.sort-control{width:100%;justify-content:space-between}.brand-detail-summary,.price-compare-grid{grid-template-columns:1fr 1fr}.source-price{grid-template-columns:1fr auto}.source-price a{grid-column:1/-1}}
@media(max-width:720px){.report-choices{grid-template-columns:1fr}.report-meta{flex-direction:column;gap:4px}.whatsapp-preview{padding:16px;font-size:14px}}
@media(max-width:380px){.kpis{grid-template-columns:1fr}.donut-layout{flex-direction:column}.donut{max-width:100%}.donut-legend{width:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Incremental sales review, aligned with the existing Free Point panels. */
.sales-review-panel{margin:1.3rem 0;padding:1.1rem;border:1px solid #c9d9ec;border-radius:12px;background:#f6f9fd}
.sales-doc-list{max-height:440px;overflow:auto;margin:1rem 0}
.sales-doc{background:white;padding:1rem;border:1px solid #d6e0ed;border-radius:8px;margin:.6rem 0;overflow-wrap:anywhere}
.sales-doc summary{cursor:pointer;line-height:1.6}
.sales-doc p{margin:.6rem 0}
.excluded-doc{border-left:4px solid #ba3947;background:#fff4f5}
.manual-doc{border-left:4px solid #28579b}
.review-totals{display:grid;gap:.6rem;margin-top:1rem;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.product-suggestions{display:grid;gap:.35rem;max-height:220px;overflow:auto;margin-top:.5rem}
.product-suggestions .btn{text-align:left;white-space:normal;justify-content:flex-start}
.clipboard-transfer{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0}
