/* Brand foundations shared by the native site and scoped WordPress previews. */
:root {
  --brand-ink: #231F20;
  --brand-green: #123835;
  --brand-paper: #F7F4EB;
  --brand-rust: #A63F23;
  --brand-white: #FFFFFF;
  --brand-display: "Instrument Serif", Georgia, serif;
  --brand-body: "Instrument Sans", Arial, sans-serif;
  --brand-code: "IBM Plex Mono", "Courier New", monospace;

  --ld-ink: var(--brand-green);
  --ld-deep: var(--brand-green);
  --ld-paper: var(--brand-paper);
  --ld-sheet: #fffdf7;
  --ld-line: #d8d9cc;
  --ld-rust: var(--brand-rust);
  --ld-muted: #465a52;
  --ld-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --ld-serif: "Instrument Serif", Georgia, serif;
  --ld-mono: "IBM Plex Mono", ui-monospace, monospace;
}
.ld-edition { color: var(--ld-ink); background: var(--ld-paper); font-family: var(--ld-sans); }
.ld-lead, .ld-facts { max-width: 1512px; margin: 0 auto; }
.ld-lead { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); align-items: stretch; }
.ld-lead-copy { padding: clamp(40px,5vw,84px) clamp(26px,4.4vw,72px); display: flex; flex-direction: column; justify-content: center; align-items: start; }
.ld-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 32px; color: var(--ld-muted); font: 600 11px/1.5 var(--ld-mono); text-transform: uppercase; letter-spacing: .14em; }
.ld-kicker::before { content: ""; width: 28px; height: 5px; border-block: 1px solid var(--ld-rust); }
.ld-edition .ld-lead .hero-h1 { margin: 0; color: var(--ld-ink); font: 600 clamp(56px,5.4vw,86px)/.99 var(--ld-sans) !important; letter-spacing: -.071em !important; text-transform: none; overflow-wrap: anywhere; text-wrap: balance; }
.ld-edition .hero-h1 em { display: block; font-family: var(--ld-serif); font-weight: 400; letter-spacing: -.038em; color: var(--ld-rust); }
.ld-intro { max-width: 47ch; font-size: clamp(16px,1.18vw,19px); line-height: 1.57; color: var(--ld-muted); margin: 23px 0 30px; }
.ld-actions, .ld-button, .ld-photo figcaption a { display: flex; align-items: center; }
.ld-actions { flex-wrap: wrap; gap: 12px 24px; }
.ld-edition .ld-button { min-height: 48px; gap: 24px; padding: 0 20px; border-radius: 3px; background: var(--ld-ink); color: white; font-weight: 650; text-decoration: none; }
.ld-edition .ld-button:hover { background: #204e48; }
.ld-edition .ld-textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--ld-ink); text-decoration: underline; text-underline-offset: 5px; }
.ld-edition .ld-photo { display: grid; grid-template-rows: minmax(0,1fr) auto; min-width: 0; min-height: clamp(425px,36vw,570px); margin: 0; background: #dcd7c5; position: relative; }
.ld-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.ld-photo figcaption { position: relative; grid-row: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 22px; background: var(--ld-deep); color: #f7f4eb; font: 500 12px/1.4 var(--ld-sans); }
.ld-photo figcaption a { color: white; gap: 10px; text-decoration: none; }
.ld-photo figcaption a:hover { text-decoration: underline; }
.ld-facts { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--ld-line); padding: 20px clamp(20px,4.4vw,72px); background: var(--ld-sheet); }
.ld-facts > div { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 16px; padding: 0 15px; border-left: 1px solid var(--ld-line); text-align: center; }
.ld-facts > div:first-child { border-left: 0; }
.ld-facts strong { font: 500 clamp(24px,2vw,32px)/1.15 var(--ld-sans); letter-spacing: -.055em; white-space: nowrap; }
.ld-facts small { font-size: .58em; letter-spacing: -.015em; }
.ld-facts > div > span { font: 500 12px/1.4 var(--ld-sans); color: var(--ld-muted); }
:where(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #bd602b; outline-offset: 3px; }
@media (max-width: 900px) {
  .ld-edition .ld-lead .hero-h1 { font-size: clamp(48px,6.3vw,62px) !important; }
  .ld-lead-copy { padding: 38px 24px; }
  .ld-photo figcaption { flex-wrap: wrap; padding-inline: 14px; }
  .ld-facts { padding-inline: 12px; }
}
@media (max-width: 680px) {
  .ld-lead { grid-template-columns: minmax(0,1fr); }
  .ld-lead-copy { padding: 34px 20px 26px; }
  .ld-kicker { margin-bottom: 18px; }
  .ld-intro { margin: 16px 0 19px; }
  .ld-edition .ld-photo { min-height: 0; aspect-ratio: 1.63; }
  .ld-photo figcaption { font-size: 11px; padding-block: 9px; }
  .ld-facts { padding: 14px 4px; }
  .ld-facts > div { display: grid; align-content: start; padding: 0 6px; }
  .ld-facts > div > span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.full-studio-frame{width:100%;height:clamp(680px,87vh,900px);display:block;border:1px solid var(--ld-line,#ccd2c6);border-radius:5px;background:#f7f4eb}.studio-grid[hidden]{display:none!important}
@media(max-width:700px){.full-studio-frame{height:84svh;min-height:590px}}

.site-header .brand-lockup img.ci-wordmark, .ci-wordmark { display:block; width:clamp(120px,11vw,148px); height:auto; max-width:none; object-fit:contain; }
.site-footer .ci-wordmark { width:158px; margin-bottom:16px; }
.ci-resources { display:flex; flex-wrap:wrap; gap:14px; margin:0 0 12px; }
.ci-resources a { color:var(--brand-white); font:500 13px/1.6 var(--brand-body); text-underline-offset:4px; }
.ld-edition .ld-button { background:var(--brand-rust); }
.s3d-brand-row > .ci-wordmark, .s3d-subbar-left > .ci-wordmark { width:120px; padding-right:12px; box-sizing:content-box; border-right:1px solid #ffffff4d; }
.studio-stock { display:flex; align-items:center; gap:9px; font:500 13px/1.4 var(--ld-sans); }
#s3dStockChip { inline-size:23px; block-size:23px; border-radius:50%; border:1px solid #0002; }
.studio-stock[hidden] {display:none!important}

/* Homepage uniform adviser */
.ci-brief {padding:0;width:min(552px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;border:1px solid #c5cbbf;border-radius:12px;color:var(--brand-ink);background:var(--brand-paper);box-shadow:0 20px 80px #102d2c42;font-family:var(--brand-body)}
.ci-brief::backdrop {background:#112a2899}
.ci-brief .brief-panel {display:flex;flex-direction:column;gap:12px;box-sizing:border-box;height:min(690px,calc(100dvh - 28px));padding:clamp(16px,3vw,26px)}
.brief-head {display:flex;align-items:center;justify-content:space-between}
.brief-head img {width:118px;height:auto}
.ci-brief button,.ci-brief textarea {font:inherit}
.ci-brief .brief-close {display:grid;place-items:center;width:40px;height:40px;padding:0;color:var(--brand-green);background:transparent;border:1px solid #c7cbc1;border-radius:50%;font:400 24px/1 Arial;cursor:pointer}
.ci-brief #briefTitle {margin:0;font:400 clamp(31px,5vw,42px)/1.05 var(--brand-display);letter-spacing:-.035em;color:var(--brand-green)}
.ci-brief .brief-thread {display:flex;flex-direction:column;align-items:flex-start;gap:13px;flex:1 1 auto;min-height:84px;overflow-y:auto;overscroll-behavior:contain;padding:14px 5px 10px 0;border-block:1px solid #cdd2c7}
.brief-message {max-width:90%;flex:none;color:var(--brand-ink)}
.brief-message strong {display:block;margin:0 0 4px;color:var(--brand-green);font:600 12px/1.2 var(--brand-body)}
.brief-message p {margin:0;padding:10px 13px;border-radius:2px 12px 12px;background:#e7ebe1;color:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font:400 15px/1.45 var(--brand-body)}
.brief-message[data-speaker=user] {align-self:flex-end}
.brief-message[data-speaker=user] strong {text-align:right}
.brief-message[data-speaker=user] p {background:var(--brand-green);color:white;border-radius:12px 2px 12px 12px}
.ci-brief .brief-chips {display:flex;gap:6px;flex-wrap:wrap}
.brief-chips button {border:1px solid #acb7aa;border-radius:18px;padding:6px 11px;background:transparent;color:var(--brand-green);font:500 13px/1.4 var(--brand-body);cursor:pointer}
.brief-chips button:hover {background:#e7ebe1}
.ci-brief .brief-compose {display:flex;align-items:stretch;gap:8px}
.ci-brief textarea {min-width:0;flex:1;min-height:44px;max-height:80px;box-sizing:border-box;resize:none;background:white;color:var(--brand-ink);padding:10px;border:1px solid #91a395;border-radius:5px;font:400 16px/1.4 var(--brand-body)}
.ci-brief .brief-primary {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:0;border-radius:4px;background:var(--brand-rust);color:white;font:600 14px/1.2 var(--brand-body);text-decoration:none;cursor:pointer}
.ci-brief button:disabled {opacity:.6;cursor:wait}
.ci-brief #briefStatus {margin:4px 0 0;font:400 13px/1.35 var(--brand-body)}
.ci-brief #briefStatus:empty {display:none}
.ci-brief #briefReview {padding:10px 12px;border:1px solid #b9c8b8;border-radius:5px;background:#f0f4e9}
.ci-brief #briefOverview,.ci-brief #briefPrice {display:block;font:600 14px/1.4 var(--brand-body);color:var(--brand-green)}
.ci-brief #briefNote {margin:2px 0 7px;font:400 13px/1.4 var(--brand-body)}
.ci-brief #briefReview a {min-height:34px;background:var(--brand-green)}
.ci-brief .brief-sr {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ci-brief [hidden] {display:none!important}
.ci-brief :focus-visible {outline:2px solid var(--brand-green);outline-offset:2px}
@media(max-height:560px){.ci-brief .brief-panel{height:auto;min-height:0;gap:6px}.ci-brief .brief-thread{flex:auto;height:26dvh}.ci-brief #briefReview{padding:6px 10px}}
.ld-designs{margin:0 0 22px;padding:18px;border:1px solid var(--ld-line);border-radius:6px;background:var(--ld-sheet)}
.ld-designs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.ld-designs-head strong{font:600 15px/1.3 var(--brand-body);color:var(--brand-green)}
.ld-designs-all{font:600 13px/1.3 var(--brand-body);color:var(--brand-rust);text-decoration:none}
.ld-designs-all:hover{text-decoration:underline}
.ld-designs-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
@media(max-width:1180px){.ld-designs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.ld-designs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ld-design-card{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid rgba(15,27,45,.08);border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.03),0 6px 20px -10px rgba(15,27,45,.10);transition:transform .24s ease,border-color .15s,box-shadow .24s ease}
.ld-design-card:hover{transform:translateY(-2px);box-shadow:0 2px 6px rgba(0,0,0,.05),0 18px 34px -16px rgba(15,27,45,.20)}
.ld-design-card.active{border-color:var(--brand-rust);box-shadow:0 0 0 2px rgba(166,63,35,.15)}
.ld-design-thumb{position:relative;aspect-ratio:1;background:radial-gradient(circle at 24% 18%,#dfddd8 0%,#c8c6c1 50%,#a9a7a2 100%);box-shadow:inset 0 -18px 26px rgba(0,0,0,.08);border-radius:10px;padding:10px;overflow:hidden;display:grid;place-items:center}
.ld-design-thumb img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(10px 15px 14px rgba(18,20,24,.30)) drop-shadow(2px 4px 6px rgba(18,20,24,.14));transition:transform .42s cubic-bezier(.22,1,.36,1),filter .42s ease}
.ld-design-card:hover .ld-design-thumb img{transform:scale(1.04);filter:drop-shadow(14px 20px 18px rgba(18,20,24,.36)) drop-shadow(3px 6px 8px rgba(18,20,24,.16))}
.studio-spin-pill{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);background:rgba(18,20,24,.58);color:#fff;font:600 10px/1.2 var(--brand-code);letter-spacing:.04em;padding:3px 9px;border-radius:999px;backdrop-filter:blur(6px);pointer-events:none;opacity:0;transition:opacity .22s ease;white-space:nowrap}
.ld-design-card:hover .studio-spin-pill,.product-card:hover .studio-spin-pill,.rw-card:hover .studio-spin-pill,.is-spinning .studio-spin-pill{opacity:1}
.ld-design-sku{display:block;font:600 10.5px/1.3 var(--brand-code);color:var(--brand-rust);letter-spacing:.04em}
.ld-design-meta h3{margin:2px 0;font:600 13.5px/1.25 var(--brand-body);color:var(--brand-green)}
.ld-design-meta p{margin:0;font:400 11.5px/1.35 var(--brand-body);color:var(--ld-muted)}
.ld-design-price{margin-top:4px;font:600 11.5px/1.3 var(--brand-code);color:var(--brand-green)}
.ld-design-actions{display:grid;gap:6px;margin-top:auto}
.ld-design-btn,.ld-design-buy{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 8px;border-radius:4px;font:600 12px/1.2 var(--brand-body);cursor:pointer;text-decoration:none}
.ld-design-btn{border:1px solid var(--brand-green);background:transparent;color:var(--brand-green)}
.ld-design-btn:hover{background:#eef2ec}
.ld-design-buy{border:0;background:var(--brand-rust);color:#fff}
.ld-design-buy:hover{background:#8c331b}
.brief-actions-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.brief-action-link{display:inline-flex;align-items:center;padding:6px 11px;border-radius:4px;background:var(--brand-rust);color:#fff;font:600 12.5px/1.2 var(--brand-body);text-decoration:none}
.brief-action-link:hover{background:#8c331b}
.brief-action-preview{padding:6px 10px;border:1px solid var(--brand-green);border-radius:4px;background:#fff;color:var(--brand-green);font:600 12.5px/1.2 var(--brand-body);cursor:pointer}
.brief-review-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center}


/* Rightway volume quotation */
.rw-quote { scroll-margin-top: 76px; color: var(--brand-green); background: #f5f3eb; border-bottom: 1px solid #d3d6ca; font: 15px/1.5 var(--brand-body); }
.rw-quote, .rw-quote * { box-sizing: border-box; }
.rw-quote [hidden], .rw-print-sheet { display: none !important; }
.rw-wrap { max-width: 1280px; margin: auto; padding: clamp(32px, 5vw, 72px) clamp(16px, 4.5vw, 64px); }
.rw-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 0 0 24px; }
.rw-quote .rw-label { margin: 0 0 8px; color: #984025; font: 650 11px/1.4 var(--brand-code); text-transform: uppercase; letter-spacing: .11em; }
.rw-heading h2 { margin: 0; font: 500 clamp(34px, 3.9vw, 60px)/1.03 var(--brand-display); letter-spacing: -.045em; color: inherit; }
.rw-heading > p { max-width: 350px; margin: 0; color: #4b5952; }
.rw-controls, .rw-order-fields { display: flex; align-items: end; gap: 14px 24px; flex-wrap: wrap; }
.rw-controls { padding: 16px 0 20px; border-top: 1px solid #c5cabe; }
.rw-controls > label:last-child { margin-left: auto; }
.rw-quote label, .rw-field-name { display: block; }
.rw-quote label > span, .rw-field-name { display: block; font: 600 12px/1.4 var(--brand-body); margin: 0 0 6px; }
.rw-quote input, .rw-quote select, .rw-quote button { font-family: var(--brand-body); }
.rw-quote input, .rw-quote select { display: block; max-width: 100%; height: 44px; min-width: 0; border: 1px solid #aab6aa; border-radius: 5px; padding: 0 10px; background: #fff; color: #153b35; font-size: 15px; }
.rw-quote input { width: 100px; }
.rw-quote [aria-invalid="true"] { border: 2px solid #a43520; }
.rw-bands { display: flex; flex-wrap: wrap; gap: 4px; }
.rw-quote button { cursor: pointer; }
.rw-bands button { min-height: 44px; padding: 7px 11px; border: 1px solid #b8c2b6; border-radius: 4px; background: transparent; color: #26433a; font-size: 13px; }
.rw-bands button[aria-pressed="true"] { background: #18463c; border-color: #18463c; color: white; }
.rw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rw-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fffdfa; border: 1px solid rgba(18, 56, 53, 0.14); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(18, 56, 53, 0.12); transition: transform 0.24s ease, box-shadow 0.24s ease; }
.rw-card:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 36px -16px rgba(18, 56, 53, 0.20); }
.rw-card.rw-active { border-color: #22604f; box-shadow: 0 0 0 1.5px #22604f, 0 12px 28px -12px rgba(18, 56, 53, 0.20); }
.rw-photo { position: relative; display: grid; place-items: center; height: clamp(168px, 19vw, 240px); padding: 14px; overflow: hidden; background: radial-gradient(circle at 24% 18%, #dfddd8 0%, #c8c6c1 50%, #a9a7a2 100%); box-shadow: inset 0 -20px 30px rgba(0, 0, 0, 0.08); }
.rw-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(12px 18px 16px rgba(18, 20, 24, 0.30)) drop-shadow(2px 4px 6px rgba(18, 20, 24, 0.14)); transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s ease; }
.rw-card:hover .rw-photo img { transform: scale(1.04); filter: drop-shadow(16px 24px 20px rgba(18, 20, 24, 0.36)) drop-shadow(3px 6px 8px rgba(18, 20, 24, 0.16)); }
.rw-no-photo { font: 500 28px var(--brand-code); color: #53705d; }
.rw-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.rw-card-body select { width: 100%; }
.rw-card-body .rw-sku { font-weight: 650; }
.rw-meta, .rw-scope { font-size: 13px; color: #4c5e54; line-height: 1.45; }
.rw-meta { margin: 7px 0 12px; }
.rw-scope { margin: 6px 0; }
.rw-price { margin-top: auto; padding: 10px 0; font-size: 13px; }
.rw-price strong { font: 550 clamp(24px, 2vw, 32px)/1.25 var(--brand-body); letter-spacing: -.045em; }
.rw-pick { min-height: 44px; border: 1px solid #8fa196; border-radius: 4px; background: white; color: #234b3f; font-weight: 650; }
.rw-pick[aria-pressed="true"] { background: #e3eee2; border-color: #53816c; }
.rw-message { margin: 12px 0 0; color: #8c321b; font-weight: 600; }
.rw-message:empty { display: none; }
.rw-order { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; margin-top: 22px; padding: clamp(18px, 2.7vw, 34px); border-radius: 8px; background: #143e36; color: white; }
.rw-order .rw-label { color: #c5dbb2; }
.rw-order h3 { margin: 0; font: 500 clamp(23px, 2.2vw, 36px)/1.15 var(--brand-display); color: inherit; }
.rw-order p { color: #d6e4d7; font-size: 13px; }
.rw-order-fields { gap: 12px; margin-top: 16px; }
.rw-receipt { border-left: 1px solid #658678; padding-left: clamp(16px, 2.2vw, 30px); }
.rw-receipt .rw-sub-label { margin: 0; color: #dce8d8; font-size: 14px; }
#rw-total { display: block; font: 500 clamp(32px, 3vw, 48px)/1.25 var(--brand-body); letter-spacing: -.055em; }
#rw-breakdown { margin: 3px 0 6px; }
#rw-terms { margin: 0; }
.rw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.rw-actions a, .rw-actions button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border-radius: 4px; padding: 8px 14px; font: 650 14px var(--brand-body); }
.rw-actions a { background: #f3eddd; color: #16382e; text-decoration: none; }
.rw-actions button { background: transparent; border: 1px solid #98afa2; color: #fff; }
.rw-actions button:disabled { opacity: .5; cursor: default; }
.rw-rates { margin-top: 16px; }
.rw-rates summary { padding: 11px 0; cursor: pointer; font-weight: 650; }
.rw-rates table { border-collapse: collapse; width: 100%; max-width: 600px; margin-top: 7px; font-size: 14px; }
.rw-rates th, .rw-rates td { padding: 8px; text-align: left; border-bottom: 1px solid #cfd5c9; }
.rw-current { background: #e1e9dc; font-weight: 700; }
@media(max-width: 850px) {
  .rw-heading { display: block; }
  .rw-heading > p { margin-top: 10px; max-width: 55ch; }
  .rw-controls > label:last-child { margin-left: 0; }
  .rw-grid { gap: 8px; }
  .rw-card-body { padding: 10px; }
}
@media(max-width: 670px) {
  .rw-grid { grid-template-columns: 1fr; }
  .rw-card { display: grid; grid-template-columns: minmax(78px, 30%) minmax(0,1fr); }
  .rw-photo { height: 100%; min-height: 140px; }
  .rw-controls { gap: 12px; }
  .rw-bands { gap: 3px; }
  .rw-bands button { padding: 6px; }
  .rw-quote input, .rw-quote select { font-size: 16px; }
  .rw-order { grid-template-columns: 1fr; gap: 16px; }
  .rw-receipt { border-left: 0; border-top: 1px solid #658678; padding: 12px 0 0; }
}
@media print {
  body.rw-printing > :not(.rw-print-sheet) { display: none !important; }
  body.rw-printing > .rw-print-sheet { display: block !important; color: #123835; background: white; padding: 1cm; font: 12pt/1.5 Arial,sans-serif; }
  .rw-print-sheet h1 { margin-top: .3cm; font-family: Georgia,serif; }
}

/* The ordering desk shares the paper, type and forest green of the storefront. */
.tools-intro {background:#f6f3ea;color:#23382e;border-bottom:1px solid #d2cfc2;}
.tools-intro .container {max-width:1120px;padding-top:clamp(38px,6vw,84px);padding-bottom:clamp(28px,4vw,50px);}
.tools-back,.tools-links a,.tools-actions a {color:#243b30;text-underline-offset:5px;}
.tools-back {font-size:.88rem;}
.tools-intro h1.hero-h1 {font:400 clamp(3rem,7vw,6rem)/1.08 Baskerville,"Iowan Old Style",Georgia,serif;letter-spacing:-.04em;text-transform:none;color:#243b30;margin:18px 0 12px;}
.tools-intro p {font-size:1.05rem;line-height:1.6;max-width:46ch;margin:0;}
.tools-actions {display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin:24px 0 22px;}
.tools-actions a {display:inline-flex;min-height:44px;align-items:center;}
.tools-actions a:first-child {background:#233b2e;color:#fff;padding:0 18px;text-decoration:none;}
.tools-intro details {border-top:1px solid #c6c8bd;padding-top:12px;}
.tools-intro summary {width:fit-content;cursor:pointer;padding:9px 0;font-weight:600;}
.tools-links {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:2px 20px;padding:8px 0;}
.tools-links a {padding:9px 0;}
.rw-receipt .estimate-link {display:inline-block;margin-top:12px;color:white;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;}

/* The chat expands only when the customer browses the polo collection. */
.ci-brief.browsing-polos {width:min(900px,calc(100% - 20px))}
.ci-brief.browsing-polos .brief-panel {height:min(900px,calc(100dvh - 28px));gap:9px}
.ci-brief.browsing-polos #briefTitle {font-size:clamp(23px,4vw,32px)}
.ci-brief .polo-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;flex:none}
.ci-brief .polo-grid article {display:flex;flex-direction:column;gap:6px;min-width:0;padding:11px;border:1px solid #d8ddd3;border-radius:12px;background:white;color:var(--brand-green);font:400 14px/1.35 var(--brand-body)}
.ci-brief .polo-view {position:relative;background:#f6f6f2;border-radius:7px;overflow:hidden}
.ci-brief .polo-view img {display:block;width:100%;height:clamp(140px,20vh,210px);object-fit:contain}
.ci-brief .polo-grid small {margin-top:5px;letter-spacing:.045em;text-transform:uppercase}
.ci-brief .polo-grid b {font-size:17px;line-height:1.14}
.ci-brief .polo-grid span {color:#52615a;font-size:13px}
.ci-brief .polo-grid strong {margin-top:auto;padding:6px 0;font-size:14px}
.ci-brief .polo-grid :is(a,button) {display:grid;place-items:center;min-height:42px;padding:4px 8px;border:1px solid #b8c4b9;border-radius:6px;background:white;color:var(--brand-green);font:600 14px/1.2 var(--brand-body);text-align:center;text-decoration:none;cursor:pointer}
.ci-brief .polo-grid a {color:white;background:var(--brand-green);border-color:var(--brand-green)}
.ci-brief .polo-grid .polo-view button {position:absolute;bottom:5px;right:5px;min-height:38px;border-radius:24px;font-size:13px}
.ci-brief .polo-grid :is(a,button):hover {outline:2px solid #829682}
@media(max-width:700px){
 .ci-brief .polo-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ci-brief .polo-grid article {padding:7px}
 .ci-brief .polo-view img {height:130px;margin-bottom:29px}
 .ci-brief .polo-grid b {font-size:15px}
 .ci-brief.browsing-polos .brief-panel {padding:12px}
}
@media(max-width:340px){.ci-brief .polo-grid {grid-template-columns:1fr}}
.ci-brief .gallery-filters {align-items:center;width:100%;flex:none}
.ci-brief .gallery-filters span {font:500 13px var(--brand-body);color:var(--brand-green)}
.ci-brief .gallery-filters button {min-height:38px}
.ci-brief .gallery-filters button[aria-pressed=true] {background:var(--brand-green);color:white}
.ci-brief .polo-grid article[hidden] {display:none}
