#focus .focushead { margin-bottom: 18px; }
.sourceOffer { color: var(--teal); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.offerSpecs { margin: 20px 0 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.offerSpecs h3 { margin: 0 0 12px; font-size: 1rem; }
.offerAxis { margin: 0 0 13px; padding: 0; min-width: 0; border: 0; }
.offerAxis legend { margin-bottom: 6px; color: var(--muted); font-size: .85rem; }
.offerChoices { display: flex; flex-wrap: wrap; gap: 7px; max-height: 18rem; overflow-y: auto; padding: 2px; }
.offerChip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; text-align: left; overflow-wrap: anywhere; min-height: 34px; padding: 6px 12px; background: white; color: var(--ink); border: 1px solid #ccd5d0; border-radius: 5px; font: inherit; font-size: .87rem; line-height: 1.4; }
.offerChip .thumb { width: 32px; height: 32px; object-fit: contain; border-radius: 3px; flex-shrink: 0; }
.offerChip:has(.thumb) { padding: 3px 10px 3px 3px; }
.offerChip:hover:not(:disabled),.offerChip:focus-visible { border-color: #267866; }
.offerChip[aria-pressed="true"] { border-color: #166653; box-shadow: inset 0 0 0 1px #166653; background: #edf6ef; color: #144c3d; }
.offerChip:disabled { opacity: .45; cursor: not-allowed; }
#focus .packFacts { grid-template-columns: repeat(2,minmax(0,1fr)); }
#focus .sheetActions { flex-wrap: wrap; }
#focus .itemIdentity .offerTitle { color:inherit; font:inherit; text-decoration:none; }
#focus .itemIdentity .offerTitle:hover { text-decoration:underline; text-underline-offset:4px; }
.libraryDrawer { border-bottom:1px solid var(--line); margin:0 0 14px; padding:0 0 12px; }
.libraryDrawer > summary { width:fit-content; cursor:pointer; font-weight:650; color:var(--teal); }
#cloudLibrary { padding:12px 0; max-height:23rem; overflow:auto; }
#cloudLibrary .edge select { width:auto; max-width:60%; margin:0; }
#intake #query { display:block; border:1px solid #9aafa5; border-radius:9px; padding:11px 14px; min-height:46px; background:#fff; box-shadow:inset 0 1px 3px #2043300d; }
#intake #query:focus { outline:2px solid var(--teal); outline-offset:1px; }
.resultHead { display:flex; justify-content:flex-start; align-items:center; flex-wrap:wrap; gap:8px 24px; padding:7px 0; background:none; border:0; }
.resultHead h2 { margin:0; font-size:1.05rem; }
#results #resultSortLabel { display:flex; align-items:center; gap:8px; margin:0; }
#results #resultSort { margin:0; width:auto; padding:5px 8px; }
.researchButtons { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.researchButtons button:disabled { display:grid; justify-items:center; align-content:center; gap:3px; border:1px solid var(--line); border-radius:8px; aspect-ratio:1; width:100%; max-width:90px; padding:4px; }
.researchButtons b { font:600 1.5rem/1.1 Georgia,serif; color:#526b5c; }
.researchButtons span { font-size:.75rem; }
.sheetActions button:disabled { cursor:default; }
.libraryToolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
#cloudLibrary .libraryToolbar select { width:auto; max-width:min(100%,18rem); margin:0; }
#cloudLibrary [data-cloud="remove"],#dialogBody [data-cloud="confirmRemove"] { color:#8c443a; }
.teamPanel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.teamCurrent { grid-column:1/-1; display:grid; gap:3px; border-bottom:1px solid var(--line); padding:6px 0 12px; }
.teamCurrent strong { font-size:1.15rem; }.teamInvite { grid-column:1/-1; }
.teamPanel section { padding:16px; background:#f5f7f4; border:1px solid var(--line); border-radius:10px; }
.teamPanel section button { color:var(--teal); }
@media(max-width:580px){.teamPanel{grid-template-columns:1fr}.teamPanel section{padding:12px}}
.cartFoot {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:.65rem;margin-top:.65rem}
.cartFoot .checkoutLink {display:inline-flex;align-items:center;padding:.45rem .85rem;border-radius:7px;background:#225744;color:white;text-decoration:none;font-size:.88rem;font-weight:600;white-space:nowrap}
.cartFoot .checkoutLink:hover,.cartFoot .checkoutLink:focus-visible {background:#164433;color:white}
#supplierThread [data-controls] {display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.65rem 0}
#supplierThread [data-status] {color:var(--teal)}
#supplierThread [data-controls] [data-do="end"] {margin-inline-start:auto}
#supplierThread [data-controls] a,#supplierThread .bubble a {overflow-wrap:anywhere}
#supplierThread [data-controls] [data-do="auto"],#supplierThread [data-controls] [data-do="take"] {border-color:var(--teal);font-weight:650}
#supplierThread [data-compose] textarea {min-height:4.2rem}

/*
Lucide License
Source: https://lucide.dev/license

ISC License
Copyright (c) 2026 Lucide Icons and Contributors

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

The following Lucide icons are derived from the Feather project:
airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, award, bar-chart-2, bar-chart, battery-charging, battery, bell-off, bell, bluetooth, bold, book-open, book, bookmark, box, briefcase, calendar, camera-off, camera, cast, check-circle, check-square, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, cloud-drizzle, cloud-lightning, cloud-off, cloud-rain, cloud-snow, cloud, code, codepen, codesandbox, coffee, columns, command, compass, copy, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, cpu, credit-card, crop, crosshair, database, delete, disc, divide-circle, divide-square, divide, dollar-sign, download-cloud, download, droplet, edit-2, edit-3, edit, external-link, eye-off, eye, facebook, fast-forward, feather, figma, file-minus, file-plus, file-text, file, film, filter, flag, folder-minus, folder-plus, folder, framer, frown, gift, git-branch, git-commit, git-merge, git-pull-request, github, gitlab, globe, grid, hard-drive, hash, headphones, heart, help-circle, hexagon, home, image, inbox, info, instagram, italic, key, layers, layout, life-buoy, link-2, link, linkedin, list, loader, lock, log-in, log-out, mail, map-pin, map, maximize-2, maximize, meh, menu, message-circle, message-square, mic-off, mic, minimize-2, minimize, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, mouse-pointer, move, music, navigation-2, navigation, octagon, package, paperclip, pause-circle, pause, pen-tool, percent, phone-call, phone-forwarded, phone-incoming, phone-missed, phone-off, phone-outgoing, phone, pie-chart, play-circle, play, plus-circle, plus-square, plus, pocket, power, printer, radio, refresh-ccw, refresh-cw, repeat, rewind, rotate-ccw, rotate-cw, rss, save, scissors, search, send, server, settings, share-2, share, shield-off, shield, shopping-bag, shopping-cart, shuffle, sidebar, skip-back, skip-forward, slack, slash, sliders, smartphone, smile, speaker, square, star, stop-circle, sun, sunrise, sunset, table-2, tablet, tag, target, terminal, thermometer, thumbs-down, thumbs-up, toggle-left, toggle-right, tool, trash-2, trash, trello, trending-down, trending-up, triangle, truck, tv, twitch, twitter, type, umbrella, underline, unlock, upload-cloud, upload, user-check, user-minus, user-plus, user-x, user, users, video-off, video, voicemail, volume-1, volume-2, volume-x, volume, watch, wifi-off, wifi, wind, x-circle, x-octagon, x-square, x, youtube, zap-off, zap, zoom-in, zoom-out.

The MIT License (MIT) (for Feather-derived icons)
Copyright (c) 2013-present Cole Bemis

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This demo includes a small inline selection of Lucide/Feather style SVGs. No font files are distributed. Organizer illustration and page composition are original schematic artwork for this proposal.

*/
/* Silver Glass V0.1 · 2026-11-28 · Proposed values, not measured screenshot values. */
:root {
  --sg-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --sg-bg: #edf1fa;
  --sg-ink: #141821;
  --sg-text: #323b4d;
  --sg-muted: #536078;
  --sg-primary: #0756ed;
  --sg-primary-top: #2479ff;
  --sg-primary-hover: #0045cf;
  --sg-positive: #16733b;
  --sg-positive-bg: #e8f8ed;
  --sg-danger: #b42336;
  --sg-danger-bg: #fff0f2;
  --sg-warning: #855400;
  --sg-warning-bg: #fff5dc;
  --sg-glass: rgb(255 255 255 / 58%);
  --sg-glass-solid: #f4f6fc;
  --sg-control: rgb(255 255 255 / 76%);
  --sg-control-border: #7e8daa;
  --sg-line: rgb(113 133 177 / 18%);
  --sg-edge: rgb(255 255 255 / 90%);
  --sg-shadow: 0 12px 36px rgb(51 70 120 / 9%), 0 2px 5px rgb(51 70 120 / 3%), inset 0 1px 0 rgb(255 255 255 / 90%);
  --sg-shadow-control: 0 3px 8px rgb(44 66 120 / 7%), inset 0 1px 0 rgb(255 255 255 / 95%);
  --sg-blur: 20px;
  --sg-radius-card: 24px;
  --sg-radius-control: 12px;
  --sg-radius-small: 8px;
  --sg-radius-pill: 999px;
  --sg-space-1: 4px;
  --sg-space-2: 8px;
  --sg-space-3: 12px;
  --sg-space-4: 16px;
  --sg-space-5: 24px;
  --sg-space-6: 32px;
  --sg-space-7: 48px;
  --sg-text-profit: 2.25rem;
  --sg-text-page: 2rem;
  --sg-text-product: 1.5rem;
  --sg-text-panel: 1.375rem;
  --sg-text-section: 1.125rem;
  --sg-text-body: 1rem;
  --sg-text-help: .875rem;
  --sg-control-height: 48px;
  --sg-hit-area: 44px;
  --sg-duration: 160ms;
}
.sg-surface {
  background: var(--sg-glass-solid);
  border: 1px solid var(--sg-edge);
  border-radius: var(--sg-radius-card);
  box-shadow: var(--sg-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sg-surface {
    background: var(--sg-glass);
    -webkit-backdrop-filter: blur(var(--sg-blur)) saturate(1.12);
    backdrop-filter: blur(var(--sg-blur)) saturate(1.12);
  }
}
.sg-background {
  background:
    radial-gradient(ellipse at 88% 5%, rgb(211 208 255 / 66%), transparent 51%),
    radial-gradient(ellipse at 6% 88%, rgb(211 228 255 / 72%), transparent 52%),
    radial-gradient(ellipse at 49% 44%, rgb(255 255 255 / 95%), transparent 63%),
    #edf1fa;
}
.sg-number { font-variant-numeric: tabular-nums lining-nums; }
.sg-board-title,.titleline.sg-board-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sg-connection {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  min-height: 28px; padding: 3px 11px; border-radius: 999px;
  font-size: .875rem; line-height: 20px; font-weight: 600;
  color: #536078; background: #e9eef6; border: 1px solid rgb(255 255 255 / 75%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
}
.sg-connection::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.sg-connection[data-state=connected] { color: #16733b; background: linear-gradient(180deg, #f2fff0, #e4f6e6); }
.sg-connection[data-state=connected]::before { background: #1bb333; box-shadow: 0 0 6px rgb(27 179 51 / 16%); }
.sg-connection[data-state=error] { color: #855400; background: #fff5dc; }
@media (max-width: 767px) {
  :root {
    --sg-text-profit: 2rem;
    --sg-text-page: 1.75rem;
    --sg-text-product: 1.375rem;
    --sg-text-panel: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root { --sg-duration: 0ms; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .sg-surface { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Optional adapter for procurement-1688/index.html. Load AFTER its existing styles.
   Visual proposal only; not applied to the running procurement app. */

:root {
  --ink: var(--sg-ink); --muted: var(--sg-muted); --line: var(--sg-line);
  --teal: var(--sg-primary); --mint: #eaf1ff; --paper: var(--sg-bg);
  font-family: var(--sg-font); font-size: 100%; line-height: 1.5;
  color: var(--sg-ink); background: var(--sg-bg);
}
body {
  background:
    radial-gradient(ellipse at 88% 5%, rgb(211 208 255 / 66%), transparent 51%),
    radial-gradient(ellipse at 6% 88%, rgb(211 228 255 / 72%), transparent 52%),
    radial-gradient(ellipse at 49% 44%, rgb(255 255 255 / 95%), transparent 63%), #edf1fa;
  min-height: 100vh;
}
body > header {
  margin: 16px 24px 0; padding: 12px 24px; min-height: 64px;
  background: var(--sg-glass-solid); border: 1px solid var(--sg-edge);
  border-radius: 20px; color: var(--sg-ink); box-shadow: var(--sg-shadow);
}
body > header button { color: var(--sg-ink); border-color: var(--sg-control-border); }
.brand span { color: var(--sg-text); border-color: var(--sg-line); }
.mark { color: var(--sg-primary); background: #edf3ff; border-radius: 8px; }
main { max-width: 1456px; margin: auto; padding: 24px 24px 48px; }
.top { margin-bottom: 20px; }
.top h1 { font-size: var(--sg-text-page); line-height: 1.25; letter-spacing: -.025em; font-weight: 700; }
.card { background: var(--sg-glass-solid); border: 1px solid var(--sg-edge); border-radius: var(--sg-radius-card); box-shadow: var(--sg-shadow); }
.layout { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); gap: 16px; }
.layout > .card { padding: 24px; }
.card + .card { margin-top: 0; }
.focus { border-top: 1px solid var(--sg-edge); }
.intake { padding: 16px 24px; margin-bottom: 16px; }
.intake > small,small,.muted,.edge > span,.local { color: var(--sg-muted); font-size: var(--sg-text-help); line-height: 1.57; }
h2,.profit .edge h2 { font-size: var(--sg-text-panel); line-height: 1.36; font-weight: 700; }
h3 { font-size: var(--sg-text-section); font-weight: 600; }
button,input,textarea,select { font-family: var(--sg-font); font-size: var(--sg-text-body); line-height: 1.5; }
button,.upload { min-height: 44px; border-radius: var(--sg-radius-control); font-weight: 600; background: var(--sg-control); border-color: var(--sg-control-border); color: var(--sg-ink); box-shadow: var(--sg-shadow-control); }
button { transition: background var(--sg-duration), border-color var(--sg-duration), box-shadow var(--sg-duration); }
button:hover { filter: none; background: #fff; border-color: var(--sg-primary); }
button:active { box-shadow: inset 0 1px 3px rgb(40 60 100 / 12%); }
button:disabled { cursor: not-allowed; opacity: 1; color: #596275; background: #e6eaf1; border-color: #a5afc0; box-shadow: none; }
input,textarea,select { border-radius: var(--sg-radius-control); min-height: var(--sg-control-height); background: var(--sg-control); border: 1px solid var(--sg-control-border); color: var(--sg-ink); }
input::placeholder,textarea::placeholder { color: var(--sg-muted); opacity: 1; }
label { font-size: var(--sg-text-body); color: var(--sg-text); }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; accent-color: var(--sg-primary); }
.fees label { min-height: 44px; font-size: var(--sg-text-body); }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline: 2px solid var(--sg-primary); outline-offset: 3px; }
.primary { background: linear-gradient(180deg, var(--sg-primary-top), var(--sg-primary)); color: #fff; border-color: #0756ed; box-shadow: 0 6px 16px rgb(7 86 237 / 18%), inset 0 1px 0 rgb(255 255 255 / 24%); }
.primary:hover { background: var(--sg-primary-hover); color: #fff; }
.searchline .primary,.searchline .upload { min-height: 48px; }
.productSheet { grid-template-columns: minmax(160px, 38%) minmax(0, 1fr); gap: 24px; }
.photo,.photoLaunch { background: rgb(235 238 246 / 72%); border-radius: 16px; }
.itemIdentity h3 { font-size: var(--sg-text-product); line-height: 1.33; font-weight: 700; }
.mainPrice { color: var(--sg-ink); font-size: var(--sg-text-product); letter-spacing: 0; font-weight: 700; }
.tradeFacts dt { font-size: var(--sg-text-help); }.tradeFacts dd { font-size: var(--sg-text-body); }
.variant { min-height: 44px; }.variant[aria-pressed=true] { border-color: var(--sg-primary); background: #edf3ff; color: #0646bf; box-shadow: inset 0 0 0 1px var(--sg-primary); }
/* Per-SKU readiness uses the existing frame; selection remains independent. */
.variant[data-readiness]{min-height:44px;min-width:82px;padding:8px 18px;border:2px solid #8395b6;background:rgb(255 255 255 / 76%);color:var(--sg-ink);box-shadow:0 3px 8px rgb(44 66 120 / 7%),inset 0 1px 0 rgb(255 255 255 / 95%);transition:border-color 160ms,background 160ms,box-shadow 160ms,transform 120ms}
.variant[data-readiness=pending]{border-style:dashed;background:rgb(255 255 255 / 32%);box-shadow:inset 0 1px 0 rgb(255 255 255 / 48%)}
.variant[data-readiness]:hover{border-color:#5376b3;box-shadow:0 4px 12px rgb(44 66 120 / 12%)}
.variant[data-readiness][aria-pressed=true]{border-color:var(--sg-primary);background:#e6efff;box-shadow:0 0 0 2px rgb(255 255 255 / 90%),0 0 0 3px rgb(7 86 237 / 18%),0 4px 10px rgb(7 86 237 / 10%);color:var(--sg-ink)}
.variant[data-readiness]:active{transform:scale(.98)}
.variant[data-readiness] .specStatus { display: none; }
@media(prefers-reduced-motion:reduce){.variant[data-readiness]{transition:none}.variant[data-readiness]:active{transform:none}}
.packFacts,.advancedCosts { background: rgb(225 230 242 / 48%); border-radius: 12px; }
.profit .total { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; background: rgb(225 230 242 / 48%); color: var(--sg-ink); border-radius: 16px; padding: 16px; }
.profit .total > span { color: var(--sg-primary); font-size: var(--sg-text-section); font-weight: 600; }
.profit .total strong { grid-column: 2; grid-row: 1 / span 2; font-size: var(--sg-text-profit); font-weight: 700; line-height: 1.22; color: var(--sg-ink); font-variant-numeric: tabular-nums; }
.profit .total small { color: var(--sg-muted); }.profit .total .loss { color: var(--sg-danger) !important; }
.profitMetrics strong { font-size: var(--sg-text-section); }
.calcToggles { gap: 12px; }.calcToggles button { flex: 1 1 140px; }
#cartonPanel,#chatMessages,#packingDrawing,.heroEmpty { background: #f0f3fa; }
.bubble { background: #fff; border-color: var(--sg-line); }.bubble.mine { background: #e5eeff; }
.bubble small,#chatState,.specStatus { font-size: var(--sg-text-help); }
#hostBadge { background: var(--sg-positive-bg); border-color: #7cba91; color: var(--sg-positive); }
.operations { gap: 16px; margin-top: 16px; }.operations > details.card { padding: 20px 24px; }
dialog { background: #fafbff; border: 1px solid #fff; border-radius: 24px; box-shadow: 0 24px 80px rgb(32 50 100 / 20%); }
dialog::backdrop { background: rgb(24 36 66 / 30%); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body > header,.card { background: var(--sg-glass); -webkit-backdrop-filter: blur(20px) saturate(1.12); backdrop-filter: blur(20px) saturate(1.12); }
  .card .card { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  body > header { margin: 12px 16px 0; padding: 12px 16px; flex-wrap: wrap; gap: 12px; }
  .brand { flex-wrap: wrap; }.brand span { font-size: 14px; }
  main { padding: 20px 16px 32px; }.layout > .card,.intake,.operations > details.card { padding: 20px; }
  .productSheet { grid-template-columns: minmax(0,1fr); gap: 20px; }.photo { max-width: 360px; width: 100%; margin: auto; }
  .operations { grid-template-columns: 1fr; }.packFacts { grid-template-columns: 1fr; }.packFacts > div + div { border: 0; padding-left: 0; }
  .searchline { flex-wrap: wrap; }.searchline textarea { flex: 1 1 100%; }.searchline .primary,.searchline .upload { flex: 1; }
  .profit .total strong { font-size: var(--sg-text-profit); }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  body > header,.card { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } body { background: #eef2f8; }
}

body > header { height: auto; gap: 16px; }
.brand .homeLink { color: var(--sg-ink); text-decoration: none; font-weight: 700; }
.brand .homeLink:hover { color: var(--sg-primary); }
body > header > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body > header a { color: #094cb9; }
.helperDownloads { display: inline-flex; align-items: center; border: 1px solid var(--sg-control-border); border-radius: .65rem; background: var(--sg-control); }
.helperDownloads a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: .25rem .65rem; border-radius: .6rem; color: #254a79; font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.helperDownloads a + a { border-left: 1px solid var(--sg-control-border); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.helperDownloads a:is(:hover,:focus-visible) { background: #e8f0ff; color: #164d99; }
body > header #platformStatus, body > header [data-cloud="account"] { color: var(--sg-ink); background: var(--sg-control); }
.searchline #query { border: 1px solid var(--sg-control-border); border-radius: 12px; padding: 10px 14px; min-height: 48px; background: var(--sg-control); }
.searchline .upload { display: inline-flex; align-items: center; justify-content: center; }
.offerChip { border-radius: 12px; background: var(--sg-control); min-height: 44px; }
.offerChip:hover:not(:disabled), .offerChip:focus-visible { border-color: var(--sg-primary); }
.offerChip[draggable="true"] { cursor: grab; }
.offerChip[draggable="true"] img { pointer-events: none; }
.offerChip.copyTarget { outline: 2px solid var(--sg-primary); outline-offset: 2px; }
.offerChip[aria-pressed="true"] { border-color: var(--sg-primary); background: #eaf1ff; color: #0646bf; box-shadow: inset 0 0 0 1px var(--sg-primary); }
.cartFoot .checkoutLink { background: var(--sg-primary); border-radius: 12px; }
.cartFoot .checkoutLink:hover { background: var(--sg-primary-hover); }
.teamPanel section, .libraryDrawer, .results { background: var(--sg-control); border-radius: 16px; }
.resultHead { margin: 0; min-height: 0; box-shadow: none; }
.top, .layout > *, .profit { min-width: 0; }
.boardGlyph { width: 1.15em; height: 1.15em; margin-right: .45em; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
main { max-width: 1408px; }
.boardTitle { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sg-connection {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  min-height: 28px; padding: 3px 11px; border-radius: 999px;
  font-size: .875rem; line-height: 20px; font-weight: 600;
  color: #536078; background: #e9eef6; border: 1px solid rgb(255 255 255 / 75%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
}
.sg-connection::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.sg-connection[data-state=connected], .inquiryState[data-tone="waiting"], .inquiryState[data-tone="success"] { color: #16733b; background: linear-gradient(180deg, #f2fff0, #e4f6e6); }
.sg-connection[data-state=connected]::before, .inquiryState[data-tone="waiting"]::before, .inquiryState[data-tone="success"]::before { background: #1bb333; box-shadow: 0 0 6px rgb(27 179 51 / 16%); }
.sg-connection[data-state=error] { color: #855400; background: #fff5dc; }
.sg-connection[data-state=disconnected]::before { background: #c53337; }
.boardTitle [hidden] { display: none; }
#platformStatus[data-state=verify], #platformStatus[data-state=login] { background: #fff5dc; color: #855400; }
#dialog [data-cloud="jobProduct"] { display: inline; padding: 0; min-height: 0; text-align: left; font: inherit; font-weight: 600; color: inherit; background: transparent; border: 0; box-shadow: none; overflow-wrap: anywhere; }
#dialog [data-cloud="jobProduct"]:hover { text-decoration: underline; }
.layout { align-items: start; grid-template-columns: minmax(0,3fr) minmax(0,2fr); }
.layout > .card { align-self: start; }
.libraryDrawer { border: 0; padding: 0; background: transparent; }
#cloudLibrary, .operations > details.card, #results #resultList, .offerChoices {
  max-height: none; overflow: visible;
}
.operations { align-items: start; }
#results { position: relative; padding: .65rem 1.25rem; }
#results > summary { display: list-item; width: fit-content; font-weight: 600; }
#results[open] > summary { line-height: 3rem; }
#results #resultSortLabel:not([hidden]) { display: inline-flex; vertical-align: middle; }
#results #resultSortLabel[hidden] { display: none; }
@media(min-width: 480px) {
  #results[open] #resultSortLabel:not([hidden]) { position: absolute; top: .65rem; left: 8rem; gap: .5rem; }
}
#resultList { margin-top: .5rem; }
#resultList .resultRow, .commerceRow { display: grid; align-items: center; gap: .5rem 1rem; }
#resultList .resultRow { grid-template-columns: 5rem minmax(0,1fr) minmax(5rem,8rem) minmax(8rem,12rem) auto; }
.resultImage .thumb, .commerceImage .thumb { width: 100%; height: 100%; object-fit: contain; }
.resultImage { width: 5rem; height: 5rem; }
.listTitle, .itemIdentity h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.row .listTitle { font-size: 1rem; line-height: 1.5; font-weight: 550; }
.resultPrice, .commerceRow span { font-variant-numeric: tabular-nums; }
.productSheet { display: grid; grid-template-columns: clamp(15rem,21vw,18.75rem) minmax(0,1fr); align-items: start; }
.productSheet .photo { width: 100%; max-width: none; height: auto; aspect-ratio: 1; }
.productSheet .photo .thumb { width: 100%; height: 100%; object-fit: contain; }
.pendingSheet:not(:has(.photo)) { grid-template-columns: 1fr; }
.itemIdentity h3 { font-size: 1.5rem; line-height: 1.333; font-weight: 650; margin-top: 0; }
.offerSpecs summary { cursor: pointer; font-weight: 600; }
.offerSpecs summary span { font-weight: 400; color: var(--sg-muted); }
.offerSpecs[open] summary { margin-bottom: .75rem; }
.offerChip[data-ready="false"] { border-style: dashed; }
.offerChip[data-ready="true"] { border-style: solid; }
.offerChip[aria-pressed="true"] { box-shadow: none; }
.profit .total > span { color: var(--sg-primary); }
.profit .total strong { font-size: 2.25rem; line-height: 1.22; }
.commerceRow { grid-template-columns: 3.75rem minmax(0,1fr) auto; }
.commerceImage { width: 3.75rem; height: 3.75rem; }
.commerceRow small, .commerceRow span { display: block; overflow-wrap: anywhere; }
.commerceRow small { line-height: 1.55; margin-block: .2rem; }
.commerceRow button { justify-self: end; }
.operations #samplePane,.operations #cartPane { overflow: visible; max-height: none; }
@media(max-width: 1000px) { .layout { grid-template-columns: minmax(0,1fr); } }
@media(max-width: 700px) {
  #resultList .resultRow { grid-template-columns: 4.5rem minmax(0,1fr) auto; gap: .25rem .6rem; }
  .resultImage { grid-column: 1; grid-row: 1 / span 3; width: 4.5rem; height: 4.5rem; }
  .resultRow .listTitle { grid-column: 2 / -1; }
  .resultRow .resultPrice,.resultRow small { grid-column: 2; }
  .resultRow button { grid-column: 3; grid-row: 2 / span 2; }
  .productSheet { grid-template-columns: minmax(0,1fr); }
  .productSheet .photo { width: min(100%,18.75rem); margin-inline: auto; }
  .commerceRow { gap: .3rem .6rem; grid-template-columns: 3.5rem minmax(0,1fr); }
  .commerceRow > :last-child { grid-column: 2; justify-self: end; }
  .commerceImage { width: 3.5rem; height: 3.5rem; }
  .operations { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 767px) {
  body > header { align-items: flex-start; }
  .top { flex-wrap: wrap; }
  .operations > details.card { min-width: 0; }
}

/* Task states stay readable independently of their colour. */
.inquiryState {width:fit-content;max-width:100%;flex-shrink:1;}
.inquiryState[data-tone="working"] {color:#174e89;background:#e4efff;}
.inquiryState[data-tone="retry"], .inquiryState[data-tone="attention"] {color:#813b0a;background:#fff0d8;}
.inquiryState[data-tone="manual"] {color:#63458c;background:#f0eaf8;}
.inquiryState[data-tone="muted"] {color:#515d6a;background:#e9edf1;}
#inquiryDesk .row p {margin:.18rem 0 .32rem;}
#inquiryDesk h3:not(:first-child) {margin-top:1.25rem;}

#completedInquiries:not([hidden]) {display:grid;gap:.4rem;padding:.65rem 1rem;margin:.5rem 0;border:1px solid #afd5bd;border-radius:.65rem;background:#edf8f0;color:#245d42;}
#completedInquiries > div {display:flex;gap:.55rem;align-items:center;flex-wrap:wrap;}

#customBoxDims .cartonDims:has(#savePersonalBox:not([hidden])) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
  align-items: end;
}
#customBoxDims .cartonDims label, #customBoxDims input { min-width: 0; }
#savePersonalBox { white-space: nowrap; padding-inline: .65rem; }
@media (max-width: 480px) {
  #customBoxDims .cartonDims { gap: .25rem; }
  #savePersonalBox { font-size: .875rem; padding-inline: .35rem; }
}
