.style-advisor{min-width:0;color:var(--ink)}.style-advisor h1{font-size:25px;margin:0}.style-advisor h2{font-size:16px;margin:0}.style-advisor h3{font-size:14px}.style-advisor small,.style-advisor .muted{color:var(--muted);font-size:12px}.style-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.style-heading p{margin:6px 0 0}.style-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:12px;margin:20px 0}.style-summary>div{padding:16px 20px;border-right:1px solid var(--line)}.style-summary>div:last-child{border:0}.style-summary strong{display:block;font-size:25px;margin-top:6px}.style-advisor .card{padding:0;overflow:hidden;margin:16px 0}.style-card-head{padding:18px 20px;border-bottom:1px solid var(--line)}.style-card-head small{margin-left:8px;font-weight:400}.style-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.style-toolbar [role=tablist]{display:flex;gap:8px;overflow:auto;max-width:100%}.style-toolbar [role=tab]{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;white-space:nowrap;transition:transform 120ms ease-out}.style-toolbar [role=tab]:active{transform:scale(.98)}.style-toolbar [aria-selected=true]{color:var(--primary);border-color:var(--primary)}.style-toolbar input{max-width:100%;width:250px}.style-empty{text-align:center;padding:36px 20px!important;color:var(--muted)}.style-times{display:flex;gap:12px 24px;flex-wrap:wrap;margin:18px 0}.style-method,.style-history{margin:20px 0;font-size:13px}.style-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.style-feedback{padding:14px 16px;border-radius:7px;background:var(--selected);color:var(--primary);margin-bottom:16px}.style-feedback.error{color:var(--danger);background:var(--surface);border:1px solid var(--danger)}.style-detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.style-detail-metrics>div{padding:14px;background:var(--canvas);border-radius:7px;font-size:12px;color:var(--muted)}.style-detail-metrics strong{display:block;font-size:21px;color:var(--ink);margin-top:6px}.style-dialog{width:780px}.style-dialog .num{text-align:right}.style-dialog table{width:100%}.style-dialog p{overflow-wrap:anywhere}.style-dialog details{margin-top:20px}.style-dialog summary{cursor:pointer}
@media(max-width:760px){.style-heading{align-items:flex-start;flex-direction:column}.style-advisor h1{font-size:23px}.style-summary{grid-template-columns:1fr 1fr}.style-summary>div{padding:14px 16px;border-bottom:1px solid var(--line)}.style-summary>div:nth-child(2){border-right:0}.style-toolbar{display:block}.style-toolbar input{width:100%;margin-top:14px}.style-card-head{padding:16px}.style-detail-metrics{gap:6px}.style-detail-metrics>div{padding:10px 6px}.style-detail-metrics strong{font-size:18px}.style-history-row{align-items:flex-start}.style-feedback button{display:block;margin-top:8px}}
.style-advisor .style-heading{height:auto;min-height:0;padding:0;background:transparent;border:0}.style-advisor .style-card-head{height:auto;min-height:0}
.style-selection{display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap;margin:16px 0}.style-selection label,.style-pick{display:flex;align-items:center;gap:8px}.style-selection{padding:12px 16px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.style-selection>button{margin-left:auto}.style-selection input[type=checkbox],.style-pick input[type=checkbox]{width:17px;height:17px;min-height:17px;flex-shrink:0;margin:0;accent-color:var(--primary)}.style-pick{align-items:flex-start}.style-pick strong{overflow-wrap:anywhere;min-width:0}.style-pick input{margin-top:3px!important}@media(max-width:760px){.style-selection>button{margin-left:0;width:100%}}
.style-selection label,.style-pick{flex-direction:row}
.style-legacy table{min-width:0}
.style-quality{padding-left:20px;overflow-wrap:anywhere}.style-quality li{margin:8px 0}.style-method{overflow-wrap:anywhere}

.style-fact-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.style-fact-fields label{display:grid;gap:6px;min-width:0}.style-fact-fields input,.style-fact-fields select{width:100%;min-width:0;box-sizing:border-box}.style-facts{margin-bottom:16px}.style-facts-dialog{width:min(640px,calc(100vw - 32px));max-width:calc(100vw - 32px)}.style-facts-dialog h2{overflow-wrap:anywhere;min-width:0}.style-facts-dialog .ui-dialog-foot{flex-wrap:wrap}@media(max-width:560px){.style-fact-fields{grid-template-columns:1fr}}
.style-fact-fields .fact-source{grid-column:1/-1}.style-fact-fields fieldset{min-width:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:7px;display:grid;gap:8px}.style-fact-fields fieldset legend{font-weight:600}.style-fact-fields .opportunity-period{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.style-fact-fields .size-options{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}.style-fact-fields .size-options label{display:inline-flex;flex-direction:row;gap:4px;align-items:center}.style-fact-fields .size-options input{width:auto}.style-fact-fields .add-period{justify-self:start}
.style-dialog .style-export-table{min-width:0;table-layout:fixed}.style-export-table th,.style-export-table td{white-space:normal;overflow-wrap:anywhere}.style-export-table th:last-child,.style-export-table td:last-child{width:64px}
.style-dialog>.ui-dialog-head{height:auto;min-height:0;align-items:flex-start}.style-dialog>.ui-dialog-head h2{min-width:0;overflow-wrap:anywhere}

.style-advisor .style-list{container-type:inline-size;min-inline-size:0;margin:0;border:0;border-radius:0;max-height:none}
.style-list table{table-layout:auto;inline-size:100%}
.style-list .style-col-name{width:clamp(110px,13cqi,245px)}
.style-list .style-col-decision{width:clamp(68px,7cqi,80px)}
.style-list .style-col-quantity{width:1%}
.style-list .style-col-orders{width:clamp(106px,10cqi,116px)}
.style-list .style-col-inventory{width:clamp(156px,15cqi,240px)}
.style-list .style-available{min-inline-size:150px;max-inline-size:none;white-space:nowrap}
.style-list .style-col-action{width:clamp(78px,8cqi,92px)}
.style-list th,.style-list td{vertical-align:middle;padding-inline:clamp(5px,.75cqi,11px)}
.style-list th,.style-list .num,.style-list .style-decision{white-space:nowrap}
.style-list .style-quantity{min-inline-size:176px;max-inline-size:none}
.style-list .style-basis{min-inline-size:190px}
/* Visible columns share the container: base units = 13 + 3*8 + 16 + 26 + 6. */
.style-list-concise .style-col-name{width:calc(100cqi / var(--style-column-units) * 13)}
.style-list-concise .style-col-orders{width:calc(100cqi / var(--style-column-units) * 8)}
.style-list-concise .style-col-decision{width:calc(100cqi / var(--style-column-units) * 7)}
.style-list-concise .style-col-quantity{width:calc(100cqi / var(--style-column-units) * 15)}
.style-list-concise .style-col-inventory{width:calc(100cqi / var(--style-column-units) * 16)}
.style-list-concise .style-col-basis{width:calc(100cqi / var(--style-column-units) * 26)}
.style-list-concise .style-col-action{width:calc(100cqi / var(--style-column-units) * 6)}
.style-list-concise .style-basis{min-inline-size:180px;white-space:normal}
.style-list th:first-child,.style-list td:first-child{padding-inline-start:clamp(10px,1.6cqi,20px)}
.style-list th:last-child,.style-list td:last-child{padding-inline-end:clamp(10px,1.6cqi,20px)}
.style-list tbody tr:last-child td{border-bottom:0}
.style-list .num{text-align:right;font-variant-numeric:tabular-nums}
.style-list .quiet{padding-inline:4px}
.style-row small{display:block;margin-top:4px}
.style-row .style-stock-sizes{white-space:nowrap}
.style-quantity strong{color:var(--primary)}
.style-row .style-basis{color:var(--muted);line-height:1.6}
.style-basis .style-trigger{margin:0;overflow-wrap:anywhere}
.style-basis .style-trigger+.style-trigger{margin-block-start:6px}
@media(max-width:760px){.style-summary>div:nth-child(2){border-right:1px solid var(--line)}.style-summary strong{font-size:18px}}
.style-list-fixed .style-quantity{min-inline-size:112px}
.style-quantity .style-missing-sizes{white-space:nowrap}
.style-list-fixed th:first-child,.style-list-fixed td:first-child{min-inline-size:110px}
.style-list-concise th:first-child,.style-list-concise td:first-child{min-inline-size:140px}
.style-method-guide{max-inline-size:960px;line-height:1.7}
.style-method-guide h3{margin:20px 0 8px}
.style-method-guide p{margin:6px 0}
.style-classification-guide{list-style:none;padding:0;margin:12px 0}
.style-classification-guide>li{margin:16px 0}
.style-report-summary .style-card-head{flex-wrap:wrap;gap:8px 16px;border-bottom:0;padding-block:12px}
.style-summary-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;min-width:0;overflow-wrap:anywhere}
.style-report-summary .style-card-head h2{white-space:nowrap}
.style-report-summary .style-card-head p{margin:0}
.style-summary-content{padding:16px 20px;border-top:1px solid var(--line);line-height:1.7;overflow-wrap:anywhere}
.style-summary-content>p:first-child{margin-top:0}
.style-summary-highlight{margin:16px 0}
.style-summary-highlight h3{margin:0 0 6px}
.style-summary-highlight p{margin:6px 0}
