/* Visual system from mankisabitura.ru, inspected 27 October 2026. */
.monk-welcome{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.monk-welcome img{object-fit:contain;width:120px;height:150px}.monk-welcome>div{flex:1;min-width:170px}.monk-welcome h1{font-size:clamp(32px,8vw,48px)}.monk-welcome .eyebrow{margin-top:8px}.choice-row{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;cursor:pointer}.choice-row input{width:20px;height:20px;flex:none;margin:0}#preparation-welcome fieldset{min-width:0;border:0;padding:0;margin:14px 0}#preparation-welcome legend{font-size:18px;font-weight:700;margin-bottom:12px}.student-nav .nav-label{font-size:10px}
@font-face{font-family:'Golos Text';src:url('/assets/fonts/golos-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Golos Text';src:url('/assets/fonts/golos-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:'Golos Text';src:url('/assets/fonts/golos-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:'Golos Text';src:url('/assets/fonts/golos-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'Golos Text';src:url('/assets/fonts/golos-800.ttf') format('truetype');font-weight:800;font-display:swap}
@font-face{font-family:'Golos Text';src:url('/assets/fonts/golos-900.ttf') format('truetype');font-weight:900;font-display:swap}
:root{--ink:#0d0e10;--surface:#1b1c1f;--cream:#fff7e9;--yellow:#f2c01a;--pink:#f8b6dc;--green:#188e50;--lavender:#f7d58e;--muted:#b4b4b4;--line:#fff7e92b;font-family:'Golos Text',Arial,sans-serif;font-size:15px;color:var(--cream);background:var(--ink);font-synthesis:none;color-scheme:dark}
button,a{-webkit-tap-highlight-color:transparent}::selection{background:var(--pink);color:var(--ink)}
#app{max-width:760px;padding-left:22px;padding-right:22px;padding-bottom:calc(112px + var(--tg-safe-area-inset-bottom,0px))}main{min-width:0;padding-top:24px}
.brand{min-height:62px;gap:16px;border-bottom:1px solid var(--line);padding-bottom:14px}.brand-logo{width:139px;height:39px;object-fit:contain;object-position:left}.brand-caption{font-size:9px;line-height:1.5;letter-spacing:.13em;text-transform:uppercase;font-weight:500;color:var(--muted);text-align:right;max-width:100px}.brand .mark{color:var(--yellow)}
h1{font-size:clamp(34px,9.5vw,60px);font-weight:900;line-height:1.1;letter-spacing:-.025em;text-transform:uppercase;overflow-wrap:anywhere;margin-bottom:26px}h1 em,.serif{font-family:inherit;font-style:normal;font-weight:900;color:var(--yellow);letter-spacing:inherit}h2{font-size:clamp(22px,5.7vw,29px);font-weight:800;line-height:1.25;letter-spacing:-.018em;margin:32px 0 16px}h3{line-height:1.2}p{line-height:1.65}.muted{color:var(--muted);font-size:12px;line-height:1.65;opacity:1}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;line-height:1.6;letter-spacing:.12em;font-weight:600;margin:28px 0 15px}.eyebrow:before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:var(--yellow)}
.hero{isolation:isolate;min-height:270px;padding:7px 0 30px;overflow:hidden;border-radius:0;border-bottom:1px solid var(--line);margin-bottom:24px;background:var(--ink);color:var(--cream)}.hero-copy{position:relative;z-index:1;max-width:75%}.hero .eyebrow{margin:8px 0 23px}.hero h1{font-size:clamp(36px,10.3vw,62px);margin-bottom:16px;max-width:100%;line-height:1.02}.hero p{max-width:75%;font-size:13px;line-height:1.6;color:var(--muted)}.hero-art{position:absolute;right:-9px;bottom:0;width:37%;max-width:230px;height:180px;object-fit:contain;object-position:right bottom;mix-blend-mode:screen;z-index:-1;pointer-events:none}.hero-star{position:absolute;right:8px;top:7px;width:35px;height:35px;background:var(--yellow);clip-path:polygon(50% 0%,60% 32%,90% 10%,70% 43%,100% 50%,68% 60%,90% 90%,58% 70%,50% 100%,40% 68%,10% 90%,30% 58%,0% 50%,32% 40%,10% 10%,42% 30%);transform:rotate(12deg)}
.card,.empty{color:var(--ink);background:var(--cream);padding:24px;border:1px solid #fff9ef55;border-radius:23px;margin:16px 0;color-scheme:light;box-shadow:0 6px 20px #00000014,inset 0 1px 0 #ffffff80;min-width:0}.card.pink{background:var(--pink)}.card.green{background:var(--green);color:var(--cream)}.card.yellow{background:var(--yellow)}.card h2{margin:0 0 16px}.card h3{font-weight:800;line-height:1.3;letter-spacing:-.015em;margin:0 0 12px}.card>:last-child{margin-bottom:0}.card .row h2{margin:0}.card p{margin:10px 0 18px;font-size:14px;line-height:1.75}.card .muted{color:#5b574f}.card .eyebrow{margin-top:0}.card .eyebrow:before{background:currentColor}.card.green .muted{color:#fff7e9d9}.empty{background:var(--surface);color:var(--muted);border:1px solid var(--line);font-size:14px;line-height:1.7}.empty h3{color:var(--cream)}
.feature-callout{background:var(--green);color:var(--cream);margin-top:26px;padding:25px}.feature-callout h3{font-size:26px;font-weight:900;text-transform:uppercase;letter-spacing:-.04em}.feature-callout p{max-width:440px;color:var(--cream)}.feature-callout .eyebrow{font-size:10px;color:var(--cream)}
.row>*{min-width:0}.quick-actions{gap:9px;margin:20px 0}.quick-actions>*{max-width:100%}.button{min-height:48px;padding:14px 20px;border:1px solid transparent;border-radius:99px;background:var(--yellow);color:var(--ink);font-weight:700;font-size:13px;line-height:1.4;max-width:100%;white-space:normal}.button.small{min-height:44px;padding:11px 16px;font-size:13px}.button.secondary,.button.ghost{background:transparent;border:1px solid #ffffff66;color:var(--cream)}.button.selected-tab{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}.card .button{background:var(--ink);color:var(--cream)}.card .button.secondary,.card .button.ghost{background:transparent;color:var(--ink);border-color:#08080866}.card.green .button.secondary,.card.green .button.ghost{color:var(--cream);border-color:#fff7e999}.feature-callout .button{background:var(--cream);color:var(--ink)}
.nav{bottom:calc(10px + var(--tg-safe-area-inset-bottom,0px));width:min(calc(100% - 20px),716px);padding:6px;gap:3px;background:var(--surface);border:1px solid var(--line);color:var(--muted);border-radius:23px;box-shadow:0 8px 30px #0009}.nav.nav button{min-height:59px;padding:9px 2px;border-radius:17px;font-weight:600}.nav button.active{background:var(--yellow);color:var(--ink)}.nav svg{width:21px;height:21px}.nav .nav-label{font-size:10px;line-height:1.3;white-space:normal}
.menu-group h2{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:500;margin:27px 0 12px}.menu-list{gap:9px}.menu-item{min-height:90px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--cream)}.menu-item strong{font-size:18px;font-weight:800;letter-spacing:-.02em}.menu-item small{font-size:12px;color:var(--muted);opacity:1;margin-top:6px}.menu-arrow{font-size:26px;color:var(--yellow)}.section-back{min-height:40px;margin-bottom:12px;padding:0;color:var(--muted);font-size:12px;font-weight:500}
label{font-size:12px;font-weight:600;line-height:1.6;margin:15px 0 7px}label small{display:block;font-weight:400;color:var(--muted);margin:6px 0}input,textarea,select{min-width:0;max-width:100%;padding:14px;border:1px solid #ffffff42;border-radius:14px;background:var(--surface);color:var(--cream);margin-top:7px;font-size:16px;line-height:1.5}input::placeholder,textarea::placeholder{color:#99958e;opacity:1}textarea{display:block;min-height:145px}select{padding-right:28px;overflow:hidden;text-overflow:ellipsis}input[type=checkbox]{width:19px;min-width:19px;height:19px;min-height:19px;margin:0 8px 0 0;vertical-align:middle;accent-color:var(--yellow)}.card input,.card textarea,.card select{background:#fffdf7;color:var(--ink);border-color:#08080844}.card label small{color:#5b574f}.form-error:not(:empty),.error{background:#f54f08;color:var(--ink);border-radius:10px;font-size:13px}.notice{background:var(--pink);color:var(--ink);padding:14px 18px;border-radius:12px;margin:14px 0;font-size:13px}
.tabs{flex-wrap:wrap;overflow-x:visible;margin:12px 0 22px;padding:0;gap:7px}.tabs button,.tabs .button{min-height:42px;border:1px solid #ffffff55;border-radius:99px;background:transparent;color:var(--cream);padding:10px 15px;font-size:12px;max-width:100%;white-space:normal}.tabs button.active,.tabs .button.selected-tab{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}.slot{background:var(--cream);color:var(--ink);border-radius:12px;padding:16px}.slot>div{min-width:0}.slot .muted{color:#5b574f}.slot .button{background:var(--ink);color:var(--cream)}.separator{background:var(--line)}.star{color:var(--yellow)}
.library-search label{min-width:0}.library-search button{flex:none;margin-bottom:7px}.library-tag{padding:6px 10px;background:var(--lavender);color:var(--ink);border-radius:99px;font-size:11px}.library-title{font-size:clamp(28px,7.5vw,38px);line-height:1.18;letter-spacing:-.02em}.library-action{border-color:var(--green)}.excerpt-reading{font-size:19px;line-height:1.8;background:var(--cream);color:var(--ink);padding:26px 24px;border-radius:23px}.verified{color:#6dd99c;font-size:12px}.card .verified{color:#116837}a.link{text-underline-offset:4px;overflow-wrap:anywhere}
fieldset{border-color:var(--line);border-radius:12px;margin:20px 0;padding:15px}legend{font-size:13px}details{font-size:13px;line-height:1.65;margin-top:18px}summary{font-size:13px;font-weight:600;padding:9px 0}dialog{border:1px solid #ffffff3b;border-radius:25px;padding:26px 24px calc(24px + var(--tg-safe-area-inset-bottom,0px));background:var(--surface);color:var(--cream);width:min(92vw,440px);box-shadow:0 20px 80px #0009}dialog h2{margin-top:2px}dialog::backdrop{background:#000b}dialog .row{background:var(--surface);padding-top:14px;flex-wrap:wrap}dialog .row .button{flex:1}
.demo{margin-top:28px;padding-top:14px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);opacity:1}.demo button{padding:7px;font-size:10px}.demo button[aria-current=true]{background:var(--yellow);color:var(--ink)}
.nav button:focus-visible,.button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,.tabs button:focus-visible,.menu-item:focus-visible,.section-back:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.card :focus-visible,.slot :focus-visible{outline-color:#188e50}
@media(hover:hover){.menu-item:hover{border-color:var(--yellow)}.section-back:hover{color:var(--yellow)}}
@media(max-width:370px){#app{padding-left:16px;padding-right:16px}.brand-logo{width:125px;height:35px}.brand-caption{font-size:8px}.hero{min-height:260px}.hero-copy{max-width:80%}.hero-art{right:-7px;width:37%;height:150px;bottom:0}.hero h1{font-size:35px}.hero p{max-width:66%;font-size:12px}.hero .eyebrow{font-size:9px}.card,.empty{padding:20px}.card h3{font-size:21px}.card p{font-size:13px}.button.small{padding:10px 13px}.nav{width:calc(100% - 14px)}.nav .nav-label{white-space:normal}.slot{padding:14px;gap:8px}}
@media(min-width:650px){#app{padding-left:36px;padding-right:36px}.hero{min-height:310px;padding-top:18px}.hero-art{height:290px;width:40%;max-width:260px;bottom:-3px}.hero h1{font-size:64px}.hero p{max-width:70%}.hero-star{width:45px;height:45px;right:15px;top:15px}}

.hero.preparation-hero{min-height:180px;padding-bottom:18px}.preparation-hero .hero-art{height:145px}.preparation-hero h1{font-size:clamp(34px,9vw,48px)}
/* Compact reading cards: shared catalog/detail metadata and a collapsed synopsis. */
.library-categories{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.library-categories .library-tag{border:0;cursor:pointer;font:inherit;font-size:12px}.library-categories .library-tag:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.library-detail-heading h1{font-size:clamp(28px,7vw,40px);line-height:1.12;overflow-wrap:anywhere}.library-work-summary{margin:22px 0;border:1px solid #ffffff40;border-radius:14px;padding:16px}.library-work-summary summary{cursor:pointer;font-weight:650}.library-work-summary p{white-space:pre-wrap;line-height:1.6}.library-program-action{margin:22px 0}.library-program-action .button{width:100%}
.library-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.library-categories span.library-tag{cursor:default}
.library-filter-chip{max-width:100%;min-height:42px;padding:7px 12px;border:1px solid var(--line);border-radius:99px;background:var(--surface);color:var(--cream);font-size:12px;text-align:left;overflow-wrap:anywhere}
.library-filter-chip span{margin-left:4px;color:var(--yellow);font-size:16px}
.library-filter-chip:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.library-saved,.practice-feedback{color:#8fe2ae;font-size:13px;font-weight:650}
.card .library-saved{color:#116837}
/* Comfortable spacing and quiet tactile feedback across student and staff screens. */
body{background:radial-gradient(ellipse 80% 500px at 50% -180px,#f2c01a12,transparent),var(--ink)}
h3{letter-spacing:-.015em;line-height:1.3}
.hero h1{letter-spacing:-.025em;line-height:1.12}
.hero.preparation-hero{min-height:150px;padding-bottom:22px}
.hero.preparation-hero h1{font-size:clamp(30px,8vw,44px)}
.card .eyebrow{margin-bottom:16px}
.card .row{gap:16px;margin-bottom:12px;align-items:center}
.card.green{border-color:#ffffff24}
.card.green :focus-visible{outline-color:var(--cream)}
.button,.menu-item,.nav button,.library-filter-chip,.choice-row{
 transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
 touch-action:manipulation;
}
.button{box-shadow:0 3px 0 #98741150,inset 0 1px 0 #ffffff40}
.button.ghost,.button.secondary,.tabs .button{box-shadow:none}
.card .button{box-shadow:0 3px 0 #08080822,inset 0 1px 0 #ffffff20}
.card .button.ghost,.card .button.secondary{box-shadow:none}
.button:active:not(:disabled),.menu-item:active,.nav button:active{transform:translateY(1px)}
.button:disabled{transform:none;box-shadow:none;cursor:default}
.nav{background:#1b1c1ff5;border-color:#fff7e926;box-shadow:0 8px 30px #0006,inset 0 1px 0 #ffffff0a}
.nav.student-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.student-nav button{min-width:0}
.student-nav .nav-label{overflow-wrap:normal;font-size:clamp(9px,2.6vw,10px)}
.lesson-teacher{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:start}
.lesson-teacher img{width:84px;height:101px;object-fit:cover;border-radius:14px}
.lesson-teacher .muted{margin-bottom:8px}
.lesson-teacher h3,.lesson-formats h3{font-size:19px}
.lesson-formats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,242px),1fr));gap:9px}
.lesson-formats .card{margin:0;padding:15px}
.lesson-formats .card p:last-child{margin-bottom:0}
.lesson-tabs{margin-bottom:10px}
.lesson-agenda{margin:14px 0}
.nav.nav button{min-height:58px}
.nav button.active{box-shadow:0 2px 6px #0002,inset 0 1px 0 #ffffff60}
.menu-item{border-radius:20px;min-height:80px}
.menu-item strong{line-height:1.35;letter-spacing:-.01em}
.menu-item small{line-height:1.65}
.choice-row{border-radius:17px;padding:15px;line-height:1.6;margin:10px 0;background:#ffffff03}
.choice-row:has(input:checked){background:#f2c01a12;border-color:var(--yellow);box-shadow:inset 0 0 0 1px #f2c01a33}
input[type=radio]{accent-color:var(--yellow)}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline-width:2px;outline-offset:3px}
.library-page-title{font-size:clamp(28px,7.5vw,44px);line-height:1.15;margin-bottom:18px}
.library-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:4px 0 12px}
.library-toolbar .quick-actions{flex:0 1 auto;gap:8px;margin:0 0 2px}
.library-toolbar>label{flex:1 1 170px;margin:0;font-size:12px}
.library-toolbar select{margin-top:5px;min-height:46px;padding:10px 30px 10px 12px;font-size:14px}
.library-search{margin:0 0 14px;gap:10px}
.library-search label{margin-top:4px}
.library-action{line-height:1.75;border-left-width:2px;padding-left:14px}
.library-categories{gap:7px;margin:14px 0}
.library-categories .library-tag{padding:7px 12px;line-height:1.4}
.library-work-summary{border-radius:20px;padding:18px 20px}
.library-work-summary summary{font-size:14px;line-height:1.6}
.excerpt-reading{letter-spacing:0;line-height:1.85}
.empty{position:relative;padding-top:28px;border-color:var(--line);box-shadow:inset 0 1px 0 #ffffff08}
.empty:before{content:'';display:block;width:30px;height:30px;margin-bottom:14px;background:var(--yellow);opacity:.8;clip-path:polygon(50% 0,61% 34%,96% 20%,72% 50%,96% 80%,61% 66%,50% 100%,39% 66%,4% 80%,28% 50%,4% 20%,39% 34%)}
.notice{border-radius:18px;padding:16px 20px;line-height:1.65}
dialog h2{letter-spacing:-.018em;line-height:1.3;margin-bottom:20px}
dialog .row{gap:10px}
@media(hover:hover){
 .button:hover:not(:disabled){filter:brightness(1.04)}
 .button.ghost:hover,.button.secondary:hover{background:#ffffff0a}
 .card .button.ghost:hover,.card .button.secondary:hover{background:#08080808}
 .menu-item:hover{border-color:#fff7e95c;background:#222327}
}
@media(max-width:480px){
 #app{padding-left:20px;padding-right:20px}
 main{padding-top:18px}
 .brand{min-height:58px;padding-bottom:12px}
 .brand-logo{width:130px;height:37px}
 .eyebrow{margin:20px 0 12px;font-size:9px;letter-spacing:.1em}
 .card,.empty{padding:21px;border-radius:21px}
 .card p{font-size:14px;line-height:1.75}
 .card h2{font-size:23px;line-height:1.3}
 .card h3{font-size:21px;line-height:1.35}
 .excerpt-reading{padding:23px 20px;font-size:19px;line-height:1.85}
 .tabs{margin-bottom:16px}
}
@media(max-width:350px){#app{padding-left:16px;padding-right:16px}.library-toolbar{gap:9px}.library-toolbar>label{flex-basis:145px}.card,.empty{padding:18px}}
@media(prefers-reduced-motion:reduce){.button,.menu-item,.nav button,.library-filter-chip,.choice-row{transition:none}.button:active:not(:disabled),.menu-item:active,.nav button:active{transform:none}}
.colloquium-answer-fields{min-width:0;border:0;padding:0;margin:0}
.practice-feedback:empty{margin:0}
#subscription-channel{text-decoration:none}
/* A short backstage story before the student's daily practice. */
.card.daily-fact{background:var(--lavender);padding:22px 24px}
.daily-fact-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.daily-fact .daily-fact-meta .eyebrow{margin:0}
.daily-fact-meta time{flex:none;font-size:11px;color:#5b4930}
.daily-fact p.daily-fact-category{margin:0 0 6px;font-size:11px;line-height:1.5;color:#5b4930}
.daily-fact h2{font-size:clamp(21px,5.4vw,26px);line-height:1.3;margin:0 0 10px;overflow-wrap:anywhere}
.daily-fact p.daily-fact-text{margin:0;font-size:14px;line-height:1.75}
.daily-fact-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;column-gap:12px;margin-top:12px;font-size:11px;line-height:1.5;color:#5b4930}
.daily-fact-footer a{display:inline-flex;align-items:center;gap:5px;min-height:44px;text-underline-offset:3px;font-weight:600;color:var(--ink)}
@media(max-width:350px){.card.daily-fact{padding:18px}.daily-fact-meta{gap:8px}}
