:root {
  --brand: #2457d6;
  --ink: #202223;
  --muted: #616161;
  --line: #e1e3e5;
  --surface: #ffffff;
  --canvas: #f6f6f7;
  --green: #008060;
  --amber: #8a6116;
  --red: #d72c0d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 35%, white); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { background: #202223; color: #f1f1f1; padding: 20px 12px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; }
.brand-lockup { display: flex; align-items: center; gap: 10px; padding: 0 10px 28px; font-weight: 650; letter-spacing: -.2px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: white; color: #202223; font-weight: 800; }
.sidebar nav { display: grid; gap: 3px; }
.nav-item, .help-link { color: #c9cccf; background: transparent; border: 0; text-align: left; border-radius: 7px; padding: 10px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nav-item:hover, .help-link:hover { color: white; background: #303030; }
.nav-item.active { background: #3d3d3d; color: white; }
.glyph { width: 17px; display: inline-block; text-align: center; font-size: 17px; line-height: 1; }
.glyph-settings { font-size: 15px; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 12px; }
.account { border-top: 1px solid #3d3d3d; padding: 15px 8px 0; display: flex; align-items: center; gap: 9px; font-size: 13px; }
.account span { display: block; color: #aeb4b8; font-size: 12px; margin-top: 2px; }
.avatar { background: #876b41; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.workspace { min-width: 0; }
.topbar { height: 60px; padding: 0 32px; background: white; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.store-select { position: relative; }
.store-select::after { content: "⌄"; pointer-events: none; position: absolute; right: 12px; top: 7px; color: #616161; }
.store-select select { appearance: none; border: 0; background: #f1f2f3; padding: 8px 33px 8px 11px; border-radius: 7px; font-size: 13px; font-weight: 600; color: #303030; }
.topbar-note { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.status-light { width: 7px; height: 7px; background: #00a47c; border-radius: 50%; }
.safe-banner { border-bottom: 1px solid #e7d5a7; background: #fff8e8; color: #6a5014; padding: 9px 32px; font-size: 13px; }
.content { max-width: 1280px; padding: 42px 48px; margin: 0 auto; }
.page-heading, .simulator-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: 28px; letter-spacing: -.55px; margin-bottom: 7px; }
h2 { font-size: 18px; letter-spacing: -.22px; margin-bottom: 4px; }
h3 { font-size: 16px; margin-bottom: 5px; }
.page-heading p:not(.eyebrow), .simulator-heading p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6d7175; font-weight: 700; margin: 0 0 8px; }
.button { min-height: 36px; padding: 8px 13px; border-radius: 7px; border: 1px solid transparent; font-size: 13px; font-weight: 650; display: inline-flex; align-items: center; gap: 7px; justify-content: center; white-space: nowrap; }
.button-primary { background: #202223; color: white; box-shadow: 0 1px 0 rgba(0,0,0,.16); }
.button-primary:hover { background: #383838; }
.button-secondary { background: white; border-color: #babfc3; color: #303030; }
.button-secondary:hover { background: #f6f6f7; }
.small-button { min-height: 32px; padding: 6px 10px; }
.offer-toolbar { margin: 32px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.filter-tabs { display: flex; gap: 2px; flex-wrap: wrap; }
.filter-tab { border: 0; border-radius: 6px; color: #4a4a4a; background: transparent; padding: 7px 10px; font-size: 13px; }
.filter-tab:hover { background: #ebebeb; }
.filter-tab.selected { background: #e1e3e5; font-weight: 650; color: #202223; }
.search input { width: 220px; border: 1px solid #babfc3; border-radius: 7px; background: white; padding: 8px 10px 8px 31px; font-size: 13px; background-image: radial-gradient(circle at 12px 12px, transparent 4px, #6d7175 4px 5px, transparent 5px), linear-gradient(#6d7175,#6d7175); background-size: 23px 23px, 6px 1px; background-position: 0 0, 19px 19px; background-repeat: no-repeat; }
.table-card { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: visible; }
.offer-table { display: grid; grid-template-columns: minmax(180px, 2fr) 120px minmax(145px, 1.3fr) 130px 95px 38px; align-items: center; min-height: 64px; gap: 12px; padding: 0 18px; font-size: 13px; }
.table-head { min-height: 42px; background: #fafbfb; color: #6d7175; text-transform: uppercase; letter-spacing: .04em; font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--line); }
.offer-row { border-bottom: 1px solid var(--line); position: relative; }
.offer-row:last-child { border-bottom: 0; }
.offer-row:hover { background: #fbfbfb; }
.offer-name { border: 0; background: transparent; padding: 0; text-align: left; color: #202223; font-size: 13px; font-weight: 650; }
.offer-name:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 7px; font-size: 12px; font-weight: 600; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.published { background: #e0f5f0; color: #007a5a; }
.status.scheduled { background: #fff0d9; color: #8c5d0a; }
.status.draft { background: #eaf2ff; color: #2457b2; }
.status.inactive { background: #eceef0; color: #5c5f62; }
.icon-button { border: 0; background: transparent; color: #4a4a4a; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; }
.icon-button:hover { background: #ebebeb; }
.row-actions { position: relative; }
.action-menu { position: absolute; right: 0; top: 32px; min-width: 132px; padding: 5px; z-index: 10; background: white; border: 1px solid #c9cccf; box-shadow: 0 6px 18px rgba(0,0,0,.12); border-radius: 7px; }
.action-menu button { display: block; width: 100%; padding: 8px; border: 0; background: transparent; border-radius: 4px; text-align: left; font-size: 13px; color: #303030; }
.action-menu button:hover { background: #f1f2f3; }
.action-menu .danger { color: #bd2710; }
.table-footer { display: flex; justify-content: space-between; padding: 13px 4px; font-size: 12px; color: #6d7175; }
.empty-state { text-align: center; padding: 46px 20px; }
.empty-symbol { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d2d5d8; color: #616161; background: #f6f6f7; border-radius: 9px; margin: 0 auto 12px; }
.empty-state h2 { margin-bottom: 5px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-bottom: 15px; }
.toast { position: fixed; z-index: 40; bottom: 22px; right: 24px; background: #202223; color: white; border-radius: 8px; padding: 12px 14px; display: flex; gap: 9px; align-items: center; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.24); }
.toast .glyph { color: #74d6bd; }

/* Editor */
.editor-page { padding: 26px 32px 48px; max-width: 1500px; margin: 0 auto; }
.editor-top { display: grid; grid-template-columns: 130px 1fr auto; gap: 18px; align-items: center; margin-bottom: 22px; }
.back-link { background: transparent; border: 0; color: #4a4a4a; padding: 5px 0; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; width: fit-content; }
.back-link:hover { color: #202223; text-decoration: underline; }
.back-link .glyph-arrow { font-size: 25px; line-height: .5; }
.editor-title { display: flex; align-items: center; gap: 10px; }
.editor-title h1 { margin: 0; font-size: 22px; }
.editor-actions { display: flex; gap: 8px; }
.editor-layout { display: grid; grid-template-columns: minmax(480px, 3fr) minmax(350px, 2fr); gap: 20px; align-items: start; }
.configuration-panel, .preview-panel { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.panel-heading, .preview-heading { padding: 20px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.panel-heading h2, .preview-heading h2 { margin: 0; }
.quiet-button { background: transparent; border: 0; color: #2457b2; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; padding: 5px; }
.config-tabs { display: flex; padding: 0 17px; gap: 17px; border-bottom: 1px solid var(--line); }
.config-tab { background: transparent; border: 0; padding: 13px 2px 11px; color: #616161; font-size: 13px; border-bottom: 2px solid transparent; }
.config-tab.selected { color: #202223; font-weight: 650; border-bottom-color: #202223; }
.config-body { padding: 22px; }
.section-intro { margin-bottom: 19px; }
.section-intro h3, .section-intro h2 { margin-bottom: 4px; }
.section-intro p { font-size: 13px; color: var(--muted); margin-bottom: 0; line-height: 1.45; }
.choice-fieldset, .behavior-group { padding: 0; border: 0; margin: 0 0 20px; }
.choice-fieldset legend, .behavior-group legend { font-size: 13px; font-weight: 650; margin-bottom: 8px; padding: 0; }
.radio-card { border: 1px solid #babfc3; padding: 11px; border-radius: 8px; display: flex; align-items: center; gap: 10px; }
.radio-card input { accent-color: #202223; }
.radio-card span { flex: 1; }
.radio-card strong, .radio-card small { display: block; }
.radio-card strong { font-size: 13px; }
.radio-card small { color: var(--muted); margin-top: 3px; font-size: 12px; }
.radio-card .glyph { color: #007a5a; }
.select-products { margin: 8px 0 0; padding: 0; border: 0; color: #2457b2; background: transparent; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 19px 0; }
.form-grid label, .tier-details label { display: grid; gap: 6px; color: #303030; font-size: 12px; font-weight: 650; }
.form-grid input, .form-grid select, .tier-details input, .tier-details select { border: 1px solid #babfc3; background: white; border-radius: 6px; padding: 8px; min-height: 35px; color: #303030; font-size: 13px; min-width: 0; }
.toggle-row { position: relative; display: flex; gap: 10px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.toggle-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-row span { flex: 1; }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { font-size: 13px; }
.toggle-row small { font-size: 12px; color: var(--muted); margin-top: 3px; }
.toggle-row b { width: 32px; height: 18px; border-radius: 999px; background: #8c9196; position: relative; }
.toggle-row b::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: white; position: absolute; left: 2px; top: 2px; transition: transform .16s ease; }
.toggle-row input:checked + span + b { background: #008060; }
.toggle-row input:checked + span + b::after { transform: translateX(14px); }
.callout { margin-top: 19px; padding: 12px 13px; border-left: 3px solid #b8c3d5; background: #f6f8fb; border-radius: 0 7px 7px 0; }
.callout strong { font-size: 13px; }
.callout p { font-size: 12px; color: #4a4a4a; margin: 4px 0 0; line-height: 1.45; }
.activation-card { margin-top: 18px; padding: 14px; border: 1px solid #d2d5d8; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.activation-card h3 { margin: 9px 0 4px; }
.activation-card p { margin: 0; color: #616161; font-size: 12px; line-height: 1.45; max-width: 54ch; }
.split-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tiers { display: grid; gap: 8px; }
.tier { border: 1px solid #d2d5d8; border-radius: 8px; overflow: hidden; }
.tier.expanded { border-color: #a4b4c5; }
.tier-summary { width: 100%; background: white; border: 0; padding: 12px; display: flex; text-align: left; align-items: center; gap: 9px; }
.tier-summary:hover { background: #fafbfb; }
.drag { color: #91969a; font-size: 17px; transform: rotate(90deg); }
.tier-main { flex: 1; }
.tier-main strong, .tier-main small { display: block; }
.tier-main strong { font-size: 13px; }
.tier-main small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.tier-summary em { font-style: normal; font-size: 11px; color: #2c5e4a; background: #e6f2ed; padding: 3px 6px; border-radius: 99px; }
.chevron { color: #616161; }
.tier-details { padding: 0 12px 12px; }
.tier-details .form-grid { margin: 4px 0 10px; }
.tier-foot { display: flex; gap: 12px; align-items: center; font-size: 12px; }
.inline-check { display: flex !important; align-items: center; gap: 5px; margin-right: auto; }
.text-button { padding: 2px 0; border: 0; background: transparent; color: #2457b2; font-size: 12px; }
.text-button:hover { text-decoration: underline; }
.danger-text { color: #bd2710; }
.preset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.preset-row { margin-bottom: 20px; }
.preset-row .preset-card { max-width: 280px; }
.preset-card { min-height: 80px; position: relative; text-align: left; background: white; border: 1px solid #c9cccf; border-radius: 8px; padding: 11px; color: #303030; }
.preset-card:hover { background: #fafbfb; }
.preset-card.selected { border: 2px solid #202223; padding: 10px; }
.preset-card strong, .preset-card small { display: block; }
.preset-card strong { font-size: 12px; }
.preset-card small { color: var(--muted); font-size: 11px; line-height: 1.35; margin-top: 4px; }
.preset-card > span { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; display: grid; place-items: center; color: white; background: #202223; border-radius: 50%; font-size: 10px; }
.radio-option { display: flex; gap: 8px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #eceef0; }
.radio-option:last-child { border-bottom: 0; }
.radio-option input { margin: 3px 0 0; accent-color: #202223; }
.radio-option span { display: grid; gap: 3px; }
.radio-option strong { font-size: 12px; }
.radio-option small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.impact-card { background: #f2f6fa; border: 1px solid #d3dde8; padding: 13px; border-radius: 8px; }
.impact-card.warning { background: #fff8e8; border-color: #e7d5a7; }
.impact-card .impact-label { color: #6d7175; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; font-weight: 700; display: block; margin-bottom: 5px; }
.impact-card strong { font-size: 13px; }
.impact-card p { color: #4a4a4a; font-size: 12px; line-height: 1.4; margin: 5px 0 8px; }
.color-row { display: flex; gap: 10px; align-items: center; padding: 12px; background: #fafbfb; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 19px; }
.color-row > span { width: 27px; height: 27px; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; }
.color-row strong { font-size: 13px; }
.color-row p { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.preview-panel { position: sticky; top: 20px; }
.device-toggle { display: flex; gap: 2px; border: 1px solid #c9cccf; background: #f6f6f7; padding: 2px; border-radius: 6px; }
.device-toggle button { border: 0; background: transparent; padding: 5px 7px; border-radius: 4px; font-size: 11px; color: #616161; }
.device-toggle button.selected { background: white; box-shadow: 0 1px 2px rgba(0,0,0,.12); color: #202223; font-weight: 650; }
.preview-frame { margin: 20px auto; width: calc(100% - 40px); max-width: 530px; overflow: hidden; border: 1px solid #babfc3; border-radius: 8px; background: white; box-shadow: 0 5px 17px rgba(0,0,0,.09); transition: max-width .2s ease; }
.preview-frame.mobile { max-width: 310px; }
.preview-browser { background: #f1f2f3; height: 26px; display: flex; align-items: center; gap: 4px; padding: 0 8px; color: #8c9196; font-size: 9px; }
.preview-browser span { width: 6px; height: 6px; border-radius: 50%; background: #c5c8cb; }
.preview-browser div { margin-left: 8px; background: white; border-radius: 3px; height: 14px; flex: 1; text-align: center; font-size: 8px; line-height: 14px; }
.preview-store { background: #fff; min-height: 430px; font-family: Arial, sans-serif; }
.store-mini-header { padding: 13px 17px; display: flex; justify-content: space-between; border-bottom: 1px solid #eceef0; font-size: 11px; }
.store-mini-header strong { letter-spacing: .12em; }
.mini-product { padding: 18px; display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: center; }
.product-art { height: 112px; border-radius: 5px; position: relative; overflow: hidden; background: #e7e2db; }
.fumee-art { background: linear-gradient(145deg, #d4e2dd, #ecdbca); }
.fumee-art i { position: absolute; width: 29px; height: 76px; bottom: 10px; background: #2c3130; border-radius: 5px 5px 9px 9px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.fumee-art i::before { content: ""; position: absolute; width: 17px; height: 12px; left: 6px; top: -8px; background: #393d3c; border-radius: 3px; }
.fumee-art i:nth-child(1) { left: 12px; transform: scale(.76); transform-origin: bottom; }
.fumee-art i:nth-child(2) { left: 42px; }
.fumee-art i:nth-child(3) { left: 71px; transform: scale(.88); transform-origin: bottom; }
.socks-art { background: #efefed; }
.socks-art i { position: absolute; width: 33px; height: 86px; top: 15px; border-radius: 18px 18px 13px 13px; background: #fcfcfc; border: 1px solid #dedede; box-shadow: 6px 8px 0 rgba(0,0,0,.06); transform: rotate(-15deg); }
.socks-art i::after { content: ""; position: absolute; left: 5px; right: 5px; top: 43px; height: 4px; border-radius: 4px; background: #d2d2d2; box-shadow: 0 10px 0 #d2d2d2; }
.socks-art i:first-child { left: 23px; }
.socks-art i:last-child { left: 53px; transform: rotate(13deg); }
.mini-breadcrumb { font-size: 8px; color: #6d7175; letter-spacing: .08em; font-weight: 700; }
.mini-product h3 { margin: 5px 0 4px; font-size: 14px; line-height: 1.2; }
.mini-product p { margin: 0; font-size: 10px; color: #6d7175; }
.widget-preview { margin: 0 18px 18px; padding: 15px; background: #fbfbfb; border: 1px solid #eceef0; border-radius: var(--preview-radius); }
.widget-preview h4 { font-size: 13px; margin: 0 0 10px; }
.pack-options { display: grid; gap: 6px; }
.pack-option { display: flex; gap: 7px; align-items: center; border: 1px solid #d5d6d8; background: white; padding: 8px; border-radius: calc(var(--preview-radius) - 3px); font-size: 10px; }
.pack-option.selected { border: 2px solid var(--preview-accent); padding: 7px; }
.pack-option input { width: 10px; height: 10px; accent-color: var(--preview-accent); }
.pack-option span { flex: 1; }
.pack-option strong, .pack-option small { display: block; }
.pack-option strong { font-size: 10px; }
.pack-option small { color: #6d7175; margin-top: 2px; font-size: 9px; }
.pack-option b { font-size: 11px; }
.slot-row { display: flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 9px; }
.slot-row span { width: 38px; color: #6d7175; }
.slot-row button, .scent-choices button { padding: 4px 6px; background: white; border: 1px solid #d5d6d8; border-radius: 3px; font-size: 9px; }
.scent-choices { display: flex; gap: 5px; margin-top: 8px; }
.scent-choices .chosen { border-color: var(--preview-accent); color: var(--preview-accent); }
.preview-add { width: 100%; border: 0; color: white; border-radius: calc(var(--preview-radius) - 3px); margin-top: 11px; padding: 8px; font-size: 10px; font-weight: 650; }
.preview-note { color: #6d7175; font-size: 11px; margin: 0 20px 18px; line-height: 1.4; }

/* Simulator */
.simulator-heading { margin-bottom: 16px; }
.simulator-heading .back-link { margin-bottom: 18px; }
.simulation-pill { padding: 8px 10px; background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; color: #4a4a4a; }
.simulation-warning { border: 1px solid #d5dfed; color: #334a65; padding: 10px 12px; background: #f2f6fa; border-radius: 7px; font-size: 12px; margin-bottom: 20px; }
.sim-grid, .socks-simulator { display: grid; grid-template-columns: minmax(330px, .85fr) minmax(400px, 1.15fr); gap: 20px; align-items: start; }
.sim-control-card, .sim-result-card, .socks-actions-card, .cart-result-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 21px; }
.quantity-display { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 29px 0 18px; }
.quantity-display strong { font-size: 42px; letter-spacing: -.04em; min-width: 60px; text-align: center; }
.quantity-display button, .line-controls button { width: 31px; height: 31px; border-radius: 6px; border: 1px solid #c9cccf; color: #303030; background: white; font-size: 20px; line-height: 1; }
.quantity-display button:hover, .line-controls button:hover { background: #f1f2f3; }
.range { accent-color: #202223; width: 100%; }
.scenario-strip { display: flex; gap: 3px; flex-wrap: wrap; margin: 14px 0 20px; }
.scenario-strip button { width: 26px; height: 26px; border: 1px solid #d2d5d8; background: white; border-radius: 5px; color: #4a4a4a; font-size: 11px; }
.scenario-strip button.active { color: white; background: #202223; border-color: #202223; }
.sim-info { border-top: 1px solid var(--line); padding-top: 13px; display: grid; gap: 3px; font-size: 12px; }
.sim-info span { color: var(--muted); line-height: 1.4; }
.result-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.result-header h2 { margin: 0; }
.allocation-list { margin: 4px 0; }
.allocation-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 11px 0; border-bottom: 1px solid #eceef0; }
.allocation-list > div span { color: #4a4a4a; }
.muted-line { color: #6d7175; display: block !important; }
.result-totals { padding-top: 12px; display: grid; gap: 9px; font-size: 13px; }
.result-totals span, .result-totals strong { display: flex; justify-content: space-between; gap: 15px; }
.result-totals strong { padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.saving { color: #007a5a; }
.result-footnote { color: #6d7175; font-size: 11px; line-height: 1.45; margin: 16px 0 0; }
.action-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.action-buttons .button { justify-content: flex-start; text-align: left; white-space: normal; min-height: 43px; }
.scenario-actions { display: flex; justify-content: space-between; gap: 10px; padding: 17px 0; margin: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.behavior-snapshot { border-left: 3px solid #8092b9; padding-left: 11px; }
.behavior-snapshot span { color: #6d7175; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.behavior-snapshot strong { display: block; font-size: 13px; margin: 5px 0; }
.behavior-snapshot p { color: #4a4a4a; font-size: 12px; line-height: 1.45; margin: 0 0 6px; }
.cart-lines { margin: 0; }
.cart-line, .gift-line { display: grid; grid-template-columns: 47px minmax(0, 1fr) auto; gap: 10px; padding: 14px 0; border-bottom: 1px solid #eceef0; }
.sock-thumb, .gift-thumb { width: 47px; height: 54px; border-radius: 6px; background: #f0f0ef; position: relative; overflow: hidden; }
.sock-thumb i { position: absolute; width: 14px; height: 40px; border: 1px solid #d7d7d7; background: white; border-radius: 7px 7px 5px 5px; top: 8px; transform: rotate(-13deg); }
.sock-thumb i:first-child { left: 13px; }.sock-thumb i:last-child { left: 24px; transform: rotate(11deg); }
.gift-thumb { display: grid; place-items: center; color: #2c5e4a; background: #e6f2ed; font-size: 9px; font-weight: 700; }
.line-heading { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.line-heading strong { font-size: 13px; }
.line-badge { color: #5c5f62; background: #eceef0; border-radius: 999px; padding: 3px 5px; font-size: 9px; font-weight: 700; }
.line-badge.bundle { color: #1d4e92; background: #eaf2ff; }
.line-info > small, .gift-line small { font-size: 11px; color: #6d7175; display: block; margin-top: 3px; }
.line-meta { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.line-meta span { color: #616161; font-size: 9px; padding: 3px 5px; background: #f6f6f7; border-radius: 3px; }
.line-controls { margin-top: 9px; display: flex; align-items: center; gap: 5px; }
.line-controls button { width: 24px; height: 24px; font-size: 15px; }
.line-controls span { min-width: 18px; text-align: center; font-size: 12px; }
.line-controls .remove-line { width: auto; border: 0; padding: 0 0 0 7px; color: #bd2710; background: transparent; font-size: 11px; }
.line-price { text-align: right; display: grid; align-content: start; gap: 3px; white-space: nowrap; }
.line-price span { color: #6d7175; text-decoration: line-through; font-size: 11px; }
.line-price strong { font-size: 14px; }
.line-price small { font-size: 9px; color: #6d7175; }
.gift-line > b { color: #007a5a; font-size: 13px; }
.empty-cart { padding: 55px 10px; text-align: center; }
.empty-cart h3 { margin-bottom: 5px; }.empty-cart p { color: #6d7175; font-size: 12px; margin: 0; }

@media (max-width: 1000px) {
  .editor-layout, .sim-grid, .socks-simulator { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; padding: 10px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .brand-lockup { padding: 0 5px; }.sidebar nav { display: flex; gap: 2px; }.nav-item { padding: 8px; font-size: 0; }.nav-item .glyph { font-size: 17px; }.sidebar-bottom { display: none; }
  .topbar { padding: 0 16px; height: 54px; }.topbar-note { display: none; }.safe-banner { padding: 9px 16px; font-size: 12px; }
  .content { padding: 28px 16px; }.page-heading, .simulator-heading { display: grid; gap: 16px; }.page-heading .button { width: fit-content; }
  .offer-toolbar { align-items: stretch; flex-direction: column; margin-top: 22px; }.search input { width: 100%; }.filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .table-card { overflow-x: auto; }.offer-table { min-width: 690px; }.table-footer { padding: 12px 0; }
  .editor-page { padding: 20px 16px 36px; }.editor-top { grid-template-columns: 1fr auto; gap: 12px; }.editor-title { grid-column: 1 / -1; grid-row: 1; }.editor-top .back-link { grid-row: 2; }.editor-actions { grid-row: 2; justify-self: end; }.editor-layout { gap: 14px; }.config-tabs { overflow-x: auto; white-space: nowrap; }.configuration-panel { overflow: hidden; }.panel-heading, .preview-heading { padding: 17px; }.config-body { padding: 17px; }.form-grid { grid-template-columns: 1fr; gap: 11px; }
  .preset-grid { grid-template-columns: 1fr; }.preview-frame { width: calc(100% - 28px); }.action-buttons { grid-template-columns: 1fr; }.scenario-actions { flex-direction: column; align-items: flex-start; }.cart-line { grid-template-columns: 42px minmax(0,1fr); }.line-price { grid-column: 2; text-align: left; grid-template-columns: auto auto auto; align-items: center; gap: 8px; }.gift-line { grid-template-columns: 42px 1fr auto; }.sock-thumb, .gift-thumb { width: 42px; }.simulation-pill { width: fit-content; }
  .activation-card { align-items: flex-start; flex-direction: column; }
}
