/* Replacement for the original Tailwind preflight on static pages. */
body,figure,ul,fieldset {margin:0}
button,input,textarea {color:inherit;font:inherit}
button {background:none;border:0}
img,video {vertical-align:middle}
[hidden]{display:none!important}
main {min-height:50vh}
.language-switcher{position:relative}
.homepage-example{--example-aspect-ratio:0.5625}
.product-role-cards.single{grid-template-columns:1fr}
.product-role-card:first-child #photo-preview{width:118px;height:150px;object-fit:cover}
.product-role-art{font-size:24px}
.product-example-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.product-local-reference img{border-radius:8px;object-fit:cover}
.product-local-reference video{aspect-ratio:9/16}
.tiny-site .product-actions a,.product-cast>.mode{color:#fffaf3}
.mode{display:block;text-align:center;margin:12px}
.center{text-align:center;margin-top:24px!important}
#packs {width:min(96vw,1000px)}
#packs .product-packs{margin-top:16px}
.auth-card,.form-card{margin:64px auto;max-width:calc(100% - 32px);width:600px;border:1px solid var(--line);border-radius:16px;padding:36px;background:var(--card)}
.auth-card{width:384px;text-align:center}
.product-dialog .auth-card{margin:auto;border:0;padding:0;}
.tiny-site .auth-card h1,.tiny-site .auth-card h2,.tiny-site .form-card h1{font:800 30px/1.18 Fraunces,serif;margin:22px 0 8px}
.auth-card p,.form-card p{font-size:14px;color:var(--muted);margin:10px auto 18px}
form label{display:grid;gap:6px;text-align:left;margin:16px 0;font-size:14px}
form input,form textarea{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px}
.solid,.google{padding:11px 20px;border-radius:99px;background:var(--ink);color:var(--bg);font-weight:bold!important}
.auth-card button{width:100%}
.google{border:1px solid var(--line);background:white;color:var(--ink)}
.google b{color:#4285f4;margin-right:8px}
.dashboard{padding:56px 32px 90px;min-height:55vh}
.dashboard nav{display:flex;gap:20px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:24px}
#history,.auth-card,output,.tiny-article,.form-card,#pay{overflow-wrap:anywhere}
#history pre{white-space:pre-wrap}
.record{padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--card);margin:16px 0}
.record video{max-height:320px;display:block;max-width:100%}
#history button,#history a,#pay>*{margin:14px 12px 10px 0}
output{display:block;margin-top:16px}
.table{max-width:100%;overflow:auto}table{border-collapse:collapse;min-width:460px;margin:20px auto}
th,td{border:1px solid var(--line);padding:12px;text-align:left}
.tiny-article-sources:not(:has(a)){display:none}
#tracking{position:relative;border-top:1px solid var(--line);background:var(--card);color:var(--fg);padding:16px 20px}
#tracking .consent-intro{display:flex;align-items:flex-start;gap:12px}
#tracking .consent-intro>div{min-width:0;flex:1}
#tracking .consent-shield{width:20px;height:20px;flex:none;margin-top:2px;color:var(--accent-text)}
#tracking h2{margin:0;font:600 14px/20px 'Bricolage Grotesque',Arial,sans-serif}
#tracking p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.625}
#tracking a{text-decoration:underline}
#tracking [data-consent-dismiss]{display:grid;place-items:center;flex:none;width:28px;height:28px;margin:-4px -4px 0 0;padding:0;border:0;border-radius:6px;color:var(--muted)}
#tracking [data-consent-dismiss] svg{width:16px;height:16px}
#tracking .consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
#tracking .consent-actions button{min-height:34px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--fg);font-size:12px;font-weight:600;line-height:16px}
#tracking button:hover,#tracking button:focus-visible{background:var(--bg-soft)}
.tiny-footer-column button{align-self:flex-start;padding:0;border:0;font:inherit;font-size:14px;line-height:1.5;color:var(--tiny-muted);text-align:left}
.tiny-footer-bottom p{margin:0}
@media(max-width:1023px){.tiny-header .tiny-mobile-menu{position:absolute;top:100%;height:calc(100dvh - var(--menu-top,75px))}}
@media(max-width:760px){.product-example-gallery{grid-template-columns:1fr}.tiny-logo{white-space:normal}.product-cast>.tiny-generator-badges{flex-wrap:wrap}.auth-card,.form-card{padding:24px}.tiny-mobile-action{max-width:44%;text-align:center}}
.eb-intro h1 em{display:inline-block;text-wrap:balance}.tiny-menu-toggle{font-size:23px!important}.product-pricing-page>h1{text-wrap:balance}
.notify{display:grid;gap:6px;font-size:14px}.notify input{padding:8px 10px;border:1px solid var(--line);border-radius:9px;max-width:100%;min-width:0}
.google svg{vertical-align:middle;margin-right:8px}
.watermarked{grid-area:video;position:relative;width:203px;max-width:100%;margin:auto}
.watermarked video{display:block;width:100%;aspect-ratio:9/16;border-radius:12px;background:black}
.watermarked span{position:absolute;bottom:30%;left:0;right:0;text-align:center;color:white;background:#171b2570;font-weight:700;font-size:12px;pointer-events:none}
#preview-start{margin-top:12px}
#preview-msg:empty{display:none}
#free-preview button,.ops a{white-space:normal;overflow-wrap:anywhere;max-width:100%}
#resume-info:not(:empty){background:#fff5db;padding:14px;border-radius:12px;margin:12px 0}
#pay .receipt-id{display:block;font-size:12px;color:var(--muted)}
#pay-status.ok{color:#1a6552}
.ops{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr);background:var(--bg-soft);color:var(--ink);font:15px/1.55 system-ui,sans-serif}
.ops aside,.ops-grid a,.ops .controls,.ops .denied,.ops-table,.ops .empty{background:var(--card);border:1px solid var(--line)}
.ops aside{background:var(--bg);position:sticky;top:0;height:100vh;overflow:auto;padding:26px 16px}
.ops-logo,.ops-bar,.ops-search,.ops label{display:flex;align-items:center;gap:10px}
.ops-logo img{width:32px;border-radius:8px}
.ops nav{display:flex;flex-direction:column;gap:4px;margin:18px 0}
.ops nav a,.ops button,.ops .denied a{display:inline-block;border-radius:10px;padding:9px 14px;font-weight:600}
.ops nav a:hover,.ops button:hover,.ops-grid a:hover{background:#f1e9dc}
.ops nav a[aria-current]{color:var(--ink);background:var(--bg-soft)}
.ops .controls button,.ops .denied button{color:white;background:#25221d}
.ops .workspace{padding:32px clamp(16px,4vw,60px);min-width:0;max-width:1500px}
.ops .denied{grid-column:1/-1;align-self:center;margin:20px auto;border-radius:20px;padding:32px}
.ops h1,.ops h2{font:700 24px/1.4 system-ui;margin-right:auto}
.ops h2{margin-top:24px;font-size:18px}
.ops p{margin:16px 0}
.ops small,.ops .local-note{color:#6a6258}
.ops button{background:white;border:1px solid #d8d0c4;font-size:14px;white-space:nowrap}
.ops-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:16px}
.ops-grid a,.ops .controls,.ops .empty{padding:20px;border-radius:14px}
.ops-grid strong{display:block;font-size:26px}
.ops-table{max-width:100%;overflow:auto;border-radius:12px;margin:16px 0}
.ops table{margin:0;width:100%;font-size:14px;white-space:nowrap}
.ops th,.ops td{border:0;border-bottom:1px solid #e5dfd7;text-align:left}
.ops th{background:#f2ebe1}
.ops td a,.ops .workspace>a{text-decoration:underline}
.ops td button{margin-right:6px}
.ops .ticket-text{display:block;white-space:pre-wrap;width:280px;overflow-wrap:anywhere}
.ops .controls label{margin:16px 0}
.ops-search{max-width:440px;margin-top:18px}
.ops-search input{min-width:0}
@media(max-width:760px){
.ops{display:block}
.ops aside{position:static;height:auto;padding:14px}
.ops nav{flex-direction:row;overflow:auto;margin:8px 0}
.ops nav a{white-space:nowrap}
.ops-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ops-grid a{padding:14px}.ops-grid strong{font-size:20px}
.ops .workspace{padding-top:18px}.ops-bar{flex-wrap:wrap}
}
.account-bar,.account-bar>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.account-bar h1{margin-right:auto}
.account-bar>div{font-size:14px;font-weight:600}
.account-bar span:not(:empty),.account-bar a:not(.solid){border:1px solid var(--line);padding:8px 12px;border-radius:30px;background:var(--card)}
.tiny-site .account-bar .solid{color:#fff}
.dashboard nav{padding:22px 0 0;gap:16px;font-size:14px}
.dashboard nav a{color:var(--muted);padding:8px 0}
.dashboard nav a[aria-current]{color:var(--ink);border-bottom:2px solid}
.dashboard video{aspect-ratio:9/16;background:#171b25;border-radius:12px;margin:12px 0}
.dashboard .record small,.receipt small{font-variant-numeric:tabular-nums;color:var(--muted)}
.dashboard .record h3{margin:10px 0}
.receipt{text-align:center;width:448px}
#pay .tiny-button{margin-inline:auto}
#pay .receipt-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-inline:0}
#pay .receipt-actions .tiny-button{margin:0}
#pay-status.ok::before{content:"✓";display:block;margin:0 auto 12px;background:#dcf3df;width:48px;height:48px;line-height:48px;border-radius:50%}
.form-card.help-page{padding:0;background:none;border:0}
.help-page form{margin-top:28px;background:var(--card);padding:12px 24px 24px;border:1px solid var(--line);border-radius:16px}
.tiny-site .help-page h1{font-size:clamp(34px,4vw,48px)}
.help-page select{font:inherit;border:1px solid var(--line);border-radius:12px;background:white;padding:11px;width:100%;color:inherit}
@media(max-width:560px){.dashboard{padding:32px 12px 60px}.account-bar>div{font-size:13px;gap:6px}.ops .ops-bar h1{font-size:22px}}

.ops .binding{display:inline-block;padding:5px 12px;background:var(--bg-soft);border-radius:99px;margin:0 6px 8px 0;font-size:13px}.ops .controls{overflow-wrap:anywhere}.ops .controls a{text-decoration:underline}.ops h2+.ops-grid{margin-top:16px}
.ops .commerce-report .ops-bar{flex-wrap:wrap}
.ops .commerce-report select{padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:inherit;font:inherit}
.ops .commerce-report .ops-bar a{text-decoration:underline}
.ops .commerce-report h3{margin:20px 0 8px;font-size:16px}
.ops .commerce-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:10px;margin:8px 0 20px}
.ops .commerce-metrics div{padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--card);min-width:0}
.ops .commerce-metrics dt{font-size:13px;color:#655d53}
.ops .commerce-metrics dd{margin:5px 0 0;font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

.source-portraits {width:min(100%,420px);margin:auto;align-self:center}
.portrait-pair {display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 12px 12px}
.portrait-pair>div {position:relative;min-width:0;overflow:hidden;background:var(--card);border:2px solid var(--ink);border-radius:18px;box-shadow:3px 4px var(--ink)}
.portrait-pair>div:first-child {transform:rotate(-4deg)}
.portrait-pair>div:last-child {transform:rotate(4deg) translateY(8px)}
.portrait-pair img {width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;display:block}
.portrait-pair span {display:block;padding:6px 12px;font-weight:700}
.source-portraits figcaption {color:var(--muted);text-align:center;margin:8px 0;font-size:13px}
.source-links {display:flex;align-items:flex-start;flex-direction:column;gap:8px}
.source-links a {font-weight:700;text-decoration:underline;text-underline-offset:4px}
.source-panel p {color:var(--muted)}
