:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#292722;background:#faf7f2;font-synthesis:none;--accent:#b6533c;--muted:#746e67;--line:#e9e4dd;--sage:#edf3ed}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b6533c;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #b6533c;outline-offset:1px}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.3px;line-height:1.15;margin-bottom:16px}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:17px;line-height:1.4}p{line-height:1.6}small,.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:13px}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:white;border-right:1px solid var(--line);padding:35px 23px;display:flex;flex-direction:column}.brand{font-size:20px;font-weight:700;letter-spacing:-.7px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.brand-mark{display:grid;place-items:center;background:var(--accent);color:white;width:36px;height:36px;border-radius:12px;font-size:15px;letter-spacing:-1px}.beta{font-size:8px;background:#f0f2f5;border-radius:4px;padding:3px;letter-spacing:.5px}.sidebar-label{font-size:9px;letter-spacing:1.3px;color:#9298a1;margin:47px 8px 14px}nav{display:flex;flex-direction:column;gap:7px}nav a{display:flex;align-items:center;gap:14px;padding:13px 14px;border-radius:10px;font-size:14px;font-weight:550;color:#747d89}nav a span{font-size:21px;width:24px;text-align:center}nav a[aria-current=page]{background:#f6e9e2;color:#a44732}.sidebar-bottom{margin-top:auto;font-size:12px}.sidebar-bottom p{color:#8a919a;font-size:11px;margin:10px 0 24px}.status-dot{display:inline-block;background:#76957b;border-radius:50%;width:7px;height:7px;margin-right:5px}.workspace{margin-left:238px}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;font-size:12px;color:var(--muted)}.topbar a{background:#e7e9ee;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;color:#59616e;font-size:11px;font-weight:600}main{max-width:1180px;margin:0 auto;padding:38px 44px 64px}footer{padding:15px 30px;font-size:11px;text-align:center;color:#8c939d}.pagehead{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:28px}.pagehead p{max-width:580px;color:var(--muted);font-size:14px;margin-bottom:0}.hero{background:#f0ebe3;padding:33px;border-radius:22px;display:flex;justify-content:space-between;gap:30px;align-items:center;margin-bottom:30px;overflow:hidden}.hero p{font-size:14px;max-width:430px;color:#69737f}.hero h1{font-size:32px}.hero-art{display:flex;flex-wrap:wrap;max-width:190px;gap:8px;transform:rotate(-5deg)}.hero-art img{width:74px;height:74px;border-radius:22px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;border:1px solid #dce1e8;border-radius:10px;padding:10px 17px;background:white;font-size:13px;font-weight:600;color:#354251}.button.primary{background:var(--accent);border-color:var(--accent);color:white}.button.quiet{background:transparent}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.section-head{display:flex;justify-content:space-between;align-items:center;margin:27px 0 16px}.section-head h2{margin:0}.section-head small{font-size:12px}.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:20px 0}.filters label{flex:1;min-width:130px}.filters label:first-child{flex:2}label{font-size:12px;font-weight:600;display:block;color:#646f7c}input,select,textarea{display:block;width:100%;border:1px solid #dce1e7;background:white;border-radius:10px;padding:12px;color:#293442;font-size:14px;margin-top:7px}textarea{resize:vertical;min-height:100px;line-height:1.55}input[type=checkbox]{width:18px;display:inline;vertical-align:middle;margin:0 8px 0 0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card,.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:23px}.card{display:flex;flex-direction:column;gap:14px}.card h3{margin:0}.card .button{margin-top:auto}.card p{font-size:13px;color:#77808b;margin:0}.card .eyebrow{margin:0;font-size:9px}.person{display:flex;align-items:center;gap:11px;min-width:0}.person img{width:45px;height:45px;border-radius:14px;flex-shrink:0}.person strong{font-size:14px;display:block}.person small{display:block;font-size:11px;margin-top:4px}.pill{display:inline-block;border-radius:6px;background:#f1f3f5;padding:5px 8px;font-size:10px;font-weight:600;color:#75808e}.pill.green{background:#edf3ec;color:#557653}.pill.amber{background:#f8f0dd;color:#9b7832}.row{display:flex;gap:12px;align-items:center;justify-content:space-between}.split{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.panel h3{margin:20px 0 10px}.panel h3:first-child{margin-top:0}.prose{white-space:pre-line;font-size:14px;line-height:1.7}.notice{font-size:12px;line-height:1.6;padding:14px 16px;background:#f7f3e9;border-radius:10px;margin:16px 0}.back{display:inline-block;font-size:12px;color:#6c7787;margin-bottom:22px}.form-stack{display:grid;gap:18px}.empty{padding:50px 20px;text-align:center;border:1px dashed #d7dde4;border-radius:16px}.empty p{color:var(--muted);font-size:14px}.tabs{display:flex;gap:6px;margin:20px 0;background:#eceff3;padding:4px;border-radius:10px;width:fit-content;max-width:100%}.tabs button,.tabs a{border:0;background:none;padding:10px 14px;border-radius:7px;font-size:12px;white-space:nowrap}.tabs .selected{background:white;box-shadow:0 1px 4px #202d4310}.meeting{display:flex;align-items:center;gap:18px;margin-bottom:12px}.meeting .meeting-content{flex:1;min-width:0}.meeting h3{margin:4px 0}.meeting p{font-size:12px;margin:8px 0;color:var(--muted)}.meeting .person img{width:50px;height:50px}.meeting .button{flex-shrink:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.stat{background:white;border:1px solid var(--line);padding:18px;border-radius:13px}.stat b{font-size:26px;display:block;margin-bottom:7px}.stat small{font-size:11px}.skill-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.skill-row{padding:16px 0;border-top:1px solid var(--line)}summary{cursor:pointer;list-style:none;font-size:13px}summary::-webkit-details-marker{display:none}summary .row{align-items:start}.skill-row p{font-size:12px;margin-top:12px;color:var(--muted)}.skill-bars{display:flex;gap:5px;margin:12px 0 8px}.skill-bars span{height:5px;background:#e9edf1;border-radius:3px;flex:1}.skill-bars span.filled{background:#81978b}.skill-row small{font-size:10px}.skill-row a{font-size:11px;color:#a44732}blockquote{border-left:3px solid #b9c8b9;margin:14px 0;padding:8px 15px;background:#f5f7f4;font-size:13px;line-height:1.6}.learning-step{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.learning-step span{background:#f0f2f5;padding:9px;border-radius:8px;color:#8e98a4}.learning-step small{margin-left:auto}#error{background:#fff0ea;color:#994a31;padding:15px;margin:15px 30px;border-radius:10px;font-size:13px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;height:calc(100dvh - 180px);min-height:440px}.conversation{background:white;border:1px solid var(--line);border-radius:17px;display:flex;flex-direction:column;overflow:hidden;min-height:0}.chat-head{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-head .person img{width:40px;height:40px}.chat-head small{font-size:10px}.icon-button{width:43px;height:43px;display:grid;place-items:center;border:0;border-radius:13px;background:#f0f2f6;color:#536172;flex-shrink:0;padding:10px}.icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-button.send{background:var(--accent);color:white}.icon-button.recording{background:#b65548;color:white}.messages{overflow:auto;flex:1;min-height:0;padding:22px 18px;scroll-behavior:smooth}.bubble{max-width:86%;padding:13px 16px;background:#f1f3f5;border-radius:16px 16px 16px 4px;margin-bottom:16px;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.you{background:#f8eee7;margin-left:auto;border-radius:16px 16px 4px 16px}.bubble small{display:block;font-size:9px;color:#89929e;margin-bottom:4px}.composer{border-top:1px solid var(--line);padding:12px 16px 15px;background:white}.composer-box{display:flex;align-items:flex-end;gap:10px;border:1px solid #dce2eb;border-radius:15px;padding:7px}.composer-box textarea{border:0;margin:0;min-height:45px;height:45px;max-height:130px;resize:none;background:transparent;padding:11px 7px;font-size:15px;flex:1;min-width:0;outline:none}.composer-box:focus-within{outline:2px solid #b6533c}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:8px;color:#89929e;font-size:10px}.text-button{border:0;padding:6px;background:none;color:#687787;font-size:11px}.voice-status{font-size:11px;color:#737d8d;margin:8px 0 0}.chat-aside{overflow:auto;font-size:12px}.chat-aside .panel{padding:18px;margin-bottom:12px}.chat-aside p{font-size:12px}.chat-aside summary{font-size:12px;font-weight:600}.chat-actions{display:flex;gap:8px;flex-wrap:wrap}.chat-actions .button{font-size:11px}.coach{background:#f4f2e9;border:1px solid #e9e3cf;border-radius:12px;padding:16px;margin:10px 0}.coach p{font-size:13px}.mobile-dossier{display:none}.consent{font-weight:400;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.review-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.review-grid p{font-size:14px}.result{padding:24px;background:#eaf0e9;border-radius:16px;margin-bottom:22px}.result p{margin-bottom:0;font-size:14px}.pagination{margin-top:22px}.product{margin:12px 0}.product pre{white-space:pre-wrap;font:12px/1.7 inherit}.product p{font-size:12px}.account-note{max-width:680px}.training-mode{display:flex;gap:12px}.training-mode label{flex:1;background:#f3f5f8;padding:14px;border-radius:10px}.training-mode input{width:auto;display:inline;margin:0 4px 8px 0}.training-mode small{display:block;font-weight:400;line-height:1.5}
@media(min-width:1600px){main{max-width:1280px}.grid{gap:22px}}@media(max-width:1100px){.sidebar{width:200px;padding:30px 15px}.workspace{margin-left:200px}main{padding:28px}.topbar{padding:0 28px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{grid-template-columns:minmax(0,1fr) 225px;gap:12px}.hero-art{display:none}.brand{font-size:18px}.review-grid{grid-template-columns:1fr}}
@media(max-width:760px){body{background:#faf7f2}.sidebar{position:fixed;inset:auto 0 0;width:auto;padding:0 8px env(safe-area-inset-bottom);height:calc(67px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);z-index:10;background:#fffffff5;backdrop-filter:blur(10px)}.brand,.sidebar-label,.sidebar-bottom{display:none}nav{flex-direction:row;justify-content:space-around;gap:0;height:65px}nav a{flex:1;flex-direction:column;justify-content:center;gap:3px;padding:7px 0;font-size:10px;border-radius:0}nav a span{font-size:22px;height:26px}nav a[aria-current=page]{background:none;color:var(--accent)}.workspace{margin-left:0}.topbar{height:60px;padding:0 20px}.topbar>span{font-size:0}.topbar>span:before{content:'Наравне';font-size:19px;color:#26313f;font-weight:700;letter-spacing:-.6px}main{padding:24px 18px 85px}h1{font-size:29px}h2{font-size:20px}.hero{padding:24px;border-radius:17px;margin-bottom:25px}.hero h1{font-size:28px}.hero p{font-size:13px}.grid{grid-template-columns:1fr;gap:12px}.card{padding:20px;gap:12px}.card .button{width:100%}.card h3{font-size:18px}.pagehead{gap:10px;margin-bottom:20px}.pagehead .eyebrow{font-size:9px}.pagehead p{font-size:13px}.filters{gap:8px}.filters label:first-child{flex-basis:100%}.filters label{min-width:0;font-size:10px}.filters input,.filters select{font-size:13px}.filters .button{min-width:70px}.split,.skill-grid{grid-template-columns:1fr}.panel{padding:20px}.stats{gap:7px}.stat{padding:14px 11px}.stat b{font-size:23px}.stat small{font-size:9px}.meeting{padding:16px;gap:12px;flex-wrap:wrap}.meeting .button{width:100%;min-height:39px}.meeting .person img{width:45px;height:45px}.meeting h3{font-size:15px}.tabs{width:100%;justify-content:space-between}.tabs button,.tabs a{padding:10px;font-size:11px;flex:1;text-align:center}footer{display:none}#error{margin:8px 12px;font-size:12px}.chatting .sidebar,.chatting .topbar{display:none}.chatting main{padding:0;height:100dvh;max-width:none}.chatting .chat-layout{display:flex;height:100%;min-height:0}.chatting .conversation{border:0;border-radius:0;width:100%;height:100%}.chat-aside{display:none}.chat-head{padding:10px 14px;min-height:65px}.chat-head .person img{width:36px;height:36px}.chat-head .person strong{font-size:13px}.chat-head .person small{font-size:9px}.chat-head .icon-button{width:36px;height:36px;border-radius:10px;padding:8px}.messages{padding:18px 14px}.bubble{font-size:14px;max-width:90%;padding:12px 14px}.composer{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.composer-box textarea{font-size:16px}.composer-toolbar{font-size:9px}.mobile-dossier{display:block;padding:0 16px;max-height:35dvh;overflow:auto;border-bottom:1px solid var(--line)}.mobile-dossier .prose{font-size:12px}.mobile-dossier .panel{padding:12px}.chatting #error{position:fixed;top:65px;left:0;right:0;z-index:12;box-shadow:0 2px 10px #0002}.review-grid{grid-template-columns:1fr}.training-mode{gap:8px}.training-mode label{font-size:11px}.account-note{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.mode-links{display:flex;gap:10px;margin:0 0 28px;flex-wrap:wrap}.mentor-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.invite{font:600 18px ui-monospace,monospace;letter-spacing:3px;background:#f1f4f7;padding:14px;border-radius:10px}.member{padding:15px 0;border-top:1px solid var(--line)}.member p{font-size:12px}.exam-card{margin:15px 0}.exam-card .form-stack{margin-top:16px}.exam-locked{opacity:.55}.assignment{background:#f1f5ee;padding:15px;border-radius:12px;margin:10px 0}.assignment p{font-size:12px}.training-mode{flex-wrap:wrap}.training-mode label{min-width:140px}@media(max-width:760px){.mentor-grid{grid-template-columns:1fr}.training-mode label{min-width:120px}.mode-links .button{flex:1;font-size:11px}}
/* Consistent controls and content-sized preparation, including Safari. */
[hidden]{display:none!important}.split{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}.form-stack{align-content:start;grid-auto-rows:max-content}.form-stack>*{min-width:0}.button{flex-grow:0;max-width:100%;height:auto;line-height:1.4;overflow-wrap:anywhere;align-self:start}.training-mode{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr;gap:8px;min-width:0}.training-mode legend{font-size:13px;font-weight:600;margin-bottom:10px}.training-mode label{min-width:0;display:grid;grid-template-columns:18px 1fr;column-gap:8px;align-items:start;padding:13px;font-size:13px}.training-mode input{margin:3px 0 0;width:16px;height:16px}.training-mode small{grid-column:2}.preparation-optional{background:#f6f7f9;border-radius:12px;padding:16px}.preparation-optional summary{font-weight:600;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.preparation-optional summary:before{content:'+';color:var(--accent);font-size:20px}.preparation-optional[open] summary:before{content:'−'}.preparation-optional summary small{font-weight:400}.preparation-optional p{font-size:13px;color:#687380}.preparation-optional label+label{margin-top:16px}.choose-another{font-size:13px;color:#b6533c;display:inline-block;line-height:1.5}.consent{display:flex;align-items:start;gap:10px}.consent input[type=checkbox]{flex:none;margin:3px 0 0;width:18px;height:18px}#prepare>.button{width:100%;min-height:48px}.terms-list{margin:15px 0}.terms-list>div{padding:12px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(80px,.4fr) minmax(0,1fr);gap:14px;font-size:13px;line-height:1.6}.terms-list dt{font-weight:600}.terms-list dd{margin:0}.terms-list>div:last-child{border:0}.skill-description{display:block;font-size:12px;font-weight:400;line-height:1.6;color:#6b7582;margin-top:7px}.skill-row summary .row>small{white-space:nowrap}.skill-row summary:after{content:'Примеры из встреч ↓';display:block;margin-top:10px;color:#b6533c;font-size:11px}.skill-grid{align-items:start}.picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;margin-top:7px;padding:12px;border:1px solid #dce1e7;border-radius:10px;background:#fff;color:#293442;text-align:left;font:inherit;font-size:14px;line-height:1.4}.picker-trigger:after{content:'⌄';flex:none;color:#69778a}.picker-trigger:focus-visible,.picker-option:focus-visible{outline:2px solid #b6533c;outline-offset:2px}.picker-dialog{position:fixed;margin:0;padding:8px;border:1px solid #dce1e7;border-radius:15px;box-shadow:0 12px 45px #172c4428;max-width:calc(100vw - 32px);max-height:min(70dvh,500px);background:#fff;color:#293442}.picker-dialog::backdrop{background:#202d431a}.picker-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;gap:16px;font-size:14px}.picker-options{max-height:50dvh;overflow-y:auto;overscroll-behavior:contain}.picker-option{display:block;width:100%;text-align:left;border:0;background:#fff;border-radius:8px;padding:12px;font:inherit;font-size:14px;line-height:1.5;min-height:44px}.picker-option[aria-selected=true]{background:#f8eee7;color:#a44732;font-weight:600}.picker-option[aria-selected=true]:after{content:' ✓'}.picker-option:hover{background:#faf4ee}.filters label{min-width:150px}.filters .button{align-self:end;min-height:46px}.person img,.hero-art img{object-fit:cover}.panel,.card{min-width:0}.row{flex-wrap:wrap}.skill-row .row{flex-wrap:nowrap;align-items:start}.skill-row .row>span{min-width:0}
@media(max-width:760px){.split{grid-template-columns:minmax(0,1fr)}.filters{display:grid;grid-template-columns:1fr 1fr;align-items:end}.filters label{min-width:0}.filters label:first-child{grid-column:1/-1}.filters .button{width:100%}.picker-trigger{font-size:13px;min-height:48px}.picker-dialog{inset:auto 0 0!important;width:100%!important;max-width:100%;max-height:80dvh;border-radius:20px 20px 0 0;padding:12px 12px max(20px,env(safe-area-inset-bottom));border-bottom:0}.picker-head{font-size:16px}.picker-option{font-size:16px;min-height:50px}.picker-options{max-height:60dvh}.terms-list>div{grid-template-columns:1fr;gap:3px}.button{min-height:46px}.tabs{overflow-x:auto}.training-mode label{min-width:0;font-size:13px}input,textarea{font-size:16px}.account-note .actions{align-items:stretch}.account-note .actions .button{width:100%}}

.card .button{align-self:stretch;width:100%}

/* Approved identity: equal voices, terracotta on warm neutrals. */
:root{accent-color:var(--accent)}
.brand{flex-wrap:nowrap;gap:9px;font-size:20px;letter-spacing:-.7px;color:#292722}
.brand-mark{display:block;width:40px;height:24px;flex:none;background:none;border-radius:0}
.brand-name{white-space:nowrap}.brand .beta{margin-left:0;font-size:7px}
.topbar .mobile-brand{display:none}.topbar .tagline{font-size:12px}
.button.primary:hover:not(:disabled),.icon-button.send:hover:not(:disabled){background:#a44732;border-color:#a44732}
.training-mode label:has(input:checked){background:#f8eee7;box-shadow:inset 0 0 0 1px #d8a28f}
@media(min-width:761px) and (max-width:1100px){.brand{gap:7px;font-size:18px}.brand-mark{width:32px;height:20px}.brand .beta{display:none}}
@media(max-width:760px){.sidebar .brand{display:none}.topbar .tagline{display:none}.topbar .mobile-brand{display:flex;align-items:center;gap:9px;width:auto;height:auto;background:none;border-radius:0;font-size:20px;font-weight:700;color:#292722;letter-spacing:-.7px}.mobile-brand img{display:block;flex:none}}

/* Many distinct people, packed into the corner; text always retains its own space. */
.hero{position:relative;min-height:290px;isolation:isolate}.hero>div:first-child{position:relative;z-index:1;width:62%;padding-right:25px}.hero-mosaic{position:absolute;right:-40px;top:-40px;bottom:-60px;width:42%;max-width:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-content:center;gap:7px;transform:rotate(-13deg);mask-image:linear-gradient(90deg,transparent,black 22%);pointer-events:none}.hero-mosaic img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px;box-shadow:0 4px 12px #29272212}.hero-mosaic img:nth-child(3n){transform:translateY(12px)}
@media(max-width:1100px) and (min-width:761px){.hero-mosaic{display:grid;width:37%;grid-template-columns:repeat(4,minmax(0,1fr));right:-20px}.hero>div:first-child{width:70%}}
@media(max-width:760px){.hero{padding-bottom:140px}.hero>div:first-child{width:100%;padding-right:0}.hero-mosaic{display:grid;top:auto;bottom:-110px;right:-25px;width:95%;height:230px;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;mask-image:linear-gradient(180deg,transparent,black 30%)}.hero-mosaic img{border-radius:7px}.hero .button{position:relative;z-index:2}}

/* Expanded library filters retain full-width search on phones. */
.case-filters label{min-width:0;flex:1 1 180px}.case-filters label:first-child{flex-basis:280px}.case-situation{font-size:13px;line-height:1.5;color:var(--muted,#756d63)}.chain-panel{margin-bottom:20px}.chain-panel p{line-height:1.6;max-width:780px}.chain-panel .actions{flex-wrap:wrap}
@media(max-width:650px){.case-filters label:first-child,.case-filters label:nth-child(2){grid-column:1/-1}.case-filters label{width:100%}.case-filters button{grid-column:1/-1}.chain-panel .button{padding-inline:12px}}

/* Progress: personal focus, observed evidence, then the full skill map. */
.progress-page{max-width:1160px;margin:auto}.progress-page>header h1{max-width:850px}.progress-modes{margin-bottom:28px}.progress-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px;align-items:start}.focus-card{background:#b6533c;color:#fff8ef;border-radius:25px;padding:32px;min-width:0}.focus-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.focus-top .eyebrow{color:#ffe2d2}.focus-top img{object-fit:cover;border-radius:50%}.focus-card h2{font-size:34px;line-height:1.16;letter-spacing:-.9px;margin:18px 0}.focus-card>p{line-height:1.6;max-width:40ch}.focus-observation{margin:24px 0;line-height:1.6}.focus-observation small{color:#fff0e7;display:block}.focus-card .button.primary{background:#292722;border-color:#292722;color:#fff;width:100%;justify-content:center;min-height:50px}.focus-card .button.primary:hover{background:#151411;border-color:#151411}.focus-card .focus-reason{font-size:12px;line-height:1.6;margin:14px 0 0;color:#ffe8dc}.observation-trail{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.observation{display:grid;place-items:center;width:38px;height:38px;border:1px solid #d4cec5;border-radius:50%;background:#faf7f2;color:#544a40;text-decoration:none;font-size:19px}.observation.demonstrated{background:#647c67;color:#fff;border-color:#647c67}.observation.partial{background:#eae0d1;color:#6f5136}.observation.waiting{border-style:dashed;background:transparent;color:#83766d}.focus-card .observation.demonstrated{background:#fff7ed;color:#94432f;border-color:#fff7ed}.focus-card .observation.partial{background:#e9bba8;color:#673122;border-color:#e9bba8}.focus-card .observation.waiting{color:#ffe9dc;border-color:#dca28d}.progress-evidence{padding:15px 0;min-width:0}.progress-evidence h2{font-size:27px;letter-spacing:-.6px;margin:12px 0 24px}.progress-evidence>p{color:#756b60;line-height:1.7}.strength-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #e7dfd5}.strength-row strong{display:block;font-size:16px}.strength-row small{display:block;color:#80756a;margin-top:6px;font-size:12px}.skill-status{font-size:12px;line-height:1.4;color:#73695f;display:inline-flex;align-items:center;gap:7px}.skill-status::before{content:'';width:7px;height:7px;border-radius:50%;background:#c7c0b6;flex:none}.skill-status.level-4::before,.skill-status.level-3::before{background:#647c67}.skill-status.level-2::before,.skill-status.level-1::before{background:#b6533c}.progress-quote{background:#f0eae1;border:0;border-radius:18px;padding:24px;margin:26px 0}.progress-quote p{font:23px/1.45 Georgia,serif;color:#383127;margin:14px 0}.progress-quote a{font-size:12px;color:#9b4633}.progress-explainer{border-left:2px solid #b6533c;padding:6px 0 6px 20px;margin:30px 0}.progress-explainer p{color:#756b60;font-size:14px;line-height:1.65;margin-bottom:0}.practice-summary{display:flex;gap:24px;flex-wrap:wrap;color:#756b60;font-size:12px}.practice-summary b{font-size:22px;color:#292722;margin-right:5px}.progress-map{margin-top:36px;border-top:1px solid #ded6ca;border-bottom:1px solid #ded6ca;padding:24px 0}.progress-map>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;min-height:60px}.progress-map>summary::-webkit-details-marker{display:none}.progress-map>summary strong{display:block;font-size:28px;letter-spacing:-.7px;margin-top:8px}.map-count{font-size:13px;color:#756b60;display:flex;align-items:center;gap:15px}.map-count span{font-size:27px;transition:transform .2s}.progress-map[open] .map-count span{transform:rotate(45deg)}.map-intro{font-size:14px;color:#756b60;line-height:1.7;max-width:650px;margin:22px 0}.skill-group{min-width:0}.skill-group h2{font-size:21px;margin:28px 0 12px}.progress-skill{border-top:1px solid #e7dfd5}.progress-skill>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;min-height:60px;cursor:pointer;font-size:15px}.progress-skill>summary::-webkit-details-marker{display:none}.progress-skill>summary>span:first-child{max-width:60%;font-weight:600}.progress-skill>summary .skill-status{max-width:40%;text-align:right}.skill-content{padding:0 0 20px;font-size:14px;line-height:1.7}.skill-content>p{margin-top:0}.skill-content>small{color:#756b60}.skill-content blockquote{border-left:2px solid #b6533c;padding-left:16px;margin:18px 0}.skill-content blockquote a{font-size:12px;color:#9b4633}.observation-list{padding-left:18px}.observation-list li{margin:12px 0}.observation-list small{display:block;color:#756b60}.progress-method{padding:24px 0;color:#756b60;font-size:13px;line-height:1.7}.progress-method summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#544b42}.progress-method>p{font-size:12px}.progress-page a:focus-visible,.progress-page summary:focus-visible{outline:2px solid #b6533c;outline-offset:4px}.focus-card a:focus-visible{outline-color:#fff}
@media(max-width:760px){.progress-layout{grid-template-columns:1fr;gap:14px}.focus-card{padding:25px;border-radius:22px}.focus-card h2{font-size:29px}.progress-evidence{padding:16px 0}.progress-map{margin-top:20px}.progress-map>summary strong{font-size:25px}.progress-map .skill-grid{grid-template-columns:1fr;gap:6px}.progress-skill>summary{gap:12px}.progress-skill>summary>span:first-child{font-size:14px}.skill-status{font-size:11px}.observation{width:44px;height:44px}.strength-row{align-items:start}.strength-row .skill-status{max-width:42%}.map-count{font-size:11px;gap:8px}.progress-quote{padding:22px}.progress-quote p{font-size:22px}.progress-modes button{min-height:44px}.progress-page .practice-summary{gap:16px}}
@media(prefers-reduced-motion:reduce){.map-count span{transition:none}}

/* Progress home: an honest skill portrait, with accessible controls beneath it. */
nav .nav-icon{width:23px;height:23px;flex:0 0 23px;overflow:visible}nav a[aria-current=page] .nav-icon{stroke-width:2}
.progress-welcome{display:grid;grid-template-columns:1.12fr 1fr;gap:25px;align-items:center;margin:-4px 0 38px;padding:38px;border-radius:30px;background:#292e28;color:#fff8ed;overflow:hidden;position:relative}.welcome-copy{position:relative;z-index:1}.welcome-copy .eyebrow{color:#c8cdbb;font-size:10px}.welcome-copy h1{font-size:clamp(32px,3.3vw,51px);line-height:1.09;letter-spacing:-1.9px;margin:26px 0 20px}.welcome-copy h1 em{font-family:Georgia,serif;font-weight:400;color:#efb092;letter-spacing:-1.7px}.welcome-copy>p{color:#d4d5cb;font-size:14px;max-width:36ch;line-height:1.7}.welcome-cta.button.primary{background:#efb092;border:0;color:#292e28;min-height:50px;margin:12px 0 25px;gap:20px}.welcome-cta span{font-size:24px}.welcome-meta{display:flex;gap:24px;color:#bac0b3;font-size:11px;flex-wrap:wrap}.welcome-meta b{display:block;color:#fff8ed;font-size:22px;font-weight:550;margin-bottom:4px}.skill-orbit{position:relative;width:100%;max-width:440px;margin:auto;aspect-ratio:1}.skill-orbit>svg{width:100%;height:100%;overflow:visible}.orbit-guide{stroke:#f2e6d113;fill:none;stroke-width:1}.orbit-ray{stroke:#fff3dd20;stroke-width:7;stroke-linecap:round;fill:none;animation:ray-reveal .8s both;animation-delay:var(--delay)}.orbit-ray.ray-filled{stroke:#efb092}.orbit-ray.ray-pending{stroke:#c4c9aa;stroke-dasharray:2 4}.orbit-dot{fill:#eab09888}.orbit-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.orbit-center>span:first-child{letter-spacing:2.5px;font-size:9px;color:#c0c6b6}.orbit-center strong{font:86px/1.2 Georgia,serif;letter-spacing:-5px;color:#fff5e3}.orbit-center>span:last-child{font-size:11px;color:#c0c6b6}.orbit-caption{position:absolute;bottom:-6px;width:100%;text-align:center;font-size:10px;letter-spacing:.3px;color:#c0c6b6}.orbit-caption>span{display:inline-block;background:#efb092;width:5px;height:5px;border-radius:50%;margin:0 7px 1px 0}.atlas-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:20px}.atlas-heading h2{font-size:24px;margin:0}.atlas-heading p{font-size:12px;color:var(--muted);margin:0;max-width:300px}.atlas-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.atlas-skill{min-width:0;position:relative;background:#fffdf9;border:1px solid #e7dfd5;border-radius:15px;padding:17px;text-align:left;transition:transform .18s,box-shadow .18s,border-color .18s;color:#292722;display:flex;flex-direction:column;gap:10px}.atlas-skill:hover{transform:translateY(-3px);box-shadow:0 7px 18px #4835280b;border-color:#c68d73}.atlas-skill.atlas-selected{background:#f5e7dd;border-color:#b6533c}.atlas-number{font-size:10px;color:#9d8d7e;letter-spacing:1px}.atlas-skill strong{font-size:13px;line-height:1.4;min-height:37px}.atlas-bars{display:flex;gap:4px;margin-top:auto}.atlas-bars i{display:block;height:4px;border-radius:3px;background:#e8e2d9;flex:1}.atlas-bars i.filled{background:#ad563d}.atlas-skill small{font-size:10px;line-height:1.4}.atlas-legend{font-size:11px;color:var(--muted);margin:14px 0 36px;line-height:1.6}.focus-section-title{scroll-margin-top:25px}.focus-section-title h2{font-size:27px;margin-bottom:22px}.focus-section-title .eyebrow{margin-bottom:8px}.progress-page .focus-card{background:#f0e4d8;color:#292722;border:1px solid #e7d7c7;padding:27px}.progress-page .focus-card .eyebrow,.progress-page .focus-card .focus-reason,.progress-page .focus-observation small{color:#7a5946}.progress-page .focus-card h2{font-size:27px}.progress-page .focus-card .observation.waiting{color:#786653;border-color:#b9a692}.progress-page .focus-card .observation.demonstrated{background:#657763;color:white;border-color:#657763}.progress-page .focus-card .observation.partial{background:#dfb398}.progress-page .progress-evidence{padding-top:0}.progress-page .progress-quote p{font-size:20px}.progress-page .progress-evidence h2{font-size:23px}.progress-page .progress-layout{gap:26px}.progress-page .progress-modes{margin-bottom:26px}.progress-page .skill-atlas{margin-top:20px}
@keyframes ray-reveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:761px) and (max-width:1100px){.progress-welcome{padding:26px;gap:8px}.welcome-copy h1{font-size:33px}.atlas-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.welcome-meta{gap:14px}}
@media(max-width:760px){nav .nav-icon{width:22px;height:22px;flex-basis:22px}.progress-welcome{grid-template-columns:1fr;padding:25px 24px 20px;border-radius:23px;margin:0 0 24px;gap:12px}.welcome-copy h1{font-size:37px;letter-spacing:-1.3px;margin:19px 0 16px}.welcome-copy>p{font-size:13px;max-width:35ch}.welcome-cta.button.primary{width:100%;justify-content:space-between;margin:8px 0 19px;padding-inline:18px}.welcome-meta{gap:25px}.welcome-meta b{font-size:22px}.skill-orbit{max-width:285px;margin:0 auto 14px}.orbit-center strong{font-size:68px}.orbit-center>span:first-child{font-size:8px}.orbit-center>span:last-child{font-size:10px}.atlas-heading{display:block}.atlas-heading h2{font-size:24px}.atlas-heading p{margin-top:9px}.atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.atlas-skill{padding:14px;gap:9px}.atlas-skill strong{font-size:13px;min-height:38px}.atlas-skill small{font-size:10px}.focus-section-title h2{font-size:24px}.progress-page .focus-card{padding:23px}.progress-page .focus-card h2{font-size:26px}.progress-page .progress-layout{gap:20px}}
@media(max-width:360px){.welcome-copy h1{font-size:32px}.progress-welcome{padding:22px 18px}.welcome-meta{gap:15px}.atlas-skill{padding:11px}}
@media(prefers-reduced-motion:reduce){.orbit-ray{animation:none}.atlas-skill{transition:none}.atlas-skill:hover{transform:none}}
.progress-welcome{background:#f3ede4;color:#292722;border:1px solid #e8ded0}.welcome-copy .eyebrow{color:#877461}.welcome-copy h1 em{color:#ae513b}.welcome-copy>p{color:#72675b}.welcome-meta,.orbit-caption{color:#776b5b}.welcome-meta b{color:#292722}.skill-orbit{background:radial-gradient(circle,#fffaf2 0,transparent 65%)}.orbit-guide{stroke:#a99b8429}.orbit-ray{stroke:#dcd3c4}.orbit-ray.ray-filled{stroke:#b6533c}.orbit-ray.ray-pending{stroke:#858f71}.orbit-dot{fill:#ae7257}.orbit-center strong{color:#343a2e}.orbit-center>span:first-child,.orbit-center>span:last-child{color:#847762}.orbit-hit{stroke:transparent;stroke-width:25;fill:none;pointer-events:stroke}.orbit-skill{cursor:pointer}.orbit-skill:hover .orbit-dot,.orbit-skill:focus .orbit-dot{fill:#b6533c;r:6}.orbit-skill:focus{outline:none}.orbit-tooltip{position:absolute;z-index:5;left:8%;right:8%;bottom:3%;background:#292e28;color:#fffaf0;border-radius:12px;padding:14px;font-size:12px;line-height:1.5;pointer-events:none;box-shadow:0 8px 30px #29272222}.mode-explanation{font-size:12px;color:#756b60;margin-bottom:9px}

/* Legal entry screen */
.legal-panel{max-width:900px}.legal-panel>p{max-width:76ch;line-height:1.65}.legal-panel details{margin:16px 0;border:1px solid #e7ded4;border-radius:12px;overflow:hidden}.legal-panel summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;cursor:pointer;font-size:16px;font-weight:600;color:#a64b34;min-height:48px}.legal-panel summary::after{content:'+';font-size:22px}.legal-panel details[open]>summary::after{content:'−'}.legal-panel .prose,.legal-panel details>form{padding:0 18px 18px}.legal-panel .prose{font-size:16px;line-height:1.65}.legal-panel .form-stack{margin-top:22px;gap:16px}.legal-panel .consent{font-size:16px;line-height:1.5;align-items:flex-start}.legal-panel .consent input{flex-shrink:0;margin-top:3px}.legal-panel>.form-stack+.details{margin-top:20px}@media(max-width:600px){.legal-panel summary{font-size:15px;padding:14px}.legal-panel .consent{font-size:15px}.legal-panel .prose{font-size:15px}}

/* Interactive progress release 2026-10-04 */
.progress-welcome{background:#f3ede4;color:#292722;border:1px solid #e8ded0}.welcome-copy .eyebrow{color:#877461}.welcome-copy h1 em{color:#ae513b}.welcome-copy>p{color:#72675b}.welcome-meta,.orbit-caption{color:#776b5b}.welcome-meta b{color:#292722}.skill-orbit{background:radial-gradient(circle,#fffaf2 0,transparent 65%)}.orbit-guide{stroke:#a99b8429}.orbit-ray{stroke:#dcd3c4}.orbit-ray.ray-filled{stroke:#b6533c}.orbit-ray.ray-pending{stroke:#858f71}.orbit-dot{fill:#ae7257}.orbit-center strong{color:#343a2e}.orbit-center>span:first-child,.orbit-center>span:last-child{color:#847762}.orbit-hit{stroke:transparent;stroke-width:25;fill:none;pointer-events:stroke}.orbit-skill{cursor:pointer}.orbit-skill:hover .orbit-dot,.orbit-skill:focus .orbit-dot{fill:#b6533c;r:6}.orbit-skill:focus{outline:none}.orbit-tooltip{position:absolute;z-index:5;left:8%;right:8%;bottom:3%;background:#292e28;color:#fffaf0;border-radius:12px;padding:14px;font-size:12px;line-height:1.5;pointer-events:none;box-shadow:0 8px 30px #29272222}.mode-explanation{font-size:12px;color:#756b60;margin-bottom:9px}
.progress-welcome{background:linear-gradient(115deg,#fffdfa,#f1e8dc);border-radius:26px;box-shadow:0 12px 40px #5b413009}.welcome-cta.button.primary{background:#b4533c;color:#fffaf3}.welcome-copy h1{font-size:clamp(30px,3.2vw,46px)}.orbit-active .orbit-dot{r:6;fill:#b6533c}.orbit-detail{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #e5d6c7;border-left:4px solid #b4533c;border-radius:18px;padding:24px;margin:-16px 0 28px;background:#fffdfa;animation:ray-reveal .25s both}.orbit-detail[hidden]{display:none}.orbit-detail h2{margin:8px 0;font-size:24px}.orbit-detail p{max-width:66ch;line-height:1.6}.orbit-detail-meta,.mode-description{color:#756b60;font-size:13px}.orbit-detail>div:last-child{display:flex;flex-wrap:wrap;gap:8px;min-width:190px}.orbit-skill:focus-visible .orbit-dot{stroke:#292722;stroke-width:2}.mode-description{margin:-10px 0 24px}.orbit-tooltip{bottom:8%;left:4%;right:4%;font-size:14px}.orbit-caption{font-size:12px}.orbit-guide{stroke:#b8a99255}@media(max-width:760px){.progress-welcome{padding:24px 20px;gap:16px}.skill-orbit{max-width:310px}.orbit-detail{display:block;padding:20px;margin-top:0}.orbit-detail>div:last-child{margin-top:16px}.orbit-detail h2{font-size:22px}.orbit-tooltip{font-size:12px}.progress-modes{display:flex}.progress-modes button{white-space:normal;flex:1;padding:12px;font-size:13px}}@media(prefers-reduced-motion:reduce){.orbit-detail{animation:none}}

/* In-circle skill labels, completion and brief numbered introduction */
.orbit-complete .ray-filled{stroke:#52785d}.orbit-complete .orbit-dot,.orbit-complete:hover .orbit-dot,.orbit-complete:focus .orbit-dot,.orbit-complete.orbit-active .orbit-dot{fill:#52785d}.orbit-center-selected{inset:27%;text-align:center;gap:10px}.orbit-center-selected strong{font:600 clamp(14px,1.5vw,20px)/1.25 system-ui,sans-serif;letter-spacing:-.35px;color:#343a2e;max-width:100%}.orbit-center-selected>span:first-child{font-size:8px;letter-spacing:1px}.orbit-center-selected>span:last-child{font-size:11px;line-height:1.35}.orbit-intro{opacity:0;pointer-events:none;animation:skill-intro 4s ease-in-out both;animation-delay:var(--intro-delay)}.orbit-intro circle{fill:#efe0ce;stroke:#ddc6ab;stroke-width:1}.orbit-intro text{fill:#664f3e;font:600 16px system-ui,sans-serif}@keyframes skill-intro{0%,100%{opacity:0}15%,80%{opacity:.35}}@media(max-width:760px){.orbit-center-selected strong{font-size:15px}.orbit-center-selected{gap:7px}.orbit-center-selected>span:last-child{font-size:10px}}@media(prefers-reduced-motion:reduce){.orbit-intro{animation:none;opacity:0}}

/* Respect access-controlled navigation on desktop and mobile. */
nav a[hidden]{display:none!important}

/* Account cards share one edge and consistent section spacing, including Safari. */
.account-note{width:100%;max-width:none;margin-top:24px}
.account-note .actions{align-items:stretch;gap:12px;margin:24px 0}
.account-note .actions .button{min-height:44px;text-align:center}
.account-note #identity-links:not(:empty){padding:24px 0;margin-bottom:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.account-note #identity-links h3{margin:0 0 12px}
.account-note #identity-links .button{margin:0 12px 0 0}
.account-note>h3{margin:0 0 12px}
.account-note>p:last-of-type{margin-bottom:20px}
.profile-panel{margin-top:24px}
@media(max-width:760px){.account-note{margin-top:18px}.account-note .actions{gap:10px;margin:20px 0}.account-note #identity-links:not(:empty){padding:20px 0;margin-bottom:20px}.account-note #identity-links .button{max-width:100%;margin-right:0}.profile-panel{margin-top:18px}}
.account-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
#profile-photo{padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.photo-current{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.photo-current img,.photo-placeholder{border-radius:50%;width:80px;height:80px;object-fit:cover;flex:none}.photo-placeholder{display:grid;place-items:center;background:#e7e9ee;color:#59616e;font-weight:600}.photo-current p{margin:10px 0 0}.photo-upload{position:relative;overflow:hidden;margin-right:10px}.photo-file{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.photo-upload:focus-within{outline:2px solid var(--accent);outline-offset:3px}.photo-editor{max-width:380px;padding-top:24px}.photo-editor canvas{display:block;width:min(256px,100%);height:auto;border-radius:50%;background:#eee9e1;touch-action:none;cursor:grab}.photo-editor label{margin:14px 0}.photo-editor input[type=range]{padding:0;width:100%;accent-color:var(--accent)}.photo-status:empty{display:none}.photo-status{margin:12px 0 0;font-size:14px}
.training-feedback{margin-top:28px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}.feedback-rating{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.feedback-rating .button{font-size:18px;min-width:44px;padding:8px}.feedback-rating [aria-pressed=true]{background:#f6e9e2;border-color:var(--accent)}.feedback-form{max-width:640px;margin-top:18px}.feedback-form fieldset{border:0;padding:0;margin:0}.feedback-form legend{margin-bottom:12px;font-size:13px}.feedback-reason{display:flex;align-items:center;gap:10px;margin:9px 0}.feedback-reason input{width:18px;height:18px;margin:0;flex:none}.feedback-status{font-size:13px;margin:12px 0 0}.feedback-status:empty{display:none}.platform-feedback{margin-top:24px}
.feedback-voice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.feedback-voice>small,.feedback-voice>p,.feedback-voice #voice-actions{flex-basis:100%}.feedback-voice .icon-button{position:static;flex:none;width:44px;height:44px}.feedback-voice .icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}

/* Keep mobile navigation outside the scrolling content, including Safari toolbar resize. */
@media(max-width:760px){
 body.practice-app{height:100%;overflow:hidden}
 #app{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
 .workspace{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
 .sidebar{position:relative;inset:auto;order:1;flex:0 0 auto;width:100%;background:#fff;backdrop-filter:none}
 main{padding-bottom:24px}
 .chatting .workspace{overflow:hidden}
}

/* Equal-sized controls independent of generic navigation tabs. */
.training-format{display:inline-flex;flex-direction:row;align-items:center;gap:4px;padding:4px;margin:0 0 16px;background:#ede9e2;border-radius:13px;width:max-content;max-width:100%}
.training-format a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:108px;min-height:40px;padding:8px 20px;border-radius:10px;text-decoration:none;font-size:14px;font-weight:400;line-height:20px;color:#716b63;white-space:nowrap}
.training-format a.selected{background:#fff;color:#a94f3a;box-shadow:0 1px 4px #0000000d}
.training-format a:hover{color:#a94f3a}
.training-format a:focus-visible{outline:2px solid #ae5944;outline-offset:2px}
@media(max-width:760px){.chatting main:has(>.training-format){display:flex;flex-direction:column}.chatting .training-format{flex:none;margin:10px 14px}.chatting .training-format a{min-width:104px;min-height:44px;padding:10px 18px}.chatting .training-format+.chat-layout{flex:1;min-height:0;height:auto}}

.feedback-success{display:flex;align-items:center;gap:12px;padding:18px 20px;margin:0;border:1px solid #b8d7bf;border-radius:14px;background:#eaf5ed;color:#245e36;font-size:16px;font-weight:600;line-height:1.5}.feedback-success>span:first-child{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#d2e9d8;font-size:20px}.feedback-success:focus{outline:2px solid #529366;outline-offset:3px}.feedback-error{padding:12px 16px;border-radius:10px;background:#fff0eb;color:#923c29;font-size:14px}

/* Case reference opens in-place, preserving the transcript and composer nodes. */
.case-strip{flex-shrink:0;padding:10px 18px;background:#faf7f2;border-bottom:1px solid var(--line)}
.case-strip-title{font-size:13px;font-weight:600;line-height:1.4;margin-bottom:7px;overflow-wrap:anywhere}
.case-conditions-toggle{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:white;color:var(--accent);font-size:13px;font-weight:600}
.case-conditions-toggle span:last-child{font-size:20px;font-weight:400}
.chat-head{flex-shrink:0}.conversation-body{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.conversation-body>.messages{flex:1;min-height:0}
.case-conditions{position:absolute;inset:0;z-index:2;background:white;overflow:auto;overscroll-behavior:contain;padding:18px 20px;overflow-wrap:anywhere}
.case-conditions-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.case-conditions-head h2{font-size:19px;margin:0}.case-conditions-head .icon-button{font-size:25px;flex-shrink:0}.case-conditions h3{font-size:15px;margin:20px 0 8px}.case-conditions .prose,.case-conditions p{font-size:14px;line-height:1.65}.case-conditions-return{width:100%;margin-top:18px}.composer{flex-shrink:0}
@media(max-width:720px){.case-strip{padding:8px 14px}.case-strip-title{font-size:12px}.case-conditions{padding:14px 16px}.case-conditions .icon-button{min-height:44px;min-width:44px}}

.case-conditions-toggle .case-chevron{width:9px;height:9px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);margin:0 4px 4px 8px;flex-shrink:0}.case-conditions-toggle[aria-expanded="true"] .case-chevron{transform:rotate(225deg);margin-top:6px;margin-bottom:0}
.case-conditions-head{position:sticky;top:-18px;background:white;padding:10px 0;z-index:1}
@media(max-width:760px){.case-conditions-head{top:-14px}}

.case-conditions-collapse{display:grid;place-items:center}.case-conditions-collapse .case-chevron{width:9px;height:9px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(225deg);margin-top:5px}

.product-reference-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--accent);font-size:14px}.product-reference{margin-bottom:20px}

#review-loading{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:rgba(248,245,240,.97);padding:24px}.review-loading-card{text-align:center;max-width:440px}.review-loading-card h2{font-size:28px;margin:20px 0 12px}.review-loading-card p{font-size:17px}.review-loading-card small{display:block;color:#766f67;line-height:1.6}.review-loading-icon{font-size:40px;animation:review-hourglass 2.4s ease-in-out infinite}@keyframes review-hourglass{0%,25%{transform:rotate(0)}75%,100%{transform:rotate(180deg)}}@media(prefers-reduced-motion:reduce){.review-loading-icon{animation:none}}

/* Feedback 195: native choices must not inherit text-field padding. */
.training-mode input[type=radio],.consent input[type=checkbox]{box-sizing:border-box;padding:0;min-width:0;min-height:0;width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:var(--accent)}
.training-mode label{grid-template-columns:18px minmax(0,1fr);column-gap:12px;row-gap:6px;line-height:22px;align-items:start}.training-mode input[type=radio]{grid-column:1;grid-row:1}.training-mode small{line-height:1.5}.consent{gap:12px;line-height:1.55}
.sidebar nav a .nav-label{font:inherit;width:auto;height:auto;min-width:0;text-align:left}
@media(max-width:760px){.sidebar nav{display:flex;align-items:stretch;gap:0}.sidebar nav a{min-width:0;flex:1 1 0;justify-content:flex-start;align-items:center;padding:8px 2px 4px;gap:5px}.sidebar nav a .nav-icon{width:22px;height:22px;flex:none}.sidebar nav a .nav-label{display:block;width:100%;min-height:28px;font-size:10px;line-height:14px;font-weight:500;text-align:center;overflow-wrap:normal;hyphens:none}.sidebar nav a .nav-label{height:auto}}
@media(max-width:360px){.sidebar nav a .nav-label{font-size:9px}}
@media(max-width:360px){.sidebar nav a{padding-left:0;padding-right:0}.sidebar nav a .nav-label{font-size:9px;letter-spacing:-.1px}}
@media(max-width:360px){.sidebar nav a[href="#home"]{flex-grow:1.25}}

/* The composer and tabs stay inside Safari's visible viewport when its keyboard pans. */
@media(max-width:760px){
 .chatting main{position:fixed;left:0;right:0;top:0;width:100%;height:100dvh;margin:0;overflow:hidden;display:flex;flex-direction:column}
 .chatting .chat-layout{flex:1;min-height:0;height:auto}
 .chatting .training-format{flex-shrink:0;height:auto}
}
.training-loading-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;min-height:260px;flex:1;padding:32px 20px;color:var(--muted)}
.training-loading-card strong{font-size:20px;color:#30463f}.training-loading-card p{margin:0;font-size:14px}
.training-hourglass{display:inline-block;font-size:32px;animation:training-hourglass-turn 2.4s ease-in-out infinite}
@keyframes training-hourglass-turn{0%,30%{transform:rotate(0)}70%,100%{transform:rotate(180deg)}}
@media(prefers-reduced-motion:reduce){.training-hourglass{animation:none}}

.skill-explanation{display:grid;gap:12px;margin:16px 0}.skill-explanation p{margin:0;max-width:70ch}.skill-explanation strong{display:block;font-size:13px;margin-bottom:4px}.skill-explanation .muted{font-size:13px;color:var(--muted,#7f7b73)}

.skill-review .skill-explanation p{font-size:15px;line-height:1.55;color:#292722}.skill-review .skill-explanation p.muted{font-size:13px;color:var(--muted)}.skill-review summary:after{content:'Почему такая оценка ⌄'}.skill-review[open] summary:after{content:'Почему такая оценка ⌃'}#reset-case-filters{min-height:44px}
#case-count{white-space:nowrap;flex-shrink:0}

/* Catalog controls: fixed height, readable values, stable result controls. */
.case-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;align-items:start;margin:20px 0 24px}
.case-filters label{min-width:0;width:auto;font-size:12px;line-height:18px;font-weight:500}
.case-filters label:first-child{grid-column:1/-1}
.case-filters input,.case-filters .picker-trigger{height:48px;min-height:48px;margin-top:8px;padding:0 14px;font-size:14px;font-weight:400;line-height:1.4}
.case-filters input::placeholder{font-weight:400;color:#858680;opacity:1}
.picker-value{min-width:0;flex:1}
.case-filters .picker-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.case-filters .picker-trigger:after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 4px 4px;flex-shrink:0}
.case-filter-status{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px}
.case-filter-status small{font-size:13px}
.case-filter-status #reset-case-filters{width:auto;min-width:0;min-height:44px;font-size:13px;font-weight:400;padding:10px 0 10px 12px;align-self:center}
.case-empty{background:#fff;border:1px solid var(--line);padding:30px 24px;text-align:left}
.case-empty h3{font-size:18px;margin:0 0 8px}.case-empty p{margin-bottom:20px;max-width:540px}
.case-alternatives{display:flex;flex-wrap:wrap;gap:10px}.case-alternatives .button{font-weight:400;text-align:left}
.app-update-notice{margin:0 0 20px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#f3f3ee;display:flex;align-items:center;gap:12px;font-size:13px;color:#526258}
.app-update-notice span{flex:1}.app-update-notice button{font-size:13px;min-height:44px;font-weight:400}
@media(min-width:1400px){.case-filters{grid-template-columns:minmax(180px,1.3fr) minmax(150px,1fr) minmax(140px,.9fr) minmax(120px,.75fr) minmax(180px,1.3fr)}.case-filters label:first-child{grid-column:auto}}
@media(max-width:760px){.case-filters{gap:12px}.case-filters label:nth-child(2),.case-filters label:nth-child(5){grid-column:1/-1}.case-filters input,.case-filters .picker-trigger{font-size:16px}.case-filters label{font-size:12px}.case-empty{padding:24px 20px}.case-alternatives{flex-direction:column}.case-alternatives .button{width:100%;justify-content:flex-start}.app-update-notice{flex-wrap:wrap}.app-update-notice span{flex-basis:100%}}

#reset-case-filters{visibility:hidden}#reset-case-filters.has-filters{visibility:visible}

/* Initial evidence is visible before a skill level can be inferred. */
.atlas-result{display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:84px;margin-top:auto}.initial-observation{display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.initial-observation b{font-weight:500}.initial-observation small,.atlas-skill .initial-observation small{font-size:11px;color:#73695e;line-height:1.5}.atlas-result .atlas-bars{margin-top:0}.orbit-detail .initial-observation{font-size:15px}.orbit-detail .initial-observation small{font-size:13px}.progress-modes button{white-space:normal}

.training-directions{display:inline-flex;gap:4px;padding:4px;margin:20px 0 12px;background:var(--surface-muted,#eeeae3);border-radius:14px}.training-directions button{min-height:44px;padding:10px 22px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:500;cursor:pointer}.training-directions button[aria-pressed="true"]{background:#fff;color:#b5533a;box-shadow:0 2px 6px #0000000a}.training-directions button:focus-visible{outline:2px solid #b5533a;outline-offset:2px}@media(max-width:600px){.training-directions{display:grid;grid-template-columns:1fr 1fr;width:100%}.training-directions button{padding:10px 12px}}

.training-specialization{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:0 0 16px;font-size:14px;color:var(--muted,#747b80)}.training-specialization strong{font:inherit;font-weight:500;color:var(--text,#30332f)}

/* Keep failed-send feedback beside the saved draft, outside the conversation. */
.send-error{font-size:.875rem;line-height:1.45;color:#765a42;background:#f7f0e8;border-radius:10px;padding:9px 12px;margin-top:8px;overflow-wrap:anywhere}
.send-error[hidden]{display:none}
