:root{
  --bg:#f9f5f0; --panel:#fffdfa; --ink:#31292c; --muted:#7b7073; --line:#e7ddd7;
  --accent:#8f5e72; --accent-dark:#74485b; --accent2:#d7b48a; --soft:#f7eef2;
  --gold:#c8a56a; --gold-soft:#f6efe3; --warm:#f6ebe4; --warn:#a87748; --danger:#b85d5a; --danger-soft:#faebe8;
  --support:#5b8d73; --support-soft:#e9f4ee; --neutral:#b9a08b;
  --shadow:0 18px 40px rgba(87,58,68,.08); --shadow-soft:0 10px 26px rgba(87,58,68,.06);
  --radius:24px;
}
*{box-sizing:border-box} html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:"Avenir Next","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
body{letter-spacing:.005em} button,input,textarea,select{font:inherit} button{cursor:pointer} a{color:inherit}
.app-shell{min-height:100vh;display:grid;grid-template-columns:264px 1fr}
.sidebar{background:linear-gradient(180deg,#43373d 0%,#342b30 100%);color:#fffaf8;padding:26px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:24px;border-right:1px solid rgba(255,255,255,.05)}
.brand{display:flex;gap:12px;align-items:center}.brand-mark{width:42px;height:42px;border-radius:15px;background:linear-gradient(145deg,#f1ddd8,#c999a8);color:#4d3340;display:grid;place-items:center;font-weight:700;font-size:18px;box-shadow:0 6px 20px rgba(0,0,0,.12)}.brand h1{font-size:16px;margin:0;font-weight:650}.brand small{display:block;color:#ccbfc3;margin-top:3px;font-size:12px}
.mode-switch{display:grid;grid-template-columns:1fr 1fr;background:#493d42;border-radius:14px;padding:4px;gap:4px}.mode-switch button{border:0;border-radius:11px;padding:9px;background:transparent;color:#d8ccd0}.mode-switch button.active{background:#fff8f5;color:#4e3a43;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.nav{display:flex;flex-direction:column;gap:6px}.nav button{display:flex;gap:11px;align-items:center;border:0;background:transparent;color:#e5dadd;padding:11px 12px;text-align:left;border-radius:13px;transition:.2s}.nav button:hover,.nav button.active{background:#51444a;color:white;transform:translateX(2px)}.nav .ico{width:24px;text-align:center;opacity:.95;font-size:16px}
.sidebar-foot{margin-top:auto;font-size:12px;color:#bfaeb4;line-height:1.55}.sidebar-foot button{margin-top:10px;width:100%;border:1px solid #65555b;background:transparent;color:#f2e8eb;border-radius:12px;padding:9px}
.main{min-width:0}.topbar{padding:24px 34px 0;display:flex;justify-content:space-between;align-items:center;gap:16px}.topbar h2{margin:0;font-size:13px;font-weight:600;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:10px}.pill{border:1px solid var(--line);background:rgba(255,253,251,.75);padding:8px 11px;border-radius:999px;font-size:12px;color:var(--muted);backdrop-filter:blur(8px)}
.content{padding:30px 34px 56px;max-width:1500px;margin:0 auto}.page-title{font-size:38px;line-height:1.08;margin:0 0 8px;font-weight:650;letter-spacing:-.035em}.subtitle{color:var(--muted);max-width:820px;line-height:1.65;margin:0 0 25px;font-size:15px}
.grid{display:grid;gap:18px}.grid.two{grid-template-columns:1.35fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.four{grid-template-columns:repeat(4,1fr)}
.card{background:rgba(255,253,250,.96);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow-soft);position:relative;overflow:hidden}.card::after{content:"";position:absolute;inset:auto -20% -80% auto;width:160px;height:160px;background:radial-gradient(circle,rgba(200,165,106,.08),transparent 62%);pointer-events:none}.card h3{margin:0 0 10px;font-size:17px;letter-spacing:-.01em}.card h4{margin:0 0 8px}.card p{line-height:1.58}.muted{color:var(--muted)}
.metric{font-size:30px;font-weight:650;letter-spacing:-.04em}.metric-label{color:var(--muted);font-size:12px;margin-top:4px}
.btn{border:0;background:var(--accent);color:white;border-radius:13px;padding:10px 15px;font-weight:650;box-shadow:0 4px 12px rgba(122,79,94,.14);transition:.18s}.btn:hover{transform:translateY(-1px);background:var(--accent-dark)}.btn.secondary{background:var(--gold-soft);color:var(--ink);box-shadow:none;border:1px solid rgba(200,165,106,.18)}.btn.ghost{background:#fffdfb;color:var(--ink);border:1px solid var(--line);box-shadow:none}.btn.danger{background:var(--danger-soft);color:var(--danger);border:1px solid #efcbc7;box-shadow:none}.btn.small{padding:7px 10px;font-size:12px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.spread{display:flex;justify-content:space-between;gap:12px;align-items:center}.stack{display:flex;flex-direction:column;gap:12px}.divider{height:1px;background:var(--line);margin:17px 0}
.tag{display:inline-flex;align-items:center;gap:5px;background:var(--soft);color:#624e56;border-radius:999px;padding:5px 9px;font-size:12px;margin:2px 4px 2px 0;border:1px solid rgba(143,94,114,.08)}.tag.warn{background:#f7ede1;color:#7f5a39}.tag.question{background:#efedf5;color:#655f79}.tag.support{background:var(--support-soft);color:#356a4f}.tag.tension{background:var(--danger-soft);color:#984442}
.progress{height:9px;background:#eee5e2;border-radius:20px;overflow:hidden}.progress>i{display:block;height:100%;background:linear-gradient(90deg,#d7b48a,#8f5e72);border-radius:20px}
.hero{background:linear-gradient(135deg,#fffdfb 0%,#f8eef1 54%,#f6efe3 100%);padding:32px;border:1px solid #ead8df;position:relative;overflow:hidden}.hero::before{content:"";position:absolute;right:-30px;top:-20px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(200,165,106,.18),transparent 65%)}.hero .eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-weight:700}.hero blockquote{font-size:29px;line-height:1.3;margin:11px 0 16px;max-width:780px;font-weight:560;letter-spacing:-.02em}.hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:18px;align-items:center}.hero-art{justify-self:end;opacity:.92}.hero-art svg{width:180px;height:auto;display:block}.hero-caption{font-size:13px;color:var(--muted);line-height:1.6}
.list-item{padding:12px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border-bottom:0}.list-item strong{display:block;margin-bottom:4px}
.input,.textarea,.select{width:100%;border:1px solid var(--line);background:#fffefd;border-radius:13px;padding:11px 13px;color:var(--ink);outline:none;transition:.18s}.input:focus,.textarea:focus,.select:focus{border-color:#cba9b4;box-shadow:0 0 0 4px rgba(201,167,178,.16)}.textarea{min-height:110px;resize:vertical}.label{display:block;font-size:12px;color:var(--muted);margin:0 0 6px;font-weight:600}.field{margin-bottom:14px}
.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.tabs button{border:1px solid var(--line);background:#fffdfb;border-radius:999px;padding:8px 12px;color:var(--muted)}.tabs button.active{background:var(--accent);color:white;border-color:var(--accent)}
.notice{border-left:3px solid var(--accent2);background:#fbf7f8;padding:13px 15px;border-radius:0 12px 12px 0;line-height:1.58}.notice.warning{border-color:var(--warn);background:#fcf6ef}.notice.danger{border-color:var(--danger);background:#fff4f2}
.graph-wrap{position:relative;height:610px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:radial-gradient(circle at 1px 1px,#eadfda 1px,transparent 1px);background-size:24px 24px}.graph-toolbar{position:absolute;z-index:4;top:12px;left:12px;right:12px;display:flex;gap:8px;flex-wrap:wrap}.graph-toolbar .search{max-width:260px;background:rgba(255,253,251,.96)}.graph-svg{width:100%;height:100%;touch-action:none}.node-g{cursor:grab}.node-g:active{cursor:grabbing}.node-circle{fill:#fffdfb;stroke:#b79aa3;stroke-width:2.3;filter:drop-shadow(0 4px 7px rgba(75,48,58,.08))}.node-circle.theme-desire{stroke:#9f7080}.node-circle.theme-body{stroke:#b98676}.node-circle.theme-boundary{stroke:#7e9d89}.node-circle.theme-shame{stroke:#b06f72}.node-circle.theme-awareness{stroke:#78929b}.node-circle.archived{opacity:.38;stroke-dasharray:4 4}.node-label{font-size:12px;fill:#332d2f;text-anchor:middle;pointer-events:none;font-weight:600}.link-line{stroke:#c9bbb6;stroke-width:1.8}.link-line.suggested{stroke-dasharray:5 5;stroke:#b58b62}.link-label{font-size:10px;fill:#8e7f7b}.mini-map{height:220px}.node-panel{position:fixed;right:18px;top:18px;bottom:18px;width:min(430px,calc(100vw - 36px));background:#fffdfb;border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 70px rgba(55,36,44,.22);z-index:20;padding:23px;overflow:auto}.close-x{border:0;background:transparent;font-size:24px;float:right;color:var(--muted)}.history-item{padding:11px 0;border-bottom:1px solid var(--line)}.history-item .date{font-size:11px;color:var(--muted)}
.timeline{display:flex;gap:8px;align-items:center;overflow:auto;padding:4px 0 12px}.timeline button{white-space:nowrap;border:1px solid var(--line);background:#fffdfb;border-radius:999px;padding:8px 12px}.timeline button.active{background:var(--accent);color:white;border-color:var(--accent)}
.pattern-card{background:linear-gradient(180deg,#fffdfa,#fbf6f1);border:1px solid var(--line);border-radius:20px;padding:18px}.journey-track{position:relative;padding:34px 18px 28px;margin-top:8px}.journey-track::before{content:"";position:absolute;left:26px;right:26px;top:68px;height:4px;border-radius:999px;background:linear-gradient(90deg,rgba(184,93,90,.35) 0%, rgba(200,165,106,.45) 50%, rgba(91,141,115,.35) 100%)}.journey-points{position:relative;display:flex;justify-content:space-between;gap:8px}.journey-point{position:relative;background:transparent;border:0;padding:0;min-width:88px;cursor:pointer;text-align:center;color:var(--ink)}.journey-dot{width:16px;height:16px;border-radius:50%;margin:40px auto 10px;border:3px solid #fffdfa;box-shadow:0 0 0 4px rgba(255,255,255,.65)}.journey-point[data-kind="tension"] .journey-dot{background:#c55e5c}.journey-point[data-kind="neutral"] .journey-dot{background:#be9f7c}.journey-point[data-kind="support"] .journey-dot{background:#5b8d73}.journey-point.active .journey-dot{transform:scale(1.18);box-shadow:0 0 0 5px rgba(200,165,106,.18)}.journey-week{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.journey-date{font-size:11px;color:var(--muted)}.journey-label{margin-top:8px;font-size:12px;line-height:1.35;min-height:34px}.journey-detail{margin-top:16px;border:1px solid var(--line);background:rgba(255,255,255,.74);border-radius:18px;padding:16px}.journey-detail h4{margin:0 0 10px}.journey-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.journey-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;font-size:12px;background:var(--gold-soft);border:1px solid rgba(200,165,106,.2)}.journey-swatch{width:10px;height:10px;border-radius:50%}.pattern-legend{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:12px}.legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:5px}.legend-dot.red{background:#c55e5c}.legend-dot.green{background:#5b8d73}.legend-dot.neutral{background:#be9f7c}.fold{border:1px solid var(--line);border-radius:16px;padding:12px 14px;background:#fffdfa}.fold+ .fold{margin-top:10px}.fold summary{cursor:pointer;font-weight:650;list-style:none}.fold summary::-webkit-details-marker{display:none}.fold .muted{margin-top:8px}.lesson-nav button{border:1px solid transparent;background:rgba(255,250,247,.8)}.lesson-nav button.active{background:linear-gradient(180deg,#fff9f8,#fbf2f4);border-color:#ecdcd4;box-shadow:var(--shadow-soft)}.lesson-status-done{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:var(--support-soft);color:#356a4f;font-weight:650;border:1px solid #cfe3d7}.compare{display:grid;grid-template-columns:1fr 60px 1fr;gap:12px;align-items:start}.compare-arrow{font-size:28px;text-align:center;padding-top:42px;color:var(--muted)}
.lesson{display:grid;grid-template-columns:260px 1fr;gap:20px}.lesson-nav button{width:100%;text-align:left;border:0;background:transparent;padding:10px;border-radius:11px}.lesson-nav button.active{background:var(--soft)}
.check{display:flex;gap:10px;align-items:flex-start}.check input{margin-top:4px}.auto-tags{padding:10px 12px;border:1px dashed #d8c6cc;border-radius:13px;background:#fbf6f8}.auto-tags strong{font-size:12px}.auto-tag{display:inline-flex;padding:5px 9px;border-radius:999px;background:#efe5e9;color:#6d505b;font-size:12px;margin:5px 5px 0 0;cursor:pointer;border:0}.auto-tag:hover{background:#e6d5db}
.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.cal-head,.cal-day{padding:8px;text-align:center;border-radius:10px}.cal-head{font-size:11px;color:var(--muted)}.cal-day{background:#fdfaf8;min-height:52px;border:1px solid #f0e8e4}.cal-day.event{background:#f2e8ec;border-color:#ddc7cf}.cal-day.today{outline:2px solid var(--accent2)}
.teacher-table{width:100%;border-collapse:collapse}.teacher-table th,.teacher-table td{text-align:left;padding:10px;border-bottom:1px solid var(--line);font-size:13px}.teacher-table th{color:var(--muted);font-weight:600}
.modal-backdrop{position:fixed;inset:0;background:rgba(45,35,39,.42);display:grid;place-items:center;z-index:30;padding:18px;backdrop-filter:blur(4px)}.modal{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fffdfb;border-radius:22px;padding:23px;box-shadow:0 24px 74px rgba(48,31,38,.24)}
.suggestion{border:1px solid #eadbcf;background:#fff9f4;border-radius:16px;padding:15px}.suggestion cite{font-style:normal;font-size:12px;color:var(--muted)}
.kb-node{padding:13px;border:1px solid var(--line);border-radius:14px;background:#fdfaf9}.kb-node .type{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.mobile-list{display:none}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#fffaf7;color:white;padding:11px 15px;border-radius:12px;z-index:50;box-shadow:var(--shadow);font-size:13px}

.section-head{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:24px;align-items:center;margin:0 0 26px;padding:8px 2px 4px}
.section-head .page-title{margin-bottom:8px}.section-art{justify-self:end;width:170px;opacity:.95}
.section-art svg{width:100%;height:auto;display:block}.gold-line{stroke:var(--gold)}.rose-line{stroke:var(--accent)}
.current-point{display:grid;grid-template-columns:180px 1fr;gap:22px;align-items:center;background:linear-gradient(135deg,#fffdfa,#fbf0f3 58%,#f8f1e5);border:1px solid var(--line);border-radius:26px;padding:22px;box-shadow:var(--shadow-soft)}
.current-orbit{position:relative;width:165px;height:165px;margin:auto}.current-orbit .center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;display:grid;place-items:center;text-align:center;background:#fffdfa;border:1px solid #e6d6cb;box-shadow:0 10px 24px rgba(87,58,68,.09);font-size:12px;font-weight:700}
.current-orbit .sat{position:absolute;padding:7px 10px;border-radius:999px;background:#fffdfa;border:1px solid var(--line);font-size:11px;box-shadow:0 5px 16px rgba(87,58,68,.06)}
.current-orbit .s1{left:0;top:18px}.current-orbit .s2{right:-5px;top:36px}.current-orbit .s3{left:14px;bottom:13px}.current-orbit .s4{right:3px;bottom:19px}
.current-orbit:before,.current-orbit:after{content:"";position:absolute;inset:22px;border:1px solid rgba(200,165,106,.28);border-radius:50%}.current-orbit:after{inset:42px;border-color:rgba(143,94,114,.16)}
.point-copy h3{font-size:22px;margin-bottom:8px}.point-copy p{margin:7px 0}
.diary-list{margin-top:18px;border:1px solid var(--line);border-radius:22px;background:#fffdfa;overflow:hidden;box-shadow:var(--shadow-soft)}
.diary-row{display:grid;grid-template-columns:105px minmax(0,1fr) 190px;gap:16px;align-items:start;padding:17px 18px;border-bottom:1px solid var(--line);transition:.18s}.diary-row:last-child{border-bottom:0}.diary-row:hover{background:#fdf8f6}
.diary-date{font-size:12px;color:var(--muted);font-weight:650}.diary-main h3{margin:0 0 5px;font-size:16px}.diary-main p{margin:0 0 9px;color:var(--muted);line-height:1.52}.diary-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.life-track{position:relative;margin:14px 0 20px;padding:16px 8px 10px;overflow-x:auto}.life-track:before{content:"";position:absolute;left:44px;right:44px;top:48px;height:2px;background:linear-gradient(90deg,#d8b6c4,#c8a56a,#9ab7a4)}
.life-stages{position:relative;display:flex;justify-content:space-between;min-width:820px}.life-stage{width:128px;text-align:center;border:0;background:transparent;color:var(--ink);cursor:pointer}.life-dot{width:18px;height:18px;border-radius:50%;background:#fffdfa;border:4px solid var(--accent2);margin:23px auto 10px;box-shadow:0 0 0 4px #fffdfa}.life-stage.active .life-dot{border-color:var(--gold);transform:scale(1.12)}.life-age{font-weight:700;font-size:12px}.life-name{font-size:11px;color:var(--muted);line-height:1.35;margin-top:4px}
.life-editor{display:grid;grid-template-columns:1fr 1fr;gap:18px}.belief-row{border:1px solid var(--line);border-radius:16px;padding:13px;background:#fffdfa}.belief-state{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.belief-state button{border:1px solid var(--line);background:#fffdfa;border-radius:999px;padding:6px 9px;font-size:11px}.belief-state button.active{background:var(--gold-soft);border-color:#dbc49c}
.course-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 20px}.course-toolbar button{border:1px solid var(--line);background:#fffdfa;border-radius:999px;padding:8px 12px}.course-toolbar button.active{background:var(--accent);color:white;border-color:var(--accent)}
.course-list{display:flex;flex-direction:column;gap:10px}.course-item{border:1px solid var(--line);border-radius:18px;background:#fffdfa;overflow:hidden}.course-item summary{cursor:pointer;list-style:none;padding:16px 18px;display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:12px;align-items:center}.course-item summary::-webkit-details-marker{display:none}.course-num{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--gold-soft);color:#775e3a;font-weight:750}.course-title{font-weight:700}.course-goal{font-size:12px;color:var(--muted);margin-top:3px}.course-body{padding:0 18px 18px}.lecture-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.source-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.source-row:last-child{border-bottom:0}.source-type{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:3px}.source-title{font-weight:650;font-size:13px}.source-note{font-size:12px;color:var(--muted);margin-top:3px}
.source-status{font-size:11px;color:#6a5b4a;background:var(--gold-soft);padding:5px 8px;border-radius:999px}
.course-warning{border-left:3px solid var(--gold);background:#fcf7ee;padding:13px 15px;border-radius:0 14px 14px 0;line-height:1.55}
.small-list{margin:8px 0 0;padding-left:18px}.small-list li{margin:6px 0;line-height:1.48}
.section-ornament{height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:.45;margin:12px 0 22px}
.visual-card{background:linear-gradient(135deg,#fffdfa,#fbf3f5);min-height:150px;display:grid;grid-template-columns:1fr 150px;gap:12px;align-items:center}
.visual-card svg{width:135px;justify-self:end}


/* Версия 0.5: заметнее визуальная система и полноценная программа */
.section-head{min-height:205px;padding:24px 28px;background:linear-gradient(135deg,rgba(255,253,250,.96),rgba(249,239,243,.88) 58%,rgba(248,241,229,.86));border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow-soft);position:relative;overflow:hidden;margin-bottom:22px}
.section-head:before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;right:-110px;top:-120px;background:radial-gradient(circle,rgba(200,165,106,.14),transparent 68%)}
.section-art{position:absolute;right:24px;bottom:-20px;width:235px;height:235px;opacity:.98;pointer-events:none}.section-art svg{width:100%;height:100%;filter:drop-shadow(0 8px 18px rgba(126,86,101,.06))}
.section-head>div:first-child{max-width:760px;position:relative;z-index:2}.section-head .page-title{font-size:42px;font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.035em}.section-head .subtitle{font-size:16px;max-width:720px}
.section-ornament{display:none}
.page-title{font-family:Georgia,"Times New Roman",serif;font-weight:500}
.course-participant{display:grid;grid-template-columns:330px minmax(0,1fr);gap:22px;align-items:start}.course-participant-nav{position:sticky;top:22px;max-height:calc(100vh - 44px);overflow:auto;padding:10px}.course-participant-nav .part-label{padding:15px 11px 7px;font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--gold);font-weight:800}.course-participant-nav button{width:100%;border:0;background:transparent;text-align:left;border-radius:15px;padding:11px 12px;margin:2px 0;color:var(--ink);display:grid;grid-template-columns:29px 1fr auto;gap:8px;align-items:start}.course-participant-nav button:hover{background:#fbf4f6}.course-participant-nav button.active{background:linear-gradient(135deg,#f9edf1,#fbf4ea);box-shadow:inset 0 0 0 1px #ead8d7}.lesson-index{width:27px;height:27px;border-radius:50%;background:var(--gold-soft);display:grid;place-items:center;font-size:11px;font-weight:800;color:#755d3d}.course-participant-nav button.done .lesson-index{background:var(--support-soft);color:#3f7057}.course-participant-nav button.current .lesson-index{background:var(--soft);color:var(--accent-dark)}.lesson-nav-title{font-size:13px;font-weight:700;line-height:1.25}.lesson-nav-part{font-size:10px;color:var(--muted);margin-top:3px}.lesson-state{font-size:10px;color:var(--muted);white-space:nowrap;padding-top:3px}.lesson-state.done{color:#47785e}.participant-lesson{padding:0;overflow:hidden}.participant-lesson-hero{padding:28px 30px 24px;background:linear-gradient(135deg,#fffdfa 0%,#fbf0f3 67%,#f7f0e4 100%);position:relative;min-height:185px}.participant-lesson-hero .silhouette{position:absolute;right:22px;bottom:-22px;width:190px;height:190px;opacity:.86}.participant-lesson-hero h2{font-family:Georgia,"Times New Roman",serif;font-size:32px;font-weight:500;max-width:680px;margin:11px 0 9px}.participant-lesson-hero p{max-width:650px;color:var(--muted);line-height:1.6}.participant-lesson-body{padding:24px 30px 30px}.lesson-sections{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lesson-soft{background:#fcf8f5;border:1px solid var(--line);border-radius:18px;padding:17px}.lesson-soft h4{margin:0 0 9px}.reflection-card{margin-top:18px;border:1px solid #eadadf;background:linear-gradient(135deg,#fffdfa,#fbf4f6);border-radius:20px;padding:18px}.reflection-card textarea{min-height:130px}
.teacher-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;align-items:start}.teacher-course-nav{position:sticky;top:22px;max-height:calc(100vh - 44px);overflow:auto}.teacher-course-nav button{width:100%;text-align:left;border:0;background:transparent;padding:11px 12px;border-radius:14px;margin:2px 0}.teacher-course-nav button:hover,.teacher-course-nav button.active{background:#f8eef2}.teacher-course-nav strong{font-size:13px}.teacher-course-nav small{display:block;color:var(--muted);margin-top:3px}.teacher-lesson-sheet{overflow:hidden}.teacher-lesson-top{padding:28px 30px;background:linear-gradient(135deg,#fffdfa,#f8eff2 62%,#f8f1e5);position:relative;min-height:185px}.teacher-lesson-top h2{font-family:Georgia,"Times New Roman",serif;font-size:32px;font-weight:500;max-width:720px;margin:8px 0}.teacher-lesson-top .silhouette{position:absolute;right:24px;bottom:-30px;width:205px;height:205px;opacity:.85}.teacher-lesson-content{padding:25px 30px}.teacher-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.lecture-block{border:1px solid var(--line);border-radius:18px;padding:17px;background:#fffdfa;margin-bottom:12px}.lecture-block h4{margin:0 0 9px}.lecture-block .numbered{counter-reset:item;list-style:none;padding:0;margin:0}.lecture-block .numbered li{counter-increment:item;position:relative;padding:7px 0 7px 31px;line-height:1.5}.lecture-block .numbered li:before{content:counter(item);position:absolute;left:0;top:6px;width:22px;height:22px;border-radius:50%;background:var(--gold-soft);display:grid;place-items:center;font-size:10px;font-weight:800;color:#755d3d}.teacher-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px}.teacher-tabs button{border:1px solid var(--line);background:#fffdfa;border-radius:999px;padding:8px 12px}.teacher-tabs button.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.program-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.program-part{padding:15px;border:1px solid var(--line);border-radius:18px;background:#fffdfa}.program-part span{font-size:11px;color:var(--gold);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.program-part strong{display:block;margin-top:6px}.prominent-art{position:absolute;right:-16px;bottom:-38px;width:260px;height:260px;opacity:.9}.visual-card{min-height:190px}.visual-card svg{width:180px}
@media(max-width:1100px){.course-participant,.teacher-workspace{grid-template-columns:1fr}.course-participant-nav,.teacher-course-nav{position:relative;top:auto;max-height:none}.course-participant-nav{display:flex;overflow-x:auto;gap:5px;padding:8px}.course-participant-nav .part-label{display:none}.course-participant-nav button{min-width:220px}.teacher-course-nav{display:flex;overflow-x:auto;gap:5px;padding:8px}.teacher-course-nav button{min-width:220px}.program-overview{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.section-head{min-height:220px;padding:22px 20px}.section-art{width:150px;height:150px;right:-5px;bottom:-15px;opacity:.78}.section-head .page-title{font-size:35px;max-width:75%}.section-head .subtitle{max-width:70%}.participant-lesson-hero,.teacher-lesson-top{padding:23px 20px;min-height:230px}.participant-lesson-hero h2,.teacher-lesson-top h2{font-size:28px;max-width:72%}.participant-lesson-hero .silhouette,.teacher-lesson-top .silhouette{width:145px;height:145px;right:-4px;bottom:-12px;opacity:.72}.participant-lesson-body,.teacher-lesson-content{padding:20px}.lesson-sections,.teacher-columns{grid-template-columns:1fr}.program-overview{grid-template-columns:1fr 1fr}.prominent-art{width:180px;height:180px}}


/* v0.6 — более воздушная визуальная система */
:root{--paper:#fffaf5;--plum:#654652;--rose:#9e6c7f;--sand:#ead9c4;--champagne:#d7b77a;--mist:#f6f0eb}
body{background:linear-gradient(180deg,#fbf8f4 0%,#f8f4ef 100%)}
.sidebar{background:rgba(255,251,247,.94);color:var(--ink);border-right:1px solid #eadfd8;box-shadow:10px 0 34px rgba(88,60,67,.035);backdrop-filter:blur(18px)}
.brand-mark{background:linear-gradient(145deg,#f4e8dd,#d9b77e);color:#553c45;box-shadow:none}.brand small{color:#9a8a8e}
.mode-switch{background:#f2e9e5}.mode-switch button{color:#8a7a7e}.mode-switch button.active{background:#fff;color:#543d46;box-shadow:0 5px 18px rgba(90,57,69,.08)}
.nav button{color:#6f6266}.nav button:hover,.nav button.active{background:linear-gradient(90deg,#f8edf1,#f6efe5);color:#49353d;transform:none}.nav .ico{color:#a27a87}
.sidebar-foot{color:#94868a}.sidebar-foot button{border-color:#e5d8d3;color:#6b5b60;background:#fff}
.topbar{padding-top:20px}.topbar h2{font-weight:500}.content{max-width:1420px}
.page-title{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.045em;font-size:42px}.card{box-shadow:0 12px 36px rgba(82,56,65,.055);border-color:#eadfd8}.card:hover{box-shadow:0 16px 42px rgba(82,56,65,.075)}
.btn{border-radius:999px;padding:10px 17px}.btn.ghost,.btn.secondary{background:rgba(255,255,255,.82)}
.art-toggle{border:1px solid var(--line);background:#fffaf7;border-radius:999px;padding:8px 11px;font-size:12px;color:var(--muted)}
.section-head{min-height:150px;position:relative;overflow:hidden;border-radius:28px;padding:24px 28px;background:linear-gradient(115deg,rgba(255,253,250,.94),rgba(248,239,241,.66));border:1px solid #eadfd8;margin-bottom:22px}.section-head>div:first-child{position:relative;z-index:2;max-width:760px}.section-art{position:absolute;right:10px;top:-55px;width:250px;height:250px;opacity:.13;overflow:hidden;border-radius:32px}.section-art img{width:100%;height:100%;object-fit:cover;object-position:center 18%;filter:saturate(.78) sepia(.08)}
.section-ornament{display:none}
.art-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}.art-bg img{position:absolute;width:100%;height:100%;object-fit:cover}.art-fade img{opacity:.13;filter:saturate(.7) sepia(.12)}.art-side img{width:46%;left:auto;right:-2%;opacity:.17;object-position:center 20%}.art-soft img{opacity:.085;filter:saturate(.6)}

/* Дашборд */
.dashboard-title{font-family:Georgia,'Times New Roman',serif;font-size:44px;font-weight:500;margin:0 0 22px;letter-spacing:-.045em}
.dashboard-mosaic{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(430px,1.55fr) minmax(180px,.75fr);grid-template-rows:auto auto;gap:16px;grid-template-areas:'lesson focus suggestion' 'progress focus question';align-items:stretch}
.dash-card{border:1px solid var(--line);border-radius:24px;background:rgba(255,253,250,.92);padding:19px;box-shadow:var(--shadow-soft);transition:.2s;position:relative;overflow:hidden;min-height:142px}.dash-card.clickable{cursor:pointer}.dash-card.clickable:hover{transform:translateY(-2px);border-color:#dcc8c2}.dash-card h3{margin:6px 0 5px;font-size:17px}.dash-card p{margin:0;color:var(--muted);line-height:1.45;font-size:13px}.dash-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#a2836a;font-weight:800}.dash-lesson{grid-area:lesson}.dash-suggestion{grid-area:suggestion}.dash-progress{grid-area:progress}.dash-question{grid-area:question}.dash-focus{grid-area:focus;min-height:390px;padding:32px 36px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:linear-gradient(145deg,#fffdfa 0%,#fbf1f4 58%,#f7efe2 100%)}
.dash-focus .focus-title{font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:#8c6f78;font-weight:800;margin-bottom:8px}.dash-focus h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;font-size:31px;line-height:1.2;max-width:630px;margin:12px auto 18px;letter-spacing:-.035em}.dash-focus-art{position:absolute;right:-80px;bottom:-110px;width:430px;height:500px;opacity:.10;pointer-events:none}.dash-focus-art img{width:100%;height:100%;object-fit:cover;object-position:center 15%;mix-blend-mode:multiply}
.focus-orbit{position:relative;width:220px;height:170px;margin:8px auto 2px}.focus-now{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:104px;height:104px;border-radius:50%;border:1px solid #ddcec7;background:rgba(255,253,250,.92);box-shadow:0 14px 35px rgba(98,66,77,.10);font-weight:750;color:#4d3940;z-index:2;transition:.2s}.focus-now:hover{transform:translate(-50%,-50%) scale(1.05);box-shadow:0 18px 46px rgba(98,66,77,.15);border-color:#c8aa75}.focus-now small{display:block;font-weight:500;color:var(--muted);margin-top:2px}.focus-chip{position:absolute;border:1px solid #e5d9d4;background:rgba(255,253,250,.88);border-radius:999px;padding:7px 11px;font-size:12px;color:#695b60;box-shadow:0 6px 16px rgba(75,53,61,.05);transition:.18s}.focus-chip:hover{background:#fff;transform:translateY(-1px)}.focus-chip.c1{left:2px;top:12px}.focus-chip.c2{right:1px;top:25px}.focus-chip.c3{left:14px;bottom:12px}.focus-chip.c4{right:5px;bottom:9px}
.dashboard-weekline{margin-top:16px;border:1px solid var(--line);border-radius:24px;background:#fffdfa;padding:18px 20px;box-shadow:var(--shadow-soft)}.weekline{display:flex;align-items:center;gap:0;position:relative;padding:12px 4px 4px}.weekline:before{content:'';position:absolute;left:18px;right:18px;top:24px;height:2px;background:#e6d8d2}.week-dot{position:relative;z-index:1;flex:1;border:0;background:transparent;text-align:center;color:var(--muted);font-size:10px;padding:0}.week-dot i{display:block;width:11px;height:11px;border-radius:50%;background:#d8c6c0;margin:7px auto 8px;border:3px solid #fffdfa;box-shadow:0 0 0 1px #d8c6c0}.week-dot.current i{width:16px;height:16px;background:var(--gold);box-shadow:0 0 0 4px rgba(200,165,106,.14)}.week-dot:hover i{transform:scale(1.18)}

/* Дружелюбные предложения */
.friendly-suggestion{border:1px solid #eadbd5;background:linear-gradient(135deg,#fffdfa,#fbf5f1);border-radius:22px;padding:18px;position:relative;overflow:hidden}.friendly-suggestion+.friendly-suggestion{margin-top:12px}.friendly-suggestion h3{font-family:Georgia,'Times New Roman',serif;font-size:23px;font-weight:500;line-height:1.25;margin:7px 0 10px}.suggestion-path{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.suggestion-step{background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:15px;padding:10px;font-size:11px;color:var(--muted)}.suggestion-step strong{display:block;color:var(--ink);font-size:12px;margin-bottom:2px}.suggestion-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.suggestion-note{font-size:12px;color:var(--muted);margin-top:10px}.suggestion-evidence{border:0;background:transparent;color:#7e6370;text-decoration:underline;text-underline-offset:3px;padding:0;font-size:12px}.suggestion-action-help{font-size:10px;color:var(--muted);display:block;margin-top:2px;font-weight:500}

/* «Моя карта» как лента смысловых акцентов */
.map-focus-wrap{max-width:980px;margin:0 auto}.map-focus-nav{display:flex;justify-content:space-between;align-items:center;margin:10px 0 14px}.map-focus-count{font-size:12px;color:var(--muted)}.insight-card{min-height:510px;border-radius:32px;border:1px solid #e8dcd6;background:linear-gradient(145deg,#fffdfa,#fbf1f3 62%,#f7f0e5);box-shadow:0 22px 58px rgba(79,54,62,.08);padding:52px 54px 30px;position:relative;overflow:hidden;display:flex;flex-direction:column}.insight-card .insight-type{font-size:10px;text-transform:uppercase;letter-spacing:.15em;font-weight:800;color:#9a7b67}.insight-card blockquote{font-family:Georgia,'Times New Roman',serif;font-size:39px;line-height:1.16;font-weight:400;letter-spacing:-.04em;margin:38px 0 18px;max-width:790px;position:relative;z-index:2}.insight-card .insight-sub{font-size:14px;color:var(--muted);max-width:650px;line-height:1.55;position:relative;z-index:2}.insight-card .insight-art{position:absolute;right:-60px;top:-55px;width:430px;height:520px;opacity:.095}.insight-card .insight-art img{width:100%;height:100%;object-fit:cover;object-position:center 10%;mix-blend-mode:multiply}.insight-footer{margin-top:auto;padding-top:24px;border-top:1px solid rgba(215,201,194,.72);display:flex;justify-content:space-between;gap:12px;align-items:center;position:relative;z-index:2}.insight-links{display:flex;gap:8px;flex-wrap:wrap}.insight-panel{margin-top:16px;border:1px solid var(--line);background:#fffdfa;border-radius:22px;padding:18px;animation:fadeIn .18s ease}.insight-panel h4{margin:0 0 10px}.insight-relations{display:flex;flex-wrap:wrap;gap:8px}.relation-pill{border:1px solid var(--line);background:#faf5f2;border-radius:999px;padding:8px 11px;font-size:12px}.map-deep-tools{margin-top:16px;text-align:center;color:var(--muted);font-size:12px}
@keyframes fadeIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* Иллюстрации в уроках и разделах */
.illustrated-panel{position:relative;overflow:hidden}.illustrated-panel>.art-bg{z-index:0}.illustrated-panel>*:not(.art-bg){position:relative;z-index:1}.participant-lesson-hero{min-height:235px}.participant-lesson-hero .lesson-image{position:absolute;right:0;top:0;width:43%;height:100%;overflow:hidden;border-radius:0 20px 0 42px;opacity:.19;pointer-events:none}.participant-lesson-hero .lesson-image img{width:100%;height:100%;object-fit:cover;object-position:center 20%;filter:saturate(.7)}
.life-art{position:absolute;right:-25px;bottom:-85px;width:310px;height:430px;opacity:.11;pointer-events:none}.life-art img{width:100%;height:100%;object-fit:cover;object-position:center 10%;mix-blend-mode:multiply}
.diary-art{position:absolute;right:-20px;top:-75px;width:250px;height:320px;opacity:.09;pointer-events:none}.diary-art img{width:100%;height:100%;object-fit:cover;object-position:center 10%}
.teacher-lesson-top .uploaded-lesson-art{position:absolute;right:0;top:0;width:290px;height:250px;opacity:.11;pointer-events:none}.teacher-lesson-top .uploaded-lesson-art img{width:100%;height:100%;object-fit:cover;object-position:center 18%}

@media(max-width:1100px){.dashboard-mosaic{grid-template-columns:1fr 1.35fr;grid-template-areas:'focus focus' 'lesson suggestion' 'progress question'}.dash-focus{min-height:360px}.insight-card blockquote{font-size:34px}.section-art{width:210px}}

@media(max-width:980px){.app-shell{grid-template-columns:80px 1fr}.sidebar{padding:18px 10px}.brand h1,.brand small,.nav button span:not(.ico),.mode-switch{display:none}.brand{justify-content:center}.nav button{justify-content:center}.sidebar-foot{font-size:0}.grid.two,.grid.three,.grid.four{grid-template-columns:1fr}.lesson{grid-template-columns:1fr}.lesson-nav{display:flex;overflow:auto}.lesson-nav button{min-width:220px}.compare{grid-template-columns:1fr}.compare-arrow{transform:rotate(90deg);padding:0}.content{padding:24px}.topbar{padding:18px 24px 0}}
@media(max-width:680px){.app-shell{display:block}.sidebar{position:fixed;z-index:15;left:0;right:0;bottom:0;top:auto;width:auto;height:72px;flex-direction:row;padding:8px;background:#fffaf7}.brand,.sidebar-foot,.mode-switch{display:none}.nav{flex:1;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;overflow-x:auto;gap:3px}.nav button{padding:7px 4px;justify-content:center;flex-direction:column;font-size:10px}.nav button span:not(.ico){display:block}.main{padding-bottom:74px}.topbar{padding:15px 16px 0}.topbar h2,.top-actions .pill{display:none}.content{padding:20px 16px 32px}.page-title{font-size:31px}.spread{align-items:flex-start;flex-direction:column}.hero blockquote{font-size:24px}.hero-grid{grid-template-columns:1fr}.hero-art{justify-self:start}.graph-desktop{display:none}.mobile-list{display:block}.journey-detail-grid{grid-template-columns:1fr}.node-panel{left:10px;right:10px;top:10px;bottom:82px;width:auto}.calendar{font-size:11px}.cal-day{min-height:42px;padding:5px}.modal{padding:19px;border-radius:20px}}
@media(max-width:680px){.section-head{grid-template-columns:1fr 110px}.section-art{width:100px}.current-point{grid-template-columns:1fr}.current-orbit{width:150px;height:150px}.diary-row{grid-template-columns:1fr}.diary-actions{justify-content:flex-start}.life-editor,.lecture-grid{grid-template-columns:1fr}.course-item summary{grid-template-columns:42px minmax(0,1fr)}.course-item summary .tag{grid-column:2}.visual-card{grid-template-columns:1fr 100px}.visual-card svg{width:92px}}
@media(max-width:680px){
  .sidebar{background:#fffaf7!important}.dashboard-title{font-size:38px}.dashboard-mosaic{display:flex;flex-direction:column}.dash-focus{order:-2;min-height:430px;padding:26px 20px}.dash-focus h2{font-size:27px}.dash-lesson{order:-1}.focus-orbit{width:210px}.dashboard-weekline{overflow-x:auto}.weekline{min-width:650px}.section-head{min-height:120px;padding:20px}.section-art{width:145px;height:180px;right:-20px;top:-30px}.section-head .subtitle{max-width:72%}.insight-card{padding:34px 24px 24px;min-height:540px}.insight-card blockquote{font-size:30px}.insight-card .insight-art{right:-120px;width:350px}.insight-footer{align-items:flex-start;flex-direction:column}.suggestion-path{grid-template-columns:1fr}.participant-lesson-hero .lesson-image{width:55%;opacity:.12}.art-toggle{font-size:11px;padding:7px 9px}
}
