:root{--orange:#f58213;--orange-deep:#c65c00;--orange-soft:#fff1e3;--ink:var(--nav-bg);--green:#27815e;--green-bg:var(--line);--red:#c75042;--red-bg:#fff0ed;--blue:#547b9b;--blue-bg:#eef4fa;--sidebar:224px;--radius:12px;--shadow:0 8px 32px #1e2d2010}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,a{ -webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f5821360;outline-offset:3px}button svg,span[data-icon] svg{display:block}svg.icon{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}span[data-icon]{display:inline-flex;align-items:center;justify-content:center}button{border:0;background:none}input[type=checkbox]{appearance:none;width:16px;height:16px;border:1.5px solid var(--line);border-radius:4px;background:#fff;vertical-align:middle;cursor:pointer;flex-shrink:0;margin:0}input[type=checkbox]:checked{background:var(--orange);border-color:var(--orange);background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 8 3 3 7-7' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E")}input[type=checkbox]:indeterminate{background:var(--orange);border-color:var(--orange)}.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:white;padding:12px}.skip-link:focus{top:15px}
.sidebar{width:var(--sidebar);background:var(--nav-bg);color:var(--line);position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;padding:0 14px}.brand{display:flex;align-items:center;gap:9px;padding:30px 11px 28px;color:var(--bg)}.brand img{height:37px;width:29px;object-fit:contain}.brand>span{font-size:28px;font-weight:740;letter-spacing:-1.2px;line-height:1}.brand b{color:var(--orange);font-weight:500;margin-left:2px}.workspace{margin:0 3px 27px;padding:14px 9px;display:flex;gap:10px;align-items:center;background:var(--nav-bg);border:1px solid var(--nav-bg);border-radius:9px}.workspace-icon{color:var(--line)}.workspace strong{font-size:13.5px;display:block;font-weight:550;color:var(--line)}.workspace small{font-size:12px;color:var(--muted);display:block}.nav-caption{font-size:12px;letter-spacing:1.4px;font-weight:600;padding:0 13px;margin-bottom:15px;color:var(--muted)}.nav-parent{display:flex;gap:9px;align-items:center;font-weight:550;font-size:14px;color:var(--bg);padding:0 12px 12px}.nav-parent>:last-child{margin-left:auto}.nav-parent .icon{width:16px}.nav-links{display:flex;flex-direction:column;gap:4px}.nav-links>a{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:7px;min-height:42px;font-size:13.8px;color:var(--line)}.nav-links>a .icon{width:16px;height:16px;opacity:.85}.nav-links>a:hover{background:var(--nav-bg);color:white}.nav-links>a.active{background:#f582131c;color:#ffa348;position:relative}.nav-links>a.active:before{content:"";position:absolute;width:3px;height:20px;border-radius:3px;background:var(--orange);left:0}.nav-count{margin-left:auto;font-size:12px;background:#ffffff0d;border-radius:4px;padding:1px 5px}.nav-links>a.active .nav-count{background:#f5821320;color:#ffb469}.second-caption{margin-top:29px}.sidebar-bottom{margin-top:auto;padding-top:25px}.demo-aside{display:flex;gap:6px;align-items:center;font-size:12px;margin:0 8px 17px;color:var(--muted)}.demo-aside>span:last-child{margin-left:auto;color:var(--ink)}.demo-dot{width:5px;height:5px;border-radius:50%;background:#c09259}.user-profile{border-top:1px solid var(--nav-bg);padding:18px 5px 20px;display:flex;align-items:center;gap:9px;width:100%;color:var(--line);text-align:left}.avatar{width:33px;height:33px;background:var(--nav-bg);border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600;color:var(--bg)}.user-profile strong{font-size:13px;display:block;font-weight:550}.user-profile small{font-size:12px;color:var(--muted)}.user-profile>span:last-child{margin-left:auto;color:var(--muted)}
.app-shell{margin-left:var(--sidebar);min-height:100vh}.topbar{height:65px;background:#fff;border-bottom:1px solid var(--line);padding:0 31px;display:flex;align-items:center;justify-content:space-between;gap:10px}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:13px;color:var(--muted)}.breadcrumb strong{font-weight:500;color:var(--nav-bg)}.breadcrumb .icon{width:12px;height:12px;color:var(--line)}.topbar-right{display:flex;gap:19px;align-items:center}.demo-label{display:flex;align-items:center;gap:6px;font-size:12px;color:#8b785e}.demo-label>span{width:5px;height:5px;border-radius:50%;background:#cbac77}.icon-button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;color:var(--muted);border-radius:7px}.icon-button:hover{background:var(--bg);color:var(--ink)}.mobile-menu{display:none}main{padding:31px 31px 20px;max-width:1750px;margin:auto;outline:none}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.eyebrow{font-size:12px;color:var(--muted);letter-spacing:1.5px;font-weight:600;margin-bottom:8px}h1{font-size:26px;letter-spacing:-.75px;font-weight:650;line-height:1.2;margin:0 0 7px}h2{font-size:18px;letter-spacing:-.25px;font-weight:600;margin:0}h3{font-size:14px;font-weight:600;margin:0}p{margin:0}.subtitle{font-size:13.5px;color:var(--muted)}.heading-actions{display:flex;gap:9px;align-items:center;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:10px 13px;min-height:38px;font-size:13px;font-weight:550;border:1px solid var(--line);background:#fff;white-space:nowrap;transition:background .15s}.btn:hover{background:var(--bg);border-color:var(--line)}.btn .icon{width:15px;height:15px}.btn.primary{background:var(--orange);border-color:var(--orange);color:white;box-shadow:0 3px 5px #f5821315}.btn.primary:hover{background:#e97307}.btn.soft{background:var(--orange-soft);color:var(--orange-deep);border-color:#fedbbb}.btn.dark{background:var(--ink);color:#fff;border-color:var(--ink)}.btn.small{padding:7px 10px;min-height:31px;font-size:12px}.text-btn{color:var(--orange-deep);font-size:13px;font-weight:550;display:inline-flex;align-items:center;gap:5px;padding:5px 0}.text-btn .icon{width:14px;height:14px}.muted{color:var(--muted)}.mono-num{font-variant-numeric:tabular-nums}.filter-bar{display:flex;align-items:center;gap:0;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:12px 15px;margin-bottom:18px}.filter-field{padding:0 19px;border-right:1px solid var(--line);flex:1;min-width:0}.filter-field:first-child{padding-left:0;flex:1.3}.filter-field:last-of-type{border:0}.filter-field label{font-size:12px;font-weight:650;letter-spacing:1.1px;color:var(--muted);display:block;margin-bottom:2px}.filter-field select{font-size:13px;border:0;color:var(--nav-bg);font-weight:500;background:transparent;width:100%;padding:1px 17px 1px 0;outline:none;min-height:24px}.filter-expand{display:flex;align-items:center;gap:7px;padding:0 0 0 15px;color:var(--muted);font-size:12px;white-space:nowrap}.filter-expand .icon{width:15px}.filter-extra{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:9px;margin:-8px 0 18px;background:#fff;padding:13px}.field-inline{display:flex;align-items:center;gap:7px;font-size:13px}.field-inline select{max-width:190px;border:1px solid var(--line);border-radius:5px;padding:6px;background:#fff}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.metric{padding:17px 18px 16px;border:1px solid var(--line);border-radius:var(--radius);background:white;position:relative}.metric-head{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;margin-bottom:10px}.metric-icon{width:29px;height:29px;background:var(--bg);border-radius:8px;display:grid;place-items:center;color:var(--muted)}.metric-icon .icon{width:15px;height:15px}.metric-value{font-size:26px;font-weight:630;letter-spacing:-.8px;line-height:1.1;font-variant-numeric:tabular-nums}.metric-value small{font-size:19px;font-weight:500;letter-spacing:0;margin-left:3px}.metric-note{font-size:12px;color:var(--muted);margin-top:10px;display:flex;align-items:center;gap:4px}.metric-note b{font-weight:550;color:var(--muted)}.metric.warn .metric-icon{background:#fff3e8;color:#d4924b}.metric.warn .metric-note b{color:#d38741}.metric.positive .metric-icon{background:var(--green-bg);color:var(--green)}.metric.positive .metric-value{color:var(--green)}.metric.positive .metric-note{color:var(--muted)}
.insight-strip{display:flex;align-items:center;gap:12px;border:1px solid #efdcc2;background:#fffaf3;border-radius:10px;padding:14px 16px;margin-bottom:23px}.insight-symbol{width:30px;height:30px;display:grid;place-items:center;color:#c08942;background:#fcf0de;border-radius:8px;flex-shrink:0}.insight-strip strong{font-size:13px;display:block;font-weight:550;color:#7b653e}.insight-strip p{font-size:12px;color:#a08b67;margin-top:1px}.insight-strip .text-btn{margin-left:auto;flex-shrink:0;color:#a77936;font-size:12px}.table-section{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.section-head{padding:20px 20px 13px;display:flex;justify-content:space-between;gap:10px;align-items:center}.section-head h2{font-size:15px}.section-head p{font-size:12px;color:var(--muted);margin-top:4px}.searchbox{display:flex;align-items:center;gap:7px;background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:8px 10px;min-width:238px;color:var(--muted)}.searchbox .icon{width:14px;height:14px}.searchbox input{border:0;background:transparent;outline:none;min-width:0;width:100%;font-size:12px;color:var(--ink)}.searchbox input::placeholder{color:var(--muted)}.table-tabs{padding:0 20px;display:flex;align-items:center;gap:23px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}.table-tabs button{font-size:12.5px;color:var(--muted);padding:14px 0 13px;border-bottom:2px solid transparent;white-space:nowrap;display:flex;gap:6px;align-items:center}.table-tabs button.active{color:var(--orange-deep);border-bottom-color:var(--orange);font-weight:600}.tab-count{font-size:12px;background:var(--bg);border-radius:4px;padding:1px 5px;color:var(--muted)}.active .tab-count{background:var(--orange-soft);color:var(--orange-deep)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}thead{background:var(--bg)}th{font-weight:500;color:var(--muted);white-space:nowrap;padding:12px 10px;font-size:12px}td{padding:15px 10px;border-top:1px solid var(--line);vertical-align:middle}th:first-child,td:first-child{padding-left:20px;width:36px}th:last-child,td:last-child{padding-right:18px}tbody tr{transition:background .12s}tbody tr:hover{background:#fffdf8}tbody tr.selected{background:#fff8ef}.product-cell{display:flex;align-items:center;gap:10px;min-width:205px;cursor:pointer}.product-icon{background:var(--bg);width:34px;height:37px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;flex-shrink:0;color:var(--muted)}.product-icon.orange{color:#ca9b60;background:#fbf3e8;border-color:#f6ecdd}.product-icon.blue{color:#8ba0aa;background:#f0f4f5;border-color:#e7eef0}.product-icon .icon{width:21px;height:21px;stroke-width:1.2}.product-name{font-size:12.5px;font-weight:550;color:var(--ink);max-width:230px;line-height:1.4}.product-meta{font-size:12px;color:var(--muted);margin-top:3px}.numeric{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap;font-size:13px}.numeric small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}.coverage{display:flex;flex-direction:column;gap:5px;min-width:66px}.coverage strong{font-weight:500;font-size:12px;color:#71915d}.coverage.low strong{color:#cb8b61}.coverage-track{height:3px;width:59px;background:var(--line);border-radius:3px;overflow:hidden}.coverage-track i{display:block;height:100%;background:#9abc7c;border-radius:3px}.coverage.low .coverage-track i{background:#e4a67a}.factor-tags{display:flex;gap:4px;flex-wrap:wrap;max-width:172px}.tag{display:inline-flex;align-items:center;gap:4px;font-size:12px;border-radius:4px;padding:3px 5px;white-space:nowrap;font-weight:450;line-height:1.3}.tag .icon{width:10px;height:10px}.tag.promo{color:#ae8751;background:#fbf3e7}.tag.large{color:#7385a3;background:#eef2f8}.tag.risk{color:#c48460;background:#fff0e7}.tag.good{color:var(--muted);background:var(--line)}.tag.neutral{color:var(--muted);background:var(--bg)}.suggestion{color:#4b5f3e;font-weight:650;font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}.suggestion small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:2px}.row-open{color:var(--muted);width:28px;height:30px;display:grid;place-items:center;border-radius:6px}.row-open:hover{color:var(--orange);background:var(--orange-soft)}.row-open .icon{width:15px;height:15px}.table-foot{display:flex;justify-content:space-between;align-items:center;padding:13px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.table-foot .text-btn{font-size:12px;color:var(--muted)}.mobile-products{display:none}.selection-bar{position:sticky;bottom:18px;z-index:12;margin:15px 0 0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;background:var(--nav-bg);color:var(--bg);border-radius:10px;box-shadow:0 6px 30px #25302025}.selection-text{font-size:13px;display:flex;align-items:center;gap:13px}.selection-text small{color:var(--line);font-size:12px}.selection-actions{display:flex;align-items:center;gap:8px}.selection-bar .btn{border-color:var(--ink);background:transparent;color:white}.selection-bar .btn.primary{background:var(--orange);border-color:var(--orange)}.selection-clear{color:var(--line);padding:6px}.app-footer{max-width:1750px;margin:auto;padding:7px 32px 22px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.footer-sep{margin:0 7px;color:var(--line)}.empty-state{text-align:center;padding:50px 20px;color:var(--muted)}.empty-state .icon{width:33px;height:33px;margin:0 auto 12px}.empty-state p{font-size:13px;margin-top:8px}
.drawer,.modal{border:0;padding:0;box-shadow:-10px 0 70px #24262920;color:var(--ink);background:#fff;outline:none}.drawer{margin:0 0 0 auto;max-width:100vw;width:590px;height:100dvh;max-height:100dvh;overflow-y:auto;border-left:1px solid var(--line)}.drawer::backdrop,.modal::backdrop{background:#24262966;backdrop-filter:blur(2px)}.drawer-header{padding:25px 25px 19px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.drawer-kicker{font-size:12px;color:var(--muted);letter-spacing:1px;margin-bottom:9px}.drawer-header h2{font-size:20px;letter-spacing:-.4px;max-width:410px;line-height:1.4}.drawer-header p{margin-top:5px;font-size:12px;color:var(--muted)}.drawer-body{padding:22px 25px}.drawer-foot{position:sticky;bottom:0;background:#fffffff5;backdrop-filter:blur(8px);padding:16px 25px;border-top:1px solid var(--line);display:flex;gap:9px;align-items:center;justify-content:space-between;z-index:3}.drawer-foot p{font-size:12px;color:var(--muted)}.drawer-foot .btn{font-size:12px}.drawer-tabs{display:flex;gap:22px;padding:0 25px;border-bottom:1px solid var(--line)}.drawer-tabs button{padding:13px 0;font-size:12px;color:var(--muted);border-bottom:2px solid transparent}.drawer-tabs button.active{color:var(--orange-deep);border-color:var(--orange);font-weight:600}.calc-hero{display:flex;align-items:center;gap:18px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:19px;margin-bottom:20px}.calc-part{flex:1}.calc-part>span{font-size:12px;color:var(--muted);display:block;margin-bottom:6px}.calc-part strong{font-size:25px;font-weight:650;letter-spacing:-.7px;color:var(--muted);display:block;font-variant-numeric:tabular-nums}.calc-part.adjusted strong{color:var(--orange-deep)}.calc-part small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.calc-arrow{color:var(--line)}.panel{border:1px solid var(--line);border-radius:10px;padding:17px 18px;background:#fff;margin-bottom:17px}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:8px}.panel-title h3{font-size:13px;color:var(--ink)}.panel-title>span{font-size:12px;color:var(--muted)}.section-subtitle{font-size:12px;color:var(--muted);margin:5px 0 15px}.composition-bar{display:flex;height:19px;border-radius:5px;overflow:hidden;gap:2px;margin:15px 0}.composition-bar>span{min-width:1px}.composition-normal{background:var(--muted)}.composition-promo{background:#eabe7b}.composition-large{background:#92a6ba}.composition-rows{display:flex;flex-direction:column;gap:12px}.composition-row{display:grid;grid-template-columns:1fr 75px 50px;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.legend-label{display:flex;align-items:center;gap:7px}.legend-dot{width:7px;height:7px;border-radius:2px;flex-shrink:0}.composition-row b{font-weight:550;text-align:right;color:var(--ink);font-variant-numeric:tabular-nums}.composition-row small{text-align:right;color:var(--line);font-size:12px}.fineprint{color:var(--muted);font-size:12px;line-height:1.6;margin-top:12px}.adjust-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.adjust-control>div{max-width:300px}.adjust-control strong{display:block;font-size:13px;font-weight:500;color:var(--ink)}.adjust-control small{font-size:12px;color:var(--muted);display:block;margin-top:3px}.toggle{width:32px;height:19px;border-radius:99px;background:var(--line);position:relative;flex-shrink:0;transition:background .2s}.toggle.on{background:#80a36e}.toggle:after{content:"";position:absolute;width:13px;height:13px;top:3px;left:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #283f3320;transition:left .2s}.toggle.on:after{left:16px}.range-label{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:8px}.range-label b{color:#647e51}.range-control{width:100%;accent-color:var(--orange);height:4px;margin-bottom:12px;cursor:pointer}.calc-list{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:12px;color:var(--muted)}.calc-list strong{font-weight:500;text-align:right;font-variant-numeric:tabular-nums;color:#657e53}.calc-divider{grid-column:1/-1;border-top:1px dashed var(--line);margin:1px 0}.calc-list .total{color:var(--orange-deep);font-weight:650;font-size:14px}.analysis-text{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:16px;color:var(--muted);margin-bottom:17px}.analysis-text h3{display:flex;gap:7px;align-items:center;font-size:13px;margin-bottom:8px;color:#607a50}.analysis-text h3>small{margin-left:auto;font-size:12px;font-weight:400;color:var(--muted)}.analysis-text p{font-size:12px;line-height:1.8}.risk-box{display:flex;gap:10px;padding:12px 14px;border-radius:7px;background:#fff6ed;color:#ad895d;font-size:12px;margin-bottom:17px}.risk-box .icon{width:16px;height:16px;flex-shrink:0}.bar-chart{display:flex;align-items:flex-end;gap:9px;height:132px;border-bottom:1px solid var(--line);padding:0 3px;background:repeating-linear-gradient(to top,transparent 0,transparent 32px,var(--line) 33px)}.chart-col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;height:100%;gap:2px}.chart-col>i{display:block;border-radius:2px;min-height:0}.chart-axis{display:flex;justify-content:space-between;font-size:12px;color:var(--line);margin-top:9px}.chart-legend{display:flex;gap:14px;font-size:12px;color:var(--muted);margin-top:14px}.customer-row{display:grid;grid-template-columns:30px 1fr auto;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);align-items:center}.customer-row:last-child{border:0}.customer-initial{width:27px;height:27px;background:var(--line);border-radius:50%;display:grid;place-items:center;font-size:12px;color:var(--muted)}.customer-row strong{display:block;font-size:13px;color:var(--muted);font-weight:500}.customer-row small{font-size:12px;color:var(--muted)}.customer-row>b{text-align:right;font-size:14px;font-weight:550;color:#6d8956}.customer-row>b small{display:block;font-size:12px;font-weight:400;margin-top:2px}.modal{width:480px;max-width:calc(100vw - 28px);border-radius:15px;max-height:90dvh;overflow:auto}.modal-head{padding:23px 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:19px}.modal-body{padding:21px 23px}.modal-foot{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding:15px 23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field.full{grid-column:1/-1}.form-field label{font-size:12px;color:var(--muted);font-weight:500}.form-field input,.form-field select,.form-field textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#596e49;font-size:13px;min-height:39px}.form-field textarea{resize:vertical}.modal p{font-size:13px;color:var(--muted);line-height:1.8}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:18px 0}.info-grid>div{background:var(--bg);border-radius:8px;padding:12px}.info-grid small{font-size:12px;color:var(--line);display:block;margin-bottom:4px}.info-grid b{font-size:14px;color:#698352;font-weight:500}.settings-section{padding:17px 0;border-bottom:1px solid var(--line)}.settings-section:first-child{padding-top:0}.settings-section:last-child{border:0}.settings-section h3{font-size:14px;margin-bottom:13px}.settings-section>p{font-size:12px;color:var(--muted);margin:5px 0 14px}.segmented{display:flex;border:1px solid var(--line);border-radius:7px;padding:3px;background:var(--bg);gap:3px}.segmented button{flex:1;padding:7px;font-size:12px;color:var(--muted);border-radius:4px}.segmented button.active{background:white;box-shadow:0 1px 4px #526b3510;color:var(--orange-deep)}
.content-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.large-panel{border:1px solid var(--line);border-radius:12px;padding:22px;background:white;margin-bottom:20px}.large-panel .panel-title{margin-bottom:20px}.large-panel .panel-title h3{font-size:15px}.priority-row{display:flex;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.priority-row:last-child{border:0;padding-bottom:0}.priority-row>div:nth-child(2){flex:1}.priority-row strong{display:block;font-size:13px;font-weight:550}.priority-row p{font-size:12px;color:var(--muted);margin-top:3px}.priority-row .icon-button{color:var(--line)}.stat-pair{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 0;font-size:13px;color:var(--muted)}.stat-pair b{font-size:15px;font-weight:550;color:var(--muted)}.stat-line{height:6px;border-radius:4px;background:var(--line);overflow:hidden}.stat-line i{display:block;height:100%;border-radius:4px;background:var(--line)}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.work-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:21px;display:flex;flex-direction:column}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.card-icon{width:37px;height:37px;border-radius:10px;background:var(--line);display:grid;place-items:center;color:var(--muted)}.work-card h3{font-size:16px;font-weight:550;margin-bottom:7px}.work-card>p{font-size:12px;color:var(--muted);line-height:1.7;min-height:33px}.card-stats{display:flex;gap:18px;margin:23px 0}.card-stats span{color:var(--line);font-size:12px}.card-stats b{display:block;font-size:19px;font-weight:550;color:#6c8559;margin-bottom:3px}.card-footer{border-top:1px solid var(--line);padding-top:15px;margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--line);font-size:12px}.card-footer .text-btn{font-size:12px}.schedule-card .time{font-size:27px;font-weight:550;color:#5f7c4c;letter-spacing:-1px}.day-dots{display:flex;gap:5px;margin:17px 0}.day-dots span{width:24px;height:25px;background:var(--line);color:var(--line);border-radius:5px;display:grid;place-items:center;font-size:12px}.day-dots span.on{background:var(--line);color:#709354}.section-note{font-size:12px;color:var(--line);margin:18px 0;display:flex;align-items:center;gap:7px}.comparison{table-layout:fixed;font-size:12px}.comparison th,.comparison td{padding:12px 10px}.comparison td:first-child{font-weight:500}.comparison .best{background:var(--line);color:#789e52}.comparison-foot{padding:14px 0 0;font-size:12px;color:var(--line);line-height:1.7}.order-total{font-size:19px;font-weight:600;color:#647d52;text-align:right;margin:20px 0}.order-total small{display:block;font-size:12px;color:var(--line);font-weight:400;margin-bottom:5px}#toast{position:fixed;bottom:23px;left:calc(50% + var(--sidebar)/2);transform:translateX(-50%) translateY(80px);opacity:0;background:var(--nav-bg);color:var(--bg);border-radius:9px;box-shadow:var(--shadow);padding:13px 20px;z-index:200;max-width:90vw;font-size:14px;transition:transform .25s,opacity .25s;pointer-events:none}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.nav-mask{display:none}.full-width{width:100%}
@media(min-width:1600px){main{padding-top:39px}.metric{padding:21px 23px}.product-name{font-size:14px}.product-meta{font-size:12px}td{padding-top:18px;padding-bottom:18px}table{font-size:13px}.factor-tags{max-width:230px}.tag{font-size:12px}.section-head{padding-top:24px}}
@media(max-width:1280px){:root{--sidebar:210px}.brand>span{font-size:26px}main{padding:25px 24px 20px}.topbar{padding:0 24px}.metric{padding:14px}.metric-value{font-size:23px}.page-heading{gap:12px}h1{font-size:24px}.heading-actions .btn{padding:9px 11px;font-size:12px}.col-bruto{display:none}.product-cell{min-width:190px;gap:7px}.product-name{font-size:12px}.factor-tags{max-width:130px}.tag{font-size:12px}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1.2fr 1fr}}
@media(max-width:1060px){:root{--sidebar:198px}.sidebar{padding:0 10px}.brand{padding-left:10px}.brand>span{font-size:25px}.workspace{padding:10px 8px}.nav-links>a{padding:11px 9px;font-size:12.5px;gap:8px}.nav-parent{font-size:13px;padding-left:9px}.topbar{padding:0 21px}.breadcrumb{font-size:12px}main{padding:23px 20px 18px}.page-heading{align-items:flex-start}.heading-actions{flex-direction:column-reverse;align-items:stretch;gap:6px}.metric-head{font-size:12px}.metric-icon{width:23px;height:23px}.metric-value{font-size:21px}.metric-note{font-size:12px;min-height:12px}.metrics{gap:10px}.filter-field{padding:0 12px}.filter-field select{font-size:12px}.filter-expand{font-size:12px;gap:5px}.filter-expand .icon{width:12px}.insight-strip p{font-size:12px}.insight-strip strong{font-size:12px}.products-table{min-width:780px}.content-grid{grid-template-columns:1fr}.table-tabs{gap:18px}.section-head{padding:17px 15px 10px}.searchbox{min-width:220px}.filter-extra{flex-wrap:wrap}}
@media(max-width:780px){:root{--sidebar:0px}.sidebar{width:244px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 40px #24262920}.sidebar.open{transform:translateX(0)}.sidebar .brand{padding-top:25px}.sidebar .brand>span{font-size:30px}.sidebar .nav-links>a{font-size:14px;padding:12px 14px}.sidebar .nav-parent{font-size:14px}.sidebar .workspace strong{font-size:14px}.nav-mask:not([hidden]){display:block;position:fixed;inset:0;background:#24262966;z-index:29;backdrop-filter:blur(2px)}.app-shell{margin:0}.topbar{height:58px;padding:0 15px;gap:8px}.mobile-menu{display:flex;flex-shrink:0}.breadcrumb{flex:1;font-size:12px}.breadcrumb>span:first-child,.breadcrumb>span:nth-child(2){display:none}.breadcrumb strong{font-weight:550}.topbar-right{gap:6px}.demo-label{font-size:12px}.topbar-right .icon-button{width:28px}.page-heading{display:flex;flex-direction:column;gap:15px;margin-bottom:19px}.eyebrow{font-size:12px}h1{font-size:26px}.subtitle{font-size:13px}.heading-actions{flex-direction:row;width:100%;gap:8px}.heading-actions .btn{font-size:13px;padding:11px 12px;min-height:41px}.heading-actions .btn.primary{margin-left:auto}main{padding:23px 16px 18px}.filter-bar{display:grid;grid-template-columns:1fr 1fr;gap:13px 0;padding:13px;margin-bottom:15px}.filter-field,.filter-field:first-child{padding:0 10px;flex:1}.filter-field:nth-child(odd){padding-left:0}.filter-field:nth-child(even){border:0;padding-right:0}.filter-field label{font-size:12px}.filter-field select{font-size:13px;min-height:30px}.filter-expand{justify-content:flex-end;padding:0 1px 0 8px;font-size:12px}.filter-expand .icon{width:14px}.filter-extra{align-items:flex-start;gap:10px}.field-inline{font-size:12px;flex-wrap:wrap}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.metric{padding:14px 15px}.metric-head{font-size:12px;margin-bottom:10px}.metric-value{font-size:24px}.metric-icon{width:25px;height:25px}.metric-note{font-size:12px;margin-top:8px}.insight-strip{padding:13px 12px;gap:10px;margin-bottom:18px;align-items:flex-start}.insight-strip strong{font-size:12.5px}.insight-strip p{font-size:12px;line-height:1.6}.insight-strip .text-btn{font-size:0;margin-top:7px}.insight-strip .text-btn .icon{width:17px;height:17px}.insight-symbol{width:27px;height:27px}.section-head{padding:16px;align-items:flex-start;flex-direction:column;gap:13px}.searchbox{width:100%;padding:11px;min-height:41px}.searchbox input{font-size:13px}.section-head h2{font-size:15px}.section-head p{font-size:12px}.table-tabs{padding:0 16px;gap:22px}.table-tabs button{font-size:12px;padding:12px 0}.products-table-wrap{display:none}.mobile-products{display:block}.product-mobile{padding:17px 16px;border-bottom:1px solid var(--line);background:#fff}.product-mobile.selected{background:#fffbf4}.mobile-product-top{display:flex;gap:10px;align-items:center;margin-bottom:15px}.mobile-product-top>input{margin-right:1px;width:18px;height:18px}.mobile-product-top .product-cell{flex:1;min-width:0}.mobile-product-top .product-name{font-size:13.5px;max-width:none}.mobile-product-top .product-meta{font-size:12px}.mobile-product-top .product-icon{width:33px;height:35px}.mobile-product-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;padding-left:29px;margin-bottom:14px}.mobile-product-grid label{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.mobile-product-grid strong{font-size:15px;font-weight:550;color:var(--muted)}.mobile-product-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-left:29px}.mobile-product-bottom .factor-tags{max-width:unset;flex-wrap:wrap;flex:1}.mobile-product-bottom .tag{font-size:12px}.mobile-product-bottom button{font-size:12px;white-space:nowrap}.table-foot{padding:12px 16px;font-size:12px;gap:8px}.table-foot .text-btn{font-size:12px}.selection-bar{position:sticky;bottom:10px;flex-wrap:wrap;padding:14px;margin:12px -3px 0;gap:13px}.selection-text{font-size:13px;flex:1;gap:7px}.selection-text small{font-size:12px}.selection-actions{width:100%;gap:8px}.selection-actions .btn{flex:1;font-size:12px;min-height:40px}.selection-actions .selection-clear{order:3}.app-footer{font-size:12px;padding:4px 18px 20px;gap:12px}.app-footer>span:last-child{max-width:130px;text-align:right}.drawer{width:100vw;border-left:0}.drawer-header{padding:22px 20px 18px}.drawer-header h2{font-size:20px}.drawer-body{padding:18px 19px}.drawer-tabs{padding:0 20px}.drawer-foot{padding:13px 18px;gap:8px}.drawer-foot .btn{font-size:12px;padding:11px 10px}.drawer-foot p{font-size:12px;max-width:105px}.calc-hero{padding:17px 14px;gap:8px}.calc-part strong{font-size:24px}.calc-part>span{font-size:12px}.calc-part small{font-size:12px}.panel{padding:16px}.cards-grid{grid-template-columns:1fr;gap:13px}.work-card{padding:21px}.card-stats{margin:17px 0}.card-top{margin-bottom:18px}.content-grid{gap:0}.large-panel{padding:18px}.comparison th,.comparison td{padding:12px 7px;font-size:12px}.comparison td:first-child,.comparison th:first-child{padding-left:7px}.comparison-foot{font-size:12px}.schedule-card .time{font-size:28px}#toast{bottom:20px;left:50%;font-size:13px;width:max-content;max-width:calc(100vw - 30px);padding:13px 17px}.adjust-control>div{max-width:260px}.form-grid{gap:13px}.modal{border-radius:12px}.modal-head,.modal-body{padding:20px}.modal-foot{padding:14px 20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Reading contrast and comfortable density for daily purchasing work. */
:root{--muted:var(--ink);--orange-deep:#a94c00}
.product-cell{text-align:left}
.sidebar{overflow-y:auto}
.workspace small,.nav-caption,.demo-aside,.user-profile small{color:var(--line)}
.demo-aside>span:last-child{color:var(--muted)}
.nav-links>a{font-size:14px}
.breadcrumb,.eyebrow,.filter-field label,.metric-head,.metric-note,.section-head p,.searchbox input::placeholder,.table-tabs button,.product-meta,.numeric small,.suggestion small,.table-foot,.app-footer,.drawer-kicker,.drawer-header p,.drawer-foot p,.drawer-tabs button,.calc-part>span,.calc-part small,.panel-title>span,.section-subtitle,.composition-row small,.fineprint,.adjust-control small,.range-label,.calc-list,.analysis-text h3>small,.chart-axis,.chart-legend,.customer-row small,.form-field label,.modal p,.info-grid small,.settings-section>p,.segmented button,.priority-row p,.stat-pair,.work-card>p,.card-stats span,.card-footer,.section-note,.comparison-foot,.order-total small{color:var(--muted)}
.product-name,.numeric,.suggestion,.panel-title h3,.composition-row,.composition-row b,.adjust-control strong,.range-label b,.calc-list strong,.customer-row strong,.customer-row>b,.form-field input,.form-field select,.form-field textarea,.info-grid b,.stat-pair b,.card-stats b,.schedule-card .time,.order-total{color:var(--nav-bg)}
.calc-part strong{color:var(--ink)}
.analysis-text,.analysis-text h3{color:var(--ink)}
.insight-strip p{color:#86704e}
.insight-strip .text-btn{color:#936321}
.risk-box{color:#8d653a}
.tag.promo{color:#8a5b1b}.tag.large{color:#466483}.tag.risk{color:#a1502c}.tag.good{color:#417448}.tag.neutral{color:var(--ink)}
.coverage strong{color:#527740}.coverage.low strong{color:#a56136}
.metric.positive .metric-note{color:#497b61}.metric.warn .metric-note b{color:#a4662d}
.metric-head{font-size:13px}.metric-note{font-size:12px;line-height:1.6}
.filter-field label{font-size:12px}.filter-field select{font-size:14px}
.subtitle{font-size:14px}.btn{font-size:14px}
.section-head h2{font-size:16px}.section-head p,.searchbox input{font-size:13px}
.table-tabs button{font-size:13px}.tab-count{font-size:12px;color:var(--muted)}
table{font-size:14px}th{font-size:12px;color:var(--ink)}
.product-name{font-size:14px}.product-meta,.numeric small{font-size:12px}
.numeric{font-size:14px}.coverage strong{font-size:13px}
.tag{font-size:12px}.suggestion{font-size:16px}.suggestion small{font-size:12px}
.drawer-header p,.drawer-tabs button{font-size:14px}.drawer-kicker{font-size:12px}
.calc-part>span{font-size:14px}.calc-part small{font-size:12px}
.panel-title h3,.settings-section h3{font-size:15px}.panel-title>span{font-size:12px}
.composition-row,.adjust-control strong,.range-label,.calc-list,.analysis-text p,.form-field label,.settings-section>p{font-size:14px}
.fineprint,.adjust-control small,.composition-row small,.section-subtitle,.chart-legend,.customer-row small,.drawer-foot p{font-size:12.5px}
.analysis-text h3{font-size:14px}.analysis-text h3>small{font-size:12px}
.customer-row strong,.customer-row>b,.modal p,.form-field input,.form-field select,.form-field textarea{font-size:14px}
.form-field input,.form-field select{min-height:42px}
.info-grid small{font-size:12px}.info-grid b{font-size:14px}
.settings-section p,.analysis-text p{line-height:1.8}
.work-card>p,.card-footer,.stat-pair,.priority-row p{font-size:13px}
.priority-row strong{font-size:14px}.section-note{font-size:13px}
.comparison th,.comparison td{font-size:13px}
.product-cell,.metric,.work-card{min-width:0}
.btn.primary{background:#ca6206;border-color:#ca6206}.btn.primary:hover{background:#ad5001}
.selection-bar .btn.primary{background:#ca6206;border-color:#ca6206}
.filter-field select:focus-visible,.searchbox input:focus-visible{outline:2px solid #e89448;outline-offset:3px}
@media(max-width:1280px){.product-name{font-size:13px}.product-meta,.numeric small{font-size:12px}.metric-head{font-size:12px}.metric-note{font-size:12px}.tag{font-size:12px}}
@media(max-width:780px){
 .filter-field select{font-size:14px}.filter-field label{font-size:12px}
 .metric-head{font-size:12px;gap:4px}.metric-value{font-size:22px;letter-spacing:-.65px}.metric-note{font-size:12px}
 .mobile-product-top .product-name{font-size:15px}.mobile-product-top .product-meta{font-size:12px}
 .mobile-product-grid label{color:var(--muted);font-size:12px}.mobile-product-grid strong{color:var(--nav-bg)}
 .mobile-product-bottom .tag{font-size:12px}.mobile-product-bottom button{font-size:13px}
 .mobile-product-top .row-open,.icon-button{min-width:36px;min-height:36px}
 .drawer-tabs{gap:19px}.drawer-tabs button{font-size:13px;min-height:44px}
 .calc-part>span{font-size:13px}.calc-part small{font-size:12px}
 .drawer-foot .btn{font-size:13px}.drawer-foot p{font-size:12px}
 .searchbox input,.form-field input,.form-field select,.form-field textarea{font-size:18px}
 .comparison th,.comparison td{font-size:12px}.comparison td b{font-size:12px}
 .composition-row{grid-template-columns:1fr auto 38px;font-size:13px}
 .calc-list{font-size:13px;gap:11px}.calc-list strong{max-width:150px}
 .toggle{width:38px;height:24px}.toggle:after{width:18px;height:18px}.toggle.on:after{left:17px}
}
[hidden]{display:none!important}.sidebar .brand.original-brand{display:block;background:transparent;border:0;border-radius:0;padding:0;margin:26px 0 27px;min-height:0;line-height:0}.sidebar .brand.original-brand img{display:block;width:100%;height:auto;max-width:none;object-fit:contain}.sidebar .workspace{margin-bottom:24px}.sidebar .nav-links>a{font-size:14px}.sidebar .second-caption{margin-top:22px}.sidebar .nav-links{gap:1px}.sidebar .nav-links>a{min-height:38px;padding-top:9px;padding-bottom:9px}.sidebar-bottom{padding-top:15px}.logout-button{color:var(--line);min-height:36px;padding:0 10px 12px;font-size:14px;text-align:left}.source-label{font-size:12px;color:var(--ink);display:flex;align-items:center;gap:6px}.source-label i{width:6px;height:6px;background:#629b6d;border-radius:50%}.login-screen{min-height:100dvh;display:grid;place-items:center;background:linear-gradient(125deg,var(--nav-bg) 0,var(--nav-bg) 50%,var(--nav-bg) 100%);padding:24px}.login-card{width:420px;max-width:100%;background:#fff;padding:35px;border-radius:18px;box-shadow:0 20px 80px #0004}.login-brand{display:flex;align-items:center;gap:14px;margin-bottom:38px}.login-brand img{display:block;width:100%;max-width:320px;height:auto}.login-card h1{font-size:24px}.login-card .subtitle{margin-bottom:25px}.login-card form{display:grid;gap:16px}.login-card .form-field{font-size:14px}.login-card .form-field input{font-size:18px}.error-text{font-size:14px;color:#ad4234;white-space:pre-line}.loading{padding:55px;text-align:center;color:var(--ink)}.spinner{display:inline-block;width:17px;height:17px;border:2px solid #eadbcc;border-top-color:#c96210;border-radius:50%;animation:spin 1s linear infinite;vertical-align:middle;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}.notice{border:1px solid #eddbb8;background:#fffbf3;border-radius:9px;padding:12px 15px;margin-bottom:18px;color:#80623a;font-size:14px;line-height:1.7}.notice.error{background:#fff2f0;border-color:#f0d6d0;color:#984537}.notice.good{background:var(--bg);border-color:var(--line);color:#476745}.view-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin:12px 0 18px}.list-row{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border:0}.list-row>div:first-child{flex:1}.list-row h3{font-size:15px;margin-bottom:5px}.list-row p{font-size:13px;color:var(--muted)}.list-actions{display:flex;gap:7px;align-items:center}.checklist{padding-left:18px;font-size:14px;line-height:1.8;color:var(--ink)}.ai-text{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}.sources-list{margin-top:18px;display:grid;gap:8px}.sources-list a{display:block;font-size:14px;color:#a94c00;overflow-wrap:anywhere;text-decoration:underline}.form-note{font-size:13px;color:var(--muted)}.form-field select[multiple]{min-height:120px}.form-section-title{grid-column:1/-1;font-size:15px;font-weight:600;border-top:1px solid var(--line);padding-top:16px;margin-top:4px}.line-input{border:1px solid var(--line);border-radius:6px;max-width:120px;width:100%;padding:8px;font-size:15px;background:#fff}.document-line{display:grid;grid-template-columns:1fr 95px;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.document-line label{font-size:14px}.document-line small{display:block;font-size:12px;color:var(--muted)}.detail-info{font-size:13px;color:var(--ink)}.detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.section-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.section-tools select{border:1px solid var(--line);padding:10px;border-radius:7px;background:#fff;font-size:14px;max-width:280px}.badge{padding:4px 7px;background:var(--line);border-radius:5px;font-size:12px;color:var(--muted)}.audit-table{min-width:620px}.wrap-cell{white-space:normal;max-width:220px}.chart-col{position:relative}.empty-state h3{font-size:18px}.empty-state p{max-width:550px;margin:10px auto 16px;line-height:1.8}.subtle{font-size:13px;color:var(--muted)}.actions-inline{display:flex;gap:8px;flex-wrap:wrap}.doc-total{font-size:23px;font-weight:600;margin:18px 0;color:var(--ink)}.drawer-foot a.btn{color:#a94c00}.pill-list{display:flex;gap:5px;flex-wrap:wrap}.pill-list .tag{font-size:12px}.product-detail-tabs{display:flex;gap:15px;margin:0 0 16px;border-bottom:1px solid var(--line)}.product-detail-tabs button{min-height:42px;font-size:13px;border-bottom:2px solid transparent}.product-detail-tabs .active{color:#a94c00;border-color:#ed841d}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.checkbox-field{display:flex;gap:8px;align-items:center;font-size:14px;min-height:36px}.w-full{grid-column:1/-1}.search-results{max-height:270px;overflow:auto;margin-top:12px}.search-results .list-row{gap:8px}.compact-table{font-size:13px}.compact-table td{padding:10px 7px}.nowrap{white-space:nowrap}.new-tag{font-size:12px;color:#cb781f;margin-left:auto}.detail-stat{font-size:23px;color:#385a3a;font-weight:650}.snapshot-note{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:14px}.ai-result-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:15px}.button-row{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.schedule-days{display:flex;gap:8px;flex-wrap:wrap}.schedule-days label{display:flex;align-items:center;gap:5px;font-size:14px}.detail-table{min-width:430px}.status-done{color:#42764b}.status-failed,.status-interrupted{color:#a24431}.status-running,.status-queued{color:#ad751e}.empty-state .btn{margin-top:10px}.full-text{font-size:14px;line-height:1.8;white-space:pre-wrap}.no-wrap{white-space:nowrap}
@media(max-width:1060px){.sidebar .nav-links>a{font-size:13px}.section-tools select{max-width:240px}}
@media(max-width:780px){.source-label{font-size:12px}.form-field input,.form-field select{font-size:18px}.login-card{padding:28px}.list-row{align-items:flex-start}.list-actions{flex-direction:column}.section-tools{display:grid;grid-template-columns:1fr 1fr}.section-tools select{max-width:100%;width:100%;font-size:14px}.section-tools .btn{font-size:13px}.notice{font-size:13px}.doc-total{font-size:22px}.document-line{grid-template-columns:1fr 85px}.original-brand{margin-top:20px}.ai-text{font-size:15px}.list-row h3{font-size:14px}.list-row p{font-size:12px}.detail-actions .btn{font-size:13px}.drawer-foot{flex-wrap:wrap}.drawer-foot .btn{min-height:42px}.product-detail-tabs{gap:18px}.filter-bar .filter-field select{font-size:14px}.login-brand img{width:100%;max-width:300px}.source-label{max-width:135px;text-align:right}}

/* Scrollable menu for short screens; no framed logo. */
.sidebar{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ink) var(--nav-bg)}.sidebar>*{flex-shrink:0}.sidebar .brand.original-brand:focus-visible{outline:2px solid #ff8403;outline-offset:7px}.sidebar-bottom{padding-bottom:env(safe-area-inset-bottom,0px)}.drawer-header{position:sticky;top:0;background:#fff;z-index:3}.drawer-foot{position:sticky;bottom:0;background:#fff;z-index:3}.drawer-body,.modal-body{overflow-wrap:anywhere}@media(min-width:781px) and (max-width:1280px){:root{--sidebar:224px}}@media(max-width:780px){.sidebar{width:260px;padding-right:16px;padding-left:16px}.sidebar .brand.original-brand{margin:27px 0 25px;padding:0}.brand.original-brand img{width:100%;height:auto}.drawer-foot{padding-bottom:max(14px,env(safe-area-inset-bottom,0px))}}

/* Revisão visual 13/10/2026: escala legível e hierarquia da prévia inicial. */
:root{--sidebar:272px;--ink:var(--nav-bg);--muted:var(--ink);--radius:14px}
body{font-size:15px;line-height:1.55}
button,input,select,textarea{line-height:1.45}
h1{font-size:32px;font-weight:650;letter-spacing:-.8px;line-height:1.2}
h2{font-size:20px;line-height:1.35}
h3{font-size:16px;line-height:1.4}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e79047;outline-offset:3px}
.sidebar{padding:0 16px;background:var(--nav-bg);scroll-padding:20px 0}
.sidebar .brand.original-brand{margin:30px 6px 25px}
.sidebar .workspace{padding:14px 12px;margin:0 0 25px;gap:11px;border-color:var(--nav-bg)}
.workspace strong,.sidebar .workspace strong{font-size:14px;line-height:1.4;font-weight:600}
.workspace small{font-size:12px;line-height:1.5;margin-top:3px;color:var(--line)}
.workspace-icon .icon{width:21px;height:21px}
.nav-caption{font-size:11px;letter-spacing:1.1px;padding:0 12px;margin:0 0 12px;color:var(--line)}
.navigation-groups{display:grid;gap:9px;margin-bottom:20px}
.nav-group{min-width:0}
.nav-group>.nav-parent{list-style:none;display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:12px;min-height:48px;font-size:15px;font-weight:600;line-height:1.3;border-radius:9px;color:var(--line);cursor:pointer;user-select:none;transition:background .15s}
.nav-group>.nav-parent::-webkit-details-marker{display:none}
.nav-group>.nav-parent::marker{content:""}
.nav-group>.nav-parent:hover{background:var(--nav-bg)}
.nav-group>.nav-parent .icon{width:20px;height:20px;flex:0 0 20px;color:var(--line)}
.nav-group>.nav-parent>span{flex:1;min-width:0}
.nav-group>.nav-parent .nav-chevron{width:16px;height:16px;flex-basis:16px;margin-left:auto;transition:transform .18s;transform:rotate(-90deg)}
.nav-group[open]>.nav-parent{background:var(--nav-bg)}
.nav-group[open]>.nav-parent .nav-chevron{transform:rotate(0)}
.nav-group.has-active>.nav-parent>.icon:first-child{color:#ffab59}
.nav-group.has-active:not([open])>.nav-parent{background:#f5821320;box-shadow:inset 3px 0 #f58213}
.sidebar .nav-group .nav-links{gap:3px;border-left:1px solid var(--nav-bg);margin:7px 0 4px 21px;padding-left:10px}
.sidebar .nav-links>a{font-size:14px;line-height:1.4;min-height:44px;padding:10px 9px;gap:9px;border-radius:8px;color:var(--line)}
.sidebar .nav-links>a>.icon{width:18px;height:18px;opacity:1;flex:0 0 18px}
.nav-text{min-width:0;flex:1}
.sidebar .nav-links>a.active{color:#ffb46d;background:#f582131a;font-weight:600}
.sidebar .nav-links>a.active:before{height:22px}
.sidebar .nav-links>a:hover{color:#fff;background:var(--nav-bg)}
.nav-count{font-size:11px;line-height:1.5;min-width:22px;text-align:center;padding:2px 5px}
.sidebar-bottom{margin-top:auto;padding-top:18px;padding-bottom:env(safe-area-inset-bottom,0px)}
.user-profile{gap:11px;padding:19px 7px 15px}
.user-profile .avatar{width:38px;height:38px;flex:0 0 38px;font-size:13px}
.user-profile strong{font-size:14px;line-height:1.35}
.user-profile small{font-size:12px;line-height:1.5;display:block;margin-top:3px}
.user-profile>span:nth-child(2){min-width:0;margin-left:0;flex:1}
.logout-button{font-size:14px;min-height:44px;padding:8px 8px 14px}
.demo-aside{font-size:12px;margin-bottom:12px}
.topbar{height:72px;padding:0 32px;gap:15px}
.breadcrumb{font-size:14px;gap:10px;min-width:0;flex-wrap:wrap}
.breadcrumb strong{font-weight:600;color:var(--nav-bg)}
.breadcrumb .icon{width:15px;height:15px}
.topbar-right{gap:14px;flex-shrink:0}
.source-label,.demo-label,.installed-app{font-size:12px}
.icon-button{width:42px;height:42px;flex-shrink:0}
main{padding:32px 32px 24px;max-width:1760px;min-width:0}
.page-heading{align-items:center;flex-wrap:wrap;gap:20px;margin-bottom:25px}
.eyebrow{font-size:11px;letter-spacing:1.3px;margin-bottom:9px;color:var(--muted)}
.subtitle{font-size:15px;line-height:1.65;max-width:720px;margin-top:8px}
.heading-actions{flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap}
.btn,.heading-actions .btn{font-size:14px;font-weight:600;min-height:44px;padding:11px 15px;border-radius:9px}
.btn .icon{width:18px;height:18px}
.btn.small{font-size:13px;min-height:40px;padding:9px 12px}
.btn.primary{background:#bc5706;border-color:#bc5706;box-shadow:0 3px 8px #8b3c031a}
.btn.primary:hover{background:#a84b04;border-color:#a84b04}
.selection-bar .btn.primary{background:#bc5706;border-color:#bc5706}
.text-btn{font-size:14px;min-height:36px;line-height:1.4}
.section-tools{gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin-bottom:20px;display:flex;flex-wrap:wrap;align-items:center}
.analysis-profile{display:grid;gap:4px;flex:1;min-width:210px;max-width:370px}
.analysis-profile>span,.filter-field label{font-size:11px;color:var(--muted);font-weight:650;letter-spacing:.7px}
.section-tools .analysis-profile select{width:100%;max-width:100%;padding:6px 24px 6px 0;border:0;min-height:32px;font-size:15px;font-weight:600;color:var(--nav-bg)}
.section-tools .subtle{flex-basis:100%;font-size:12px}
.filter-bar{padding:17px 20px;border-radius:12px;margin-bottom:20px}
.filter-field{padding:0 22px}.filter-field select{font-size:15px;min-height:36px}
.filter-expand{font-size:13px;min-height:42px}
.field-inline{font-size:14px}
.metrics{gap:16px;margin-bottom:22px;grid-template-columns:repeat(4,minmax(0,1fr))}
.metric{padding:20px 21px 19px;box-shadow:0 3px 12px #25382b04}
.metric-head{font-size:14px;font-weight:500;gap:12px;margin-bottom:15px;color:var(--ink);min-height:34px}
.metric-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:var(--bg)}
.metric-icon .icon{width:18px;height:18px}
.metric-value{font-size:32px;letter-spacing:-.7px;line-height:1.15;overflow-wrap:anywhere}
.metric-value small{font-size:19px}
.metric-note{font-size:13px;line-height:1.55;margin-top:10px;display:block;color:var(--ink)}
.insight-strip{padding:17px 20px;gap:14px;margin-bottom:22px}
.insight-strip strong{font-size:14px;font-weight:600;line-height:1.5;color:#77552d}
.insight-strip p{font-size:13px;line-height:1.6;color:#806944;margin-top:4px}
.insight-strip .text-btn{font-size:13px}
.insight-symbol{width:37px;height:37px;border-radius:10px}
.section-head{padding:23px 24px 16px;gap:18px}
.section-head h2{font-size:19px}
.section-head p{font-size:14px;line-height:1.55;color:var(--ink);margin-top:5px}
.searchbox{min-width:260px;padding:10px 12px;min-height:44px}
.searchbox input{font-size:15px;line-height:1.5}
.table-tabs{padding:0 24px;gap:24px}
.table-tabs button{font-size:14px;padding:15px 0 13px;min-height:48px}
.tab-count{font-size:12px;min-width:24px;text-align:center}
.table-section{border-radius:14px;box-shadow:0 3px 12px #25382b04}
table,.compact-table{font-size:14px}
.products-table{min-width:1030px}
th{font-size:12px;font-weight:600;letter-spacing:.1px;padding:14px 11px;background:var(--bg);color:var(--ink)}
td{padding:18px 11px}
th:first-child,td:first-child{padding-left:24px}
.product-cell{min-width:225px;gap:11px}
.product-icon{width:38px;height:42px;border-radius:9px}
.product-name{font-size:15px;font-weight:600;max-width:260px;line-height:1.45;color:var(--nav-bg)}
.product-meta,.numeric small{font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px}
.numeric{font-size:15px;color:var(--nav-bg)}
.coverage strong{font-size:14px}
.coverage-track{width:76px;height:4px}
.factor-tags{max-width:172px;gap:5px}
.tag,.pill-list .tag{font-size:12px;padding:4px 7px;line-height:1.4;border-radius:5px}
.tag .icon{width:13px;height:13px}
.suggestion{font-size:17px}
.suggestion small{font-size:12px;line-height:1.5;margin-top:4px}
.row-open{width:36px;height:38px;font-size:22px}
.table-foot{font-size:13px;padding:16px 24px;gap:12px;flex-wrap:wrap}
.table-foot .text-btn{font-size:13px;min-height:38px}
.selection-bar{padding:16px 20px;gap:18px;border-radius:12px}
.selection-text{font-size:15px;flex-wrap:wrap;gap:8px}
.selection-text small{font-size:13px}
.selection-actions{flex-wrap:wrap}
.large-panel{padding:24px;border-radius:14px}
.panel{padding:20px;border-radius:12px}
.panel-title h3,.settings-section h3{font-size:16px}
.panel-title>span{font-size:13px;line-height:1.45}
.panel-title{gap:12px}
.content-grid{gap:20px}
.work-card{padding:24px;border-radius:14px}
.work-card h3{font-size:19px;line-height:1.4}
.work-card>p{font-size:14px;line-height:1.75;color:var(--muted)}
.card-stats span{font-size:13px}.card-stats b{font-size:23px}
.card-footer,.card-footer .text-btn{font-size:13px;flex-wrap:wrap;line-height:1.5}
.card-top{margin-bottom:19px}.card-icon{width:42px;height:42px}
.schedule-card .time{font-size:32px}
.list-row{padding:18px 0;gap:16px}.list-row>div:first-child{min-width:0}
.list-row h3,.priority-row strong{font-size:15px;line-height:1.5}
.list-row p,.priority-row p{font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.stat-pair{font-size:14px;line-height:1.6}.stat-pair b{font-size:16px}
.notice{font-size:14px;line-height:1.7;padding:15px 18px}
.view-meta,.detail-info,.subtle,.snapshot-note,.section-note,.form-note{font-size:13px;line-height:1.7}
.fineprint,.section-subtitle,.comparison-foot{font-size:13px;line-height:1.7;color:var(--ink)}
.full-text,.checklist,.ai-text,.analysis-text p,.settings-section>p{font-size:15px;line-height:1.8}
.analysis-text h3{font-size:16px}.sources-list a{font-size:14px;line-height:1.7}
.drawer{width:680px}.drawer-header{padding:25px 28px 21px}
.drawer-header h2{font-size:23px;line-height:1.4}.drawer-header p{font-size:14px;line-height:1.65}
.drawer-kicker{font-size:11px;letter-spacing:1px}
.drawer-body{padding:24px 28px}.drawer-foot{padding:17px 28px;gap:12px;flex-wrap:wrap}
.drawer-foot .btn{font-size:14px;min-height:44px}.drawer-foot p{font-size:13px;max-width:none}
.drawer-tabs{padding:0 28px}.drawer-tabs button,.product-detail-tabs button{font-size:14px;min-height:48px}
.calc-hero{padding:23px 20px;gap:16px}.calc-part>span{font-size:14px;line-height:1.6}
.calc-part strong{font-size:32px}.calc-part small{font-size:13px}
.calc-list{font-size:14px;line-height:1.65;gap:15px}
.composition-row{font-size:14px}.composition-row small{font-size:12px}
.customer-row strong,.customer-row>b{font-size:14px}.customer-row small{font-size:12px}
.modal{width:560px;max-width:calc(100vw - 32px);border-radius:16px}
.modal-head,.modal-body{padding:24px 28px}.modal-head h2{font-size:22px}
.modal p{font-size:15px;line-height:1.75}.modal-foot{padding:18px 28px}
.form-grid{gap:20px}.form-field{min-width:0}.form-field label{font-size:14px;font-weight:500;margin-bottom:7px}
.form-field input,.form-field select,.form-field textarea,.line-input{font-size:16px;min-height:46px;line-height:1.5;padding:10px 12px}
.form-field textarea{min-height:100px}.form-field input[type=checkbox]{min-height:0}
.form-section-title{font-size:16px;padding-top:22px;margin-top:4px}
.checkbox-field,.schedule-days label{font-size:14px;min-height:40px}
.document-line{grid-template-columns:minmax(0,1fr) 120px;gap:18px;padding:18px 0}
.document-line label{font-size:15px;line-height:1.5}.document-line small{font-size:12px;line-height:1.6;margin-top:5px}
.doc-total,.order-total{font-size:27px}.info-grid small{font-size:12px}.info-grid b{font-size:15px}
.comparison th,.comparison td{font-size:13px}
.empty-state{padding:52px 24px}.empty-state h3{font-size:21px}.empty-state p{font-size:15px;line-height:1.8}
.login-card{width:460px;padding:38px}.login-card h1{font-size:28px}.login-card .form-field{font-size:15px}
.error-text{font-size:14px}#toast{font-size:14px;line-height:1.6}
.app-footer{font-size:12px;padding:12px 32px 24px;color:var(--muted);gap:20px}
@media(min-width:1600px){main{padding-top:40px}.metric{padding:23px 25px}.metric-value{font-size:36px}.product-name{font-size:16px}td{padding-top:20px;padding-bottom:20px}.factor-tags{max-width:200px}}
@media(min-width:781px) and (max-width:1280px){:root{--sidebar:264px}.sidebar{padding:0 12px}main{padding:26px 24px}.topbar{padding:0 24px}.page-heading{align-items:flex-start}.heading-actions{flex-direction:row}.metric{padding:17px}.metric-head{font-size:13px;gap:7px}.metric-icon{width:29px;height:29px;flex-basis:29px}.metric-value{font-size:28px}.metric-note{font-size:12px}.products-table{min-width:930px}.product-cell{min-width:215px}}
@media(min-width:781px) and (max-width:1100px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{align-items:flex-start;flex-wrap:wrap}.searchbox{flex:1;min-width:220px}.selection-bar{flex-wrap:wrap}.selection-actions{width:100%}.filter-bar{flex-wrap:wrap;row-gap:12px}.filter-field{min-width:155px}.insight-strip{align-items:flex-start;flex-wrap:wrap}.insight-strip .text-btn{margin-left:51px}}
@media(max-width:780px){
 :root{--sidebar:0px}.sidebar{width:292px;max-width:calc(100vw - 34px);padding:0 16px}.sidebar .brand.original-brand{margin:28px 5px 23px}
 .sidebar .nav-links>a{font-size:14px;padding:11px 9px;min-height:46px}.sidebar .workspace strong{font-size:14px}
 main{padding:25px 16px 20px}.topbar{height:66px;padding:0 12px;gap:6px}.breadcrumb{font-size:14px;flex-wrap:nowrap}.breadcrumb strong{overflow-wrap:anywhere}
 .topbar-right{gap:5px}.source-label{font-size:11px;max-width:95px;line-height:1.4}.demo-label{display:none}.installed-app{font-size:11px;padding:7px}
 .topbar-right .icon-button,.icon-button{width:42px;height:42px;min-width:42px;min-height:42px}.mobile-menu{width:40px;min-width:40px}
 .page-heading{gap:18px;margin-bottom:23px}.eyebrow{font-size:11px}h1{font-size:28px}.subtitle{font-size:14px}
 .heading-actions{flex-direction:row;flex-wrap:wrap;width:100%;gap:9px}.heading-actions .btn{font-size:14px;min-height:46px;padding:11px 13px;flex:1;white-space:normal}.heading-actions .btn.primary{margin-left:0}
 .section-tools{display:flex;padding:15px;gap:10px}.analysis-profile{flex:1 0 100%;max-width:100%;min-width:0}.section-tools .btn{font-size:13px;flex:1;white-space:normal}
 .section-tools select,.section-tools .analysis-profile select{font-size:16px}.section-tools .subtle{font-size:12px}
 .filter-bar{padding:15px;gap:14px 0}.filter-field select{font-size:16px;min-height:36px}.filter-field label{font-size:11px}.filter-expand{font-size:13px;white-space:normal}
 .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric{padding:15px}.metric-head{font-size:13px;gap:5px;align-items:flex-start}.metric-icon{width:27px;height:27px;flex-basis:27px}.metric-icon .icon{width:16px;height:16px}.metric-value{font-size:26px;letter-spacing:-.6px}.metric-note{font-size:12px;line-height:1.55;margin-top:9px}
 .insight-strip{padding:16px;align-items:flex-start;flex-wrap:wrap;gap:10px}.insight-strip>div{flex:1;min-width:0}.insight-strip strong{font-size:14px}.insight-strip p{font-size:13px}.insight-strip .text-btn{font-size:13px;margin:0 0 0 47px}.insight-symbol{width:34px;height:34px}
 .section-head{padding:20px 17px 14px;gap:15px}.section-head h2{font-size:19px}.section-head p{font-size:13px}.searchbox{width:100%;min-width:0;min-height:46px}.searchbox input{font-size:16px}
 .table-tabs{padding:0 17px;gap:23px}.table-tabs button{font-size:14px;min-height:48px}.tab-count{font-size:12px}
 .product-mobile{padding:21px 17px}.mobile-product-top{gap:10px;margin-bottom:18px}.mobile-product-top .product-name{font-size:16px;line-height:1.45}.mobile-product-top .product-meta{font-size:12px;line-height:1.5}
 .mobile-product-grid{gap:9px;padding-left:29px;margin-bottom:18px}.mobile-product-grid label{font-size:11px;line-height:1.45}.mobile-product-grid strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
 .mobile-product-bottom{flex-wrap:wrap;align-items:flex-start;row-gap:8px}.mobile-product-bottom .tag{font-size:12px}.mobile-product-bottom button{font-size:13px;min-height:38px}
 .table-foot{font-size:12px;padding:14px 17px}.table-foot .text-btn{font-size:13px}.selection-bar{padding:15px;bottom:12px}.selection-text{font-size:14px}.selection-text small{font-size:12px}.selection-actions{flex-wrap:wrap;width:100%}.selection-actions .btn{font-size:13px;min-height:44px;white-space:normal}
 .cards-grid{grid-template-columns:1fr}.work-card{padding:22px}.content-grid{gap:0}.large-panel{padding:21px}.panel{padding:18px}.stat-pair{font-size:14px}.list-row h3{font-size:15px}.list-row p{font-size:13px}
 .drawer{width:100vw}.drawer-header{padding:22px 20px 18px}.drawer-header h2{font-size:22px}.drawer-header p{font-size:14px}.drawer-body{padding:20px}.drawer-foot{padding:16px 20px max(16px,env(safe-area-inset-bottom,0px));gap:10px}.drawer-foot .btn{font-size:14px;flex:1;white-space:normal}.drawer-tabs{padding:0 20px}.drawer-tabs button,.product-detail-tabs button{font-size:14px}
 .calc-hero{padding:18px 14px;gap:10px}.calc-part>span{font-size:13px}.calc-part strong{font-size:27px}.calc-part small{font-size:12px}.calc-list{font-size:14px;gap:13px}.calc-list strong{max-width:none;text-align:right}
 .form-field input,.form-field select,.form-field textarea,.line-input{font-size:16px}.form-field label{font-size:14px}.document-line{grid-template-columns:minmax(0,1fr) 104px;gap:12px}.document-line label{font-size:14px}.document-line small{font-size:12px}
 .notice{font-size:14px;padding:14px 16px}.fineprint,.form-note{font-size:13px}.ai-text{font-size:15px}.modal-head,.modal-body{padding:22px}.modal p{font-size:15px}.login-card{padding:28px}.login-card h1{font-size:26px}
 .app-footer{font-size:12px;padding:12px 18px 22px;gap:15px;align-items:flex-start}.app-footer>span:last-child{max-width:155px}#toast{font-size:14px;line-height:1.6}
}
@media(max-width:520px){.form-grid{grid-template-columns:1fr}.form-grid>.w-full,.form-section-title,.form-actions{grid-column:1}.metric-value{font-size:24px}.metric-head{flex-wrap:wrap}.metric-icon{margin-left:auto}.composition-row{font-size:13px}.calc-list{grid-template-columns:minmax(0,1fr) minmax(105px,1fr)}}
@media(prefers-reduced-motion:reduce){.nav-parent,.nav-chevron{transition:none!important}}

.metric-value.money-value{font-size:26px}.user-profile>span:nth-child(2){color:var(--line)}
@media(min-width:1600px){.metric-value.money-value{font-size:30px}}
@media(max-width:780px){.metric-value.money-value{font-size:22px}}
/* Oeste360 0.4: provider lists, catalog selectors, company and account controls. */
.collapse-menu{color:#fff;margin:8px 0 -15px auto;display:block}.scope-list{border:1px solid var(--line);border-radius:10px;padding:16px;margin:14px 0}.scope-list .tag{font-size:14px;padding:7px 10px}.scope-list button{cursor:pointer}.provider-heading{margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.company-options{display:grid;gap:12px}.permissions-list select{max-width:160px}.workspace strong{overflow-wrap:anywhere}.workspace .text-btn{font-size:12px;color:#ffe0bc}.line-input{max-width:180px}
@media(min-width:1061px){body.nav-collapsed .sidebar{width:78px;padding-left:10px;padding-right:10px;overflow:visible}body.nav-collapsed .app-shell{margin-left:78px}body.nav-collapsed .brand.original-brand{height:42px;background:none;margin:24px 0}body.nav-collapsed .brand img,body.nav-collapsed .workspace,body.nav-collapsed .nav-caption,body.nav-collapsed .nav-parent>span,body.nav-collapsed .nav-chevron,body.nav-collapsed .user-profile>span:not(.avatar){display:none}body.nav-collapsed .nav-parent{justify-content:center;padding:13px}body.nav-collapsed .nav-group{position:relative}body.nav-collapsed .nav-group .nav-links{display:none}body.nav-collapsed .nav-group:hover .nav-links,body.nav-collapsed .nav-group:focus-within .nav-links{display:flex;position:absolute;left:58px;top:0;width:240px;background:var(--nav-bg);padding:14px;margin:0;box-shadow:0 8px 25px #0004;border-radius:8px;z-index:30}body.nav-collapsed .sidebar-bottom{padding:10px 0}body.nav-collapsed .user-profile{padding:5px;justify-content:center}body.nav-collapsed .collapse-menu{margin:8px auto 0}}

[hidden]{display:none!important}
@media(max-width:1060px){.collapse-menu{display:none}}

/* 0.4.1: original brand geometry and consultation controls. */
.sidebar .brand.original-brand img.brand-compact{display:none}
.btn .icon{width:18px;height:18px;flex:0 0 18px}
.section-tools.purchase-tools{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px}
.purchase-tools .analysis-profile{min-width:0;width:100%;max-width:330px}
.purchase-tools .analysis-profile select{width:100%;min-width:0}
.purchase-tools .analysis-ai{justify-self:center}
.purchase-tools .analysis-period{font-size:14px;line-height:1.5;color:var(--muted);text-align:right;justify-self:end;max-width:330px}
.criteria-help{display:block;font-size:13px;line-height:1.5;color:var(--muted);font-weight:400;margin-top:6px}
@media(min-width:1061px){
 body.nav-collapsed .sidebar .brand.original-brand{display:flex;align-items:center;justify-content:center}
 body.nav-collapsed .sidebar .brand.original-brand img.brand-full{display:none}
 body.nav-collapsed .sidebar .brand.original-brand img.brand-compact{display:block;width:30px;height:auto;max-height:42px;object-fit:contain}
}
@media(max-width:780px){
 .section-tools.purchase-tools{grid-template-columns:minmax(0,1fr);gap:14px}
 .purchase-tools .analysis-profile{max-width:none}
 .purchase-tools .analysis-period{justify-self:center;text-align:center;max-width:none}
}
/* The purchase result gets a full row on narrow product cards. */
.suggestion-note{display:block;white-space:normal;font-size:13px;line-height:1.45;font-weight:400;margin-top:5px;color:var(--muted);overflow-wrap:anywhere}
.suggestion>strong{white-space:nowrap}
.mobile-product-grid .mobile-suggestion{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}
.mobile-product-grid .mobile-suggestion>strong{font-size:24px;color:#a95408}
/* Purchase actions stretch together even when a label wraps. */
.heading-actions,.selection-actions{align-items:stretch}
.heading-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.selection-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.heading-actions>.btn,.selection-actions>.btn{height:auto;min-width:0;justify-content:center}
.document-reason{max-width:none;margin-top:8px}
#document-error[hidden]{display:none}
.login-screen{grid-template-columns:minmax(0,1fr);padding:24px;overflow-x:clip}
.login-card{width:100%;max-width:460px;min-width:0}
.login-brand{min-width:0}
.login-brand img{min-width:0;max-width:100%;height:auto}
.login-card form,.login-card .form-field,.login-card input{min-width:0;max-width:100%}
@media(min-width:781px){
 body.nav-collapsed .sidebar .brand.original-brand img.brand-compact{width:48px;height:48px;max-height:none;border-radius:10px}
}
@media(max-width:780px){
 .login-screen{padding:20px 16px}
 .login-card{padding:26px 22px;border-radius:18px}
 .login-brand{margin-bottom:26px}
 .login-brand img{width:100%;max-width:300px}
 .login-card .eyebrow{font-size:11px;letter-spacing:1.5px;margin-bottom:10px}
 .login-card h1{font-size:24px;line-height:1.25}
 .login-card .subtitle{font-size:15px;line-height:1.5;margin:12px 0 22px}
 .login-card .form-field{font-size:15px}
 .login-card .form-field input{width:100%;font-size:16px;min-height:48px;padding:12px}
 .login-card .btn{min-height:48px;font-size:16px}
 .login-card #login-error:empty{display:none}
}
@media(max-width:780px){
 .heading-actions{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 .heading-actions>.btn{width:100%;min-height:64px;margin:0}
 .selection-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
 .selection-actions>.btn{width:100%;min-height:64px;margin:0;padding:10px 8px}
 .document-line{grid-template-columns:minmax(0,1fr)}
 .document-line .line-input{max-width:none}
}
/* Radar and inbox: fixed application colors, independent confidence tags. */
.notification-button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--nav-bg);cursor:pointer;font-family:inherit;font-weight:600;font-size:12px;position:relative;white-space:nowrap}
.notification-button:hover{background:var(--bg)}.notification-button .icon{width:18px;height:18px}
.notification-count,.nav-unread{display:inline-flex;justify-content:center;align-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:11px;background:#e85d18;color:#fff;font-size:11px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;flex-shrink:0}
.nav-unread{margin-left:auto}.notification-button[hidden],.notification-count[hidden],.nav-unread[hidden]{display:none!important}
.nav-links a{position:relative}.nav-collapsed .nav-unread{position:absolute;right:0;top:0;z-index:2;min-width:17px;height:17px;font-size:10px}
.radar-legend{display:flex;flex-wrap:wrap;gap:12px 24px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:15px 18px;margin-bottom:18px}
.radar-signal{display:inline-flex;align-items:center;gap:8px;color:var(--nav-bg);font-size:13px;font-weight:700;line-height:1.5}
.signal-dot{display:inline-block;width:12px;height:12px;border-radius:50%;flex:0 0 12px;box-shadow:inset 0 0 0 1px #0002}
.signal-green{background:#27974b}.signal-yellow{background:#e8bb12}.signal-orange{background:#ed781b}.signal-red{background:#d73d38}
.confidence-tag{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 9px;border:1px solid;border-radius:6px;font-size:12px;font-weight:700;line-height:1.3}
.confidence-alta{background:var(--line);color:#226b40;border-color:var(--line)}.confidence-media{background:#fff6db;color:#7c5a06;border-color:#ead594}.confidence-baixa{background:#fceceb;color:#a13935;border-color:#ebc0be}
.result-filters{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:16px 0}.result-filters>span{color:var(--ink);font-size:12px;margin-left:auto}
.radar-results{display:flex;flex-direction:column;gap:12px}.radar-row{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}
.radar-row.is-unread{border-left:4px solid #ec701e}.radar-row-main{min-width:0;flex:1}.radar-row-main>p{font-size:14px;line-height:1.6;margin:12px 0;color:var(--nav-bg);overflow-wrap:anywhere}.radar-row-main>small{color:var(--muted)}
.radar-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px}.radar-title h3{font-size:17px;margin:0}.radar-classification{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}
.unread-tag{background:#fff0e5;color:#a9470c;padding:3px 8px;border-radius:5px;font-size:11px;font-weight:750;white-space:nowrap}.radar-row-actions{display:flex;align-items:stretch;flex-direction:column;gap:12px;flex-shrink:0}.radar-row-actions .btn{justify-content:center}
.radar-executive{font-size:17px;line-height:1.6;font-weight:600;margin:18px 0}.radar-section{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.radar-section h3{font-size:16px;margin:0 0 12px}.radar-section p,.radar-section li,.radar-horizons p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.radar-section ul{padding-left:20px}.radar-section li+li{margin-top:8px}
.radar-horizons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.radar-horizons section{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:12px;min-width:0}.radar-horizons h3{margin:0 0 8px}.radar-horizons b{display:block;text-transform:capitalize;margin-bottom:8px}.radar-indicator{display:flex;flex-direction:column;gap:6px;padding:14px 0;border-bottom:1px solid var(--line)}.radar-indicator span{font-size:13px;color:var(--ink)}.radar-trigger{margin:14px 0}.radar-section .sources-list{margin:5px 0 16px;font-size:12px}.radar-section .sources-list a{overflow-wrap:anywhere}
@media(max-width:1100px){.notification-label{display:none}.topbar-right{gap:8px}}
@media(max-width:700px){.radar-row{padding:16px;align-items:stretch;flex-direction:column;gap:14px}.radar-row-actions{flex-direction:row;align-items:center;justify-content:space-between}.radar-horizons{grid-template-columns:minmax(0,1fr)}.radar-legend{display:grid;grid-template-columns:1fr;gap:10px;padding:13px}.radar-signal{font-size:12px}.result-filters>span{flex-basis:100%;margin:3px 0}.notification-button{padding:6px;gap:4px;min-height:36px}.topbar-right .source-label{display:none}.breadcrumb{min-width:0;overflow:hidden}.topbar{gap:8px}.topbar-right{flex-shrink:0;gap:4px}.notification-count{min-width:18px;height:18px;font-size:10px}}

/* Menu footer alignment, including the compact sidebar. */
.sidebar-bottom .logout-button{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:10px 12px;min-height:44px;margin:0;text-align:left}
@media(min-width:1061px){body.nav-collapsed .sidebar-bottom .logout-button{justify-content:center;padding:10px 0;text-align:center}body.nav-collapsed .sidebar-bottom .user-profile{justify-content:center;padding-left:0;padding-right:0}}
#schedule-kind-fields,#schedule-calendar-fields{margin:0;padding:0;gap:16px}#schedule-preview{line-height:1.8;margin-top:12px}
/* Equal controls, including the intrinsic width of date/time inputs on iOS. */
#schedule-form,#schedule-form .form-grid,#schedule-form .form-grid>*{min-width:0;max-width:100%}
#schedule-form .form-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#schedule-form .w-full{grid-column:1/-1}
#schedule-form .form-field input:not([type=checkbox]):not([type=radio]),#schedule-form .form-field select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:46px;min-height:46px;padding:10px 12px;line-height:24px}
#schedule-form input[type=date],#schedule-form input[type=time],.radar-custom-period input[type=date]{-webkit-appearance:none;appearance:none;min-inline-size:0;text-align:left}
#schedule-form input::-webkit-date-and-time-value,.radar-custom-period input::-webkit-date-and-time-value{text-align:left;min-height:24px}
#schedule-form .schedule-days{display:flex;flex-wrap:wrap;gap:8px 14px}
#schedule-form .schedule-days label{display:inline-flex;align-items:center;gap:5px;margin:0;white-space:nowrap}
.radar-result-filters{align-items:center;gap:9px;margin-bottom:8px}
.radar-result-filters>.btn,.radar-result-filters>.radar-period-select{box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:10px 12px;font-size:14px;line-height:22px;border-radius:9px}
.radar-period-select{flex:1 1 170px;max-width:230px;min-width:0;border:1px solid var(--line);color:var(--ink);background:#fff}
.result-filter-note{font-size:12px;color:var(--ink);margin:0 0 16px}
.radar-custom-period{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:12px;max-width:620px;margin:12px 0}
.radar-custom-period .form-field{min-width:0;gap:4px}.radar-custom-period label{margin:0}
.radar-custom-period input,.radar-custom-period>.btn{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;padding:8px 10px}
.radar-custom-period>.error-text{grid-column:1/-1;margin:0;font-size:13px}.radar-custom-period>.error-text:empty{display:none}
.radar-row-actions .radar-ai-button{height:44px;min-height:44px;gap:7px}.radar-refresh-status{display:flex;align-items:center;gap:8px}
.radar-ai-button:disabled{opacity:.65;cursor:wait}
@media(max-width:520px){#schedule-form .form-grid{grid-template-columns:minmax(0,1fr)}.radar-period-select{max-width:none;flex-basis:160px}.radar-custom-period{grid-template-columns:repeat(2,minmax(0,1fr))}.radar-custom-period>.btn{grid-column:1/-1}.radar-row-actions{flex-wrap:wrap}.radar-row-actions>.btn{flex:1;min-width:0}}
/* Product values are separate rows, including on narrow mobile screens. */
.suggestion>small,.suggestion>strong,.mobile-suggestion>small,.mobile-suggestion>strong,.mobile-product-grid>div>small,.mobile-product-grid>div>strong,.calc-part.adjusted>small,.calc-part.adjusted>strong{display:block}
.suggestion>small,.mobile-suggestion>small,.calc-part.adjusted>small{margin-top:5px;line-height:1.45}
.mobile-suggestion>strong,.suggestion>strong{margin-top:8px;line-height:1.25}
.mobile-product-grid>div{min-width:0}.mobile-product-grid>div>small{line-height:1.4;margin-top:4px;font-size:12px;color:var(--muted)}
.product-footer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;align-items:stretch}
.drawer-foot .product-footer-actions .btn{margin:0;width:100%;height:100%;min-height:54px;white-space:normal;display:flex;align-items:center;justify-content:center;line-height:1.35;padding:12px}
.customer-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:start}.customer-row>div{min-width:0}.customer-row strong{overflow-wrap:anywhere;display:block}.customer-row small{display:block;line-height:1.45;margin-top:5px}.customer-row>b{text-align:right;white-space:nowrap}
.product-detail-tabs{overflow-x:auto;gap:20px;flex-wrap:nowrap}.product-detail-tabs button{flex-shrink:0;white-space:nowrap}
.supplier-legend{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;font-size:13px}.supplier-legend span{display:flex;align-items:center;gap:7px;max-width:100%;overflow-wrap:anywhere}.supplier-dot{width:11px;height:11px;border-radius:50%;flex:0 0 11px}
.supplier-chart-scroll{overflow-x:auto;width:100%;padding-bottom:8px}.supplier-chart{display:block;max-width:none}.supplier-total{margin:20px 0}.supplier-total-head{display:flex;justify-content:space-between;align-items:start;gap:16px;font-size:13px;margin-bottom:8px}.supplier-total-head span{overflow-wrap:anywhere}.supplier-total-head b{white-space:nowrap}.supplier-track{height:12px;background:var(--line);border-radius:5px;overflow:hidden}.supplier-track i{display:block;height:100%;border-radius:5px}.supplier-data{margin-top:20px}.supplier-data summary{cursor:pointer;padding:10px 0;font-weight:600}
@media(max-width:480px){.customer-row{grid-template-columns:minmax(0,1fr) auto}.customer-row>.customer-initial{display:none}.product-detail-tabs{gap:16px}.product-detail-tabs button{font-size:13px}.drawer-foot .product-footer-actions .btn{font-size:13px}.mobile-product-bottom{align-items:flex-start;gap:12px}.mobile-product-bottom>.text-btn{flex-shrink:0}}
/* Purchasing controls and multi-page selections share a consistent touch target. */
.purchase-list-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}
.purchase-list-filters .btn,.purchase-list-filters select{height:44px;min-height:44px;margin:0;box-sizing:border-box}
.purchase-list-filters select{width:auto;max-width:100%;min-width:190px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;color:inherit}
.scheduled-suggestions{margin-bottom:24px}
.selected-analysis{background:#fff7ef;border-radius:10px;padding:12px}
.analysis-ai{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.analysis-ai .btn{min-height:44px}
.select-filtered{display:flex;gap:14px;flex-wrap:wrap;align-items:center;padding:16px 22px;border-bottom:1px solid var(--line)}
.select-filtered>span{font-size:12px;color:var(--ink)}
.percent-control{display:flex;align-items:center;gap:12px;min-width:0}
.percent-control input[type=range]{min-width:0;flex:1;padding:0;border:0;box-shadow:none;accent-color:#bb5700;height:36px;cursor:pointer}
.percent-control input[type=number]{width:80px;flex:0 0 80px;min-width:0}
.stock-context .stat-pair{gap:16px}
.stock-context .stat-pair b{white-space:nowrap}
@media(max-width:650px){.purchase-list-filters{gap:8px}.purchase-list-filters select{flex:1;min-width:175px}.analysis-ai{width:100%}.analysis-ai .btn{flex:1 1 140px}.select-filtered{padding:14px 18px}.scheduled-suggestions .list-row{flex-wrap:wrap;gap:12px}.scheduled-suggestions .list-row>div{min-width:0}.percent-control input[type=number]{flex-basis:70px;width:70px}}

.tag.origin-automatic{background:#e8efff;color:#25468a}.tag.origin-manual{background:#f2e9fa;color:#743b8e}
.suggestion-labels{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}
/* Supplier-document review: space for evidence and comparable costs. */
.drawer.order-wide{width:min(1200px,96vw);max-width:96vw}
.order-file-panel{padding:20px;border:1px solid var(--line,#ddd);border-radius:14px;background:#fbf8f2;margin-bottom:24px}
.order-file-panel p{margin:8px 0;overflow-wrap:anywhere}
.order-file-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.file-picker{position:relative;overflow:hidden;cursor:pointer}
.file-picker input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.order-file-actions .btn{min-height:44px}
#order-file-name{flex:1;min-width:140px;overflow-wrap:anywhere}
.order-cost-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,220px);gap:16px;align-items:start;padding:24px 0}
.order-cost-context,.order-import-item{grid-column:1/-1;min-width:0}
.order-cost-values{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:12px}
.order-cost-values>div{background:var(--bg);padding:12px;border-radius:8px;display:flex;flex-direction:column;gap:8px}
.order-cost-values small{white-space:normal}.order-cost-context .form-field{max-width:450px;margin:14px 0}
.cost-change{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cost-change small{flex:1;min-width:220px}
.order-import-item:empty{display:none}.order-import-item{background:#faf8f4;border-radius:8px;padding:14px;overflow-wrap:anywhere}
.order-sync-settings{margin-bottom:24px}.order-sync-settings form{display:flex;align-items:end;flex-wrap:wrap;gap:16px}.order-sync-settings .form-field{flex:1;min-width:240px}
@media(max-width:700px){.drawer.order-wide{width:100vw;max-width:100vw}.order-cost-values{grid-template-columns:repeat(2,minmax(0,1fr))}.order-cost-line{grid-template-columns:1fr}.order-file-actions .btn{width:100%}}

/* Menu: native UI typography, stronger contrast and consistent vector strokes. */
.sidebar{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:auto}
.sidebar .nav-caption{font-size:11px;font-weight:600;letter-spacing:1.1px;color:var(--line)}
.sidebar .nav-group>.nav-parent{font-size:15px;font-weight:600;line-height:1.4;color:var(--bg);gap:10px}
.sidebar .nav-links>a{font-size:14px;font-weight:400;line-height:1.4;min-height:44px;gap:9px;color:var(--line)}
.sidebar .nav-links>a.active{font-weight:600;color:#ffc184;background:#483a27}
.sidebar .nav-links>a>.icon,.sidebar .nav-group>.nav-parent>.icon{width:20px;height:20px;flex:0 0 20px;stroke-width:1.8;opacity:1}
.sidebar .nav-group>.nav-parent>.nav-chevron{width:16px;height:16px;flex-basis:16px;stroke-width:2}
.sidebar .nav-group .nav-links{border-left-color:var(--ink)}
.sidebar .workspace strong{font-size:14px;font-weight:600;line-height:1.45;color:var(--bg)}
.sidebar .workspace-icon{color:var(--line)}
.sidebar .user-profile strong{font-size:14px;font-weight:600}
.sidebar .user-profile small{color:var(--line)}
.sidebar .nav-links>a>.icon{width:18px;height:18px;flex-basis:18px}
.sidebar .workspace strong{font-size:13.5px}
.menu-tools{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin:8px 0 -15px}
.menu-tools .collapse-menu{margin:0}
.sidebar .menu-theme{display:flex;align-items:center;justify-content:center;width:28px;height:32px;min-width:28px;min-height:32px;border-radius:7px;color:var(--line)}
.menu-theme .icon{width:18px;height:18px;stroke-width:1.8}
.menu-theme:hover{background:#ffffff14}
@media(min-width:1061px){body.nav-collapsed .menu-tools{gap:2px}body.nav-collapsed .menu-tools .collapse-menu{width:28px;min-width:28px;height:32px;min-height:32px}}
body.menu-light .sidebar{background:var(--bg);color:var(--nav-bg);border-right:1px solid var(--line)}
body.menu-light .sidebar .nav-caption,body.menu-light .sidebar .user-profile small{color:var(--ink)}
body.menu-light .sidebar .workspace{background:var(--line);border-color:var(--line)}
body.menu-light .sidebar .workspace strong,body.menu-light .sidebar .nav-parent,body.menu-light .sidebar .user-profile strong{color:var(--nav-bg)}
body.menu-light .sidebar .workspace-icon,body.menu-light .sidebar .nav-parent>.icon{color:var(--ink)}
body.menu-light .sidebar .workspace .text-btn{color:#9a4800}
body.menu-light .sidebar .nav-group[open]>.nav-parent{background:var(--line)}
body.menu-light .sidebar .nav-parent:hover{background:var(--line)}
body.menu-light .sidebar .nav-links>a{color:var(--nav-bg)}
body.menu-light .sidebar .nav-links>a.active{color:#934200;background:#fff0dc}
body.menu-light .sidebar .nav-links>a:hover{color:#263b2c;background:var(--line)}
body.menu-light .sidebar .nav-group .nav-links{border-left-color:var(--line)}
body.menu-light .sidebar .nav-group.has-active>.nav-parent>.icon:first-child{color:#a55000}
body.menu-light .sidebar .menu-theme,body.menu-light .sidebar .collapse-menu,body.menu-light .sidebar .logout-button{color:var(--nav-bg)}
body.menu-light .sidebar .menu-theme:hover{background:var(--line)}
body.menu-light .sidebar .sidebar-bottom{border-color:var(--line)}
body.menu-light.nav-collapsed .sidebar .nav-group .nav-links{background:var(--bg);box-shadow:0 8px 25px #24262926}
/* Compact supplier order review. */
.drawer.order-wide{width:min(1480px,98vw);max-width:98vw}
.order-compare-toolbar{display:flex;align-items:end;gap:24px;margin:24px 0 16px}
.order-compare-toolbar .form-field{width:340px;max-width:100%;flex-shrink:0}
.order-compare-toolbar .form-note{margin-bottom:8px}
.order-items-heading,.document-line.order-compact-line{display:grid;grid-template-columns:minmax(220px,2.8fr) minmax(75px,.7fr) minmax(100px,1fr) minmax(125px,1fr) minmax(100px,.9fr) minmax(110px,1fr);gap:16px;align-items:center}
.order-items-heading{font-size:12px;color:var(--ink);background:var(--line);padding:12px;border-radius:8px}
.document-line.order-compact-line{padding:14px 12px;font-size:14px}
.order-product-name{min-width:0}.order-product-name>b{font-weight:500;overflow-wrap:anywhere;line-height:1.4}
.order-price-cell input{width:100%;max-width:none}
.order-row-details{margin-top:5px;font-size:12px;color:var(--muted)}
.order-row-details summary{cursor:pointer}
.order-row-details[open]{padding:10px;background:var(--bg);border-radius:7px}
.order-row-details .order-import-item{margin-top:10px}
.price-evolution{display:inline-flex;align-items:center;white-space:nowrap;border-radius:6px;padding:5px 8px;font-size:12px;font-weight:600}
.price-evolution.up{background:#fde8e5;color:#a12d24}
.price-evolution.equal{background:#fff5d6;color:#775800;border:1px solid #ead48a;padding:4px 9px}
.price-evolution.down{background:var(--line);color:#246535}
.price-evolution.pending{background:var(--line);color:var(--ink)}
.order-comparison-totals{margin:24px 0;padding:24px;background:var(--bg);border:1px solid var(--line);border-radius:12px}
.order-comparison-totals h3{font-size:16px;margin:0 0 16px}
.order-totals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}
.order-totals-grid small{display:block;color:var(--ink);font-size:13px}
.order-totals-grid strong{display:block;font-size:23px;line-height:1.5;color:var(--nav-bg)}
.order-total-main strong{color:#a55000}
@media(max-width:1000px){
 .order-items-heading{display:none}
 .document-line.order-compact-line{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 .order-product-name{grid-column:1/-1}
 .order-compact-line [data-label]::before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
}
@media(max-width:600px){
 .order-compare-toolbar{display:block}.order-compare-toolbar .form-field{width:100%}
 .order-compare-toolbar .form-note{margin-top:12px}
 .document-line.order-compact-line{grid-template-columns:repeat(2,minmax(0,1fr))}
 .order-comparison-totals{padding:18px}.order-totals-grid{grid-template-columns:1fr;gap:14px}
}
.order-item-actions{display:inline-flex;align-items:center;gap:6px;margin-right:10px;vertical-align:middle}
.order-item-actions .text-btn{font-size:12px}
.order-item-actions .order-remove{width:28px;height:28px;min-width:28px;min-height:28px;color:#a12d24}
.order-quantity{width:100%;padding:7px;min-width:60px}
.order-quantity:disabled{border-color:transparent;background:transparent;color:inherit;opacity:1;padding-left:0}
.order-add-bottom{margin-top:14px}

/* Shared form containment and compact mobile purchasing controls. */
.purchase-orders{width:100%;min-width:0}.purchase-orders .page-heading{margin-bottom:16px}.purchase-orders h1{margin:0}
main:has(.purchase-orders){max-width:none}.app-shell:has(.purchase-orders)>.app-footer{display:none}
.order-list-filters>select,.purchase-list-filters>select{height:42px;min-height:42px;max-width:100%;min-width:0;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 12px;font:inherit;font-size:14px;color:var(--ink)}
.purchase-list-filters>.btn{height:42px;min-height:42px}
.purchase-order-list{display:grid;gap:8px}.purchase-order-row{display:grid;grid-template-columns:minmax(160px,1fr) 145px 115px 160px auto;gap:16px;align-items:center;padding:14px 18px;border:1px solid var(--line);background:#fff;border-radius:10px;min-width:0}
.purchase-order-name,.purchase-order-meta,.purchase-order-state{min-width:0}.purchase-order-name h2{font-size:15px;line-height:1.35}.order-title-button{text-align:left;font:inherit;color:inherit;overflow-wrap:anywhere}.purchase-order-name p{font-size:12px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.purchase-order-meta{display:grid;gap:4px;font-size:12px;color:var(--muted)}.purchase-order-total{font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}.purchase-order-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.tag.erp-synced{background:var(--line);color:#226c3b;border:1px solid var(--line)}.tag.erp-pending{background:#fcebea;color:#a6322c;border:1px solid #f0c9c5}.purchase-order-state .tag{white-space:nowrap;font-size:12px}.order-list-empty{padding:24px 0;color:var(--muted)}
@media(max-width:1250px){.purchase-order-row{grid-template-columns:minmax(160px,1fr) 130px 110px 160px;gap:10px 14px}.purchase-order-actions{grid-column:1/-1}.purchase-order-row .btn{min-height:36px}}
@media(max-width:650px){.order-list-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.order-list-filters>select{width:100%;font-size:13px;padding:0 8px}.purchase-order-row{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:10px}.purchase-order-name{grid-column:1/-1}.purchase-order-total{grid-column:2;grid-row:2}.purchase-order-state{grid-column:1/-1}.purchase-order-actions{justify-content:flex-start}.purchase-order-actions .btn{min-height:40px}.purchase-order-name h2{font-size:15px}}
.drawer>div,.modal>div,.drawer-body,.modal-body,.drawer-body form,.modal-body form{min-width:0;max-width:100%}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;max-width:100%;width:100%}
.form-grid>*,.form-field{min-width:0;max-width:100%}
.form-field input,.form-field select,.form-field textarea{box-sizing:border-box;min-width:0;max-width:100%}
.form-grid .form-note,.criteria-help,.scope-list,.scope-list .tag{overflow-wrap:anywhere;white-space:normal}
.drawer-header>div{min-width:0}.drawer-header>.icon-button{flex-shrink:0}
.analysis-ai{align-items:stretch}.analysis-ai>.btn{align-self:stretch;white-space:normal;line-height:1.4}
@media(max-width:780px){
 .purchase-tools .analysis-ai{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;align-items:stretch}
 .purchase-tools .analysis-ai>.btn{width:100%;min-width:0;height:100%;min-height:48px;margin:0;padding:10px 12px;justify-content:center}
 .purchase-tools .analysis-ai>[data-action="purchase-ai"]{grid-column:1/-1}
 .scheduled-suggestions .purchase-list-filters{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:6px}
 .scheduled-suggestions .purchase-list-filters>[data-purchase-period]{grid-column:3;grid-row:1;min-width:0;width:100%;max-width:100%;padding:0 6px;font-size:13px}
 .scheduled-suggestions .purchase-list-filters>.btn{width:100%;min-width:0;padding:0 8px;font-size:13px;white-space:nowrap}
 .drawer,.drawer.order-wide{width:100%;max-width:100vw;min-width:0}
 .drawer-body,.modal-body{width:100%}
 .form-actions{flex-wrap:wrap}.form-actions>.btn{min-width:0;white-space:normal}
 .scope-list .panel-title{flex-wrap:wrap}.scope-list .pill-list{min-width:0;max-width:100%}
 .order-sync-settings .form-field{min-width:0;flex-basis:100%}
}
@media(max-width:520px){
 .form-grid,#schedule-form .form-grid{grid-template-columns:minmax(0,1fr)}
 .form-grid>.w-full,.form-grid>.full,.form-grid>.form-section-title,.form-grid>.form-actions{grid-column:1/-1}
}

/* Notifications belong to the active native dialog's top layer. */
#toast.in-dialog{left:50%;max-width:min(700px,calc(100vw - 32px))}
#toast{overflow-wrap:anywhere;bottom:max(20px,env(safe-area-inset-bottom,0px))}
.erp-history-list{display:grid;gap:12px;list-style:none;padding:0;margin:0}
.erp-history-event{padding:14px;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere}
.erp-history-event header{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.erp-history-event p{margin:8px 0 0;color:var(--ink);font-size:14px}
.erp-history-event small{display:block;margin-top:8px;color:var(--muted);font-size:12px}

.erp-user-selector{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:46px;text-align:left;width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font-size:15px}
.erp-user-options{display:grid;gap:7px;margin-top:15px;max-height:55dvh;overflow-y:auto}
.erp-user-option{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}
.erp-user-option small{display:block;color:var(--muted);margin-top:3px}.erp-user-option.selected{border-color:var(--orange);background:#fff7ed}
.user-company-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}
.user-company-row .checkbox-field{margin:0;overflow-wrap:anywhere}.company-default{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:14px}.company-default input{accent-color:var(--orange)}
#login-company{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;font-size:16px;background:#fff;color:var(--ink)}
.login-other-user{margin-top:20px}.login-identity{font-weight:600;margin-bottom:18px}

/* Purchasing lists share one compact, responsive layout. */
.suggestion-list-row{grid-template-columns:minmax(200px,1fr) 220px minmax(170px,auto) auto}
.suggestion-list-row .purchase-order-state{display:flex;gap:6px;flex-wrap:wrap}
.scheduled-suggestions{margin-bottom:24px}.scheduled-suggestions .table-foot{background:none;padding:12px 0}
#suggestion-result{scroll-margin-top:85px}.overview-analysis-meta{margin:-4px 0 18px;color:var(--muted);font-size:13px}
.purchase-order-meta{min-width:150px}.purchase-order-row{grid-template-columns:minmax(160px,1fr) minmax(170px,auto) 115px 160px auto}
.suggestion-list-row{grid-template-columns:minmax(200px,1fr) 220px minmax(170px,auto) auto}
@media(max-width:1250px){.purchase-order-row{grid-template-columns:minmax(160px,1fr) minmax(170px,auto) 115px 160px}.suggestion-list-row{grid-template-columns:minmax(180px,1fr) 210px auto}.suggestion-list-row .purchase-order-actions{grid-column:auto}}
@media(max-width:780px){.suggestion-list-row{grid-template-columns:minmax(0,1fr) auto}.suggestion-list-row .purchase-order-name{grid-column:1/-1}.suggestion-list-row .purchase-order-meta{min-width:0}.suggestion-list-row .purchase-order-state{grid-column:1/-1}.suggestion-list-row .purchase-order-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:650px){.purchase-order-row{grid-template-columns:minmax(0,1fr) auto}.purchase-order-meta{min-width:0}.purchase-order-actions{grid-column:1/-1}.purchase-order-total{grid-column:2;grid-row:2}}
@media(max-width:1100px){.purchase-order-row{grid-template-columns:minmax(0,1fr) auto}.purchase-order-name{grid-column:1/-1}.purchase-order-total{grid-column:2;grid-row:2}.purchase-order-state{grid-column:1/-1}.purchase-order-actions{grid-column:1/-1;justify-content:flex-start}.suggestion-list-row .purchase-order-actions{grid-column:1/-1}}

/* Compact automation cards retain their vertical hierarchy and actions. */
.schedule-card{padding:16px}
.schedule-card .card-top{margin-bottom:10px}
.schedule-card .card-icon{width:32px;height:32px;border-radius:9px}
.schedule-card h3{font-size:18px;margin-bottom:4px}
.schedule-card>p{min-height:0;font-size:13px;line-height:1.5;margin-bottom:8px}
.schedule-card .card-stats{margin:8px 0 12px}
.schedule-card .time{font-size:26px;margin-bottom:2px}
.schedule-card .card-footer{padding-top:9px}
.schedule-card .card-footer .text-btn{min-height:32px}
@media(max-width:600px){.schedule-card .card-footer .text-btn{min-height:44px}}

.purchase-orders .purchase-order-state{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.purchase-orders .purchase-order-state .tag{white-space:normal}
