:root {
  color-scheme: light;
  --ink: #172633;
  --muted: #506271;
  --line: #dbe3e9;
  --canvas: #f3f6f8;
  --navy: #1c3346;
  --accent: #f4ce7b;
  --link: #254f74;
  --white: #fff;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.028em; overflow-wrap: anywhere; }
p { line-height: 1.55; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #3475ae; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; left: 1rem; top: 1rem; transform: translateY(-200%); background: #fff; padding: 12px; }
.skip:focus { transform: none; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.nav, .nav-links, .nav-pages, .nav-actions, .footer-inner { display: flex; align-items: center; }
.nav { min-height: 68px; gap: clamp(18px, 4vw, 56px); }
.nav-links { flex: 1; justify-content: space-between; gap: 14px; }
.nav-pages { gap: clamp(12px, 2vw, 27px); }
.nav-actions { gap: 17px; }
.mobile-menu, .mobile-quote { display: none; }
.brand { display: inline-flex; gap: 9px; align-items: center; font-size: 1.24rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: #233a4c; border-radius: 7px; flex: none; }
.brand-mark::before { content: ''; width: 13px; height: 13px; border: 2px solid var(--accent); border-radius: 2px; transform: rotate(-12deg); }
.nav-link { display: inline-flex; align-items: center; min-height: 40px; font-size: .9rem; font-weight: 650; color: #425667; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current='page'] { color: var(--ink); text-decoration: underline; text-decoration-color: #b4822d; text-underline-offset: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 10px 16px; border: 1px solid transparent; border-radius: 7px; font-size: .89rem; font-weight: 720; text-decoration: none; line-height: 1.2; text-align: center; }
.button:hover { filter: brightness(.95); }
.primary { background: var(--accent); color: #292318; }
.dark { background: var(--navy); color: #fff; }
.outline { background: #fff; border-color: #c8d4dd; color: var(--ink); }
.outline:hover { background: #f3f7fa; }
.ghost { color: #f0f5f8; border-color: #8395a4; }
.ghost:hover { background: #304657; }
.hero { padding-top: 26px; }
.hero-inner { display: grid; grid-template-columns: 1.04fr 1fr; min-height: 345px; overflow: hidden; background: #182836; color: #fff; border-radius: 16px; box-shadow: 0 8px 24px #152b3c13; }
.hero-copy { align-self: center; min-width: 0; padding: 38px clamp(28px, 4.2vw, 61px) 42px; }
.kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; font-size: .7rem; text-transform: uppercase; font-weight: 750; letter-spacing: .12em; color: #d6e2ea; }
.kicker span { width: 7px; height: 7px; background: var(--accent); border-radius: 2px; flex: none; }
.hero h1 { font-size: clamp(2.6rem, 4.7vw, 4rem); font-weight: 760; line-height: 1.02; letter-spacing: -.047em; }
.hero-summary { max-width: 390px; color: #dbe5ec; margin: 16px 0 21px; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-art { position: relative; min-width: 0; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #182836 0, #18283650 20%, #18283600 48%), linear-gradient(0deg, #1424334d, transparent 40%); }
.hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; filter: saturate(.86) brightness(.94); }
.marketplace { padding-block: 27px 62px; scroll-margin-top: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.section-head p { margin-top: 5px; color: var(--muted); }
.section-head h2 { font-size: clamp(1.62rem, 2.9vw, 2rem); }
.filter, .panel, .stock-card, .empty { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.filter { padding: 17px 19px; box-shadow: 0 3px 12px #17364e0b; }
.filter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 13px; }
.filter-row .button { min-height: 44px; white-space: nowrap; }
label { display: grid; gap: 6px; min-width: 0; }
label > span { font-weight: 680; font-size: .83rem; }
input, select, textarea { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #c4d1da; border-radius: 7px; background: #fcfdfe; color: var(--ink); padding: 9px 11px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #5c6978; }
summary { cursor: pointer; font-size: .87rem; font-weight: 750; }
.dimensions { margin-top: 12px; padding-top: 11px; border-top: 1px solid #e9eef2; }
.dimensions summary { display: inline-flex; align-items: center; gap: 6px; color: var(--link); list-style: none; }
.dimensions summary::-webkit-details-marker { display: none; }
.dimensions summary::before { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); margin: 0 4px 0 1px; }
.dimensions[open] summary::before { transform: rotate(45deg) translateY(-2px); }
.dimensions summary span { font-weight: 500; color: var(--muted); }
.dimensions .fields { margin-top: 12px; }
.catalog-options { margin: 0 0 15px; }
.catalog-options [data-common] { margin-top: 8px; }
.catalog-options .fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }
.latest-stock { padding: clamp(14px, 2.5vw, 28px); margin-bottom: 32px; border: 1px solid #c7d4df; border-top: 4px solid #bd8b3a; border-radius: 12px; background: #e8eff4; }
.latest-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 14px; }
.latest-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.recent-entry { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); font-size: .95rem; font-weight: 700; }
.compare-scroll { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid #c6d3dc; border-radius: 8px; background: white; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; color: var(--ink); font-size: .94rem; }
.compare-table th, .compare-table td { padding: 9px 14px; text-align: left; vertical-align: top; border-right: 1px solid #dce4e9; border-bottom: 1px solid #dce4e9; }
.compare-table thead th { min-width: 85px; background: var(--navy); color: white; font-size: 1rem; }
.compare-table tbody th a { display: inline-flex; align-items: center; min-height: 44px; }
.compare-table th:first-child { width: 195px; min-width: 175px; position: sticky; left: 0; z-index: 1; }
.compare-table tbody th { background: #f1f5f7; }
.compare-table tbody td { font-variant-numeric: tabular-nums; }
.compare-table tr > :last-child { border-right: 0; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 620px) {
  .compare-table th, .compare-table td { padding: 8px 9px; }
  .compare-table th:first-child { width: 140px; min-width: 140px; }
  .pagination { flex-wrap: wrap; }
}
.latest-empty { padding-block: 10px; }
@media (max-width: 700px) {
  .latest-head { margin-bottom: 8px; }
}
.filter .shape-picker { border: 0; padding: 0; margin: 0 0 15px; min-width: 0; }
.shape-picker legend { padding: 0; margin-bottom: 8px; font-weight: 680; font-size: .9rem; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.shape-choice { position: relative; display: inline-flex; }
.shape-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; height: 100%; min-height: 0; cursor: pointer; }
.shape-choice span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 7px 13px; border: 1px solid #becdd8; border-radius: 7px; font-size: .9rem; }
.shape-choice input:checked + span { background: var(--navy); color: white; border-color: var(--navy); }
.shape-choice input:focus-visible + span { outline: 3px solid #3475ae; outline-offset: 2px; }
.extra-shapes summary { width: fit-content; padding: 12px 0; color: var(--link); }
.added-date { color: var(--muted); font-size: .9rem; }
.filter + .results-head { margin-top: 22px; }
.results-head { margin-bottom: 5px; }
.results-head h3 { font-size: 1.32rem; }
.results-head > span { color: var(--muted); font-size: .87rem; }
.stock-photo-note { margin-bottom: 13px; }
.stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stock-card { display: flex; flex-direction: column; overflow: hidden; }
.stock-card:hover { border-color: #9cb1c1; }
.stock-card-body { display: flex; flex-direction: column; flex: 1; padding: 15px 16px 13px; }
.stock-card-body .muted { margin: 3px 0 13px; }
.stock-card h4 { font-size: 1.13rem; margin: 4px 0 7px; }
.stock-card h4 a { text-decoration: none; }
.stock-card h4 a:hover { text-decoration: underline; }
.tag { font-size: .75rem; font-weight: 740; color: var(--link); }
.spec { font-size: .89rem; min-height: 1.55em; font-variant-numeric: tabular-nums; }
.muted { font-size: .88rem; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: space-between; align-items: baseline; font-size: .85rem; }
.card-foot strong { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.card-foot strong::before { content: ''; width: 6px; height: 6px; background: #397154; border-radius: 50%; flex: none; }
.card-foot a { font-weight: 740; color: var(--link); text-decoration: none; }
.card-foot a:hover { text-decoration: underline; }
.stock-photo { display: block; width: 100%; height: clamp(136px, 14vw, 163px); object-fit: cover; background: #e4ebf1; }
.stock-detail-photo { margin: 14px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.stock-detail-photo .stock-photo { height: clamp(175px, 28vw, 305px); }
.stock-detail-photo figcaption { padding: 8px 11px; color: var(--muted); font-size: .82rem; }
.empty { padding: 24px; color: #394f60; }
.empty p { margin: 9px 0 15px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 20px; }
.workspace { padding-block: 40px 62px; }
.workspace h1 { font-size: clamp(2rem, 4.7vw, 3.1rem); }
.narrow { max-width: 525px; }
.medium { max-width: 860px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--link); font-weight: 680; }
.panel { padding: clamp(18px, 2vw, 25px); min-width: 0; }
.form-stack { display: grid; align-content: start; gap: 16px; }
.form-stack .button { justify-self: start; }
.form-stack h2, .detail-specs h2 { font-size: 1.38rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.dimension-grid { grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); }
fieldset { margin: 0; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 7px; }
legend { font-weight: 750; padding-inline: 4px; }
.detail-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 19px; align-items: start; }
#request-quote { scroll-margin-top: 16px; }
.detail-main > p { margin: 8px 0 14px; }
.detail-specs dl { margin-block: 12px 8px; }
.detail-specs dl > div { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 680; overflow-wrap: anywhere; }
.detail-specs h3 { margin: 13px 0 4px; }
.detail-specs > a { display: inline-block; margin-top: 12px; }
.preline { white-space: pre-line; }
.price { font-size: 1.73rem; font-weight: 800; }
.dashboard-section { margin-top: 26px; }
.dashboard-section .section-head h2 { font-size: 1.5rem; }
.records { display: grid; gap: 8px; }
.record, .record-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.record p { margin-top: 4px; color: var(--muted); font-size: .87rem; }
.record-actions { justify-content: flex-end; flex-wrap: wrap; }
.badge { border-radius: 999px; padding: 5px 9px; background: #edf1f5; color: #415065; font-size: .77rem; font-weight: 750; white-space: nowrap; }
.badge-live, .badge-ordered, .badge-fulfilled { background: #e8f3cf; color: #2d4e13; }
.badge-pending, .badge-requested { background: #fdf2db; color: #674812; }
.badge-quoted { background: #deecfb; color: #254773; }
.alerts { padding-top: 15px; }
.notice, .error { padding: 10px 13px; border: 1px solid #bdcfaa; background: #edf6e2; color: #304a1d; border-radius: 7px; }
.error { border-color: #e2bab9; background: #fff0ef; color: #7b2825; }
footer { background: #192c3b; color: #e0e8ee; }
.footer-inner { justify-content: space-between; gap: 20px; padding-block: 26px; font-size: .85rem; }
.footer-inner p { margin-top: 6px; color: #bdccd7; }
.footer-inner .brand-mark { background: #304a5d; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 18px; font-weight: 630; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current='page'] { color: #ffdf9b; text-decoration: underline; }
.info-page { max-width: 1040px; }
.info-kicker { color: var(--muted); }
.info-intro { max-width: 670px; margin: 10px 0 24px; color: var(--muted); font-size: 1.08rem; }
.info-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 18px 0; }
.info-section { display: grid; align-content: start; gap: 12px; }
.info-section h2 { font-size: 1.35rem; }
.info-section > .button { justify-self: start; }
.info-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 12px; }
.info-list { margin: 0; padding-left: 22px; line-height: 1.55; }
.info-list li + li { margin-top: 8px; }
.policy-copy { max-width: 770px; }
.policy-copy p + h2 { margin-top: 8px; }
.faq-list { max-width: 800px; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { padding: 13px 0; font-size: 1rem; }
.faq-list details p { margin-bottom: 15px; color: var(--muted); }
@media (max-width: 950px) {
  .filter-row { grid-template-columns: 1fr 1fr; }
  .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav .nav-admin, .nav .nav-about { display: none; }
  .hero-break { display: none; }
}
@media (max-width: 1040px) {
  .nav { position: relative; justify-content: space-between; gap: 9px; }
  .nav-links { flex: none; margin-inline-start: auto; }
  .nav .nav-pages, .nav-actions .nav-link { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; border: 1px solid #ccd8e1; border-radius: 7px; background: #fff; color: var(--ink); list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { background: #eaf0f5; }
  .menu-icon { display: block; width: 13px; height: 10px; border-block: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; flex: none; }
  .mobile-nav { position: absolute; z-index: 4; top: calc(100% + 4px); right: 0; width: min(100%, 288px); padding: 5px; border: 1px solid #c8d4dd; border-radius: 9px; background: #fff; box-shadow: 0 8px 22px #17263324; }
  .mobile-nav a { display: flex; align-items: center; min-height: 44px; padding: 7px 12px; border-radius: 5px; color: var(--ink); font-size: .94rem; font-weight: 650; text-decoration: none; }
  .mobile-nav a:hover, .mobile-nav a[aria-current='page'] { background: #eaf0f5; color: var(--link); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 28px); }
  .nav { min-height: 62px; }
  .nav .button { padding: 8px 10px; font-size: .8rem; min-height: 44px; white-space: nowrap; }
  .brand { font-size: 1rem; gap: 7px; }
  .brand-mark { width: 24px; height: 24px; }
  .brand-mark::before { width: 10px; height: 10px; }
  .hero { padding-top: 14px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 12px; }
  .hero-copy { padding: 20px 19px 13px; }
  .hero h1 { font-size: clamp(2.28rem, 10vw, 3.5rem); }
  .hero-summary { margin: 9px 0 13px; font-size: .95rem; }
  .hero-art { min-height: 115px; }
  .hero-art::after { background: linear-gradient(180deg, #182836, #18283600 36%); }
  .hero-photo { object-position: center 51%; }
  .marketplace, .workspace { padding-block: 21px 35px; }
  .marketplace > .section-head:first-child { margin-bottom: 12px; }
  .stock-grid, .detail-grid, .info-columns { grid-template-columns: minmax(0, 1fr); }
  .filter { padding: 13px; }
  .filter-row { gap: 10px; }
  .filter-row label:first-child, .filter-row .button { grid-column: 1 / -1; }
  .filter-row .button { width: 100%; }
  .button { min-height: 44px; }
  input, select, textarea { font-size: 16px; }
  .dimensions { margin-top: 8px; padding-top: 3px; }
  .dimensions summary { min-height: 44px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .dimension-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-quote { display: inline-flex; }
  .form-stack > .button { justify-self: stretch; }
  .stock-photo { height: clamp(142px, 44vw, 218px); }
  .section-head { align-items: flex-start; }
  .workspace > .section-head { flex-wrap: wrap; }
  .record { display: grid; }
  .record-actions { justify-content: flex-start; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 15px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 388px) {
  .nav-links { display: none; }
}

.portal-switch { margin-top: 1.25rem; }
.account-form { border-top: 3px solid #bd8b3a; }

.catalog-keyword { margin-bottom: 1rem; }
.catalog-keyword input { width: 100%; }

.request-banner {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.4rem clamp(1rem,3vw,2rem);margin-bottom:1.3rem;background:#16384a;color:white;border-left:6px solid #f1aa56;border-radius:9px}
.request-banner h2 {color:white;margin:0;font-size:clamp(1.45rem,3vw,2rem)}
.request-banner p {margin:.35rem 0 0;color:#ecf2f5}
.request-banner .button {background:white;color:#16384a;flex-shrink:0}
@media(max-width:640px){.request-banner{align-items:stretch;flex-direction:column}.request-banner .button{width:100%}}

.stock-card h4 {font-size:1.08rem;line-height:1.35;overflow-wrap:anywhere}
.stock-card .spec {line-height:1.5;font-variant-numeric:tabular-nums}
.stock-card .card-foot {flex-wrap:wrap;gap:.6rem}
.stock-card .card-foot a {display:inline-flex;align-items:center;min-height:44px}
@media(max-width:640px){.stock-card-body{padding:1rem}.hero-actions .button{min-height:44px}}
