.creation-entry{--flow-primary:#226c53;--flow-ink:#182d28;--flow-muted:#62766b;--flow-tint:#eef5f0;--flow-outline:#dce5de}
.creation-entry .phone{display:flex;flex-direction:column;background:#fafcf9;height:730px}
.creation-entry .appbar{flex:none;background:#fff;grid-template-columns:48px 1fr 48px;height:64px;padding:0 8px}
.creation-entry .back,.creation-entry .flow-home-button{border:0;background:transparent;color:var(--flow-ink);min-height:48px;cursor:pointer;border-radius:50%;padding:0;display:grid;place-items:center}
.creation-entry .flow-title-button{border:0;background:transparent;font-family:inherit;font-size:16px;font-weight:600;line-height:24px;color:var(--flow-ink);min-height:48px;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.creation-entry .flow-title-button svg{width:16px;height:16px}
.creation-entry .flow-content{padding:25px 20px 24px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin}
.creation-entry .flow-content h1{font-size:25px;line-height:1.4;letter-spacing:-.5px;margin:0 0 8px}
.creation-entry .flow-lead{font-size:13px;color:var(--flow-muted);line-height:1.7;margin:0 0 24px}
.creation-entry .flow-label{font-size:12px;color:var(--flow-muted);font-weight:600;margin:0 0 12px;display:block}
.creation-entry fieldset{padding:0;margin:0;border:0;min-width:0}
.creation-entry .flow-options{border:1px solid var(--flow-outline);border-radius:16px;overflow:hidden;background:#fff}
.creation-entry .format-option{display:flex;align-items:center;gap:14px;padding:18px 14px;margin:0;cursor:pointer;min-height:112px;position:relative;font-weight:400;border-bottom:1px solid var(--flow-outline)}
.creation-entry .format-option:last-child{border-bottom:0}
.creation-entry .format-option:has(input:checked){background:#eef6ef;box-shadow:inset 3px 0 var(--flow-primary)}
.creation-entry .format-option:has(input:focus-visible){outline:2px solid var(--flow-primary);outline-offset:-3px}
.creation-entry .format-option input{accent-color:var(--flow-primary);width:19px;height:19px;flex:none;margin:0 0 0 auto}
.creation-entry .format-copy{flex:1;min-width:0}
.creation-entry .format-copy strong{font-size:16px;display:block;font-weight:650;line-height:1.5;margin-bottom:4px}
.creation-entry .format-copy small{font-size:12px;font-weight:400;line-height:1.7;display:block;color:var(--flow-muted)}
.creation-entry .format-art{width:62px;height:68px;display:grid;place-items:center;flex:none;color:#42745a;border-radius:12px;background:#edf3eb}
.creation-entry .format-art svg{width:50px;height:54px}
.creation-entry .format-art.text{background:#f3f0e8;color:#867554}
.creation-entry .flow-support{margin-top:22px;border-top:1px solid var(--flow-outline);padding-top:15px}
.creation-entry .flow-link{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;color:var(--flow-primary);font-weight:600;font-size:13px;border:0;background:transparent;padding:4px 0;cursor:pointer;text-align:left}
.creation-entry .flow-link svg{width:18px;height:18px}
.creation-entry .flow-support p{font-size:12px;color:var(--flow-muted)}
.creation-entry .flow-footer{flex:none;padding:14px 20px 18px;background:#fff;border-top:1px solid var(--flow-outline)}
.creation-entry .flow-footer .button{gap:8px;min-height:48px;border-radius:24px}
.creation-entry button:disabled{background:#e4e9e5;color:#7a887f;cursor:default}
.creation-entry button:not(:disabled):active,.creation-entry .format-option:active{filter:brightness(.96)}
.creation-entry button:focus-visible,.creation-entry select:focus-visible,.creation-entry input:focus-visible,.creation-entry textarea:focus-visible,.creation-entry a:focus-visible{outline:3px solid #369272;outline-offset:2px}
.creation-entry .flow-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.creation-entry .mode-button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid var(--flow-outline);border-radius:16px;background:white;text-align:left;padding:18px 16px;cursor:pointer;color:var(--flow-ink);min-height:169px}
.creation-entry .mode-button .tile{margin-bottom:6px;background:var(--flow-tint);color:var(--flow-primary);width:40px;height:40px}
.creation-entry .mode-button strong{font-size:16px;line-height:1.4}
.creation-entry .mode-button small{font-size:12px;color:var(--flow-muted);font-weight:400;line-height:1.7}
.creation-entry .mode-button:hover{border-color:#709b82;background:#f6faf6}
.creation-entry .flow-preparation{margin-top:24px;background:#edf3ec;padding:16px;border-radius:12px}
.creation-entry .flow-preparation h2{font-size:14px;margin:0 0 10px}
.creation-entry .preparation-row{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:var(--flow-muted);padding:5px 0}
.creation-entry .preparation-row svg{width:18px;height:18px;color:var(--flow-primary)}
.creation-entry .flow-menu{background:#fff;border:1px solid var(--flow-outline);border-radius:16px;overflow:hidden}
.creation-entry .flow-menu button{border:0;background:transparent;color:var(--flow-ink);padding:18px 14px;min-height:94px;display:flex;align-items:center;gap:12px;text-align:left;width:100%;cursor:pointer}
.creation-entry .flow-menu button+button{border-top:1px solid var(--flow-outline)}
.creation-entry .flow-menu strong{display:block;font-size:15px}
.creation-entry .flow-menu small{display:block;font-size:12px;color:var(--flow-muted);margin-top:4px;line-height:1.7}
.creation-entry .flow-menu button>svg{margin-left:auto;width:18px}
.creation-entry .flow-form{display:flex;flex-direction:column;gap:22px}
.creation-entry .flow-form label{margin:0 0 8px;font-size:13px;font-weight:600}
.creation-entry .flow-form textarea{min-height:152px;max-height:260px;background:#fff;font-size:14px;padding:14px;line-height:1.7}
.creation-entry .flow-form input[type=text],.creation-entry .flow-form input[type=number],.creation-entry .flow-form input[type=email],.creation-entry .flow-form select{font-family:inherit;font-size:14px;line-height:1.5;width:100%;min-height:48px;background:#fff;border:1px solid #cbd8ce;border-radius:8px;padding:11px;color:var(--flow-ink)}
.creation-entry .flow-form input[type=file]{font-family:inherit;font-size:12px;line-height:1.5;width:100%;border:1px dashed #b7cbbd;border-radius:10px;padding:16px 10px;background:#fff;min-height:58px}
.creation-entry .flow-form .flow-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.creation-entry .flow-form .flow-checks{display:flex;gap:8px;flex-wrap:wrap}
.creation-entry .flow-form .flow-checks label{display:flex;align-items:center;gap:8px;min-height:48px;margin:0;border:1px solid var(--flow-outline);padding:8px 12px;border-radius:8px;background:white;font-weight:400}
.creation-entry .flow-form input[type=checkbox]{width:18px;height:18px;accent-color:var(--flow-primary);margin:0}
.creation-entry .flow-form .helper{font-size:12px;line-height:1.7;color:var(--flow-muted)}
.creation-entry .flow-error{margin:14px 0 0;padding:12px;background:#fff0ed;color:#96392f;border-radius:8px;font-size:13px;line-height:1.7}
.creation-entry [aria-invalid=true]{border-color:#a13c31!important}
.creation-entry .flow-home-types{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 20px}
.creation-entry .flow-home-types button{border:1px solid var(--flow-outline);background:#fff;min-height:48px;border-radius:24px;color:var(--flow-muted);font-weight:600;cursor:pointer}
.creation-entry .flow-home-types button[aria-pressed=true]{background:#e1eee3;border-color:#638f73;color:#20573f}
.creation-entry .draft-empty{margin-top:28px;padding:26px 16px;border-top:1px solid var(--flow-outline);text-align:center;color:var(--flow-muted)}
.creation-entry .draft-empty svg{display:block;margin:0 auto 12px;width:32px;height:32px}
.creation-entry .draft-empty strong{display:block;font-size:14px;color:#435c4d}
.creation-entry .draft-empty p{font-size:12px;margin-top:6px}
.creation-entry .flow-dialog{border:0;border-radius:24px;padding:24px;width:calc(100% - 40px);max-width:360px;max-height:calc(100dvh - 48px);overflow:auto;background:#f8fcf7;color:var(--flow-ink);box-shadow:0 20px 80px #10271d30}
.creation-entry .flow-dialog::backdrop{background:#10271d80}
.creation-entry .flow-dialog h2{font-size:21px;margin:0 0 18px}
.creation-entry .dialog-types{display:flex;flex-direction:column;gap:4px}
.creation-entry .dialog-types button{min-height:56px;border:0;border-radius:10px;background:transparent;text-align:left;display:flex;align-items:center;gap:12px;padding:8px 12px;color:var(--flow-ink);font-family:inherit;font-size:15px;font-weight:600;line-height:1.5;cursor:pointer}
.creation-entry .dialog-types button[aria-current=true]{background:#e3efe4;color:#20573f}
.creation-entry .dialog-types button span:last-child{margin-left:auto}
.creation-entry .flow-dialog .flow-link{justify-content:flex-end;margin-top:12px}
.creation-entry .flow-content [hidden],.creation-entry .flow-footer[hidden]{display:none}
@media(max-width:350px){.creation-entry .flow-content{padding:22px 16px}.creation-entry .format-option{padding:15px 10px;gap:10px}.creation-entry .format-art{width:50px}.creation-entry .format-art svg{width:43px}.creation-entry .mode-button{padding:16px 12px}.creation-entry .flow-grid{gap:10px}.creation-entry .flow-footer{padding-inline:16px}}

/* App-shell adapters for the approved s08 tokens and presentation. */
.app-shell.creation-entry{height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column;background:#fafcf9;color:var(--flow-ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--brand:var(--flow-primary);--surface:#fff;--ink:var(--flow-ink);--ink-muted:var(--flow-muted);--outline-soft:var(--flow-outline)}
.creation-entry .creation-appbar{display:grid;grid-template-columns:48px 1fr 48px;height:64px;min-height:64px;padding:0 8px;background:#fff;border-bottom:1px solid var(--flow-outline);align-items:center}
.creation-entry .screen{padding:0;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column}
.creation-entry .flow-content{flex:1;overflow:visible;min-height:auto}
.creation-entry .flow-content>.flow-lead{margin-bottom:24px}
.creation-entry .tile{width:44px;height:44px;border-radius:12px;background:var(--flow-tint);color:var(--flow-primary);display:grid;place-items:center;flex:none}
.creation-entry svg{width:24px;height:24px;flex:none}
.creation-entry .back{width:48px}
.creation-entry .flow-footer{padding-bottom:max(18px,env(safe-area-inset-bottom));flex:none}
.creation-entry .flow-footer>button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:24px;background:var(--flow-primary);color:#fff;border:0;font-size:14px;font-weight:600;line-height:1.5;padding:12px 18px}
.creation-entry .flow-footer>button:disabled{opacity:1;background:#e4e9e5;color:#66776a}
.creation-entry .flow-content button{font-family:inherit}
.creation-entry .format-option.selected{background:#eef6ef;box-shadow:inset 3px 0 var(--flow-primary)}
.creation-entry .gc-page{padding:0;gap:22px}
.creation-entry .flow-support p{margin:0}
.creation-entry .flow-form-content .gc-page>.gc-brief-heading{margin:0}
.creation-entry .flow-form-content .gc-brief-heading h2{font-size:25px;margin:0}
.creation-entry .flow-form-content .field{padding:0}
.creation-entry .flow-form-content .field>label{position:static;display:block;font-size:13px;font-weight:600;padding:0;margin:0 0 8px;background:transparent}
.creation-entry .flow-form-content textarea{font-family:inherit;min-height:152px;border-radius:8px;font-size:14px;line-height:1.7;padding:14px;background:#fff}
.creation-entry .flow-form-content .select-trigger{border-radius:8px;font-size:14px;min-height:48px}
.creation-entry .flow-form-content .vc-page,.creation-entry .flow-form-content .dh-page{margin:0;min-height:0;background:transparent;color:inherit;--ink:var(--flow-ink);--muted:var(--flow-muted);--line:var(--flow-outline);--paper:#fafcf9;--dark:var(--flow-primary)}
.creation-entry .flow-form-content .content{padding:0}
.creation-entry .flow-form-content .footer{display:none}
.creation-entry .flow-form-content h1{font-size:25px;margin:0 0 8px}
/* Demo r3 s05/s08: scoped variants must outrank the shared dialog defaults. */
.modal-layer.creation-type-layer{padding:24px 20px;background:#10271d80}
.modal-layer.creation-type-sheet-layer{align-items:flex-end;padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:#13231c80}
.modal-layer .creation-type-dialog[open],.modal-layer .creation-type-sheet[open]{box-sizing:border-box;font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#182d28}
.modal-layer .creation-type-dialog[open]{width:100%;max-width:360px;padding:24px;border-radius:24px;background:#f8fcf7;box-shadow:0 20px 80px #10271d30}
.modal-layer .creation-type-dialog h2{font-size:21px;line-height:1.6;font-weight:700;margin:0 0 18px}
.modal-layer .creation-type-dialog .source-options{display:flex;flex-direction:column;gap:4px;overflow-y:auto;min-height:0}
.modal-layer .creation-type-dialog .source-option{display:flex;align-items:center;gap:12px;flex-shrink:0;width:100%;min-height:56px;margin:0;border:0;border-radius:10px;background:transparent;box-shadow:none;padding:8px 12px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.5;color:#182d28;text-align:left;cursor:pointer}
.modal-layer .creation-type-dialog .source-option svg{width:24px;height:24px;flex-shrink:0}
.modal-layer .creation-type-dialog .source-option[aria-current=true]{background:#e3efe4;color:#20573f}
.modal-layer .creation-type-dialog .creation-type-mark{margin-left:auto}
.modal-layer .creation-type-dialog .dialog-actions{display:flex;margin:12px 0 0;flex-shrink:0}
.modal-layer .creation-type-dialog .creation-type-cancel{display:flex;align-items:center;justify-content:flex-end;width:100%;min-height:48px;margin:0;padding:4px 0;border:0;border-radius:0;box-shadow:none;background:transparent;color:#226c53;font-family:inherit;font-size:13px;font-weight:600;line-height:1.6;cursor:pointer}
.modal-layer .creation-type-sheet[open]{width:100%;max-width:480px;padding:22px 18px 14px;border-radius:8px;background:#fff;box-shadow:0 -10px 36px #0d1c1633}
.modal-layer .creation-type-sheet h2{font-size:18px;line-height:1.6;font-weight:700;margin:0 0 14px}
.modal-layer .creation-type-sheet .source-options{display:flex;flex-direction:column;overflow-y:auto;min-height:0}
.modal-layer .creation-type-sheet .source-option{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;width:100%;min-height:52px;margin:0;padding:0 4px;border:0;border-bottom:1px solid #e4ebe6;border-radius:0;background:#fff;box-shadow:none;color:#182d28;font-family:inherit;font-size:14px;font-weight:600;line-height:1.6;text-align:left;cursor:pointer}
.modal-layer .creation-type-sheet .source-option svg{width:17px;height:24px;flex-shrink:0;color:#7c8981}
.modal-layer .creation-type-sheet .dialog-actions{display:flex;flex-shrink:0;margin:12px 0 0}
.modal-layer .creation-type-sheet .creation-type-cancel{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;padding:12px 14px;border:0;border-radius:10px;background:#f1f5f2;box-shadow:none;color:#245f4a;font-family:inherit;font-size:14px;font-weight:600;line-height:1.6;cursor:pointer}
.modal-layer .creation-type-dialog button:focus-visible,.modal-layer .creation-type-sheet button:focus-visible{outline:3px solid #369272;outline-offset:-3px}
.modal-layer .creation-type-dialog button:active,.modal-layer .creation-type-sheet button:active{filter:brightness(.96)}
@media(prefers-reduced-motion:reduce){.creation-entry *{scroll-behavior:auto!important}}
