@font-face{font-family:Manrope;src:url('assets/manrope-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{font-family:Manrope,Arial,sans-serif;color:#242b28;background:#fafbf9;--bg:#fafbf9;--surface:#fff;--muted:#79817d;--text:#242b28;--line:#e6eae5;--subtle:#f1f4ef;--accent:#21755a;--soft:#e8f3ed;--shadow:0 16px 50px #1b332b14;font-synthesis:none;color-scheme:light}
*{box-sizing:border-box;letter-spacing:0}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{background:none;border:none}a{color:inherit;text-decoration:none}img{max-width:100%;object-fit:cover;display:block}svg{width:20px;height:20px;stroke-width:1.65;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.3;font-weight:700}h2{font-size:22px;line-height:1.4}h3{font-size:18px;line-height:1.4}p{line-height:1.7}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{opacity:.45;cursor:not-allowed}small{font-size:12px}.skip-link{position:fixed;top:-60px;left:20px;z-index:100;background:var(--surface);padding:12px}.skip-link:focus{top:8px}[hidden]{display:none!important}
.topbar{height:106px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 38px 0 32px;border-bottom:1px solid var(--line);background:var(--surface);position:relative;z-index:25}.brand-area{display:flex;align-items:center;gap:22px}.brand{font-size:36px;font-weight:700;line-height:1;display:inline-flex;align-items:flex-end;gap:4px}.brand-dot{width:8px;height:8px;border-radius:50%;background:#25825f;margin-bottom:5px}.brand-caption{font-size:11px;color:var(--muted);max-width:100px;line-height:1.6}.mode-controller{position:absolute;left:50%;top:20px;transform:translateX(-50%);width:346px}.drum{height:50px;display:flex;align-items:center;background:var(--subtle);border:1px solid var(--line);border-radius:30px;position:relative;overflow:hidden;box-shadow:0 3px 10px #1d332705,inset 0 1px 0 #ffffff60;touch-action:pan-y;isolation:isolate}.drum-sheen{position:absolute;inset:0;opacity:0;z-index:-1;background:linear-gradient(105deg,#9ee6c560,#c5b6f360,#f6d4aa70,#a8dbe870);transition:opacity .25s}.drum:hover .drum-sheen,.drum:focus-within .drum-sheen{opacity:1}.drum-window{position:relative;height:42px;flex:1;overflow:hidden;margin:3px 0;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 3px 8px #00000008;min-width:0;transition:border-color .2s}.drum:hover .drum-window{border-color:color-mix(in srgb,var(--preview,var(--accent)) 40%,var(--line))}.drum-label{height:42px;display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;font-size:14px;font-weight:700;position:relative;top:-1px;color:var(--preview,var(--accent));transform-origin:center}.drum-label svg{width:18px;height:18px}.drum-label.roll-next{animation:roll-next .28s cubic-bezier(.2,.7,.2,1)}.drum-label.roll-prev{animation:roll-prev .28s cubic-bezier(.2,.7,.2,1)}@keyframes roll-next{from{transform:translateY(26px) scale(.95);opacity:.1}to{transform:translateY(0) scale(1);opacity:1}}@keyframes roll-prev{from{transform:translateY(-26px) scale(.95);opacity:.1}to{transform:translateY(0) scale(1);opacity:1}}.drum-ghost{position:absolute;left:0;width:100%;font-size:12px;opacity:.08;pointer-events:none}.ghost-top{top:-11px}.ghost-bottom{bottom:-11px}.drum-arrow{width:37px;height:46px;display:grid;place-items:center;color:var(--muted);flex-shrink:0;z-index:1}.drum-arrow:hover{color:var(--accent)}.drum-arrow svg{width:15px}.mode-dots{display:flex;gap:3px;justify-content:center;margin-top:6px;height:17px}.mode-dot{width:24px;height:15px;padding:4px;display:flex;align-items:center;justify-content:center}.mode-dot:after{content:'';height:5px;width:5px;border-radius:5px;background:#cdd4ce;transition:width .2s,background .2s}.mode-dot.active:after{width:18px;background:var(--accent)}.mode-dot.preview:after{background:var(--preview,var(--accent))}.header-actions{display:flex;align-items:center;gap:17px}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;border-radius:6px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:var(--subtle);color:var(--text)}.header-divider{height:24px;width:1px;background:var(--line);margin:0 3px}.user-trigger{display:flex;align-items:center;gap:10px;padding:0}.user-trigger>svg{width:15px;color:var(--muted)}.user-avatar{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#ede7da;color:#655943;font-size:11px;font-weight:700;flex-shrink:0}.app-shell{display:flex;min-height:calc(100vh - 106px)}.nav-count{margin-left:auto;font-size:10px;min-width:18px;height:18px;display:grid;place-items:center;border-radius:4px;background:var(--subtle);color:var(--muted)}.continue-label{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px;margin-bottom:14px}.live-dot{width:6px;height:6px;background:var(--accent);border-radius:50%}.progress{height:4px;overflow:hidden;background:var(--line);border-radius:4px;margin-top:16px}.progress span{display:block;height:100%;background:var(--accent);border-radius:4px;transition:width .3s}.side-progress-meta{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:8px}main{flex:1;min-width:0;max-width:1440px;padding:43px 50px 24px;margin:0 auto}.page{animation:page-in .24s ease-out}@keyframes page-in{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.page-topline{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:700;color:var(--accent);display:flex;gap:9px;align-items:center}.eyebrow:before{content:'';width:17px;height:1px;background:var(--accent)}.tiny-meta{font-size:10px;color:var(--muted)}.intro{max-width:610px}.intro h1{max-width:600px}.intro p{font-size:13px;margin-top:14px;color:var(--muted)}.categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:33px}.categories.two{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden;display:flex;flex-direction:column;transition:transform .22s,box-shadow .22s,border-color .22s;position:relative;min-width:0}.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--accent) 25%,var(--line))}.category-image{height:159px;position:relative;overflow:hidden}.category-image img{width:100%;height:100%;transition:transform .5s}.category-card:hover .category-image img{transform:scale(1.035)}.category-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#101b1820,transparent 50%)}.category-tag{position:absolute;top:14px;left:14px;padding:6px 8px;z-index:1;font-size:8px;font-weight:700;background:#ffffffed;color:#38443c;border-radius:3px}.category-body{padding:22px 22px 18px;flex:1;display:flex;flex-direction:column}.category-body h2{font-size:18px;min-height:25px;line-height:1.35}.category-body p{color:var(--muted);font-size:11px;line-height:1.75;margin-top:10px;flex:1}.category-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:23px;padding-top:17px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.category-bottom svg{width:17px;color:var(--accent)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:38px 0 18px}.section-head h2{font-size:19px}.text-link{font-size:11px;font-weight:700;color:var(--accent);display:inline-flex;align-items:center;gap:8px}.text-link svg{width:15px}.featured-grid,.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;min-width:0;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}.product-card:hover{box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--accent) 25%,var(--line))}.product-cover{height:153px;position:relative;overflow:hidden}.product-cover img{height:100%;width:100%}.product-cover>a{height:100%;display:block}.save-button{position:absolute;top:10px;right:10px;background:var(--surface);width:30px;height:30px;color:var(--text);box-shadow:0 2px 6px #00000010}.save-button svg{width:15px;height:15px}.save-button.saved{color:var(--accent)}.save-button.saved svg{fill:var(--soft)}.product-body{padding:19px;display:flex;flex:1;flex-direction:column}.product-kicker{font-size:9px;color:var(--accent);font-weight:700;margin-bottom:10px}.product-title{font-size:15px;line-height:1.6;font-weight:700;display:block;margin-bottom:14px}.product-title:hover{color:var(--accent)}.expert-inline{display:inline-flex;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.expert-inline img{width:25px;height:25px;border-radius:50%}.expert-inline:hover{color:var(--accent)}.product-meta{display:flex;gap:12px;font-size:9px;color:var(--muted);margin-top:16px;flex-wrap:wrap}.product-meta span{display:inline-flex;align-items:center;gap:4px}.product-meta svg{width:12px;height:12px}.product-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;padding-top:16px;margin-top:auto}.product-bottom strong{font-size:14px}.rating{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;white-space:nowrap}.rating svg{width:12px;height:12px;fill:#d8a450;color:#d8a450}.rating small{font-size:9px;color:var(--muted);font-weight:400}.compact .product-cover{display:none}.compact .product-body{padding:19px 20px}.compact .product-title{min-height:47px}.compact .product-bottom{margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}.experts-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;border-top:1px solid var(--line);padding-top:22px}.expert-mini{display:flex;gap:12px;align-items:center}.expert-mini>img{width:45px;height:45px;border-radius:50%}.expert-mini strong{font-size:11px;display:block}.expert-mini p{font-size:9px;color:var(--muted);margin-top:4px}.expert-mini>.rating{margin-left:auto}.page-footer{border-top:1px solid var(--line);margin-top:40px;padding-top:17px;display:flex;justify-content:space-between;gap:14px;font-size:9px;color:var(--muted);line-height:1.7}.page-footer .footer-logo{font-weight:700;font-size:12px;color:var(--text)}.breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-bottom:25px}.breadcrumb svg{width:12px;height:12px}.breadcrumb a:hover{color:var(--accent)}.heading-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.heading-row h1{font-size:30px}.subtitle{color:var(--muted);font-size:13px;margin-top:10px}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:28px 0 22px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.input-wrap{position:relative;flex:1;min-width:180px}.input-wrap>svg{position:absolute;left:12px;top:12px;width:17px;height:17px;color:var(--muted)}.input-wrap input{width:100%;padding:11px 12px 11px 39px}.field,select,input[type=text],input[type=email],input[type=search],input[type=password],textarea{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:11px 13px;font-size:12px;min-height:42px}.input-wrap input{padding-left:39px}select{max-width:100%}.toolbar label{font-size:11px;display:flex;align-items:center;gap:8px;color:var(--muted)}input[type=checkbox]{accent-color:var(--accent)}.result-count{font-size:10px;color:var(--muted);margin-bottom:17px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--accent);color:#fff;min-height:43px;border-radius:6px;padding:12px 20px;font-size:12px;font-weight:700;transition:filter .15s}.btn:hover{filter:brightness(.94)}.btn svg{width:17px;height:17px}.btn.secondary{background:var(--surface);border:1px solid var(--line);color:var(--text)}.btn.ghost{background:var(--soft);color:var(--accent)}.btn.wide{width:100%}.badge{display:inline-flex;align-items:center;gap:6px;font-size:9px;padding:5px 8px;border-radius:4px;background:var(--soft);color:var(--accent);font-weight:700}.badge svg{width:12px;height:12px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:40px}.detail-content h1{font-size:32px;margin:16px 0 20px;line-height:1.4}.detail-content>.expert-inline{font-size:12px}.detail-content>.expert-inline img{width:34px;height:34px}.detail-cover{aspect-ratio:2.15;width:100%;border-radius:8px;margin:25px 0}.detail-section{padding:24px 0;border-top:1px solid var(--line)}.detail-section h2{font-size:19px;margin-bottom:14px}.detail-section p,.detail-section li{font-size:12px;line-height:1.9;color:var(--muted)}.detail-section ul{padding-left:18px}.purchase-panel{align-self:start;position:sticky;top:24px;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:25px;margin-top:48px}.purchase-price{font-size:27px;font-weight:700;line-height:1.2;margin:10px 0 5px}.purchase-caption{color:var(--muted);font-size:10px;margin-bottom:25px}.purchase-features{list-style:none;padding:0;display:grid;gap:14px;margin:23px 0;font-size:11px}.purchase-features li{display:flex;gap:9px;align-items:center}.purchase-features svg{width:16px;color:var(--accent)}.fine-print{font-size:10px;color:var(--muted);line-height:1.8}.purchase-panel .fine-print{margin-top:14px}.accordion{border-bottom:1px solid var(--line)}.accordion summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;font-size:12px;padding:17px 0}.accordion summary::-webkit-details-marker{display:none}.accordion summary>span{font-size:10px;color:var(--muted);width:23px}.accordion summary svg{margin-left:auto;width:14px}.accordion[open] summary svg{transform:rotate(180deg)}.accordion p{padding:0 15px 20px 38px;font-size:11px;line-height:1.8;color:var(--muted)}.review-item{padding:18px 0;border-bottom:1px solid var(--line)}.review-top{display:flex;align-items:center;gap:10px;margin-bottom:11px}.review-top strong{font-size:12px}.review-top .rating{margin-left:auto}.review-item p{font-size:12px}.profile-hero{display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line);padding-bottom:30px;margin-bottom:28px}.profile-hero>img{width:112px;height:112px;border-radius:50%}.profile-hero h1{font-size:30px}.profile-hero p{color:var(--muted);font-size:13px;margin-top:7px}.profile-stats{display:flex;flex-wrap:wrap;gap:25px;margin-top:17px}.profile-stats span{display:flex;gap:6px;align-items:center;font-size:11px}.profile-stats svg{width:14px}.profile-about{max-width:730px;font-size:13px;color:var(--muted);line-height:1.9}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.tags span{font-size:10px;padding:6px 10px;background:var(--subtle);border-radius:4px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:25px 0;overflow-x:auto;scrollbar-width:thin}.tab{font-size:11px;white-space:nowrap;padding:13px 0 16px;color:var(--muted);border-bottom:2px solid transparent}.tab.active{font-weight:700;color:var(--accent);border-color:var(--accent)}.empty{padding:70px 20px;text-align:center;border-top:1px solid var(--line)}.empty>svg{width:34px;height:34px;color:var(--muted);margin-bottom:20px}.empty h2{font-size:20px}.empty p{font-size:12px;color:var(--muted);max-width:380px;margin:10px auto 20px}.learning-row{display:flex;gap:24px;padding:22px 0;border-bottom:1px solid var(--line);align-items:center}.learning-row>img{width:160px;height:108px;border-radius:6px}.learning-info{flex:1;min-width:0}.learning-info h2{font-size:16px;margin:6px 0}.learning-info p{font-size:10px;color:var(--muted)}.learning-info .progress{max-width:340px;margin:14px 0 7px}.learning-row .btn{margin-left:15px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:40px}.lesson-article h1{font-size:29px;margin:14px 0 24px}.lesson-article h2{font-size:19px;margin:24px 0 12px}.lesson-article p,.lesson-article li{font-size:14px;line-height:1.95;color:var(--muted);margin-bottom:16px}.lesson-illustration{background:var(--soft);border-left:3px solid var(--accent);padding:23px;margin:20px 0}.lesson-illustration strong{font-size:14px}.lesson-illustration p{margin:10px 0 0;font-size:13px}.lesson-actions{display:flex;align-items:center;gap:15px;padding-top:20px;border-top:1px solid var(--line)}.lesson-list{border-left:1px solid var(--line);padding-left:24px;align-self:start}.lesson-list h2{font-size:15px;margin-bottom:16px}.lesson-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:12px 0;font-size:11px;color:var(--muted);line-height:1.6}.lesson-item.active{color:var(--accent);font-weight:700}.lesson-item svg{width:16px;height:16px}.rank-table{width:100%;border-collapse:collapse;font-size:12px}.rank-table th{text-align:left;font-size:10px;color:var(--muted);font-weight:400;padding:15px 12px;border-bottom:1px solid var(--line)}.rank-table td{padding:23px 12px;border-bottom:1px solid var(--line)}.rank-table .expert-inline{font-size:12px;color:var(--text);font-weight:700}.rank-table .expert-inline img{width:38px;height:38px}.rank-table td:first-child{font-size:13px;color:var(--muted)}.rank-table td:last-child{text-align:right}.rank-table-wrap{overflow-x:auto}.rank-context{margin:20px 0;font-size:11px;color:var(--muted);line-height:1.8;max-width:730px}.signal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.signal-card{padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.signal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.ticker{display:flex;align-items:center;gap:12px}.ticker-symbol{width:42px;height:42px;border-radius:7px;background:var(--subtle);font-size:10px;font-weight:700;display:grid;place-items:center}.ticker strong{font-size:15px}.ticker p{font-size:10px;color:var(--muted)}.status{font-size:9px;padding:5px 7px;background:var(--subtle);border-radius:4px;white-space:nowrap}.status.success{background:#e8f3ed;color:#277352}.status.miss{background:#faeae7;color:#ab5442}.signal-chart{height:70px;display:flex;align-items:flex-end;gap:5px;margin:23px 0 18px;overflow:hidden}.signal-chart span{flex:1;min-width:2px;background:var(--soft);border-top:2px solid var(--accent);border-radius:2px 2px 0 0}.signal-values{display:flex;justify-content:space-between;gap:10px;margin:20px 0}.signal-values label{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.signal-values strong{font-size:17px}.signal-card .signal-bottom{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;align-items:center}.settings-list{max-width:730px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}.setting-row h2{font-size:14px}.setting-row p{font-size:11px;color:var(--muted);margin-top:7px}.segmented{display:flex;padding:4px;gap:3px;background:var(--subtle);border-radius:6px;flex-shrink:0}.segmented button{display:flex;align-items:center;justify-content:center;width:40px;height:33px;border-radius:4px;color:var(--muted)}.segmented button.active{background:var(--surface);box-shadow:0 1px 4px #00000008;color:var(--accent)}.swatches{display:flex;gap:9px}.swatch{height:26px;width:26px;border:3px solid var(--surface);outline:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:#fff}.swatch svg{width:12px;height:12px}.swatch.active{outline:2px solid var(--text);outline-offset:2px}.swatch.auto{background:conic-gradient(#74b89b,#bbace3,#e7b49a,#8eb9e3,#74b89b)}.switch{position:relative;display:block;width:39px;height:23px;flex-shrink:0}.switch input{width:100%;height:100%;margin:0;opacity:0;cursor:pointer;position:absolute;z-index:1}.switch span{display:block;width:39px;height:23px;border-radius:20px;background:var(--line)}.switch span:before{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000020;transition:transform .18s}.switch input:checked+span{background:var(--accent)}.switch input:checked+span:before{transform:translateX(16px)}.switch:focus-within{outline:2px solid var(--accent);outline-offset:4px;border-radius:20px}.profile-form{max-width:450px;display:grid;gap:20px;margin-top:30px}.form-label{display:grid;gap:8px;font-size:11px;color:var(--muted)}.profile-form textarea{resize:vertical;min-height:100px}.popover{position:absolute;right:32px;top:85px;width:300px;max-height:calc(100dvh - 100px);overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow);padding:8px;z-index:35}.popover-person{display:flex;align-items:center;gap:12px;padding:12px 10px 17px;border-bottom:1px solid var(--line);margin-bottom:5px}.popover-person strong{font-size:13px}.popover-person p{font-size:10px;color:var(--muted);margin-top:5px}.popover a,.popover button{display:flex;align-items:center;gap:10px;text-align:left;padding:12px 10px;font-size:12px;width:100%;border-radius:5px}.popover a:hover,.popover button:hover{background:var(--subtle)}.popover svg{width:17px;color:var(--muted)}#colorWave{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:50;display:none}dialog{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:0 30px 100px #0a231a30;padding:30px;width:520px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#14281f50;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.modal-head h2{font-size:22px;line-height:1.45}.modal-head>.icon-button{margin:-8px -8px 0 0}.modal-text{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:20px}.order-line{display:flex;justify-content:space-between;gap:20px;font-size:12px;padding:15px 0;border-bottom:1px solid var(--line);line-height:1.6}.order-line strong{text-align:right}.modal-actions{display:flex;gap:10px;margin-top:24px}.modal-actions .btn{flex:1}.notice{font-size:11px;color:var(--muted);background:var(--subtle);border-radius:6px;padding:13px;line-height:1.8;margin:18px 0}.search-results{margin-top:15px}.search-result{display:flex;padding:13px 0;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.search-result img{width:58px;height:43px;border-radius:4px}.search-result strong{font-size:12px;display:block}.search-result small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.search-result>svg{margin-left:auto;width:14px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,18px);padding:13px 20px;max-width:calc(100% - 32px);color:var(--surface);background:var(--text);font-size:12px;border-radius:7px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center;box-shadow:var(--shadow)}.toast.visible{opacity:1;transform:translate(-50%,0)}.chat-messages{max-height:300px;overflow:auto;display:flex;flex-direction:column;gap:16px;padding:8px 0 20px}.chat-message{background:var(--subtle);padding:12px 15px;border-radius:6px;max-width:90%;align-self:flex-start;font-size:12px;line-height:1.7}.chat-message strong{font-size:10px;display:block;color:var(--accent);margin-bottom:5px}.chat-message.self{align-self:flex-end;background:var(--soft)}.chat-form{display:flex;gap:10px}.chat-form input{flex:1;min-width:0}.chat-form .btn{width:44px;padding:10px}.readable{max-width:700px}.readable p{font-size:14px;line-height:1.9;color:var(--muted);margin:15px 0}.readable h2{font-size:20px;margin-top:25px}.check-list{list-style:none;display:grid;gap:12px;padding:0}.check-list li{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.check-list svg{width:16px;color:var(--accent)}
html[data-theme=dark]{--bg:#161c19;--surface:#1d2420;--muted:#9ca79f;--text:#e4eae5;--line:#323c35;--subtle:#252e28;--shadow:0 16px 50px #00000030;color-scheme:dark;background:var(--bg);color:var(--text)}html[data-theme=dark] .brand-dot{background:#75bf9d}html[data-theme=dark] .status.success{background:#243e30;color:#91caaa}html[data-theme=dark] .status.miss{background:#45312d;color:#e6ae9e}html[data-theme=dark] .category-tag{background:#1d2420ed;color:var(--text)}html[data-theme=dark] .btn{color:#12271d}html[data-theme=dark] .btn.secondary{color:var(--text)}html[data-theme=dark] .btn.ghost{color:var(--accent)}html[data-theme=dark] .toast{color:#17211a}
@media(min-width:1550px){main{padding-left:65px;padding-right:65px}.category-image{height:195px}.intro h1{font-size:38px}.category-body{padding:25px}.category-body h2{font-size:20px}.category-body p{font-size:12px}.product-title{font-size:17px}}
@media(max-width:1250px){.brand-caption{display:none}main{padding:34px 32px 24px}.categories,.featured-grid,.product-grid{gap:15px}.category-body{padding:18px}.category-body h2{font-size:16px}.category-image{height:140px}.experts-strip{gap:15px}.expert-mini>.rating{display:none}.detail-grid{gap:25px;grid-template-columns:minmax(0,1fr) 265px}.lesson-layout{gap:25px;grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:1020px){.topbar{padding:0 23px}.header-actions{gap:10px}.mode-controller{width:310px}main{padding:28px 24px 20px}h1{font-size:29px}.intro{max-width:500px}.category-body h2{font-size:15px}.category-body p{font-size:10px}.category-body{padding:15px}.category-image{height:130px}.category-tag{font-size:7px;left:10px;top:10px}.category-bottom{font-size:9px}.product-body{padding:16px}.product-title{font-size:13px}.product-bottom strong{font-size:12px}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-grid>article:last-child{display:none}.experts-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.experts-strip>a:last-child{display:none}.detail-grid{grid-template-columns:minmax(0,1fr)}.purchase-panel{position:static;margin:0;max-width:450px}.detail-content h1{font-size:28px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-row{gap:16px;flex-wrap:wrap}.learning-row>img{width:100px;height:86px}.learning-row>.btn{margin-left:116px}.lesson-layout{grid-template-columns:minmax(0,1fr)}.lesson-list{border-left:0;border-top:1px solid var(--line);padding:25px 0}.profile-stats{gap:14px}.signal-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.topbar{height:141px;padding:0 20px;align-items:flex-start}.brand-area{height:67px;gap:12px}.brand{font-size:31px}.header-actions{height:67px;gap:9px}.header-actions>.icon-button{width:28px}.header-divider{display:none}.user-trigger{gap:5px}.user-trigger>svg{display:none}.user-avatar{height:32px;width:32px;font-size:10px}.mode-controller{top:74px;width:calc(100% - 48px);max-width:395px}.drum{height:43px}.drum-window{height:36px}.drum-label{height:36px;font-size:13px}.drum-label svg{width:16px}.drum-arrow{height:40px;width:38px}.mode-dots{margin-top:4px}.app-shell{min-height:calc(100vh - 141px)}main{padding:28px 21px 20px;width:100%}.page-topline{margin-bottom:19px}.tiny-meta{font-size:9px}.eyebrow{font-size:8px;gap:6px}.eyebrow:before{width:12px}h1{font-size:27px;line-height:1.35}.intro p{font-size:12px;margin-top:12px}.categories,.categories.two{grid-template-columns:minmax(0,1fr);margin-top:25px;gap:17px}.category-image{height:158px}.category-body{padding:21px}.category-body h2{font-size:20px}.category-body p{font-size:12px;max-width:290px;margin-top:8px}.category-bottom{font-size:11px;margin-top:17px;padding-top:14px}.category-tag{font-size:8px;left:15px;top:15px}.section-head{margin-top:31px}.section-head h2{font-size:17px}.text-link{font-size:10px}.featured-grid{grid-template-columns:minmax(0,1fr);gap:12px}.featured-grid>article:last-child{display:flex}.compact .product-title{min-height:0;font-size:15px}.compact .product-body{padding:20px}.compact .product-bottom{margin-top:14px}.product-bottom strong{font-size:15px}.product-kicker{font-size:10px}.expert-inline{font-size:11px}.product-meta{font-size:10px}.experts-strip{grid-template-columns:minmax(0,1fr);gap:20px}.experts-strip>a:last-child{display:flex}.expert-mini strong{font-size:13px}.expert-mini p{font-size:11px}.expert-mini>.rating{display:inline-flex}.page-footer{flex-direction:column;gap:6px;margin-top:28px}.heading-row{align-items:flex-start}.heading-row h1{font-size:25px}.subtitle{font-size:12px}.toolbar{gap:10px;margin-top:23px}.toolbar .input-wrap{flex-basis:100%}.toolbar select{flex:1;min-width:0;font-size:11px}.toolbar label{font-size:10px}.product-grid{grid-template-columns:minmax(0,1fr);gap:20px}.product-cover{height:175px}.product-title{font-size:17px}.product-body{padding:21px}.product-meta{margin-bottom:4px}.detail-content h1{font-size:27px}.detail-grid{gap:12px}.detail-cover{aspect-ratio:1.65;margin:20px 0}.detail-section p,.detail-section li{font-size:12px}.purchase-panel{width:100%;max-width:none;padding:23px;margin-top:12px}.profile-hero{gap:16px;align-items:flex-start;flex-wrap:wrap}.profile-hero>img{width:70px;height:70px}.profile-hero>div{flex:1;min-width:180px}.profile-hero h1{font-size:24px}.profile-hero p{font-size:11px}.profile-stats{font-size:10px;gap:12px}.tabs{gap:20px;margin:20px 0}.tab{font-size:11px}.learning-row>img{width:84px;height:80px}.learning-info h2{font-size:13px}.learning-row>.btn{margin-left:0;width:100%}.learning-row{gap:16px}.learning-info{min-width:170px}.lesson-article h1{font-size:25px}.lesson-article p,.lesson-article li{font-size:13px}.lesson-actions{flex-wrap:wrap}.lesson-actions .btn{flex:1}.setting-row{gap:16px;flex-wrap:wrap}.setting-row>div:first-child{min-width:150px;flex:1}.setting-row h2{font-size:13px}.setting-row p{font-size:10px}.settings-list .swatches{gap:11px}.segmented button{width:34px}.signal-card{padding:20px}.rank-table{min-width:485px}.rank-table td{padding:20px 10px}.popover{right:15px;top:61px}.toast{bottom:19px;font-size:11px;width:max-content}.modal-head h2{font-size:20px}dialog{padding:23px}.modal-actions{flex-wrap:wrap}.modal-actions .btn{min-width:140px}.profile-form{gap:17px}.badge{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html[data-motion=off] *,html[data-motion=off] *:before,html[data-motion=off] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

.popover-label{font-size:9px;font-weight:700;color:var(--muted);letter-spacing:.06em;padding:14px 10px 6px}.popover-separator{height:1px;background:var(--line);margin:6px 4px}.popover a.active{color:var(--accent);background:var(--soft);font-weight:700}.popover a.active svg{color:var(--accent)}.popover a .nav-count{margin-left:auto}.popover a.popover-progress{display:block;margin:8px 0 2px;padding:14px 12px;background:var(--subtle);border-radius:6px}.popover a.popover-progress:hover{background:var(--soft)}.popover-progress .continue-label{margin-bottom:8px}.popover-progress strong{display:block;font-size:12px;line-height:1.55}.popover-progress .progress{display:block;margin-top:12px}
.directions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:33px}.direction-card{--c:var(--card-accent);display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden;min-width:0;transition:transform .22s,box-shadow .22s,border-color .22s}html[data-theme=dark] .direction-card{--c:var(--card-bright)}.direction-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--c) 35%,var(--line))}.direction-top{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 22px 26px;background:color-mix(in srgb,var(--c) 10%,var(--surface))}.direction-icon{width:46px;height:46px;border-radius:10px;display:grid;place-items:center;background:var(--surface);color:var(--c)}.direction-icon svg{width:22px;height:22px}.direction-count{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.direction-body{padding:20px 22px 0;flex:1}.direction-eyebrow{font-size:8px;font-weight:700;letter-spacing:.06em;color:var(--c)}.direction-body h2{font-size:18px;line-height:1.35;margin-top:8px}.direction-body p{font-size:11px;line-height:1.75;color:var(--muted);margin-top:8px}.direction-list{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:7px}.direction-list li{font-size:11px;display:flex;align-items:center;gap:8px}.direction-list li:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--c);flex-shrink:0}.direction-bottom{display:flex;justify-content:space-between;align-items:center;margin:20px 22px 0;padding:16px 0 18px;border-top:1px solid var(--line);font-size:11px;font-weight:700;color:var(--c)}.direction-bottom svg{width:16px}
@media(max-width:1250px){.directions{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}}
@media(max-width:760px){.directions{grid-template-columns:minmax(0,1fr);margin-top:25px}.popover{width:calc(100% - 30px);max-width:320px;max-height:calc(100dvh - 80px)}}

/* Вход и регистрация */
.auth-page{background:var(--bg);color:var(--text);min-height:100vh}
.auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:64px;max-width:1080px;margin:0 auto;padding:72px 32px 48px;align-items:center;min-height:100vh}
.auth-intro{display:grid;gap:18px;align-content:center}.auth-intro .brand{font-size:36px;margin-bottom:18px}
.auth-intro h1{font-size:38px;line-height:1.25;max-width:520px;text-wrap:balance}.auth-intro>p{color:var(--muted);font-size:14px;max-width:440px}
.auth-points{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:18px;max-width:460px}
.auth-points li{display:flex;gap:14px;align-items:flex-start}.auth-points svg{width:20px;height:20px;color:var(--accent);margin-top:2px}
.auth-points span{display:grid;gap:3px;font-size:12px;color:var(--muted);line-height:1.6}.auth-points strong{font-size:13px;color:var(--text)}
.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:30px;box-shadow:var(--shadow);display:grid;gap:18px;min-width:0}
.auth-card form{display:grid;gap:16px}.auth-card h2{font-size:22px;margin-top:4px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:var(--subtle);border-radius:8px}
.auth-tabs button{padding:10px;border-radius:6px;font-size:12px;font-weight:700;color:var(--muted)}.auth-tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #00000010}
.password-wrap{position:relative;display:block}.password-wrap input{width:100%;padding-right:46px}.password-wrap .icon-button{position:absolute;right:4px;top:3px}
.field-error{font-size:11px;color:#ab5442}.field-hint{font-size:10px;color:var(--muted)}
input[aria-invalid=true]{border-color:#ab5442}
.form-error{background:#faeae7;color:#8f3f2f;border-radius:6px;padding:11px 14px;font-size:12px;line-height:1.6}
html[data-theme=dark] .field-error{color:#e6ae9e}html[data-theme=dark] .form-error{background:#45312d;color:#f0c2b5}html[data-theme=dark] input[aria-invalid=true]{border-color:#e6ae9e}
.role-choice{border:0;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.role-choice legend{font-size:11px;color:var(--muted);margin-bottom:8px;padding:0}
.role-option{position:relative;cursor:pointer}.role-option input{position:absolute;opacity:0}
.role-option span{display:grid;gap:3px;padding:14px;border:1px solid var(--line);border-radius:8px;height:100%}.role-option svg{width:20px;height:20px;color:var(--muted);margin-bottom:4px}
.role-option strong{font-size:13px}.role-option small{font-size:10px;color:var(--muted);line-height:1.5}
.role-option input:checked+span{border-color:var(--accent);background:var(--soft)}.role-option input:checked+span svg{color:var(--accent)}
.role-option input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}
.role-note{margin:0;display:flex;gap:10px}.role-note svg{width:16px;height:16px;flex-shrink:0;margin-top:3px;color:var(--accent)}
.demo-accounts{border-top:1px solid var(--line);padding-top:14px;font-size:12px}
.demo-accounts summary{cursor:pointer;display:flex;align-items:center;gap:8px;color:var(--muted);font-weight:700;list-style:none}.demo-accounts summary::-webkit-details-marker{display:none}.demo-accounts summary svg{width:15px}
.demo-accounts p{font-size:11px;color:var(--muted);margin:10px 0 8px}
.demo-account{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;margin-top:6px;text-align:left}
.demo-account:hover{background:var(--subtle)}.demo-account span{display:grid;gap:2px;font-size:11px;color:var(--muted)}.demo-account strong{font-size:12px;color:var(--text)}.demo-account code{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.signed-in{display:flex;gap:14px;align-items:center;padding:14px;background:var(--subtle);border-radius:8px}.signed-in span:last-child{display:grid;gap:3px;min-width:0}.signed-in small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.auth-card>.btn.secondary{margin-top:-6px}
@media(max-width:860px){.auth{grid-template-columns:minmax(0,1fr);gap:30px;padding:28px 16px 40px;min-height:0}.auth-intro h1{font-size:26px}.auth-points{display:none}.auth-intro .brand{margin-bottom:4px}.auth-card{padding:22px}}

/* Загрузка данных с сервера */
.loading{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;padding:60px 0}.loading:before{content:'';width:18px;height:18px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.offline{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:28px;display:grid;gap:10px;max-width:560px;margin:40px auto}.offline h2{font-size:18px}.offline p{font-size:12px;color:var(--muted)}.offline code{font-size:12px;background:var(--subtle);padding:2px 6px;border-radius:4px}

/* Сайт, подключённый к серверу */
.muted-rating{color:var(--muted);font-weight:400}
.cover-placeholder{display:grid;place-items:center;width:100%;height:100%;background:var(--subtle);color:var(--muted)}.cover-placeholder svg{width:22px;height:22px}
.cover-placeholder.detail-cover{aspect-ratio:2.15;border-radius:8px;margin:25px 0;height:auto}
.learning-row>.cover-placeholder{width:160px;height:108px;border-radius:6px;flex-shrink:0}
.search-result>.cover-placeholder{width:58px;height:43px;border-radius:4px;flex-shrink:0}
.expert-inline .user-avatar{width:25px;height:25px;font-size:9px}.detail-content>.expert-inline .user-avatar{width:34px;height:34px}.rank-table .expert-inline .user-avatar{width:38px;height:38px}
.expert-mini>.user-avatar{width:45px;height:45px}.profile-hero>.user-avatar{width:112px;height:112px;font-size:30px}
.user-trigger .user-avatar svg{width:16px;height:16px}
.demo-badge{background:var(--subtle);color:var(--muted)}
.module-heading{font-size:13px;margin:18px 0 6px;color:var(--text)}.module-heading:first-of-type{margin-top:4px}
.program{counter-reset:lesson}.program-list{list-style:none;margin:0;padding:0}
.program-list li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;counter-increment:lesson}
.program-title:before{content:counter(lesson, decimal-leading-zero);color:var(--muted);font-size:10px;margin-right:12px}
.program-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.review-reply{border-left:2px solid var(--accent);padding:2px 0 2px 12px;margin-top:10px}.review-reply p{font-size:12px;margin-top:3px}
.refund-link{display:flex;align-items:center;gap:6px;margin:14px auto 0;color:var(--muted);font-weight:400}.refund-link svg{width:14px}
.lesson-video{width:100%;max-height:70vh;border-radius:8px;background:#000;margin:6px 0 24px;display:block}
.lesson-novideo{display:grid;justify-items:center;gap:8px;padding:50px 20px;background:var(--subtle);border-radius:8px;margin:6px 0 24px;color:var(--muted)}.lesson-novideo svg{width:30px;height:30px}
.lesson-module{font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:14px 0 2px}
a.lesson-item{text-decoration:none}
.popover a.popover-studio{background:var(--soft);color:var(--accent);font-weight:700;margin:4px 0}.popover a.popover-studio svg{color:var(--accent)}.popover a.popover-studio svg:last-child{margin-left:auto;width:14px}
.fc-condition-public{font-size:12px;line-height:1.6;padding:10px 12px;background:var(--subtle);border-radius:6px;margin-top:16px}
.modal-sub{font-size:14px;margin:18px 0 6px}
.offline>svg{width:26px;height:26px;color:var(--accent)}
@media(max-width:760px){.learning-row>.cover-placeholder{width:84px;height:80px}.program-list li{flex-wrap:wrap}}

/* Фокус переносится в основную область для экранных дикторов, рамка при этом не нужна */
main:focus{outline:none}
/* Этап 2: звезда рейтинга, полки, продукты, запись, чат, фото профиля */
.star-meter{position:relative;display:inline-block;width:13px;height:13px;flex-shrink:0}.star-meter svg{position:absolute;left:0;top:0;width:13px;height:13px;stroke:#d8a450;stroke-width:1.8}.rating .star-meter .star-empty{fill:none}.star-fill{position:absolute;left:0;top:0;bottom:0;width:var(--fill);overflow:hidden}.rating .star-fill svg{fill:#d8a450}
.shelf{margin-top:34px}.shelf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.shelf-head h2{font-size:19px}.shelf-label{font-size:9px;font-weight:700;color:var(--accent);letter-spacing:.04em}.shelf-tools{display:flex;align-items:center;gap:4px}.shelf-tools .text-link{margin-right:8px}
.shelf-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px) / 3);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 14px;scrollbar-width:thin;overscroll-behavior-x:contain}.shelf-row>*{scroll-snap-align:start;min-width:0}.shelf-empty{font-size:12px;color:var(--muted);padding:22px;border:1px dashed var(--line);border-radius:8px}
.tab-count{font-weight:400;opacity:.65;margin-left:3px}
.socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.socials a{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:6px 10px;border:1px solid var(--line);border-radius:20px}.socials a:hover{border-color:var(--accent);color:var(--accent)}.socials svg{width:14px;height:14px}
.mode-ratings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:26px}.mode-ratings>div{border:1px solid var(--line);border-radius:8px;padding:12px 14px;display:grid;gap:6px}.mode-ratings>div>span{font-size:10px;color:var(--muted)}.mode-ratings .rating{font-size:14px;margin:0}.mode-ratings .rating small{font-size:10px}.mode-ratings .star-meter,.mode-ratings .star-meter svg{width:16px;height:16px}.mode-ratings .fine-print{grid-column:1/-1;margin:0}
.slot-preview{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.slot-preview span{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:7px 10px;background:var(--subtle);border-radius:6px}.slot-preview svg{width:14px;height:14px;color:var(--accent)}.slot-preview .muted{color:var(--muted);background:none}
.booking-list{display:grid;gap:8px;margin-bottom:12px}.booking-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;background:var(--soft);border-radius:6px;font-size:11px}.booking-item>div{display:flex;align-items:center;gap:7px}.booking-item svg{width:15px;color:var(--accent)}.booking-item small{color:var(--muted)}.booking-list+.btn{margin-bottom:10px}
.slot-days{display:grid;gap:16px;max-height:50dvh;overflow:auto;margin:14px 0}.slot-day{border:none;padding:0;margin:0}.slot-day legend{font-size:11px;font-weight:700;margin-bottom:8px;text-transform:capitalize}.slot-list{display:flex;flex-wrap:wrap;gap:8px}.slot input{position:absolute;opacity:0;pointer-events:none}.slot span{display:inline-block;padding:9px 14px;border:1px solid var(--line);border-radius:6px;font-size:12px;cursor:pointer}.slot input:checked+span{background:var(--accent);border-color:var(--accent);color:var(--surface);font-weight:700}.slot input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}
.material{position:relative}.material.locked{max-height:240px;overflow:hidden}.material.locked:after{content:'';position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(transparent,var(--bg))}.material-lock{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted);margin-top:6px}.material-lock svg{color:var(--accent)}
.chat-message small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.chat-message.expert:not(.self){border-left:3px solid var(--accent)}dialog.wide .chat-messages{max-height:min(55dvh,460px)}
.user-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.avatar-edit{display:flex;gap:18px;align-items:center}.avatar-edit .btn{cursor:pointer}.avatar-edit .text-link{margin-left:10px}.avatar-edit .fine-print{margin-top:8px}.user-avatar.profile-avatar{width:72px;height:72px;font-size:22px}
@media(max-width:1020px){.shelf-row{grid-auto-columns:calc((100% - 20px) / 2)}.mode-ratings{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.shelf-row{grid-auto-columns:80%;gap:12px}.shelf-tools .icon-button{display:none}.avatar-edit{align-items:flex-start}}
dialog.wide{width:680px}
input[type=url],input[type=time]{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:11px 13px;font-size:12px;min-height:42px;width:100%}
.chain-badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:#5b3fb0;background:#efeafc;border-radius:20px;padding:5px 10px;margin:0 0 14px}.chain-badge svg{width:13px;height:13px}[data-theme=dark] .chain-badge{background:#2d2547;color:#c9b8ff}
pre.memo{white-space:pre-wrap;word-break:break-all;font:11px/1.6 ui-monospace,Consolas,monospace;background:var(--subtle);border-radius:6px;padding:12px;margin:10px 0 14px}
.verify{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:8px;margin:6px 0 10px}.verify span{display:grid;gap:4px}.verify strong{font-size:13px}.verify small{font-size:11px;color:var(--muted)}.verify.ok{background:#e5f2ea;color:#22704f}.verify.bad{background:#faeae7;color:#ab5442}.verify svg{width:22px;height:22px;flex-shrink:0}
.chain-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}
.review-item .chain-badge,.review-item .small-btn{margin:10px 0 0}.small-btn{min-height:32px;padding:7px 12px;font-size:11px}.small-btn svg{width:14px;height:14px}
.lesson-comments{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.lesson-comments h2{display:flex;align-items:center;gap:10px}.comment-item{padding:14px 0;border-bottom:1px solid var(--line)}.comment-item .review-top{margin-bottom:6px}.comment-item .tiny-meta{margin-left:auto}.comment-item p{font-size:13px;margin:0;color:var(--text)}.comment-item.expert{background:var(--soft);border-radius:6px;padding:14px;border-bottom:0;margin:8px 0}.comment-del{width:28px;height:28px}.comment-del svg{width:14px}.comment-form{display:flex;gap:10px;margin:16px 0 10px;align-items:flex-end}.comment-form textarea{flex:1;min-width:0;resize:vertical}.lesson-article .lesson-comments p.fine-print{font-size:10px}
@media(max-width:760px){.comment-form{flex-direction:column;align-items:stretch}}
/* Blockchain features: checkout breakdown, certificates, wallet */
.order-line.sub{font-size:11px;color:var(--muted);padding:9px 0 9px 14px;border-bottom-style:dashed}.order-line.sub strong{font-weight:400}.order-line.total{font-size:14px}.order-line.total strong{font-size:16px}.order-line>span{display:inline-flex;align-items:center;gap:6px}
.info-dot{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;color:var(--muted)}.info-dot:hover{color:var(--accent);background:var(--soft)}.info-dot svg{width:14px;height:14px}
.pay-methods{border:0;padding:0;margin:18px 0 0;display:grid;gap:8px}.pay-methods legend{font-size:11px;color:var(--muted);margin-bottom:8px}.pay-method{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:8px;padding:12px 14px;cursor:pointer}.pay-method:has(input:checked){border-color:var(--accent);background:var(--soft)}.pay-method input{margin-top:3px;accent-color:var(--accent)}.pay-method strong{display:block;font-size:12px}.pay-method small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.usdc-split{margin-top:10px}
.chain-chip{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:var(--muted);background:var(--subtle);border-radius:20px;padding:5px 10px;margin:8px 8px 0 0}.chain-chip svg{width:13px;height:13px}.chain-chip.ok{color:#5b3fb0;background:#efeafc}.chain-chip.pending svg,.cert-mini .chain-chip:not(.ok) svg{animation:spin 1.6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}html[data-theme=dark] .chain-chip.ok{background:#2d2547;color:#c9b8ff}
.cert-strip{margin:8px 0 6px}.cert-list{display:grid;gap:12px}.cert-mini{display:flex;gap:16px;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:16px 18px}.cert-mini>div{flex:1;min-width:0}.cert-mini strong{font-size:13px}.cert-mini p{font-size:10px;color:var(--muted);margin-top:4px}.cert-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#f6efdc;color:#a77c2a;flex-shrink:0}.cert-icon svg{width:22px;height:22px}
.cert-card{border:3px solid #1f6f54;outline:1px solid #c9d8cf;outline-offset:-10px;background:#fbfaf6;color:#17231d;border-radius:6px;padding:30px 34px;text-align:center;margin-bottom:16px}.cert-top{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left}.cert-brand{font-size:26px;font-weight:700;display:inline-flex;align-items:flex-end;gap:3px}.cert-brand i{width:6px;height:6px;border-radius:50%;background:#25825f;margin-bottom:5px}.cert-id{font-size:10px;color:#5d6b63}.cert-kicker{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#1f6f54;margin-top:18px}.cert-name{font-size:28px;margin:12px 0 6px;line-height:1.3}.cert-has{font-size:12px;color:#5d6b63}.cert-course{font-size:17px;font-weight:700;margin:8px 0 18px;line-height:1.45}.cert-meta{display:flex;justify-content:center;gap:34px;flex-wrap:wrap;margin:0}.cert-meta dt{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#5d6b63}.cert-meta dd{margin:4px 0 0;font-size:12px;font-weight:700}.cert-chain{font-size:10px;color:#5b3fb0;margin-top:18px;font-weight:700}.cert-actions{flex-wrap:wrap}.cert-actions .btn{flex:1 1 150px}
.wallet-section{max-width:730px;margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}.wallet-section h2{font-size:18px;display:flex;align-items:center;gap:10px}.wallet-section h2 svg{width:20px;color:var(--accent)}.wallet-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 6px}.wallet-address{font-size:12px;background:var(--subtle);padding:8px 10px;border-radius:6px;word-break:break-all}.wallet-help{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.wallet-help>div{background:var(--subtle);border-radius:8px;padding:14px 16px}.wallet-help strong{display:flex;align-items:center;gap:8px;font-size:12px}.wallet-help strong svg{width:15px;color:var(--accent)}.wallet-help p{font-size:11px;color:var(--muted);line-height:1.7;margin:6px 0}.secret-key{width:100%;font-family:ui-monospace,monospace;font-size:11px;word-break:break-all}.orders-table td{padding:14px 10px;font-size:11px}.orders-table td:first-child{font-size:11px}
@media(max-width:760px){.wallet-help{grid-template-columns:1fr}.cert-card{padding:22px 16px}.cert-name{font-size:22px}.cert-meta{gap:18px}.cert-mini{flex-wrap:wrap}.cert-mini .btn{width:100%}}
.auth-text{font-size:12px;color:var(--muted);line-height:1.8;margin:-6px 0 18px}.forgot-link{margin:14px auto 0;display:flex;justify-content:center}
.verify-wrap{max-width:760px;margin:0 auto;padding:40px 20px 60px}.verify-wrap .brand{margin-bottom:26px}.verify-wrap h1{font-size:30px}.verify-wrap .subtitle{margin-bottom:24px}.verify.big{padding:18px}.verify.big strong{font-size:15px}.verify.wait{background:#fbf3e2;color:#8a6116}
.vh{font-size:16px;margin:26px 0 12px}.vchecks{list-style:none;padding:0;display:grid;gap:10px}.vcheck{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:8px;padding:12px 14px;background:var(--surface)}.vcheck>svg{width:20px;height:20px;flex-shrink:0}.vcheck.ok>svg{color:#22704f}.vcheck.bad>svg{color:#ab5442}.vcheck.wait>svg{color:var(--muted)}.vcheck span{display:grid;gap:4px;min-width:0}.vcheck strong{font-size:13px}.vcheck small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.vcheck code{font-size:10px}
.name-row{display:flex;gap:10px;margin:10px 0 6px}.name-row input{flex:1;min-width:0}.name-ok{color:#22704f;font-weight:700}.name-bad{color:#ab5442;font-weight:700}
@media(max-width:760px){.name-row{flex-direction:column}}
.own-wallet{margin:6px 0 8px}
