/* CPQ version 3 preview. Only applies when the preview is on (body.cpq-v3, see V3 in app.js). */

/* Calmer, larger headings and softer cards, like a product page. */
.cpq-v3 .quote-cart{border-radius:16px;padding:24px 26px}
.cpq-v3 .quote-cart-head h2{font-size:28px;line-height:34px;letter-spacing:-.01em}
.cpq-v3 .inspector-heading h2{font-size:24px;line-height:30px;letter-spacing:-.01em}
.cpq-v3 .config-visual .visual-card{border-radius:16px}
.cpq-v3 .app-main .btn{border-radius:999px}
.cpq-v3 .config-visual .tabs{border-radius:999px;padding:3px;gap:2px}
.cpq-v3 .config-visual .tabs .tab{border-radius:999px}

/* Readiness: one segment per shade. */
.v3-ready{display:flex;flex-direction:column;gap:8px;padding:14px 0 4px}
.v3-ready-bar{display:flex;gap:4px}
.v3-ready-bar i{flex:1;height:6px;border-radius:2px;background:#2f5d3a}
.v3-ready-bar i.open{background:#b7791f}
.v3-ready p{margin:0;font-size:14px;color:var(--ink,#1b1d1c)}
.v3-ready .btn-link{font-size:14px;font-weight:600;margin-left:4px}

/* A shade drawn in its own frame and fabric colours. */
.v3-mini{position:relative;display:block;width:64px;height:52px;border-radius:8px;background:#f3f2ee;box-shadow:inset 0 0 0 1px #e2dfd7;overflow:hidden;flex:none}
.v3-mini i{position:absolute;display:block}
.v3-mini .v3-hb{left:8px;right:8px;top:7px;height:7px;background:var(--frame);box-shadow:inset 0 0 0 1px rgba(27,29,28,.15)}
.v3-mini .v3-tl,.v3-mini .v3-tr{top:14px;width:3px;height:31px;background:var(--frame)}
.v3-mini .v3-tl{left:8px}.v3-mini .v3-tr{right:8px}
.v3-mini .v3-fb{left:11px;right:11px;top:14px;height:24px;background-color:var(--fabric);background-image:linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:3px 3px}
.v3-mini .v3-hem{left:11px;right:11px;top:37px;height:3px;background:var(--frame)}
.v3-mini-open .v3-fb{background:repeating-linear-gradient(135deg,#efede7 0 4px,#e2dfd7 4px 5px)}
.v3-status{font-size:12px;font-weight:600}
.v3-status-ready{color:#1e3f27}
.v3-status-open{color:#5c3900}
.cpq-v3 .quote-cart-item.v3-open{background:#fff7e6;margin:0 -12px;padding-left:12px;padding-right:12px;border-radius:10px}

/* The slim bar while a shade is open. */
.v3-shade-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px 16px}
.v3-shade-title{display:flex;flex-direction:column;min-width:0}
.v3-shade-title small{font-size:12px;color:var(--muted,#5c625f)}
.v3-shade-title .cpq-header-title{font-size:24px;line-height:30px;margin:0;overflow-wrap:anywhere}
.v3-shade-title span{font-size:13px;color:var(--muted,#5c625f)}
.v3-shade-price{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}

/* Installation picture cards. */
.v3-mounts{border:0;padding:0;margin:18px 0 6px;min-width:0}
.v3-mounts legend{font-size:20px;line-height:26px;font-weight:600;padding:0;margin-bottom:12px}
.v3-mounts legend span{color:#5f665f}
.v3-mount-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.v3-mount{display:flex;flex-direction:column;gap:6px;align-items:stretch;text-align:left;background:#fff;border:1px solid #cfcbc1;border-radius:14px;padding:10px;min-height:44px;cursor:pointer;font:inherit;color:inherit}
.v3-mount svg{width:100%;height:auto;aspect-ratio:248/100;display:block;border-radius:8px;overflow:hidden}
.v3-mount span{font-size:13px;line-height:17px;font-weight:500}
.v3-mount.on{border:2px solid #2f5d3a;padding:9px;background:#f1f6f2}
.v3-mount.on span{color:#1e3f27;font-weight:600}
.v3-mount-note{margin:10px 0 0;font-size:13px;line-height:19px;color:var(--muted,#5c625f)}

/* Section at the head, under the drawing. */
.v3-section{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;align-items:center;margin:12px 0 0;padding:12px;background:#fff;border:1px solid #e2dfd7;border-radius:12px}
.v3-section svg{width:260px;height:auto;aspect-ratio:248/100;display:block;border-radius:6px}
.v3-section figcaption{display:flex;flex-direction:column;gap:3px;font-size:13px;line-height:19px;color:var(--muted,#5c625f)}
.v3-section figcaption strong{color:var(--ink,#1b1d1c);font-size:14px}

/* AR, until the 3D configurator arrives. */
.v3-ar{min-height:260px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:28px;background:#1f2321;color:#fff;border-radius:12px}
.v3-ar strong{font-size:22px}
.v3-ar p{margin:0;max-width:420px;color:#c9cec9;font-size:14px;line-height:21px}

@media (max-width:640px){
  .cpq-v3 .quote-cart{padding:18px 16px}
  .cpq-v3 .quote-cart-item .v3-mini{grid-area:thumb;width:56px;height:46px}
  .v3-shade-head{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"back price" "title save";gap:8px 12px}
  .v3-shade-head>.btn-secondary{grid-area:back;justify-self:start}
  .v3-shade-title{grid-area:title}
  .v3-shade-price{grid-area:price;justify-self:end}
  .v3-shade-head>.btn-primary{grid-area:save}
  .v3-mount-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .v3-section{grid-template-columns:minmax(0,1fr)}
  .v3-section svg{width:100%}
}

/* Step 2: one big view of the shade beside one column of choices (Size, Fabric & colour, Operation, Review). */
.cpq-v3 .v3-config{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,500px);gap:40px;align-items:start}
.cpq-v3 .v3-config .config-side{position:sticky;top:16px}
.cpq-v3 .v3-config .visual-card{border-radius:18px}
.cpq-v3 .v3-choices{display:flex;flex-direction:column;gap:40px;padding:0;background:none;border:0;box-shadow:none}
.cpq-v3 .v3-block{scroll-margin-top:96px}
.cpq-v3 .v3-block+.v3-block{padding-top:32px;border-top:1px solid #e2dfd7}
.cpq-v3 .v3-heading{margin:0 0 14px}
.cpq-v3 .v3-heading h2{margin:0;font-size:24px;line-height:30px;font-weight:600;letter-spacing:-.01em}
.cpq-v3 .v3-heading h2 span{color:#5f665f;font-weight:600}
.cpq-v3 .v3-heading p{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--muted,#5c625f)}
.cpq-v3 .v3-heading h2:focus{outline:none}
.cpq-v3 .v3-heading h2:focus-visible{outline:2px solid #2f5d3a;outline-offset:4px;border-radius:4px}
.v3-system-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 14px 12px 12px;background:#fff;border:2px solid #2f5d3a;border-radius:14px}
.v3-system-row img{width:64px;height:48px;object-fit:cover;border-radius:8px}
.v3-system-row span{display:flex;flex-direction:column;gap:2px;min-width:0}
.v3-system-row strong{font-size:17px}
.v3-system-row small{font-size:13px;color:var(--muted,#5c625f);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cpq-v3 .v3-choices .option-row,.cpq-v3 .v3-choices .field input,.cpq-v3 .v3-choices .field select{border-radius:12px}
.cpq-v3 .v3-choices .btn{border-radius:999px}
@media (max-width:1100px){.cpq-v3 .v3-config{grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:28px}}
@media (max-width:860px){
  .cpq-v3 .v3-config{grid-template-columns:minmax(0,1fr);gap:24px}
  .cpq-v3 .v3-config .config-side{position:static}
  .cpq-v3 .v3-choices{gap:28px}
  .cpq-v3 .v3-block+.v3-block{padding-top:24px}
  .cpq-v3 .v3-heading h2{font-size:22px;line-height:28px}
}
/* Colour dots: the fabric's card and Crown's standard frame colours. */
.v3-swatches{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0 8px}
.v3-dot{position:relative;width:44px;height:44px;padding:0;border:0;border-radius:999px;overflow:hidden;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.v3-dot img{width:100%;height:100%;object-fit:cover;display:block}
.v3-dot.on{outline:2px solid #2f5d3a;outline-offset:3px}
.v3-dot:focus-visible{outline:2px solid #1b1d1c;outline-offset:3px}
.v3-frame{width:40px;height:40px}
.v3-swatch-note{margin:0 0 16px;font-size:14px;line-height:20px}
.v3-swatch-note span{color:var(--muted,#5c625f)}
@media (max-width:640px){.v3-swatches{gap:10px}.v3-dot{width:40px;height:40px}}
.v3-swatch-note .link-button{padding:0;border:0;background:none;color:#2f5d3a;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;cursor:pointer}

/* Step 3: the site visit (rooms and windows) and measuring one window. Phone first. */
.v3-start{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 24px;padding:18px 20px;background:#fff;border:1px solid #c9dccd;border-radius:16px}
.v3-start div{display:flex;flex-direction:column;gap:4px;max-width:560px}
.v3-start strong{font-size:18px}
.v3-start span{font-size:14px;line-height:20px;color:var(--muted,#5c625f)}
.v3-visit{max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:18px;padding-bottom:24px}
.v3-visit-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.v3-online{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:#3b403d;background:#efede7;padding:6px 10px;border-radius:999px}
.v3-online::before{content:'';width:7px;height:7px;border-radius:50%;background:#2f5d3a}
.v3-online.off::before{background:#8a5a12}
.v3-step-count{font-family:var(--mono,'IBM Plex Mono',monospace);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#5c625f}
.v3-visit-title{display:flex;flex-direction:column;gap:4px}
.v3-visit-title small{font-family:var(--mono,'IBM Plex Mono',monospace);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#5c625f}
.v3-visit-title h1{margin:0;font-size:32px;line-height:38px;font-weight:600;letter-spacing:-.02em}
.v3-visit-title h1:focus{outline:none}
.v3-visit-title span{font-size:15px;color:#5c625f}
.v3-visit-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.v3-visit-stats div{display:flex;flex-direction:column;gap:2px;padding:12px 14px;background:#fff;border:1px solid #e2dfd7;border-radius:14px}
.v3-visit-stats strong{font-family:var(--mono,'IBM Plex Mono',monospace);font-size:24px}
.v3-visit-stats span{font-size:12px;color:#5c625f}
.v3-visit-h{margin:4px 0 0;font-size:20px;font-weight:600}
.v3-visit-h span{color:#5f665f}
.v3-visit-empty{margin:0;font-size:14px;color:#5c625f}
.v3-rooms{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.v3-room{width:100%;display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:14px;align-items:center;text-align:left;padding:10px 14px 10px 10px;background:#fff;border:1px solid #e2dfd7;border-radius:14px;cursor:pointer;font:inherit;color:inherit}
.v3-room-open{border:2px solid #2f5d3a;padding:9px 13px 9px 9px}
.v3-room img,.v3-room-nophoto{width:76px;height:58px;border-radius:8px;object-fit:cover;background:#efede7;display:grid;place-items:center;color:#868e87}
.v3-room-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.v3-room-text strong{font-size:16px}
.v3-room-size{font-family:var(--mono,'IBM Plex Mono',monospace);font-size:13px;color:#3b403d}
.v3-room-text small{font-size:12px;color:#5c625f}
.v3-room-done{width:26px;height:26px;border-radius:999px;background:#2f5d3a;color:#fff;display:inline-grid;place-items:center}
.v3-room-done svg{width:14px;height:14px}
.v3-room-next{font-size:13px;font-weight:600;color:#1e3f27}
.v3-room-tag{font-size:12px;font-weight:600;color:#1e3f27;background:#f1f6f2;padding:4px 8px;border-radius:999px}
.v3-add-window{min-height:52px;border:1px dashed #868e87;background:transparent;border-radius:14px;font:inherit;font-size:15px;font-weight:500;color:#1e3f27;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.v3-visit-foot{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.v3-visit-foot .btn-primary{min-height:52px;border-radius:999px;font-size:16px;justify-content:center}
.v3-visit-foot small{font-size:12px;color:#5c625f;text-align:center}
.v3-photos{display:flex;gap:10px;overflow-x:auto;padding-bottom:2px}
.v3-photos figure{position:relative;margin:0;flex:none}
.v3-photos img{width:150px;height:112px;object-fit:cover;border-radius:12px;display:block;background:#efede7}
.v3-photo-remove{position:absolute;right:6px;top:6px;width:30px;height:30px;border:0;border-radius:999px;background:rgba(255,255,255,.92);display:grid;place-items:center;cursor:pointer}
.v3-photo-remove svg{width:14px;height:14px}
.v3-photo-add{flex:none;width:150px;height:112px;border:1px dashed #868e87;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:500;color:#1e3f27;cursor:pointer;position:relative}
.v3-photo-add input{position:absolute;inset:0;opacity:0;cursor:pointer}
.v3-photo-add:focus-within{outline:2px solid #2f5d3a;outline-offset:2px}
.v3-photo-missing{visibility:hidden}
.v3-points{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.v3-points legend{padding:0 0 8px;font-size:18px;font-weight:600;width:100%}
.v3-points legend span{color:#5f665f}
.v3-points legend b{float:right;font-size:13px;font-weight:500;color:#1e3f27}
.v3-point{display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #e2dfd7;border-radius:10px;padding:8px 10px}
.v3-point span{font-size:11px;color:#5c625f}
.v3-point input{border:0;padding:0;background:transparent;font-family:var(--mono,'IBM Plex Mono',monospace);font-size:16px;font-weight:600;width:100%;min-width:0}
.v3-point input:focus{outline:none}
.v3-point:focus-within{border:2px solid #2f5d3a;padding:7px 9px}
.v3-point input[aria-invalid="true"]{color:#a33a2a}
.v3-point.low{background:#f1f6f2;border-color:#c9dccd}
.v3-point.low span{color:#1e3f27}
.v3-points-hint{margin:-8px 0 0;font-size:12px;color:#5c625f}
.v3-choice-row{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.v3-choice-row legend{padding:0 0 8px;font-size:14px;font-weight:600}
.v3-pill{min-height:44px;padding:0 16px;border:1px solid #cfcbc1;background:#fff;border-radius:999px;font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.v3-pill.on{border:2px solid #2f5d3a;background:#f1f6f2;color:#1e3f27;font-weight:600;padding:0 15px}
.v3-dictate{margin-top:8px;border-radius:999px}
.v3-room-field input{font-size:18px}
@media (max-width:640px){.v3-visit-title h1{font-size:28px;line-height:34px}.v3-photos img,.v3-photo-add{width:132px;height:100px}}
.v3-room-todo{font-size:13px;color:#3b403d}

/* Step 4: Clark's suggestions, each with the button that makes the change. */
.v3-clark{margin:0 0 20px;padding:14px 16px;background:#fff;border:1px solid #c9dccd;border-radius:16px}
.v3-clark header{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.v3-clark-mark{width:28px;height:28px;border-radius:999px;background:#2f5d3a;color:#fff;display:inline-grid;place-items:center;flex:none}
.v3-clark-mark svg{width:14px;height:14px}
.v3-clark h2{margin:0;font-size:16px;font-weight:600}
.v3-clark header small{margin-left:auto;font-size:12px;color:#5c625f}
.v3-clark ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.v3-clark li{padding:10px 0;border-top:1px solid #efede7}
.v3-clark li:first-child{border-top:0;padding-top:4px}
.v3-clark p{margin:0;font-size:14px;line-height:21px}
.v3-clark li small{display:block;margin-top:4px;font-family:var(--mono,'IBM Plex Mono',monospace);font-size:12px;color:#5c625f}
.v3-clark-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.v3-clark-actions .btn{min-height:38px;border-radius:999px;font-size:13px}
.v3-clark-more{margin-top:6px}
.cpq-v3 #v3-clark-slot .v3-clark{margin:0}
.cpq-v3 #v3-clark-slot:empty{display:none}

/* Change shades (dist/bulk-change.js): tick shades, tick what to change, set it once. */
dialog.bulk-dialog{max-width:860px;height:min(860px,calc(100dvh - 48px))}
.bulk-dialog .dialog-body{display:flex;flex-direction:column;gap:22px}
.bulk-section{display:flex;flex-direction:column;gap:12px}
.bulk-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.bulk-section-head h3{font-size:15px;font-weight:600;letter-spacing:-.01em}
.bulk-section-head span{font-size:12px;color:var(--muted)}
.bulk-quick{display:flex;flex-wrap:wrap;gap:8px}
.bulk-chip{border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:7px 13px;font-size:12px;font-weight:600;color:var(--ink);min-height:34px}
.bulk-chip:hover{border-color:#8e968f}
.bulk-shades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bulk-shade{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);cursor:pointer;min-width:0;transition:border-color .15s,background .15s}
.bulk-shade.on{border-color:var(--green);background:#e7efe8}
.bulk-shade input,.bulk-part input{width:18px;height:18px;accent-color:var(--green);flex:none;margin:0}
.bulk-shade .v3-mini{width:48px;height:40px}
.bulk-shade-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.bulk-shade-text strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bulk-shade-text small{font-size:12px;color:var(--muted);line-height:1.45}
.bulk-shade-index{font-size:11px;letter-spacing:1px;color:var(--muted);font-variant-numeric:tabular-nums}
.bulk-parts{display:flex;flex-wrap:wrap;gap:8px}
.bulk-part{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:var(--paper);font-size:13px;font-weight:600;cursor:pointer;min-height:40px}
.bulk-part.on{border-color:var(--green);background:var(--green);color:var(--paper)}
.bulk-part.on input{accent-color:var(--paper)}
.bulk-part.off{opacity:.55;cursor:not-allowed;font-weight:500}
.bulk-part small{font-size:11px;font-weight:400;color:var(--muted)}
.bulk-value{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.bulk-value h4{font-size:13px;font-weight:600}
.bulk-size-row{display:grid;grid-template-columns:64px 150px minmax(0,1fr);align-items:center;gap:10px}
.bulk-size-row>label{font-size:13px;font-weight:600}
.bulk-size-row select,.bulk-pattern select{min-height:43px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 10px;font-size:13px}
.bulk-size-row .input-wrap{display:flex;gap:8px;align-items:center}
.bulk-size-row .input-wrap>input{max-width:150px;border-radius:8px}
.bulk-size-row .input-wrap .input-unit{position:static;order:0}
.bulk-size-row .fraction-select{min-height:43px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 8px}
.bulk-keep{font-size:12px;color:var(--muted)}
.bulk-preview{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.bulk-preview li{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:10px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.bulk-preview li span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.bulk-preview li strong{color:var(--green);font-weight:600}
.bulk-preview li.bulk-more{display:block}
.bulk-preview:empty{display:none}
.bulk-inline{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.bulk-inline input{width:96px;min-height:43px;border:1px solid var(--line);border-radius:8px;padding:0 12px;font-size:15px}
.bulk-options{display:flex;flex-wrap:wrap;gap:8px}
.bulk-opt{border:1px solid var(--line);border-radius:999px;padding:9px 15px;font-size:13px;font-weight:600;background:#fff;min-height:40px}
.bulk-opt.on{border-color:var(--green);background:var(--green);color:var(--paper)}
.bulk-now{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:0}
.bulk-now div{background:#f6f5f1;border-radius:8px;padding:8px 10px}
.bulk-now dt{font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted)}
.bulk-now dd{margin:3px 0 0;font-size:13px;font-weight:600}
.bulk-note{font-size:12px;color:var(--muted);line-height:1.6}
.bulk-gap{font-style:normal;color:#8a5a12}
.bulk-dialog .dialog-footer .btn{min-height:46px;padding:12px 20px;font-size:13px}
.bulk-dialog .dialog-footer .dialog-buttons .btn{border-radius:999px}
/* While picking on the pattern shade, the header says what is happening. */
.bulk-head{background:#e7efe8;border:1px solid #c9dccd;border-radius:16px;padding:14px 18px}
.bulk-head .v3-shade-title small{color:var(--green);font-weight:600}
@media (max-width:700px){
  dialog.bulk-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
  .bulk-shades{grid-template-columns:1fr}
  .bulk-size-row{grid-template-columns:1fr;gap:6px}
  .bulk-size-row .input-wrap>input{max-width:none;flex:1}
  .bulk-dialog .dialog-footer{flex-direction:column;align-items:stretch}
  .bulk-dialog .dialog-footer .dialog-buttons{display:grid;grid-template-columns:1fr 2fr}
}

/* Send to Crown on the order page: where this order stands with Crown's technical review, and what Crown needs first. */
.crown-status{margin:10px 0 0;font-size:13px;line-height:19px;color:var(--muted,#5c625f)}
.crown-status.ok{color:#2f5d3a}
.crown-status.todo{color:#8a4b12}
.crown-needs{margin:0;padding-left:18px;display:grid;gap:6px;font-size:14px;line-height:20px}

/* Phones and tablets put the drawing after the choices: a live copy of it rides at the top of the page (.v3-peek), a
   tap goes to the full drawing, and Back to the choices returns. Desktop shows the drawing beside the choices instead. */
.v3-peek,.v3-back-choices{display:none}
@media (max-width:980px){
  .cpq-v3 .v3-peek{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;margin:10px 0 4px;padding:8px 12px 8px 8px;border:1px solid #e2dfd7;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 6px 18px rgba(27,29,28,.08);text-align:left;font:inherit;color:inherit;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  .cpq-v3 .v3-peek:focus-visible{outline:3px solid #2f5d3a;outline-offset:2px}
  .v3-peek-art{display:block;width:96px;height:56px;border-radius:8px;overflow:hidden;background:#f6f5f1}
  .v3-peek-art svg{display:block;width:100%;height:100%;transform:scale(1.5)}
  .cpq-v3 .v3-peek.away{opacity:0;pointer-events:none;transform:translateY(-6px)}
  .cpq-v3 .v3-peek{transition:opacity .18s ease,transform .18s ease}
  @media (prefers-reduced-motion:reduce){.cpq-v3 .v3-peek{transition:none}}
  .v3-peek-text{display:flex;flex-direction:column;gap:2px;min-width:0}
  .v3-peek-text strong{font-size:14px;font-variant-numeric:tabular-nums}
  .v3-peek-text span{font-size:12px;line-height:16px;color:var(--muted,#5c625f);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .v3-peek-go{display:inline-flex;align-items:center;gap:2px;font-size:13px;font-weight:600;color:#2f5d3a;min-height:44px}
  .v3-peek-go .icon{width:16px;height:16px}
  .cpq-v3 .v3-back-choices{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;min-height:44px;font-weight:600}
}
/* The view tabs stay on one line on a phone: the four fit when tight, and scroll sideways if a font makes them wider. */
@media (max-width:640px){
  .cpq-v3 .visual-head{flex-wrap:wrap;row-gap:8px}
  .cpq-v3 .view-tools{flex-wrap:nowrap;width:100%;max-width:100%}
  .cpq-v3 .view-tools .tabs{flex:1 1 auto;flex-wrap:nowrap;min-width:0;overflow-x:auto;scrollbar-width:none}
  .cpq-v3 .view-tools .tabs::-webkit-scrollbar{display:none}
  .cpq-v3 .view-tools .tab{flex:1 0 auto;padding:7px 8px;min-height:40px;font-size:13px}
  .cpq-v3 .visual-head{position:relative}
  .cpq-v3 .visual-title{padding-right:100px}
  .cpq-v3 .view-tools .icon-btn{position:absolute;top:14px}
  .cpq-v3 .view-tools .icon-btn:nth-of-type(1){right:62px}
  .cpq-v3 .view-tools .icon-btn:nth-of-type(2){right:16px}
}

/* Each order line's build: motor, side, cable exit, installation, frame, options, gasket (cartSpecsHtml in app.js). */
.cart-specs{grid-column:2 / -1;margin:2px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px 18px;padding:12px 14px;background:#f6f5f1;border:1px solid #ebe8e0;border-radius:10px}
.cart-specs div{min-width:0;display:flex;flex-direction:column;gap:1px}
.cart-specs dt{font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted,#5c625f)}
.cart-specs dd{margin:0;font-size:13px;font-weight:500;color:var(--ink,#1b1d1c);line-height:1.4;overflow-wrap:anywhere}
.cart-specs .warn dd{color:#8a5a12;font-weight:600}
.quote-cart-item.v3-open .cart-specs{background:#fffdf6}
@media (max-width:640px){
  .quote-cart-item{grid-template-areas:"thumb text" "specs specs" "price edit"}
  .cart-line-actions{grid-area:acts}
  .cart-specs{grid-area:specs;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;padding:10px 12px}
}

/* Set aside and Remove on each line; the set-aside shades below the order. */
.cart-line-actions{grid-column:2 / -1;display:flex;gap:18px;align-items:center;margin-top:-4px}
.cart-line-actions .btn-link,.cart-aside-actions .btn-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0;font-size:13px;font-weight:600;color:var(--muted,#5c625f);text-decoration:none;background:none;border:0}
.cart-line-actions .btn-link:hover,.cart-aside-actions .btn-link:hover{color:var(--ink,#1b1d1c);text-decoration:underline}
.cart-line-actions .icon,.cart-aside-actions .icon{width:14px;height:14px}
.cart-line-actions .cart-remove:hover,.cart-aside-actions .cart-remove:hover{color:var(--error,#b4453c)}
.cart-aside{margin-top:18px;padding:16px 18px;border:1px dashed #cfcbc1;border-radius:14px;background:#faf9f6}
.cart-aside-head h3{font-size:15px;font-weight:600}
.cart-aside-head p{margin:4px 0 0;font-size:12px;color:var(--muted,#5c625f);line-height:1.5}
.cart-aside-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column}
.cart-aside-item{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #ebe8e0}
.cart-aside-item .v3-mini{width:56px;height:46px;opacity:.6}
.cart-aside-item .quote-cart-text strong{color:var(--muted,#5c625f)}
.cart-aside-price{font-size:14px;color:var(--muted,#5c625f);text-decoration:line-through;font-variant-numeric:tabular-nums}
.cart-aside-actions{display:flex;align-items:center;gap:14px}
.cart-aside-actions .btn{min-height:40px;border-radius:999px}
@media (max-width:640px){
  .cart-line-actions{grid-area:acts;margin-top:0}
  .cart-aside{padding:14px 12px}
  .cart-aside-item{grid-template-columns:48px minmax(0,1fr) auto;grid-template-areas:"thumb text price" "acts acts acts";row-gap:8px}
  .cart-aside-item .v3-mini{grid-area:thumb;width:48px;height:40px}
  .cart-aside-item .quote-cart-text{grid-area:text}
  .cart-aside-price{grid-area:price}
  .cart-aside-actions{grid-area:acts;justify-content:space-between}
}

/* Remotes, sensors & hubs on the order page and their picker (controlsPanelHtml / controlsDialog in app.js). */
.cart-controls{margin-top:18px;padding:16px 18px;border:1px solid #e2dfd7;border-radius:14px;background:#fff}
.cart-controls-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.cart-controls-head h3{font-size:15px;font-weight:600}
.cart-controls-head p{margin:4px 0 0;font-size:12px;color:var(--muted,#5c625f);line-height:1.5}
.cart-controls-head .btn{border-radius:999px;min-height:40px;flex:none}
.cart-control-list{list-style:none;margin:10px 0 0;padding:0}
.cart-control{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #ebe8e0}
.cart-control-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.cart-control-text strong{font-size:14px;font-weight:600}
.cart-control-text span{font-size:12px;color:var(--muted,#5c625f)}
.cart-control.invalid .cart-control-text span{color:#8a5a12;font-weight:600}
.cart-control .btn-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:13px;font-weight:600;color:var(--muted,#5c625f);background:none;border:0;padding:0}
.cart-control .btn-link:hover{color:var(--error,#b4453c)}
.cart-control .btn-link .icon{width:14px;height:14px}
.cart-control .stepper output,.ctl-card .stepper output{min-width:28px;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.cart-control .stepper button,.ctl-card .stepper button{width:36px;height:36px}
dialog.ctl-dialog{max-width:760px}
.ctl-dialog .dialog-body{display:flex;flex-direction:column;gap:20px}
.ctl-group{display:flex;flex-direction:column;gap:8px}
.ctl-group h3{font-size:14px;font-weight:600}
.ctl-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 14px;border:1px solid var(--line,#e2dfd7);border-radius:12px;background:var(--paper,#f6f5f1)}
.ctl-card.on{border-color:var(--green,#2f5d3a);background:#e7efe8}
.ctl-card-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.ctl-card-text strong{font-size:14px;font-weight:600}
.ctl-card-text small{font-size:12px;color:var(--muted,#5c625f)}
.ctl-card-text p{margin:2px 0 0;font-size:12px;line-height:1.5}
.ctl-fits{font-size:12px;color:var(--green,#2f5d3a);font-weight:600}
.ctl-card-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.ctl-card-side .btn{border-radius:999px;min-height:38px}
@media (max-width:640px){
  .cart-controls{padding:14px 12px}
  .cart-controls-head{flex-direction:column}
  .cart-control{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"text text" "qty price" "rm rm";row-gap:8px}
  .cart-control-text{grid-area:text}.cart-control .stepper{grid-area:qty;justify-self:start}.cart-control .quote-cart-price{grid-area:price}.cart-control .btn-link{grid-area:rm}
  dialog.ctl-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
  .ctl-card{grid-template-columns:1fr}
  .ctl-card-side{flex-direction:row;justify-content:space-between;align-items:center}
}

/* "Before Crown can review" on the order page: what's still needed to send it, each with the place to fix it. */
.crown-check{margin-top:16px;padding:16px 18px;border:1px solid #ecd9b5;border-radius:14px;background:#fffaf0}
.crown-check h3{display:flex;align-items:baseline;gap:10px;font-size:15px;font-weight:600}
.crown-check h3 span{font-size:12px;font-weight:600;color:#8a5a12}
.crown-check ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column}
.crown-check li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #f0e4cc}
.crown-check li div{display:flex;flex-direction:column;gap:2px;min-width:0}
.crown-check li strong{font-size:14px;font-weight:600}
.crown-check li span{font-size:13px;line-height:19px;color:var(--muted,#5c625f)}
.crown-check li em{font-style:normal;font-weight:600;color:#8a5a12}
.crown-check li .btn{min-height:40px;border-radius:999px}
.crown-check.ready{border-color:#cfe0d2;background:#f1f7f2}
.crown-check.ready p{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;color:#2f5d3a}
.crown-check.ready .icon{width:18px;height:18px}
/* Remotes: "No remotes, sensors or hubs" is a choice of its own. */
.ctl-none{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid #e2dfd7;border-radius:12px;background:#fff;text-align:left;font:inherit;color:inherit;cursor:pointer;min-height:56px}
.ctl-none .icon{width:18px;height:18px;color:var(--muted,#5c625f)}
.ctl-none span{display:flex;flex-direction:column;gap:2px}
.ctl-none strong{font-size:14px;font-weight:600}
.ctl-none small{font-size:12px;color:var(--muted,#5c625f)}
.ctl-none.on{border-color:var(--green,#2f5d3a);background:#e7efe8}
.ctl-none.on .icon{color:var(--green,#2f5d3a)}
@media (max-width:640px){.crown-check li{grid-template-columns:1fr}.crown-check li .btn{justify-self:start}}

/* Dropdown menus: the order's less-used actions (More) and each shade's ··· (Move to group, Set aside, Remove). */
.menu{position:relative;display:inline-block}
.menu>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.menu>summary::-webkit-details-marker{display:none}
.menu>summary .icon{width:16px;height:16px}
.menu[open]>summary .icon:last-child{transform:rotate(90deg)}
.menu-list{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:220px;max-width:min(320px,calc(100vw - 32px));padding:6px;border:1px solid #e2dfd7;border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(27,29,28,.14);display:flex;flex-direction:column}
.menu-list button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 10px;border:0;border-radius:8px;background:none;text-align:left;font:inherit;font-size:14px;color:var(--ink,#1b1d1c);cursor:pointer}
.menu-list button:hover,.menu-list button:focus-visible{background:#f3f1ec}
.menu-list button .icon{width:16px;height:16px;flex:none;color:var(--muted,#5c625f)}
.menu-list button[aria-checked="true"]{font-weight:600}
.menu-list button[aria-checked="true"] .icon{color:var(--green,#2f5d3a)}
.menu-list .cart-remove{color:var(--error,#b4453c)}
.menu-list .cart-remove .icon{color:inherit}
.menu-list hr{border:0;border-top:1px solid #ece9e1;margin:6px 4px}
.menu-label{margin:4px 10px 2px;font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted,#5c625f)}
.line-menu>summary.btn{min-height:40px;min-width:44px;justify-content:center;padding:0 12px;border-radius:999px}
.line-menu .menu-list{left:auto;right:0}
.cart-line-tools{display:flex;align-items:center;gap:8px}
@media (max-width:640px){.cart-line-tools{grid-area:edit;justify-self:end}}
.order-menu .menu-list{bottom:auto}
/* Groups on the order page. */
.quote-cart-list.grouped .cart-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:18px 0 8px;border-bottom:1px solid #e2dfd7;list-style:none}
.quote-cart-list.grouped .cart-group-head:first-child{padding-top:4px}
.cart-group-head h3{font-size:16px;font-weight:600}
.cart-group-head span{font-size:13px;color:var(--muted,#5c625f);font-variant-numeric:tabular-nums}
.cart-group-empty{list-style:none;padding:12px 0;font-size:13px;color:var(--muted,#5c625f)}
/* The groups dialog. */
dialog.groups-dialog{max-width:720px}
.groups-dialog .dialog-body{display:flex;flex-direction:column;gap:18px}
.grp-auto{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #cfe0d2;border-radius:12px;background:#f1f7f2}
.grp-auto p{margin:2px 0 0;font-size:13px;color:var(--muted,#5c625f)}
.grp{padding:14px 16px;border:1px solid #e2dfd7;border-radius:12px;background:#fff}
.grp-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.grp-name{flex:1;min-width:0;min-height:44px;padding:0 12px;border:1px solid #d7d3c9;border-radius:8px;font:inherit;font-size:15px;font-weight:600}
.grp-head .btn-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:13px;font-weight:600;color:var(--muted,#5c625f);background:none;border:0}
.grp-head .btn-link:hover{color:var(--error,#b4453c)}
.grp-head .btn-link .icon{width:14px;height:14px}
.grp-shades{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px}
.grp-shade{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 10px;border:1px solid #ece9e1;border-radius:10px;cursor:pointer}
.grp-shade:has(input:checked){border-color:var(--green,#2f5d3a);background:#e7efe8}
.grp-shade input{width:18px;height:18px;accent-color:#2f5d3a;flex:none}
.grp-shade span{display:flex;flex-direction:column;min-width:0}
.grp-shade strong{font-size:14px;font-weight:600}
.grp-shade small{font-size:12px;color:var(--muted,#5c625f);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grp-add label{display:block;margin-bottom:6px;font-size:13px;font-weight:600}
.grp-add div{display:flex;gap:10px}
.grp-add input{flex:1;min-width:0;min-height:44px;padding:0 12px;border:1px solid #d7d3c9;border-radius:8px;font:inherit}
@media (max-width:640px){
  .grp-auto{flex-direction:column;align-items:flex-start}
  .grp-add div{flex-direction:column}
  dialog.groups-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
  .order-menu .menu-list{left:0;right:auto}
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Shade name on the order page: click to rename in place. */
.cart-name{all:unset;cursor:text;display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:2px 4px;margin:-2px -4px;min-height:28px}
.cart-name svg{width:14px;height:14px;opacity:.45;flex:none}
.cart-name:hover{background:rgba(47,93,58,.08)}.cart-name:hover svg{opacity:.9}
.cart-name:focus-visible{outline:2px solid #2f5d3a;outline-offset:2px}
.cart-name-input{font:inherit;font-weight:600;width:min(100%,340px);padding:6px 10px;border:1px solid #2f5d3a;border-radius:8px;background:#fff;box-shadow:0 0 0 3px rgba(47,93,58,.15)}
@media (max-width:640px){.cart-name{min-height:44px}.cart-name svg{opacity:.7}.cart-name-input{width:100%;font-size:16px;min-height:44px}}
.cart-group-head h3{flex:1}
.cart-group-change{font-size:13px;white-space:nowrap}
@media (max-width:640px){.quote-cart-list.grouped .cart-group-head{flex-wrap:wrap}.cart-group-change{min-height:44px}}

/* Folding groups and the compact view. */
.cart-group-toggle{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:2px 4px;margin:-2px -4px;min-height:32px;font:inherit}
.cart-group-toggle svg{width:14px;height:14px;transition:transform .15s;transform:rotate(90deg);flex:none;opacity:.7}
.cart-group-head.folded .cart-group-toggle svg{transform:rotate(0)}
.cart-group-toggle:hover{background:rgba(47,93,58,.08)}
.cart-group-toggle:focus-visible{outline:2px solid #2f5d3a;outline-offset:2px}
.quote-cart.compact .quote-cart-item{padding-top:10px;padding-bottom:10px}
@media (max-width:640px){.cart-group-toggle{min-height:44px}}
@media (prefers-reduced-motion:reduce){.cart-group-toggle svg{transition:none}}
@media (max-width:640px){.quote-cart-list.grouped .cart-group-head{row-gap:0}.cart-group-change{flex-basis:100%;display:flex;align-items:center}}

/* Newsboard (newsboard.js): what's new or changing from Crown, where a dealer starts building. Replaces the photo banner. */
.newsboard{margin:0 0 28px;padding:22px 24px 24px;background:#fff;border:1px solid #e2dfd7;border-radius:16px}
.newsboard .nb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
.newsboard .nb-kicker{margin:0 0 6px;font-family:var(--crn-font-mono,ui-monospace,monospace);font-size:11px;letter-spacing:.12em;color:#5c625f}
.newsboard h2{margin:0;font-size:22px;line-height:28px;font-weight:550;letter-spacing:-.01em;color:#2e3431}
.newsboard .nb-sub{margin:6px 0 0;font-size:14px;line-height:20px;color:#5c625f;max-width:620px}
.newsboard .nb-sub.nb-attn{color:#7a4a00;font-weight:550}
.newsboard .nb-all{flex:none;font-size:13px;font-weight:550;color:#2f5d3a;text-decoration:none;padding:8px 2px;white-space:nowrap}
.newsboard .nb-all:hover{text-decoration:underline}
.nb-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nb-item{min-width:0}
.nb-link{position:relative;display:flex;flex-direction:column;gap:6px;height:100%;box-sizing:border-box;padding:16px 18px 14px;border:1px solid #e2dfd7;border-radius:12px;background:#fbfaf7;color:#2e3431;text-decoration:none;transition:border-color .15s,box-shadow .15s,background .15s}
.nb-link:hover{border-color:#b9c9bd;background:#fff;box-shadow:0 2px 10px #171b1912}
.nb-link:focus-visible{outline:2px solid #2f5d3a;outline-offset:2px}
.nb-must .nb-link{background:#fffaf0;border-color:#ebd29e;box-shadow:inset 3px 0 0 #d9a441}
.nb-tags{display:flex;gap:6px;flex-wrap:wrap}
.nb-type,.nb-flag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em;border:1px solid transparent}
.nb-type{background:#efede7;color:#4a504c}
.nb-launch .nb-type{background:#e7efe8;color:#2f5d3a;border-color:#c9dccd}
.nb-price_change .nb-type{background:#fbefe4;color:#8a4b14;border-color:#efcfae}
.nb-policy_change .nb-type{background:#e8eef6;color:#2d4b6e;border-color:#c8d6e8}
.nb-flag{background:#d9a441;color:#2e2100}
.nb-title{font-size:15px;line-height:21px;font-weight:600}
.nb-excerpt{font-size:13px;line-height:19px;color:#5c625f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nb-meta{display:flex;flex-wrap:wrap;gap:4px 7px;font-size:12px;color:#5c625f;margin-top:auto;padding-top:4px}
.nb-meta b{font-weight:600;color:#2e3431}
.nb-meta i{font-style:normal;color:#b5b8b2}
.nb-go{font-size:12px;font-weight:600;color:#2f5d3a}
.nb-link .nb-go{position:absolute;right:16px;top:15px;opacity:0;transition:opacity .15s}
.nb-link:hover .nb-go,.nb-link:focus-visible .nb-go,.nb-must .nb-link .nb-go{opacity:1}
.nb-must .nb-link .nb-go{color:#7a4a00}
.nb-empty{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 16px;border:1px dashed #d8d5cc;border-radius:12px;font-size:14px;color:#5c625f}
.nb-empty b{color:#2e3431}
.newsboard.nb-quiet{padding-bottom:20px}
.nb-loading li{height:112px;border-radius:12px;background:linear-gradient(90deg,#f3f2ee 25%,#faf9f6 50%,#f3f2ee 75%);background-size:200% 100%;animation:nb-shimmer 1.4s linear infinite}
.nb-loading li:nth-child(3){display:none}
@keyframes nb-shimmer{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.nb-loading li{animation:none}.nb-link{transition:none}}
.nb-strip{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:12px 16px;border:1px solid #ebd29e;border-radius:12px;background:#fffaf0;color:#2e3431;text-decoration:none;font-size:14px}
.nb-strip>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nb-strip small{color:#5c625f}
.nb-strip .nb-go{color:#7a4a00;white-space:nowrap}
.nb-strip:hover{border-color:#d9a441}
@media (max-width:760px){
  .newsboard{padding:18px 16px 18px;border-radius:14px}
  .newsboard .nb-head{flex-direction:column;gap:6px}
  .newsboard h2{font-size:19px;line-height:25px}
  .nb-list{grid-template-columns:1fr}
  .nb-link .nb-go{position:static;opacity:1;margin-top:2px}
  .nb-loading li:nth-child(n+2),.nb-list>.nb-item:nth-child(n+4){display:none}
  .nb-strip{flex-wrap:wrap}
  .nb-strip>span:nth-child(2){white-space:normal}
}
/* At Crown now: Clark's live line on the newsboard (backorders, the next closure), straight from CrownOS. */
.nb-live{list-style:none;margin:0 0 14px;padding:10px 14px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;border-radius:10px;background:#f6f5f1;border:1px solid #eceae3;font-size:13px;color:#2e3431}
.nb-live li{display:flex;align-items:baseline;gap:7px;min-width:0}
.nb-live b{font-weight:600;font-size:12px;letter-spacing:.02em}
.nb-live small{color:#5c625f}
.nb-live-mark{font-family:var(--crn-font-mono,ui-monospace,monospace);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#5c625f}
.nb-live-mark span{color:#2f5d3a;font-size:9px;animation:nb-pulse 2.4s ease-in-out infinite}
@keyframes nb-pulse{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.nb-live-mark span{animation:none}}
.nb-live-back b{color:#8a4b14}
.nb-live-closed b{color:#2d4b6e}
@media (max-width:760px){.nb-live{flex-direction:column;align-items:flex-start;gap:6px}}

/* Readable small text (WCAG AA contrast): the validity note at full strength. */
.validity small{opacity:1}
