:root {
  color-scheme: light;
  --ink: #19352e;
  --muted: #64756e;
  --paper: #f5f7f6;
  --surface: #ffffff;
  --line: #e0e7e3;
  --primary: #16734e;
  --primary-dark: #10583b;
  --rail: #12382f;
  --shadow: 0 6px 24px #183a2e08;
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.app-update { position:fixed; z-index:60; left:12px; right:12px; bottom:calc(76px + env(safe-area-inset-bottom)); display:flex; align-items:center; gap:12px; padding:12px 16px; border-radius:12px; background:#19352e; color:#fff; box-shadow:0 6px 24px #0003; font-size:.875rem; }
.app-update span { flex:1; }
.app-update button { min-height:44px; border:0; border-radius:8px; padding:8px 12px; background:#fff; color:#19352e; font-weight:600; }
@media(min-width:900px) { .app-update { left:auto; right:24px; bottom:24px; max-width:420px; } }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.5; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .55; }
button, input, select, textarea { transition: border-color .15s, background-color .15s, box-shadow .15s; }
:focus-visible { outline: 3px solid #3b9368; outline-offset: 3px; }
img { display: block; max-width: 100%; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; padding: 12px; background: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; min-height: 82px; padding: 16px 30px; background: white; border-bottom: 1px solid var(--line); }
.brand-lockup { display: flex; gap: 11px; align-items: center; min-width: 205px; }
.brand-lockup strong { font-size: 1.2rem; letter-spacing: -.045em; }
.shop-lockup { margin-left: auto; display: flex; gap: 11px; align-items: center; min-width: 0; }
.shop-lockup small { display: block; color: var(--muted); font-size: .75rem; }
.shop-lockup strong { display: block; max-width: 260px; overflow-wrap: anywhere; font-size: .875rem; }
.shop-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #edf3ef; font-weight: 700; flex-shrink: 0; }
.bottom-nav { position: fixed; top: 82px; bottom: 0; left: 0; width: 235px; padding: 36px 18px 22px; display: flex; flex-direction: column; gap: 7px; background: var(--rail); color: #d3e0d9; z-index: 25; }
.nav-caption { font-size: .75rem; letter-spacing: .14em; color: #acc6b9; padding: 0 16px 14px; }
.nav-button { display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 50px; border: 0; border-radius: 10px; background: none; color: #d3e0d9; text-align: left; font-size: .875rem; font-weight: 600; }
.nav-button.is-active { background: #e3f2e7; color: #173c2d; }
.nav-button:hover:not(.is-active) { background: #234d40; }
.nav-button b { margin-left: auto; padding: 1px 7px; background: #305e4e; border-radius: 5px; color: white; font-size: .75rem; font-variant-numeric: tabular-nums; }
.nav-button.is-active b { background: #c2ddc9; color: var(--ink); }
.nav-footer { margin-top: auto; padding: 20px 14px 0; border-top: 1px solid #36584c; color: #bed3c8; }
.nav-footer p { margin-bottom: 0; font-size: .8125rem; }
main { margin-left: 235px; padding: 38px clamp(24px,3.5vw,62px); min-height: calc(100dvh - 82px); }
.legal-links { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:32px; padding-block:16px; font-size:13px; }
.legal-links a { color:var(--ink,#12382f); text-decoration:underline; text-underline-offset:3px; }
.view { display: none; max-width: 1320px; margin: 0 auto; }
.view.is-active { display: block; animation: appear .18s ease; }
@keyframes appear { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-bottom: 28px; }
.eyebrow { display: block; font-size: .75rem; letter-spacing: .13em; color: var(--primary); font-weight: 700; }
h1 { margin: 6px 0; font-size: clamp(1.9rem,3vw,2.5rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 700; }
h2, h3 { line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.page-heading p { color: var(--muted); margin: 8px 0 0; }
.quick-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.solid-button, .outline-button, .text-button, .danger-button, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 17px; border-radius: 10px; font-size: .875rem; font-weight: 650; text-align: center; border: 1px solid transparent; }
.solid-button { background: var(--primary); color: white; box-shadow: 0 2px 3px #103c3010; }
.solid-button:hover:not(:disabled) { background: var(--primary-dark); }
.outline-button { background: white; border-color: #cddad2; color: var(--ink); }
.outline-button:hover:not(:disabled) { background: #f2f7f4; border-color: #9bb8a7; }
.text-button { background: none; color: var(--primary); padding: 9px 6px; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { background: #edf5ef; }
.danger-button { color: #a43127; background: #fff; border-color: #efd9d7; }
.danger-button:hover { background: #fff1ef; }
.icon-button { width: 44px; min-height: 44px; padding: 10px; border-radius: 50%; background: #f2f5f3; }
.wide { width: 100%; }
.summary-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: white; border: 1px solid var(--line); border-radius: 14px; padding: 22px 6px; margin: 0 0 28px; box-shadow: var(--shadow); }
.summary-item { display: flex; align-items: center; gap: 15px; padding: 0 24px; }
.summary-item + .summary-item { border-left: 1px solid var(--line); }
.metric-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #edf3ef; color: #536c5f; flex-shrink: 0; }
.metric-symbol.pending { background: #fff4d9; color: #886614; }
.metric-symbol.shared { background: #e4f3e8; color: #24653c; }
.summary-item div > span { color: var(--muted); font-size: .875rem; }
.summary-item strong { display: block; font-size: 1.875rem; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: -.04em; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 14px; background: white; border: 1px solid #d4dfd8; border-radius: 9px; flex: 1; max-width: 430px; min-width: 0; color: #6c8175; min-height: 48px; }
.search-box:focus-within { border-color: var(--primary); outline: 2px solid #d5e7da; }
.search-box input { width: 100%; min-width: 0; font-size: 1rem; padding: 11px 0; border: 0; outline: none; background: transparent; }
.filter-label { min-width: 175px; }
select { background: white; border: 1px solid #d4dfd8; border-radius: 9px; padding: 11px 12px; min-height: 48px; font-size: .875rem; max-width: 100%; }
.result-count { color: var(--muted); font-size: .8125rem; margin: 18px 0 12px; }
.product-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(245px,1fr)); gap: 20px; }
.product-card { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 0; box-shadow: var(--shadow); transition: box-shadow .18s; }
.product-card:hover { box-shadow: 0 8px 28px #173c2d10; }
.product-media { position: relative; background: #eaf0ec; }
.product-thumb { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #edf1ef; }
.product-media .status-chip { position: absolute; left: 12px; top: 12px; }
.product-info { padding: 16px 18px 14px; }
.product-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }
.ref { font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: .04em; }
.product-info h3 { font-size: 1.125rem; margin: 7px 0 8px; }
.product-details { font-size: .875rem; line-height: 1.45; color: var(--muted); margin: 0 0 12px; overflow-wrap: anywhere; }
.price-line { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price { font-size: 1.25rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-line del { color: #718074; font-size: .875rem; }
.status-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; font-size: .875rem; font-weight: 600; border-radius: 6px; background: #fff9e8; color: #75560c; border: 1px solid #eddfb7; }
.status-chip.published { background: #e9f5ed; color: #25643a; border-color: #c9e3d2; }
.status-chip.draft { background: #fff0e7; color: #8f471e; border-color: #edcdb7; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 0 18px 18px; }
.product-actions .outline-button { padding-inline: 12px; }
.product-actions .solid-button { padding-inline: 12px; }
.product-actions .icon { width: 18px; height: 18px; }
.empty-state { padding: 52px 24px; text-align: center; background: white; border: 1px dashed #cddbd2; border-radius: 16px; grid-column: 1/-1; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #edf5ef; color: #4c7b5d; margin: 0 auto 20px; }
.empty-icon .icon { width: 30px; height: 30px; }
.empty-state h2 { font-size: 1.5rem; margin: 12px 0; font-weight: 650; }
.empty-state p { max-width: 430px; margin: 0 auto 23px; color: var(--muted); }
.empty-state small { display: block; max-width: 440px; margin: 20px auto 0; color: var(--muted); font-size: .8125rem; }
.empty-state.compact { border: 0; padding: 34px 20px; }
.page-footnote { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8125rem; color: var(--muted); margin: 26px 0 0; }
.page-footnote .icon { width: 17px; height: 17px; }
.queue-layout { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(330px,1.4fr); gap: 26px; align-items: start; }
.next-column { min-width: 0; }
.next-card { background: var(--rail); color: white; padding: 24px; border-radius: 16px; }
.next-label { font-size: .75rem; letter-spacing: .12em; color: #b6ddc1; font-weight: 650; }
.next-product-content { padding: 20px 0; }
.next-product-content img { width: 100%; max-height: 300px; aspect-ratio: 4/3; object-fit: contain; border-radius: 10px; background: #e5ece7; margin-bottom: 18px; }
.next-product-content h3 { font-size: 1.375rem; margin: 0 0 6px; }
.next-product-content span { font-size: .875rem; color: #c6d9ce; }
.next-product-content strong { display: block; font-size: 1.5rem; margin-top: 14px; font-variant-numeric: tabular-nums; }
.next-card .solid-button { background: #d8eccb; color: #19352e; }
.next-card .solid-button:hover:not(:disabled) { background: #edf6e6; }
.inline-note { display: flex; gap: 11px; margin-top: 18px; color: var(--muted); }
.inline-note .icon { margin-top: 2px; width: 19px; height: 19px; }
.inline-note p { font-size: .875rem; margin: 0; }
.queue-panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-width: 0; }
.queue-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; }
.queue-header h2 { font-size: 1.125rem; margin: 0; }
.count-pill { border-radius: 6px; background: #eef3ef; color: #4e6657; padding: 5px 9px; font-size: .8125rem; }
.queue-item { display: grid; grid-template-columns: 76px 58px minmax(0,1fr) auto; gap: 13px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.queue-time { font-size: .875rem; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--primary); }
.queue-item img { width: 58px; height: 70px; object-fit: contain; background: #edf1ef; border-radius: 7px; }
.queue-item h3 { font-size: 1rem; margin: 0 0 5px; }
.queue-item span { font-size: .8125rem; color: var(--muted); overflow-wrap: anywhere; }
.settings-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(230px,1fr); gap: 26px; align-items: start; }
.settings-card, .data-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); min-width: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset + fieldset { margin-top: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
legend { font-size: 1.125rem; font-weight: 650; padding: 0; }
fieldset + fieldset legend { float: left; width: 100%; margin-bottom: 0; }
.field-help { font-size: .875rem; color: var(--muted); margin: 8px 0 22px; clear: both; }
fieldset + fieldset .field-help { padding-top: 8px; }
label > span { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; font-size: .875rem; font-weight: 600; margin-bottom: 7px; }
label > span small { font-size: .75rem; color: var(--muted); font-weight: 400; }
.settings-card label, .editor-fields label { display: block; margin-bottom: 17px; min-width: 0; }
.settings-card input, .settings-card select, .editor-fields input, .editor-fields select, textarea { width: 100%; min-width: 0; background: white; border: 1px solid #cfdcd3; border-radius: 8px; padding: 11px 12px; min-height: 48px; font-size: 1rem; }
input::placeholder, textarea::placeholder { color: #78877c; opacity: 1; }
textarea { resize: vertical; }
.settings-card input[type="color"] { padding: 5px 8px; height: 48px; cursor: pointer; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.settings-save { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 22px; }
.data-card { border-top: 4px solid #b5d3bd; }
.aside-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--primary); background: #edf5ef; border-radius: 9px; }
.data-card h2 { font-size: 1.375rem; margin: 18px 0 12px; }
.data-card p { color: var(--muted); margin: 0 0 22px; }
.data-actions { display: grid; gap: 8px; }
.app-dialog { width: min(900px,calc(100% - 40px)); max-height: calc(100dvh - 40px); border: 1px solid #d3dfd7; border-radius: 20px; padding: 0; color: var(--ink); background: white; box-shadow: 0 24px 100px #102d2540; overscroll-behavior: contain; }
.app-dialog::backdrop { background: #112f266b; backdrop-filter: blur(4px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { font-size: 1.5rem; margin: 5px 0 0; }
.dialog-heading .icon-button { flex-shrink: 0; }
.editor-layout { display: grid; grid-template-columns: minmax(180px,.8fr) minmax(0,1.2fr); padding: 26px 28px 12px; gap: 26px; }
.offering-type-row { padding:18px 28px 0; }
.offering-type-row select { min-width:200px; }
.offering-type-row .field-help { margin:8px 0 0; }
.photo-dropzone { width: 100%; aspect-ratio: 4/5; display: grid; place-items: center; padding: 0; overflow: hidden; background: #f0f5f1; border: 1px dashed #a5bead; border-radius: 12px; }
.photo-dropzone:hover { background: #e7efe9; }
.photo-dropzone img { width: 100%; height: 100%; object-fit: contain; }
#photo-placeholder { display: grid; justify-items: center; gap: 12px; padding: 24px; }
#photo-placeholder .icon { width: 34px; height: 34px; color: #5b8065; }
#photo-placeholder strong { font-size: 1rem; }
#photo-placeholder small { font-size: .8125rem; color: var(--muted); }
.photo-hint { display: block; margin-top: 12px; text-align: center; font-size: .8125rem; color: var(--muted); }
.dialog-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 12px; padding: 18px 28px; background: white; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dialog-actions .danger-button { margin-right: auto; }
.preview-dialog { width: min(980px,calc(100% - 40px)); }
.preview-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 28px; padding: 24px; align-items: start; }
.status-preview-wrap { display: grid; place-items: center; padding: 18px; background: #edf2ee; border: 1px solid #dce6df; border-radius: 14px; }
.status-preview-wrap img { aspect-ratio: 9/16; max-height: 65dvh; object-fit: contain; border-radius: 7px; box-shadow: 0 10px 25px #15362a17; }
.share-panel { min-width: 0; padding-block: 4px; }
.share-panel h3 { font-size: 1.25rem; margin: 8px 0 4px; }
.preview-ref { color: var(--muted); font-size: .8125rem; margin: 0 0 18px; }
.share-note { font-size: .875rem; background: #f2f6f3; padding: 14px; border-radius: 9px; margin: 16px 0; color: #4b6556; }
.preview-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.preview-actions button { padding:10px 8px; min-height:44px; font-size:.875rem; }
.share-hint { font-size:.875rem; color:var(--muted); margin:10px 0 16px; }
.share-edit-actions { display:flex; gap:18px; align-items:start; flex-wrap:wrap; margin-top:8px; }
.share-edit-actions>.text-button { min-height:44px; padding:8px 0; font-size:.875rem; }
.share-edit-actions .manual-caption { flex:1; margin:0; min-width:120px; }
.share-edit-actions .manual-caption summary { min-height:44px; }
.share-edit-actions .manual-caption[open] { flex-basis:100%; }
.share-result { margin:12px 0; padding:10px 12px; background:#edf6ef; border-radius:8px; }
.share-result p { margin:0; font-size:.875rem; color:var(--muted); }
.share-result button { min-height:44px; padding:8px 0; font-size:.875rem; }
.share-help { margin-top:14px; font-size:.875rem; color:var(--muted); }
.share-help summary { cursor:pointer; min-height:44px; padding:10px 0; }
.toast { position: fixed; z-index: 100; bottom: 28px; left: 50%; transform: translate(-50%,8px); width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 10px; background: #173c2f; color: white; box-shadow: 0 10px 30px #12382f20; font-size: .875rem; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.destination-picker legend { font-size: 1rem; margin-bottom: 12px; }
.destination-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.destination-option { display:flex; align-items:center; justify-content:start; gap:9px; padding:11px; margin:0; border:1px solid #d4dfd7; border-radius:9px; min-height:66px; text-align:left; background:white; }
.destination-option:hover,.destination-option.is-selected { border-color:#337e53; background:#eaf4eb; box-shadow:inset 0 0 0 1px #337e53; }
.destination-option:focus-visible { outline:3px solid #448d60; outline-offset:2px; }
.platform-mark { width:32px; height:32px; display:block; object-fit:contain; flex-shrink:0; }
.destination-label { display: block; min-width: 0; overflow-wrap: anywhere; }
.destination-label b { display: block; font-size: .875rem; }
.destination-label small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.platform-guide { font-size: .875rem; padding-left: 21px; color: #4e6657; }
.platform-guide li + li { margin-top: 6px; }
.manual-caption { display: grid; gap: 6px; margin-top: 14px; font-size: .875rem; }
.manual-caption textarea { font-size: .875rem; min-height: 90px; }
.manual-caption summary { cursor: pointer; padding-block: 8px; }
.manual-caption .text-button { padding: 8px 0; }
@media (min-width: 1700px) { main { padding-block: 44px; } }
@media (max-width: 1150px) {
  .bottom-nav { width: 210px; padding-inline: 13px; }
  main { margin-left: 210px; padding: 28px 24px; }
  .queue-layout, .settings-layout { grid-template-columns: 1fr; }
  .next-card { max-width: 550px; }
  .next-product-content { display: flex; gap: 20px; align-items: center; }
  .next-product-content img { width: 120px; flex-shrink: 0; margin: 0; aspect-ratio: 4/5; }
  .settings-aside { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 24px; }
  .summary-item { padding-inline: 18px; gap: 10px; }
}
@media (max-width: 800px) {
  .topbar { min-height: 72px; padding: 13px 20px; gap: 12px; }
  .brand-lockup { min-width: 0; }
  .shop-lockup small { display: none; }
  .shop-avatar { display: none; }
  .shop-lockup strong { max-width: 155px; }
  .bottom-nav { top: auto; left: 0; bottom: 0; width: 100%; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); flex-direction: row; gap: 5px; background: #fff; border-top: 1px solid var(--line); }
  .nav-caption, .nav-footer { display: none; }
  .nav-button { flex: 1; position: relative; flex-direction: column; gap: 5px; color: #587063; padding: 8px 5px; font-size: .8125rem; text-align: center; }
  .nav-button:hover:not(.is-active) { background: #f3f7f4; }
  .nav-button.is-active { background: #eaf4ed; }
  .nav-button b { position: absolute; top: 1px; left: calc(50% + 9px); font-size: .75rem; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 4px; }
  main { margin-left: 0; padding: 26px 20px calc(112px + env(safe-area-inset-bottom)); }
  .page-heading { gap: 20px; margin-bottom: 23px; }
  .summary-item { gap: 8px; padding: 0 15px; }
  .metric-symbol { width: 35px; height: 35px; border-radius: 9px; }
  .summary-item strong { font-size: 1.6rem; }
  .toast { bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 580px) {
  .brand-lockup strong { font-size: 1.08rem; }
  .brand-lockup img { width: 36px; height: 36px; }
  .shop-lockup { display: none; }
  .install-button { margin-left: auto; padding: 8px 10px; min-height: 40px; }
  main { padding-inline: 16px; }
  .page-heading { align-items: stretch; }
  .page-heading > div:first-child { width: 100%; }
  .quick-actions { width: 100%; display: grid; grid-template-columns: 1fr 1.1fr; }
  .quick-actions button { padding-inline: 10px; }
  .summary-strip { padding: 16px 0; margin-bottom: 22px; }
  .summary-item { display: block; padding: 0 13px; }
  .metric-symbol { display: none; }
  .summary-item div > span { font-size: .8125rem; }
  .summary-item strong { margin-top: 7px; }
  .toolbar { align-items: stretch; flex-wrap: wrap; gap: 10px; }
  .search-box { max-width: none; flex-basis: 100%; }
  .filter-label { width: 100%; }
  .filter-label select { width: 100%; }
  .product-list { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .product-thumb { aspect-ratio: 4/3; max-height: 330px; }
  .product-info { padding: 18px; }
  .product-actions { padding: 0 18px 18px; }
  .empty-state { padding: 32px 20px; }
  .empty-state h2 { font-size: 1.375rem; }
  .empty-state p { font-size: 1rem; }
  .page-footnote { align-items: flex-start; text-align: left; }
  .next-card, .queue-panel, .settings-card, .data-card { padding: 20px; }
  .queue-item { grid-template-columns: 48px minmax(0,1fr) auto; gap: 8px 10px; }
  .queue-item .queue-time { grid-column:2/4; grid-row:2; font-size:.75rem; }
  .queue-item .queue-thumb { grid-column:1; grid-row:1/3; }
  .queue-item-info { grid-column:2; grid-row:1; }
  .queue-share { grid-column:3; grid-row:1; padding:10px; }
  .queue-item img { width: 48px; height: 60px; }
  .settings-aside { display: block; }
  .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .settings-save .solid-button { width: 100%; }
  .app-dialog, .preview-dialog { width: 100%; max-height: 96dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; border-bottom: 0; }
  .dialog-heading { padding: 20px; }
  .editor-layout { grid-template-columns: minmax(0,1fr); padding: 20px; gap: 22px; }
  .offering-type-row { padding-inline:20px; }
  .offering-type-row select { width:100%; }
  .photo-dropzone { aspect-ratio: 4/3; max-height: 250px; }
  .photo-dropzone img { max-height: 250px; }
  .dialog-actions { padding: 15px 20px calc(15px + env(safe-area-inset-bottom)); }
  .dialog-actions .solid-button { flex: 1; }
  .dialog-actions .danger-button { padding-inline: 10px; }
  #status-dialog .dialog-heading { padding:14px 18px; }
  #status-dialog .dialog-heading h2 { font-size:1.25rem; }
  #status-dialog .preview-layout { grid-template-columns:90px minmax(0,1fr); gap:10px 16px; padding:14px 18px calc(18px + env(safe-area-inset-bottom)); }
  #status-dialog .share-panel { display:contents; }
  #status-dialog .share-panel>* { grid-column:1/-1; }
  #status-dialog .status-preview-wrap { grid-column:1; grid-row:1/3; padding:0; border:0; background:transparent; }
  #status-dialog .status-preview-wrap img,#status-dialog .status-preview-wrap video { width:90px; height:150px; max-height:150px; object-fit:contain; }
  #status-dialog #preview-product-name { grid-column:2; grid-row:1; align-self:end; margin:0; font-size:1.125rem; overflow-wrap:anywhere; }
  #status-dialog #preview-product-ref { grid-column:2; grid-row:2; align-self:start; margin:0; overflow-wrap:anywhere; }
  #status-dialog .share-hint { margin:0 0 4px; }
  #status-dialog .share-edit-actions,#status-dialog .share-help { margin-top:0; }
  #status-dialog .destination-picker legend { margin-bottom:8px; }
  #status-dialog .destination-option { padding:10px; min-height:60px; }
  .share-panel > .eyebrow { display: none; }
}
@media (max-width: 355px) {
  .quick-actions { grid-template-columns: 1fr; }
  .summary-item { padding-inline: 8px; }
  .summary-item div > span { font-size: .75rem; }
  .next-product-content { display: block; }
  .next-product-content img { width: 100%; margin-bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Fast publication studio: the actual export beside a small set of controls. */
.product-design-button { grid-column: 1/-1; justify-content: flex-start; padding: 9px 0 0; border-top: 1px solid var(--line); border-radius: 0; }
.customize-button { margin-bottom: 22px; }
.copy-helper { padding: 16px; background: #f0f6f2; border: 1px solid #d4e5d9; border-radius: 12px; margin: 0 0 20px; }
.copy-heading { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.copy-heading strong { font-size: 1rem; }
.local-pill { font-size: .75rem; color: #24613b; background: #dceee0; border-radius: 5px; padding: 3px 7px; }
.copy-helper p { color: #556e5e; font-size: .875rem; margin: 8px 0 12px; }
.copy-helper > small { color: var(--muted); font-size: .8125rem; }
.copy-tools { display: grid; grid-template-columns: minmax(110px,1fr) auto; gap: 10px; align-items: start; margin: 12px 0; }
.copy-tools label { margin: 0; }
.copy-tools select { width: 100%; }
.copy-helper textarea { margin-bottom: 0; }
.copy-helper > label { margin-bottom: 7px; }
.logo-editor { display: flex; gap: 18px; align-items: center; padding: 15px; border: 1px dashed #b8cebf; border-radius: 12px; margin: 0 0 20px; background: #f7faf8; }
.logo-sample { width: 88px; height: 88px; display: grid; place-items: center; flex-shrink: 0; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.logo-sample img { max-height: 70px; width: 100%; object-fit: contain; }
.logo-sample span { font-size: .8125rem; color: var(--muted); }
.logo-editor .field-help { margin: 6px 0 0; font-size: .8125rem; }
.logo-editor .text-button { display: block; padding: 6px 0; font-size: .875rem; }
.design-dialog { width: min(1180px,calc(100% - 32px)); height: 95dvh; max-height: 95dvh; overflow: hidden; }
.design-dialog[open] { display: flex; flex-direction: column; }
.design-dialog .dialog-heading { padding-block: 18px; flex-shrink: 0; }
.design-dialog .dialog-heading h2 { font-size: 1.375rem; }
.design-layout { flex: 1 1 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); min-height: 0; overflow: auto; overscroll-behavior: contain; overflow-anchor: none; align-items: start; align-content: start; }
.design-preview-column { position: sticky; top: 0; background: #e9efeb; padding: 20px 26px; min-width: 0; }
.design-product-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.design-product-nav > div { min-width: 0; text-align: center; }
.design-product-nav strong { display: block; font-size: .875rem; overflow-wrap: anywhere; }
.design-product-nav span { display: block; font-size: .75rem; color: #5a7163; margin-top: 3px; }
.design-product-nav button { background: white; font-size: 1.6rem; flex-shrink: 0; }
.design-stage { display: grid; place-items: center; min-height: 220px; }
.design-artboard { position:relative; width:min(100%,29.8125dvh); aspect-ratio:9/16; flex-shrink:0; }
.design-artboard #design-preview { position:absolute; inset:0; display:block; width:100%; height:100%; max-height:none; cursor:zoom-in; }
.design-preview-recovery { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:10px; }
.design-scene { display:none; position:absolute; inset:0; overflow:hidden; }
.design-scene-layer { position:absolute; pointer-events:none; }
.design-scene-layer canvas { display:block; width:100%; height:100%; }
.design-scene-layer[data-element] { pointer-events:none; cursor:grab; outline:none; }
.design-scene-layer[data-element]:not([data-element="photo"]):not([data-element="logo"]) { outline:1px dashed #ffffff8c; outline-offset:2px; }
.design-scene-layer[data-area="true"] { pointer-events:none; outline:none !important; }
.design-scene-layer:focus-visible { outline:2px solid #fff; outline-offset:-2px; }
.design-selection { display:none; position:absolute; pointer-events:none; border:2px solid #fff; box-shadow:0 0 0 1px #19352e; z-index:3; }
.design-selection>span { position:absolute; bottom:calc(100% + 3px); left:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:2px 5px; font-size:.75rem; background:#19352e; color:white; }
.design-move-handle { position:absolute; inset:0; min-width:44px; min-height:44px; margin:auto; padding:0; border:0; background:transparent; pointer-events:auto; touch-action:none; cursor:grab; }
.design-resize-handle { position:absolute; right:-22px; bottom:-22px; width:44px; height:44px; min-width:44px; padding:0; border:2px solid white; border-radius:50%; background:#19352e; color:white; font-size:1.25rem; pointer-events:auto; touch-action:none; cursor:nwse-resize; }
.design-expand { margin:14px auto 0; display:block; }
/* The canvas owns the viewport; contextual tools float without changing its size. */
.design-expanded-dialog { --editor-height:100dvh; --editor-top:max(52px,calc(env(safe-area-inset-top) + 48px)); --editor-bottom:max(56px,calc(env(safe-area-inset-bottom) + 48px)); position:fixed; inset:0; width:100%; max-width:100%; height:var(--editor-height); max-height:none; padding:0; margin:0; border:0; border-radius:0; background:#17261f; color:#fff; overflow:hidden; overscroll-behavior:none; }
.design-expanded-dialog::backdrop { background:#17261f; }
.expanded-heading { position:absolute; inset:0 0 auto; z-index:5; height:var(--editor-top); display:flex; align-items:center; justify-content:space-between; padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left)); background:#17261f; }
.expanded-heading button,.expanded-dock button,.expanded-panel-heading button,.expanded-tabs button,.expanded-tools button { min-height:44px; border:0; border-radius:10px; padding:8px 12px; color:#fff; background:#294437; font-size:.875rem; }
.expanded-heading button { background:transparent; }
.expanded-heading #design-collapse { max-width:calc(100% - 96px); text-align:left; font-weight:600; line-height:1.15; }
.expanded-history { flex-shrink:0; }
.design-save-result { flex-shrink:0; margin:0; padding:10px 20px; background:#e3f2e7; color:#165a3b; font-size:.875rem; }
.expanded-save-error { position:absolute; z-index:8; top:var(--editor-top); left:8px; right:8px; margin:4px 0; padding:12px; border-radius:10px; color:#fff; background:#873c32; font-size:.875rem; }
.expanded-history { display:flex; gap:4px; }
.expanded-history button { width:44px; padding:0; font-size:1.65rem; }
.expanded-dock { position:absolute; inset:auto 0 0; z-index:5; height:var(--editor-bottom); display:flex; gap:8px; align-items:start; justify-content:center; padding:4px max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-left)); background:#17261f; }
.expanded-dock button:first-child { background:#fff; color:#19352e; flex:1; max-width:320px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.expanded-dock button[aria-expanded="true"] { box-shadow:inset 0 0 0 2px #92c6a9; }
.expanded-element-options { position:absolute; z-index:6; bottom:calc(var(--editor-bottom) + 8px); left:50%; transform:translateX(-50%); width:min(380px,calc(100% - 16px)); max-height:min(310px,calc(var(--editor-height) - var(--editor-top) - var(--editor-bottom) - 16px)); overflow:auto; overscroll-behavior:contain; border:1px solid #62776b; border-radius:16px; color:#fff; background:#20352bf5; box-shadow:0 8px 32px #0006; scrollbar-width:thin; }
.expanded-element-options[data-placement="top"] { top:calc(var(--editor-top) + 8px); bottom:auto; }
.expanded-panel-heading { display:flex; gap:8px; align-items:center; justify-content:space-between; padding:4px 8px 0 14px; }
.expanded-panel-heading h3 { color:inherit; font-size:.875rem; margin:0; min-width:0; overflow-wrap:anywhere; }
.expanded-panel-heading button { background:transparent; color:#c4f1d6; flex-shrink:0; }
.expanded-tabs { display:flex; gap:4px; padding:0 12px 8px; }
.expanded-tabs button { flex:1; }
.expanded-tabs button[aria-pressed="true"],.expanded-tools button[aria-pressed="true"] { background:#d6f4db; color:#12382f; }
.expanded-element-picker { padding:4px 12px 10px; }
.expanded-element-picker select { width:100%; color:#19352e; background:#fff; min-height:44px; padding:8px; font-size:1rem; }
.expanded-element-options>p { padding:0 12px 12px; margin:8px 0 0; font-size:.875rem; }
.expanded-inspector { padding:0 12px 12px; }
.expanded-inspector label { display:block; font-size:.875rem; }
.expanded-inspector textarea,.expanded-inspector select { width:100%; color:#19352e; background:white; font-size:1rem; border:1px solid #a8bcaf; border-radius:8px; padding:8px; }
.expanded-inspector textarea { resize:none; min-height:76px; }
.expanded-inspector select { min-height:44px; }
.expanded-inspector .text-button { color:#d0e8da; font-size:.875rem; min-height:44px; padding:8px 0 0; }
.expanded-brand-colors { display:flex; gap:12px; align-items:start; font-size:.875rem; }
.expanded-brand-colors>div { flex:1; min-width:0; }
.expanded-custom-color input { display:block; width:44px; height:44px; padding:2px; border:1px solid #a8bcaf; border-radius:50%; }
.expanded-brand-colors .color-swatches { flex-wrap:nowrap; overflow-x:auto; padding:3px; gap:6px; }
.expanded-brand-colors .color-swatch { flex-shrink:0; }
.expanded-tools,.design-tools { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 14px; }
.expanded-tools { padding:0 12px; }
.design-expanded-dialog[data-keyboard="true"] .expanded-element-options { top:auto; bottom:calc(var(--editor-height) - var(--editor-visible-bottom) + 8px); max-height:calc(var(--editor-visible-height) - 16px); }
@media(min-width:900px) {
  .expanded-element-options { left:auto; right:16px; transform:none; }
  .expanded-element-options[data-placement="top"] { top:calc(var(--editor-top) + 8px); }
}
.suggestion-dialog { width:min(580px,calc(100% - 24px)); max-height:94dvh; overflow:auto; overscroll-behavior:contain; border:1px solid #cfdcd3; border-radius:16px; padding:20px; }
.suggestion-dialog::backdrop { background:#10261dcc; }
.suggestion-dialog .modal-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.suggestion-dialog h2 { font-size:1.2rem; }
.suggestion-preview { height:32dvh; display:flex; justify-content:center; }
.suggestion-preview img { height:100%; max-width:100%; object-fit:contain; }
.suggestion-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
#suggestion-copy { white-space:pre-line; padding:12px; background:#edf6ef; border-radius:8px; }
.design-expanded-stage { position:absolute; inset:var(--editor-top) max(0px,env(safe-area-inset-right)) var(--editor-bottom) max(0px,env(safe-area-inset-left)); display:grid; place-items:center; min-height:0; min-width:0; padding:0; container-type:size; }
.design-expanded-stage .design-artboard { width:min(100%,calc((var(--editor-height) - var(--editor-top) - var(--editor-bottom)) * .5625)); touch-action:none; user-select:none; }
@supports (width:1cqh) { .design-expanded-stage .design-artboard { width:min(100cqw,56.25cqh); } }
.design-expanded-stage #design-preview { visibility:hidden; }
.design-expanded-stage .design-scene { display:block; }
.design-expanded-stage .is-rendering #design-preview { visibility:visible; }
.design-expanded-stage .is-rendering .design-scene { visibility:hidden; }
.design-expanded-stage .is-rendering .design-selection { visibility:hidden; }
.design-expanded-stage .design-selection:not([hidden]) { display:block; }
.design-artboard.is-dragging,.design-artboard.is-dragging [data-element] { cursor:grabbing; }
.design-stage img { max-height: 53dvh; width: auto; max-width: 100%; aspect-ratio: 9/16; object-fit: contain; box-shadow: 0 10px 35px #0c32202b; border-radius: 4px; background: white; }
.design-render-note { font-size: .8125rem; color: #486453; margin: 15px 0 0; text-align: center; }
.design-controls { padding: 24px 28px; min-width: 0; }
.design-section legend { font-size: 1rem; float: none; }
.design-section + .design-section { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.design-section + .design-section legend { float: none; width: auto; }
.design-section .field-help { font-size: .8125rem; margin: 8px 0 16px; }
.design-controls label { display: block; min-width: 0; }
.design-controls input:not([type="checkbox"]):not([type="radio"]), .design-controls select { width: 100%; min-height: 46px; padding: 10px; border: 1px solid #cfdcd3; border-radius: 8px; background: white; }
.design-controls input[type="color"] { padding: 4px 6px !important; height: 46px; cursor: pointer; }
.design-controls input[type="range"] { accent-color: var(--primary); padding: 0 !important; border: 0 !important; }
.design-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 18px 0; }
.design-row label > span { font-size: .875rem; }
.template-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.template-options label { position: relative; cursor: pointer; }
.template-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.template-tile { display: flex; flex-direction: column; align-items: center; padding: 12px 8px 8px; gap: 9px; border: 1px solid var(--line); border-radius: 10px; margin: 0; background: white; }
.template-tile b { font-size: .875rem; font-weight: 600; }
.template-options input:checked + span { border-color: #237347; box-shadow: inset 0 0 0 1px #237347; background: #edf6ef; }
.template-options input:focus-visible + span { outline: 3px solid #448d60; outline-offset: 2px; }
.template-diagram { display: block; width: 42px; height: 62px; border: 1px solid #bed0c5; border-radius: 3px; }
.template-diagram.impact { background: linear-gradient(#f5f7f6 60%, #1f9d74 60%); }
.template-diagram.clean { background: linear-gradient(#dfe9e3 60%, white 60%); border-bottom: 4px solid #1f9d74; }
.template-diagram.frame { border: 1px solid #bed0c5; background: linear-gradient(#e9efeb 50%, white 50% 65%, #1f9d74 65% 79%, white 79%); }
.template-diagram.night { background: linear-gradient(#dbe2eb 55%, #141b24 55%); }
.template-diagram.gradient { background: linear-gradient(140deg,#dfe9e3 40%,#1f9d74 55%,#12382f); }
.template-diagram.cover { background: linear-gradient(#b7c6be,#768c81 45%,#14251b); }
.template-diagram.headline { background: linear-gradient(white 25%,#d4e2d9 25% 68%,white 68%); }
.palette-actions, .photo-edit-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.palette-actions button { font-size: .875rem; }
.palette-actions label { margin: 0; }
.palette-actions select { width: auto; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch { width: 44px; height: 44px; border: 1px solid #b9c9be; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 3px white; }
.color-swatch:hover { box-shadow: inset 0 0 0 3px white,0 0 0 2px #16613f; }
.brand-palette { margin-bottom: 18px; }
.photo-edit-actions .outline-button { padding: 8px 12px; }
.photo-dropzone { border: 0; border-radius: 0; }
.photo-dropzone.video-picker { aspect-ratio: auto; min-height: 48px; }
.video-picker #photo-placeholder { padding: 10px; }
.video-picker #photo-placeholder .icon, .video-picker #photo-placeholder small { display: none; }
#product-video-preview { display: block; width: 100%; max-height: 320px; margin-top: 12px; background: #101b16; }
.status-preview-wrap video { width: 100%; max-height: 60dvh; background: #101b16; }
.status-preview-wrap img, .design-stage img { border-radius: 0; }
.video-mini { display: grid; place-items: center; width: 58px; height: 70px; background: #183c2c; color: white; font-size: .75rem; letter-spacing: .04em; }
.next-product-content .video-mini { width: 120px; height: 140px; flex-shrink: 0; }
.product-media:has(video) .status-chip { top: 8px; pointer-events: none; }
.compact-logo { padding: 12px; gap: 14px; margin-bottom: 0; }
.compact-logo .logo-sample { width: 66px; height: 66px; }
.compact-logo .logo-sample img { max-height: 50px; }
.compact-logo .outline-button { min-height: 42px; font-size: .875rem; }
.visibility-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 14px; }
.visibility-grid label, .remember-design { display: flex; align-items: center; justify-content: flex-start; gap: 9px; cursor: pointer; min-height: 42px; }
.visibility-grid input, .remember-design input { appearance: auto; width: 19px; height: 19px; flex-shrink: 0; accent-color: var(--primary); }
.visibility-grid label > span, .remember-design > span { margin: 0; font-size: .875rem; font-weight: 400; }
.design-advanced { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.design-advanced summary { cursor: pointer; font-size: .875rem; font-weight: 600; padding: 6px 0; }
.design-advanced > label { margin: 15px 0; }
.design-footer { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: 24px; padding: 22px 0 0; border-top: 1px solid var(--line); background: white; }
.design-footer > div { flex: 1; min-width: 0; }
.design-footer .scope-label { display: grid; gap: 8px; }
.design-footer .remember-design { display: flex; }
.scope-label > span { margin: 0; }
.scope-label select { min-height: 42px; padding: 8px 12px; }
.design-footer .field-help { font-size: .8125rem; margin: 0; max-width: 660px; }
.design-footer .solid-button { flex-shrink: 0; }
@media (max-width: 760px) {
  .design-dialog { width: 100%; margin: auto 0 0; height: 98dvh; max-height: 98dvh; border-radius: 18px 18px 0 0; }
  .design-layout { display:block; }
  .design-preview-column { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(64px,96px); gap: 10px; padding: 12px 16px; border-bottom: 1px solid #cbd9cf; }
  .design-stage { min-height: 0; grid-column: 2; grid-row: 1/3; }
  .design-stage img { max-height: 22dvh; }
  .design-stage .design-artboard { width:min(100%,23dvh); }
  .design-expand { margin:8px 0 0; grid-column:1; grid-row:2; justify-self:start; font-size:.8125rem; padding:8px 10px; }
  .design-preview-column .design-render-note { grid-column:1/-1; }
  .design-product-nav { margin: 0; gap: 6px; }
  .design-render-note { margin: 0; text-align: left; }
  .design-controls { padding: 22px 20px; }
  .design-footer { padding: 20px 0 env(safe-area-inset-bottom); gap: 12px; }
  .design-footer .field-help { font-size: .75rem; }
  .remember-design { min-height: 36px; }
  .design-row { gap: 12px; }
}
@media (max-width: 380px) {
  .copy-tools { grid-template-columns: minmax(0,1fr); }
  .visibility-grid { grid-template-columns: minmax(0,1fr); }
  .logo-editor { padding: 10px; gap: 10px; }
  .logo-sample { width: 65px; height: 65px; }
  .logo-sample img { max-height: 48px; }
  .scope-label { grid-template-columns: minmax(0,1fr); gap: 5px; }
}
.metadata-helper{padding:1rem;background:var(--surface-soft,#edf7f2);border-radius:12px;overflow-wrap:anywhere}
.metadata-helper>strong{font-size:1rem}.metadata-helper p{font-size:.875rem;line-height:1.5;margin:.4rem 0}
.metadata-helper small{display:block;font-size:.8125rem;line-height:1.5;color:var(--muted,#53665d)}
.metadata-helper summary{cursor:pointer;font-size:.875rem;padding:.6rem 0;min-height:44px}
.metadata-helper #metadata-sources{white-space:pre-line}

/* Keep the frequent actions visible and secondary settings within reach. */
.close-mark { display:block; font:400 30px/1 Arial,sans-serif; color:var(--ink); }
.share-picker { display:block; margin:4px 0 0; }
.share-picker select { width:100%; min-height:48px; padding:10px 12px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--ink); font:inherit; }
.simple-options { margin-bottom:16px; }
.simple-options>summary { min-height:48px; padding:12px 0; cursor:pointer; font-size:.9375rem; font-weight:650; }
.simple-options[open]>summary { margin-bottom:8px; }
.copy-helper.simple-options { padding:0 16px; }
.copy-helper.simple-options[open] { padding-bottom:12px; }
.settings-card>.simple-options { border-top:1px solid var(--line); }
.settings-card>.simple-options fieldset { padding-top:4px; }
.data-card.simple-options { padding-block:10px; }
.metadata-helper { background:transparent; padding:0; margin:0; }
.metadata-helper p { color:var(--muted); }
.catalog-preview-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.catalog-preview-heading .catalog-preview-note { margin:8px 0; }
.catalog-preview-heading button { flex-shrink:0; }
.contact-mark { object-fit:contain; flex-shrink:0; }
.queue-item-info { min-width:0; }
.queue-item h3 { overflow-wrap:anywhere; }
#status-dialog #status-media-heading { display:none; }
@media (max-width:620px) {
  .queue-share { font-size:.8125rem; }
  .queue-item h3 { font-size:.9375rem; }
  .catalog-preview-heading { flex-wrap:wrap; gap:0 8px; }
}

/* Bulk review: compact editable rows, with bounded lists for large inventories. */
.collection-tools,.collection-filters,.selection-actions,.batch-source-actions,.batch-selection,.batch-share-actions { display:flex;align-items:center;flex-wrap:wrap;gap:10px; }
.collection-tools { margin:10px 0; }.collection-tools .result-count { margin:0 auto 0 0; }
.collection-filters { margin-bottom:16px; }.collection-filters label { flex:1;min-width:150px; }
.collection-filters select,.batch-toolbar input,.batch-toolbar select { width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit; }
.selection-bar { background:#eaf6ef;border:1px solid #bad8c7;padding:14px;margin-bottom:18px;border-radius:12px;display:flex;align-items:center;flex-wrap:wrap;gap:12px; }
.selection-bar>label,.batch-selection>label { display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer; }
.selection-bar>label span,.batch-selection>label span { margin:0; }
.selection-bar input[type=checkbox],.batch-selection input[type=checkbox],.batch-check input,.product-select input,.group-toggle input { width:22px;height:22px;min-height:22px;accent-color:var(--green);flex-shrink:0; }
.product-card { position:relative; }.product-select { position:absolute;z-index:2;top:8px;left:8px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:white;border-radius:10px;box-shadow:0 2px 8px #19342c20;cursor:pointer; }
.load-more { display:flex;margin:22px auto; }
.batch-dialog { width:min(1080px,calc(100% - 24px)); }.batch-dialog .dialog-heading { align-items:start; }.batch-dialog .dialog-heading p { margin:7px 0 0; }
.batch-body { padding:20px 26px; }.batch-source-actions { margin-bottom:12px; }.batch-help { margin:0; }.batch-help p { font-size:.875rem;color:var(--muted);line-height:1.55; }
.batch-toolbar { display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.6fr);gap:12px;margin:16px 0; }
.batch-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px; }
.batch-row { display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px;background:white;min-width:0;align-items:start; }
.batch-row-media { position:relative;display:flex;align-items:center;flex-direction:column;gap:8px; }.batch-row-media>img { width:88px;height:110px;object-fit:contain;background:#f1f5f3;border-radius:6px; }
.batch-row-media .text-button { font-size:.875rem;padding:8px 3px; }.batch-check { display:flex;align-items:center;min-height:32px;width:100%;cursor:pointer; }
.batch-row-fields { min-width:0; }.batch-row-fields>label,.batch-field-pair>label { display:block;margin-bottom:10px; }.batch-row-fields label>span { font-size:.875rem; }
.batch-row-fields input:not([type=checkbox]),.batch-row-fields select,.group-fields input:not([type=checkbox]),.group-fields select { display:block;width:100%;min-height:44px;border:1px solid #cbd7d0;border-radius:7px;padding:9px;background:white;color:var(--ink);font-size:1rem; }
.batch-row-fields input[aria-invalid=true] { border-color:#ad5b26;background:#fff9f2; }
.batch-row-fields .simple-options { margin:0; }.batch-row-fields .simple-options>summary { font-size:.875rem; }
.batch-row-fields .simple-options>label { display:block;margin-bottom:10px; }
.batch-field-pair { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px; }
.batch-row-status { font-size:.875rem;line-height:1.5;color:#914617;margin:8px 0; }.batch-row-status.is-ready { color:#11633f; }
.batch-no-photo,.batch-quote { color:var(--muted);font-size:.875rem; }
.batch-footer { position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:16px 26px;background:white;z-index:3; }.batch-footer p { margin:0;font-size:.875rem;line-height:1.5;color:var(--muted); }
.batch-error { color:#9e301e;background:#fff3ed;padding:12px;border-radius:8px;line-height:1.5;font-size:.875rem;overflow-wrap:anywhere; }
.group-dialog { width:min(560px,calc(100% - 24px)); }.group-fields { padding:18px 26px; }.group-fields>label { display:block;margin-bottom:12px; }.group-fields .group-toggle,.batch-row-fields .group-toggle { display:flex;align-items:center;gap:10px;min-height:44px; }.group-toggle span { margin:0; }
.group-fields .form-row { margin-top:18px; }.group-fields input:disabled { background:#f1f4f2; }.batch-share-dialog { width:min(620px,calc(100% - 24px)); }
.batch-share-actions { margin-top:16px; }.batch-share-list>div { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--line); }.batch-share-list span { min-width:0;overflow-wrap:anywhere; }.batch-share-list small { display:block;font-size:.875rem;color:var(--muted);line-height:1.5;margin-top:4px; }
@media(max-width:720px) {
  .batch-dialog,.group-dialog,.batch-share-dialog { width:100%;margin:auto 0 0; }
  .batch-body { padding:16px; }.batch-list { grid-template-columns:minmax(0,1fr);gap:12px; }.batch-toolbar { grid-template-columns:minmax(0,1fr);gap:8px; }
  .batch-footer { padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px; }.batch-footer .solid-button { width:100%; }.batch-footer p { width:100%; }
  .batch-source-actions>.solid-button,.batch-source-actions>.outline-button { flex:1; }.batch-selection { gap:8px; }.batch-selection>label { width:100%; }
  .group-fields { padding:16px; }.selection-actions { width:100%; }.selection-actions>.solid-button,.selection-actions>.outline-button { flex:1; }
}
@media(max-width:380px) { .batch-row { grid-template-columns:64px minmax(0,1fr);padding:10px;gap:10px; }.batch-row-media>img { width:64px;height:90px; }.batch-field-pair { grid-template-columns:minmax(0,1fr);gap:0; } }
/* Account access is checked before private IndexedDB data is loaded. */
.account-gate{position:fixed;inset:0;z-index:2147483647;background:#f2f7f4;display:grid;place-items:center;padding:24px;color:#12382f;overflow:auto}.account-gate>div{width:min(100%,440px);padding:32px;background:white;border-radius:24px;box-shadow:0 15px 60px #12382f0c}.account-gate h1{font-size:30px;line-height:1.15;margin:16px 0}.account-gate p{line-height:1.6}.account-gate .eyebrow{margin-top:28px;font-size:11px}
.account-gate-developer{margin-top:24px;padding-top:18px;border-top:1px solid #dce8e0}
.account-gate-developer h2{font-size:15px;margin:0 0 8px;letter-spacing:0}
.account-gate-developer p{font-size:13px;line-height:1.5;margin:0 0 9px}
.account-gate-developer a{color:#176243;overflow-wrap:anywhere;text-underline-offset:2px}
.account-gate-developer p a{margin:0}
.account-gate-developer nav{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px}
.account-gate-developer nav a{font-size:12px;margin:0}
@media(max-width:540px){.account-gate{padding:14px}.account-gate>div{padding:24px}.account-gate-developer nav{gap:9px 13px}}.account-gate a,.account-gate button{margin:8px 8px 0 0}.account-sync-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;font-size:12px;color:#365c4e;border-bottom:1px solid #d8e4dd;padding:12px 0;margin-bottom:18px}.account-sync-bar>span{margin-right:auto}.account-sync-bar .text-button{font-size:12px;min-height:40px}
.account-conflict{border:0;border-radius:20px;padding:26px;width:min(480px,calc(100% - 28px));color:#12382f;background:white}.account-conflict::backdrop{background:#12382fcc}.account-conflict h2{font-size:24px}.account-conflict p{line-height:1.5;overflow-wrap:anywhere}.account-conflict button{display:block;width:100%;margin-top:12px}

/* Primary destinations stay within thumb reach; secondary tools have their own page. */
.nav-social { text-decoration:none; }
.nav-more { display:none; }
.business-shortcuts { display:grid; gap:16px; max-width:680px; }
.business-shortcuts > * { text-align:left; justify-content:flex-start; min-height:64px; }
.template-diagram.photo-only, .template-diagram.photo-brand { background:linear-gradient(150deg,#b4d1c4 50%,#7c9e90 51%); }
.template-diagram.photo-only::after { display:none; }
.template-diagram.photo-brand::after { content:'● Mi marca'; background:#fff; color:#12382f; font-size:8px; height:20%; }
.design-artboard.is-photo { background:transparent; }
@media(max-width:800px) {
 .bottom-nav .nav-secondary { display:none; }
 .nav-more { display:flex; }
 .bottom-nav .nav-button { min-width:0; font-size:.7rem; padding-inline:2px; }
 .bottom-nav .nav-social { order:4; }.bottom-nav .nav-more { order:5; }
 .bottom-nav [data-view="products"] { order:1; }.bottom-nav [data-view="scheduled"] { order:2; }.bottom-nav [data-view="results"] { order:3; }
}
@media(max-width:580px) { .quick-actions #bulk-schedule-start { grid-column:1 / -1; } }

/* Identifiable video covers reuse each list's image dimensions. */
.video-cover { display:inline-block; position:relative; overflow:hidden; flex-shrink:0; background:#dce9e3; }
.video-cover>img { display:block; width:100%; height:100%; object-fit:cover; }
.video-cover>img[hidden] { display:none; }
.video-cover-badge { position:absolute; bottom:4px; right:4px; padding:2px 5px; border-radius:4px; background:#173b2ed9; color:#fff; font-size:12px; line-height:1.4; }
.cover-pending .video-cover-badge { top:50%; left:50%; right:auto; bottom:auto; transform:translate(-50%,-50%); }
.batch-video-thumb { width:100%; height:104px; border-radius:8px; }
.video-export-dialog { width:min(440px,calc(100% - 32px)); }
.video-export-body { padding:4px 24px 24px; }
.video-export-body progress { width:100%; height:16px; accent-color:var(--primary); }
.video-export-body p { line-height:1.5; }

.scheduled-thumb { width:72px; height:88px; float:left; margin:0 12px 8px 0; border-radius:8px; object-fit:contain; background:#f2f6f4; }

/* Importar catálogo / revista: revisión local, visual y utilizable con una mano. */
.catalog-import-button{border-color:#157954;background:#f1fbf6;color:#0d5b3d}.create-choice-dialog{width:min(650px,calc(100% - 24px))}.create-choice-grid{display:grid;gap:12px;padding:4px 26px 26px}.create-choice-grid>button{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:14px;width:100%;min-height:82px;padding:14px 16px;text-align:left;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}.create-choice-grid>button:hover,.create-choice-grid>button:focus-visible{border-color:#167b57;box-shadow:0 0 0 3px #16815a1a}.create-choice-grid>button.is-featured{background:#eaf8f1;border-color:#79b99e}.choice-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#d9efe4;color:#0d6747;font-weight:800}.create-choice-grid b,.create-choice-grid small{display:block}.create-choice-grid small{margin-top:5px;color:var(--muted);line-height:1.35}
.catalog-import-dialog{width:min(1120px,calc(100% - 24px));max-height:min(92vh,900px)}.catalog-stage{padding:18px 26px 28px}.catalog-privacy{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin-bottom:16px;border-radius:12px;background:#eef8f3;color:#205c46}.catalog-privacy p{margin:0;line-height:1.5}.catalog-source-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.catalog-file-drop{display:grid;place-items:center;gap:7px;width:100%;min-height:170px;padding:16px;border:2px dashed #8bb9a5;border-radius:18px;background:#f8fcfa;color:var(--ink);font:inherit;cursor:pointer}.catalog-file-drop:hover,.catalog-file-drop:focus-visible{border-color:#167b57;background:#eef9f3;box-shadow:0 0 0 3px #16815a1a}.catalog-file-drop small,.catalog-file-card small{display:block;color:var(--muted);line-height:1.35}.catalog-file-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#f8faf9}.catalog-file-card>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.catalog-source-form{margin-top:18px}.catalog-source-form .wide{width:100%;margin-top:16px}.catalog-progress-hero{display:grid;place-items:center;text-align:center;min-height:400px}.catalog-progress-hero h3{margin:16px 0 4px}.catalog-progress-hero p,.catalog-progress-hero small{color:var(--muted)}.catalog-progress-hero progress{width:min(100%,520px);height:18px;margin:18px 0;accent-color:#167b57}.catalog-progress-hero strong{margin-bottom:8px}.catalog-spinner{width:48px;height:48px;border:5px solid #d8ebe2;border-top-color:#167b57;border-radius:50%;animation:catalog-spin .9s linear infinite}@keyframes catalog-spin{to{transform:rotate(1turn)}}.catalog-progress-actions,.catalog-final-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.catalog-results-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.catalog-results-head h3{margin:4px 0}.catalog-results-head p{margin:0;color:var(--muted)}.catalog-comparison{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:18px 0;padding:12px;border:1px solid #cde0d7;border-radius:12px;background:#f6fbf8}.catalog-comparison>*{padding:7px;text-align:center}.catalog-comparison strong{color:#105d40}.catalog-review-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.catalog-review-summary button{min-height:48px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}.catalog-review-summary button.is-active{border-color:#167b57;background:#eaf8f1}.catalog-review-summary b{display:inline-block;margin-left:5px}.catalog-result-toolbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -4px 15px;padding:10px 4px;background:#fff}.catalog-result-toolbar>label{display:flex;align-items:center;gap:8px;min-height:44px}.catalog-result-toolbar>label input,.catalog-card-check input,.catalog-review-confirm input{width:22px;height:22px;accent-color:#167b57}.catalog-result-toolbar>div{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.catalog-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.catalog-product-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}.catalog-product-card.is-low{border-color:#cf7f4b;background:#fffaf6}.catalog-product-photo{position:relative;aspect-ratio:4/3;background:#edf3f0}.catalog-product-photo>img{width:100%;height:100%;object-fit:contain}.catalog-card-check{position:absolute;z-index:2;top:7px;left:7px;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#fff;box-shadow:0 2px 9px #1a3b2d24}.catalog-confidence{position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:999px;background:#fff;color:#145d43;font-size:.72rem;font-weight:800;text-transform:uppercase;box-shadow:0 2px 8px #163b2e22}.catalog-confidence.is-low{background:#fff0e7;color:#97461c}.catalog-confidence.is-medium{background:#fff8d9;color:#765a00}.catalog-card-body{padding:12px}.catalog-card-body h4{overflow:hidden;margin:0 0 7px;font-size:1rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.catalog-card-data{display:grid;gap:4px;min-height:55px;color:var(--muted);font-size:.82rem}.catalog-card-price{color:#164f3c;font-weight:800}.catalog-card-state{margin:10px 0 0;font-size:.8rem;font-weight:700;color:#196747}.catalog-card-state.needs-review{color:#a14e20}.catalog-card-actions{display:flex;border-top:1px solid var(--line)}.catalog-card-actions button{flex:1;min-height:43px;border:0;background:#fff;color:#116043;font:inherit;font-size:.84rem;cursor:pointer}.catalog-card-actions button+button{border-left:1px solid var(--line)}.catalog-review-confirm{display:flex;align-items:flex-start;gap:10px;margin:22px 0;padding:14px;border-radius:12px;background:#f3f7f5;line-height:1.45}.catalog-final-actions{justify-content:flex-end}.catalog-library-list{display:grid;gap:14px;margin-top:18px}.source-catalog-card{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.source-catalog-cover{display:grid;place-items:center;width:90px;height:112px;overflow:hidden;border-radius:8px;background:#e9f1ed;color:#2e6451;font-weight:800}.source-catalog-cover img{width:100%;height:100%;object-fit:cover}.source-catalog-card h4{margin:0 0 5px}.source-catalog-card p{margin:0 0 6px;color:var(--muted)}.source-catalog-card small{display:block;color:var(--muted)}.catalog-status-pill{display:inline-block;margin-top:7px;padding:4px 8px;border-radius:999px;background:#e8f7ef;color:#0f6443;font-size:.75rem;font-weight:700}.source-catalog-actions{display:grid;gap:6px;justify-items:stretch}
.catalog-product-dialog{width:min(920px,calc(100% - 24px))}.catalog-product-editor{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(0,1.3fr);gap:22px;padding:6px 26px 24px}.catalog-edit-photo{display:flex;align-items:stretch;flex-direction:column;gap:8px}.catalog-edit-photo>img{width:100%;max-height:360px;object-fit:contain;border-radius:12px;background:#eef3f0}.catalog-edit-photo small{color:var(--muted);text-align:center}.editor-fields>label,.editor-fields details{display:block;margin-bottom:12px}.editor-fields input,.editor-fields textarea{width:100%}.editor-fields #catalog-duplicate-choice{padding:12px;border:1px solid #dfc395;border-radius:10px;background:#fffaf0}.editor-fields #catalog-duplicate-choice label{display:flex;align-items:center;gap:8px;min-height:42px}.editor-fields #catalog-duplicate-choice input{width:20px;height:20px}.catalog-crop-dialog{width:min(940px,calc(100% - 24px))}.catalog-crop-stage{position:relative;width:calc(100% - 48px);margin:0 24px;overflow:hidden;background:#dfe9e4;touch-action:none}.catalog-crop-stage canvas{display:block;width:100%;height:auto}.catalog-crop-box{position:absolute;border:3px solid #fff;outline:2px solid #117b55;box-shadow:0 0 0 2000px #0d251f78;cursor:move;touch-action:none}.catalog-crop-box i{position:absolute;width:24px;height:24px;border:3px solid #117b55;border-radius:50%;background:#fff}.catalog-crop-box i[data-crop-handle=nw]{left:-12px;top:-12px;cursor:nwse-resize}.catalog-crop-box i[data-crop-handle=ne]{right:-12px;top:-12px;cursor:nesw-resize}.catalog-crop-box i[data-crop-handle=sw]{left:-12px;bottom:-12px;cursor:nesw-resize}.catalog-crop-box i[data-crop-handle=se]{right:-12px;bottom:-12px;cursor:nwse-resize}.catalog-crop-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:16px 24px calc(16px + env(safe-area-inset-bottom))}
@media(max-width:860px){.catalog-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-comparison strong{grid-column:1/-1}.source-catalog-card{grid-template-columns:72px minmax(0,1fr)}.source-catalog-cover{width:72px;height:94px}.source-catalog-actions{grid-column:1/-1;display:flex;flex-wrap:wrap}.catalog-product-editor{grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr)}}
@media(max-width:640px){.create-choice-dialog,.catalog-import-dialog,.catalog-product-dialog,.catalog-crop-dialog{width:100%;max-height:100dvh;margin:auto 0 0;border-radius:20px 20px 0 0}.create-choice-grid,.catalog-stage{padding:10px 16px calc(18px + env(safe-area-inset-bottom))}.catalog-source-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.catalog-source-pdf{grid-column:1/-1}.catalog-file-drop{min-height:118px;padding:11px}.catalog-file-drop .choice-icon{width:42px;height:42px}.catalog-file-card{align-items:flex-start;flex-direction:column}.catalog-file-card>div:last-child{justify-content:flex-start}.catalog-results-head{align-items:stretch;flex-direction:column}.catalog-review-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-result-toolbar{align-items:stretch;flex-direction:column}.catalog-result-toolbar>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-card-body{padding:10px}.catalog-final-actions>*{flex:1}.catalog-product-editor{grid-template-columns:minmax(0,1fr);padding:0 16px 18px}.catalog-edit-photo>img{max-height:42vh}.source-catalog-card{align-items:start}.source-catalog-actions>*{flex:1}.catalog-crop-stage{width:calc(100% - 24px);margin:0 12px}.catalog-crop-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.catalog-crop-actions .solid-button{grid-column:1/-1}.catalog-progress-hero{min-height:55vh}}
@media(max-width:390px){.catalog-product-grid{grid-template-columns:minmax(0,1fr)}.catalog-result-toolbar>div{grid-template-columns:minmax(0,1fr)}.create-choice-grid>button{grid-template-columns:44px 1fr;padding:11px}.choice-icon{width:42px;height:42px}.source-catalog-card{grid-template-columns:58px minmax(0,1fr)}.source-catalog-cover{width:58px;height:78px}}

/* Each network owns its available publishing surfaces. */
.share-networks{display:grid;gap:10px}.share-network{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.share-network>summary{display:flex;align-items:center;gap:13px;min-height:64px;padding:14px;cursor:pointer;list-style:none}.share-network>summary::-webkit-details-marker{display:none}.share-network>summary>b{flex:1}.share-network>summary>span{font-size:1.4rem;transition:transform .15s}.share-network[open]>summary>span{transform:rotate(180deg)}.share-network[open]>summary{background:#eff7f2}.network-surfaces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}.network-surfaces .outline-button{min-height:48px}.network-surfaces>.whatsapp-choice,.network-surfaces>small{grid-column:1/-1;margin:0}.network-surfaces>small{font-size:.78rem;color:var(--muted);line-height:1.4}.share-network summary:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
@media(max-width:760px){.bottom-nav [data-view="catalog"]{order:3}#status-dialog .status-preview-wrap{max-width:260px;margin:auto}#status-dialog #status-video-preview,#status-dialog #status-preview{max-height:32vh;object-fit:contain}#status-dialog #status-video-note{font-size:.8rem;line-height:1.4}.share-panel{min-width:0}}


.catalog-crop-actions{position:sticky;bottom:0;z-index:2;background:#fff;border-top:1px solid var(--line)}

.catalog-activity{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#e9f8f0;border:1px solid #85c5a9;border-radius:12px;margin:12px 0}.catalog-activity button{min-height:40px;white-space:nowrap;border:1px solid #15815a;background:white;color:#135c43;border-radius:8px;padding:8px 12px}

.design-remove-controls{position:absolute;inset:0;z-index:5;pointer-events:none}.design-remove-module{position:absolute;transform:translate(-50%,-50%);width:25px;height:25px;min-width:25px;min-height:25px;display:grid;place-items:center;padding:0;border:1px solid #fff;border-radius:50%;background:#284d40;color:white;font:700 19px/1 Arial;box-shadow:0 1px 5px #0005;pointer-events:auto;cursor:pointer}.design-remove-module:focus-visible{outline:3px solid #40d79b;outline-offset:2px}.design-expanded-stage .design-remove-module{width:30px;height:30px}.design-artboard.is-rendering .design-remove-controls{visibility:hidden}

/* Keep save feedback and actions visible above Android navigation controls. */
.catalog-save-status{margin:8px 0;padding:10px 12px;color:#14573d;background:#e7f5ed;border-radius:8px;font-weight:600}
.catalog-review-actions{flex-wrap:wrap}.catalog-review-actions .batch-error{flex-basis:100%;margin:0}.catalog-crop-actions .batch-error{grid-column:1/-1;flex-basis:100%;margin:0}
@media(max-width:640px){.catalog-crop-actions{padding-bottom:max(36px,env(safe-area-inset-bottom));position:sticky;bottom:0;background:#fff;z-index:2}.catalog-review-actions{padding-bottom:max(36px,env(safe-area-inset-bottom))}.catalog-crop-dialog{scroll-padding-bottom:210px}.catalog-image-fallback{display:grid;place-items:center;min-height:120px;color:#53655b;padding:18px}}


.font-current-sample{display:block!important;padding:14px 2px;font-size:23px!important;line-height:1.4!important;font-weight:400!important;color:inherit!important;letter-spacing:0!important;text-transform:none!important}.font-browser{margin-top:6px;min-width:0}.font-browser summary{font-size:13px;font-weight:600;cursor:pointer;min-height:40px;padding:10px 0}.font-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0 16px}.font-choice-grid button{min-width:0;min-height:82px;text-align:left;border:1px solid #c8d5ce;border-radius:8px;padding:10px;background:#fff;color:#21352b;cursor:pointer}.font-choice-grid button[aria-pressed=true]{border:2px solid #176c50;background:#f0f8f3}.font-choice-grid small{display:block;font:10px/1.35 Arial,sans-serif;color:#51625a}.font-choice-grid span{display:block;margin-top:9px;font-size:22px!important;line-height:1.35!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important}.font-choice-grid button:focus-visible{outline:3px solid #176c50;outline-offset:2px}#design-element-font-label .font-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.design-row>label:has(#design-font){grid-column:1/-1}.font-choice-grid span{overflow-wrap:anywhere;font-size:20px!important}.font-current-sample{overflow-wrap:anywhere}
