@font-face {
  font-family: "HZT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "HZT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "HZT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-400-sc.woff2") format("woff2");
  unicode-range: U+2E80-2FFF, U+3000-303F, U+31C0-31EF, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
@font-face {
  font-family: "HZT Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "HZT Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "HZT Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/noto-sans-sc-500-sc.woff2") format("woff2");
  unicode-range: U+2E80-2FFF, U+3000-303F, U+31C0-31EF, U+3200-33FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
@font-face {
  font-family: "HZT Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/newsreader-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "HZT Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/newsreader-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


:root {
  --canvas: #f8f7f2;
  --white: #fff;
  --ink: #142b24;
  --forest: #183e33;
  --forest-dark: #102e25;
  --muted: #53665e;
  --rule: #dce2da;
  --soft: #edf1e9;
  --amber: #bc8653;
  --serif: "HZT Display", Georgia, serif;
  --sans: "HZT Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 15px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .56; }
img { display: block; width: 100%; object-fit: cover; }
svg { display: inline-block; flex: none; vertical-align: middle; }
:focus-visible { outline: 2px solid #8b542a; outline-offset: 4px; }
main:focus { outline: none; }
main { min-height: 60vh; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.25; font-weight: 500; }
h1 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.045em; }
h2 { font-size: clamp(24px, 3vw, 39px); letter-spacing: -.035em; }
h3 { font-size: 19px; letter-spacing: -.018em; }
:lang(en) h1, :lang(it) h1, :lang(en) h2, :lang(it) h2 { font-family: var(--serif); }
p { overflow-wrap: anywhere; }
.container { width: min(1280px, 100% - clamp(32px, 8vw, 128px)); margin-inline: auto; }
.section { padding-block: clamp(36px, 5.5vw, 78px); }
.muted { color: var(--muted); font-size: .9rem; }
.skip { position: fixed; top: 8px; left: 8px; padding: 12px; background: white; transform: translateY(-150%); z-index: 50; }
.skip:focus { transform: none; }

.mast { position: sticky; top: 0; z-index: 10; background: rgba(248, 247, 242, .98); border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: clamp(14px, 2vw, 34px); }
.brand { display: inline-flex; gap: 11px; align-items: center; flex: none; }
.brand-mark { display: grid; place-items: center; border-radius: 7px; width: 49px; height: 45px; background: var(--forest); color: #f7f3e8; font-family: var(--serif); font-size: 22px; letter-spacing: -.06em; padding-top: 3px; }
.brand-name { display: block; font-weight: 500; line-height: 1.2; font-size: 17px; }
.brand-name small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: clamp(17px, 2.1vw, 34px); white-space: nowrap; }
.nav a { position: relative; display: grid; align-items: center; min-height: 54px; color: var(--muted); font-size: .88rem; }
.nav a:hover, .nav a[aria-current] { color: var(--forest-dark); }
.nav a[aria-current]::after { content: ""; height: 2px; background: var(--amber); position: absolute; bottom: 7px; inset-inline: 0; }
.header-tools, .header-cart, .customer-link, .language { display: flex; align-items: center; }
.header-tools { gap: clamp(8px, 1.4vw, 23px); white-space: nowrap; }
.language { gap: 3px; }
.language select { background: transparent; border: 0; padding: 8px 1px; cursor: pointer; font-size: .8rem; }
.language svg { width: 17px; }
.header-cart { min-height: 42px; gap: 8px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 8px; font-size: .8rem; font-weight: 500; }
.header-cart:hover, .header-cart[aria-current] { background: var(--soft); border-color: #a5b4a9; }
.customer-link { min-height: 42px; gap: 6px; padding-inline: 5px; border-radius: 7px; font-size: .8rem; font-weight: 500; }
.customer-link:hover, .customer-link[aria-current] { background: var(--soft); }
.buyer-entry { padding-inline: 14px; background: var(--forest); color: #f7f3e8; }
.buyer-entry:hover, .buyer-entry[aria-current] { background: var(--forest-dark); color: #fff; }
.header-cart b, .count-pill, [data-product-count] { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; min-height: 23px; padding: 0 6px; border-radius: 30px; background: #e4ebe2; color: var(--forest-dark); font-size: .72rem; font-weight: 500; }
.menu-toggle { display: none; }
.icon-btn { background: transparent; border: 1px solid var(--rule); border-radius: 7px; width: 42px; min-height: 42px; padding: 0; }

.hero { background: var(--forest-dark); color: #faf7ec; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4.2vw, 70px); align-items: center; padding-block: clamp(25px, 4vw, 61px); }
.hero-copy { padding-block: clamp(18px, 4.2vw, 54px); }
.hero h1 { margin: 0 0 23px; line-height: 1.13; }
:lang(en) .hero h1, :lang(it) .hero h1 { line-height: .98; }
.hero-intro { color: #d8e4d9; max-width: 460px; font-size: clamp(15px, 1.25vw, 18px); }
.hero-image { position: relative; border-radius: 5px 40px 5px 5px; overflow: hidden; height: 100%; min-height: 390px; }
.hero-image img { position: absolute; inset: 0; height: 100%; object-position: 53% 50%; }
.eyebrow { display: flex; gap: 9px; align-items: center; font-weight: 500; margin-bottom: 18px; font-size: .81rem; letter-spacing: .07em; }
.eyebrow span { background: #e0ad76; display: inline-block; width: 22px; height: 2px; }
.hero .eyebrow { color: #eed2b5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 23px; }
.hero .actions { position: relative; z-index: 26; }
.btn { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 9px; padding: 8px 17px; border: 1px solid transparent; border-radius: 7px; font-weight: 500; font-size: .88rem; line-height: 1.4; text-align: center; }
.btn svg, .text-link svg { width: 17px; height: 17px; }
.primary { background: var(--forest); color: white; border-color: var(--forest); }
.primary:hover:not(:disabled) { background: #285344; border-color: #285344; }
.secondary { background: transparent; color: var(--forest); border-color: #aebbb0; }
.secondary:hover:not(:disabled) { background: var(--soft); }
.hero .primary { color: var(--forest-dark); background: #f0e3ca; border-color: #f0e3ca; }
.hero .primary:hover { background: #fff0d8; }
.hero .secondary, .outline-light { color: #faf7ec; border-color: #88a094; }
.hero .secondary:hover, .outline-light:hover { background: rgba(255, 255, 255, .09); }
.hero a:focus-visible, .home-band a:focus-visible, .foot a:focus-visible { outline-color: #efc797; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 500; font-size: .88rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-head, .page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-head { margin-bottom: 24px; }
.section-head p, .page-heading p, .editorial p { color: var(--muted); margin-top: 8px; max-width: 66ch; }
.section-head > a, .page-heading > a { flex: none; }
.line-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.line-card { overflow: hidden; border: 1px solid var(--rule); border-radius: 10px; background: var(--white); display: flex; flex-direction: column; }
.line-card img { aspect-ratio: 1.53; transition: filter .2s; }
.line-card:hover { border-color: #879c90; }
.line-card:hover img { filter: brightness(1.08); }
.line-card > div { position: relative; padding: 17px 36px 18px 16px; flex: 1; }
.line-card p { margin-top: 5px; color: var(--muted); font-size: .83rem; }
.line-card svg { width: 17px; position: absolute; top: 17px; right: 13px; }
.home-band { background: var(--forest); color: #faf7ec; border-radius: var(--radius); padding: clamp(24px, 4vw, 52px); display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: clamp(36px, 5.5vw, 76px); }
.home-band p { margin-top: 8px; color: #d8e4d9; }
.task-start, .task-guide { padding-top: 28px; }
.task-start + .home-band { margin-top: 37px; }
.task-start .section-head { margin-bottom: 13px; }
.task-start h2, .task-guide h2 { font: 500 clamp(20px, 2.5vw, 30px)/1.3 var(--sans); }
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.task-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 15px; border: 1px solid var(--rule); background: #fff; border-radius: 8px; }
.task-grid a:hover { border-color: #8f9f8f; background: #f7faf6; }
.task-grid h3 { font: 500 1rem/1.4 var(--sans); }
.task-grid p, .task-guide p { color: var(--muted); margin-top: 5px; font-size: .85rem; }
.task-guide > div:first-child { margin-bottom: 11px; }
.task-fields { padding: 10px 12px; background: var(--soft); border-radius: 7px; }
.task-fields p { margin-top: 6px; }

.page-head { background: #ebece2; border-bottom: 1px solid #e0e4d8; padding-block: clamp(28px, 5vw, 65px); }
.page-heading h1 { font-size: clamp(34px, 4.5vw, 58px); }
.catalog { display: grid; grid-template-columns: 205px minmax(0, 1fr); align-items: start; gap: clamp(19px, 3vw, 44px); }
.category-hero { display: grid; grid-template-columns: 1fr minmax(130px, 44%); gap: 14px; align-items: center; padding: 12px 18px; margin-bottom: 12px; border: 1px solid var(--rule); border-radius: 9px; background: #fff; min-height: 100px; }
.category-hero h2 { font: 500 clamp(20px, 2.4vw, 30px)/1.3 var(--sans); }
.category-hero p { color: var(--muted); margin-top: 6px; }
.category-hero img { width: 100%; aspect-ratio: 2; object-fit: contain; }
.family-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.family-nav a { min-height: 34px; padding: 4px 9px; font-size: .76rem; }
.family-nav a[aria-current] { background: var(--soft); font-weight: 600; }
.requested-category { padding: 7px 10px; border-radius: 6px; background: var(--soft); }
.category-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; align-items: start; }
.category-overview { overflow: hidden; padding: 0; height: 100%; }
.category-image-link img { aspect-ratio: 1.5; }
.category-overview-body { padding: 15px; }
.category-overview h2 { margin-bottom: 4px; font-size: 1.18rem; }
.category-family-list { list-style: none; margin: 12px 0 0; padding: 0; }
.category-family-list a { display: block; padding-block: 6px; border-top: 1px solid var(--rule); font-size: .83rem; }
.category-family-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.category-nav { border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; padding: 15px; }
.category-nav h2 { font: 500 .97rem/1.5 var(--sans); margin: 4px 7px 12px; }
.category-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 8px; border-radius: 6px; font-size: .85rem; }
.category-nav a svg { width: 14px; }
.category-nav a:hover, .category-nav a[aria-current] { background: var(--soft); }
.category-nav a[aria-current] { font-weight: 500; color: var(--forest-dark); }
.catalog-search { display: flex; align-items: stretch; gap: 8px; }
.search-box { display: flex; align-items: center; gap: 9px; padding: 0 13px; flex: 1; background: var(--white); border: 1px solid #aebbb0; border-radius: 7px; min-width: 0; }
.search-box svg { color: var(--muted); width: 18px; }
.search-box:focus-within { outline: 2px solid #8b542a; outline-offset: 2px; }
.search-box input { width: 100%; background: transparent; border: 0; padding: 8px 0; outline: none; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; margin: 16px 0; gap: 10px; font-size: .85rem; color: var(--muted); }
.catalog-bar label { display: flex; gap: 6px; align-items: center; }
.catalog-bar select { padding: 6px; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; max-width: 56vw; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.product-image { position: relative; display: flex; min-width: 0; aspect-ratio: 1.48; overflow: hidden; }
.product-image img { object-fit: contain; background: #f2efeb; transition: transform .22s; }
.product-image:hover img { transform: scale(1.035); }
.image-placeholder { width: 100%; min-height: 160px; display: grid; place-items: center; text-align: center; padding: 20px; background: #e2e9e0; color: var(--forest); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 15px; overflow-wrap: anywhere; }
.category { color: #486052; font-size: .76rem; margin-bottom: 4px; }
.card-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-description { color: var(--muted); margin: 8px 0 15px; font-size: .84rem; flex: 1; }
.card-facts, .spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; border-top: 1px solid var(--rule); padding-top: 12px; }
.card-facts dt, .spec dt { color: var(--muted); margin-bottom: 2px; font-size: .73rem; }
.card-facts dd, .spec dd { font-weight: 500; font-size: .88rem; }
.card-facts .card-supplier { grid-column: 1 / -1; margin-top: 8px; }
.card-add { margin-top: 14px; width: 100%; padding-inline: 7px; }
.empty-state { padding: 30px; border: 1px dashed #aebbb0; border-radius: var(--radius); }
.empty-state h2 { font-size: 24px; }
.empty-state p, .empty-inline p { margin: 6px 0 14px; color: var(--muted); }
.notice, .error { border-radius: 7px; padding: 10px 12px; background: #f3ead5; color: #643d23; margin-bottom: 14px; }
.error { background: #f9ebe7; color: #8f3024; }

.detail-section > .text-link { margin-bottom: 20px; }
.detail, .sourcing, .editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 5vw, 78px); align-items: center; }
.detail-image { position: relative; display: flex; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; }
.detail-image img { object-fit: contain; background: #f2efeb; }
.detail-copy > p { margin-block: 11px; }
.detail-copy h1 { font-size: clamp(31px, 4.5vw, 54px); overflow-wrap: anywhere; }
.detail-copy .eyebrow { color: var(--muted); }
.product-checkpoints { margin-top: 15px; padding: 11px 13px; border-radius: 7px; background: var(--soft); }
.product-checkpoints h2 { font: 500 .9rem/1.4 var(--sans); margin-bottom: 4px; }
.product-checkpoints p { font-size: .85rem; }
.spec { margin-top: 19px; gap: 13px; }
.spec dd { font-size: 1rem; }
.related { margin-top: clamp(38px, 6vw, 80px); }
.related > h2 { margin-bottom: 17px; }
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.steps li span { flex: none; background: var(--soft); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; }
.steps h2 { font: 500 1.13rem/1.4 var(--sans); margin-bottom: 4px; }
.steps p { color: var(--muted); }
.story-image img, .editorial img, .supplier-side img { aspect-ratio: 1.28; border-radius: var(--radius); }

.checkout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(17px, 3vw, 35px); }
.panel, .receipt { padding: clamp(16px, 2.4vw, 31px); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); min-width: 0; }
.panel h2 { font: 500 clamp(20px, 2vw, 26px)/1.4 var(--sans); margin-bottom: 16px; }
.panel h2 .count-pill { vertical-align: 3px; }
.panel.narrow { max-width: 510px; }
.narrow > p { margin-top: 15px; }
.clean-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-grid .span { grid-column: 1 / -1; }
.form-grid .btn { margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; min-width: 0; }
.field > span { font-weight: 500; }
.required { color: #935c36; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 8px 10px; background: #fcfcfa; border: 1px solid #b6c0b8; border-radius: 6px; min-height: 42px; }
.field textarea { resize: vertical; }
.cart-rows { list-style: none; padding: 0; margin: 0; }
.cart-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.cart-row img, .cart-placeholder { width: 58px; height: 48px; border-radius: 5px; background: var(--soft); }
.cart-product { line-height: 1.45; font-size: .86rem; overflow-wrap: anywhere; }
.cart-product a { font-weight: 500; }
.cart-product a:hover { text-decoration: underline; }
.cart-product small { display: block; color: var(--muted); margin-top: 4px; }
.qty { display: flex; align-items: stretch; border: 1px solid var(--rule); border-radius: 6px; }
.qty button, .qty input { background: transparent; border: 0; padding: 0; height: 36px; width: 33px; text-align: center; }
.qty input { width: 41px; appearance: textfield; font-size: .83rem; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { appearance: none; }
.remove { background: transparent; border: 0; padding: 7px 3px; min-height: 38px; color: var(--muted); font-size: .76rem; }
.remove:hover, .qty button:hover:not(:disabled) { color: var(--forest); background: var(--soft); }
.subtotal { display: flex; justify-content: space-between; gap: 9px; margin: 16px 0 5px; }
.subtotal strong { font-size: 1.17rem; }
.empty-inline { background: var(--soft); border-radius: 8px; padding: 17px; }
.history { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 14px; font-size: .84rem; color: var(--muted); }
.history summary { cursor: pointer; color: var(--ink); font-weight: 500; }
.history time { margin-inline-start: 6px; }
.receipt { max-width: 625px; margin: auto; }
.receipt h1 { font-size: clamp(34px, 5vw, 50px); }
.receipt > p { margin-top: 8px; color: var(--muted); }
.receipt-icon { display: grid; place-items: center; width: 45px; height: 45px; background: var(--soft); border-radius: 50%; margin-bottom: 14px; }
.reference { background: var(--soft); padding: 11px 14px; border-radius: 6px; margin-top: 17px; display: grid; gap: 3px; }
.reference span { color: var(--muted); font-size: .76rem; }
.reference strong { font: 500 1rem/1.5 monospace; overflow-wrap: anywhere; }
.supplier-layout { grid-template-columns: .75fr 1.25fr; }
.supplier-side ol { margin: 12px 0 24px; padding-left: 22px; color: var(--muted); }
.supplier-side li { padding: 5px 0; }
.form-section-title { padding-top: 12px; border-top: 1px solid var(--rule); margin-top: 3px; }
.staff-actions { margin: 0 0 14px; }
.record { padding: 14px 0; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.staff-progress { margin-block: 12px; font-size: .88rem; }
.invitation-panel { margin-bottom: 18px; max-width: 640px; }
.invitation-panel form { margin-top: 12px; }
.invitation-panel .reference > button { justify-self: start; margin-top: 4px; }
.staff-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.staff-workspace { padding-top: 28px; }
.staff-navigation { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.staff-navigation [aria-current] { color: #fff; background: var(--forest); border-color: var(--forest); }
.staff-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; }
.staff-overview a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.staff-overview a:hover { border-color: #8d9e91; }
.staff-overview strong { grid-column: 1; font-size: 1.8rem; font-weight: 500; }
.staff-overview svg { grid-column: 2; grid-row: 2; }
.staff-account-form { align-items: end; margin: 8px 0 10px; }
.staff-audit { margin: 0; padding: 0; list-style: none; max-height: 27rem; overflow: auto; }
.staff-audit li { display: grid; gap: 3px; padding: 9px 0; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.staff-audit time { color: var(--muted); font-size: .75rem; }
.staff-progress summary { cursor: pointer; }
.staff-update { padding: 10px 0; }
.plan-account-hint { margin: -7px 0 12px; }
.workspace-toolbar, .workspace-controls, .plan-heading, .plan-import { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.workspace-toolbar { padding-bottom: 17px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.workspace-toolbar .actions { margin: 0; }
.workspace-controls { margin-bottom: 15px; }
.workspace-controls > form { flex: 0 1 400px; }
.plan-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.plan-filters [aria-current] { background: var(--forest); border-color: var(--forest); color: #fff; }
.plan-import { margin-bottom: 15px; padding: 12px 15px; background: var(--soft); border-radius: 8px; font-size: .88rem; }
.plan-list, .milestones, .plan-timeline, .plan-items { margin: 0; padding: 0; list-style: none; }
.plan-list li + li { margin-top: 9px; }
.plan-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 17px; background: var(--white); border: 1px solid var(--rule); border-radius: 9px; }
.plan-list a:hover { border-color: #82998c; }
.plan-list h3, .plan-heading h2 { margin-top: 5px; overflow-wrap: anywhere; }
.stage-badge { display: inline-block; padding: 4px 9px; border-radius: 20px; background: var(--soft); color: var(--forest-dark); font-size: .79rem; font-weight: 500; }
.plan-heading { margin-bottom: 16px; }
.milestone-panel { margin-bottom: 17px; }
.milestones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.milestones li { display: flex; align-items: center; gap: 7px; background: #f8f9f6; border: 1px solid var(--rule); border-radius: 7px; padding: 8px; min-width: 0; color: var(--muted); font-size: .83rem; line-height: 1.35; }
.milestones small { display: block; margin-top: 3px; color: inherit; font-size: .69rem; }
.milestone-mark { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: #e8ece5; font-size: .7rem; }
.milestone-mark svg { width: 15px; height: 15px; }
.milestones .recorded { background: #eef3ed; color: var(--forest); }
.milestones .current { color: #fff; background: var(--forest); border-color: var(--forest); }
.milestones .current .milestone-mark { background: #f0e3ca; color: var(--forest); }
.plan-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 17px; }
.plan-timeline { margin-top: 12px; padding-left: 9px; }
.plan-timeline li { position: relative; padding: 0 0 15px 14px; border-left: 1px solid #adbdaf; }
.plan-timeline li::before { content: ""; position: absolute; top: 7px; left: -4px; width: 7px; height: 7px; background: var(--forest); border-radius: 50%; }
.plan-timeline li > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-timeline time { color: var(--muted); font-size: .76rem; }
.plan-timeline p { margin-top: 4px; }
.plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin: 12px 0; }
.plan-facts dt { color: var(--muted); font-size: .76rem; }
.plan-facts dd { overflow-wrap: anywhere; }
.plan-items-heading { margin-top: 17px; }
.plan-items li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.customer-update { border-top: 1px solid var(--rule); padding-top: 12px; }
.record header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.record p { color: var(--muted); margin-block: 6px; font-size: .87rem; }
.record-note { white-space: pre-wrap; }

.foot { background: var(--forest-dark); color: #f9f6ee; padding: 33px 0; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1.25fr 1fr; gap: 22px; align-items: start; }
.foot-brand { font: 500 2rem/1 var(--serif); }
.foot p { color: #b9cabf; font-size: .8rem; margin-top: 5px; }
.foot .foot-note { margin-top: 10px; padding-top: 0; border-top: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; padding-top: 12px; border-top: 1px solid #ffffff22; }
.foot-legal a { color: #b9cabf; }
.info-page { max-width: 760px; }
.info-page h2 { margin: 1.6rem 0 .4rem; font-size: 1.25rem; }
.info-page h2:first-child { margin-top: 0; }
.info-page p { color: var(--muted); }
.foot a { color: #f9f6ee; font-size: .83rem; }
.foot a:hover { text-decoration: underline; }
.catalog-group { margin-top: 28px; }
.catalog-group h3 { margin: 0 0 4px; font-size: 1.35rem; }
.staff-mast .brand-name { font-size: 1rem; }
.assist { position: fixed; left: 18px; bottom: 18px; z-index: 25; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.assist-panel { width: min(360px, calc(100vw - 36px)); max-height: min(520px, calc(100vh - 130px)); display: flex; flex-direction: column; background: var(--white); color: var(--ink); border-radius: 16px; box-shadow: 0 16px 44px #102e2538; overflow: hidden; }
.assist-panel header { display: flex; justify-content: space-between; gap: 12px; padding: 14px 14px 12px; background: var(--forest); color: #f9f6ee; }
.assist-panel header p { margin: 2px 0 0; color: #d5e3db; font-size: .75rem; }
.assist-panel header .icon-btn { color: #f9f6ee; background: transparent; border: 0; }
.assist-log { display: flex; flex-direction: column; gap: 8px; padding: 14px; overflow: auto; }
.assist-msg { max-width: 92%; padding: 8px 12px; border-radius: 12px; }
.assist-msg p { margin: 0; }
.assist-msg a { display: inline-block; margin-top: 6px; text-decoration: underline; }
.assist-msg.bot { align-self: flex-start; background: var(--soft); }
.assist-msg.user { align-self: flex-end; background: var(--forest); color: #f9f6ee; }
.assist-prompts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }
.assist-prompts button { border: 1px solid var(--rule); background: var(--white); border-radius: 999px; padding: 5px 10px; font-size: .78rem; }
.assist-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--rule); }
.assist-form input { flex: 1; min-width: 0; border: 1px solid var(--rule); border-radius: 999px; padding: 8px 12px; background: var(--white); }
.assist-launch { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.assist-mail, .assist-open { display: inline-flex; align-items: center; justify-content: center; border: 0; color: #fff; box-shadow: 0 8px 24px #102e2530; }
.assist-mail { width: 42px; height: 42px; border-radius: 50%; background: #1f7a4d; }
.assist-open { gap: 8px; padding: 10px 14px; border-radius: 999px; background: #1b1f1d; }
.toast { position: fixed; bottom: 22px; right: 22px; max-width: min(420px, 100vw - 44px); z-index: 20; visibility: hidden; background: var(--forest-dark); color: #fff; padding: 11px 16px; border-radius: 8px; box-shadow: 0 8px 27px #16312535; }
.toast.visible { visibility: visible; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-name small { max-width: 14ch; }
}
@media (max-width: 900px) {
  .category-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; order: 2; }
  .header-inner { min-height: 65px; }
  .nav { display: none; position: absolute; inset: 100% 0 auto; padding: 8px max(16px, 4vw); background: var(--canvas); border-bottom: 1px solid var(--rule); box-shadow: 0 8px 20px #142b241a; }
  .nav.open { display: flex; flex-wrap: wrap; }
  .nav a { min-height: 44px; }
  .hero-inner { gap: 25px; }
  .hero-image { min-height: 325px; }
  .catalog { grid-template-columns: 155px minmax(0, 1fr); }
  .line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-row { grid-template-columns: 50px minmax(0, 1fr) auto; }
  .cart-row img, .cart-placeholder { width: 50px; }
  .remove { grid-column: 3; justify-self: end; }
}
@media (max-width: 760px) {
  .header-inner { gap: 8px; }
  .header-tools { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .header-cart { gap: 4px; padding: 0 7px; }
  .header-cart span, .customer-link span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .buyer-entry span { position: static; width: auto; height: auto; clip-path: none; overflow: visible; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; padding-block: 23px 20px; }
  .hero-copy { padding-block: 15px 23px; }
  .hero h1 { margin-bottom: 14px; }
  .hero-image { min-height: 0; aspect-ratio: 1.55; border-top-right-radius: 25px; }
  .section-head, .page-heading, .home-band { align-items: flex-start; flex-direction: column; gap: 12px; }
  .catalog, .checkout, .detail, .sourcing, .editorial { display: grid; grid-template-columns: 1fr; }
  .category-nav { display: flex; flex-wrap: wrap; gap: 5px; padding: 9px; }
  .category-nav h2 { width: 100%; margin: 2px 7px; }
  .category-nav a { padding: 6px 7px; }
  .category-nav a svg { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 12px; }
  .supplier-side img { display: none; }
  .task-grid { grid-template-columns: 1fr; }
  .plan-detail-grid, .staff-tools { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .category-index { grid-template-columns: 1fr; }
  .brand-name small, .language svg { display: none; }
  .brand-mark { width: 42px; height: 40px; }
  .brand, .header-tools { gap: 4px; }
  .line-grid, .product-grid { gap: 10px; }
  .line-card > div { padding: 11px 26px 11px 9px; }
  .line-card h3, .product-card h3 { font-size: 16px; }
  .line-card svg { right: 6px; top: 10px; }
  .card-body { padding: 10px; }
  .card-facts { grid-template-columns: 1fr; gap: 5px; }
  .catalog-bar { align-items: flex-start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .cart-row img, .cart-placeholder { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
