:root {
    color-scheme: light;
    --ink: #26202c;
    --muted: #61586a;
    --line: #ddd7e3;
    --edge: #cbc0d5;
    --paper: #f8f6f4;
    --panel: #fff;
    --accent: #554077;
    --button: #322344;
    --tint: #f4eff8;
    --action-gap: 12px;
    --compact-action-gap: 8px;
    --action-content-space: 16px;
    --brand-sans: 'DM Sans', system-ui, sans-serif;
    --brand-serif: 'Instrument Serif', Georgia, serif;
    font: 16px/1.55 var(--brand-sans);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    display:flex; flex-direction:column; min-height:100vh; min-height:100dvh;
    margin:0; background:var(--paper); color:var(--ink);
}
body, h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -.055em; overflow-wrap: anywhere; }
h2 { font-size: 1.2rem; line-height: 1.25; }
h3 { font-size: 1.03rem; }
a { color: var(--accent); text-underline-offset: 3px; }
button, .button, input, textarea, select { font: inherit; }
/* Keep iOS from zooming in on fields with smaller labels. */
input, textarea, select { font-size: max(16px, 1em); }
button, .button {
    display: inline-flex; min-height: 44px; align-items: center; justify-content: center; text-align: center;
    padding: 6px 12px; border: 1px solid var(--button); border-radius: 7px; background: var(--button);
    color: white; text-decoration: none; cursor: pointer; font-weight: 650; font-size: .92rem; line-height: 1.2;
}
button:disabled { opacity: .7; cursor: wait; }
button:hover, .button:hover { filter: brightness(1.12); }
.secondary { background: var(--tint); color: var(--button); border-color: var(--edge); }
.plain { background: transparent; color: var(--accent); border-color: transparent; }
.remove-entry { color: #8b3222; padding-inline: 0; }
:focus-visible { outline: 2px solid #68528b; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior:smooth; }
}
html:has(.bar) { scroll-padding-top:78px; }
.bar {
    position:sticky; top:0; z-index:10; display:flex; justify-content:space-between; align-items:center;
    width:100%; min-height:62px; padding:6px max(18px, calc((100% - 1136px) / 2));
    gap:12px; background:#fffdfb; border-bottom:1px solid var(--line);
}
.brand { display:inline-flex; align-items:center; flex-shrink:0; min-width:44px; min-height:44px; }
.brand-symbol { width:34px; height:34px; flex:none; }
.header-menu { position:relative; }
.header-menu summary {
    display:grid; place-items:center; width:44px; height:44px; border-radius:7px;
    list-style:none; color:var(--button); cursor:pointer;
}
.header-menu summary::-webkit-details-marker { display:none; }
.header-menu summary:hover, .header-menu[open] summary { background:var(--tint); }
.header-menu-icon {
    width:21px; height:15px;
    background:linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
    border-block:2px solid currentColor;
}
.header-menu .header-account-toggle { border-radius:50%; }
.header-avatar {
    display:grid; place-items:center; width:36px; height:36px; border-radius:50%;
    border:1px solid #f3c127; background:#ffd126; color:#20211f;
    font-size:.95rem; font-weight:750; line-height:1;
}
.header-avatar .ui-icon { width:20px; height:20px; }
.header-menu-panel {
    position:absolute; inset:calc(100% + 9px) 0 auto auto; width:min(222px,calc(100vw - 36px)); padding:7px;
    border:1px solid var(--line); border-radius:13px; background:var(--panel); box-shadow:0 8px 22px #3223441a;
}
.header-account .header-menu-panel { width:min(252px,calc(100vw - 36px)); }
.header-account-identity {
    display:grid; gap:2px; padding:6px 10px 10px; margin-bottom:5px;
    border-bottom:1px solid var(--line); overflow-wrap:anywhere; line-height:1.35;
}
.header-account-identity span { font-size:.8rem; color:var(--muted); }
.header-menu-panel :is(a, button) {
    display:flex; width:100%; min-height:44px; align-items:center; justify-content:flex-start; gap:10px; padding:8px 10px;
    border:0; border-radius:7px; background:transparent; color:var(--ink);
    font-size:.92rem; font-weight:650; text-decoration:none;
}
.header-menu-panel .ui-icon { width:18px; height:18px; flex:none; color:var(--accent); }
.header-menu-panel :is(a, button):hover, .header-menu-panel [aria-current="page"] { background:var(--tint); }
.header-menu-access { margin-top:5px; padding-top:5px; border-top:1px solid var(--line); }
.workspace { width: min(1090px, 100% - 36px); margin: 28px auto 48px; }
.intro { margin-bottom: 20px; }
.intro h1 { margin: 7px 0 10px; }
.intro p { max-width: 680px; color: var(--muted); }
.overline, .back { font-weight: 700; font-size: .9rem; }
.panel { border: 1px solid var(--line); border-radius: 10px; padding: clamp(15px, 3vw, 24px); background: var(--panel); margin-bottom: 13px; }
.panel h2 { margin-bottom: 10px; }
.panel p { margin-bottom: 8px; }
.auth { max-width: 490px; }
summary { cursor:pointer; list-style:none; }
summary::-webkit-details-marker { display:none; }
summary:where(:not(.file-choice, .header-menu summary, :has(> :is(.dashboard-disclosure, .menu-owner-disclosure))))::before {
    content:"";
    display:inline-block;
    flex:none;
    width:1.25rem;
    height:1.25rem;
    margin-inline-end:.5rem;
    vertical-align:-.27rem;
    border-radius:50%;
    color:inherit;
    background:
        linear-gradient(currentColor,currentColor) center / .64rem 1.5px no-repeat,
        linear-gradient(currentColor,currentColor) center / 1.5px var(--disclosure-vertical, .64rem) no-repeat;
    box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 28%,transparent);
}
details[open] > summary { --disclosure-vertical:0px; }
:is(.home-faq-list, .intake-panel, .intake-review, .podcast-show-notes, .juniper-hero .language-selector, .pricing-questions) summary::before {
    margin-inline-end:0;
}
.layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 17px; align-items: start; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.page-dashboard { max-width:1080px; margin-inline:auto; display:grid; gap:clamp(14px,2.2vw,24px); }
.dashboard-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding-block:4px 6px; }
.dashboard-heading h1 { font:750 clamp(2.2rem,5.5vw,3.8rem)/1.08 var(--brand-sans); letter-spacing:-.03em; overflow-wrap:anywhere; min-width:0; }
.dashboard-create { flex:none; white-space:nowrap; }
.dashboard-create-tools { display:flex; flex-wrap:wrap; align-items:center; gap:var(--action-gap); }
.dashboard-slot-balance {
    display:grid; gap:2px; min-height:44px; align-content:center; padding:6px 10px;
    border:1px solid var(--line); border-radius:8px; background:var(--panel);
    color:var(--ink); text-decoration:none; line-height:1.18; white-space:nowrap;
}
.dashboard-slot-balance:hover { border-color:var(--edge); background:var(--tint); }
.dashboard-slot-balance span { color:var(--muted); font-size:.74rem; }
.dashboard-slot-balance strong { font-size:.91rem; font-variant-numeric:tabular-nums; }
.dashboard-overview, .dashboard-columns { display:grid; grid-template-columns:minmax(0,1fr); gap:inherit; align-items:start; }
.dashboard-section {
    min-width:0;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--panel);
    padding:clamp(15px,2.3vw,24px);
}
.dashboard-section h2 { font-size:1.24rem; margin:0 0 12px; }
.dashboard-section h3 { font-size:.95rem; margin:0 0 6px; }
.dashboard-saved-pages { position:relative; }
.dashboard-saved-pages, .dashboard-saved-pages > #custom-domain,
.page-dashboard :is(#profile, #page-slot-plans, #passkeys) { scroll-margin-block-start:80px; }
.dashboard-saved-pages > #custom-domain { position:absolute; inset-block-start:0; }
.dashboard-page-counts { color:var(--muted); font-size:.9rem; }
.dashboard-page-filters {
    display:flex; flex-wrap:wrap; gap:var(--action-gap);
    margin-block:var(--action-content-space);
}
.dashboard-page-filters a {
    display:inline-flex; align-items:center; min-height:44px; padding:6px 10px;
    border:1px solid var(--line); border-radius:8px; color:var(--ink);
    font-size:.86rem; font-weight:650; text-decoration:none;
}
.dashboard-page-filters a:hover { background:var(--tint); }
.dashboard-page-filters a[aria-current] { background:var(--tint); border-color:var(--accent); }
.dashboard-templates-toggle {
    display:flex; justify-content:space-between; align-items:center; gap:var(--action-gap);
    min-height:44px; cursor:pointer; font-size:1.24rem; font-weight:750;
}
.dashboard-templates-toggle::before { display:none; }
.dashboard-templates[open] > .dashboard-list { margin-block-start:var(--action-content-space); }
.dashboard-credits { background:#fffdf5; }
.dashboard-balance { font-size:1rem; margin-bottom:8px; }
.dashboard-balance strong { font-size:2rem; line-height:1; }
.dashboard-credits .ai-usage-meter { margin-block-start:12px; }
.dashboard-credits .ai-usage-periods { margin-top:9px; }
.dashboard-activity { margin-top:16px; padding-top:13px; border-top:1px solid var(--line); }
.dashboard-activity dl { margin:0; display:grid; gap:5px; }
.dashboard-activity dl div { display:flex; justify-content:space-between; gap:12px; }
.dashboard-activity dd { margin:0; font-weight:700; font-variant-numeric:tabular-nums; }
.dashboard-email { overflow-wrap:anywhere; }
#page-slot-plans > form > button,
.dashboard-profile form > .hint + button { margin-block-start:var(--action-content-space); }
.dashboard-profile form > label + button { margin-block-start:var(--compact-action-gap); }
.dashboard-list { list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.dashboard-list li { border-bottom:1px solid var(--line); scroll-margin-top:72px; }
.dashboard-row {
    display:flex;
    align-items:center;
    gap:clamp(6px,1.3vw,12px);
    min-height:48px;
    padding:9px 2px;
    color:var(--ink);
    text-decoration:none;
    font-size:.92rem;
    font-weight:650;
}
.dashboard-row:hover { background:var(--tint); }
:is(.page-dashboard details, .dashboard-remove) > summary { list-style:none; }
:is(.page-dashboard details, .dashboard-remove) > summary::-webkit-details-marker { display:none; }
.dashboard-disclosure {
    display:grid;
    place-items:center;
    width:27px;
    height:27px;
    flex:none;
    border:1px solid var(--edge);
    border-radius:50%;
    color:var(--ink);
    background:var(--panel);
}
.dashboard-disclosure .ui-icon { width:18px; height:18px; fill:currentColor; stroke:none; }
.dashboard-disclosure .ui-icon:last-child,
details[open] > summary > .dashboard-disclosure .ui-icon:first-child { display:none; }
details[open] > summary > .dashboard-disclosure .ui-icon:last-child { display:block; }
.dashboard-page[open] > summary > .dashboard-disclosure { background:var(--tint); }
:is(.dashboard-remove, .page-dashboard .ai-usage-periods) > summary {
    display:flex;
    align-items:center;
    gap:8px;
    width:fit-content;
    min-height:44px;
}
:is(.dashboard-remove, .page-dashboard .ai-usage-periods) .dashboard-disclosure { width:23px; height:23px; }
:is(.dashboard-remove, .page-dashboard .ai-usage-periods) .dashboard-disclosure .ui-icon { width:15px; height:15px; }
.dashboard-icon {
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    flex:none;
    border-radius:7px;
    color:var(--accent);
    background:var(--tint);
}
.dashboard-icon .ui-icon { width:18px; height:18px; }
.dashboard-label { flex:1; min-width:0; overflow-wrap:anywhere; }
.dashboard-date { display:block; font-size:.77rem; font-weight:500; color:var(--muted); }
.dashboard-status { flex:none; padding:2px 6px; border-radius:5px; background:var(--tint); color:var(--muted); font-size:.72rem; white-space:nowrap; }
.dashboard-status.is-published { background:#e8efe6; color:#365641; }
.dashboard-page > .dashboard-row:has(.dashboard-live-link) { gap:clamp(8px,1.3vw,12px); }
.dashboard-live-link {
    display:inline-flex; align-items:center; min-height:44px; padding-inline:9px;
    border:1px solid #bdd0bd; font-weight:700; text-underline-offset:.16em;
}
.dashboard-live-link:hover { background:#d7e7d7; }
.dashboard-live-link:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.dashboard-details { display:grid; gap:var(--action-content-space); border-top:1px solid var(--line); padding:12px 2px; }
.dashboard-details p { margin:0; }
.dashboard-link { display:grid; gap:2px; font-size:.87rem; overflow-wrap:anywhere; }
.dashboard-link > span { font-weight:650; }
.dashboard-actions { display:flex; flex-wrap:wrap; gap:var(--action-gap); }
.dashboard-remove { font-size:.86rem; color:var(--muted); }
.dashboard-remove form { display:grid; justify-items:start; gap:var(--action-content-space); padding-top:6px; }
.dashboard-remove .delete-confirmation { width:min(100%, 220px); margin:0; }
.domain-route { padding-block:12px; border-top:1px solid var(--line); }
.domain-route label { margin-block:8px; }
.domain-route > p + button { margin-block-start:var(--action-content-space); }
.dashboard-empty { padding-block:4px; color:var(--muted); font-size:.9rem; }
@media (min-width:720px) {
    .dashboard-overview, .dashboard-columns { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); }
}
@media (max-width:359px) {
    .dashboard-row { flex-wrap:wrap; }
    .dashboard-page .dashboard-label { flex-basis:54%; }
}
.languages { display:flex; flex-wrap:wrap; }
/* Use action-row for controls and action-row--with-copy when a row includes text. */
:where(.action-row, .actions) {
    display:flex; flex-wrap:wrap; gap:var(--action-gap);
}
.actions { margin-block:var(--action-content-space) 10px; }
.action-row--with-copy { align-items:center; gap:var(--action-content-space); }
.action-row > :where(button, a.button) { max-inline-size:100%; }

@media screen and (max-width:767px) {
    /* Related actions share the available width equally on each wrapped row. */
    .dashboard-heading { row-gap:var(--action-content-space); }
    .dashboard-create-tools {
        display:grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        grid-auto-rows:1fr;
        inline-size:100%;
        align-items:stretch;
    }
    .dashboard-create-tools > a {
        min-inline-size:0;
        white-space:normal;
        overflow-wrap:anywhere;
    }
    .dashboard-create-tools > :last-child:nth-child(odd) { grid-column:1 / -1; }
    :is(.action-row:not(.action-row--with-copy), .actions, .dashboard-actions,
        .home-landing-actions, .qr-step-actions, .qr-export-buttons, .scan-credit-actions,
        .editor-crop-actions, .intake-result-actions, .intake-event-recovery-actions, .scan-limit-actions,
        .price-photo-paste-actions, .podcast-image-actions):not([data-mobile-actions]):has(> :is(button, a, form):not([hidden]) ~ :is(button, a, form):not([hidden]))
        > :is(button, a, form:has(> button)) {
        flex:1 1 min(100%, var(--mobile-action-min, 8rem));
        min-inline-size:0;
        max-inline-size:100%;
        white-space:normal;
    }
    .actions > form:has(> button) { display:grid; }
}
label { display: grid; gap: 4px; font-size: .91rem; font-weight: 650; margin: 8px 0; min-width: 0; }
label.check { display: flex; gap: 7px; align-items: center; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
input:not([type=checkbox]), textarea, select { width: 100%; min-width: 0; min-height: 40px; padding: 7px 9px; border: 1px solid var(--edge); border-radius: 7px; background: white; color: var(--ink); font-weight: 400; }
select:not([multiple], [size]) {
    appearance:none;
    padding-inline-end:40px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23272030' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position:right 14px center;
    background-repeat:no-repeat;
}
select:not([multiple], [size]):dir(rtl) { background-position:left 14px center; }
@media (forced-colors:active) {
    select:not([multiple], [size]) { appearance:auto; background-image:none; padding-inline-end:9px; }
}
input[type=color] { max-width: 100px; padding: 3px; }
textarea { resize: vertical; }
.entry, .language-field { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; padding: 8px 12px; min-width: 0; }
legend { font-weight: 720; padding-inline: 5px; }
.photo-field img { display: block; width: 82px; height: 66px; object-fit: cover; border-radius: 6px; }
.hint { color: var(--muted); font-size: .89rem; }
.notice { padding: 9px 14px; margin-bottom: 12px; border-radius: 8px; background: #e1eed8; }
.notice.error { background: #f8ded7; color: #733226; }
#qr-result img { display: block; width: min(210px, 100%); margin: 10px 0; image-rendering: pixelated; }
.unpublish { margin-top: 12px; }
.public-page { width: min(760px, 100% - 24px); margin: 14px auto 36px; overflow: hidden; background: white; border-radius: 17px; border: 1px solid var(--line); }
.profile { padding: clamp(18px, 4.8vw, 41px); border-top: 7px solid var(--accent); }
.profile h1 { margin-bottom: 11px; }
.profile .button { margin-top: 11px; }
.serif h1, .serif h2, .serif h3 { font-family: Georgia, serif; }
.cover { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.logo { width: 72px; height: 72px; object-fit: contain; margin-bottom: 9px; }
.languages { margin-bottom: 11px; }
.languages a { border: 1px solid var(--line); border-radius: 8px; text-decoration: none; padding: 5px 11px; color: var(--ink); }
.languages [aria-current] { background: var(--paper); font-weight: 800; }
.facts, .public-section { margin: 0 clamp(16px, 4.8vw, 41px) 16px; }
.facts { display: flex; gap: 16px; flex-wrap: wrap; padding: 9px 0; border-block: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .86rem; }
.public-section h2 { border-bottom: 2px solid var(--accent); padding-bottom: 7px; }
.card { display: flex; align-items: flex-start; gap: 13px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.card:last-child { border-bottom: 0; }
.card img { width: 80px; height: 74px; object-fit: cover; border-radius: 8px; }
.card a { display: inline-block; color: var(--accent); margin-top: 4px; }
.card > div { min-width: 0; }
.preview-review-badge {
    display:inline-block; margin:4px 0; padding:2px 7px; border-radius:4px;
    background:#fff3bf; color:#4d4206; font-size:.78rem; font-weight:650;
}
.wrap, .card h3 { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 730px) {
    .layout { grid-template-columns: 1fr; }
    .layout aside { grid-row: 1; }
}
@media (max-width: 420px) {
    .fields { grid-template-columns: 1fr; }
}

.condensed h1, .condensed h2, .condensed h3,
.intake-menu[data-font="condensed"] h3 { font-family:"Arial Narrow","Aptos Narrow",system-ui,sans-serif; font-stretch:condensed; }
.intake-menu[data-font="serif"] h3 { font-family:Georgia,serif; }
.intake-panel { max-width:780px; }
.intake-view .workspace { margin-top:clamp(28px,6vw,64px); }
.intake-intro { text-align:center; margin-bottom:clamp(20px,4vw,36px); }
.intake-intro p { margin-inline:auto; }
.intake-intro:not(.intake-sample-intro) p { max-width:36ch; font-size:clamp(.95rem,2.4vw,1.08rem); line-height:1.5; }
.intake-intro .sample-instructions { max-width:49ch; font-size:.94rem; font-style:italic; }
.intake-pickers { display:flex; flex-wrap:wrap; gap:var(--action-gap); }
.file-choice { position:relative; display:inline-flex; align-items:center; gap:7px; width:auto; min-height:44px; justify-content:center; align-content:center; margin:0 0 7px; padding:6px 11px; border:1px solid var(--edge); border-radius:7px; color:var(--button); background:var(--tint); cursor:pointer; }
.file-choice .ui-icon { width:18px; height:18px; }
.file-drop input { position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; }
.file-choice:focus-within { outline:2px solid #68528b; outline-offset:3px; }
.file-drop {
    position:relative; display:flex; align-items:center; justify-content:center; gap:8px;
    min-width:0; padding:16px; text-align:center; line-height:1.3; cursor:pointer;
    border:2px dashed var(--drop-edge,var(--accent)); border-radius:12px;
    background:var(--drop-surface,var(--panel)); color:var(--drop-ink,var(--ink));
}
.file-drop:is(:hover,:focus-within,.is-file-over) { background:var(--drop-hover,var(--tint)); }
.file-drop:focus-within { outline:2px solid var(--drop-focus,var(--accent)); outline-offset:3px; }
.file-drop.is-file-over {
    border-style:solid; border-color:var(--drop-focus,var(--accent));
    outline:2px solid var(--drop-focus,var(--accent)); outline-offset:2px;
}
.file-drop input:disabled { cursor:wait; }
.file-drop > .ui-icon { flex:none; width:18px; height:18px; }
.file-drop-label { font-weight:700; }
.intake-file-drop { grid-column:1 / -1; min-height:88px; margin:0; }
.editor-file-label > span:first-child { display:block; }
.editor-file-drop { min-height:72px; margin-top:6px; }
.file-drop-status { margin-top:3px; overflow-wrap:anywhere; }
.file-drop-status:empty { display:none; }
.source-files { padding-left:0; list-style:none; }
.source-files li { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; min-height:38px; }
.source-files li > span { overflow-wrap:anywhere; }
.source-files .source-error { flex-basis:100%; color:#873523; font-size:.85rem; }
.intake-panel details { margin:8px 0; }
.intake-panel-full { margin-inline:auto; }
.intake-panel-full > h2, .intake-panel-full .source-limit { text-align:center; }
.intake-panel-full .intake-pickers { display:grid; grid-template-columns:minmax(0,1fr); max-width:580px; margin-inline:auto; gap:12px; }
.intake-panel-full .intake-pickers:has(#open-paste) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.intake-panel-full .file-choice { margin:0; white-space:nowrap; font-size:clamp(.74rem,2.5vw,.91rem); padding-inline:4px; gap:5px; }
.intake-panel-full #open-camera { background:var(--button); color:#fff; }
.intake-panel-full .source-limit { margin-top:8px; font-size:.8rem; }
.intake-panel-full .source-limit span { color:var(--accent); font-weight:750; }
.intake-panel-full ~ .intake-review { max-width:780px; margin-inline:auto; }
.intake-panel-entry { max-width:660px; border-radius:16px; background:#f1eaf5; border-color:#ded1e6; }
.intake-panel-entry .intake-pickers { max-width:none; }
.intake-panel-entry .file-choice { flex-direction:column; gap:7px; min-height:88px; border-radius:10px; background:#fcf9fe; }
.intake-panel-entry .file-choice .ui-icon { width:21px; height:21px; }
.intake-panel-entry [data-type="resume"] #open-camera { color:var(--button); background:#fcf9fe; }
.intake-panel #paste-option.direct-paste:not([open]) { margin:0; }
.intake-panel #paste-option.direct-paste > summary { display:none; }
#paste-option > #paste-source-hint { margin-block-end:0; }
#paste-option > #paste-source-hint + button { margin-block-start:var(--action-content-space); }
.intake-blank-picker form > label + button,
.scan-language-option > label + button,
:is(#editor-import, .menu-brand-editor) > label + button {
    margin-block-start:var(--compact-action-gap);
}
.linked-photos { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin-top:10px; text-align:left; }
.linked-photos img { object-fit:cover; border-radius:6px; }
.linked-photos .check { margin:0; }
:is(.intake-panel,.intake-review) summary:not(.draft-type-control > summary) {
    display:flex; align-items:center; gap:8px; min-height:44px; font-weight:700; list-style:none;
}
.intake-menu { --intake-accent:#244a42; border-top:6px solid var(--intake-accent); border-radius:8px; padding:10px 13px; background:#fbf9fc; margin-bottom:15px; }
.intake-group > h3 { margin:10px 0 3px; }
.intake-item { display:grid; grid-template-columns:minmax(0,1fr) minmax(76px,120px); gap:5px 8px; align-items:center; border-bottom:1px solid var(--line); padding:4px 0; }
.intake-item .keep-item { display:flex; align-items:center; gap:8px; min-width:0; overflow-wrap:anywhere; }
.keep-item input[type=checkbox] { flex-shrink:0; }
.keep-item .intake-name { min-width:0; flex:1; }
.intake-item .dish-detail { grid-column:1/-1; margin-left:29px; }
.intake-review input[type=color] { min-width:80px; }
.draft-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:9px 14px; margin-bottom:10px; }
.publisher-confirmation { max-width:470px; margin-inline:auto; }
.publisher-confirmation h1 { margin-bottom:14px; font-size:2rem; }
.publisher-confirmation form > p { margin-bottom:10px; }
.publisher-confirmation form > button { margin-block-start:var(--action-content-space); }
.intake-group > h3 { display:inline; box-shadow:inset 0 -4px var(--intake-highlight,#d5dfd6); }
.intake-group { margin-top:10px; }
.public-section h2 { border-color:var(--highlight,var(--accent)); }
.intake-preview-running { overflow:hidden; }
.intake-progress {
    position:fixed; inset:0; z-index:100; display:grid; justify-items:center; align-content:safe center; gap:22px;
    padding:max(24px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right))
        max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
    --progress-surface:#252523;
    --progress-ink:#fffef6;
    --progress-accent:#ffd126;
    --progress-border:#77766e;
    overflow:auto; background:var(--progress-surface); color:var(--progress-ink); text-align:center;
}
.intake-progress:focus { outline:none; }
.intake-progress-stage {
    display:flex; align-items:center; gap:9px; padding:5px 12px; border:1px solid var(--progress-border);
    border-radius:999px; color:var(--progress-accent); font-size:.875rem; font-weight:750;
}
.intake-progress-activity { width:10px; height:10px; border-radius:50%; background:currentColor; }
@media (prefers-reduced-motion:no-preference) {
    .intake-progress-activity { animation:intake-progress-pulse 1.4s ease-in-out infinite; }
}
@keyframes intake-progress-pulse {
    50% { box-shadow:0 0 0 4px #ffd12640; }
}
.intake-progress-copy { max-width:42ch; }
.intake-progress h3 { font-size:clamp(1.5rem,5vw,2.12rem); line-height:1.12; text-wrap:balance; }
.intake-progress-copy p { margin-top:9px; color:inherit; }
.intake-progress-meter { display:grid; gap:12px; width:min(100%,420px); }
#intake-progress-track {
    display:block; width:100%; height:8px; border:0; border-radius:4px; overflow:hidden;
    appearance:none; background:var(--progress-border); accent-color:var(--progress-accent);
}
#intake-progress-track::-webkit-progress-bar { background:var(--progress-border); }
#intake-progress-track::-webkit-progress-value { background:var(--progress-accent); }
#intake-progress-track::-moz-progress-bar { background:var(--progress-accent); }
@media (prefers-reduced-motion:no-preference) and (forced-colors:none) {
    .intake-progress-meter { position:relative; }
    .intake-progress-meter::after {
        content:""; position:absolute; top:0; left:0;
        width:calc(100% / 3); height:8px; border-radius:4px;
        background:var(--progress-accent); pointer-events:none;
        animation:intake-progress-sweep 1.4s ease-in-out infinite alternate;
    }
    #intake-progress-track::-webkit-progress-value { background:transparent; }
    #intake-progress-track::-moz-progress-bar { background:transparent; }
}
@keyframes intake-progress-sweep {
    from { transform:translateX(0); }
    to { transform:translateX(200%); }
}
#intake-progress-steps {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px;
    margin:0; padding:0; list-style:none; font-size:.875rem; font-weight:650; line-height:1.35;
}
#intake-progress-steps li { padding:8px 4px; border:1px solid var(--progress-border); border-radius:7px; }
#intake-progress-steps [aria-current="step"] {
    background:var(--progress-accent); color:var(--progress-surface); border-color:var(--progress-accent); font-weight:750;
}
#intake-progress-steps .is-complete { color:var(--progress-accent); }
#intake-progress-steps .is-complete::before { content:"✓ "; }
.intake-progress-wait { min-height:3em; max-width:36ch; color:inherit; font-size:.9rem; }
.intake-scan-credits {
    --scan-bg:#f3eddf;
    --scan-ink:#29261e;
    --scan-muted:#59503c;
    --scan-accent:#6b4d13;
    --scan-edge:#aa8e4b;
    --scan-action:#fffaf0;
    --scan-paused:#fff1cb;
    display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px;
    width:100%; margin:12px 0 0; padding:11px 12px;
    border:0; border-inline-start:2px solid var(--scan-edge); border-radius:6px;
    background:var(--scan-bg); color:var(--scan-ink); text-align:start;
}
#menu-intake > .intake-scan-credits { margin-bottom:12px; }
.intake-scan-credits--paused { background:var(--scan-paused); }
.intake-scan-credit-totals {
    display:flex; flex:1 1 100%; flex-wrap:wrap; align-items:baseline; gap:3px 14px;
}
.intake-scan-credit-count { color:var(--scan-accent); font-size:.875rem; font-weight:750; line-height:1.35; }
.intake-scan-credit-cost { margin:0; font-size:.8125rem; font-weight:650; line-height:1.35; }
.camera-editor #pending-scan-credit-cost { color:#ffe175; }
.intake-scan-credit-detail { flex-basis:100%; margin:0; color:var(--scan-muted); font-size:.8125rem; line-height:1.45; }
.intake-scan-credits :is(a, button) { min-height:44px; }
.intake-scan-credits a {
    padding-inline:13px; border-color:var(--scan-edge); border-radius:8px;
    background:var(--scan-action); color:var(--scan-accent); text-align:center;
}
.intake-scan-credits a:hover { border-color:var(--scan-accent); }
.intake-scan-credits :focus-visible { outline-color:var(--scan-edge); }
#photo-review-scan-credits { margin-top:0; }
#photo-review-scan-credits :focus-visible { outline-color:var(--scan-accent); }
.intake-result { display:grid; justify-items:center; gap:14px; padding-block:clamp(12px,3vw,28px); text-align:center; }
.intake-result h3 { font-size:clamp(1.3rem,4vw,1.85rem); line-height:1.2; }
.intake-result form { display:grid; justify-items:center; gap:10px; width:min(100%,360px); }
.intake-result form :is(button,a.button) {
    justify-content:center; gap:8px; width:100%; min-height:58px; padding:12px 22px; font-size:1rem;
    background:var(--signal,var(--button)); border-color:var(--signal,var(--button));
    color:var(--signal-ink,var(--ink));
}
.intake-result-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:var(--action-gap); }
.intake-result-actions .plain { color:inherit; }
.intake-ready-icon { display:none; }
.intake-result--ready,
.intake-result:has(#intake-event-scan-message:not([hidden])) {
    --signal:#ffd126; --signal-ink:#20211f;
    gap:18px; width:min(100%,640px); margin-inline:auto; padding:clamp(20px,5vw,42px);
    border:1px solid #44423a; border-radius:18px;
    background:#252523; color:#fffef6; box-shadow:0 12px 28px #25252324;
}
.intake-result:has(#intake-event-scan-message:not([hidden])) form,
.intake-event-recovery-actions:not(:has(button:not([hidden]))) { display:none; }
.intake-event-recovery-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:var(--action-gap); }
.intake-event-recovery-actions button { min-height:44px; }
.intake-event-recovery-actions .secondary { background:transparent; border-color:#706f66; color:#fffef6; }
.intake-event-recovery-actions button:focus-visible { outline-color:#ffd126; }
#intake-event-scan-message { max-width:43ch; color:#e2ded4; }
.intake-result--ready .intake-ready-icon {
    display:grid; place-items:center; width:42px; height:42px; border-radius:10px;
    background:var(--signal); color:var(--signal-ink);
}
.intake-result--ready h3 { font-size:clamp(1.6rem,5vw,2.3rem); text-wrap:balance; }
.intake-result-summary {
    display:grid; gap:3px; width:100%; padding-block:14px;
    border-block:1px solid #55544d; overflow-wrap:anywhere;
}
#intake-result-title { font-size:clamp(1.1rem,3vw,1.45rem); font-weight:750; line-height:1.2; }
#intake-result-facts, .intake-result--ready .hint { color:#e2ded4; }
.intake-result--ready .check {
    justify-self:stretch; min-height:44px; gap:10px; margin:0; padding:8px 10px;
    border:1px solid #706f66; border-radius:8px; cursor:pointer; text-align:start;
}
.intake-result--ready .check input { flex:none; margin:0; accent-color:var(--signal); }
.intake-result--ready .plain { text-decoration:underline; text-underline-offset:4px; }
.intake-result--ready :focus-visible { outline-color:var(--signal); }
.source-text-review { display:grid; gap:12px; margin-top:16px; padding:clamp(14px,3vw,22px); border:1px solid var(--line); border-radius:12px; }
.source-text-header, .source-text-actions, .source-translate-controls { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
.source-text-header { justify-content:space-between; }
.source-text-header h3 { margin:0; }
.source-text-review label, .intake-panel .source-text-review details { margin:0; }
.source-text-review textarea { display:block; width:100%; resize:vertical; }
.source-text-actions { align-items:start; gap:var(--action-gap); }
.source-text-actions details[open] { flex-basis:100%; }
.source-translate-controls { align-items:end; margin-block:8px; }
#copy-translated-text { margin-top:8px; }
#source-text-status { margin:0; }
#source-text-status:empty { display:none; }
#draft-scan-text {
    width:min(100% - 24px,580px); max-height:calc(100dvh - 24px);
    padding:clamp(14px,3vw,24px); border:1px solid var(--edge); border-radius:12px;
    background:var(--panel); color:var(--ink);
}
#draft-scan-text::backdrop { background:#191a18bc; }
#draft-scan-text > form { position:absolute; top:8px; right:8px; }
#draft-scan-text .source-text-review { margin:0; padding:6px 0 0; border:0; }
#draft-scan-text .source-text-header { padding-right:44px; }
.keep-item .intake-name { border-color:transparent; background:transparent; font-weight:650; }
.keep-item .intake-name:hover, .keep-item .intake-name:focus { border-color:var(--edge); background:#fff; }
.price-review > h3 { margin:3px 0 6px; color:var(--ink); }
.price-review .intake-item { background:#fffaf0; border:1px solid #e4cf9f; border-radius:8px; padding:5px 8px; margin:0 0 8px; }
.price-evidence { grid-column:1/-1; padding-left:24px; margin:0 0 4px; color:var(--muted); font-size:.83rem; overflow-wrap:anywhere; }
.intake-items { border-bottom:1px solid var(--line); padding:9px 1px; }
.intake-items:last-child { border-bottom:0; }
.intake-items summary { font-weight:650; }
.intake-items > p { margin:5px 0 0; }

.intake-focused :is(.bar,.site-footer,.home-copy,.home-source-intro,.intake-intro,.intake-examples,#source-heading,#home-intake-more) { display:none; }
@media (prefers-reduced-motion:no-preference) {
    .intake-focusing .bar { animation:intake-header-exit 210ms cubic-bezier(.4,0,.65,1) both; }
    .intake-focusing :is(.home-copy,.home-source-intro,.intake-intro,.intake-examples,#source-heading) {
        animation:intake-hero-exit 210ms ease-in both;
    }
    .intake-focusing :is(#home-intake-more,.site-footer) { animation:intake-below-exit 210ms ease-in both; }
    #scan-camera[data-photo-review][open] .camera-editor { animation:photo-review-enter 160ms ease-out both; }
}
@keyframes intake-header-exit { to { opacity:0; transform:translateY(-100%); } }
@keyframes intake-hero-exit { to { opacity:0; transform:translateY(-22px); } }
@keyframes intake-below-exit { to { opacity:0; transform:translateY(40px); } }
@keyframes photo-review-enter { from { opacity:0; } }
.intake-focused #menu-intake { scroll-margin-top:16px; }
.has-photo-dialog > .photo-queue { display:none; }
#resume-photo-review { display:flex; justify-content:center; width:100%; margin:12px auto 0; }
.photo-queue { display:grid; gap:8px; margin:12px 0; outline:none; }
.photo-viewer { display:grid; place-items:center; min-width:0; }
.photo-undo { padding:8px 12px; margin:8px 0 12px; border:1px solid var(--line); border-radius:8px; }
.photo-undo p { margin:0; overflow-wrap:anywhere; }
.photo-undo p:empty { display:none; }
.frame-photos { display:flex; flex-wrap:wrap; justify-content:center; gap:7px; padding:4px; }
.frame-photo { width:60px; }
.frame-photo { position:relative; min-width:0; }
.frame-photo-select { display:grid; place-items:center; width:100%; min-height:48px; aspect-ratio:4/3; padding:2px; border:2px solid var(--line); border-radius:8px; background:#f3eef7; color:var(--ink); font-size:.78rem; overflow:hidden; }
.frame-photo-select[aria-pressed=true] { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
.frame-photo-select { touch-action:pan-y pinch-zoom; cursor:grab; user-select:none; }
.frame-photo.is-dragging { opacity:.55; }
.frame-photo.is-dragging .frame-photo-select { cursor:grabbing; }
.frame-photo.is-drop-target { outline:2px dashed var(--accent); outline-offset:2px; border-radius:8px; }
.frame-photo-remove {
    position:absolute; top:-2px; right:-2px; width:28px; min-height:28px; padding:0;
    border:0; border-radius:8px; background:transparent; color:#fff;
}
.frame-photo-remove .ui-icon {
    width:20px; height:20px; padding:3px; border-radius:50%; background:#261a32ed;
}
.photo-actions { display:flex; justify-content:center; padding-block:6px; }
.photo-next { display:grid; gap:12px; padding-bottom:12px; }
.photo-source-field { --photo-source-muted:var(--muted); display:grid; gap:6px; min-width:0; }
.photo-source-field label { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 8px; margin:0; }
.photo-source-field label span { color:var(--photo-source-muted); font-size:.84rem; font-weight:500; }
.photo-source-field textarea { min-height:76px; padding:10px 12px; }
.photo-source-field textarea::placeholder { color:var(--photo-source-muted); opacity:1; }
.photo-next #photo-add-files { justify-self:start; }
.photo-pending-pdfs { margin:0; padding-inline-start:1.2rem; overflow-wrap:anywhere; }
.photo-next #read-photos { width:100%; justify-content:center; min-height:52px; }
.photo-tools { display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(12px,3vw,20px); }
.photo-tools button { display:grid; place-items:center; width:44px; height:44px; padding:0; }
.photo-removal-dialog { width:min(360px,100% - 32px); padding:20px; border:1px solid var(--line); border-radius:13px; background:var(--panel); color:var(--ink); }
.photo-removal-dialog::backdrop { background:#261a32a8; }
.photo-removal-dialog h3 { font-size:1.25rem; }
.photo-removal-dialog p { margin-top:6px; overflow-wrap:anywhere; }
.photo-removal-dialog form { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:var(--action-gap); margin-block-start:var(--action-content-space); }
.photo-removal-dialog #confirm-remove-photos { background:#8b3222; border-color:#8b3222; }
.photo-tools .ui-icon { width:22px; height:22px; fill:currentColor; stroke:none; }
.frame-photos canvas { display:block; width:100%; height:100%; min-height:0; object-fit:contain; border-radius:4px; }
#photo-frame {
    display:block; width:100%; height:auto; object-fit:contain; background:#181916; border-radius:8px;
    touch-action:none; user-select:none; cursor:zoom-in;
}
.photo-stage { position:relative; width:min(100%,calc(60dvh * var(--photo-ratio,1))); }
#photo-frame.can-pan { cursor:grab; }
#photo-frame.can-pan:active { cursor:grabbing; }
.photo-gesture-hint { position:absolute; inset:0; display:grid; place-items:center; pointer-events:none; }
.photo-gesture-hint > div {
    padding:11px 16px; border:1px solid #ffffff45; border-radius:12px;
    background:#151613bc; color:#fff; text-align:center; font-size:.85rem; font-weight:700;
}
.photo-gesture-hint .touch-gesture { display:none; }
.pinch-diagram { display:flex; justify-content:center; gap:12px; margin:2px 0 8px; }
.pinch-diagram i { width:17px; height:17px; border:2px solid currentColor; border-radius:50%; background:#ffffff35; }
@media (any-pointer:coarse) {
    .photo-gesture-hint .touch-gesture { display:block; }
    .photo-gesture-hint .mouse-gesture { display:none; }
}
@media (prefers-reduced-motion:no-preference) {
    .photo-gesture-hint > div { animation:photo-hint 2.6s both; }
    .pinch-diagram i:first-child { animation:pinch-left 1.15s ease-in-out; animation-iteration-count:2; }
    .pinch-diagram i:last-child { animation:pinch-right 1.15s ease-in-out; animation-iteration-count:2; }
}
@keyframes photo-hint { 0%, 100% { opacity:0; } 12%, 78% { opacity:1; } }
@keyframes pinch-left { 0%, 100% { transform:translateX(4px); } 50% { transform:translateX(-6px); } }
@keyframes pinch-right { 0%, 100% { transform:translateX(-4px); } 50% { transform:translateX(6px); } }
#photo-queue-status:empty, #source-status:empty { display:none; }
#scan-camera {
    width:min(680px,calc(100% - 32px)); height:min(760px,calc(100dvh - 32px)); max-width:none; max-height:none;
    padding:0; border:1px solid #6c587d; border-radius:20px; background:#271c34; color:#fbf7ff;
}
#scan-camera::backdrop { background:#261a32bc; }
.camera-layout { height:100%; display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.camera-header { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:6px 12px; padding:8px max(14px,env(safe-area-inset-right)) 8px max(18px,env(safe-area-inset-left)); }
.camera-header h2 { font-size:1.03rem; font-weight:750; }
#close-camera { grid-column:3; grid-row:1; justify-self:end; width:44px; padding:0; border-color:transparent; background:transparent; color:inherit; }
.camera-framing { grid-column:2; display:flex; padding:3px; border:1px solid #806e8d; border-radius:10px; }
.camera-framing button { flex:1 1 0; padding:0 12px; border:0; border-radius:7px; background:transparent; color:inherit; font-size:.85rem; }
.camera-framing button[aria-pressed="true"] { background:#eedcff; color:#271c34; }
#scan-camera[data-photo-review] {
    inset:0; width:100%; height:100dvh; max-height:100%; margin:0; border:0; border-radius:0;
}
body:has(#scan-camera[data-photo-review][open]) { overflow:hidden; }
#scan-camera[data-photo-review] .camera-header { padding-top:max(8px,env(safe-area-inset-top)); }
.camera-editor {
    display:flex; flex-direction:column; min-height:0; overflow:auto; overscroll-behavior:contain;
    padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right));
    padding-bottom:env(safe-area-inset-bottom);
}
.camera-editor .photo-queue {
    grid-template-rows:minmax(150px,1fr) auto auto auto; flex:1 0 auto;
    width:100%; margin:0 auto;
}
.camera-editor .photo-viewer { container-type:size; align-self:stretch; }
.camera-editor .photo-stage { width:min(100%,calc(100cqh * var(--photo-ratio,1))); }
.camera-editor .photo-actions { grid-row:3; }
.camera-editor .photo-next { grid-row:4; width:min(100%,560px); margin-inline:auto; }
.camera-editor .photo-next > .hint { color:var(--on-charcoal-muted,#e3d8eb); }
.camera-editor .photo-pending-pdfs .plain { color:var(--signal,#ffd126); }
.camera-editor .photo-source-field { --photo-source-muted:var(--on-charcoal-muted,#e3d8eb); }
.camera-editor .photo-source-field textarea { border-color:#ffffff75; background:#0003; color:inherit; }
.camera-editor .photo-source-field textarea:focus { border-color:currentColor; }
.camera-editor .photo-tools button { color:inherit; border-color:#ffffff40; background:#ffffff16; }
.camera-editor .photo-undo { max-width:560px; margin-inline:auto; }
.camera-editor .photo-undo button { color:var(--ink); }
.camera-editor .photo-queue:not([hidden]) ~ .photo-undo:not([hidden]) { align-self:center; }
@media (max-width:520px) {
    .camera-header h2 { grid-column:1 / 3; }
    .camera-framing { grid-column:1 / -1; justify-self:center; }
}
#close-camera:hover { background:#493858; }
.camera-viewfinder { position:relative; container-type:size; display:grid; place-items:center; min-height:0; margin-inline:10px; border:1px solid #4f3d60; border-radius:14px; overflow:hidden; background:#17101f; }
.camera-media { position:relative; grid-area:1/1; width:min(100%,calc(100cqh * var(--camera-ratio,1))); aspect-ratio:var(--camera-ratio,1); overflow:hidden; border-radius:10px; }
#camera-feed { display:block; width:100%; height:100%; object-fit:cover; }
.camera-guide { position:absolute; inset:5px; pointer-events:none; }
.camera-guide span { position:absolute; width:21px; height:21px; border:solid #f5e8ff; filter:drop-shadow(0 1px 2px #24142e); }
.camera-guide span:nth-child(1) { top:0; left:0; border-width:2px 0 0 2px; border-top-left-radius:6px; }
.camera-guide span:nth-child(2) { top:0; right:0; border-width:2px 2px 0 0; border-top-right-radius:6px; }
.camera-guide span:nth-child(3) { bottom:0; right:0; border-width:0 2px 2px 0; border-bottom-right-radius:6px; }
.camera-guide span:nth-child(4) { bottom:0; left:0; border-width:0 0 2px 2px; border-bottom-left-radius:6px; }
.camera-message { grid-area:1/1; z-index:1; display:grid; justify-items:center; gap:12px; padding:12px; text-align:center; }
#camera-status { max-width:32ch; margin:0; padding:6px 11px; border-radius:8px; color:#fbf7ff; background:#271c34ee; font-size:.88rem; }
#camera-status:empty { display:none; }
.camera-fallback { display:grid; gap:6px; }
.camera-fallback button { gap:7px; }
.camera-fallback .plain { color:#edddff; }
.camera-tray {
    display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:8px;
    padding:12px max(14px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));
}
.camera-progress { display:flex; align-items:center; gap:7px; color:#f1e4ff; font-size:.8rem; font-weight:700; white-space:nowrap; }
#last-capture { width:36px; height:36px; border:1px solid #a694b8; border-radius:6px; object-fit:cover; }
#capture-photo { grid-column:2; width:64px; height:64px; padding:6px; border:2px solid #d6aefb; border-radius:50%; background:transparent; }
#capture-photo span { width:100%; height:100%; border-radius:50%; background:#eedcff; }
#capture-photo:active:not(:disabled) span { background:#c69cf0; }
#capture-photo:disabled { opacity:.4; cursor:default; }
#finish-camera { grid-column:3; justify-self:end; gap:5px; padding-inline:8px; white-space:nowrap; }
@media (max-width:699px), (max-width:950px) and (pointer:coarse) {
    #scan-camera { inset:0; width:100%; height:100dvh; max-height:100%; margin:0; border:0; border-radius:0; }
    .camera-header { padding-top:max(8px,env(safe-area-inset-top)); }
}
@media (orientation:landscape) and (max-height:480px) {
    .camera-tray { padding-block:6px max(6px,env(safe-area-inset-bottom)); }
    #capture-photo { width:48px; height:48px; }
}
.camera-layout :focus-visible { outline-color:#d6aefb; }
.verification-note { padding:8px 10px; border-left:3px solid #c08e36; background:#fffaf0; }

@font-face {
    font-family:'DM Sans'; font-weight:400 800; font-display:swap;
    src:url('/brand/dm-sans-ext.woff2') format('woff2');
    unicode-range:U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113;
}
@font-face {
    font-family:'DM Sans'; font-weight:400 800; font-display:swap;
    src:url('/brand/dm-sans.woff2') format('woff2');
    unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face { font-family:'Instrument Serif'; font-weight:400; font-display:swap; src:url('/brand/instrument-serif.woff2') format('woff2'); }
@font-face { font-family:'Instrument Serif'; font-weight:400; font-style:italic; font-display:swap; src:url('/brand/instrument-serif-italic.woff2') format('woff2'); }

.published-view { --ink:#222f29; --muted:#526259; --line:#d5dfd6; --paper:#f0f3ef; --accent:#244a42; --button:#244a42; }
.product-view .intro h1 { font-size:clamp(2.4rem,6vw,4.1rem); }
.product-view .public-page:not(.custom-page-colors) .profile .button { background:#244a42; border-color:#244a42; }
@media (max-width:520px) {
    .intake-item { grid-template-columns:minmax(0,1fr); }
    .intake-item > :is(input,select) { width:min(10.5rem,100%); margin-left:27px; }
}
.site-home { --paper:#faf8f4; --line:#ded7dd; }
.home-content,.site-footer { width:min(1136px,100% - 36px); margin-inline:auto; }
.home-hero { display:grid; gap:24px; padding:26px 0 0; }
.brand-headline {
    font:750 clamp(3.2rem,7.4vw,6.6rem)/1.04 var(--brand-sans);
    letter-spacing:-.075em;
}
.brand-headline em { display:block; color:#5b4176; font:normal 750 1.08em/1.04 var(--brand-sans); letter-spacing:-.035em; }
.product-view .intake-intro .brand-headline {
    font-size:clamp(2.38rem,7.9vw,5.4rem);
    line-height:1;
    text-wrap:balance;
    margin:0 0 14px;
}
.intake-intro .brand-headline em { margin-top:.05em; }
.home-copy { min-width:0; text-align:center; }
.home-headline-phrase {
    color:#5b4176; font:normal 750 clamp(2.4rem,5.5vw,4.6rem)/1.06 var(--brand-sans);
    letter-spacing:-.025em; text-wrap:balance;
}
.home-headline-source {
    margin-bottom:clamp(8px,1.5vw,18px); color:#4c4253; font-size:clamp(1.25rem,2.3vw,1.8rem);
}
.home-headline-icons {
    display:flex; justify-content:center; color:#422e5b; margin-bottom:clamp(10px,1.3vw,16px);
}
.home-headline-icons [data-source-icon] {
    display:grid; place-items:center; width:clamp(90px,10vw,132px); aspect-ratio:1;
    border:1px solid #dfd1e9; border-radius:clamp(17px,1.9vw,24px);
    background:linear-gradient(148deg,#f8f2fc,#ece0f4); box-shadow:0 3px 9px #38234b0c;
}
.home-headline-icons .ui-icon { width:70%; height:70%; stroke-width:2.1; }
.home-headline-source strong {
    display:inline-block; color:#262130; font-weight:700;
}
.home-quick-start { min-width:0; width:min(100%,680px); margin-inline:auto; }
.home-quick-start .intake-panel {
    margin:0; padding:clamp(18px,3.2vw,42px);
    border:1px solid #ded1e6; border-radius:16px; background:#f3edf6;
}
.home-quick-start #source-heading {
    text-align:center;
    font:650 clamp(1.65rem,3.6vw,2.8rem)/1.08 var(--brand-sans); letter-spacing:-.055em;
}
.home-source-intro {
    margin:9px auto 8px; text-align:center; text-wrap:balance; max-width:36ch; color:#4c4253; font-size:clamp(.92rem,1.45vw,1.09rem); line-height:1.5;
}
.home-quick-start .intake-pickers {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:clamp(16px,2.2vw,25px);
}
.home-quick-start .file-choice {
    display:flex; flex-direction:column; justify-content:center; gap:8px; min-width:0; min-height:78px;
    margin:0; padding:8px 4px; border-radius:8px; background:#fffcff;
    font-size:clamp(.75rem,1.3vw,.9rem); font-weight:700; line-height:1.2; text-align:center;
}
.home-quick-start .file-choice .ui-icon { width:23px; height:23px; }
.home-quick-start .file-choice:hover { background:#eae0f0; }
.home-note { margin-top:14px; color:var(--muted); font-size:.82rem; line-height:1.45; }
.draft-type-control { margin:0 0 10px; }
.draft-type-control summary {
    display:flex; align-items:center; gap:8px; min-height:44px; padding:6px 0;
    border-bottom:1px solid var(--line); font-size:.88rem; list-style:none;
}
.draft-type-control summary::-webkit-details-marker { display:none; }
.draft-type-control summary strong { font-weight:750; }
.draft-type-change { margin-left:auto; color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.ui-icon { display:block; width:1.12em; height:1.12em; flex:none; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.home-section { margin-top:38px; padding-top:20px; border-top:1px solid var(--line); }
.home-section h2 { font:620 clamp(1.6rem,4vw,2.65rem)/1.08 'DM Sans', system-ui, sans-serif; letter-spacing:-.055em; }
#examples-title { text-align:left; }
.home-use-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:14px; }
.home-use { display:block; border:1px solid var(--line); border-radius:11px; padding:13px; background:#fffdfb; color:var(--ink); text-decoration:none; }
.home-use:hover { border-color:#a991bc; background:#fff; }
.home-use h3 { display:flex; justify-content:space-between; gap:8px; font-size:.98rem; }
.home-use-icon { display:grid; place-items:center; width:35px; height:35px; border-radius:7px; background:#eee6f5; color:#493162; margin-bottom:8px; }
.home-use:nth-child(2) .home-use-icon { background:#f6e7df; color:#753d28; }
.home-use:nth-child(3) .home-use-icon { background:#e2eee6; color:#315d46; }
.home-use:nth-child(4) .home-use-icon { background:#f5eddb; color:#655020; }
.home-use:nth-child(5) .home-use-icon { background:#e1edf2; color:#31576a; }
.home-use:nth-child(6) .home-use-icon { background:#f0e8e5; color:#614d45; }
.home-use-icon .ui-icon { width:20px; height:20px; }
.home-use h3 .ui-icon { color:#6c5287; }
.home-use p { margin-top:4px; color:var(--muted); font-size:.89rem; line-height:1.48; }
.home-process { display:grid; gap:20px; align-items:center; padding:clamp(20px,4vw,40px); border:0; border-radius:17px; background:#332445; color:#fffaf7; }
.home-process h2 { max-width:13ch; }
.home-process ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; margin:0; padding:0; }
.home-process li { display:grid; justify-items:center; align-content:start; gap:9px; padding-inline:3px; text-align:center; font-size:clamp(.7rem,2.45vw,.92rem); font-weight:650; line-height:1.25; }
.home-process li + li { border-left:1px solid #fff3; }
.home-process li .ui-icon { width:21px; height:21px; stroke:#d8bdf4; }
.home-faq { display:grid; gap:12px; scroll-margin-top:16px; border-top:0; }
.home-faq-list { text-align:left; }
.home-faq-list details + details { border-top:1px solid var(--line); }
.home-faq-list summary { display:flex; align-items:center; gap:12px; min-height:48px; padding-block:9px; font-size:.95rem; font-weight:700; list-style:none; }
.home-faq-list p { max-width:62ch; margin:0 0 12px 32px; color:var(--muted); font-size:.89rem; line-height:1.55; }
.sign-in-page { width:min(390px, 100%); margin:clamp(36px, 7vw, 85px) auto; }
.sign-in-page h1 { margin-bottom:14px; }
.sign-in-page form { display:grid; gap:12px; }
.sign-in-page form > button { width:100%; }
.sign-in-page form > a { display:inline-flex; align-items:center; min-height:44px; font-size:.9rem; font-weight:700; }
.sign-in-page .hint { margin-bottom:3px; }
.site-footer {
    display:flex; align-items:center; justify-content:space-between; gap:12px 24px;
    margin-block-start:auto; padding-block:30px 18px;
}
.footer-wordmark { display:inline-flex; align-items:center; min-height:44px; color:var(--button); font-size:1.25rem; font-weight:750; letter-spacing:-.055em; text-decoration:none; }
.footer-navigation { display:grid; gap:var(--compact-action-gap); min-width:0; }
:is(.footer-site-links,.footer-legal) { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:var(--compact-action-gap) var(--action-gap); }
.footer-site-links + .footer-legal { border-top:1px solid var(--line); }
:is(.footer-site-links,.footer-legal) a { display:inline-flex; align-items:center; min-height:44px; color:var(--muted); font-size:.875rem; text-decoration:none; }
:is(.footer-site-links,.footer-legal) a:is(:hover,[aria-current]) { text-decoration:underline; }
.published-view .site-footer { width:min(760px,100% - 24px); }
.pricing-page { width:min(875px, 100%); margin:clamp(30px, 6vw, 72px) auto; }
.pricing-heading { margin-bottom:clamp(22px, 4vw, 36px); }
.pricing-heading h1 { margin-bottom:8px; }
.pricing-heading p, .pricing-plan > p:not(.pricing-amount), .pricing-note { color:var(--muted); }
.pricing-plans { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.pricing-plan {
    display:flex; flex-direction:column; align-items:flex-start; gap:14px;
    padding:clamp(18px, 4vw, 34px); border:1px solid var(--line); border-radius:12px; background:var(--panel);
}
.pricing-plan-paid { background:#eee7f4; border-color:#cbbbd8; }
.pricing-plan h2 { font-size:1.22rem; }
.pricing-amount { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 10px; }
.pricing-amount strong { font:720 clamp(2.6rem, 7vw, 4.1rem)/1 var(--brand-sans); letter-spacing:.015em; font-variant-numeric:tabular-nums; color:var(--accent); }
.pricing-amount span { color:var(--muted); font-size:.9rem; }
.pricing-plan ul { margin:0 0 4px; padding-left:1.2rem; }
.pricing-plan li + li { margin-top:6px; }
.pricing-plan .button { margin-top:auto; }
.pricing-note { margin-top:18px; max-width:68ch; }
@media (max-width:580px) { .pricing-plans { grid-template-columns:minmax(0,1fr); } }
.intake-language-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:10px; margin-block:10px; align-items:start; }
.language-picker, .scan-language-option { margin-block:8px; }
.language-picker { padding:8px 10px; border:1px solid var(--line); border-radius:7px; }
.language-picker summary, .scan-language-option summary { cursor:pointer; color:var(--accent); font-weight:700; }
.language-picker .hint { margin:8px 0; }
.language-lock {
    position:relative; display:inline-block; width:11px; height:9px; margin:0 7px 0 3px;
    border:1.5px solid currentColor; border-radius:2px; vertical-align:baseline;
}
.language-lock::before {
    content:""; position:absolute; bottom:100%; left:1px; right:1px; height:6px;
    border:1.5px solid currentColor; border-bottom:0; border-radius:5px 5px 0 0;
}
.language-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(105px,1fr)); gap:5px 10px; }
.language-version-status { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:4px 8px; margin-block:6px; }
.language-publish-hint { margin-block:12px; }
.language-version-choice { margin-top:10px; }
#add-page-language { scroll-margin-block-start:90px; }
.language-version-choice button,
.language-version-choice button + .hint { margin-block-start:var(--action-content-space); }
.language-editor { width:min(760px,100%); margin:20px auto; }
.language-editor > .hint { margin:10px 0 18px; }
.language-editor .panel p.hint { margin-top:9px; }
.languages { display:flex; flex-wrap:wrap; gap:6px; }
.resume-view .languages { margin:20px auto; width:min(95%,1020px); }
.legal-document { width:min(68ch,100%); margin:clamp(36px,7vw,78px) auto; }
.legal-document h1 { font:750 clamp(2.2rem,6vw,3.5rem)/1.08 var(--brand-sans); letter-spacing:-.025em; }
.legal-document section { margin-top:30px; }
.legal-document p { margin-top:10px; }
.legal-document ul { margin-top:10px; padding-left:1.25rem; }
.legal-document li + li { margin-top:6px; }
@media(min-width:700px) {
    .home-hero { gap:clamp(20px,3vw,34px); padding-top:clamp(30px,4.5vw,54px); }
    .home-section { margin-top:47px; }
    .home-use-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
    .home-use { padding:16px; }
    .home-process,.home-faq { grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:24px; }
}
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:699px), (max-width:950px) and (pointer:coarse) {
    .bar { gap:8px; min-height:54px; padding-block:4px; }
    .home-hero { grid-template-columns:minmax(0,1fr); gap:16px; }
    .home-headline-icons [data-source-icon] { width:clamp(84px,22vw,108px); }
    .home-headline-phrase { font-size:clamp(2.3rem,10.8vw,4.35rem); }
    .home-quick-start .intake-panel { max-width:550px; margin-inline:auto; padding:18px; }
    .home-quick-start .intake-pickers { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .home-quick-start .file-choice {
        flex-direction:row; min-height:48px; gap:7px; font-size:clamp(.79rem,2.5vw,.9rem);
    }
    .home-quick-start .file-choice .ui-icon { width:19px; height:19px; }
    .home-quick-start #open-camera {
        min-height:48px; background:var(--button); color:#fff; border-color:var(--button);
        font-size:1rem;
    }
    .home-quick-start #open-camera:hover { background:#4b365f; }
    .home-note { margin-top:10px; }
    .home-section { margin-top:25px; text-align:center; }
    #examples { margin-top:18px; padding-top:14px; }
    .home-use { display:flex; align-items:center; gap:8px; min-height:58px; padding:8px; text-align:left; }
    .home-use-icon { flex:none; width:28px; height:28px; margin:0; }
    .home-use-icon .ui-icon { width:17px; height:17px; }
    .home-use h3 { display:block; line-height:1.2; font-size:.88rem; }
    .home-use { display:grid; grid-template-columns:auto 1fr; align-content:start; }
    .home-use h3 .ui-icon { display:none; }
    .home-use p { grid-column:1 / -1; margin-top:0; font-size:.82rem; }
    .home-process { grid-template-columns:minmax(0,1fr); }
    .home-process h2 { margin-inline:auto; max-width:19ch; }
    .site-footer { flex-direction:column; gap:0; text-align:center; }
    :is(.footer-site-links,.footer-legal) { justify-content:center; }
}

@media(max-width:430px) and (max-height:730px) {
    .home-hero { padding-top:14px; gap:16px; }
    #examples { margin-top:9px; padding-top:10px; }
}

@media(max-width:365px) {
    .home-use { gap:6px; padding-inline:6px; }
    .home-use-icon { width:20px; height:24px; }
    .home-use-icon .ui-icon { width:15px; height:15px; }
    .home-use h3 { font-size:.8rem; }
}

@media(max-width:350px) and (max-height:620px) {
    #examples { margin-top:7px; padding-top:8px; }
}

@media(max-width:430px) { .home-use-list { grid-template-columns:minmax(0,1fr); } }

.intake-example[data-palette="brunch"] { --example-paper:#fff7ed; --example-ink:#573229; --example-accent:#93412d; }
.intake-example[data-palette="cafe"] { --example-paper:#29354f; --example-ink:#fff4df; --example-accent:#e4bd80; }
.intake-example[data-palette="gig"] { --example-paper:#261733; --example-ink:#fff4e7; --example-accent:#ffe0a9; }
.intake-example[data-palette="invitation"] { --example-paper:#edf0dd; --example-ink:#2c4632; --example-accent:#3d5234; }
.intake-example[data-palette="agenda"] { --example-paper:#ffdfb1; --example-ink:#472d23; --example-accent:#873f29; }
.intake-example[data-palette="home"] { --example-paper:#f8f6ed; --example-ink:#313b34; --example-accent:#465844; }
.intake-example[data-palette="rental"] { --example-paper:#23434a; --example-ink:#f9f2dd; --example-accent:#c8e2da; }
.intake-example[data-palette="openhouse"] { --example-paper:#f7e2cc; --example-ink:#613c27; --example-accent:#80452c; }
.intake-example[data-palette="designer"] { --example-paper:#f3edf7; --example-ink:#342544; --example-accent:#604076; }
.intake-example[data-palette="professional"] { --example-paper:#f6fbff; --example-ink:#253849; --example-accent:#3d546d; }
.intake-example[data-palette="portfolio"] { --example-paper:#ececda; --example-ink:#333929; --example-accent:#4e5637; }
.intake-example[data-palette="market"] { --example-paper:#fff8ef; --example-ink:#4f3627; --example-accent:#6c442b; }
.intake-example[data-palette="collection"] { --example-paper:#25467c; --example-ink:#f6f2e9; --example-accent:#d8e7ff; }
.intake-example[data-palette="yardsale"] { --example-paper:#efc555; --example-ink:#42361c; --example-accent:#59421b; }
.intake-example[data-palette="week"] { --example-paper:#ecf2dc; --example-ink:#2f493a; --example-accent:#3d5946; }
.intake-example[data-palette="workshop"] { --example-paper:#ffebd8; --example-ink:#4f3629; --example-accent:#814831; }
.intake-example[data-palette="show"] { --example-paper:#eff1fa; --example-ink:#333661; --example-accent:#4c4c7b; }
.intake-example[data-palette="studio"] { --example-paper:#eeeef8; --example-ink:#303860; --example-accent:#43578a; }
.intake-example[data-palette="announcement"] { --example-paper:#e9bdde; --example-ink:#50234c; --example-accent:#562354; }
.intake-example[data-palette="guide"] { --example-paper:#f5f3e0; --example-ink:#354631; --example-accent:#495a37; }
.intake-view .workspace:has(.intake-examples) { margin-top:clamp(22px, 3.4vw, 44px); }
.intake-hero:has(.intake-examples) .intake-intro .brand-headline {
    font-size:clamp(2.35rem, 6vw, 4.65rem);
}
.intake-hero .intake-examples {
    max-width:1030px;
    margin:0 auto clamp(24px, 4vw, 42px);
}
.intake-hero:has(#paste-option[open]) .intake-examples {
    display:none;
}
.intake-example-list {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:clamp(8px, 1.7vw, 21px);
    margin:0;
    padding:0;
    list-style:none;
}
.intake-example-list > li:not(:nth-child(2)) { padding-top:clamp(6px, 1.35vw, 17px); }
.intake-example {
    --example-paper:#faf4e9;
    --example-ink:#293c32;
    --example-accent:#76513a;
    position:relative;
    margin:0;
}
.intake-example-window {
    container-type:inline-size;
    display:flex;
    flex-direction:column;
    aspect-ratio:1.18;
    overflow:hidden;
    border:1px solid #d9d1dc;
    border-radius:clamp(5px, .9vw, 12px);
    background:#faf8fb;
    box-shadow:0 8px 22px #36244818;
}
.intake-example-browser {
    display:grid;
    grid-template-columns:1fr 1.8fr 1fr;
    align-items:center;
    gap:4cqi;
    min-height:clamp(13px, 8cqi, 24px);
    padding-inline:4cqi;
    border-bottom:1px solid #d9d1dc;
    background:#f0ecf3;
}
.intake-example-browser-dots {
    width:clamp(2px, 1.4cqi, 5px);
    aspect-ratio:1;
    border-radius:50%;
    background:#8c799b;
    box-shadow:2.5cqi 0 #aa9ab6, 5cqi 0 #c2b5cb;
}
.intake-example-address {
    border-radius:3px;
    background:#fff;
    color:#51445b;
    text-align:center;
    font:650 clamp(5px, 3cqi, 9px)/1.35 var(--brand-sans);
}
.intake-example-page {
    display:grid;
    flex:1 1 auto;
    min-height:0;
    grid-template-rows:auto minmax(0, 1fr) auto auto;
    color:var(--example-ink);
    background:var(--example-paper);
}
.intake-example-sitebar, .intake-example-footer {
    display:flex;
    align-items:center;
    min-width:0;
    padding:2.5cqi 6cqi;
    background:color-mix(in srgb, var(--example-paper) 94%, var(--example-ink));
}
.intake-example-sitebar {
    justify-content:space-between;
    gap:3cqi;
    border-bottom:1px solid color-mix(in srgb, var(--example-ink) 16%, transparent);
    font:700 clamp(5px, 2.9cqi, 10px)/1.1 var(--brand-sans);
    white-space:nowrap;
}
.intake-example-wordmark { overflow:hidden; text-overflow:ellipsis; }
.intake-example-nav { flex-shrink:0; }
.intake-example-nav span { margin-left:2.6cqi; opacity:.83; }
.intake-example-masthead {
    position:relative;
    isolation:isolate;
    display:grid;
    min-width:0;
    min-height:0;
    overflow:hidden;
    align-items:center;
}
.intake-example-masthead img { display:block; width:100%; height:100%; min-height:0; object-fit:cover; }
.intake-example-copy { min-width:0; padding:2cqi 6cqi; }
.intake-example-kicker { display:block; color:var(--example-accent); font:700 clamp(5px, 3.4cqi, 11px)/1.14 var(--brand-sans); }
.intake-example-copy strong {
    display:block;
    margin:.12em 0 0;
    font:400 clamp(12px, 11.6cqi, 37px)/.94 var(--brand-serif);
    text-wrap:balance;
}
.intake-example-content {
    min-width:0;
    padding:3.4cqi 6cqi;
    border-top:1px solid color-mix(in srgb, var(--example-ink) 18%, transparent);
    font:600 clamp(5px, 3.25cqi, 10px)/1.2 var(--brand-sans);
}
.intake-example-content > strong { display:block; margin-bottom:.28em; }
.intake-example-content ul { padding:0; margin:0; list-style:none; }
.intake-example-content li {
    display:flex;
    justify-content:space-between;
    gap:3cqi;
    padding:.26em 0;
    border-top:1px solid color-mix(in srgb, var(--example-ink) 17%, transparent);
}
.intake-example-content li span:last-child { flex-shrink:0; }
.intake-example-content li span:only-child { flex-shrink:1; }
.intake-example-footer { justify-content:flex-end; }
.intake-example-footer img { display:block; width:clamp(6px, 3.6cqi, 12px); height:auto; }
.intake-example-page[data-layout="print"] .intake-example-masthead,
.intake-example-page[data-layout="invitation"] .intake-example-masthead { text-align:center; }
.intake-example-page[data-layout="editorial"] .intake-example-masthead { grid-template-rows:minmax(0, 1fr) auto; }
.intake-example-page[data-layout="editorial"] .intake-example-copy strong { font-size:clamp(12px, 9cqi, 31px); }
.intake-example-page[data-layout="split"] .intake-example-masthead { grid-template-columns:1.1fr 1fr; grid-template-rows:minmax(0, 1fr); }
.intake-example-page[data-layout="split"] .intake-example-masthead img { grid-column:2; grid-row:1; }
.intake-example-page[data-layout="split"] .intake-example-copy { grid-column:1; grid-row:1; }
.intake-example-page[data-layout="split"] .intake-example-copy strong { font-size:clamp(11px, 10.3cqi, 33px); }
.intake-example-page[data-layout="poster"] .intake-example-masthead { align-items:end; background:color-mix(in srgb, var(--example-paper) 82%, var(--example-accent)); }
.intake-example-page[data-layout="poster"] .intake-example-masthead:has(img) { --example-ink:#fff9f0; --example-accent:#ffe5a8; }
.intake-example-page[data-layout="poster"] .intake-example-masthead img { position:absolute; inset:0; z-index:-2; object-position:50% 30%; }
.intake-example-page[data-layout="poster"] .intake-example-masthead:has(img)::before {
    content:""; position:absolute; inset:0; z-index:-1;
    background:linear-gradient(90deg,#1b1223e8,#1b122373 65%,#1b122326);
}
.intake-example-page[data-layout="poster"] .intake-example-copy { padding-block:4cqi; }
.intake-example-page[data-layout="poster"] .intake-example-copy strong,
.intake-example-page[data-layout="schedule"] .intake-example-copy strong,
.intake-example[data-palette="professional"] .intake-example-copy strong {
    font:800 clamp(11px, 10.6cqi, 35px)/.92 var(--brand-sans);
    letter-spacing:-.055em;
}
.intake-example-page[data-layout="invitation"] .intake-example-masthead::before {
    content:""; position:absolute; inset:7% 6%; pointer-events:none;
    border:1px solid color-mix(in srgb, var(--example-ink) 30%, transparent);
}
.intake-example figcaption {
    margin-top:8px;
    color:var(--ink);
    text-align:center;
    font-size:clamp(.69rem, 1.6vw, .9rem);
    font-weight:700;
    line-height:1.2;
}
@media (max-width:639px) {
    .intake-hero:has(.intake-examples) .intake-intro { margin-bottom:16px; }
    .intake-hero .intake-examples { margin-bottom:clamp(13px, 3vw, 22px); }
    .intake-example-list {
        display:flex;
        gap:12px;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        overscroll-behavior-x:contain;
        scrollbar-width:none;
        margin-inline:-5px;
        padding:3px 5px 12px;
    }
    .intake-example-list::-webkit-scrollbar { display:none; }
    .intake-example-list > li {
        flex:0 0 86%;
        min-width:0;
        scroll-snap-align:center;
    }
    .intake-example-list > li:not(:nth-child(2)) { padding-top:0; }
    .intake-example-window { aspect-ratio:1.33; }
}

/* Juniper Kitchen menu demo */
.juniper-view {
    --paper:#f8f3e8;
    --ink:#263a30;
    --muted:#4e5d51;
    --line:#d7cdbb;
    --accent:#2b4538;
    --juniper-gutter:clamp(20px, 6vw, 96px);
}
.juniper-create-launcher {
    position:fixed; z-index:20;
    inset-inline-end:calc(16px + env(safe-area-inset-right));
    inset-block-end:calc(16px + env(safe-area-inset-bottom));
    display:inline-flex; align-items:center; gap:9px; min-height:48px;
    padding:9px 14px;
    border:1px solid #a99364; border-radius:9px;
    background:#20392f; color:#fff4df; box-shadow:0 5px 18px #172b2440;
    font-size:.88rem; font-weight:750; text-decoration:none;
}
.published-owner-view .juniper-create-launcher { inset-block-end:calc(72px + env(safe-area-inset-bottom)); }
.juniper-create-launcher:hover { background:#2e4e40; color:#fff4df; }
.juniper-create-launcher:focus-visible { outline:2px solid #20392f; outline-offset:3px; }
@media (prefers-reduced-motion:no-preference) {
    .juniper-create-launcher { animation:juniper-create-enter 210ms ease-out both; }
}
@keyframes juniper-create-enter { from { opacity:0; transform:translateY(10px); } }
.juniper-page { margin-block-end:0; }
.juniper-view .juniper-page.custom-page-colors {
    --juniper-custom-hero:color-mix(in srgb, var(--accent) 36%, #151b20);
    --juniper-custom-highlight:color-mix(in srgb, var(--highlight) 20%, #fffaf0);
    --line:color-mix(in srgb, var(--highlight) 30%, #d7cdbb);
    background:var(--juniper-custom-highlight);
}
.juniper-view .juniper-page.custom-page-colors .juniper-hero {
    background:var(--juniper-custom-hero);
}
.public-page.custom-page-colors:not(.page-layout-resume, .purpose-page) {
    --button:color-mix(in srgb, var(--accent) 38%, #141414);
}
.public-page.custom-page-colors:not(.page-layout-resume, .purpose-page) .card a {
    color:var(--button);
}
.juniper-hero {
    position:relative;
    display:grid;
    grid-template-columns:minmax(0, 43fr) minmax(0, 57fr);
    background:#20392f;
    color:#fbf0d9;
}
.juniper-hero-copy {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:clamp(30px, 4.4vw, 75px) var(--juniper-gutter);
}
.juniper-location {
    font-size:clamp(.75rem, 1.2vw, .9rem);
    font-weight:650;
    letter-spacing:.11em;
}
.juniper-logo { width:auto; max-width:130px; max-height:80px; margin-bottom:20px; }
.juniper-hero h1 {
    margin-block:18px 10px;
    font:400 clamp(3.45rem, 7.3vw, 7.6rem)/.87 var(--brand-serif);
    letter-spacing:-.045em;
    overflow-wrap:normal;
    text-wrap:balance;
}
.juniper-edition {
    font:italic 400 clamp(1.65rem, 3.1vw, 3rem)/1.05 var(--brand-serif);
    color:#ebce95;
}
.juniper-description,.juniper-facts { margin-top:18px; }
.juniper-facts dt { font-weight:700; }
.hero-action-row {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    max-inline-size:100%;
    margin-block-start:14px;
}
.hero-action-row:not(:has(> :not(.page-tools, dialog, [hidden]), .page-tools > :not([hidden]))) { display:none; }
.hero-action-row > :is(.page-tools, .juniper-actions) { margin-block:0; max-inline-size:100%; }
.juniper-actions { display:flex; flex-wrap:wrap; gap:8px; }
.juniper-actions :is(a, button) {
    display:inline-flex;
    align-items:center;
    gap:14px;
    min-height:44px;
    padding:5px 15px;
    border:1px solid #cfb989;
    border-radius:4px;
    background:transparent;
    color:inherit;
    text-decoration:none;
    font-size:.88rem;
    font-weight:700;
}
.juniper-actions :is(a, button):hover { background:#fbf0d9; color:#20392f; }
.juniper-hero .language-selector {
    position:absolute;
    z-index:1;
    inset-block-start:clamp(14px, 2.5vw, 28px);
    inset-inline-end:clamp(16px, 3vw, 40px);
}
.juniper-hero .language-selector summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.7rem;
    min-height:44px;
    padding:4px 13px;
    border:1px solid #cfb989;
    border-radius:8px;
    background:#20392f;
    color:#fbf0d9;
    font-size:.87rem;
    font-weight:700;
    cursor:pointer;
    list-style:none;
}
.juniper-hero .language-selector summary:focus-visible { outline:2px solid #fbf0d9; outline-offset:3px; }
.juniper-hero .language-selector .languages {
    position:absolute;
    inset-block-start:calc(100% + 6px);
    inset-inline-end:0;
    display:grid;
    gap:2px;
    width:max-content;
    min-width:144px;
    max-width:min(65vw, 300px);
    margin:0;
    padding:5px;
    border:1px solid #cfb989;
    border-radius:8px;
    background:#fffaf0;
    box-shadow:0 8px 22px #15271f42;
}
.juniper-hero .language-selector .languages a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:44px;
    border:0;
    border-radius:4px;
    padding:6px 10px;
    color:#20392f;
    text-decoration:none;
}
.juniper-hero .language-selector .languages a:hover,
.juniper-hero .language-selector .languages [aria-current] { background:#e9e2d2; }
.juniper-hero .language-selector .languages [aria-current]::after { content:"✓"; }
.juniper-hero .language-selector .languages a:focus-visible { outline:2px solid #20392f; outline-offset:-2px; }
.juniper-hero :is(a, button):focus-visible { outline-color:#ebce95; }
.juniper-hero-photo {
    display:block;
    width:100%;
    height:100%;
    min-height:clamp(365px, 34vw, 540px);
    contain:size;
    object-fit:cover;
    object-position:center;
}
.juniper-share-dialog {
    width:min(480px, 100% - 32px);
    padding:clamp(18px, 5vw, 28px);
    border:1px solid var(--line);
    border-radius:12px;
    background:var(--paper);
    color:var(--ink);
}
.juniper-share-dialog::backdrop { background:#15271f9c; }
.juniper-share-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:16px; }
.juniper-share-heading h2 { font:700 clamp(1.6rem, 6vw, 2.1rem)/1.1 var(--brand-sans); }
.juniper-share-heading button {
    width:44px;
    min-height:44px;
    padding:0;
    border:0;
    background:transparent;
    color:var(--ink);
    font-size:1.7rem;
    line-height:1;
}
.juniper-share-dialog label { font-size:.86rem; font-weight:700; }
.juniper-share-link { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:8px; margin-top:5px; }
.juniper-share-link input { width:100%; min-width:0; background:#fffaf0; font-size:.9rem; }
.juniper-share-link button { background:#20392f; color:#fbf0d9; border-color:#20392f; }
.juniper-share-actions { display:flex; flex-wrap:wrap; gap:var(--action-gap); margin-block-start:var(--action-content-space); }
.juniper-share-dialog :is(.juniper-share-link button, .juniper-share-actions a, .juniper-share-actions button) {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:5px 12px;
    border:1px solid var(--line);
    border-radius:8px;
    font-size:.85rem;
    font-weight:700;
    text-decoration:none;
}
.juniper-share-dialog .juniper-share-link [data-copy-menu] { display:grid; place-items:center; }
.juniper-share-link [data-copy-menu] span { grid-area:1 / 1; white-space:nowrap; }
.juniper-share-link [data-copy-menu] span:last-child,
.juniper-share-link [data-copy-menu][data-copied] span:first-child { opacity:0; }
.juniper-share-link [data-copy-menu][data-copied] span:last-child { opacity:1; }
.juniper-share-link [data-copy-menu][data-copied] { background:#365b49; }
.juniper-share-link [data-copy-menu]:active { box-shadow:inset 0 2px 5px #0e211c80; }
@media (prefers-reduced-motion: no-preference) {
    .juniper-share-link [data-copy-menu] { transition:background-color .18s ease; }
    .juniper-share-link [data-copy-menu] span { transition:opacity .18s ease; }
}
.juniper-share-actions :is(a, button) { background:#fffaf0; color:var(--ink); }
.juniper-share-actions :is(a, button):hover { background:#e8e2d2; }
.juniper-share-status:not(:empty) { margin-top:8px; color:var(--muted); font-size:.85rem; }
.juniper-menu,
.juniper-view .site-footer { width:min(1120px, 100% - 2 * var(--juniper-gutter)); margin-inline:auto; }
.juniper-menu { scroll-margin-block-start:20px; }
.juniper-view .juniper-menu {
    --juniper-menu-inset:max(var(--juniper-gutter), calc((100% - 1120px) / 2));
    width:100%;
}
.juniper-view .juniper-menu > :is(.menu-browser, .juniper-category-nav, .juniper-section, .page-location-map) {
    padding-inline:var(--juniper-menu-inset);
}
.juniper-view .juniper-menu > .juniper-category-nav { margin-inline:0; }
.section-navigation a,
.section-navigation-trigger {
    font: 720 calc(.88rem + 1pt)/1.25 var(--brand-sans);
    text-transform: uppercase;
}
.juniper-category-nav {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    padding-block:18px 24px;
    border-bottom:1px solid var(--line);
}
.juniper-category-nav a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:6px 15px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fffaf0;
    color:var(--ink);
    text-align:center;
    text-decoration:none;
}
.juniper-category-nav a:hover { background:#e8e2d2; border-color:#a99b7f; }
.juniper-menu .juniper-category-nav a:focus-visible { outline:2px solid #20392f; outline-offset:3px; }
.juniper-section { padding-block:clamp(26px, 4.5vw, 58px); scroll-margin-top:16px; }
.juniper-section + .juniper-section { border-top:1px solid var(--line); }
.juniper-section h2 {
    margin-block-end:clamp(18px, 3vw, 30px);
    font:400 clamp(2.65rem, 5.6vw, 4.65rem)/.95 var(--brand-serif);
    letter-spacing:-.035em;
}
.juniper-items,.juniper-item-group { display:grid; gap:0 clamp(18px, 4vw, 52px); align-items:start; }
.juniper-item-group,.juniper-items-featured { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.juniper-items-featured .juniper-item-group { grid-template-columns:1fr; }
.juniper-item { min-width:0; }
.juniper-item img { display:block; width:100%; aspect-ratio:1.85; object-fit:cover; }
.juniper-item-copy { padding-block:14px; }
.juniper-item-heading { display:flex; align-items:baseline; justify-content:space-between; gap:8px 12px; }
.juniper-item h3 { font:400 clamp(1.42rem, 2.65vw, 2.05rem)/1.05 var(--brand-serif); overflow-wrap:anywhere; }
.juniper-item strong { flex:none; font-size:.9rem; font-variant-numeric:tabular-nums; }
.juniper-item p { margin-top:5px; color:var(--muted); font-size:.95rem; line-height:1.45; }
.juniper-item a { display:inline-block; margin-top:6px; }
.juniper-items-featured .juniper-item-group:first-child .juniper-item {
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:10px;
    background:#efe6d5;
}
.juniper-items-featured .juniper-item-group:first-child .juniper-item .juniper-item-copy { padding:clamp(14px, 2vw, 23px); }
.juniper-weekly-menu .juniper-section {
    display:grid;
    grid-template-columns:minmax(120px,1fr) minmax(0,3fr);
    gap:clamp(16px,4vw,52px);
    padding-block:clamp(24px,3.6vw,44px);
}
.juniper-weekly-menu .juniper-section:first-of-type { margin-top:18px; }
.juniper-weekly-menu .juniper-section h2 {
    margin:0;
    font-size:clamp(2.2rem,4vw,3.8rem);
}
.juniper-weekly-menu .juniper-item { padding-top:2px; }
.juniper-weekly-menu .juniper-section-with-photo {
    align-items:center;
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
    column-gap:clamp(18px,4vw,52px);
    row-gap:16px;
}
.juniper-section-with-photo > h2 { grid-column:1 / -1; }
.juniper-weekly-photo {
    display:block; width:100%; height:auto; border-radius:8px; background:#e6ddca;
}
.juniper-section-with-photo .juniper-item-group { grid-template-columns:1fr; gap:16px; }
@media (max-width:700px) {
    .juniper-weekly-menu .juniper-section { grid-template-columns:1fr; gap:13px; }
    .juniper-weekly-menu .juniper-item-group { gap:12px; }
}
.juniper-demo-note { padding-block:6px 22px; color:var(--muted); font-size:.86rem; }
.juniper-view .site-footer { padding:16px 0; border-top:1px solid var(--line); }
.juniper-view .footer-brand { display:inline-flex; min-width:44px; min-height:44px; align-items:center; }
@media (max-width:700px) {
    .juniper-hero { grid-template-columns:1fr; }
    .juniper-hero-photo { grid-row:1; min-height:0; height:auto; contain:none; aspect-ratio:2.3; object-position:50% 58%; }
    .juniper-hero-copy { padding-block:22px 25px; }
    .juniper-hero h1 { font-size:clamp(2.85rem, 11vw, 4.85rem); margin-block:10px 7px; }
    .juniper-category-nav {
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:5px;
        margin-inline:calc(12px - var(--juniper-gutter));
        padding-block:14px 18px;
    }
    .juniper-category-nav:has(> :nth-child(7)) { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .juniper-category-nav a {
        min-width:0;
        padding:5px 4px;
        border-radius:9px;
        overflow-wrap:anywhere;
    }
    .juniper-item-group,.juniper-items-featured { grid-template-columns:1fr; }
    .juniper-items-featured .juniper-item-group:first-child .juniper-item { margin-bottom:5px; }
    .juniper-view .juniper-menu > .juniper-section { padding-inline:0; }
    .juniper-view .juniper-menu .juniper-section > h2,
    .juniper-view .juniper-menu .juniper-section .juniper-item .juniper-item-copy {
        padding-inline:var(--juniper-gutter);
    }
    .juniper-view .juniper-menu .menu-section-note { margin-inline:var(--juniper-gutter); }
    .juniper-view .juniper-menu .juniper-items-featured .juniper-item-group:first-child .juniper-item {
        border-inline:0;
        border-radius:0;
    }
    .juniper-view .juniper-menu .juniper-weekly-photo { border-radius:0; }
}

.public-link-section .cards { display:grid; gap:8px; }
.public-link-section .card {
    align-items:center; padding:12px 15px;
    border:1px solid var(--line); border-radius:9px;
}
.public-link-section .card > div { flex:1; }
.public-link-section .card h3 a {
    display:flex; align-items:center; justify-content:space-between;
    gap:12px; margin:0; color:inherit;
}
.public-link-section .card h3 .ui-icon { width:16px; height:16px; flex:none; color:var(--accent); }

.slot-checkout { width:min(100%, 520px); margin:clamp(22px, 5vw, 60px) auto; }
.slot-checkout-back { display:inline-block; margin-bottom:14px; }
.slot-checkout-summary {
    display:grid;
    gap:9px;
    margin-top:20px;
    padding:clamp(20px, 5vw, 34px);
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--panel);
}
.slot-checkout-summary h2 { font:700 2rem/1.1 var(--brand-sans); }
.slot-checkout-summary .pricing-amount { margin-block:6px; }
.slot-checkout-summary .pricing-amount strong { font-size:clamp(2.7rem, 7vw, 4.4rem); }
.slot-checkout-summary :is(form, .button) { margin-block-start:var(--compact-action-gap); }
.slot-checkout-summary form button { width:100%; }

.customer-domain-panel form { display:flex; align-items:flex-end; flex-wrap:wrap; gap:var(--action-content-space); margin-block-start:var(--action-content-space); }
.customer-domain-panel label { flex:1 1 200px; }
.customer-domain-panel label input { width:100%; }
.customer-domain-records { display:grid; gap:8px; margin-top:12px; }
.customer-domain-records > div { display:grid; gap:4px; }
.customer-domain-records dt { font-weight:700; }
.customer-domain-records dd { display:flex; align-items:center; gap:8px; }
.customer-domain-records code { overflow-wrap:anywhere; }

.customer-menu-site {
    background:#faf6ed;
}
.customer-menu {
    --juniper-gutter:clamp(20px, 5vw, 76px);
    --menu-tone:var(--accent);
    --menu-hero:color-mix(in srgb, var(--menu-tone) 38%, #241f1a);
    --menu-rule:color-mix(in srgb, var(--menu-tone) 22%, #e4d9c9);
    --paper:color-mix(in srgb, var(--menu-source-paper) 30%, #faf6ed);
    --line:var(--menu-rule);
    --ink:#25221c;
    --muted:#554d43;
    color:var(--ink);
    background:var(--paper);
}
.customer-menu-hero {
    background-color:var(--menu-hero);
    background-image:url("/brand/menu-grain.png"),
        radial-gradient(ellipse at 50% 0%, #fbebd31c, transparent 66%),
        linear-gradient(170deg, transparent 45%, #1b130e25);
    border-bottom:3px solid var(--menu-tone);
}
.customer-menu-text-hero { grid-template-columns:1fr; }
.customer-menu-text-hero .juniper-hero-copy {
    width:min(1120px, 100% - 2 * var(--juniper-gutter));
    margin-inline:auto;
    align-items:center;
    text-align:center;
    padding:clamp(30px, 6vw, 85px) 0 clamp(34px, 6vw, 82px);
}
.customer-menu-text-hero .juniper-hero-copy::after {
    content:"";
    width:clamp(58px, 8vw, 112px);
    height:1px;
    margin-top:clamp(18px, 3.2vw, 38px);
    background:linear-gradient(90deg, #ebce9555, #ebce95, #ebce9555);
}
.customer-menu-multilingual .juniper-hero-copy { padding-block-start:clamp(68px, 8vw, 110px); }
.customer-menu .juniper-hero h1 { overflow-wrap:anywhere; }
.customer-menu .juniper-hero h1.customer-menu-edition-heading {
    color:#fbf0d9;
    font-size:clamp(2.65rem, 6.4vw, 6rem);
    line-height:.98;
}
.customer-menu .juniper-logo { max-width:155px; max-height:74px; object-fit:contain; }
.customer-menu .juniper-description { max-width:52ch; }
.customer-menu .juniper-facts div { display:flex; flex-wrap:wrap; gap:4px 10px; }
.customer-menu .juniper-menu { padding-bottom:16px; }
.customer-menu .juniper-section h2 {
    border-bottom:1px solid var(--line);
    padding-bottom:.35em;
    margin-block-end:clamp(12px, 2vw, 24px);
}
.customer-menu .juniper-item { border-bottom:1px solid var(--line); }
.customer-menu .juniper-item-copy { padding-block:clamp(15px, 2vw, 22px); }
.customer-menu .juniper-item-heading { align-items:baseline; }
.customer-menu .juniper-item strong { white-space:nowrap; color:#483526; letter-spacing:.015em; }
.customer-menu .juniper-item p { max-width:56ch; margin-top:7px; }
.customer-menu.font-condensed .juniper-item h3 { font-family:"Arial Narrow","Aptos Narrow",var(--brand-sans); font-weight:720; font-size:clamp(1.12rem, 2.25vw, 1.62rem); }
.customer-menu.font-sans .juniper-item h3 { font-family:var(--brand-sans); font-weight:700; font-size:clamp(1.12rem, 2.25vw, 1.62rem); }
.customer-menu-credit { color:var(--muted); font-size:.8rem; padding-bottom:8px; }
.draft-page-preview { padding-block-end:calc(74px + env(safe-area-inset-bottom)); }
.menu-owner-actions {
    --owner-paper:#fffaf2;
    --owner-line:#d9c9b5;
    position:fixed;
    z-index:20;
    inset:auto calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) auto;
    margin:0;
    width:max-content;
    color:#30251c;
}
.menu-owner-actions summary {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:max-content;
    max-width:100%;
    margin-inline-start:auto;
    min-height:46px;
    padding:6px 7px 6px 14px;
    border:1px solid var(--owner-trigger-border, #6d5845);
    border-radius:12px;
    background:var(--owner-trigger, #302a24);
    color:#fff9ee;
    font-size:.875rem;
    font-weight:700;
    box-shadow:0 6px 22px #2b211e40;
    cursor:pointer;
    list-style:none;
}
body.published-owner-view {
    padding-block-end: calc(66px + env(safe-area-inset-bottom));
}
.published-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 14px;
    border: 1px solid var(--owner-trigger-border, #6d5845);
    border-radius: 12px;
    background: var(--owner-trigger, #302a24);
    color: #fff9ee;
    box-shadow: 0 6px 22px #211e1b44;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
}
.published-edit-link .ui-icon { width: 17px; height: 17px; color: var(--owner-disclosure, #ffe2aa); }
.published-edit-link:hover { filter: brightness(1.18); }
.published-edit-link:focus-visible { outline: 2px solid var(--owner-disclosure, #ffe2aa); outline-offset: 2px; }

.menu-owner-actions summary::-webkit-details-marker { display:none; }
.menu-owner-disclosure {
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:7px;
    background:#fff4e020;
    color:var(--owner-disclosure, #ffe2aa);
}
.menu-owner-disclosure .ui-icon { width:18px; height:18px; fill:currentColor; stroke:none; }
.menu-owner-actions:not([open]) .menu-owner-disclosure .ui-icon:last-child,
.menu-owner-actions[open] .menu-owner-disclosure .ui-icon:first-child { display:none; }
.menu-owner-panel {
    padding:10px;
    background:var(--owner-paper);
    border:1px solid var(--owner-line);
    border-radius:15px;
    box-shadow:0 16px 36px #2b211e36;
    position:absolute;
    inset:auto 0 calc(100% + 8px) auto;
    width:min(310px, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    margin:0;
    max-height:calc(100vh - 88px);
    max-height:calc(100dvh - 88px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow:auto;
}
.menu-owner-panel h2 {
    margin:0 0 6px;
    padding:4px 8px 9px;
    border-bottom:1px solid var(--owner-line);
    font:700 1.45rem/1.15 var(--brand-sans);
}
.menu-owner-guest { margin:8px 8px 10px; color:#604329; font-size:.84rem; }
.menu-owner-guest a { color:inherit; font-weight:750; }
.menu-owner-review {
    margin:8px 0;
    padding:8px 10px;
    border-inline-start:2px solid #a67643;
    background:#f7ebd8;
    color:#604329;
    font-size:.84rem;
}
.menu-owner-options { display:grid; gap:3px; }
.menu-owner-options :is(a, button) {
    display:grid;
    grid-template-columns:32px minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    min-height:46px;
    padding:5px 7px;
    border:1px solid transparent;
    border-radius:8px;
    color:inherit;
    text-align:start;
    text-decoration:none;
    font-size:.9rem;
    font-weight:680;
    line-height:1.25;
}
.menu-owner-icon {
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    border-radius:6px;
    background:#f1e6d8;
    color:#5a3f2b;
}
.menu-owner-icon .ui-icon { width:17px; height:17px; }
.menu-owner-icon .language-lock { margin:4px 0 0; }
.menu-owner-options .menu-owner-publish { background:#f4e6ca; border-color:#dec18f; }
.menu-owner-publish .menu-owner-icon { background:#e8cfa0; color:#4e331a; }
.menu-owner-price {
    padding:3px 6px;
    border:1px solid var(--owner-line);
    border-radius:6px;
    color:#62452f;
    white-space:nowrap;
    font-size:.75rem;
    font-variant-numeric:tabular-nums;
}
.menu-owner-options :is(a, button):hover { background:#f3ebdf; filter:none; }
.menu-owner-options .menu-owner-publish:hover { background:#eddbb8; }
.menu-owner-options :is(a, button):focus-visible,
.menu-owner-actions summary:focus-visible { outline:2px solid #815c38; outline-offset:1px; }
@media (max-width:700px) {
    .customer-menu-text-hero .juniper-hero-copy { padding-block:34px 38px; }
    .customer-menu-multilingual .juniper-hero-copy { padding-block-start:65px; }
    .customer-menu .juniper-menu { padding-bottom:8px; }
    .customer-menu .juniper-section:last-of-type { padding-block-end:16px; }
    .customer-menu .juniper-section h2 { font-size:clamp(2.2rem, 8.5vw, 2.65rem); }
    .customer-menu .juniper-item-copy { padding-block:13px; }
    .customer-menu.font-serif .juniper-item h3 { font-size:clamp(1.2rem, 5vw, 1.375rem); line-height:1.15; }
    .customer-menu .juniper-item p { margin-top:5px; }
    .customer-menu-credit { padding-bottom:0; }
}
.menu-brand-editor { margin-block:14px; }
.menu-brand-editor summary { cursor:pointer; font-weight:700; }
.menu-brand-editor > label { margin-block:8px; }
.menu-brand-editor input[type="url"] { width:100%; }
#menu-brand-result {
    display:flex; flex-wrap:wrap; gap:9px; align-items:center; margin-block:8px;
}
#menu-brand-result img {
    display:block; width:auto; max-width:160px; height:56px; padding:8px;
    object-fit:contain; background:#3b2e25; border-radius:6px;
}

#scan-limit {
    position:fixed;
    inset:0;
    width:100%;
    height:100vh;
    height:100dvh;
    max-width:none;
    max-height:none;
    margin:0;
    padding:clamp(22px, 6vw, 56px);
    border:0;
    background:#363636;
    color:#fffef6;
    overflow:auto;
}
#scan-limit[open] { display:grid; place-items:center; }
#scan-limit::backdrop { background:#363636; }
.scan-limit-content {
    display:grid;
    justify-items:center;
    text-align:center;
    gap:22px;
    width:min(100%, 32rem);
}
#scan-limit-heading {
    font-size:clamp(1.65rem, 5vw, 2.45rem);
    line-height:1.12;
    text-wrap:balance;
}
#scan-limit-heading:focus { outline:none; }
.scan-limit-content :is(button,a) {
    min-width:min(100%, 13rem);
    min-height:48px;
    background:#ffd126;
    color:#20211f;
    border-color:#c9970d;
}
.scan-limit-content :is(button,a):focus-visible { outline-color:#fffef6; }
#scan-limit-detail { max-width:31ch; color:#dedbd1; text-wrap:pretty; }
.scan-limit-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:var(--action-gap); }
.scan-limit-content .scan-limit-secondary {
    border-color:#ffffff65;
    background:transparent;
    color:#fffef6;
}

/* Page editor */
.editor-intro { margin-bottom:18px; }
.editor-intro h1 {
    margin:6px 0 4px;
    font:750 clamp(2.1rem,5vw,3.5rem)/1.08 var(--brand-sans);
    letter-spacing:-.03em;
}
.editor-page-name { color:var(--muted); overflow-wrap:anywhere; }
.editor-live-link {
    display:flex; flex-wrap:wrap; align-items:center; gap:var(--compact-action-gap);
    margin-block:var(--action-content-space); overflow-wrap:anywhere;
}
.editor-live-link > span { color:var(--muted); font-size:.78rem; font-weight:700; }
.editor-live-link > a { display:inline-flex; align-items:center; min-height:44px; max-width:100%; font-weight:700; }
.editor-language-switch {
    display:flex; flex-wrap:wrap; align-items:center; gap:8px;
    margin-block:14px 6px;
}
.editor-language-label { color:var(--ink); font-size:.86rem; font-weight:750; margin-inline-end:4px; }
.editor-language-option {
    display:inline-flex; align-items:center; min-height:44px; padding:6px 13px;
    border:1px solid var(--line); border-radius:7px; color:var(--ink); background:var(--panel);
    font-size:.88rem; font-weight:700; text-decoration:none;
}
.editor-language-option:is(:hover,[aria-current="page"]) { border-color:currentColor; background:var(--tint); }
.editor-language-option[aria-current="page"] { font-weight:800; }
@media (max-width:440px) {
    .editor-language-label { flex-basis:100%; }
}
.editor-jumps { display:flex; flex-wrap:wrap; column-gap:16px; margin-top:10px; }
.editor-jumps a { display:inline-flex; min-height:44px; align-items:center; font-size:.86rem; font-weight:700; }
.editor-layout { gap:clamp(12px,2.8vw,24px); }
.editor-layout > :is(form, aside) { min-width:0; }
.editor-layout .editor-card {
    min-width:0; margin:0 0 12px; padding:0 clamp(12px,2.3vw,21px) 14px; border:1px solid var(--line);
    border-radius:13px; background:var(--panel);
}
.editor-layout .editor-card:not([open]) { padding-bottom:0; }
.editor-summary {
    display:flex; justify-content:space-between; align-items:center; gap:12px;
    min-height:50px; padding:8px 0; list-style:none;
}
.editor-summary::-webkit-details-marker { display:none; }
.editor-summary > span:first-child { min-width:0; overflow-wrap:anywhere; }
.editor-summary strong { display:block; font-size:1.1rem; line-height:1.25; }
.editor-summary small { display:block; margin-top:2px; color:var(--muted); font-size:.8rem; line-height:1.35; }
.editor-summary .dashboard-disclosure { width:26px; height:26px; }
.editor-layout details[open] > .editor-summary { border-bottom:1px solid var(--line); margin-bottom:10px; }
.editor-layout details[open] > .editor-summary .dashboard-disclosure { background:var(--tint); }
.editor-layout :is(.editor-entry, .editor-entry-fields) { border:0; border-radius:0; width:100%; margin:0; padding:0; min-width:0; }
.editor-layout .editor-entry { border-bottom:1px solid var(--line); }
.editor-entry .editor-summary strong, .editor-share-option .editor-summary strong { font-size:.96rem; }
.editor-entry-fields { padding-bottom:8px !important; }
.editor-layout #add-entry { margin-top:12px; }
.editor-layout .fields { gap:2px 12px; }
.editor-layout .fields > label { margin-block:6px; }
.editor-layout input:not([type=checkbox],[type=color],[type=file]), .editor-layout select { min-height:44px; }
.editor-layout label.check { min-height:35px; }
.editor-layout label.check input { flex:none; }
.editor-save-area {
    display:flow-root;
    scroll-margin-block-start:90px;
}
.editor-save {
    display:flex;
    flex-wrap:wrap;
    gap:var(--action-gap);
    margin:var(--action-content-space) 0;
}
.editor-save > :is(button, .button) {
    flex:1 1 135px;
    min-width:0;
    min-height:44px;
    max-width:100%;
    text-align:center;
    white-space:normal;
}
.editor-save-area .draft-save-feedback {
    box-sizing:border-box;
    margin:0 0 var(--action-content-space);
    font-weight:700;
    line-height:1.6;
}
.editor-save-area .draft-save-feedback:empty { margin:0; }
.editor-save-area .draft-save-feedback:not(:empty) {
    min-height:44px;
    padding:9px 12px;
    border:1px solid transparent;
    border-radius:8px;
}
.editor-save-area .draft-save-feedback[data-state="success"] {
    background:#dff5e6;
    color:#14532d;
    border-color:#6dbb88;
}
.editor-save-area .draft-save-feedback[data-state="error"] {
    background:#f8f0ec;
    color:#852926;
    border-color:#dba496;
}
.editor-photo-field { padding-block:6px 9px; min-width:0; }
.editor-photo-field .editor-file-label { margin-bottom:5px; }
.editor-photo-field .editor-file-drop { min-height:54px; padding-block:10px; }
.editor-photo-guide { line-height:1.42; }
.editor-saved-photo { display:flex; flex-wrap:wrap; align-items:center; gap:var(--action-content-space); }
.editor-saved-photo img { object-fit:contain; }
.editor-crop-open { padding-inline:0; }
#editor-photo-dialog {
    width:min(calc(100% - 24px),540px); max-height:calc(100dvh - 24px); padding:clamp(14px,4vw,24px);
    background:#fffefa; color:#20211f; border:1px solid #e2dfd6; border-radius:14px;
}
#editor-photo-dialog::backdrop { background:#151515bb; }
#editor-photo-dialog h2 { margin-bottom:3px; }
#editor-crop-preview {
    display:block; width:auto; max-width:100%; height:auto; max-height:36dvh; margin:12px auto;
    border-radius:8px; outline:1px solid #d6d2c6; touch-action:none; cursor:grab;
}
.editor-crop-controls { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.editor-crop-controls input[type=range] { padding:0; min-height:26px; accent-color:#806500; }
.editor-crop-actions { display:flex; flex-wrap:wrap; gap:var(--action-gap); justify-content:end; margin-top:var(--action-content-space); }
.editor-crop-actions #editor-crop-reset { margin-right:auto; }
.editor-share-address {
    display:grid; gap:4px; margin:0 0 var(--action-content-space); overflow-wrap:anywhere;
}
.editor-share-address > span { color:var(--muted); font-size:.78rem; font-weight:700; }
.editor-share-address > a { font-size:1rem; font-weight:700; }
.editor-share-address p { margin:1px 0 0; }
.editor-share-actions { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:var(--action-gap); }
.editor-share-actions > a { grid-column:1 / -1; }
.editor-share-links { display:flex; flex-wrap:wrap; column-gap:16px; margin-top:8px; }
.editor-share-links a { display:inline-flex; align-items:center; min-height:44px; font-size:.83rem; }
.editor-share-option { border-top:1px solid var(--line); margin-top:8px; }
.editor-share-option .editor-summary { min-height:44px; }
.editor-share-option form { padding-bottom:6px; }
.editor-share :is(#share-status,#qr-result):empty, #editor-crop-status:empty { display:none; }
.editor-share #qr-result { display:grid; justify-items:start; gap:8px; margin-block:10px; }
.editor-share #qr-result img { width:min(100%,210px); height:auto; }
@media (max-width:730px) {
    .workspace:has(.editor-layout) { width:calc(100% - 24px); margin-top:17px; }
    .editor-layout aside { grid-row:auto; }
}
@media (max-width:480px) {
    .editor-layout .fields { grid-template-columns:minmax(0,1fr); }
    .editor-save { display:grid; grid-template-columns:minmax(0, 1fr); }
    .editor-save:has(> a) { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .editor-save > :is(button, .button) { font-size:.875rem; }
}

.appearance-images,
.appearance-colors {
    display:grid;
    gap:12px;
}
.appearance-images {
    grid-template-columns:repeat(auto-fit, minmax(min(100%, 218px), 1fr));
    margin-block-start:14px;
}
.appearance-images .appearance-image {
    display:grid;
    align-content:start;
    gap:8px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:9px;
}
.appearance-image .editor-file-label { margin:0; }
.appearance-image .editor-file-drop {
    justify-content:flex-start;
    min-height:44px;
    padding:7px 10px;
    border-width:1px;
}
.appearance-image .editor-file-drop:not(.is-file-over) { border-color:var(--edge); }
.appearance-image .editor-saved-photo {
    gap:6px 8px;
    font-size:.84rem;
}
.appearance-image .editor-saved-photo img {
    width:48px;
    height:48px;
    padding:2px;
    border-radius:5px;
    background:var(--paper);
}
.appearance-image .editor-saved-photo .check { margin:0; }
.appearance-image .editor-photo-guide,
.appearance-image-limit { margin:0; font-size:.8rem; }
.appearance-image-limit { margin-block-start:8px; }
.appearance-section {
    display:grid;
    gap:10px;
    margin-block-start:16px;
    padding-block-start:14px;
    border-block-start:1px solid var(--line);
}
.appearance-section label { margin:0; min-width:0; }
.appearance-colors { grid-template-columns:repeat(auto-fit, minmax(min(100%, 125px), 1fr)); }
.appearance-colors:has(> .appearance-default-hero) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    align-items: start;
}
.appearance-color-control {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:44px;
    padding:5px 8px;
    border:1px solid var(--edge);
    border-radius:7px;
    background:var(--panel);
    cursor:pointer;
}
.appearance-color-control input {
    flex:none;
    width:30px;
    min-height:30px;
    height:30px;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
}
.appearance-color-control input::-webkit-color-swatch-wrapper { padding:0; }
.appearance-color-control input::-webkit-color-swatch { border:1px solid #16181232; border-radius:5px; }
.appearance-color-control input::-moz-color-swatch { border:1px solid #16181232; border-radius:5px; }
.appearance-color-control:has(input:disabled), .appearance-color-control input:disabled { cursor:default; }
.appearance-color-value { color:var(--muted); font-size:.83rem; font-variant-numeric:tabular-nums; }

.editor-share-box {
    padding:clamp(10px, 2vw, 14px);
    border:1px solid var(--line);
    border-radius:10px;
    background:var(--paper);
}
.editor-share-address .editor-share-address-label {
    justify-self:start;
    padding:2px 8px;
    border:1px solid var(--line);
    border-radius:20px;
    background:var(--panel);
    line-height:1.4;
}
.editor-share-box .editor-share-address > a {
    justify-self:start;
    max-width:100%;
    color:var(--ink);
    font-size:clamp(1rem, 2vw, 1.2rem);
}
.editor-share-expiry {
    display:flex;
    align-items:baseline;
    gap:6px;
    font-size:.8rem;
}
.editor-share-expiry .ui-icon {
    align-self:flex-start;
    flex:none;
    width:15px;
    height:15px;
    margin-top:2px;
}
.editor-share-actions .ui-icon { flex:none; width:16px; height:16px; }
.editor-share-actions :is(button, a) { gap:6px; padding-inline:5px; }
.editor-share-actions button {
    border-color:var(--line);
    background:var(--panel);
    color:var(--ink);
}
.editor-share-actions button:hover { border-color:var(--edge); background:var(--tint); }
.editor-share-box #share-status:not(:empty) { margin:8px 0 0; font-size:.85rem; }
.editor-share-box #qr-result:not(:empty) { justify-items:center; margin-block:12px 0; }
.editor-share-settings {
    margin-top:12px;
    padding-inline:10px;
    border:1px solid var(--line);
    border-radius:9px;
}
.editor-share-settings .editor-share-option { margin:0; border:0; }
.editor-share-settings .editor-share-option + .editor-share-option { border-top:1px solid var(--line); }
.editor-share-renewal {
    display:grid;
    justify-items:start;
    gap:8px;
    margin-top:12px;
    padding:12px;
    border:1px solid var(--edge);
    border-radius:9px;
    background:var(--panel);
}
.editor-share-renewal p { margin:0; }

:is(.page-delete-control, .page-delete-card) {
    --delete-ink:#784347;
    --delete-border:#dfc4c3;
    --delete-paper:#faf1ef;
    --delete-button:#884d50;
}
.page-delete-card {
    margin-top:12px;
    padding-inline:clamp(12px, 2.3vw, 21px);
    border:1px solid var(--delete-border);
    border-radius:13px;
    background:var(--delete-paper);
}
.page-delete-card .page-delete-control > summary {
    justify-content:space-between;
    width:100%;
    min-height:54px;
    color:var(--delete-ink);
}
.page-delete-title {
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--delete-ink);
    font-weight:700;
}
.page-delete-title .ui-icon { width:17px; height:17px; flex:none; }
.page-delete-control .dashboard-disclosure {
    color:var(--delete-ink);
    border-color:var(--delete-border);
    background:var(--delete-paper);
}
.page-delete-card .page-delete-control[open] > summary { border-bottom:1px solid var(--delete-border); }
.page-delete-card .page-delete-control form { padding-block:12px 14px; }
.page-delete-control .delete-confirmation { color:var(--ink); }
.page-delete-control .delete-confirmation strong { color:var(--delete-ink); font-weight:800; }
.page-delete-control .delete-confirmation input { border-color:var(--delete-border); }
.page-delete-control .page-delete-action {
    background:var(--delete-button);
    border-color:var(--delete-button);
    color:#fffaf9;
}
.official-site .page-delete-control :focus-visible { outline-color:var(--delete-button); }

.appearance-colors > label.appearance-default-hero {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 44px;
    font-size: .875rem;
    line-height: 1.3;
}

.has-custom-hero > .profile,
.has-custom-hero.purpose-page > .purpose-hero,
.has-custom-hero .customer-menu > .customer-menu-hero,
.juniper-view .juniper-page.has-custom-hero > .juniper-hero,
.has-custom-hero.page-layout-resume > .resume-intro {
    background:var(--page-hero-background);
    color:var(--page-hero-ink);
}
.has-custom-hero .profile .languages a,
.has-custom-hero .purpose-hero :is(.purpose-summary, .purpose-facts dt, .languages a),
.has-custom-hero .juniper-hero :is(.juniper-edition, .customer-menu-edition-heading),
.has-custom-hero .resume-intro :is(.resume-role, .resume-summary, .resume-location, .resume-contact-links a) {
    color:inherit;
}
.has-custom-hero :is(.profile, .purpose-hero) .languages [aria-current] {
    background:var(--page-hero-ink);
    color:var(--page-hero-background);
}
.has-custom-hero .purpose-hero .purpose-facts,
.has-custom-hero :is(.profile, .purpose-hero) .languages a,
.has-custom-hero .purpose-hero .purpose-contact,
.has-custom-hero .juniper-hero-copy .juniper-actions :is(a, button) {
    border-color:color-mix(in srgb, var(--page-hero-ink) 45%, transparent);
}
.has-custom-hero.purpose-event .purpose-hero .purpose-contact {
    background:transparent;
    color:inherit;
}
.has-custom-hero .juniper-hero-copy .juniper-actions :is(a, button):hover {
    background:var(--page-hero-ink);
    color:var(--page-hero-background);
}
.has-custom-hero .juniper-hero .language-selector summary {
    border-color:color-mix(in srgb, var(--page-hero-ink) 45%, transparent);
    background:var(--page-hero-background);
    color:inherit;
}
.has-custom-hero.page-layout-resume > .resume-intro {
    padding-inline:clamp(16px, 4vw, 42px);
    border-radius:12px;
}
.has-custom-hero .resume-intro .resume-contact-links .resume-print {
    border-color:currentColor;
    color:inherit;
}
@media print {
    .has-custom-hero.page-layout-resume > .resume-intro {
        padding-inline:0;
        background:transparent;
        color:#26213a;
    }
}

.appearance-live-preview {
    min-width:0;
    margin-top:4px;
}
.appearance-live-preview h4 { margin:0; font-size:.92rem; }
.appearance-live-preview p { margin:2px 0 8px; font-size:.8rem; }
.appearance-live-preview iframe {
    display:block;
    width:100%;
    height:clamp(340px, 60vh, 560px);
    border:1px solid var(--line);
    border-radius:9px;
    background:var(--paper);
}

.menu-appearance-workbench > .appearance-live-preview { margin-block-start:16px; }

.menu-editor-heading {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:end;
    gap:var(--action-content-space) var(--action-gap);
    margin-block:16px 20px;
}
.menu-editor-heading > div { min-width:0; }
.menu-editor-heading h1 {
    margin:4px 0 0;
    font-size:clamp(1.875rem, 4.5vw, 2.875rem);
    overflow-wrap:anywhere;
}
.menu-editor-context { margin:0; color:var(--muted); font-size:.875rem; font-weight:700; }
.menu-editor-heading .editor-language-switch { margin:0; }
.menu-editor-heading .editor-language-option { padding-inline:10px; }
.menu-editor-toolbar {
    display:grid;
    gap:var(--action-content-space) var(--action-gap);
    align-items:start;
    padding-block:12px;
    border-block:1px solid var(--line);
}
.menu-editor-tabs {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:var(--compact-action-gap);
}
.menu-editor-tabs :is(button, a) {
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:44px;
    padding:6px 8px;
    border:1px solid transparent;
    border-radius:7px;
    background:transparent;
    color:var(--ink);
    font-size:.875rem;
    font-weight:750;
    text-align:center;
    text-decoration:none;
}
.menu-editor-tabs :is(button, a):hover { background:var(--panel); }
.menu-editor-tabs :is([aria-selected="true"], [aria-current="page"]) {
    background:var(--panel);
    border-color:var(--line);
    box-shadow:inset 0 -3px var(--button);
}
.menu-editor-toolbar .editor-save { margin:0; }
.menu-editor-toolbar .editor-save > .secondary { background:var(--panel); }
.menu-editor-toolbar .draft-save-feedback:not(:empty) { margin:var(--action-content-space) 0 0; }
.menu-editor-toolbar .draft-save-feedback:empty { display:none; }
.menu-editor-heading .editor-language-switch[hidden], .menu-editor-tabs[hidden] { display:none; }
.menu-translation-editor { min-width:0; }
.menu-translation-editor > .hint { margin:0 0 16px; }
.menu-translation-editor .editor-entry-fields > .hint { margin-block:6px; }
@media (min-width:900px) {
    .menu-editor-toolbar { grid-template-columns:auto minmax(0, 1fr); }
    .menu-editor-tabs :is(button, a) { padding-inline:14px; }
    .menu-editor-toolbar .editor-save { justify-content:flex-end; }
    .menu-editor-toolbar .editor-save > :is(button, .button) { flex:0 0 auto; }
}
@media (max-width:600px) {
    .menu-editor-toolbar .editor-save {
        display:grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
    .menu-editor-toolbar .editor-save > :last-child:nth-child(odd) { grid-column:1 / -1; }
}
.menu-panel-jumps { margin:0 0 8px; }
.menu-language-shortcut { display:none; }
@media (max-width:730px) {
    .menu-language-shortcut {
        display:inline-flex;
        align-items:center;
        min-height:44px;
        margin-block-start:var(--action-content-space);
    }
}
.menu-editor-layout:has(> aside[hidden]) > #page-form {
    grid-column:1 / -1;
}
.editor-language-order {
    margin:12px 0 0;
    padding:0;
    list-style:none;
}
.editor-language-order li {
    display:grid;
    grid-template-columns:44px minmax(0, 1fr) auto;
    align-items:center;
    gap:var(--compact-action-gap);
    padding-block:6px;
    border-block-end:1px solid var(--line);
    overflow-wrap:anywhere;
}
.editor-language-order li:last-child { border-block-end:0; }
.language-grip {
    display:grid;
    min-height:44px;
    place-items:center;
    color:var(--muted);
    cursor:grab;
    touch-action:none;
    user-select:none;
}
.language-order-actions { display:flex; gap:var(--compact-action-gap); }
.language-order-actions button { min-width:44px; padding-inline:8px; }
.language-order-actions button:disabled { cursor:default; opacity:.5; }
.editor-language-order [data-language-dragging] { background:var(--tint); }
.editor-language-order [data-language-drop="before"] { box-shadow:inset 0 3px var(--button); }
.editor-language-order [data-language-drop="after"] { box-shadow:inset 0 -3px var(--button); }

@media (min-width:1024px) {
    #editor-view-appearance:not([hidden]) .menu-appearance-workbench:has(> .page-appearance-overrides:not([hidden])) {
        display:grid;
        grid-template-columns:clamp(176px, calc(25vw - 80px), 270px) minmax(0, 1fr);
        align-items:start;
        gap:var(--action-content-space);
    }
    .menu-appearance-workbench iframe { height:clamp(460px, 65vh, 640px); }
    .menu-appearance-workbench .appearance-colors {
        grid-template-columns:minmax(0, 1fr);
        gap:var(--compact-action-gap);
    }
}

@media (min-width:1200px) {
    .menu-appearance-workbench .appearance-color-field {
        display:grid;
        grid-template-columns:minmax(0, 1fr) minmax(126px, 49%);
        align-items:center;
        gap:var(--compact-action-gap);
    }
}

.appearance-preview-view :is(a, button, input) { pointer-events:none; }

.intake-blank-start,
.intake-panel .intake-blank-picker { margin:12px 0 0; }
.intake-blank-picker[open] > form {
    display:grid; gap:8px; margin-top:10px; padding:12px;
    border:1px solid var(--line); border-radius:7px;
}
.intake-blank-picker select { margin-top:6px; }
.intake-blank-start .file-choice { width:100%; margin:0; }
.home-quick-start .intake-blank-start .file-choice {
    flex-direction:row; min-height:48px; padding:8px 12px;
}
.intake-blank-start .file-choice .ui-icon { width:18px; height:18px; flex:none; }
:is(.intake-focusing, .intake-focused) .intake-blank-start,
.intake-panel:has(.intake-result:not([hidden])) .intake-blank-start { display:none; }
.creative-page { width:min(1000px, 100% - 24px); }
.creative-page .public-section .cards {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap:12px;
}
.creative-page .public-section .card {
    display:grid;
    align-content:start;
    gap:0;
    padding:0;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:10px;
    background:var(--panel);
}
.creative-page .public-section .card > img {
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1;
    object-fit:cover;
    border-radius:0;
    background:var(--paper);
}
.painter-page .public-section .card > img { object-fit:contain; }
.creative-page .public-section .card > div { min-width:0; padding:14px; }

[data-page-template][data-heading-font="serif"]:not(.podcast-page) :is(h1, h2, h3) {
    font-family:Georgia, serif;
}
[data-page-template][data-heading-font="condensed"]:not(.podcast-page) :is(h1, h2, h3) {
    font-family:"Arial Narrow", "Aptos Narrow", system-ui, sans-serif;
}

.account-template-settings {
    display:grid; gap:18px; width:min(100%, 700px); margin:0 auto 28px 0;
}
.account-template-settings fieldset {
    min-width:0; margin:0; padding:14px; border:1px solid var(--line); border-radius:8px;
}
.account-template-settings fieldset .appearance-colors { margin-top:12px; }
.account-template-settings button { justify-self:start; }
.page-appearance-overrides { min-width:0; margin:0; padding:0; border:0; }

main [data-section-list] {
    display: flex;
    flex-wrap: nowrap;
    justify-content: safe center;
    overflow: hidden;
}
main [data-section-list] > :is(a, li) {
    flex: 1 0 auto;
    min-inline-size: max-content;
    max-inline-size: none;
    white-space: nowrap;
}
main nav.section-navigation[data-section-hidden],
.restaurant-section-index:has(.section-navigation[data-section-hidden]) {
    display: none;
}
@media (max-width: 767px), print {
    main nav.section-navigation:not([hidden]),
    main .restaurant-section-index {
        display: none;
    }
}

:is(.hero-action-row, .editorial-hero-actions, .podcast-hero-actions) > :is(a, button),
:is(.hero-action-row, .editorial-hero-actions, .podcast-hero-actions) :is(.juniper-actions, .editorial-actions, .podcast-hero-links) > :is(a, button),
main .page-tools > button,
main .page-tools > .page-tool-languages > summary {
    justify-content: center;
}

@media (max-width: 767px) {
    :is(.hero-action-row, .editorial-hero-actions, .podcast-hero-actions) > :is(.page-tools, .juniper-actions, .editorial-actions, .podcast-hero-links) {
        flex: 1 1 auto;
    }
    :is(.hero-action-row, .editorial-hero-actions, .podcast-hero-actions, .juniper-actions, .editorial-actions, .podcast-hero-links) > :is(a, button) {
        flex: 1 1 min(100%, 8rem);
        min-inline-size: 0;
        white-space: normal;
    }
    main .page-tools > .page-tool-languages > summary { width: 100%; }
}

/* Keep the last content above the fixed owner controls at phone widths. */
body.draft-page-preview:has(#menu-owner-actions) main{padding-block-end:calc(100px + env(safe-area-inset-bottom))}

body.draft-page-preview:has(#menu-owner-actions) .customer-menu-credit{padding-block-end:calc(100px + env(safe-area-inset-bottom))}

/* Responsive person-in-action fallback artwork. Supplied imagery retains its layout. */
.has-automatic-action-hero :is(.wine-bottle,.music-cover,.podcast-art,.resume-action-art){width:100%;max-width:600px;aspect-ratio:3/2;margin-inline:auto}
.has-automatic-action-hero :is(.wine-bottle-photo,.music-artwork,.podcast-art img,.resume-action-art img){display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px}
.resume-intro-inner.has-action-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);align-items:center;gap:32px}
@media(max-width:767px){.resume-intro-inner.has-action-hero{grid-template-columns:minmax(0,1fr)}.resume-action-art{order:-1}}

.has-automatic-action-hero .video-hero-backdrop{display:none}
.has-automatic-action-hero .video-action-cover{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px;margin-top:24px}

/* Shared section navigation geometry across every template. */
@media (min-width: 768px) {
main nav.section-navigation.section-navigation[data-section-list]:not([data-section-hidden]):not([hidden]),
main nav.section-navigation.section-navigation [data-section-list] {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    padding-block: 0;
    min-height: 56px;
}
main nav.section-navigation.section-navigation[data-section-list] > :is(a, li),
main nav.section-navigation.section-navigation [data-section-list] > :is(a, li) {
    flex: 0 0 auto;
    margin: 0;
}
main nav.section-navigation.section-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    height: 56px;
    min-height: 56px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: 720 16px/1.25 var(--brand-sans);
    letter-spacing: 0;
    text-align: start;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
main nav.section-navigation.section-navigation a:is(:hover, :focus-visible, [aria-current]) {
    text-decoration: underline;
    text-underline-offset: 5px;
}
main .restaurant-section-index-inner:has(.section-navigation) { padding-block: 0; }

}

/* Shared hero controls: preserve template colors while standardizing geometry. */
main :is(.hero-action-row.hero-action-row.hero-action-row,.editorial-hero-actions.editorial-hero-actions.editorial-hero-actions,.podcast-hero-actions.podcast-hero-actions.podcast-hero-actions,.resume-hero-actions.resume-hero-actions.resume-hero-actions,.juniper-actions.juniper-actions.juniper-actions,.editorial-actions.editorial-actions.editorial-actions,.podcast-hero-links.podcast-hero-links.podcast-hero-links,.resume-contact-links.resume-contact-links.resume-contact-links,.page-tools.page-tools.page-tools) {
    gap: var(--compact-action-gap);
    align-items: center;
    justify-content: flex-start;
}
main :is(.hero-action-row.hero-action-row.hero-action-row,.editorial-hero-actions.editorial-hero-actions.editorial-hero-actions,.podcast-hero-actions.podcast-hero-actions.podcast-hero-actions,.resume-hero-actions.resume-hero-actions.resume-hero-actions,.juniper-actions.juniper-actions.juniper-actions,.editorial-actions.editorial-actions.editorial-actions,.podcast-hero-links.podcast-hero-links.podcast-hero-links,.resume-contact-links.resume-contact-links.resume-contact-links,.page-tools.page-tools.page-tools) > :is(a,button),
main .page-tools.page-tools.page-tools > .page-tool-languages > summary {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border-width: 1px;
    border-style: solid;
    border-radius: 6px;
    font: 700 14px/1.3 var(--brand-sans);
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    margin-block: 0;
}
@media (min-width: 1024px) {
    main .podcast-hero-inner:not(.podcast-hero-text-only),
    main .editorial-has-art .editorial-hero-inner:has(.editorial-hero-actions) {
        grid-template-columns: minmax(min(100%, 720px), 1.2fr) minmax(0, .8fr);
    }
    main :is(.hero-action-row, .editorial-hero-actions, .podcast-hero-actions, .resume-hero-actions),
    main :is(.hero-action-row, .editorial-hero-actions, .podcast-hero-actions, .resume-hero-actions) > :is(.page-tools, .juniper-actions, .editorial-actions, .podcast-hero-links, .resume-contact-links) {
        flex-wrap: nowrap;
    }
    main :is(.hero-action-row, .editorial-hero-actions, .podcast-hero-actions, .resume-hero-actions) :is(a, button, summary) { white-space: nowrap; }
}

/* Shared public-page type scale and section rhythm. Template fonts and colors remain local. */
@media screen {
    main:is([data-page-template], .page-layout-resume) {
        --page-title-size: clamp(40px, 5vw, 80px);
        --page-section-title-size: clamp(28px, 3vw, 40px);
        --page-item-title-size: 20px;
        --page-section-space: 48px;
        --page-heading-space: 24px;
        font-size: 16px;
        line-height: 1.6;
    }
    main:is([data-page-template], .page-layout-resume) :is(h1,h2,h3):not(dialog *) {
        overflow-wrap: anywhere;
        text-wrap: balance;
    }
    main:is([data-page-template], .page-layout-resume) h1:not(dialog *) {
        font-size: var(--page-title-size) !important;
        line-height: 1.05 !important;
    }
    main:is([data-page-template], .page-layout-resume) h2:not(dialog *) {
        font-size: var(--page-section-title-size) !important;
        line-height: 1.15 !important;
        margin-block: 0 var(--page-heading-space);
    }
    main:is([data-page-template], .page-layout-resume) h3:not(dialog *) {
        font-size: var(--page-item-title-size) !important;
        line-height: 1.3 !important;
    }
    main:is([data-page-template], .page-layout-resume) :is(p,li,dt,dd,blockquote):not(dialog *, nav *, .page-tools *) {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    main:is([data-page-template], .page-layout-resume) :is(.juniper-section,.editorial-section,.guide-section,.resume-section,.wine-section,.link-hub-group,.podcast-episodes,.podcast-about,.podcast-listen,.music-section,.video-body) {
        padding-block: var(--page-section-space) !important;
        margin-block: 0 !important;
    }
    @media (max-width: 767px) {
        main:is([data-page-template], .page-layout-resume) {
            --page-title-size: 40px;
            --page-section-title-size: 28px;
            --page-section-space: 32px;
            --page-heading-space: 20px;
        }
    }
}

/* Visual audit: let content sections own their vertical rhythm. */
@media screen {
    main :is(.editorial-sections,.podcast-body,.wine-body,.resume-content) { padding-block: 0 !important; }
    main .music-listening .music-listening-media { padding-block: 0; margin-block: 0; }
}
@media screen and (min-width: 760px) {
    main .music-listening:has(.music-listening-media + .music-services):not(:has(.music-player-video, .music-platform-list > :nth-child(5))) {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    }
    main .music-services h2 { overflow-wrap: normal; word-break: normal; }
}
@media screen and (max-width: 767px) {
    main :is(.hero-action-row.hero-action-row.hero-action-row, .editorial-hero-actions.editorial-hero-actions.editorial-hero-actions,
        .podcast-hero-actions.podcast-hero-actions.podcast-hero-actions, .juniper-actions.juniper-actions.juniper-actions,
        .editorial-actions.editorial-actions.editorial-actions, .podcast-hero-links.podcast-hero-links.podcast-hero-links) {
        align-items: stretch;
    }
    main .page-tools.page-tools:has(> :not([hidden])) {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        align-items: stretch;
    }
    main .page-tools.page-tools > :is(button,details) { min-width: 0; }
    main .page-tools.page-tools > .page-tool-languages > summary { height: 100%; white-space: normal; }
    main .page-tools.page-tools > button { white-space: normal; }
    main .resume-hero-actions > .resume-contact-links { width: 100%; margin-block: 0; align-items: stretch; }
    main .resume-hero-actions > .resume-contact-links > :is(a,button) {
        flex: 1 1 min(100%, 8rem);
        min-inline-size: 0;
        white-space: normal;
    }
}
@media screen and (max-width: 767px) {
    main .page-tools.page-tools:has(.resume-document-actions) { grid-auto-flow: row; }
    main .page-tools .resume-document-actions:has(> :not([hidden])) {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
    }
}
@media screen and (max-width: 767px) {
    main :is(.hero-action-row.hero-action-row, .editorial-hero-actions.editorial-hero-actions, .podcast-hero-actions.podcast-hero-actions, .resume-hero-actions.resume-hero-actions) {
        width: 100%;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 767px) {
    main .resume-hero-actions.resume-hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-block-start: 20px;
    }
    main .resume-hero-actions > .page-tools { margin-block: 0; }
}

/* YIZIO navigation uses plus indicators instead of arrows. Native select behavior is retained. */
:is(.official-site,.draft-page-preview) select:not([multiple]):not([size]){appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23242422' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px 16px!important;padding-inline-end:38px!important}
body:has(.simple-connect-builder,.qr-workbench,.pay-workbench) select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd126' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")!important}

/* Shared long-menu navigation for scanned, PDF, and manually entered menus. */
main .menu-browser{position:sticky;top:0;z-index:8;background:#30312e;color:#fff;border-bottom:3px solid #ffd429;padding:0 max(18px,calc((100% - 1200px)/2))}
.menu-browser details{position:relative;margin:0}.menu-browser summary{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font-size:16px;font-weight:750;list-style:none}.menu-browser summary::-webkit-details-marker{display:none}.menu-browser-plus{font-size:24px;color:#ffd429}.menu-browser nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 0 16px;max-height:60vh;overflow:auto;overscroll-behavior:contain}.menu-browser nav a{display:flex;align-items:center;min-height:44px;padding:8px 12px;color:#fff;border:1px solid #72736d;border-radius:6px;text-decoration:none;line-height:1.35;font-size:16px}.menu-browser nav a:is(:hover,:focus-visible,[aria-current]){background:#ffd429;color:#20211f}.menu-browser a:focus-visible,.menu-browser summary:focus-visible{outline:3px solid #ffd429;outline-offset:2px}
main:has(.menu-browser) .juniper-section,main:has(.menu-browser) section[id]{scroll-margin-top:76px}.menu-section-note{padding:12px 16px;margin:0 0 20px;border-inline-start:3px solid currentColor;background:color-mix(in srgb,currentColor 5%,transparent);font-size:16px;line-height:1.6}.menu-section-note p{margin:4px 0 0!important}
@media(max-width:767px){.menu-browser nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{main .menu-browser{display:none}.menu-section-note{break-inside:avoid}}

.menu-browser summary::before,.menu-browser summary::after{content:none!important;display:none!important}.menu-browser summary>span:first-child{flex:1;text-align:left}

/* Menu navigation follows the page palette rather than the YIZIO editor palette. */
main .customer-menu .menu-browser{--menu-nav-paper:var(--page-hero-background,var(--restaurant-hero,var(--accent,#203c32)));--menu-nav-ink:var(--page-hero-ink,var(--restaurant-hero-ink,#fbf0d9));background:var(--menu-nav-paper);color:var(--menu-nav-ink);border-bottom:0;box-shadow:0 2px 5px #00000012}
.customer-menu .menu-browser-plus{color:inherit}.customer-menu .menu-browser nav a{color:inherit;border-color:color-mix(in srgb,var(--menu-nav-ink) 35%,transparent)}.customer-menu .menu-browser nav a:is(:hover,:focus-visible,[aria-current]){background:var(--menu-nav-ink);color:var(--menu-nav-paper)}.customer-menu .menu-browser a:focus-visible,.customer-menu .menu-browser summary:focus-visible{outline-color:var(--menu-nav-ink)}
/* Open language controls must sit above sticky section navigation. */
.customer-menu .juniper-hero:has(.page-tool-languages[open],.language-selector[open]){position:relative;z-index:20;overflow:visible}
.customer-menu .juniper-hero-copy:has(.page-tool-languages[open],.language-selector[open]){position:relative;z-index:20;overflow:visible}
.customer-menu .page-tools:has(.page-tool-languages[open]){z-index:21!important}.customer-menu .page-tool-languages[open]{z-index:22}.customer-menu .page-tool-language-options{z-index:23}
@media(max-width:767px){
 .customer-menu .juniper-section+.juniper-section{border-top:0}
 .customer-menu .juniper-section h2{border:0;padding-bottom:0;margin-bottom:16px}
 .customer-menu.customer-menu--photo-led .juniper-section h2::after{content:none}
 .customer-menu .juniper-item,.customer-menu.customer-menu--photo-led .juniper-items-featured .juniper-item-group:first-child .juniper-item{border:0}
 .customer-menu .juniper-item .juniper-item-copy{padding-block:12px}
 .customer-menu .juniper-item-heading{column-gap:20px}
 .customer-menu .juniper-item-heading h3{min-width:0;line-height:1.3}
 .customer-menu .juniper-item-heading>strong{white-space:nowrap;align-self:baseline}
 .customer-menu .menu-section-note{border:0;padding:12px 14px;border-radius:6px;margin-bottom:12px}
}

.publish-readiness{padding:20px;background:#343532;color:#fff;border-left:5px solid #ffd429;border-radius:10px;margin:16px 0 20px}.publish-readiness h2{font-size:22px;line-height:1.3;margin:0 0 12px}.publish-readiness p{line-height:1.6}.publish-readiness ol{padding-left:22px}.publish-readiness li{padding:8px 0}.publish-readiness a{display:inline-flex;align-items:center;min-height:44px;color:#ffe58a;font-weight:750}.publish-readiness .hint{color:#deded6}.translation-waiting{padding:20px;background:#343532;color:#fff;border-left:5px solid #ffd429;border-radius:10px;margin:20px 0}.translation-waiting h2{font-size:22px}.translation-waiting p{line-height:1.6}.translation-manual>summary{display:flex;align-items:center;min-height:48px;font-weight:700;cursor:pointer}.translation-manual>summary::before{content:none!important}
@media(max-width:767px){.sign-in-page form>a,.sign-in-page .panel>a,.dashboard-profile a{min-height:44px;display:inline-flex;align-items:center}.editor-language-switch .editor-language-option{white-space:normal;line-height:1.35}.language-editor .back{display:inline-flex;align-items:center;min-height:44px}}

@media(max-width:767px){.telegram-guide>summary,.telegram-manual>summary{display:flex;min-height:44px}}

@media(max-width:767px){.editor-card details>summary,.page-dashboard .click-activity>summary{min-height:44px}}

.translation-save-feedback:empty{display:none}.translation-save-feedback{padding:16px;border-radius:8px;line-height:1.6}.translation-save-feedback[data-state=success]{background:#dff5e6;color:#14532d;font-weight:750}.translation-save-feedback[data-state=error]{background:#fff0ec;color:#8b2517}#translation-form [data-translation-return]:not([hidden]){display:inline-flex;min-height:44px;align-items:center;margin-top:12px}

@media screen and (max-width: 767px) {
    main [data-mobile-actions]:not([hidden]),
    main .page-tools[data-mobile-actions]:not([hidden]),
    main .resume-document-actions[data-mobile-actions]:not([hidden]) {
        display: grid;
        grid-template-columns: repeat(var(--mobile-action-columns), minmax(0, 1fr));
        grid-auto-flow: row;
        grid-auto-rows: 1fr;
        align-items: stretch;
    }
    [data-mobile-actions] > :is(a, button, form, details) { min-inline-size: 0; }
    main [data-mobile-actions="single-line"] > :is(a, button),
    main [data-mobile-actions="single-line"] > form > button,
    main .page-tools[data-mobile-actions="single-line"] > button,
    main .page-tools[data-mobile-actions="single-line"] > .page-tool-languages > summary {
        white-space: nowrap;
    }
    [data-measure-action-width] {
        position: fixed !important;
        inline-size: max-content !important;
        max-inline-size: none !important;
        flex: none !important;
        white-space: nowrap !important;
        visibility: hidden !important;
    }
}
