:root{--paper:#f4f0e8;--ink:#222820;--muted:#666d61;--accent:#c7462d;--line:#d9dcd0;--panel:#fbf9f4;--soft:#e8ecdf;--warning:#8b432a;--radius:18px}*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,input,select,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(33px,4vw,51px);font-weight:550;letter-spacing:-2px;line-height:1.1;margin:14px 0}h1>span{color:var(--accent)}h2{font-size:23px;line-height:1.2;letter-spacing:-.8px;font-weight:600;margin:0}h3{font-size:17px;font-weight:650;letter-spacing:-.35px;margin-bottom:7px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1460px;min-height:100px;margin:auto;padding:20px 5vw;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-size:30px;font-weight:750;letter-spacing:-1.8px;text-decoration:none}.brand>span:last-child{color:var(--accent)}.brand-icon{display:inline-grid;place-items:center;background:var(--accent);color:var(--paper);width:33px;height:36px;border-radius:10px;margin-right:10px;transform:rotate(-7deg);font-size:32px;line-height:1}.admin-label,.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:var(--muted)}.back-link{font-size:12px;text-decoration:none;white-space:nowrap}.back-link span{margin-left:10px}main{max-width:1460px;margin:auto;padding:0 5vw}.initial-state{padding:80px 0;color:var(--muted)}.login-panel{max-width:440px;margin:75px auto 100px}.login-panel h1{max-width:390px}.intro-copy{color:var(--muted);font-size:14px;line-height:1.7;max-width:510px}.login-panel form{margin-top:30px}.login-panel label{display:block;font-size:13px;margin:18px 0 7px}.login-panel input{width:100%;border:1px solid #bfc7b7;border-radius:11px;background:var(--panel);color:var(--ink);padding:13px 14px;min-height:48px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:14px;min-height:43px;border-radius:28px;padding:10px 19px;line-height:1.35;font-weight:550;font-size:13px}.primary{border:1px solid var(--ink);background:var(--ink);color:var(--paper)}.secondary{border:1px solid #bcc4b2;background:var(--panel);color:var(--ink)}.login-panel .primary{width:100%;margin-top:26px;min-height:48px}.text-button{padding:4px 0;border:0;background:transparent;color:var(--ink);font-size:12px;text-decoration:underline;text-underline-offset:4px}.feedback{color:var(--warning);font-size:13px;min-height:20px;line-height:1.6;margin:14px 0}.privacy-note{margin:28px 0 0;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.7}.dashboard-heading{display:flex;justify-content:space-between;gap:30px;align-items:center;padding:48px 0 25px}.session-controls{font-size:12px;display:flex;align-items:flex-end;flex-direction:column;gap:10px;max-width:250px;overflow-wrap:anywhere}.section-nav{display:flex;gap:7px;border-bottom:1px solid var(--line);padding-bottom:25px}.section-nav a{font-size:13px;min-height:39px;padding:9px 16px;border:1px solid var(--line);border-radius:30px;text-decoration:none}.section-nav a:hover{background:var(--soft)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin:25px 0 12px;font-size:12px}.toolbar>label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar select{border:1px solid #bfc7b7;border-radius:10px;padding:10px 30px 10px 12px;background:var(--panel);color:var(--ink);max-width:100%;font-size:12px}.refresh-controls{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.checkbox{display:flex;gap:7px;align-items:center;color:var(--muted)}.checkbox input{width:16px;height:16px;accent-color:var(--ink)}.status-row{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;min-height:24px}.status-row p{margin:0}.notice{font-size:13px;background:#f7e8dd;border:1px solid #d8b59f;padding:14px 17px;border-radius:12px;color:#713822;line-height:1.6}.dashboard-section{margin:30px 0 43px;scroll-margin-top:20px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin:0 0 20px}.section-heading>div{display:flex;align-items:center;gap:12px}.section-number{color:var(--accent);font-size:11px;letter-spacing:1px}.section-heading>p{color:var(--muted);font-size:12px;max-width:290px;text-align:right;line-height:1.6;margin:0}.card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.metric-card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);min-width:0}.metric-card{padding:21px 20px;display:flex;flex-direction:column;min-height:159px}.metric-label{font-size:12px;color:var(--muted);margin:0 0 11px}.metric-value{font-size:32px;letter-spacing:-1.4px;line-height:1.2;font-weight:600;margin:0 0 11px;overflow-wrap:anywhere}.metric-value.unavailable{font-size:18px;letter-spacing:-.35px}.metric-note{font-size:11px;line-height:1.55;margin:auto 0 0;color:var(--muted)}.metric-card.highlight{background:#e6ebdc;border-color:#d1dac4}.two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.panel{padding:23px 24px}.panel-note{font-size:12px;line-height:1.65;color:var(--muted);margin-bottom:20px}.small-note,.section-footnote{font-size:11px;line-height:1.7;color:var(--muted);margin:18px 0 0}.section-footnote{max-width:850px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-weight:500;color:var(--muted);white-space:nowrap;font-size:11px}th,td{padding:12px 8px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}th:first-child,td:first-child{padding-left:0}th:not(:first-child),td:not(:first-child){text-align:right}th:last-child,td:last-child{padding-right:0}tbody tr:last-child td{border:0}.empty-state{color:var(--muted);font-size:12px;padding:20px 0;margin:0}.profile-row{padding:12px 0;border-bottom:1px solid var(--line)}.profile-row:last-child{border:0}.profile-row>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:15px;font-size:12px;margin-bottom:8px}.profile-count{font-variant-numeric:tabular-nums;white-space:nowrap}.bar-track{height:5px;background:#e5e8df;border-radius:5px;overflow:hidden}.bar-fill{height:100%;background:#819173;border-radius:5px}.explanation{font-size:12px;color:var(--muted);margin-top:18px;line-height:1.75}.explanation summary{cursor:pointer;color:var(--ink);padding:5px 0}.explanation p{max-width:890px;margin:10px 0}.quota-block+.quota-block{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.quota-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;font-size:13px;margin-bottom:10px}.quota-heading h4{margin:0;font-size:13px;font-weight:600}.quota-heading strong{font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.quota-description{color:var(--muted);font-size:11px;margin:8px 0 0;line-height:1.65}.quota-block .bar-fill{background:var(--accent)}.detail-list{margin:17px 0 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1fr);font-size:12px;gap:0 17px}.detail-list dt,.detail-list dd{padding:10px 0;border-bottom:1px solid var(--line);margin:0;overflow-wrap:anywhere}.detail-list dt{color:var(--muted)}.detail-list dd{text-align:right;font-variant-numeric:tabular-nums}.text-link{font-size:12px;text-underline-offset:4px;display:inline-block;margin-top:18px}footer{max-width:1460px;margin:auto;border-top:1px solid var(--line);padding:25px 5vw;display:flex;justify-content:space-between;gap:25px;font-size:11px;color:var(--muted)}footer>span:first-child{color:var(--ink);font-size:20px;font-weight:750;letter-spacing:-1px}.skip-link{position:absolute;top:10px;left:10px;transform:translateY(-200%);background:var(--ink);color:white;border-radius:6px;padding:10px 14px;z-index:10}.skip-link:focus{transform:translateY(0)}.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}@media(max-width:1050px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.refresh-controls{gap:12px}.section-heading>p{max-width:250px}}@media(max-width:700px){.site-header{min-height:80px;padding:18px 5vw}.brand{font-size:26px}.brand-icon{width:29px;height:32px;font-size:29px}.admin-label{display:none}.dashboard-heading{display:block;padding-top:32px}.session-controls{flex-direction:row;align-items:center;justify-content:space-between;max-width:none;margin:20px 0 0;gap:15px}.section-nav{gap:6px;padding-bottom:20px}.section-nav a{font-size:12px;padding:9px 13px}.two-columns{grid-template-columns:minmax(0,1fr)}.section-heading{display:block}.section-heading>p{text-align:left;max-width:none;margin-top:10px}.section-heading>div{align-items:flex-start}.metric-card{padding:17px 15px;min-height:146px}.metric-value{font-size:29px}.metric-value.unavailable{font-size:17px}.card-grid{gap:10px}.panel{padding:21px 19px}.toolbar{align-items:stretch}.toolbar>label{width:100%;justify-content:space-between}.refresh-controls{width:100%;justify-content:space-between}.dashboard-section{margin-top:26px}.login-panel{margin:48px auto 70px}.status-row{font-size:10px}.panel-note{font-size:11px}footer>span:last-child{max-width:170px;text-align:right}}@media(max-width:350px){.card-grid{grid-template-columns:minmax(0,1fr)}.section-nav{flex-wrap:wrap}.toolbar>label{display:block}.toolbar select{display:block;margin-top:8px;width:100%}.refresh-controls{align-items:flex-start}.checkbox{max-width:160px}.session-controls{align-items:flex-start}.detail-list{grid-template-columns:minmax(0,1fr) minmax(80px,1fr)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.trial-reset{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.trial-reset .small-note{margin-top:12px}.trial-reset .feedback:empty{display:none}dialog{max-width:470px;width:calc(100% - 32px);padding:30px;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #22282030}dialog::backdrop{background:#22282080;backdrop-filter:blur(4px)}dialog h2{font-size:25px;margin-bottom:16px}dialog>p{font-size:13px;color:var(--muted);line-height:1.7}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:25px}@media(max-width:420px){dialog{padding:25px 21px}.dialog-actions{flex-direction:column-reverse}.dialog-actions button{width:100%}}
#library table{min-width:900px}#library td{vertical-align:top}#library td small{display:block;color:var(--muted);margin-top:5px;font-size:11px}#library-add{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}#library-name{padding:12px;border:1px solid var(--line);border-radius:10px;min-width:200px;background:var(--paper);color:var(--ink)}#library-detail{margin:20px 0}#library-detail li{margin:12px 0;overflow-wrap:anywhere;font-size:13px}#library-detail a{margin-right:14px}#library .library-selected{font-weight:700}
#library .library-portrait .figure{width:155px;height:216px;position:relative;z-index:1;flex-shrink:0;transform-origin:bottom;transition:transform .3s}#library .library-portrait .card:hover .figure{transform:rotate(-3deg)}#library .library-portrait .head{width:98px;height:106px;position:absolute;left:28px;top:22px;background:var(--skin,#e4b795);border-radius:42% 43% 41% 41%;box-shadow:inset -10px -6px 0 #0000000b,0 7px 7px #00000009;z-index:3}#library .library-portrait .hair{position:absolute;inset:-9px -3px auto;height:49px;background:var(--hair,#292b27);border-radius:50% 55% 15% 20%;transform:rotate(-6deg);z-index:4;box-shadow:inset -10px 5px 0 #ffffff0a}#library .library-portrait .hair:after{content:"";position:absolute;left:0;top:22px;width:12px;height:35px;background:var(--hair,#292b27);border-radius:7px}#library .library-portrait .eyes{position:absolute;left:22px;top:53px;display:flex;gap:29px;z-index:5}#library .library-portrait .eyes i{display:block;width:7px;height:9px;border-radius:50%;background:#2b2926}#library .library-portrait .nose{position:absolute;top:68px;left:47px;width:7px;height:8px;border-radius:4px;background:#00000016}#library .library-portrait .mouth{position:absolute;top:83px;left:41px;width:18px;height:5px;border-bottom:2px solid #ad7664;border-radius:50%}#library .library-portrait .body{position:absolute;top:119px;left:22px;width:112px;height:74px;border-radius:35px 35px 15px 15px;background:var(--coat,#343c33);box-shadow:inset -12px 0 #0000000c;z-index:2}#library .library-portrait .body:before{content:"";position:absolute;left:37px;top:0;border-left:20px solid transparent;border-right:20px solid transparent;border-top:27px solid #f1e8d9}#library .library-portrait .body:after{content:"";position:absolute;width:7px;height:32px;background:var(--accent);top:3px;left:53px;border-radius:3px 3px 6px 6px;transform:rotate(-4deg)}#library .library-portrait .legs{position:absolute;bottom:4px;left:39px;width:31px;height:32px;border-radius:5px 5px 8px 8px;background:#30342f;box-shadow:45px 0 #30342f}#library .library-portrait .book{position:absolute;width:30px;height:39px;border:3px solid #ba5b40;background:#e1c8a2;top:144px;left:107px;transform:rotate(-14deg);border-radius:3px;z-index:3}#library .library-portrait .figure.curie .hair{height:61px;border-radius:55% 50% 20% 25%;inset:-9px -8px auto}#library .library-portrait .figure.curie .hair:after{width:28px;left:-3px;top:29px;height:56px}#library .library-portrait .figure.curie .body:after{background:#e8dfc5;height:10px;top:16px;border-radius:50%}#library .library-portrait .figure.socrates .hair{background:#c7c9ba;height:25px}#library .library-portrait .figure.socrates .head:after,#library .library-portrait .figure.gaudi .head:after{content:"";position:absolute;left:16px;bottom:-14px;width:69px;height:48px;border-radius:10% 10% 45% 45%;background:#d1d0ba;z-index:4}#library .library-portrait .figure.socrates .body{background:#e9e1ce}#library .library-portrait .figure.socrates .body:after{background:#b4b69b;width:12px;height:69px;left:80px;transform:rotate(30deg)}#library .library-portrait .figure.elias .hair{height:29px;background:#424641;inset:0 0 auto}#library .library-portrait .figure.elias .head:after{content:"";position:absolute;left:3px;bottom:0;width:91px;height:36px;border-radius:0 0 43px 43px;border-bottom:10px solid #56534a}#library .library-portrait .figure.elias .body:before,#library .library-portrait .figure.elias .body:after{display:none}#library .library-portrait .figure.gaudi .hair{background:#c7c8b8}#library .library-portrait .figure.gaudi .book{border-color:#5e7771;background:#d2e3d0}
#library .library-portrait{display:inline-block;position:relative;width:56px;height:64px;border-radius:14px;overflow:hidden;flex-shrink:0;vertical-align:middle;margin-right:12px;background:#e1ded5}#library .library-portrait .figure{position:absolute;left:50%;bottom:0;transform:translateX(-50%) scale(.34);transform-origin:bottom center}#library td:first-child button{display:flex;align-items:center;text-align:left;min-width:180px}#library td:first-child small{margin-left:68px}#library .library-portrait.large{width:104px;height:124px;float:left;margin:0 20px 15px 0}#library .library-portrait.large .figure{transform:translateX(-50%) scale(.62)}#library .library-initial{display:grid;place-items:center;height:100%;font-size:28px;color:var(--muted)}#library-detail:after{content:'';display:block;clear:both}#library-detail ul{clear:both;padding-top:8px}
[role="tabpanel"][hidden]{display:none!important}.section-nav[role="tablist"]{flex-wrap:wrap}.section-nav [role="tab"]{border:1px solid var(--line);border-radius:24px;padding:10px 18px;color:var(--muted);background:transparent;font-size:13px;cursor:pointer}.section-nav [role="tab"][aria-selected="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.section-nav [role="tab"]:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#library .library-vector{display:block;width:100%;height:100%;object-fit:contain}
.avatar-workspace{scroll-margin-top:24px;max-width:100%;overflow:hidden}.avatar-workspace .avatar-back{display:block;margin-bottom:20px}.avatar-workspace h3{margin-top:0}.avatar-workspace .avatar-description{font-size:16px;line-height:1.5}.avatar-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;clear:both;margin:24px 0 10px}.avatar-stat{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:4px}.avatar-stat strong{font-size:22px}.avatar-stat span{font-size:12px;color:var(--muted)}.avatar-detail-group{border-top:1px solid var(--line);padding:12px 0;clear:both}.avatar-detail-group summary{cursor:pointer;font-weight:650;font-size:15px}.avatar-detail-group .avatar-detail-group{margin:12px 0 0 16px}.avatar-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.avatar-tag{border:1px solid var(--line);border-radius:20px;padding:6px 10px;font-size:12px}.avatar-records{list-style:none;padding:0!important;margin:8px 0 0}.avatar-records li{padding:10px 0;border-bottom:1px solid var(--line);margin:0!important}.avatar-records li:last-child{border-bottom:0}.avatar-records p{margin:5px 0;line-height:1.45}.avatar-records .small-note,.avatar-source-ids{display:block;margin-top:5px;color:var(--muted);font-size:12px}.avatar-workspace a{overflow-wrap:anywhere}@media(max-width:760px){.avatar-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.avatar-workspace .library-portrait.large{float:none;display:block;margin-bottom:14px}}
.avatar-subnav{clear:both;display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 18px;border-bottom:1px solid var(--line);padding-bottom:10px}.avatar-subnav-button{appearance:none;background:transparent;border:1px solid var(--line);border-radius:100px;color:var(--ink);padding:10px 16px;cursor:pointer}.avatar-subnav-button[aria-current="page"]{background:var(--ink);color:var(--paper)}.avatar-subpanel{min-height:120px;clear:both}.avatar-subpanel[hidden],#library-overview[hidden]{display:none!important}@media(max-width:760px){.avatar-subnav-button{flex:1 1 42%}}
.traffic-chart{display:flex;align-items:flex-end;gap:5px;height:150px;margin:20px 0 24px;border-bottom:1px solid var(--line);overflow:hidden}.traffic-column{display:flex;flex:1 1 0;min-width:0;height:100%;flex-direction:column;justify-content:flex-end;align-items:center}.traffic-track{height:120px;width:100%;display:flex;align-items:flex-end;justify-content:center}.traffic-fill{display:block;width:min(100%,24px);background:#819173;border-radius:5px 5px 0 0;min-height:0}.traffic-day{font-size:10px;color:var(--muted);white-space:nowrap;margin:5px 0 3px}@media(max-width:700px){.traffic-chart:has(.traffic-column:nth-child(8)) .traffic-day{display:none}}
.admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:35px;align-items:start}.admin-sidebar{position:sticky;top:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel);padding:20px 12px}.sidebar-title{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--muted);padding:0 12px;margin:0 0 14px}.admin-main{min-width:0}.section-nav[role="tablist"]{display:flex;flex-direction:column;align-items:stretch;gap:4px;flex-wrap:nowrap;border:0;padding:0}.section-nav [role="tab"]{width:100%;border:0;border-radius:10px;padding:12px;text-align:left;line-height:1.3}.section-nav [role="tab"][aria-selected="true"]{background:var(--ink);color:var(--paper)}@media(max-width:850px){.admin-layout{grid-template-columns:180px minmax(0,1fr);gap:18px}}@media(max-width:700px){.admin-layout{display:block}.admin-sidebar{position:static;margin:0 0 18px}.section-nav[role="tablist"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.section-nav [role="tab"]{min-height:42px}.sidebar-title{margin-bottom:10px}}@media(max-width:380px){.section-nav[role="tablist"]{grid-template-columns:1fr}}

.trainer-panel{clear:both;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #d6d7cb}
.trainer-panel h4{margin:1rem 0 .5rem}
.trainer-panel ul{padding-left:1.4rem}
.trainer-panel li{margin:.6rem 0}
.trainer-form{display:flex;flex-wrap:wrap;gap:.5rem;align-items:end;margin:1rem 0}
.trainer-form label{width:100%}
.trainer-form input{flex:1 1 16rem;min-width:0}
.trainer-source{padding:.65rem 0;border-top:1px solid #e2e0d6}
.trainer-source .secondary{margin:.35rem .4rem .1rem 0}

.voice-editor{clear:both;border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.voice-editor h4{font-size:16px;margin:0 0 8px}.voice-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.voice-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.voice-form select{border:1px solid var(--line);border-radius:10px;padding:11px;background:var(--paper);color:var(--ink);width:100%}.voice-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.voice-form .feedback{grid-column:1/-1;margin:0}@media(max-width:550px){.voice-form{grid-template-columns:1fr}.voice-actions button{flex:1 1 100%}}
