/* Shared by login.html and account.html; same look as the library. */
:root{--ink:#14171B;--muted:#5D6570;--line:#D3D8DE;--accent:#FFFF00;--bg:#fff;--surface:#F4F5F7;--chip:#EEF0F2;--faint:#A8ADB3;--soft:#FFFFB3;--err-bg:#FFF1F0;--err:#9A1C12;color-scheme:light}
/* Dark mode (Account → Appearance, set by theme.js): black background, white text; yellow keeps black text. */
html[data-theme="dark"]{--ink:#F4F4F4;--muted:#9AA0A7;--line:#3A3D42;--bg:#000;--surface:#151515;--chip:#232323;--faint:#666B72;--soft:#38380C;--err-bg:#3A1210;--err:#FFB4AB;color-scheme:dark}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.45 "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
main{max-width:400px;margin:0 auto;padding:12vh 16px 48px}
.logo{display:block;width:36px;height:36px;margin:0 0 28px}
h1{font-size:22px;font-weight:500;margin:0 0 6px;letter-spacing:-.01em}
h2{font-size:15px;font-weight:500;margin:36px 0 10px}
p{margin:0 0 14px}
.muted{color:var(--muted)}
form{display:grid;gap:10px;margin:18px 0 0}
label{display:grid;gap:4px;font-size:13px;color:var(--muted)}
label.check{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink);cursor:pointer;margin:2px 0}
label.check input{width:16px;height:16px;margin:0;padding:0;accent-color:var(--ink);cursor:pointer}
input{font:inherit;color:var(--ink);height:40px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);width:100%}
input:focus{outline:2px solid var(--ink);outline-offset:-1px;border-color:var(--ink)}
.btn{font:inherit;font-size:14px;font-weight:500;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--ink);background:var(--bg);color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#000}
.btn.red{background:#FF0000;border-color:#FF0000;color:#fff}
.btn.red.armed{background:#C00000;border-color:#C00000}
.btn.magenta{background:#FF00FF;border-color:#FF00FF;color:#fff}
.btn:disabled{opacity:.5;cursor:default}
.link{font:inherit;font-size:13px;background:none;border:0;padding:0;color:var(--muted);text-decoration:underline;cursor:pointer;justify-self:start}
.msg{font-size:14px;padding:10px 12px;border-radius:8px;background:var(--surface);margin:14px 0 0}
.msg.err{background:var(--err-bg);color:var(--err)}
.msg:empty{display:none}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
ul.people{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
ul.people li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
ul.people li span:last-child{color:var(--muted);white-space:nowrap}
ul.people .active{font-size:11px;font-weight:700;background:var(--accent);color:#000;padding:2px 7px;border-radius:999px;flex:none;width:52px;text-align:center}
ul.people .active.none{background:none}
ul.people li:has(.active){justify-content:flex-start;align-items:center}
ul.people li .email{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
ul.people li.stack{flex-direction:column;gap:2px}
ul.people li.stack span:last-child{white-space:normal}
ul.people li.stack span:only-child{color:var(--ink)}
/* A section that starts folded: click its heading to open it. */
details.fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;margin:36px 0 10px}
details.fold>summary::-webkit-details-marker{display:none}
details.fold>summary h2{margin:0}
details.fold>summary::after{content:"";width:6px;height:6px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(-45deg);margin-left:2px}
details.fold[open]>summary::after{transform:translateY(-2px) rotate(45deg)}
details.fold>summary:hover h2{text-decoration:underline;text-underline-offset:3px}
section.danger{margin-top:48px}
[hidden]{display:none!important}
/* The practice form (practice.html): styled like an image's details panel. Bold black
   field names, borderless text boxes with grey hints, small chips that turn yellow. */
main.wide{max-width:560px}
.pform{display:flex;flex-direction:column;gap:22px;margin-top:26px}
.pform fieldset,.pform .pfield{border:0;padding:0;margin:0;min-width:0;display:flex;flex-direction:column;gap:8px}
.pform legend,.pform .lab{font-size:13px;font-weight:700;color:var(--ink);padding:0;margin:0 0 8px}
.pform .pfield .lab{margin:0;display:block}
.pform .hint{font-weight:400;color:var(--muted)}
.pform input[type=text]{border:0;border-radius:0;height:26px;padding:0;font-size:13px;background:transparent;outline:none;width:100%}
.pform input[type=text]::placeholder{color:var(--faint)}
.pform input[type=text]:focus{outline:none}
.pform p.muted{font-size:13px;margin:0 0 4px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.pgroups{display:flex;flex-direction:column;gap:14px}
.pgroup{display:flex;flex-direction:column;gap:6px}
.pform .pgroup{margin-top:6px}
.pform .pgroups .pgroup{margin-top:0}
.pgroup .chips:empty{display:none}
#practiceList h3.sub{margin:22px 0 6px}
#practiceList h3.sub.top{font-size:13px;font-weight:700;color:var(--ink)}
#practiceList h3.sub:first-child{margin-top:4px}
h3.sub{font-size:12px;font-weight:400;color:var(--muted);margin:0}
.chip{display:inline-flex;cursor:pointer}
.chip input{position:absolute;opacity:0;width:1px;height:1px}
.chip span{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:13px;background:var(--bg);border:1px solid var(--line);color:var(--ink);font-size:12.5px;font-weight:500}
.chip:hover span{border-color:var(--muted)}
.chip input:checked+span{background:var(--accent);border-color:var(--accent);color:#000}
.chip input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}
.chip.fixed{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:13px;background:var(--chip);color:var(--muted);font-size:12.5px;font-weight:500;cursor:default}
.chip.fixed.project{background:var(--ink);color:var(--bg)}
.chip.own{display:inline-flex;align-items:center;gap:2px;height:26px;padding:0 4px 0 10px;border-radius:13px;background:var(--soft);color:var(--ink);font-size:12.5px;font-weight:500;cursor:default}
.chip.own button{border:0;background:none;width:18px;height:18px;border-radius:50%;padding:0;font-size:14px;line-height:1;color:var(--muted);cursor:pointer}
.chip.own button:hover{background:rgba(128,128,128,.2);color:var(--ink)}
.chip.own span{border:0;background:none;padding:0;height:auto}
/* iPhone Safari zooms the page into any text box under 16px; touch screens get 16px. */
@media (pointer:coarse){input{font-size:16px!important}}
/* Appearance switch on the Account page: two pills, the chosen one yellow. */
.seg .btn[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#000}
/* Account → Waitlist: each entry with an Invite button, or a badge once invited. */
p.small{font-size:13px}
.btn.small{height:28px;padding:0 12px;font-size:13px;flex:none}
select.btn{appearance:none;-webkit-appearance:none;padding:0 30px 0 16px;background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235D6570' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center}
#batchRow{margin:4px 0 10px}
#waitMsg{margin:0 0 14px}
ul.people li.wl{align-items:center}
ul.people li.wl .who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
ul.people li.wl .who span{color:var(--ink);white-space:nowrap}
ul.people li.wl .who span.about{color:var(--muted);white-space:normal}
ul.people .badge{flex:none;font-size:12px;font-weight:500;background:var(--chip);color:var(--muted);padding:3px 9px;border-radius:999px;white-space:nowrap}
ul.people .badge.done{background:var(--soft);color:var(--ink)}
/* Studios (Account): one block per studio; members with their role and actions. */
.studio{margin-top:8px}
ul.people li.member{align-items:center}
ul.people li.member .who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
ul.people li.member .who span.email{color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
ul.people li.member .who span.about{color:var(--muted);white-space:normal;font-size:13px}
ul.people li.member .acts{display:flex;gap:6px;flex:none;color:inherit}
ul.people li.member .btn.small.armed{background:#c00000;border-color:#c00000;color:#fff}
form.addperson{margin-top:16px}

