:root {
  --green: #1f6b45;
  --green-deep: #163f2d;
  --cream: #fcf8ed;
  --paper: #f3eedf;
  --white: #fffdf8;
  --red: #bd3829;
  --ink: #20372a;
  --muted: #687267;
  --line: #dedfd1;
  --yellow: #f2b544;
  font-family: "DM Sans", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
a { color: var(--green); }
button { color: inherit; cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; }
button:disabled { opacity: .48; }
button, input, select, textarea { transition: background .16s ease, border-color .16s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 { letter-spacing: -.045em; line-height: 1.12; }
h2 { letter-spacing: -.035em; line-height: 1.2; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -100px; left: 20px; background: var(--green-deep); color: white; padding: 13px 18px; border-radius: 6px; }
.skip-link:focus { top: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 17px; border: 1px solid transparent; border-radius: 8px; font-size: .83rem; line-height: 1.35; font-weight: 700; text-decoration: none; white-space: nowrap; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover:not(:disabled) { background: var(--green-deep); }
.button-secondary { background: var(--white); color: var(--green); border-color: #cbd8c8; }
.button-secondary:hover:not(:disabled) { background: #ecf1e6; border-color: var(--green); }
.button-quiet { color: var(--green); background: transparent; }
.button-quiet:hover:not(:disabled) { background: #e6eddf; }
.button-small { min-height: 38px; padding: 8px 12px; font-size: .76rem; }
.button-danger-soft { background: #fff0e9; border-color: #edc9be; color: var(--red); }
.button-danger { background: var(--red); color: white; }
.button-danger:hover:not(:disabled) { background: #a12e21; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 7px; color: var(--green); background: var(--white); font-size: 1.15rem; line-height: 1; }
.icon-button:hover:not(:disabled) { border-color: var(--green); background: #edf1e7; }
.icon-button.danger { color: var(--red); }
.eyebrow { color: var(--green); font-size: .64rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; margin-bottom: 8px; }
.fine-print { font-size: .75rem; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.studio-header { min-height: 88px; padding: 12px 30px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); background: var(--white); }
.brand { display: flex; gap: 20px; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 116px; height: 57px; object-fit: contain; }
.brand-divider { height: 32px; width: 1px; background: var(--line); }
.studio-wordmark { font-size: .7rem; line-height: 1.55; font-weight: 600; }
.studio-wordmark strong { display: block; font-size: 1rem; letter-spacing: -.02em; }
.header-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.public-link { font-size: .76rem; font-weight: 700; text-decoration: none; }
.account { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.avatar { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: #e4ebd7; color: var(--green); font-size: .73rem; font-weight: 800; }
.account-copy { max-width: 145px; }
.account-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; }
.account-copy span { display: block; font-size: .65rem; color: var(--muted); text-transform: capitalize; }
.studio-footer { display: flex; justify-content: space-between; padding: 18px 30px; color: var(--muted); font-size: .67rem; border-top: 1px solid var(--line); }
.auth-screen { max-width: 1090px; min-height: calc(100vh - 150px); margin: auto; padding: 75px 50px; display: grid; grid-template-columns: .92fr 1fr; align-items: center; gap: 95px; }
.auth-paper { position: relative; min-height: 405px; padding: 40px 34px; transform: rotate(-3deg); background: #e7ebd2; border: 1px solid #d2d9bc; box-shadow: 11px 15px 0 #eddfbd; }
.paper-tape { position: absolute; width: 105px; height: 28px; background: #eaca8f; opacity: .75; left: 50%; top: -14px; transform: translateX(-50%) rotate(5deg); }
.paper-kicker { display: block; font-size: .55rem; letter-spacing: .14em; font-weight: 800; margin-bottom: 27px; }
.paper-heading { display: block; font-family: Georgia, serif; font-size: 3.65rem; font-weight: 700; letter-spacing: -.065em; line-height: 1.05; color: var(--green-deep); }
.paper-heading em { color: var(--red); font-weight: 500; }
.paper-line { width: 60px; height: 2px; background: var(--green); margin: 28px 0 20px; }
.paper-stamp { display: block; font-size: .57rem; font-weight: 800; letter-spacing: .09em; line-height: 1.6; }
.auth-copy h1 { margin: 0 0 20px; font-size: clamp(2.3rem, 3.6vw, 3.6rem); color: var(--green-deep); }
.auth-description { max-width: 440px; font-size: .96rem; line-height: 1.75; color: var(--muted); margin-bottom: 24px; }
.auth-copy .fine-print { margin: 14px 0 0; max-width: 355px; }
.auth-process { display: flex; gap: 25px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .74rem; font-weight: 600; }
.auth-process b { color: var(--red); font-size: .61rem; margin-right: 5px; }
.auth-checking { display: flex; align-items: center; gap: 10px; font-size: .84rem; }
.spinner { display: inline-block; flex-shrink: 0; width: 18px; height: 18px; border: 2px solid #c9d8c1; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
.auth-form { display: flex; flex-direction: column; gap: 17px; max-width: 430px; }
.auth-form .field { font-size: .8rem; }
.auth-form .field input { min-height: 48px; background: var(--white); }
.auth-submit { width: 100%; min-height: 48px; margin-top: 2px; font-size: .9rem; }
.password-control { display: flex; align-items: stretch; position: relative; width: 100%; }
.field .password-control input { padding-right: 76px; }
.password-toggle { position: absolute; right: 5px; top: 5px; bottom: 5px; min-width: 58px; min-height: 34px; padding: 5px 9px; border: 0; border-radius: 5px; background: #edf2e5; color: var(--green); font-size: .74rem; font-weight: 700; }
.password-toggle:hover:not(:disabled) { background: #dfead5; }
.owner-access { max-width: 430px; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 12px; }
.owner-access summary { font-size: .75rem; color: var(--muted); }
.owner-access .button { margin-top: 12px; white-space: normal; }
#forgot-password-button { padding-left: 0; margin-top: 8px; }
.password-setup { max-width: 430px; padding-top: 7px; }
.password-setup h2 { font-size: 1.6rem; color: var(--green-deep); margin-bottom: 9px; }
.password-setup .auth-form { margin-top: 20px; }
.password-setup .fine-print { margin-bottom: 12px; }
.field input[readonly] { background: #f0f1e5; color: #56664f; }
.private-account-dialog .dialog-actions { flex-wrap: wrap; }
#password-link-value { font-size: .76rem; }
.staff-password-actions { display: flex; flex-basis: 100%; justify-content: flex-end; gap: 8px; }
.staff-row { flex-wrap: wrap; }
@keyframes spin { to { transform: rotate(360deg); } }
.access-screen { max-width: 700px; min-height: calc(100vh - 145px); padding: 90px 28px; margin: auto; text-align: center; }
.access-screen h1 { font-size: 2.8rem; margin-bottom: 24px; color: var(--green-deep); }
.access-screen > p:not(.eyebrow) { line-height: 1.7; color: var(--muted); }
.access-screen .button { margin: 12px 4px; }
.workspace { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: calc(100vh - 145px); }
.sidebar { background: #f2f1e6; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 28px 18px 24px; }
.sidebar-top .eyebrow { font-size: .55rem; }
.sidebar-top h2 { font-size: 1.45rem; margin-bottom: 20px; }
.sidebar-top .button { width: 100%; }
.campaign-list { margin: 24px -6px; display: flex; flex-direction: column; gap: 7px; }
.campaign-item { display: block; text-align: left; width: 100%; padding: 14px 12px; background: transparent; border: 1px solid transparent; border-radius: 8px; }
.campaign-item:hover { background: #e9eddf; }
.campaign-item[aria-current="true"] { background: var(--white); border-color: #cbd8c3; box-shadow: 0 3px 7px #264f2510; }
.campaign-item strong { display: block; font-size: .8rem; line-height: 1.5; margin-bottom: 6px; overflow-wrap: anywhere; }
.campaign-item small { display: block; font-size: .65rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.campaign-item .status-pill { font-size: .58rem; padding: 2px 6px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-link { width: 100%; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 18px 2px; text-align: left; font-weight: 700; font-size: .78rem; color: var(--green); }
.sidebar-note { padding: 20px 3px 0; font-size: .73rem; line-height: 1.7; color: var(--muted); }
.sidebar-note strong { color: var(--green-deep); }
.sidebar-note p { margin: 8px 0 0; }
.small-rule { display: block; width: 24px; height: 2px; background: var(--red); margin-bottom: 15px; }
.workbench { padding: 30px 34px 40px; min-width: 0; max-width: 1250px; width: 100%; margin-inline: auto; }
.workspace-loading { display: flex; align-items: center; gap: 10px; min-height: 100px; justify-content: center; font-size: .88rem; }
.campaign-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 25px; }
.campaign-heading h1 { font-size: clamp(1.65rem, 2.3vw, 2.5rem); margin: 0 0 12px; overflow-wrap: anywhere; }
.campaign-meta { display: flex; flex-wrap: wrap; gap: 9px 14px; align-items: center; font-size: .73rem; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 5px; font-size: .65rem; font-weight: 700; background: #e9e7da; color: #635e46; text-transform: capitalize; }
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.published { color: var(--green); background: #e4edda; }
.status-pill.review { color: #876214; background: #f8edc8; }
.status-pill.archived { color: #64706a; background: #e9ebe5; }
.save-state.dirty { color: var(--red); }
.heading-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 12px; }
.publish-status { flex-basis: 100%; max-width: 460px; margin: 4px 0 0; font-size: .72rem; line-height: 1.65; color: var(--muted); }
.stepper { display: flex; list-style: none; padding: 17px 23px; margin: 0 0 20px; border: 1px solid #d6ddcb; border-radius: 9px; background: #eef1e5; }
.stepper li { display: flex; gap: 10px; align-items: center; flex: 1; }
.stepper li > span { display: grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; background: var(--white); border: 1px solid #c5ceb9; border-radius: 50%; font-size: .71rem; font-weight: 700; color: var(--green); }
.stepper li strong { display: block; font-size: .75rem; }
.stepper li small { display: block; margin-top: 3px; font-size: .65rem; color: var(--muted); }
.quick-help { color: var(--muted); font-size: .8rem; line-height: 1.7; margin: 0 0 24px; padding: 0 4px; }
summary { color: var(--green); cursor: pointer; font-weight: 700; padding: 6px 0; }
.quick-help ol { padding-left: 22px; }
.quick-help p { margin-bottom: 0; }
.editor-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.campaign-settings { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 20px 22px 22px; margin-bottom: 24px; }
.section-label { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.section-label h2 { font-size: .95rem; margin: 0; }
.section-number { color: var(--red); font-size: .65rem; font-weight: 800; }
.settings-fields { display: grid; grid-template-columns: minmax(160px, 1.7fr) minmax(130px, .7fr) minmax(130px, .7fr); gap: 18px; }
.publication-languages { min-width: 0; border: 0; border-top: 1px solid var(--line); margin: 22px 0 0; padding: 16px 0 0; }
.publication-languages legend { padding: 0 10px 0 0; font-size: .8rem; font-weight: 700; color: var(--green-deep); }
.language-choices { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.language-choices label { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; min-height: 44px; cursor: pointer; }
.language-choices .button { margin-inline-start: auto; }
.publication-languages .fine-print { margin: 10px 0 0; }
#publication-summary { color: var(--green-deep); font-weight: 700; }
.department-settings { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 12px; }
.department-settings summary { font-size: .82rem; }
.department-list { display: flex; flex-direction: column; gap: 14px; }
.department-row { background: #f5f7ed; padding: 14px; border: 1px solid #dbe3ce; border-radius: 8px; }
.department-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.department-row-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.department-row-actions small { font-size: .66rem; line-height: 1.6; color: var(--muted); }
.department-add { display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.department-add .field { flex: 1; }
.translation-status { font-size: .74rem; color: var(--green-deep); background: #edf2e5; border-inline-start: 3px solid var(--green); padding: 12px 14px; margin: 14px 0 0; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .department-labels { grid-template-columns: 1fr; }
  .department-add { flex-direction: column; align-items: stretch; }
  .language-choices .button { margin-inline-start: 0; }
  .department-row-actions { align-items: flex-start; }
}
.field { display: flex; flex-direction: column; gap: 7px; font-size: .75rem; font-weight: 700; color: #4c5b4d; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; border: 1px solid #d4dacd; background: #fffefb; color: var(--ink); border-radius: 7px; padding: 10px 11px; font-size: .88rem; font-weight: 500; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: #8b9388; font-weight: 400; }
.field input:hover:not(:disabled), .field select:hover:not(:disabled), .field textarea:hover:not(:disabled) { border-color: #99ad8d; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); }
.field textarea { min-height: 60px; resize: vertical; }
.field small, .optional { font-size: .66rem; color: var(--muted); font-weight: 400; line-height: 1.55; }
.optional { display: inline; }
.photo-intake { display: grid; grid-template-columns: 1fr 1.1fr; gap: 25px; align-items: center; background: #eaf0df; border: 1px solid #cdd9be; border-radius: 13px; padding: 26px; margin-bottom: 30px; }
.photo-intake h2 { font-family: Georgia, serif; color: var(--green-deep); font-size: 2.15rem; letter-spacing: -.04em; line-height: 1.12; max-width: 270px; margin-bottom: 12px; }
.photo-intake p:not(.eyebrow) { max-width: 270px; font-size: .8rem; line-height: 1.65; color: #56684f; margin: 0; }
.intake-control > .field { margin-bottom: 12px; }
.dropzone { border: 2px dashed #a9bd99; border-radius: 9px; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 174px; gap: 6px; padding: 20px; text-align: center; cursor: pointer; }
.dropzone strong { font-size: .91rem; }
.dropzone > span:not(.upload-symbol) { font-size: .78rem; color: var(--green); }
.dropzone small { color: var(--muted); font-size: .67rem; line-height: 1.55; margin-top: 5px; }
.upload-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e4edd9; color: var(--green); font-size: 1.5rem; margin-bottom: 5px; }
.drag-over { background: #e5f0dc !important; border-color: var(--green) !important; }
[aria-disabled="true"].dropzone, [aria-disabled="true"].card-dropzone { opacity: .55; cursor: not-allowed; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel-title h2 { font-size: 1.25rem; margin: 0; }
.count-pill { display: inline-block; padding: 3px 7px; vertical-align: middle; color: var(--green); background: #e6ecd9; font-size: .68rem; border-radius: 5px; margin-left: 5px; }
.language-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 0; border-block: 1px solid var(--line); }
.language-toolbar > div { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.language-toolbar small { font-size: .66rem; color: var(--muted); }
.translation-help { font-size: .72rem; color: var(--muted); line-height: 1.7; margin: 12px 0 20px; max-width: 720px; }
.deals-list { display: flex; flex-direction: column; gap: 20px; }
.deal-card { padding: 21px; background: var(--white); border: 1px solid #dce0d0; border-radius: 12px; box-shadow: 0 3px 10px #263b2410; }
.deal-card-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid #e9eade; }
.deal-card-header h3 { font-size: 1rem; margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.deal-index { font-size: .65rem; color: var(--red); font-weight: 800; margin-right: 5px; }
.deal-actions { display: flex; gap: 5px; flex-shrink: 0; }
.deal-card-body { display: grid; grid-template-columns: minmax(165px, .7fr) minmax(0, 1.8fr); gap: 25px; align-items: start; }
.card-photo-column { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.product-photo { width: 100%; aspect-ratio: 1; position: relative; display: grid; place-items: center; overflow: hidden; background: #f5f2e8; border: 1px solid #e7e4d8; border-radius: 8px; }
.product-photo img, .preview-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-photo.crop img, .preview-photo.crop img { position: absolute; max-width: none; object-fit: fill; }
.photo-placeholder { padding: 20px; color: #717a68; font-size: .77rem; text-align: center; line-height: 1.5; }
.card-dropzone { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px; border: 1px dashed #b6c4a9; border-radius: 7px; cursor: pointer; text-align: center; background: #fbfcf4; }
.card-dropzone strong { color: var(--green); font-size: .76rem; }
.card-dropzone small, .photo-optional { font-size: .65rem; color: var(--muted); line-height: 1.5; text-align: center; }
.card-fields { min-width: 0; }
.deal-primary-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.price-field input { color: var(--red); font-size: 1.15rem; font-weight: 800; }
.preset-field { grid-column: 1 / -1; }
.locale-fields { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 15px; }
.locale-fields .name-field, .locale-fields .note-field { grid-column: 1 / -1; }
.locale-fields .custom-unit-field { grid-column: 1 / -1; }
.translation-panels { margin-top: 18px; border-top: 1px solid #dce4d2; padding-top: 14px; }
.translation-panel-label { color: var(--green); font-size: .72rem; font-weight: 700; margin-bottom: 5px; }
.translation-panels .locale-fields { padding: 14px; background: #f2f5ea; border-radius: 7px; }
[lang="fa"], [lang="ar"] { font-family: Tahoma, Arial, sans-serif; }
.translation-reset { color: #775515; background: #fff4d8; border-radius: 6px; padding: 10px 12px; margin: 15px 0 10px; font-size: .71rem; line-height: 1.6; }
.translation-count { display: block; margin-top: 12px; color: var(--muted); font-size: .68rem; }
.deals-empty { min-height: 180px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 1px dashed #bdcbb1; border-radius: 10px; padding: 25px; background: #f7f6eb; }
.deals-empty strong { font-size: 1rem; margin-bottom: 9px; }
.deals-empty p { max-width: 370px; font-size: .8rem; line-height: 1.65; color: var(--muted); margin: 0; }
.advanced-import { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-top: 30px; font-size: .78rem; background: #f5f2e7; }
.advanced-body { padding-top: 18px; }
.source-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.source-panel .panel-title, .source-panel > .field { grid-column: 1 / -1; }
.source-panel .panel-title h2 { font-size: 1rem; }
.source-preview { display: block; padding: 0; width: 100%; min-height: 180px; grid-row: span 2; background: var(--white); border: 1px solid #d3d4c3; border-radius: 7px; overflow: hidden; }
.source-preview img { display: block; width: 100%; max-height: 370px; object-fit: contain; }
.no-flyer { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 25px; }
.no-flyer strong { font-size: .85rem; }
.no-flyer small { color: var(--muted); font-size: .7rem; line-height: 1.6; }
.upload-controls .field { margin-bottom: 12px; }
.upload-button { width: 100%; position: relative; cursor: pointer; white-space: normal; }
.upload-button input { position: absolute; width: 100%; height: 100%; inset: 0; opacity: 0; cursor: pointer; }
.upload-button:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.upload-button:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.extraction-section { border-top: 1px solid #dddcca; padding-top: 16px; font-size: .78rem; }
.extraction-section p, .extraction-section small { color: var(--muted); line-height: 1.65; font-size: .72rem; }
.extraction-section small { display: block; margin-top: 10px; }
.review-check { border: 1px solid #c8d6bd; border-radius: 10px; padding: 21px; margin-top: 30px; background: #edf2e5; }
.review-check { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: start; scroll-margin-block: 30px; }
.review-check .publish-status, .review-check .notice { grid-column: 1 / -1; max-width: none; margin: 0; }
.review-check:focus-within { border-color: var(--green); }
.review-check label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
input[type="checkbox"] { accent-color: var(--green); width: 20px; height: 20px; flex-shrink: 0; margin: 1px 0 0; }
.review-check strong { display: block; font-size: .88rem; margin-bottom: 6px; }
.review-check small { display: block; font-size: .74rem; line-height: 1.7; color: #56664f; }
.workspace-footer { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 19px; display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: .73rem; line-height: 1.6; color: var(--muted); }
.notice { padding: 15px 18px; background: #eaf0e3; border: 1px solid #cbd9bf; border-radius: 8px; color: var(--green-deep); font-size: .8rem; line-height: 1.6; margin: 0 0 20px; overflow-wrap: anywhere; }
.notice-error { color: #8c2c22; border-color: #e8beb0; background: #fff0e9; }
.notice-warning { color: #745917; border-color: #e0ce9d; background: #fff4d8; }
.notice-success { color: var(--green); border-color: #c2d7b6; background: #eaf1e2; }
.notice p { margin: 5px 0 0; }
.notice .button { margin-top: 10px; }
.notice ul { padding-left: 20px; margin: 8px 0 0; }
.stale-notice, .readonly-notice { display: flex; gap: 15px; align-items: center; justify-content: space-between; }
.stale-notice button { flex-shrink: 0; }
.readonly-actions { display: flex; gap: 9px; flex-wrap: wrap; flex-shrink: 0; }
.operation-progress { display: flex; gap: 14px; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 9; width: min(620px, calc(100% - 32px)); padding: 19px 21px; background: var(--green-deep); color: white; border-radius: 11px; box-shadow: 0 8px 35px #12322540; }
.operation-progress > div { min-width: 0; flex: 1; }
.operation-progress strong { font-size: .88rem; }
.operation-progress p { margin: 6px 0 12px; font-size: .75rem; line-height: 1.6; color: #d7e6ce; overflow-wrap: anywhere; }
.operation-progress progress { width: 100%; height: 7px; accent-color: #f2b544; }
.empty-state { text-align: center; padding: 75px 25px; max-width: 650px; margin: auto; }
.empty-state h1 { font-size: 2.4rem; margin-bottom: 15px; }
.empty-state > p:not(.eyebrow) { color: var(--muted); font-size: .89rem; line-height: 1.7; margin-bottom: 25px; }
.empty-art { width: 142px; height: 155px; margin: 0 auto 35px; border: 1px solid #ced8ba; background: #e7ecd7; transform: rotate(-5deg); box-shadow: 7px 8px 0 #e8dbb9; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; letter-spacing: .07em; color: var(--green); }
.empty-art em { font-family: Georgia, serif; color: var(--red); font-weight: 400; font-size: 2rem; letter-spacing: -.04em; }
.dialog { width: min(535px, calc(100% - 32px)); max-height: calc(100dvh - 40px); background: var(--white); color: var(--ink); border: 1px solid #d4ddc5; border-radius: 13px; padding: 0; box-shadow: 0 30px 100px #0e28134d; overflow: auto; }
.dialog::backdrop { background: #102c24a6; backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 25px 20px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 1.6rem; }
.dialog-head .eyebrow { font-size: .6rem; }
.dialog-body { padding: 23px 25px; }
.dialog-body > .field { margin-bottom: 18px; }
.dialog-body .fine-print { margin-top: 17px; }
.dialog-body .notice { margin-top: 15px; }
.dialog-body > h2 { font-size: 1.65rem; margin-bottom: 15px; }
.dialog-body > p:not(.eyebrow) { font-size: .83rem; line-height: 1.7; color: var(--muted); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flyer-dialog { width: min(1000px, calc(100% - 32px)); }
.flyer-dialog .dialog-head { position: sticky; top: 0; background: var(--white); z-index: 2; }
.flyer-dialog-image { padding: 20px; background: #eeebdf; text-align: center; }
.flyer-dialog-image img { display: block; height: auto; width: auto; max-width: 100%; margin: auto; }
.flyer-dialog-footer { padding: 16px 25px; }
.help-dialog { width: min(680px, calc(100% - 32px)); }
.help-dialog details { padding: 12px 0; border-top: 1px solid var(--line); font-size: .83rem; line-height: 1.65; }
.help-dialog details p { color: var(--muted); margin: 10px 0 0; }
.help-steps { padding-left: 22px; font-size: .86rem; line-height: 1.7; }
.help-steps li { margin-bottom: 15px; padding-left: 4px; }
.help-dialog .dialog-body > a { margin-top: 20px; }
.staff-dialog { width: min(650px, calc(100% - 32px)); }
.staff-form-actions { display: flex; gap: 15px; align-items: end; margin-top: 15px; }
.staff-form-actions > .field { flex: 1; }
.staff-list { margin-top: 24px; border-top: 1px solid var(--line); }
.staff-row { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.staff-row-copy { flex: 1; min-width: 0; }
.staff-row-copy strong, .staff-row-copy small { display: block; overflow-wrap: anywhere; }
.staff-row-copy strong { font-size: .8rem; }
.staff-row-copy small { font-size: .68rem; color: var(--muted); margin-top: 5px; }
.staff-row .button { font-size: .68rem; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; padding: 20px; background: #fff0e9; text-align: center; }
.has-error { border-color: var(--red); box-shadow: 0 0 0 2px #bd382920; }
[aria-invalid="true"] { border-color: var(--red) !important; }
.preview-dialog { width: min(1120px, calc(100% - 32px)); background: var(--cream); }
.preview-dialog > .dialog-head { position: sticky; top: 0; z-index: 3; background: var(--white); }
.preview-toolbar { padding: 16px 25px; display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.preview-toolbar p { max-width: 540px; font-size: .76rem; color: var(--muted); line-height: 1.65; margin: 0; }
.segmented { display: inline-flex; border: 1px solid #d5dccd; padding: 3px; border-radius: 7px; background: #eeeee2; flex-shrink: 0; }
.segmented button { min-height: 37px; background: transparent; border: 0; padding: 8px 13px; border-radius: 5px; font-size: .76rem; font-weight: 600; }
.segmented button[aria-pressed="true"] { background: var(--white); color: var(--green); box-shadow: 0 1px 4px #223c2520; }
.preview-content { padding: 25px; }
.preview-market-head { position: relative; background: #e7ecd7; padding: 30px 25px; margin-bottom: 25px; border: 1px solid #cfdbbc; border-radius: 8px; }
.preview-market-head img { width: 110px; height: 58px; object-fit: contain; float: inline-end; }
.preview-market-head h2 { font-family: Georgia, Tahoma, serif; font-size: 2.2rem; color: var(--green-deep); max-width: 80%; margin-bottom: 10px; overflow-wrap: anywhere; }
.preview-market-head > p:not(.eyebrow) { font-size: .77rem; margin-bottom: 14px; }
.preview-private { display: inline-block; font-size: .6rem; letter-spacing: .1em; font-weight: 800; color: #775515; background: #fff4d8; padding: 6px 9px; border: 1px solid #dfca8c; }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.preview-card { position: relative; background: var(--white); border: 1px solid #d9ddca; border-radius: 9px; box-shadow: 3px 4px 0 #e6e0ca; overflow: hidden; }
.preview-photo { position: relative; width: 100%; aspect-ratio: 1.2; max-height: 300px; background: #f5f2e8; overflow: hidden; display: grid; place-items: center; }
.preview-card-copy { padding: 19px; }
.preview-department { text-transform: uppercase; letter-spacing: .09em; font-size: .59rem; color: var(--green); font-weight: 800; }
.preview-card h3 { font-size: 1.05rem; line-height: 1.4; margin: 8px 0; overflow-wrap: anywhere; }
.preview-card-copy > p { color: var(--muted); font-size: .72rem; line-height: 1.6; min-height: 1em; margin-bottom: 14px; overflow-wrap: anywhere; }
.preview-price { color: var(--red); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.preview-price bdi { font-size: 2rem; font-weight: 800; letter-spacing: -.035em; }
.preview-price small { color: var(--ink); font-weight: 600; font-size: .78rem; }
.preview-empty { grid-column: 1 / -1; font-size: .9rem; padding: 30px; text-align: center; color: var(--muted); }
/* Printable help page uses these same brand tokens, without a workspace session. */
.guide-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 1000px; margin: auto; padding: 25px 35px; }
.guide-header img { width: 130px; }
.guide-header .guide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.guide-page { max-width: 930px; margin: 15px auto 60px; padding: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.guide-page h1 { font-family: Georgia, serif; font-size: 3rem; color: var(--green-deep); max-width: 650px; margin-bottom: 15px; }
.guide-intro { max-width: 660px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.guide-page h2 { font-size: 1.4rem; margin: 30px 0 12px; }
.guide-page p, .guide-page li { font-size: .88rem; line-height: 1.8; }
.guide-page ol, .guide-page ul { padding-left: 23px; }
.guide-page li { margin-bottom: 14px; }
.guide-page .guide-callout { padding: 18px 22px; background: #edf2e5; border-inline-start: 4px solid var(--green); margin: 25px 0; }
.guide-page table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.guide-page th, .guide-page td { text-align: start; padding: 12px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.guide-page th { background: #edf2e5; }
.guide-page section { border-top: 1px solid var(--line); margin-top: 30px; }
@media (max-width: 1180px) {
  .studio-header { padding-inline: 22px; }
  .workspace { grid-template-columns: 205px minmax(0, 1fr); }
  .workbench { padding: 25px 22px; }
  .campaign-heading { flex-direction: column; gap: 13px; }
  .heading-actions { padding-top: 0; justify-content: flex-start; }
  .auth-screen { gap: 60px; }
  .readonly-notice { align-items: flex-start; flex-direction: column; }
  .deal-card-body { gap: 20px; grid-template-columns: minmax(160px, .8fr) minmax(0, 1.8fr); }
}
@media (max-width: 950px) {
  .workspace { grid-template-columns: 180px minmax(0, 1fr); }
  .sidebar { padding-inline: 13px; }
  .header-actions { gap: 12px; }
  .account { padding-left: 12px; }
  .account-copy { max-width: 100px; }
  .auth-screen { padding-inline: 35px; gap: 45px; }
  .paper-heading { font-size: 3.1rem; }
  .auth-paper { min-height: 365px; padding-inline: 28px; }
  .settings-fields { grid-template-columns: 1fr 1fr; }
  .field-title { grid-column: 1 / -1; }
  .deal-card-body { grid-template-columns: minmax(145px, .8fr) minmax(0, 1.4fr); gap: 16px; }
  .deal-primary-fields { grid-template-columns: 1fr; }
  .photo-intake { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .photo-intake h2, .photo-intake p:not(.eyebrow) { max-width: none; }
  .photo-intake h2 { font-size: 1.8rem; }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .studio-header { padding: 12px 16px; min-height: 78px; flex-wrap: wrap; gap: 13px; }
  .brand { gap: 12px; }
  .brand img { width: 94px; height: 46px; }
  .studio-wordmark { font-size: .62rem; }
  .studio-wordmark strong { font-size: .87rem; }
  .header-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .header-actions .button { font-size: .68rem; padding-inline: 10px; }
  .public-link { font-size: .7rem; }
  .account { border: 0; padding: 0; gap: 7px; }
  .account-copy { max-width: 115px; }
  .avatar { display: none; }
  .auth-screen { display: flex; flex-direction: column; align-items: stretch; padding: 50px 25px 65px; gap: 55px; }
  .auth-copy { max-width: 470px; margin: auto; width: 100%; order: -1; }
  .auth-copy h1 { font-size: 2.65rem; }
  .auth-paper { max-width: 340px; min-height: 350px; width: 90%; margin: auto; }
  .auth-process { justify-content: space-between; gap: 10px; }
  .workspace { display: block; }
  .sidebar { padding: 20px 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .sidebar-top .eyebrow { display: none; }
  .sidebar-top h2 { margin: 0; font-size: 1.25rem; }
  .sidebar-top .button { width: auto; font-size: .74rem; min-height: 39px; }
  .campaign-list { flex-direction: row; overflow-x: auto; gap: 8px; margin: 15px -3px 12px; padding: 3px 3px 6px; }
  .campaign-item { flex: 0 0 180px; padding: 10px; }
  .campaign-item strong { font-size: .72rem; }
  .sidebar-note { display: none; }
  .sidebar-link { border-top: 0; width: auto; font-size: .72rem; padding: 5px 0 14px; }
  .workbench { padding: 26px 16px; }
  .campaign-heading h1 { font-size: 1.9rem; }
  .campaign-meta { font-size: .7rem; gap: 8px; }
  .heading-actions { width: 100%; }
  .heading-actions .button { font-size: .74rem; flex-grow: 1; }
  .stepper { padding: 15px 12px; gap: 6px; }
  .stepper li { gap: 6px; align-items: flex-start; }
  .stepper li > span { width: 24px; height: 24px; font-size: .65rem; }
  .stepper li strong { font-size: .67rem; padding-top: 4px; }
  .stepper li small { display: none; }
  .campaign-settings { padding: 17px; margin-bottom: 20px; }
  .language-toolbar { align-items: flex-start; }
  .language-toolbar > div { align-items: flex-start; }
  .panel-title { flex-wrap: wrap; }
  .panel-title h2 { font-size: 1.15rem; }
  .deal-card { padding: 16px; }
  .deal-card-header { align-items: flex-start; flex-wrap: wrap; }
  .deal-card-body { grid-template-columns: 1fr; gap: 20px; }
  .card-photo-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(125px, .8fr); gap: 12px; align-items: center; }
  .product-photo { grid-row: span 2; }
  .card-photo-column > .button { align-self: start; }
  .deal-primary-fields { grid-template-columns: 1fr 1fr; }
  .source-panel { display: block; }
  .source-panel > * { margin-bottom: 18px; }
  .review-check { padding: 17px; }
  .review-check { grid-template-columns: minmax(0, 1fr); }
  .review-check .button { width: 100%; }
  .stale-notice { align-items: flex-start; flex-direction: column; }
  .workspace-footer { font-size: .68rem; align-items: flex-start; }
  .workspace-footer .button { font-size: .74rem; }
  .studio-footer { padding: 17px 16px; font-size: .61rem; gap: 15px; }
  .access-screen { padding-top: 60px; }
  .access-screen h1 { font-size: 2.2rem; }
  .dialog-head { padding: 20px; }
  .dialog-body { padding: 20px; }
  .dialog-head h2 { font-size: 1.4rem; }
  .dialog-actions { flex-wrap: wrap; }
  .staff-row { flex-wrap: wrap; gap: 7px; }
  .staff-row-copy { flex-basis: 65%; }
  .staff-row .button { margin-left: auto; }
  .staff-form-actions { flex-direction: column; align-items: stretch; }
  .preview-toolbar { flex-direction: column; align-items: flex-start; padding: 15px 20px; }
  .preview-content { padding: 18px; }
  .preview-grid { gap: 15px; }
  .preview-card-copy { padding: 15px; }
  .preview-market-head { padding: 20px; }
  .preview-market-head h2 { font-size: 1.7rem; }
  .preview-market-head img { width: 85px; height: 45px; }
  .guide-header { padding: 20px; flex-wrap: wrap; }
  .guide-page { margin: 0 16px 35px; padding: 23px; }
  .guide-page h1 { font-size: 2.3rem; }
  .guide-page table { font-size: .7rem; }
  .guide-page td, .guide-page th { padding: 8px; }
}
@media (max-width: 450px) {
  .preview-grid { grid-template-columns: 1fr; }
  .preview-card { display: grid; grid-template-columns: .85fr 1fr; }
  .preview-photo { aspect-ratio: 1; align-self: center; }
  .preview-price bdi { font-size: 1.7rem; }
  .preview-market-head img { float: none; display: block; margin-bottom: 15px; }
  .preview-market-head h2 { max-width: 100%; }
  .deal-primary-fields { grid-template-columns: 1fr; }
  .brand-divider { display: none; }
  .account-copy { max-width: 94px; }
  .account-copy span { font-size: .6rem; }
  .readonly-actions { flex-shrink: 1; }
  .two-columns { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  :root, body { background: white; color: #172d20; }
  .private-account-dialog, .password-setup, .auth-form { display: none !important; }
  .guide-header { padding: 0 0 15px; max-width: none; }
  .guide-actions, .guide-page .button { display: none !important; }
  .guide-page { border: 0; border-radius: 0; padding: 0; margin: 0; max-width: none; }
  .guide-page h1 { font-size: 26pt; }
  .guide-page h2 { font-size: 15pt; break-after: avoid; }
  .guide-page p, .guide-page li, .guide-page td, .guide-page th { font-size: 10pt; line-height: 1.5; }
  .guide-page li, .guide-callout, table, .guide-page section > h2 { break-inside: avoid; }
  .guide-page a { color: inherit; text-decoration: underline; }
  .guide-page section { margin-top: 18px; }
  @page { margin: 16mm; }
}

/* English ad exports are a read-only, download-only layer over saved product cards. */
.export-status { flex-basis: 100%; max-width: 460px; margin: 3px 0 0; padding-inline-start: 10px; border-inline-start: 2px solid #c4d3b6; font-size: .72rem; line-height: 1.65; color: var(--green-deep); }
.export-dialog { width: min(1220px, calc(100% - 32px)); background: var(--cream); }
.export-dialog > .dialog-head { position: sticky; top: 0; z-index: 3; background: var(--white); }
.export-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .85fr); align-items: start; }
.export-artwork { min-width: 0; padding: 22px; background: #eeebdf; }
.export-preview-toolbar { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.export-preview-toolbar > .field { flex: 1; min-width: 160px; }
.export-pagination { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.export-pagination .field { max-width: 240px; }
.export-pagination .icon-button { min-height: 44px; }
.export-artwork > .fine-print { min-height: 2.5em; margin: 15px 0; color: #52634c; }
.export-preview-paper { width: 100%; padding: 0; background: white; box-shadow: 0 5px 18px #1d342324; overflow: hidden; }
.export-preview-frame { position: relative; width: 100%; overflow: hidden; }
.export-preview-frame iframe { display: block; position: absolute; top: 0; left: 0; border: 0; max-width: none; transform-origin: top left; background: white; }
.export-preview-frame iframe:focus-visible { outline: 4px solid var(--yellow); outline-offset: -4px; }
.export-options { padding: 24px; min-width: 0; }
.export-options > p { font-size: .8rem; line-height: 1.7; color: var(--muted); }
.export-options h3 { margin: 21px 0 10px; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.export-options .export-dates { color: var(--green-deep); font-weight: 700; margin-bottom: 8px; }
.export-options .fine-print { font-size: .73rem; }
.export-review { border: 1px solid #c8d6bd; background: #edf2e5; border-radius: 8px; padding: 16px; margin: 22px 0 16px; }
.export-review label { display: flex; align-items: flex-start; gap: 11px; font-size: .83rem; font-weight: 700; line-height: 1.6; cursor: pointer; }
.export-review .fine-print { margin: 12px 0 0; }
.export-downloads { display: flex; flex-direction: column; gap: 10px; }
.export-downloads .button { white-space: normal; min-height: 48px; text-align: center; }
.export-options .notice { margin: 15px 0 0; }
#export-single { min-height: 54px; font-size: .9rem; }
.export-optional-carousel { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.export-optional-carousel summary { font-size: .77rem; }
.export-optional-carousel .button { width: 100%; white-space: normal; text-align: center; }
.export-optional-carousel .fine-print { margin: 10px 0; }
.export-preview-unavailable { margin: 0; padding: 26px; border-radius: 0; min-height: 240px; display: flex; align-items: center; }
.export-progress { display: flex; gap: 12px; margin-top: 18px; padding: 15px; border: 1px solid #c6d5bb; border-radius: 8px; background: #e9efdf; }
.export-progress > div { flex: 1; min-width: 0; }
.export-progress p { margin: 0 0 9px; font-size: .77rem; line-height: 1.65; overflow-wrap: anywhere; }
.export-progress progress { width: 100%; accent-color: var(--green); }
@media (max-width: 950px) {
  .export-layout { grid-template-columns: 1fr; }
  .export-artwork { padding: 20px; }
  .export-preview-paper { max-width: 650px; margin-inline: auto; }
  .export-options { padding: 22px; border-top: 1px solid var(--line); }
}
@media (max-width: 450px) {
  .export-dialog { width: calc(100% - 20px); }
  .export-artwork, .export-options { padding: 15px; }
  .export-preview-toolbar { align-items: stretch; }
  .export-pagination { width: 100%; }
  .export-pagination .field { flex: 1; max-width: none; }
}
@media print { .export-dialog { display: none !important; } }
