/* Separate presentation experiment. All selectors are scoped to results. */
#calc-results { --preview-bg:#101e2d; --preview-card:#152739; --preview-line:#304359; --preview-muted:#a3b5c9; --preview-ink:#f3f7fc; --preview-accent:#45a3ff; background:var(--preview-bg); color:var(--preview-ink); padding:24px; }
html[data-theme="light"] #calc-results { --preview-bg:#f7f9fc; --preview-card:#fff; --preview-line:#dce4ed; --preview-muted:#63758b; --preview-ink:#14263b; --preview-accent:#0879e8; }
#calc-results .calc-results-series-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#calc-results .calc-series-tab-panel { border:1px solid var(--preview-line); border-radius:16px; overflow:hidden; background:var(--preview-card); box-shadow:0 5px 20px #00000008; }
#calc-results .calc-series-tab-panel.is-active { border-color:var(--preview-accent); box-shadow:0 0 0 1px var(--preview-accent); }
#calc-results .calc-series-tab-panel {display:flex;flex-direction:column;}
#calc-results .calc-series-tab {flex:1;}
#calc-results .calc-series-tab-price-meta {margin-top:auto;padding-top:6px;}
#calc-results .preview-product {position:relative;}
#calc-results .preview-image-count {position:absolute;bottom:7px;right:8px;background:#152739;color:#fff;border-radius:5px;padding:3px 8px;font-size:11px;}
#calc-results .preview-fact {min-height:58px;box-sizing:border-box;}
#calc-results .preview-product img {transform:scale(1.2);}
#calc-results .preview-fact strong {max-width:70%;overflow-wrap:anywhere;}
#calc-results .preview-arm-heading,#calc-results .preview-arm-price {display:flex;justify-content:space-between;gap:12px;align-items:center;}
#calc-results .preview-arm-heading {margin-bottom:12px;}
#calc-results .preview-arm-controls {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
#calc-results .preview-arm-controls label {display:flex;flex-direction:column;gap:8px;font-size:11px;color:var(--preview-muted);}
#calc-results .preview-arm-controls label span {min-height:30px;}
#calc-results .preview-arm-controls select {width:100%;max-width:none;min-height:32px;border:1px solid var(--preview-line);background:var(--preview-bg);color:var(--preview-ink);border-radius:6px;padding:4px 8px;}
#calc-results .preview-arm-price {margin-top:14px;font-size:12px;color:var(--preview-muted);}
#calc-results .preview-arm-price strong {color:var(--preview-ink);white-space:nowrap;}
#calc-results .calc-series-tab { display:flex; flex-direction:column; align-items:stretch; gap:8px; width:100%; padding:18px; background:transparent; border:0; text-align:left; color:var(--preview-ink); border-radius:0; }
#calc-results .calc-series-pill { align-self:flex-start; font-size:17px; padding:7px 15px; border:0; background:#168af0; color:white; border-radius:8px; }
#calc-results .calc-series-pill--pro { background:#058fb0; }
#calc-results .calc-series-tab-desc { min-height:42px; font-size:13px; line-height:1.6; color:var(--preview-muted); }
#calc-results .preview-product { display:block; height:110px; overflow:hidden; border-radius:10px; background:#fff; }
#calc-results .preview-product img { width:100%; height:108px; object-fit:contain; }
#calc-results .preview-product .calc-result-card-media { width:100%; max-width:none; margin:0; }
#calc-results .preview-facts { display:block; width:100%; }
#calc-results .preview-fact { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:9px 0; border-bottom:1px solid var(--preview-line); font-size:12px; }
#calc-results .preview-fact > span { color:var(--preview-muted); }
#calc-results .preview-fact strong { text-align:right; font-size:15px; font-weight:700; }
#calc-results .preview-open { color:var(--preview-accent); font-size:12px; }
#calc-results .calc-series-tab-price-meta { color:var(--preview-muted); font-size:11px; letter-spacing:.04em; }
#calc-results .calc-series-tab-price { font-size:25px; line-height:1.3; color:var(--preview-ink); }
#calc-results .calc-operator-post { border-top:1px solid var(--preview-line); padding:14px 18px; background:transparent; }
#calc-results .calc-result-card { border:1px solid var(--preview-line); background:var(--preview-card); border-radius:16px; padding:22px; margin-top:20px; box-shadow:none; }
#calc-results .calc-result-card-title { font-size:17px; line-height:1.55; overflow-wrap:anywhere; }
#calc-results .calc-result-card-brief-text { font-size:13px; line-height:1.85; color:var(--preview-muted); }
#calc-results .calc-result-card-section-title { font-size:16px; }
#calc-results .calc-results-system-totals { border:1px solid var(--preview-line); border-radius:12px; padding:14px; background:var(--preview-card); margin-bottom:18px; }
#calc-results .calc-cluster-banner,#calc-results .calc-operator-post-in-card { border-radius:12px; border-color:var(--preview-line); }
#calc-results .calc-results-note { color:var(--preview-muted); font-size:12px; line-height:1.7; }
#calc-results .calc-operator-post-addon--in-tab { padding:14px 18px; border:0; border-top:1px solid var(--preview-line); background:transparent; border-radius:0; }
#calc-results .calc-operator-post-in-tab-line {display:flex;flex-wrap:wrap;gap:7px;align-items:center;white-space:normal;color:var(--preview-muted);}
#calc-results .calc-operator-post-in-tab-total {border-top:1px solid var(--preview-line);margin-top:12px;padding-top:12px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;}
#calc-results .calc-operator-post-in-tab-total-price {font-size:18px;color:var(--preview-ink);}
#calc-results button:focus-visible { outline:3px solid var(--preview-accent); outline-offset:3px; }
@media(max-width:1000px) { #calc-results { padding:14px; } #calc-results .calc-series-tab {padding:14px;} #calc-results .preview-fact {flex-direction:column;gap:4px;} }
@media(max-width:760px) { #calc-results .calc-results-series-tabs {grid-template-columns:1fr;} }

/* Readable detail cards, using the existing presentation data and controls. */
#calc-results .preview-detail-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 18px;}
#calc-results .preview-detail-facts > div {padding:12px 14px;border:1px solid var(--preview-line);border-radius:9px;background:var(--preview-bg);min-width:0;}
#calc-results .preview-detail-facts dt {font-size:12px;line-height:1.5;color:var(--preview-muted);margin-bottom:5px;}
#calc-results .preview-detail-facts dd {font-size:14px;line-height:1.6;color:var(--preview-ink);font-weight:600;margin:0;overflow-wrap:anywhere;}
#calc-results .calc-copy-inline--brief {display:block;position:relative;padding-right:0;}
#calc-results .calc-copy-inline--brief > button {position:absolute;top:-32px;right:0;}
#calc-results .calc-result-card-hero {grid-template-columns:minmax(170px,.7fr) minmax(0,1.6fr);gap:24px;align-items:start;}
#calc-results .calc-result-card-section-title {font-size:17px;margin-bottom:14px;}
#calc-results .calc-result-card-title {font-size:19px;line-height:1.5;}
#calc-results .calc-cluster-sku-details {margin:12px 0;}
#calc-results .calc-cluster-spec-sku {font-size:12px;line-height:1.8;overflow-wrap:anywhere;white-space:normal;}
#calc-results .calc-result-card-price-top {padding:14px;border-radius:10px;margin:16px 0;}
#calc-results .calc-cluster-banner {padding:18px;margin:22px 0;background:var(--preview-bg);border:1px solid var(--preview-line);}
#calc-results .calc-cluster-banner-text {font-size:14px;line-height:1.75;color:var(--preview-muted);}
#calc-results .calc-cluster-banner-title {font-size:16px;line-height:1.6;}
#calc-results .calc-card-specs-more > summary {padding:14px 16px;font-size:14px;font-weight:600;line-height:1.5;}
#calc-results .calc-spec-table__row {padding:12px 10px;font-size:14px;line-height:1.6;gap:18px;}
#calc-results .calc-spec-table__label {color:var(--preview-muted);}
#calc-results .calc-spec-table__value {overflow-wrap:anywhere;color:var(--preview-ink);}
#calc-results .calc-operator-post-product {padding:22px;border:1px solid var(--preview-line);background:var(--preview-card);border-radius:14px;margin-top:24px;}
#calc-results .calc-operator-post-product .calc-result-card-title {font-size:17px;}
#calc-results .calc-operator-post-product .calc-result-card-hero {margin-top:20px;}
#calc-results .calc-operator-post-product button {white-space:normal;line-height:1.5;}
#calc-results .calc-operator-post-product-specs {margin-top:20px;}
#calc-results .calc-operator-monitor-offer {padding:16px;}
#calc-results .preview-arm-title {font-size:21px;line-height:1.5;margin:0 0 12px;}
#calc-results .preview-arm-unit-price {display:flex;justify-content:space-between;gap:12px;color:var(--preview-muted);font-size:14px;margin-top:16px;}
#calc-results .preview-arm-unit-price strong {color:var(--preview-ink);}
#calc-results .preview-arm-total-label {margin-top:12px;color:var(--preview-muted);font-size:13px;}
#calc-results .calc-result-card-hero-info {display:contents;}
#calc-results .calc-result-card-hero-info > * {grid-column:2;min-width:0;}
#calc-results .calc-result-card-hero-info > .calc-result-card-brief {grid-column:1 / -1;}
#calc-results .calc-result-card-hero-media,#calc-results .calc-operator-post-hero-media-col {grid-column:1;grid-row:1 / span 2;}
@media(max-width:1100px) {
 #calc-results .calc-result-card-hero {grid-template-columns:1fr;}
 #calc-results .calc-result-card-hero-media,#calc-results .calc-operator-post-hero-media-col {max-width:320px;width:100%;}
 #calc-results .calc-result-card-hero-info > * {grid-column:1;}
 #calc-results .calc-result-card-hero-media,#calc-results .calc-operator-post-hero-media-col {grid-row:auto;}
}
@media(max-width:600px) {
 #calc-results .preview-detail-facts {grid-template-columns:1fr;}
 #calc-results .calc-result-card,#calc-results .calc-operator-post-product {padding:14px;}
 #calc-results .calc-spec-table__row {display:flex;flex-direction:column;gap:5px;}
}

/* Compact lower specification. Comparison cards above are unchanged. */
#calc-results .calc-result-card-hero {display:flow-root;}
#calc-results .calc-result-card-hero-info {display:contents;}
#calc-results .calc-result-card-hero-media,#calc-results .calc-operator-post-hero-media-col {float:left;width:170px;max-width:30%;margin:0 18px 12px 0;}
#calc-results .calc-result-card-brief {clear:both;}
#calc-results .preview-detail-facts {gap:0 20px;margin:8px 0 10px;}
#calc-results .preview-detail-facts > div {display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border:0;border-bottom:1px solid var(--preview-line);border-radius:0;background:transparent;}
#calc-results .preview-detail-facts dt {flex:0 1 44%;font-size:12px;line-height:1.5;margin:0;}
#calc-results .preview-detail-facts dd {flex:1;min-width:0;font-size:13px;line-height:1.5;text-align:right;font-weight:500;}
#calc-results .calc-result-card-section-title {margin-bottom:8px;font-size:16px;}
#calc-results .calc-result-card-title {font-size:17px;line-height:1.4;}
#calc-results .calc-result-card-price-top {padding:10px;margin:10px 0;}
#calc-results .preview-arm-title {font-size:18px;margin:0 0 8px;}
#calc-results .preview-arm-unit-price {margin-top:10px;font-size:13px;}
#calc-results .preview-arm-total-label {margin-top:6px;font-size:12px;}
#calc-results .calc-cluster-banner {margin:14px 0;padding:14px;}
#calc-results .calc-operator-post-product {margin-top:16px;padding:16px;}
#calc-results .calc-operator-post-product .calc-result-card-hero {margin-top:12px;}
#calc-results .calc-operator-post-product-specs {margin-top:12px;}
@media(min-width:1101px) {
 #calc-results .preview-detail-facts {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:1100px) {
 #calc-results .calc-result-card-hero-info {grid-column:1;}
 #calc-results .calc-result-card-hero-media,#calc-results .calc-operator-post-hero-media-col {max-width:230px;}
}
@media(max-width:600px) {
 #calc-results .preview-detail-facts {grid-template-columns:1fr;}
 #calc-results .preview-detail-facts dt {flex-basis:42%;}
 #calc-results .calc-result-card-hero-media,#calc-results .calc-operator-post-hero-media-col {float:none;max-width:100%;width:170px;margin-bottom:10px;}
}

/* Explicit photo/info columns; do not rely on floats or display:contents. */
#calc-results .calc-result-card-hero {display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px 20px;align-items:start;}
#calc-results .calc-result-card-hero-info {display:block;grid-column:2;min-width:0;width:auto;clear:none;}
#calc-results .calc-result-card-hero-info > * {clear:none;max-width:100%;}
#calc-results .calc-result-card-hero > .calc-result-card-hero-media,
#calc-results .calc-result-card-hero > .calc-operator-post-hero-media-col {float:none;grid-column:1;grid-row:1;width:170px;max-width:100%;margin:0;}
#calc-results .calc-operator-post-hero-media-col .calc-result-card-hero-media {float:none;width:100%;max-width:100%;margin:0 0 10px;}
#calc-results .calc-result-card-hero-media-col {grid-column:1;grid-row:1;min-width:0;}
#calc-results .calc-result-card-hero-media-col .calc-result-card-hero-media {float:none;width:100%;max-width:100%;margin:0 0 10px;}
#calc-results .calc-result-card-hero .calc-server-product-photo,
#calc-results .calc-result-card-hero .calc-server-visual {width:100%;max-width:100%;}
#calc-results .calc-result-card-hero .calc-result-card-title-wrap {margin-top:0;width:auto;clear:none;}
#calc-results .calc-result-card-hero .calc-result-card-title {margin-top:0;}
#calc-results .preview-detail-facts {grid-template-columns:1fr;}

/* Dense comparison overview, without reserved empty row heights. */
#calc-results .calc-series-tab {padding:14px 16px;gap:6px;}
#calc-results .calc-series-tab-desc {min-height:0;font-size:12px;line-height:1.5;}
#calc-results .preview-product {height:82px;margin:2px 0;}
#calc-results .preview-product img {height:80px;}
#calc-results .preview-image-count {bottom:5px;right:6px;}
#calc-results .preview-fact {min-height:0;padding:8px 0;font-size:12px;line-height:1.5;gap:12px;}
#calc-results .preview-fact strong {font-size:14px;}
#calc-results .calc-series-tab-price-meta {padding-top:4px;}
#calc-results .calc-series-tab-price {font-size:23px;}
#calc-results .calc-operator-post-addon--in-tab {padding:12px 16px;}
#calc-results .preview-arm-heading {margin-bottom:8px;}
#calc-results .preview-arm-controls label {gap:5px;}
#calc-results .preview-arm-controls label span {min-height:0;}
#calc-results .preview-arm-price {margin-top:10px;}
#calc-results .calc-operator-post-in-tab-total {margin-top:8px;padding-top:8px;}
@media(min-width:761px) {
 #calc-results .preview-facts {display:grid;grid-template-rows:repeat(4,minmax(36px,auto));}
}
@media(max-width:650px) {
 #calc-results .calc-result-card-hero {grid-template-columns:110px minmax(0,1fr);gap:12px;}
 #calc-results .calc-result-card-hero > .calc-result-card-hero-media,
 #calc-results .calc-result-card-hero > .calc-operator-post-hero-media-col {width:110px;}
 #calc-results .calc-result-card-hero-info .calc-result-card-brief {margin-top:12px;}
}
@media(max-width:460px) {
 #calc-results .calc-result-card-hero {grid-template-columns:minmax(0,1fr);}
 #calc-results .calc-result-card-hero-info {grid-column:1;grid-row:2;}
 #calc-results .calc-result-card-hero-media-col {width:110px;}
 #calc-results .calc-result-card-hero > .calc-result-card-hero-media,
 #calc-results .calc-result-card-hero > .calc-operator-post-hero-media-col {width:90px;}
 #calc-results .calc-result-card-title {font-size:14px;}
 #calc-results .preview-detail-facts > div {flex-direction:column;gap:4px;}
 #calc-results .preview-detail-facts dd {text-align:left;}
}

/* Sales actions belong to the price of each offered configuration. */
#calc-results .calc-series-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px 14px}#calc-results .calc-series-quick-actions .btn{display:flex;align-items:center;justify-content:center;min-width:0;min-height:40px;padding:9px 10px;font-size:13px;line-height:1.25;white-space:normal;text-align:center;text-decoration:none}#calc-results .calc-series-tab{padding:14px 14px 10px;gap:5px}#calc-results .calc-series-tab-price{font-size:23px}#calc-results .preview-fact{padding-block:7px;min-height:0}#calc-results .preview-fact>span{font-size:12px}#calc-results .preview-fact strong{font-size:14px}#calc-results .calc-series-tab-desc{font-size:12px;line-height:1.4}#calc-results .preview-product{height:76px}#calc-results .preview-product img{height:74px}#calc-results .calc-result-card-actions--top{display:grid;grid-template-columns:1fr 1fr;margin:12px 0 14px;padding:0;border:0;gap:8px}#calc-results .calc-result-card-actions--top .btn{min-height:40px;font-size:13px;white-space:normal;text-align:center;justify-content:center}#calc-results .calc-result-card-hero-info{min-width:0}#calc-results .calc-result-card-price-top{margin-block:8px}#calc-results .calc-result-card-toolbar{padding-block:12px}#calc-results .calc-series-tab-panel{align-self:start}
@media(max-width:650px){#calc-results .calc-results-series-tabs{grid-template-columns:1fr}#calc-results .calc-series-quick-actions .btn{min-height:44px;font-size:14px}}

/* Comparison cards: keep the complete decision and actions visible on laptop screens. */
@media(min-width:901px){
 #calc-results .calc-series-tab{padding:12px 14px 8px;gap:4px;min-height:0}
 #calc-results .calc-series-pill{padding:7px 12px;font-size:16px;line-height:1.2}
 #calc-results .preview-product{height:58px;margin:0}
 #calc-results .preview-product img{height:56px}
 #calc-results .preview-facts{grid-template-rows:repeat(4,minmax(29px,auto))}
 #calc-results .preview-fact{padding:5px 0;line-height:1.35}
 #calc-results .preview-open{display:none}
 #calc-results .calc-series-tab-price-meta{padding-top:3px;margin:0;line-height:1.2}
 #calc-results .calc-series-tab-price{font-size:23px;line-height:1.2;margin:0}
 #calc-results .calc-operator-post-addon--in-tab{padding:8px 14px;gap:0;line-height:1.3}
 #calc-results .preview-arm-heading{margin:0 0 6px;line-height:1.3}
 #calc-results .preview-arm-controls{gap:8px;max-width:none;width:100%}
 #calc-results .preview-arm-controls label{gap:3px}
 #calc-results .preview-arm-controls label span{font-size:11px;min-height:0;line-height:1.3}
 #calc-results .preview-arm-controls select{height:30px;min-height:30px;padding:4px 7px;font-size:13px}
 #calc-results .preview-arm-price{margin:7px 0 0;line-height:1.3}
 #calc-results .calc-operator-post-in-tab-total{margin:6px 0 0;padding:6px 0 0;line-height:1.3}
 #calc-results .calc-series-quick-actions{margin:4px 0 0;padding:0 14px 8px;gap:8px}
 #calc-results .calc-series-quick-actions .btn{min-height:36px;padding:7px 9px;font-size:13px}
 #calc-results .calc-series-more{min-height:32px;margin:0 14px 10px;width:calc(100% - 28px);padding:6px 9px;font-size:13px;line-height:1.3}
}

/* Two rows of key facts leave room for all actions at desktop width. */
@media(min-width:1200px){#calc-results .preview-facts{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(34px,auto));column-gap:16px}#calc-results .preview-fact{min-width:0}#calc-results .preview-fact>span{min-width:0}#calc-results .preview-fact strong{min-width:0;max-width:55%}}

/* Explanatory text shares the inset of its surrounding cards. */
#calc-results .calc-results-note,#calc-results>.fineprint,#calc-results>.muted{box-sizing:border-box;padding:10px 16px;margin:8px 0 0;line-height:1.5;overflow-wrap:anywhere}
.assistant-content>.fineprint,.assistant-content>.muted{padding-inline:16px}

/* Separate adjacent summary columns without adding height. */
@media(min-width:1200px){#calc-results .preview-facts{column-gap:0}#calc-results .preview-fact:nth-child(odd){padding-right:16px}#calc-results .preview-fact:nth-child(even){padding-left:16px;border-left:1px solid var(--border,#c4d3e6)}}

/* ARM R15: accessible disclosure and explicit display mode. */
.arm-view-mode{padding:12px 14px;margin:12px 0;border:1px solid #abc9e9;border-radius:10px;background:var(--surface,#f4f8ff);color:inherit;font-size:13px;line-height:1.5}.arm-view-mode label{display:block;font-weight:600}.arm-view-mode select{display:block;width:100%;max-width:580px;padding:8px;margin:6px 0;border:1px solid #a5bdd9;border-radius:6px;color:inherit;background:var(--surface,#fff)}.arm-view-mode summary{cursor:pointer;color:var(--accent,#0879c7)}.arm-view-mode table{width:100%;border-collapse:collapse;margin:8px 0}.arm-view-mode td,.arm-view-mode th{padding:5px;text-align:left;border-bottom:1px solid #cddbeb}.arm-view-mode p{margin:7px 0}.arm-capacity-note{font-size:12px;line-height:1.45;padding:8px 0;max-width:100%;white-space:normal;color:inherit}html[data-theme=dark] .arm-view-mode,body.theme-dark .arm-view-mode{background:#222b35;border-color:#52647a}html[data-theme=dark] .arm-view-mode select,body.theme-dark .arm-view-mode select{background:#20252b;color:#edf3fb}

body.arm-workstation-mode .calc-ws-video-server-only,body.arm-workstation-mode .calc-row--expert-media-filters,body.arm-workstation-mode .calc-expert-archive-head{display:none!important}.arm-view-fields{padding-top:12px}.arm-view-config-title{font-size:12px;font-weight:600}.arm-view-heading{font-size:16px;font-weight:650;margin-bottom:8px}.arm-view-mode label{margin-bottom:9px}.arm-mode-result{padding:8px 0;line-height:1.5}.arm-view-mode input[data-arm-view-count]{display:block;width:110px;max-width:100%;padding:8px;margin-top:5px;border:1px solid #a5bdd9;border-radius:6px;color:inherit;background:var(--surface,#fff)}
