:root{--bg: #f6f7f9;--surface: #ffffff;--border: #e2e5ea;--text: #16181d;--muted: #5f6673;--accent: #1f5eff;--accent-soft: #eaf0ff;--danger: #c0392b;--radius: 12px;--shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 8px 24px rgb(16 24 40 / 6%)}@media (prefers-color-scheme: dark){:root{--bg: #0e1116;--surface: #161a21;--border: #262c36;--text: #e8eaed;--muted: #9aa3b2;--accent: #6f9bff;--accent-soft: #1b2438}}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}h1,h2,h3{line-height:1.25;margin:0 0 .5rem}h1{font-size:1.6rem}h2{font-size:1.15rem}h3{font-size:1rem}a{color:var(--accent)}.muted{color:var(--muted);font-size:.925rem}.error{color:var(--danger);background:#c0392b14;border-radius:8px;padding:.6rem .75rem;font-size:.925rem}.notice{background:var(--accent-soft);border-radius:8px;padding:.6rem .75rem;font-size:.875rem}.app-loading{padding:3rem;text-align:center;color:var(--muted)}.auth-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 1rem}.page{max-width:900px;margin:0 auto;padding:2rem 1rem 4rem}.page__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:2rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.75rem;width:100%;max-width:420px;display:flex;flex-direction:column;gap:1rem}.card--wide{max-width:760px}.section{margin-top:1rem}.section__head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media (max-width: 560px){.grid-2{grid-template-columns:1fr}}.field{display:flex;flex-direction:column;gap:.35rem;border:0;padding:0;margin:0 0 .25rem;font-size:.925rem}.field>span,.field>legend{font-weight:550}.field small{color:var(--muted);font-size:.825rem}.field--check{flex-direction:row;align-items:center;gap:.5rem}input,select{font:inherit;color:inherit;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:.55rem .7rem;width:100%}input:focus-visible,select:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.questions{border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.75rem}.questions legend{font-weight:600;padding:0 .4rem}.button{font:inherit;font-weight:600;background:var(--accent);color:#fff;border:1px solid transparent;border-radius:8px;padding:.6rem 1.1rem;cursor:pointer;text-decoration:none;text-align:center}.button:disabled{opacity:.6;cursor:not-allowed}.button--ghost{background:transparent;color:var(--text);border-color:var(--border)}.profile-picker{display:flex;flex-direction:column;gap:.75rem;margin-top:.75rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.profile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.75rem;margin-top:.75rem}.profile-card{font:inherit;color:inherit;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.9rem;cursor:pointer;display:flex;flex-direction:column;gap:.25rem}.profile-card:hover{border-color:var(--accent)}.profile-card.is-selected{border-color:var(--accent);background:var(--accent-soft)}.profile-card__icon{font-size:1.5rem}.profile-card__name{font-weight:600}.profile-card__description{color:var(--muted);font-size:.85rem}.chips{display:flex;flex-wrap:wrap;gap:.5rem}.chip{font:inherit;font-size:.875rem;color:inherit;background:transparent;border:1px solid var(--border);border-radius:999px;padding:.35rem .8rem;cursor:pointer}.chip.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:600}.template-preview{border:1px dashed var(--border);border-radius:var(--radius);padding:1rem 1.1rem}.template-preview ul{margin:.5rem 0 0;padding-left:1.2rem;color:var(--muted);font-size:.9rem}.workspace-list{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.75rem}.workspace-card{display:flex;align-items:center;gap:.9rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem}.workspace-card h3{margin:0}.workspace-card__icon{font-size:1.6rem}.share{display:flex;flex-direction:column;gap:.5rem}
