:root{--navy:#0b1727;--gold:#c89a36;--paper:#f7f0e2;--white:#fffdf7;--ink:#16243a;--muted:#777066;--line:#d9c79f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 system-ui,"Microsoft YaHei",sans-serif}aside{position:fixed;inset:0 auto 0 0;width:240px;background:var(--navy);color:white;padding:32px 24px}.brand{width:44px;height:44px;border:1px solid var(--gold);display:grid;place-items:center;color:#efd28d;font:700 21px serif}aside h1{font:600 20px serif;margin:18px 0 2px}aside p{font-size:12px;color:#a9b2c0}aside nav{display:grid;margin-top:42px}aside nav a{color:#bdc4ce;text-decoration:none;padding:11px 0;border-bottom:1px solid #ffffff12}aside nav a:hover{color:#efd28d}.back{position:absolute;bottom:28px;color:#efd28d;text-decoration:none}main{margin-left:240px;padding:30px 42px 100px;max-width:1300px}header{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:18px}header small{color:#936e1c;letter-spacing:.15em}header h2{font:700 31px serif;margin:4px 0}#saveState{font-size:12px;color:var(--muted)}section{scroll-margin-top:20px;margin-top:38px}.section-title{display:flex;gap:14px;align-items:start;margin-bottom:14px}.section-title>span{color:#a77c24;font-weight:700}.section-title h3{margin:0;font:600 21px serif}.section-title p{margin:2px 0;color:var(--muted)}.panel{background:var(--white);border:1px solid var(--line);padding:22px;box-shadow:0 5px 18px #1724380a}.identity-grid{display:grid;grid-template-columns:150px 1fr;gap:28px}.avatar-preview{width:130px;height:130px;background:var(--navy);border:1px solid var(--gold);display:grid;place-items:center;color:#efd28d;font:700 40px serif;overflow:hidden}.avatar-preview img{display:none;width:100%;height:100%;object-fit:cover}.avatar-preview.has-image img{display:block}.avatar-preview.has-image span{display:none}label{display:grid;gap:6px;font-weight:600;margin-bottom:15px}input,select,textarea{width:100%;border:1px solid #cfc5b2;background:#fff;padding:11px 12px;font:inherit;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #c89a3655;border-color:var(--gold)}.upload{display:inline-grid;border:1px solid var(--gold);padding:10px 13px;color:#8b6519;cursor:pointer}.hint{color:var(--muted);font-size:12px}.tabs{display:flex;gap:7px;margin-bottom:18px}.tabs button,.secondary,.test{border:1px solid var(--line);background:var(--paper);padding:9px 12px;cursor:pointer}.tabs button.active{background:var(--navy);color:#efd28d;border-color:var(--gold)}.provider-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.provider-head{display:flex;justify-content:space-between;margin-bottom:18px;font-size:16px}.provider-head i{width:9px;height:9px;background:#aaa;border-radius:50%}.provider-head i.ready{background:#39a56b}.test{width:100%;color:#7a5a18}.status-log{white-space:pre-wrap;min-height:78px}.savebar{position:fixed;z-index:4;left:240px;right:0;bottom:0;padding:13px 42px;background:#f7f0e2e8;border-top:1px solid var(--line);backdrop-filter:blur(12px);text-align:right}.savebar button{background:var(--navy);color:#efd28d;border:1px solid var(--gold);padding:12px 22px;cursor:pointer}.clone-workbench{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);margin-top:18px}.clone-column{padding:24px}.clone-column+.clone-column{border-left:1px solid var(--line)}.subhead small,.library-head small{color:#43927e;letter-spacing:.14em}.subhead h4,.library-head h4{font:700 22px serif;margin:2px 0 18px}.wide{display:grid}.notice{padding:12px;background:#eaf5f0;border:1px solid #b6d9cd;color:#285f51;margin:12px 0}.primary-wide{width:100%;border:0;background:#1f6653;color:white;padding:12px;cursor:pointer;font-weight:700}.primary-wide:disabled{opacity:.45}.speed-row{margin:10px 0 22px}.speed-row input{padding:0}.library-head{display:flex;justify-content:space-between;align-items:end;margin:30px 0 12px}.library-head h4{margin:2px 0 0}.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.profile-card{border:1px solid var(--line);background:#fff;padding:16px;min-width:0}.profile-card .card-top{display:flex;justify-content:space-between}.profile-card p{color:var(--muted);max-height:90px;overflow:auto}.profile-card b{display:block;color:#176b52;margin:8px 0}.profile-card button{border:0;background:#1f6653;color:white;padding:8px 10px;cursor:pointer}.profile-card audio{width:100%;margin-top:8px}.dot{width:8px;height:8px;border-radius:50%}.dot.green{background:#29946f}.dot.amber{background:#d3982f}@media(max-width:900px){aside{position:relative;width:auto;height:auto;padding:20px}aside nav{display:flex;gap:15px;overflow:auto;margin-top:20px}.back{position:absolute;right:20px;top:22px}main{margin:0;padding:24px 18px 100px}.provider-grid{grid-template-columns:1fr}.savebar{left:0;padding:12px 18px}.identity-grid{grid-template-columns:1fr}.clone-workbench{grid-template-columns:1fr}.clone-column+.clone-column{border-left:0;border-top:1px solid var(--line)}.profile-grid{grid-template-columns:1fr}}
