@import url('/brand-tokens.css');
.text-page{max-width:1220px;margin:auto;padding:34px 24px 80px;color:var(--ui-ink)}.back{color:var(--ui-muted);text-decoration:none;font-weight:700}.text-head{padding:45px 0 30px}.text-head h1{font-size:clamp(2.7rem,6vw,5.3rem);line-height:.94;letter-spacing:-.06em;margin:15px 0 22px}.text-head>p{max-width:790px;font-size:1.1rem;color:var(--ui-muted)}.text-head #access{display:inline-block;margin-top:10px;background:var(--ui-soft);border-radius:12px;padding:12px 15px}.text-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.85fr);gap:18px}.wizard,.preview{background:white;border:1px solid var(--ui-border);border-radius:18px;padding:28px}.wizard-top{display:flex;justify-content:space-between;align-items:center}.wizard-top span{font-weight:900;letter-spacing:.12em;color:var(--ui-primary);font-size:.75rem}.wizard-top button,.quiet{border:0;background:none;color:var(--ui-muted);text-decoration:underline;cursor:pointer}.answer-history{display:flex;flex-direction:column;gap:7px;margin:20px 0}.answer-history p{margin:0;padding:10px 12px;border-radius:9px;background:var(--ui-soft);font-size:.9rem}.answer-history b{color:var(--ui-primary)}.wizard h2{font-size:2rem;line-height:1.1;margin:24px 0 10px}.wizard #help{color:var(--ui-muted)}.wizard #options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:24px 0}.wizard #options button,.wizard #generate,.custom button,.preview form button{border:0;border-radius:10px;background:var(--ui-primary);color:white;padding:14px 15px;text-align:left;font:inherit;font-weight:750;cursor:pointer}.wizard #options button{background:var(--ui-soft);color:var(--ui-ink);border:1px solid var(--ui-border)}.wizard #options button:hover{background:var(--ui-soft);border-color:var(--ui-muted)}.custom{display:flex;gap:8px}.custom input{flex:1;border:1px solid var(--ui-border);border-radius:10px;padding:13px;font:inherit}.quiet{display:block;margin:20px auto 0}.wizard #generate{display:block;margin:20px 0 8px;text-align:center}.wizard #generate:disabled{opacity:.5}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--ui-soft);border-radius:10px;padding:16px;font:13px/1.55 ui-monospace,monospace}.preview{background:radial-gradient(circle at 50% 35%,var(--ui-canvas),var(--ui-border));min-height:540px}.preview #empty{height:390px;display:grid;place-items:center;align-content:center;color:var(--ui-muted)}.preview #empty span{font-size:5rem}.preview model-viewer{width:100%;height:420px;border-radius:12px;background:radial-gradient(circle,#fff,var(--ui-muted))}progress{width:100%;margin:18px 0}#downloads{display:flex;gap:20px;margin:14px 0}#downloads a{font-weight:750;color:var(--ui-primary)}.preview form{background:#fff;padding:18px;border-radius:13px;margin-top:18px}.preview form>input,.preview form textarea,.preview form select{width:100%;padding:11px;border:1px solid var(--ui-border);border-radius:8px;margin:5px 0;font:inherit}.preview form>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.preview form label{display:flex;gap:9px;font-size:.84rem;margin:10px 0}.preview form label input{width:auto}.preview form button{width:100%;text-align:center}#error{color:#a44538}@media(max-width:800px){.text-page{padding:24px 15px 60px}.text-work{grid-template-columns:1fr}.wizard #options{grid-template-columns:1fr}.custom{display:block}.custom input,.custom button{width:100%;margin-top:8px}.preview{min-height:420px}.preview model-viewer{height:340px}}
/* Access, waiting and retry states must not look like active AI requests. */
#begin,#retry-question,#test-continue{display:inline-block;font:inherit;font-weight:750;padding:13px 17px;border:0;border-radius:10px;background:var(--ui-primary);color:#fff;text-decoration:none;cursor:pointer}
#begin:disabled,#retry-question:disabled,.wizard button:disabled{opacity:.5;cursor:not-allowed}
#start-note{font-size:.9rem;line-height:1.5;color:var(--ui-muted)}
#access{overflow-wrap:anywhere}#access a{display:inline-block;color:var(--ui-ink);font-weight:650;text-decoration:underline;text-underline-offset:3px}
.custom input{min-width:0}
[hidden]{display:none!important}
/* Long translated choices and filenames must fit narrow columns. */
.text-work>*,.wizard,.preview{min-width:0}
.text-page :is(h1,h2,h3,button,label,p,a){overflow-wrap:anywhere}
.wizard-top{gap:12px;flex-wrap:wrap}
.wizard button,.custom button{white-space:normal;min-height:44px}
.preview-heading{flex-wrap:wrap}
@media(max-width:480px){.wizard,.preview{padding:18px}.service-steps{flex-direction:column}.service-steps li{flex-direction:row!important;align-items:center!important;min-width:0}.text-page .text-head h1{font-size:clamp(1.75rem,8vw,2.2rem)}.preview model-viewer{height:300px}.uploads input{min-width:0;width:100%}}
