/* V2: a viewport-bounded AI workspace. Scroll belongs to a named panel. */
html, body, #app { height: 100%; overflow: hidden; }
.workspace { height: 100dvh; min-height: 0; overflow: hidden; }
.sidebar { width: 208px; min-height: 0; }
.sidebar nav { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sidebar-bottom { flex-shrink: 0; }
.workspace-body { width: calc(100% - 208px); margin-left: 208px; height: 100%; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.topbar { flex: 0 0 52px; height: 52px; padding: 0 24px; }
.topbar > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
main { flex: 1; min-height: 0; width: 100%; max-width: none; margin: 0; padding: 10px 24px 20px; overflow: auto; overscroll-behavior: contain; }
main[data-page="overview"] { display: flex; flex-direction: column; overflow: hidden; padding: 10px 24px 12px; }
.workspace-footer { flex: 0 0 24px; padding: 0 24px 6px; font-size: 9px; line-height: 18px; overflow: hidden; white-space: nowrap; }
.page-heading { flex-shrink: 0; }
.workbench-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 18px; overflow: hidden; }
.ai-column { display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
.ai-column .page-heading { align-items: center; flex-direction: row; gap: 14px; margin: 6px 0 20px; }
.ai-column .page-heading h1 { font-size: 24px; letter-spacing: -.6px; }
.ai-column .page-heading p { font-size: 12px; margin-top: 4px; }
.ai-column .heading-actions { flex-shrink: 0; width: auto; max-width: none; flex-wrap: nowrap; }
.ai-column .filters { flex: none; flex-wrap: nowrap; }
.ai-column .select-wrap { padding: 0 8px; }
.ai-column .select-wrap select { font-size: 11px; }
.ai-conversation { flex: 1; min-height: 0; min-width: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 8px; }
.conversation-header { flex-shrink: 0; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 22px; border-bottom: 1px solid var(--line); }
.conversation-header h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; white-space: nowrap; }
.conversation-header h2 .icon { color: var(--green); width: 21px; height: 21px; }
.conversation-header > span { color: #929ba6; font-size: 11px; }
.new-conversation { margin-left: auto; min-height: 29px; padding: 4px 9px; font-size: 10px; }
.conversation-history { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 28px 18px; scrollbar-gutter: stable; }
.conversation-history.is-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ai-conversation .assistant-welcome { width: 100%; max-width: 740px; margin: auto; padding: 25px 12px; }
.ai-conversation .welcome-symbol { background: transparent; margin-bottom: 24px; width: 52px; height: 52px; }
.ai-conversation .welcome-symbol .icon { width: 44px; height: 44px; fill: #e7f4ed; stroke-width: 1.2; }
.ai-conversation .assistant-welcome h2 { font-size: 27px; letter-spacing: -.8px; line-height: 1.6; }
.ai-conversation .assistant-welcome > p { font-size: 13px; color: #8b95a1; margin: 8px 0 32px; }
.starter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.starter { border: 1px solid #e0e6eb; border-radius: 6px; padding: 17px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; font-size: 12px; font-weight: 500; background: #fff; line-height: 1.7; }
.starter.featured { border-color: #a2cebf; background: #f0f8f4; }
.starter:hover { background: #edf6f1; border-color: #9ec7b7; }
.starter .icon { width: 17px; height: 17px; color: #748e80; }
.starter.featured .icon { color: var(--green); }
.composer-dock { flex-shrink: 0; padding: 0 16px 10px; background: #fff; }
.ai-conversation .composer { padding: 10px 13px; border-color: #9ac2b2; }
.ai-conversation .composer textarea { min-height: 48px; max-height: 100px; height: 48px; font-size: 13px; }
.ai-conversation .composer > div > span { display: flex; align-items: center; gap: 6px; color: #89969c; font-size: 10px; }
.ai-conversation .composer > div > span .icon { width: 13px; height: 13px; }
.ai-conversation .composer-note { text-align: right; font-size: 9px; margin-top: 6px; }
.product-context { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #71917f; padding: 8px 2px; }
.product-context > .icon { width: 14px; height: 14px; }
.product-context b { font-weight: 500; color: #326b50; }
.product-context button { display: flex; padding: 2px; color: #819b8c; }
.product-context button .icon { width: 13px; height: 13px; }
.chat-turn .user-question { margin: 15px 0 22px; }
.chat-turn .answer-block { margin-bottom: 22px; padding-bottom: 24px; }
.chat-turn:last-child .answer-block { border-bottom: 0; margin-bottom: 0; padding-bottom: 5px; }
.business-rail { display: flex; flex-direction: column; min-height: 0; min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden; }
.rail-header { display: flex; align-items: center; gap: 14px; padding: 10px 17px 0; min-height: 54px; flex-shrink: 0; border-bottom: 1px solid #edf0f3; }
.rail-header h2 { font-size: 16px; margin-right: auto; white-space: nowrap; }
.rail-tabs { display: flex; gap: 4px; align-self: stretch; }
.rail-tabs button { font-size: 12px; color: #86919f; padding: 7px 11px 10px; border-bottom: 2px solid transparent; }
.rail-tabs button[aria-pressed="true"] { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.rail-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px 18px; scrollbar-gutter: stable; }
.rail-scroll, .conversation-history { scrollbar-width: thin; scrollbar-color: #cbd6cf transparent; }
.rail-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #e9edf0; border-radius: 6px; overflow: hidden; }
.rail-metrics > div { padding: 12px 11px; display: flex; flex-direction: column; gap: 3px; }
.rail-metrics > div:nth-child(even) { border-left: 1px solid #edf0f3; }
.rail-metrics > div:nth-child(n+3) { border-top: 1px solid #edf0f3; }
.rail-metrics > div > span { font-size: 11px; color: #6d7c89; }
.rail-metrics strong { font-size: 20px; line-height: 1.5; font-weight: 600; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.rail-metrics small { font-size: 11px; }
.rail-scope { color: #9ca7af; font-size: 9px; line-height: 1.8; margin: 8px 2px 12px; }
.rail-section { padding: 13px 2px 8px; }
.rail-section h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 10px; }
.rail-section h3 > span, .rail-section h3 > a { color: #9aa5af; font-size: 9px; font-weight: 400; }
.rail-section h3 > a { display: flex; align-items: center; gap: 3px; }
.rail-section h3 > a .icon { width: 12px; height: 12px; }
.rail-trend { padding-bottom: 10px; border-bottom: 1px solid #edf0f3; }
.rail-trend .trend { min-height: 0; height: 112px; margin: 0; }
.rail-trend .trend text { font-size: 14px; }
.rail-trend .chart-legend { display: none; }
.stock-attention { width: 100%; display: flex; align-items: center; gap: 8px; padding: 15px 2px; border-bottom: 1px solid #edf0f3; font-size: 11px; text-align: left; }
.stock-attention b { font-size: 12px; font-weight: 550; margin-right: auto; white-space: nowrap; }
.stock-attention > span { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.stock-attention i { width: 7px; height: 7px; border-radius: 50%; background: #e7a25c; flex-shrink: 0; }
.stock-attention > .icon { width: 12px; height: 12px; color: #8f9e96; }
.rail-products > div { display: flex; align-items: center; gap: 6px; padding: 11px 0; border-bottom: 1px solid #edf0f3; }
.rail-product-name { display: flex; gap: 9px; align-items: center; text-align: left; padding: 0; flex: 1; min-width: 0; }
.rail-product-name > i { width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; }
.rail-product-name > span { font-size: 11px; line-height: 1.5; }
.rail-product-name small { display: block; font-size: 10px; color: #9aa6a0; margin-top: 4px; }
.rail-analyze { display: flex; align-items: center; gap: 3px; color: var(--green); padding: 5px 0 5px 5px; font-size: 10px; white-space: nowrap; }
.rail-analyze .icon { width: 12px; height: 12px; }
.rail-full-button { width: 100%; margin-top: 14px; font-size: 11px; }
.rail-explanation { color: #96a29b; font-size: 10px; line-height: 1.9; margin-bottom: 12px; }
.rail-bottom { padding: 11px 2px 0; font-size: 9px; }
.rail-document { display: flex; gap: 9px; width: 100%; text-align: left; padding: 15px 0; border-bottom: 1px solid #edf0f3; }
.rail-document > .icon { color: #6d9b84; width: 16px; height: 16px; margin-top: 4px; }
.rail-document > .icon:last-child { width: 11px; height: 11px; margin-left: auto; }
.rail-document > span { min-width: 0; flex: 1; }
.rail-document b { font-size: 12px; font-weight: 500; }
.rail-document small { display: block; font-size: 9px; color: #91a298; margin-top: 4px; }
.rail-document p { font-size: 10px; color: #a0aaa6; line-height: 1.9; margin-top: 7px; overflow-wrap: anywhere; }
.summary-toggle, .close-rail, .rail-scrim { display: none; }
.catalog-summary { display: flex; align-items: center; gap: 48px; border-top: 1px solid #e5eae7; border-bottom: 1px solid #e5eae7; padding: 20px 3px; margin-bottom: 22px; }
.catalog-summary > div { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.catalog-summary strong { font-size: 25px; font-weight: 600; letter-spacing: -.8px; }
.catalog-summary span { font-size: 11px; color: #819388; }
.catalog-summary p { margin-left: auto; font-size: 11px; color: #94a199; }
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.catalog-toolbar .search-field { min-width: 200px; max-width: none; }
.catalog-toolbar input { font-size: 12px; }
.catalog-toolbar .select-wrap select { font-size: 11px; }
.catalog-panel .table-scroll { margin: 0; }
.catalog-panel table { min-width: 1000px; }
.catalog-panel th { padding: 15px 18px; font-size: 12px; font-weight: 450; background: #fafbfc; }
.catalog-panel td { padding: 20px 18px; font-size: 12px; }
.catalog-product { display: flex; align-items: center; text-align: left; gap: 13px; padding: 0; }
.catalog-product > i { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 6px; color: #466c58; }
.catalog-product > i > .icon { width: 19px; height: 19px; opacity: .65; }
.catalog-product b { font-size: 13px; font-weight: 550; }
.catalog-product small { display: block; color: #97a298; font-size: 10px; margin-top: 4px; }
.catalog-panel td > small { display: block; font-size: 10px; margin-top: 4px; }
.stock-low { color: #c38c49; }
.catalog-actions { display: flex; align-items: center; gap: 15px; }
.catalog-actions .btn { font-size: 11px; padding: 6px 10px; min-height: 32px; }
.catalog-actions .detail-link { border: 0; background: transparent; padding: 0; min-height: 28px; color: #819489; }
.catalog-note { border-top: 1px solid #edf0f3; padding: 15px 18px; font-size: 10px; color: #99a59e; }
.product-ai-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding-top: 22px; }
.product-ai-actions .btn { font-size: 11px; }
.catalog-view-tabs, .product-detail-tabs { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.catalog-view-tabs > button, .product-detail-tabs > button { border-bottom: 2px solid transparent; padding: 12px 0; color: #87958d; font-size: 12px; }
.catalog-view-tabs > button[aria-pressed="true"], .product-detail-tabs > button[aria-pressed="true"] { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.catalog-view-tabs > span, .product-detail-tabs > span { margin-left: auto; font-size: 10px; color: #94a197; }
.catalog-panel .shipping-estimate { display: inline-flex; align-items: center; gap: 4px; color: var(--green); padding: 0; white-space: nowrap; }
.shipping-estimate .icon { width: 12px; height: 12px; }
.supply-connections { margin-top: 14px; border-top: 1px solid var(--line); }
.supply-connections p { font-size: 11px; color: #8c9b93; line-height: 1.9; }
dialog.wide:has(.product-sheet) { width: 920px; overflow: hidden; }
.product-sheet { display: flex; flex-direction: column; max-height: calc(100dvh - 64px); min-height: 0; }
.product-sheet .dialog-heading { flex-shrink: 0; border-bottom: 0; padding-bottom: 9px; }
.product-detail-tabs { flex-shrink: 0; padding: 0 27px; margin: 0; gap: 28px; }
.product-sheet-scroll { overflow-y: auto; min-height: 0; overscroll-behavior: contain; padding: 6px 27px 25px; scrollbar-width: thin; scrollbar-color: #cbd6cf transparent; }
.detail-section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 20px 0 14px; }
.detail-section-title h3, .shipping-toolbar h3 { font-size: 13px; font-weight: 600; }
.detail-section-title .source-link { font-size: 10px; }
.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 30px; margin: 0; }
.detail-grid dt { font-size: 11px; color: #96a298; margin-bottom: 6px; }
.detail-grid dd { font-size: 17px; font-weight: 500; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.product-context-strip { display: flex; flex-wrap: wrap; gap: 14px 30px; background: #f5f8f6; border: 1px solid #e5ece7; border-radius: 5px; padding: 15px; margin: 24px 0 18px; font-size: 11px; color: #8a9b8e; }
.product-context-strip b { color: #537c62; font-weight: 500; margin-left: 5px; }
.product-sheet .notice { margin-top: 20px; font-size: 11px; }
.product-sheet-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 16px 27px; }
.product-sheet-footer > span { font-size: 10px; color: #9ba79e; }
.product-sheet-footer .btn { font-size: 12px; }
.operational-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; padding: 20px 0 5px; }
.operational-metrics > div { background: #f5f8f6; border: 1px solid #e8eee9; border-radius: 6px; display: flex; flex-direction: column; gap: 6px; padding: 14px; }
.operational-metrics span { font-size: 11px; color: #81958a; }
.operational-metrics strong { font-size: 22px; font-weight: 550; }
.operational-metrics small { font-size: 10px; color: #92a197; line-height: 1.8; }
.detail-table { margin: 0; border: 1px solid #e5ebe7; border-radius: 5px; }
.detail-table table { width: 100%; min-width: 550px; }
.detail-table th { background: #f8faf9; font-size: 11px; font-weight: 450; padding: 12px; }
.detail-table td { padding: 15px 12px; font-size: 12px; }
.detail-table small { display: block; color: #9aa59f; font-size: 10px; margin-top: 5px; }
.detail-table td b { font-weight: 550; }
.status-badge { font-size: 10px; color: #6d8e7b; background: #edf5ef; padding: 4px 7px; border-radius: 3px; }
.supply-result { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; background: #f1f7f3; border: 1px solid #dce9df; border-radius: 5px; padding: 16px; margin-top: 20px; }
.supply-result.has-gap { background: #fff9f0; border-color: #eee1ca; }
.supply-result > div > span { font-size: 10px; color: #a5834e; }
.supply-result h3 { font-size: 14px; font-weight: 550; margin-top: 7px; line-height: 1.7; }
.supply-result p { font-size: 11px; line-height: 1.9; color: #8c9286; margin-top: 7px; }
.supply-result .source-link { white-space: nowrap; font-size: 10px; }
.detail-footnote { font-size: 10px; color: #96a197; line-height: 1.9; margin: 12px 0; }
.package-profile { display: flex; align-items: center; gap: 17px; padding: 17px; background: #f5f8f6; border: 1px solid #e6ede8; border-radius: 5px; }
.package-symbol { color: #67947d; flex-shrink: 0; width: 43px; height: 43px; background: #e8f0eb; display: grid; place-items: center; border-radius: 6px; }
.package-symbol .icon { width: 25px; height: 25px; }
.package-profile b { font-size: 13px; font-weight: 500; }
.package-profile p { font-size: 11px; color: #84968a; margin-top: 6px; line-height: 1.8; }
.package-profile small { display: block; color: #92a196; font-size: 10px; line-height: 1.8; margin-top: 5px; }
.shipping-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 25px 0 8px; }
.shipping-toolbar label { gap: 12px; }
.shipping-toolbar label > span { color: #8a9d90; font-size: 10px; }
.shipping-toolbar select { font-size: 11px; }
.shipping-cost-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 14px 0; }
.shipping-cost-summary > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border: 1px solid #e4ece6; border-radius: 5px; background: #fafcfb; }
.shipping-cost-summary span { color: #8c9f92; font-size: 11px; }
.shipping-cost-summary strong { color: #4f7b62; font-size: 19px; font-weight: 550; }
.shipping-cost-summary small { font-size: 10px; font-weight: 400; color: #95a39b; }
.shipping-table table { min-width: 770px; }
.shipping-table th, .shipping-table td { padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.shipping-table th { font-size: 10px; }
.shipping-table td { font-size: 11px; }
.shipping-table .lowest-quote { background: #f4f9f5; }
.shipping-table .lowest-quote strong { color: var(--green); }
.shipping-formula { display: flex; flex-direction: column; gap: 7px; margin: 18px 0; font-size: 11px; color: #80958a; line-height: 1.9; }
.shipping-formula b { color: #688675; font-weight: 500; }
.overview-grid .insight-rail { max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 1500px) {
  .sidebar { width: 220px; }
  .workspace-body { width: calc(100% - 220px); margin-left: 220px; }
  .workbench-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .conversation-header { min-height: 60px; }
  .conversation-header h2 { font-size: 18px; }
  .conversation-header > span { font-size: 12px; }
  .starter { font-size: 14px; padding: 19px 18px; }
  .ai-conversation .assistant-welcome h2 { font-size: 29px; }
  .ai-conversation .assistant-welcome > p { font-size: 15px; }
  .rail-metrics strong { font-size: 22px; }
  .rail-product-name > span { font-size: 12px; }
  .rail-section h3 { font-size: 14px; }
  .rail-products > div { padding: 12px 0; }
  .rail-trend .trend { height: 135px; }
  .catalog-panel td { padding-top: 23px; padding-bottom: 23px; font-size: 13px; }
  .catalog-product b { font-size: 14px; }
}
@media (max-width: 1250px) {
  .ai-column .page-heading { flex-direction: column; align-items: flex-start; margin: 3px 0 15px; gap: 10px; }
  .workbench-layout { grid-template-columns: minmax(0, 1fr) 284px; gap: 14px; }
  .ai-conversation .assistant-welcome h2 { font-size: 23px; }
  .starter { font-size: 11px; padding: 14px 12px; }
  .conversation-history { padding-left: 18px; padding-right: 18px; }
  .conversation-header { padding: 12px 17px; gap: 10px; }
  .conversation-header > span { font-size: 10px; }
  .new-conversation { font-size: 9px; gap: 4px; }
  .catalog-summary { gap: 30px; }
  .catalog-summary p { display: none; }
}
@media (max-width: 1100px) {
  .workbench-layout { grid-template-columns: minmax(0, 1fr); }
  .business-rail { display: none; }
  .summary-toggle { display: inline-flex; }
  .rail-open .business-rail { display: flex; position: fixed; top: 62px; right: 14px; bottom: 36px; width: 340px; max-width: calc(100vw - 28px); z-index: 40; box-shadow: 0 18px 60px #1d392630; }
  .rail-open .rail-scrim { display: block; position: fixed; inset: 0; z-index: 35; background: #1d39262b; cursor: default; }
  .close-rail { display: flex; width: 25px; height: 25px; padding: 3px; }
  .rail-tabs button { padding-left: 8px; padding-right: 8px; }
  .ai-column .page-heading { flex-direction: row; align-items: center; }
  .ai-column .page-heading p { max-width: 260px; }
  .ai-column .heading-actions { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 760px) {
  .sidebar { width: 210px; }
  .workspace-body { width: 100%; margin-left: 0; }
  .topbar { flex-basis: 50px; height: 50px; padding: 0 15px; }
  .topbar-right { flex-shrink: 0; }
  .topbar i { margin: 0 6px; }
  .demo-indicator { display: none; }
  main { padding: 8px 14px 14px; }
  main[data-page="overview"] { padding: 4px 12px 8px; }
  .workspace-footer { flex-basis: 23px; padding: 0 14px 5px; display: block; font-size: 8px; }
  .workspace-footer > span { display: none; }
  .workbench-layout { gap: 0; }
  .ai-column .page-heading { flex-direction: column; align-items: flex-start; gap: 10px; margin: 5px 3px 13px; }
  .ai-column .page-heading h1 { font-size: 23px; }
  .ai-column .page-heading p { font-size: 11px; max-width: none; }
  .ai-column .heading-actions { width: 100%; justify-content: flex-start; gap: 7px; }
  .ai-column .filters { flex: 1; gap: 5px; flex-wrap: wrap; }
  .ai-column .select-wrap { padding: 0 6px; }
  .ai-column .select-wrap select { font-size: 10px; padding: 7px 0; }
  .summary-toggle { min-height: 32px; padding: 5px 8px; font-size: 10px; }
  .summary-toggle .icon { width: 13px; height: 13px; }
  .conversation-header { min-height: 44px; padding: 10px 12px; gap: 7px; flex-wrap: wrap; }
  .conversation-header h2 { font-size: 13px; gap: 6px; }
  .conversation-header h2 .icon { width: 16px; height: 16px; }
  .conversation-header > span { font-size: 9px; }
  .new-conversation { min-height: 24px; font-size: 9px; padding: 2px 5px; }
  .new-conversation .icon { display: none; }
  .conversation-history { padding: 10px 14px 18px; }
  .ai-conversation .assistant-welcome { padding: 20px 0; }
  .ai-conversation .welcome-symbol { width: 34px; height: 34px; margin-bottom: 16px; }
  .ai-conversation .welcome-symbol .icon { width: 31px; height: 31px; }
  .ai-conversation .assistant-welcome h2 { font-size: 20px; line-height: 1.7; }
  .ai-conversation .assistant-welcome > p { font-size: 10px; margin: 8px 8px 22px; line-height: 1.9; }
  .starter-grid { grid-template-columns: 1fr; gap: 8px; }
  .starter { font-size: 11px; padding: 10px 12px; }
  .starter .icon { width: 14px; height: 14px; }
  .composer-dock { padding: 0 9px 7px; }
  .ai-conversation .composer { padding: 8px 10px; }
  .ai-conversation .composer textarea { height: 43px; min-height: 43px; max-height: 80px; font-size: 11px; }
  .ai-conversation .composer > div > span { font-size: 8px; max-width: none; gap: 4px; }
  .ai-conversation .composer > div > span .icon { width: 11px; height: 11px; }
  .ai-conversation .composer .btn { min-height: 29px; font-size: 9px; padding: 5px 7px; gap: 4px; }
  .ai-conversation .composer .btn .icon { width: 12px; height: 12px; }
  .ai-conversation .composer-note { font-size: 8px; text-align: left; margin: 5px 1px 0; line-height: 1.7; }
  .rail-open .business-rail { top: 55px; right: 10px; bottom: 30px; max-width: calc(100vw - 20px); }
  .catalog-summary { flex-wrap: wrap; gap: 14px 24px; padding: 16px 2px; margin-bottom: 18px; }
  .catalog-summary > div { gap: 6px; }
  .catalog-summary strong { font-size: 21px; }
  .catalog-summary span { font-size: 10px; }
  .catalog-toolbar { gap: 8px; }
  .catalog-toolbar .search-field { flex-basis: 100%; min-width: 0; }
  .catalog-toolbar .select-wrap { flex: 1; }
  .catalog-toolbar .select-wrap select { width: 100%; font-size: 10px; }
  .catalog-toolbar .select-wrap:last-child { flex-basis: 100%; }
  .catalog-panel th, .catalog-panel td { padding-left: 14px; padding-right: 14px; }
  .catalog-panel td { padding-top: 17px; padding-bottom: 17px; }
  .catalog-note { font-size: 9px; }
  .catalog-view-tabs { flex-wrap: wrap; gap: 0 22px; }
  .catalog-view-tabs > span { flex-basis: 100%; margin: 0 0 10px; font-size: 9px; }
  .product-sheet { max-height: calc(100dvh - 36px); }
  .product-detail-tabs { padding: 0 18px; gap: 23px; }
  .product-detail-tabs > button { font-size: 11px; }
  .product-detail-tabs > span { display: none; }
  .product-sheet-scroll { padding: 2px 18px 20px; }
  .detail-grid { gap: 17px; }
  .detail-grid dd { font-size: 14px; }
  .operational-metrics { gap: 6px; }
  .operational-metrics > div { padding: 11px 8px; }
  .operational-metrics strong { font-size: 17px; }
  .operational-metrics span, .operational-metrics small { font-size: 9px; }
  .product-sheet-footer { padding: 12px 18px; }
  .product-sheet-footer > span { display: none; }
  .product-sheet-footer .btn { width: 100%; font-size: 11px; }
  .package-profile { gap: 10px; padding: 13px 10px; }
  .package-profile b { font-size: 11px; }
  .package-symbol { width: 30px; height: 35px; }
  .package-symbol .icon { width: 20px; height: 20px; }
  .shipping-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .shipping-cost-summary { gap: 8px; }
  .shipping-cost-summary > div { padding: 10px; flex-direction: column; align-items: flex-start; }
  .shipping-cost-summary span { font-size: 9px; }
  .shipping-cost-summary strong { font-size: 18px; }
  .supply-result { padding: 13px; gap: 5px; }
  .supply-result h3 { font-size: 12px; }
}

.rail-sparkline { display: block; width: 100%; height: 124px; }
.rail-sparkline text { font-family: inherit; font-size: 10px; fill: #96a29a; }
