:root {
  --void: #050505;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --text: #F4F4F2;
  --muted: #A6A6A3;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .42);
  --line-field: rgba(255, 255, 255, .45);
  --signal: #E8992C;
  --signal-hover: #FFC96B;
  --err: #F2A7A0;
  --float: rgba(5, 5, 5, .94);
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 9px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --top: 64px;
  --bar: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--void); color: var(--text); }
body { font: 400 16px/1.6 'Manrope', system-ui, sans-serif; min-height: 100vh; -webkit-font-smoothing: antialiased; }
h1, h2, .kicker, .tabs button, .bar button, .c-name { font-family: 'Outfit', 'Manrope', system-ui, sans-serif; }
h1 { font-weight: 500; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1; letter-spacing: .04em; text-transform: uppercase; margin: 18px 0 20px; overflow-wrap: anywhere; }
h2 { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 32px 0 12px; line-height: 1.2; }
p { margin: 0 0 12px; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--void); border: 1px solid var(--text); border-radius: var(--r-sm); padding: 8px 12px; z-index: 100; }
.skip:focus { top: 12px; }
.nojs { margin: 0; padding: 16px; text-align: center; border-bottom: 1px solid var(--line); }


.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--signal); margin: 0; line-height: 1.2; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.lede { color: var(--muted); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 44ch; }
.muted { color: var(--muted); font-weight: 400; }
.fine, .hint { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.fine a { text-underline-offset: 4px; }
.note { font-size: 14px; color: var(--text); }
.err { color: var(--err); font-size: 14px; margin: 6px 0 0; }
.err:empty { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: .9rem 1.6rem; border-radius: var(--r-md);
  background: transparent; color: var(--text); border: 1px solid var(--line-strong);
  font: 600 12px/1 'Manrope', system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .16s var(--ease);
}
.btn-primary { border-color: var(--text); }
.btn:hover:not(:disabled), .btn:focus-visible { border-color: var(--signal); color: var(--signal); background: rgba(232, 153, 44, .07); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: default; }
.btn.icon { min-height: 44px; padding: 0 16px; font-size: 11px; }
.btn .circle { display: inline-grid; place-items: center; width: 34px; height: 34px; margin: -8px -12px -8px 4px; border-radius: 50%; border: 1px solid currentColor; transition: transform .35s var(--ease); }
.btn:hover .circle { transform: translateX(4px); }
.btn .circle svg { width: 14px; height: 14px; }
.link { background: none; border: 0; padding: 8px 4px; min-width: 44px; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; cursor: pointer; min-height: 44px; transition: color .2s ease; }
.link:hover { color: var(--text); text-decoration-color: currentColor; }

.screen { padding: clamp(40px, 8vw, 96px) 16px 120px; }
.narrow { max-width: 600px; margin: 0 auto; }
.wide { max-width: 1160px; margin: 0 auto; }
.mark { display: block; margin-bottom: 28px; }
.mark.small { margin: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.actions.tight { margin-top: 10px; }
.alt { margin-top: 20px; }


#s-start .narrow { max-width: 760px; }
#s-start h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: .98; margin-bottom: 26px; }
#s-start .lede { margin-bottom: 32px; }
#start-form { max-width: 560px; }
#start-form .hint { margin: 8px 0 0; }
.promise { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.promise li { padding: 18px 18px 0 0; font-size: 14px; color: var(--muted); }
.promise li b { display: block; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; color: var(--text); margin-bottom: 8px; }
@media (max-width: 600px) { .promise { grid-template-columns: 1fr; } .promise li { padding: 14px 0 0; } }

label, legend { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }
input:not([type]), input[type=search], input[type=tel], input[type=email], input[type=text], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-md);
  background: var(--surface); color: var(--text); border: 1px solid var(--line-field);
  font: inherit; font-size: 16px; transition: border-color .2s ease, background-color .2s ease;
}
input::placeholder, textarea::placeholder { color: #8a8a87; }
textarea { resize: vertical; }
select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A6A6A3' stroke-width='1.6'/%3E%3C/svg%3E"); }
select option, select optgroup { background: var(--surface); color: var(--text); }
input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=color]):focus, select:focus, textarea:focus { outline: 2px solid var(--signal); outline-offset: 0; border-color: var(--signal); background: var(--surface-2); }
input[type=radio], input[type=checkbox] { accent-color: var(--signal); width: 20px; height: 20px; margin: 0; flex: none; }
[aria-invalid=true]:not([type=radio]):not([type=checkbox]) { border-color: var(--err); }
.field { margin: 0 0 22px; border: 0; padding: 0; }
.held { border: 1px solid var(--signal); border-radius: var(--r-lg); padding: 20px; margin: 0 0 22px; background: var(--surface); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.cards.small { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.plan-hint { margin: 0; max-width: 62ch; }
.cairn { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.cairn h2 { margin: 0 0 8px; font-size: 20px; color: var(--text); letter-spacing: .08em; }
.cairn .hint { max-width: 62ch; }
.cairn .cards { margin-top: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; overflow: hidden; transition: border-color .25s ease; }
.card:hover { border-color: var(--line-strong); }
.card .thumb { position: relative; aspect-ratio: 390 / 560; overflow: hidden; background: var(--void); border-bottom: 1px solid var(--line); }
.cards.small .card .thumb { aspect-ratio: 4 / 3; }
.card .thumb iframe { position: absolute; left: 0; top: 0; width: 390px; height: 560px; border: 0; transform-origin: 0 0; pointer-events: none; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .c-in { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card .c-name { font-weight: 500; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 0; }
.card .btn { margin-top: auto; }
.sw { display: flex; gap: 10px; margin: 0; padding: 0; border: 0; }
.sw button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer; display: grid; grid-template-rows: 2fr 1fr; overflow: hidden; background: none; }
.sw button span { display: block; }
.sw button[aria-pressed=true] { outline: 2px solid var(--signal); outline-offset: 3px; }

.steps { list-style: none; padding: 0; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.steps li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 16px 20px; color: var(--muted); }
.steps li + li { border-top: 1px solid var(--line); }
.steps li .st { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; align-self: center; }
.steps li.done { color: var(--text); }
.steps li.done .st { color: var(--text); }
.steps li.now .st { color: var(--signal); }


.editor {
  --e-ink: #141414;
  --e-paper: #F4F4F2;
  --e-field: #FCFCFA;
  --e-hover: #EAE8E2;
  --e-line: #D6D3CB;
  --e-line-strong: #8F8C84;
  --e-text: #161616;
  --e-muted: #55534D;
  --e-amber: #E8992C;
  --e-amber-ink: #8A4F00;
  --e-focus: #A55B00;
  --e-fix: #A3221A;
  --e-stone: #D9D6CE;
}
body:has(#s-editor:not([hidden])) { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
body:has(#s-editor:not([hidden])) main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.screen.editor { padding: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; }

.ed-top { height: var(--top); flex: none; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: var(--e-ink); color: var(--e-paper); border-bottom: 1px solid #2a2a28; position: relative; z-index: 36; }
.ed-id { min-width: 0; flex: 1 1 auto; }
.ed-name { margin: 0; font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-design { margin: 2px 0 0; font-size: 12px; color: #B9B7B0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-top .seg { flex: none; display: flex; padding: 3px; gap: 3px; border: 1px solid #3a3a37; border-radius: 10px; }
.ed-top .seg button { background: none; border: 1px solid transparent; border-radius: 7px; color: #C9C7C0; padding: 7px 14px; font: 600 12px/1 'Manrope', sans-serif; cursor: pointer; min-height: 34px; }
.ed-top .seg button:hover { color: #fff; }
.ed-top .seg button[aria-pressed=true] { color: var(--e-ink); background: var(--e-paper); }
.ed-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.ed-saved { margin: 0 6px 0 0; font-size: 12.5px; color: #B9B7B0; white-space: nowrap; }
.ed-progress { margin: 0 4px 0 6px; font-size: 12.5px; color: #E6E4DE; white-space: nowrap; }
.ed-progress.must { color: #FFC0B8; }
.ed-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 8px; background: transparent; color: inherit; border: 1px solid currentColor; border-color: rgba(127,127,127,.6); font: 600 13px/1.1 'Manrope', system-ui, sans-serif; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease; text-align: left; }
.ed-top .ed-btn { color: var(--e-paper); border-color: #4a4945; }
.ed-top .ed-btn:hover:not(:disabled) { border-color: var(--e-amber); color: #fff; }
.ed-btn:disabled { opacity: .45; cursor: default; }
.ed-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 8px; background: var(--e-amber); color: var(--e-ink); border: 1px solid var(--e-amber); font: 700 13.5px/1 'Manrope', system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.ed-primary:hover { background: #F2AE4E; border-color: #F2AE4E; }
.ed-primary:active { background: #D9871A; }
.ed-primary[aria-disabled=true] { background: transparent; color: var(--e-muted); border-color: var(--e-line-strong); cursor: not-allowed; }
.ed-top :focus-visible { outline: 2px solid var(--e-amber); outline-offset: 2px; }
.send-btn .sm { display: none; }
.secs-btn, .show-phone { display: none; }
.more { position: relative; }
.more-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 290px; background: var(--e-paper); color: var(--e-text); border: 1px solid var(--e-line-strong); border-radius: 10px; padding: 8px; z-index: 50; }
.menu-item { display: block; width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: 6px; padding: 10px 12px; min-height: 44px; font: 600 14px/1.2 'Manrope', sans-serif; color: var(--e-text); cursor: pointer; }
.menu-item:hover:not(:disabled) { background: var(--e-hover); }
.menu-item:disabled { opacity: .45; }
.menu-item:focus-visible { outline: 3px solid var(--e-focus); outline-offset: 0; }
.menu-note { margin: 6px 12px 6px; font-size: 12.5px; line-height: 1.5; color: var(--e-muted); }

.ed-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 372px 1fr; }
.ed-side { background: var(--e-paper); color: var(--e-text); border-right: 1px solid var(--e-line); overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.ed-side :focus-visible { outline: 3px solid var(--e-focus); outline-offset: 2px; }
.ed-side .hint { color: var(--e-muted); font-size: 13.5px; }
.ed-side .err { color: var(--e-fix); font-size: 13.5px; font-weight: 600; }
.ed-side label, .ed-side legend { color: var(--e-text); }
.ed-side .opt { font-weight: 400; color: var(--e-muted); }
.ed-side input:not([type]), .ed-side input[type=text], .ed-side select, .ed-side textarea { background: var(--e-field); color: var(--e-text); border: 1px solid var(--e-line-strong); border-radius: 8px; min-height: 44px; padding: 10px 12px; font-size: 15px; }
.ed-side input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=color]):focus, .ed-side select:focus, .ed-side textarea:focus { outline: 3px solid var(--e-focus); outline-offset: 0; border-color: var(--e-focus); background: #fff; }
.ed-side select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2355534D' stroke-width='1.6'/%3E%3C/svg%3E"); }
.ed-side select option { background: #fff; color: var(--e-text); }
.ed-side input[type=radio], .ed-side input[type=checkbox] { accent-color: var(--e-amber-ink); }
.ed-side [aria-invalid=true]:not([type=radio]):not([type=checkbox]) { border-color: var(--e-fix); }
.ed-side .ed-btn { color: var(--e-text); border-color: var(--e-line-strong); background: var(--e-field); }
.ed-side .ed-btn:hover:not(:disabled) { border-color: var(--e-text); background: #fff; }
.ed-side .ed-btn.sm { min-height: 36px; padding: 0 11px; font-size: 12.5px; }
.ed-side .ed-btn.add { border-style: dashed; width: 100%; justify-content: center; margin-top: 8px; }
.ed-side .ed-btn.strong { border-color: var(--e-text); }
.ed-side .ed-btn.file { position: relative; }
.ed-side .ed-btn.file:focus-within { outline: 3px solid var(--e-focus); outline-offset: 2px; }
.sheet-head { display: none; }
.view { padding: 0 0 40px; }
.v-head { position: sticky; top: 0; z-index: 2; background: var(--e-paper); padding: 18px 20px 12px; border-bottom: 1px solid var(--e-line); }
.v-title { margin: 6px 0 4px; font: 600 20px/1.25 'Outfit', 'Manrope', sans-serif; letter-spacing: .01em; text-transform: none; color: var(--e-text); }
.v-head .hint { margin: 4px 0 0; }
.v-status { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; }
.v-note { color: var(--e-muted); }
.back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; min-height: 36px; color: var(--e-text); font: 600 13px/1 'Manrope', sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--e-line-strong); }
.back::before { content: ""; width: 7px; height: 7px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-right: 2px; }
.back:hover { text-decoration-color: currentColor; }
.grp { margin: 22px 20px 8px; font: 700 11.5px/1.2 'Manrope', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--e-muted); }
.grp.must { color: var(--e-fix); }
.rows { list-style: none; margin: 0 12px; padding: 0; border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-field); overflow: hidden; }
.top-rows { margin-top: 16px; }
.rows li + li { border-top: 1px solid var(--e-line); }
.row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px 12px 10px 14px; background: none; border: 0; color: var(--e-text); text-align: left; font: inherit; cursor: pointer; }
.row:hover { background: var(--e-hover); }
.row:focus-visible { outline-offset: -3px; }
.r-main { flex: 1; min-width: 0; }
.r-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.r-sub { display: block; font-size: 12.5px; color: var(--e-muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-go { flex: none; width: 8px; color: var(--e-muted); display: grid; }
.r-go svg { width: 8px; height: 14px; }
.r-mark { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.r-mark svg { width: 14px; height: 14px; flex: none; }
.m-ready { color: #3D3C38; }
.m-look { color: var(--e-amber-ink); }
.m-look svg { color: #C77A12; }
.m-fix { color: var(--e-fix); }
.m-hidden { color: var(--e-muted); }
#ridge-note { margin: 18px 20px 0; }

#sec-body, #v-styles > :not(.v-head), #v-addons > :not(.v-head), #check-list, .check-go, .sec-tools, .sec-nav { margin-left: 20px; margin-right: 20px; }
.p-hint { margin: 14px 0 4px; }
.fld { margin: 16px 0 0; }
.fld label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.fld .f-note { margin: -2px 0 6px; font-size: 12.5px; }
.fld .count { margin: 4px 0 0; font-size: 12px; color: var(--e-muted); text-align: right; }
.fld .count:empty { display: none; }
.fld .count.full { color: var(--e-amber-ink); font-weight: 600; }
.fld.live input, .fld.live textarea { border-color: var(--e-amber); background: #fff; }
.sub-h { margin: 26px 0 6px; font: 700 11.5px/1.2 'Manrope', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--e-muted); }
.lst { border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-field); padding: 4px 14px 14px; margin: 18px 0 0; }
.lst legend { font-size: 13.5px; font-weight: 700; padding: 0 6px; margin: 0; }
.li { border-top: 1px solid var(--e-line); padding: 10px 0 2px; margin-top: 10px; }
.li:first-of-type { border-top: 0; margin-top: 0; }
.li-h { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--e-muted); }
.li .fld { margin-top: 8px; }
.li-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.li-new { background: var(--e-paper); border: 1px dashed var(--e-line-strong); border-radius: 8px; padding: 10px 12px 12px; margin-top: 12px; }
.sec-tools { margin-top: 6px; }
.sec-tools .p-acts, .p-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.sec-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--e-line); }
.sec-nav .ed-btn { justify-content: flex-start; min-height: 44px; }
.ed-side details.words { margin-top: 22px; border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-field); padding: 2px 14px 12px; }
.ed-side details.words summary { cursor: pointer; font-weight: 700; font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.photo-list { display: grid; gap: 10px; }
.photo-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-field); }
.photo-row .pv { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: var(--e-line); display: block; }
.photo-row .p-name { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; }
.photo-row .focus, .p-alt { grid-column: 1 / -1; }
.p-alt label { font-size: 12.5px; font-weight: 600; color: var(--e-muted); margin-bottom: 6px; }
.focus-pad { position: relative; display: block; width: 100%; max-width: 300px; cursor: crosshair; border: 1px solid var(--e-line-strong); border-radius: 8px; overflow: hidden; padding: 0; background: none; }
.focus-pad img { display: block; width: 100%; }
.focus-pad .dot { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid var(--e-amber); border-radius: 50%; background: rgba(20,20,20,.5); pointer-events: none; }

#hero-box { margin-top: 14px; }
.hero-list, .cw-list, .font-list { display: grid; gap: 8px; }
.hero-list button, .font-list button, .cw-list button { display: block; width: 100%; text-align: left; background: var(--e-field); border: 1px solid var(--e-line-strong); border-radius: 8px; color: var(--e-text); padding: 11px 13px; font: inherit; cursor: pointer; transition: border-color .15s ease; }
.hero-list button:hover, .font-list button:hover, .cw-list button:hover { border-color: var(--e-text); }
.hero-list button[aria-checked=true], .font-list button[aria-checked=true], .cw-list button[aria-checked=true] { border-color: var(--e-amber); box-shadow: none; outline: 2px solid var(--e-amber); outline-offset: -2px; }
.hero-list .hn { display: block; font-size: 14.5px; font-weight: 600; }
.hero-list .ht { display: block; font-size: 12.5px; color: var(--e-muted); margin-top: 2px; }
.cw-list button { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px; padding: 8px; font-size: 14.5px; }
.cw-list .chip { display: grid; grid-template-rows: 2fr 1fr; width: 52px; height: 38px; border-radius: 5px; overflow: hidden; border: 1px solid var(--e-line); }
.cw-list .chip span { display: block; }
.font-list .fa { display: block; font-size: 22px; line-height: 1.2; }
.font-list .fb { display: block; font-size: 12.5px; color: var(--e-muted); margin-top: 2px; }
#v-styles h2:not(.v-title) { margin: 24px 20px 10px; font: 700 11.5px/1.2 'Manrope', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--e-muted); }
#v-styles #look-full > h2 { margin-left: 0; margin-right: 0; }
.film-box { margin-top: 12px; }
.film-box .p-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.film-name { flex-basis: 100%; font-size: 13px; color: var(--e-muted); overflow-wrap: anywhere; }
.anim-list { display: grid; gap: 12px; margin-bottom: 14px; }
.anim-list label { font-weight: 600; font-size: 13.5px; }
.ed-side .own { margin-top: 12px; border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-field); padding: 2px 14px; }
.ed-side .own summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.own-in { display: grid; gap: 14px; padding: 8px 0 16px; }
.own fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.own fieldset legend { width: 100%; }
.own fieldset label, .ed-side .check { font-weight: 500; display: flex; align-items: center; gap: 8px; }
.own .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ed-side input[type=color] { display: block; width: 100%; height: 44px; padding: 3px; background: var(--e-field); border: 1px solid var(--e-line-strong); border-radius: 8px; margin-top: 6px; }
.ed-side .btn { min-height: 42px; padding: 0 16px; border-radius: 8px; color: var(--e-text); border-color: var(--e-line-strong); background: var(--e-field); letter-spacing: .08em; }
.ed-side .btn:hover:not(:disabled), .ed-side .btn:focus-visible { color: var(--e-text); border-color: var(--e-text); background: #fff; }
.ed-side .note { color: var(--e-text); font-size: 13.5px; }

.ed-side .plan { border: 1px solid var(--e-line); border-radius: 10px; padding: 12px 14px; margin: 16px 20px 12px; font-size: 14px; background: var(--e-field); }
.addon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.addon-list li { border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-field); padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: start; }
.addon-list .a-name { font-weight: 700; margin: 0; }
.addon-list .a-text { grid-column: 1; margin: 0; font-size: 13.5px; color: var(--e-muted); }
.addon-list .a-go { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.switch { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--e-muted); padding: 4px; min-height: 44px; cursor: pointer; font: 700 12.5px/1 'Manrope', sans-serif; }
.switch .box { position: relative; width: 40px; height: 24px; border-radius: 12px; background: #C9C6BE; border: 1px solid #8F8C84; transition: background-color .15s ease; }
.switch .box::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #8F8C84; transition: transform .15s ease; }
.switch[aria-checked=true] { color: var(--e-text); }
.switch[aria-checked=true] .box { background: var(--e-amber); border-color: var(--e-amber-ink); }
.switch[aria-checked=true] .box::after { transform: translateX(16px); border-color: var(--e-amber-ink); }
.cat-ed { margin-top: 8px; }
.cat-g { border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-field); padding: 12px 14px 14px; margin: 0 0 12px; }
.cat-g legend { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--e-muted); padding: 0 6px; }
.cat-g label { font-weight: 600; font-size: 12.5px; color: var(--e-muted); margin: 10px 0 6px; }
.cat-g label.ed-btn { color: var(--e-text); margin: 0; }
.cat-items { list-style: none; margin: 12px 0 6px; padding: 0; display: grid; gap: 10px; }
.cat-items li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0 0; border-top: 1px solid var(--e-line); }
.cat-th { width: 64px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--e-hover); display: grid; place-items: center; font-size: 11px; color: var(--e-muted); text-align: center; }
.cat-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-f .p-acts { margin-top: 10px; }
.review { border: 1px solid var(--e-line); border-radius: 10px; padding: 16px; margin-top: 14px; background: var(--e-field); }
.review .kicker { color: var(--e-amber-ink); }
.review .r-score { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 24px; margin: 10px 0 0; }
.review ul { list-style: none; padding: 0; margin: 12px 0; }
.review li { display: grid; grid-template-columns: 66px 1fr; gap: 8px; padding: 8px 0; font-size: 13.5px; }
.review li + li { border-top: 1px solid var(--e-line); }
.review li .ok { color: var(--e-text); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.review li .no { color: var(--e-amber-ink); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.review .r-fine { font-size: 12.5px; color: var(--e-muted); margin: 0; }

.chk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chk { display: block; width: 100%; text-align: left; background: var(--e-field); border: 1px solid var(--e-line-strong); border-left: 4px solid #C77A12; border-radius: 8px; padding: 11px 13px; color: var(--e-text); font: inherit; cursor: pointer; }
.grp.must + .chk-list .chk { border-left-color: var(--e-fix); }
.chk:hover { background: #fff; border-color: var(--e-text); }
.c-what { display: block; font-weight: 700; font-size: 14px; }
.c-how { display: block; font-size: 13.5px; color: var(--e-muted); margin-top: 2px; }
#check-list .grp { margin-left: 0; }
.check-go { margin-top: 22px; }
.check-go .ed-primary { width: 100%; min-height: 48px; }

.ed-stage { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--e-stone); }
.stage-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px 0; }
.ed-stage .unpub { color: #6A4100; }
.ed-stage .unpub::before { background: currentColor; }
.stage-hint { margin: 0; font-size: 12.5px; color: #4A4843; }
.frame-wrap { flex: 1; min-height: 0; display: grid; grid-template: 100% / 100%; justify-items: center; padding: 10px 20px 20px; overflow: hidden; }
.frame-wrap iframe { grid-area: 1 / 1; display: block; width: 100%; height: 100%; border: 1px solid #A9A69E; border-radius: 10px; background: #fff; }
.frame-wrap iframe.back { visibility: hidden; }
.frame-wrap.phone iframe { width: 390px; border-color: #6F6C65; border-radius: 26px; }
.toast { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; background: var(--e-ink); color: var(--e-paper); border: 1px solid var(--e-amber); border-radius: 8px; padding: 11px 15px; font-size: 14px; max-width: min(520px, calc(100% - 40px)); z-index: 5; }
.toast:empty { display: none; }
.pulse { outline: 3px solid var(--e-amber) !important; outline-offset: 3px; border-radius: 8px; }


.sum { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 4px 20px; margin: 24px 0 32px; }
.sum div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; padding: 12px 0; font-size: 15px; }
.sum div + div { border-top: 1px solid var(--line); }
.sum dt { margin: 0; color: var(--muted); }
.sum dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.choice { display: grid; gap: 10px; }
.choice legend { margin-bottom: 10px; }
.choice label { display: flex; gap: 14px; align-items: flex-start; font-weight: 400; font-size: 15px; line-height: 1.45; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); padding: 14px 16px; min-height: 52px; margin: 0; cursor: pointer; transition: border-color .2s ease; }
.choice label b { display: block; font-weight: 700; margin-bottom: 2px; }
.choice label:has(input:checked) { border-color: var(--signal); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 3px; }
.choice input { margin-top: 2px; }
.check.consent { align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; font-weight: 500; }
.check.consent input { margin-top: 1px; }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }


.foot { border-top: 1px solid var(--line); padding: 28px 16px 96px; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0 0 14px; }
.foot-links a, .foot-copy { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.foot-links a { text-decoration: none; padding: 6px 0; }
.foot-links a:hover { color: var(--text); }
.foot-copy { margin: 0; line-height: 1.6; }


.help-btn { position: fixed; right: 24px; bottom: 24px; z-index: 40; min-height: 50px; min-width: 84px; padding: 0 20px; background: var(--float); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-md); font: 600 12px/1 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.help-btn:hover, .help-btn[aria-expanded=true] { border-color: var(--signal); color: var(--signal); }
.helper { position: fixed; right: 24px; bottom: 86px; z-index: 41; width: min(390px, calc(100vw - 48px)); max-height: min(580px, calc(100vh - var(--top) - 150px)); display: flex; flex-direction: column; background: var(--void); border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: auto; }
.hp-head { position: sticky; top: 0; z-index: 1; background: var(--void); display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.hp-head h2 { margin: 0; flex: 1; font-size: 10.5px; color: var(--text); letter-spacing: .18em; }
.hp-log { position: relative; overflow-y: auto; padding: 16px 18px; flex: 1; min-height: 120px; }
.hp-log .m { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; }
.hp-log .m.me { color: var(--muted); text-align: right; }
.hp-log .m.me span { border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 12px; display: inline-block; background: var(--surface); }
.hp-card { border: 1px solid rgba(232,153,44,.7); border-radius: var(--r-md); background: var(--surface); padding: 14px; margin: 0 0 12px; }
.hp-card p { font-size: 14.5px; margin: 0; }
.hp-card a { text-underline-offset: 4px; }
.hp-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px; border-top: 1px solid var(--line); max-height: 140px; overflow-y: auto; flex: none; }
.hp-chips button { background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--r-sm); padding: 8px 11px; font: 500 13px/1.25 'Manrope', sans-serif; cursor: pointer; text-align: left; min-height: 40px; transition: border-color .2s ease; }
.hp-chips button:hover { border-color: var(--signal); }
.hp-rel { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hp-rel button { background: transparent; border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--r-sm); padding: 7px 10px; font: 500 12.5px/1.25 'Manrope', sans-serif; cursor: pointer; text-align: left; min-height: 36px; transition: border-color .2s ease; }
.hp-rel button:hover { border-color: var(--signal); }
.hp-ask { display: flex; gap: 8px; padding: 12px 18px 18px; }
.hp-ask input { min-height: 46px; font-size: 15px; }
.hp-ask .btn { min-height: 46px; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .ed-body { grid-template-columns: 330px 1fr; }
  .ed-saved, .ed-design { display: none; }
}

@media (max-width: 899px) {
  .cards { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 136px 1fr; }
  .card .thumb { aspect-ratio: auto; height: 196px; border-bottom: 0; border-right: 1px solid var(--line); }
  .cards.small { grid-template-columns: 1fr 1fr; }
  .cards.small .card { display: flex; }
  .cards.small .card .thumb { height: auto; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }

  .ed-top { gap: 6px; padding: 0 8px; height: 56px; }
  .ed-top .mark, .ed-top .seg, .hide-phone, .ed-saved, .ed-design { display: none; }
  .secs-btn, .show-phone { display: inline-flex; }
  .menu-item.show-phone { display: block; }
  .ed-name { font-size: 12.5px; letter-spacing: .04em; }
  .ed-tools { gap: 6px; }
  .ed-btn { padding: 0 10px; min-height: 40px; }
  .ed-primary { padding: 0 14px; min-height: 40px; }
  .send-btn .lg { display: none; }
  .send-btn .sm { display: inline; }
  .more-menu { width: min(290px, calc(100vw - 16px)); right: -52px; }
  .ed-body { display: block; position: relative; }
  .ed-stage { height: 100%; }
  .stage-bar { padding: 6px 12px; }
  .frame-wrap, .frame-wrap.phone { padding: 0; }
  .frame-wrap iframe, .frame-wrap.phone iframe { width: 100%; border: 0; border-radius: 0; }
  .ed-side { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-height: 72vh; border: 1px solid var(--e-line-strong); border-bottom: 0; border-radius: 16px 16px 0 0; display: none; }
  .ed-side.open { display: block; }
  .sheet-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 20px; background: var(--e-paper); border-bottom: 1px solid var(--e-line); }
  .sheet-head p { margin: 0; font: 700 13px/1.2 'Manrope', sans-serif; color: var(--e-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v-head { position: static; padding-top: 10px; }
  .v-head .v-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .toast { bottom: 14px; }
  .help-btn { right: 12px; bottom: 16px; min-height: 46px; }
  .help-btn.under-sheet { display: none; }
  .helper { left: 8px; right: 8px; width: auto; bottom: 72px; max-height: min(70vh, calc(100vh - 140px)); }
  .sum div { grid-template-columns: 1fr; gap: 2px; }
  .sum dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
