:root{
  --navy:#07233f;--blue:#0878cf;--teal:#078b91;--green:#4cae62;--orange:#f28a2b;
  --ink:#18324a;--muted:#627789;--line:#dbe9ed;--bg:#f4fafb;--white:#fff;
  --shadow:0 18px 50px rgba(9,37,75,.12);--radius:24px;--container:1180px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}.narrow{max-width:900px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(219,233,237,.95)}.header-inner{min-height:78px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;min-width:max-content;color:var(--teal)}.logo-flask{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:28px;background:linear-gradient(145deg,#e1fbf7,#e8f4ff);box-shadow:inset 0 0 0 1px #cce8e7}.brand strong{display:block;font-size:21px;line-height:1;color:var(--blue)}.brand strong span{color:var(--teal)}.brand small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.main-nav{display:flex;gap:23px;margin-left:auto;font-weight:760;font-size:14px}.main-nav a:hover{color:var(--teal)}.menu-toggle{display:none}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:15px 23px;border-radius:14px;border:0;background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff;font-weight:850;cursor:pointer;box-shadow:0 10px 25px rgba(8,120,207,.2);transition:.2s transform,.2s box-shadow}.button:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(8,120,207,.25)}.button-small{padding:11px 18px;font-size:14px}.button-secondary{background:#fff;color:var(--blue);border:2px solid #bcdbea;box-shadow:none}.button-ghost{background:#eef8f9;color:var(--teal);box-shadow:none}.button-danger{background:#b83d43}.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0,#f3fbfc 100%);padding:74px 0 50px}.formula-cloud{position:absolute;top:98px;left:-2%;width:110%;font-size:37px;letter-spacing:20px;color:#0a8d9110;white-space:nowrap;transform:rotate(-5deg);pointer-events:none}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:58px;align-items:center}.eyebrow{margin:0 0 10px;color:var(--teal);font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:900}.hero h1{font-size:clamp(54px,7vw,88px);line-height:.96;letter-spacing:-.055em;margin:0;color:var(--navy)}.hero h1 span{display:block;background:linear-gradient(90deg,var(--blue),var(--teal),var(--green));-webkit-background-clip:text;background-clip:text;color:transparent}.lead{font-size:20px;max-width:660px;margin:28px 0 12px}.hero-sub{font-weight:800;color:var(--navy)}.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}.hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.hero-badges span{padding:9px 13px;background:#fff;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:800;box-shadow:0 8px 20px rgba(9,37,75,.05)}.hero-visual{position:relative;min-height:520px;display:flex;align-items:flex-end;justify-content:center}.hero-shape{position:absolute;inset:34px 8px 0 42px;background:linear-gradient(145deg,#c8f4e8,#6bd3cf 48%,#2b95d2);border-radius:44% 56% 35% 65% / 45% 35% 65% 55%;transform:rotate(5deg)}.hero-visual img{position:relative;width:92%;height:500px;object-fit:cover;object-position:45% 30%;border-radius:34px;box-shadow:var(--shadow)}.speech{position:absolute;right:-2px;top:86px;width:220px;background:#fff;border-radius:18px;padding:15px 17px;font-weight:800;font-size:14px;box-shadow:var(--shadow)}.molecule{position:absolute;right:28px;bottom:20px;font-size:40px;color:#fff;letter-spacing:3px;text-shadow:0 6px 16px rgba(0,0,0,.15)}.stats-section{padding:20px 0 24px;background:#f4fbfc}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stats-grid article{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 12px 30px rgba(9,37,75,.06)}.stats-grid article>span{font-size:26px}.stats-grid p{margin:7px 0;color:var(--muted);font-weight:700;font-size:14px}.stats-grid strong{font-size:25px;color:var(--teal);line-height:1.1}.section{padding:88px 0}.section-tint{background:var(--bg)}.section-dark{background:linear-gradient(135deg,#07233f,#07576b);color:#fff}.section-heading{text-align:center;max-width:800px;margin:0 auto 42px}.section-heading h2{font-size:clamp(34px,5vw,52px);line-height:1.08;letter-spacing:-.035em;margin:0 0 14px;color:var(--navy)}.section-heading p:last-child{margin:0;color:var(--muted);font-size:18px}.section-heading.light h2{color:#fff}.section-heading.light p:last-child{color:#d9eef1}.features-grid,.courses-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.feature-card,.course-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 14px 35px rgba(9,37,75,.06)}.feature-card>span{font-size:36px}.feature-card h3,.course-card h3{color:var(--navy);font-size:21px;margin:13px 0 8px}.feature-card p,.course-card p{color:var(--muted);margin:0}.course-card{display:flex;flex-direction:column;min-height:335px}.course-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;color:#fff;font-size:17px;font-weight:900}.teal .course-icon{background:var(--teal)}.blue .course-icon{background:var(--blue)}.green .course-icon{background:var(--green)}.orange .course-icon{background:var(--orange)}.course-card strong{font-size:21px;margin-top:auto;padding-top:22px}.course-card a{font-weight:900;color:var(--blue);margin-top:12px}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:255px;gap:18px}.gallery-card{position:relative;margin:0;overflow:hidden;border-radius:22px;box-shadow:var(--shadow);background:#eef5f6}.gallery-card.large{grid-column:span 2;grid-row:span 2}.gallery-card img{width:100%;height:100%;object-fit:cover}.gallery-card figcaption{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(4,82,91,.88);color:#fff;padding:12px;border-radius:14px;text-align:center;font-weight:800;backdrop-filter:blur(8px)}.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.steps-grid article{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:28px}.steps-grid b{display:grid;place-items:center;width:42px;height:42px;background:#fff;color:var(--teal);border-radius:50%;font-size:18px}.steps-grid h3{font-size:21px}.steps-grid p{color:#d7edf0}.schedule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.schedule-card,.loading-card,.empty-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 14px 35px rgba(9,37,75,.06)}.schedule-card h3{margin:0;color:var(--navy)}.schedule-meta{display:grid;gap:8px;color:var(--muted);margin:16px 0}.schedule-footer{display:flex;justify-content:space-between;align-items:center;gap:14px}.places{font-weight:900;color:var(--teal)}.reviews-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.review-card{position:relative;border:1px solid var(--line);border-radius:22px;padding:26px;background:#fff;box-shadow:0 14px 35px rgba(9,37,75,.06)}.draft{position:absolute;right:16px;top:16px;background:#fff2da;color:#9b5f00;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.stars{color:#ffb000;letter-spacing:3px;margin-bottom:16px}.review-card p{color:var(--muted);font-size:15px}.review-card strong{display:block;color:var(--navy);margin-top:18px}details{background:#fff;border:1px solid var(--line);border-radius:16px;margin:12px 0;padding:0 20px;box-shadow:0 8px 20px rgba(9,37,75,.04)}summary{cursor:pointer;font-weight:850;color:var(--navy);padding:18px 0}details p{color:var(--muted);margin-top:0;padding-bottom:18px}.diagnostic-section{background:linear-gradient(120deg,#e9fbf7,#eef7ff)}.diagnostic-grid{display:grid;grid-template-columns:1fr .95fr;gap:60px;align-items:start}.diagnostic-grid h2{font-size:50px;line-height:1.05;margin:0;color:var(--navy)}.diagnostic-grid>div>p{font-size:18px;color:var(--muted)}.diagnostic-grid li{margin:7px 0}.lead-form,.panel{background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow)}.lead-form{display:grid;gap:15px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lead-form label,.admin-form label,.login-card label{font-weight:800;font-size:14px;color:var(--navy)}input,select,textarea{width:100%;margin-top:7px;padding:14px;border:1px solid #cfe0e6;border-radius:12px;color:var(--ink);background:#fbfdfe}textarea{resize:vertical}.consent{display:flex;gap:8px;align-items:flex-start;font-weight:500!important;color:var(--muted)!important}.consent input{width:auto;margin-top:4px}.form-note{font-size:13px;color:var(--muted);text-align:center;margin:0}.site-footer{background:#061d36;color:#c8d9e7;padding:55px 0 24px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:50px}.footer-brand{color:#66d2cb}.site-footer h3{color:#fff}.site-footer p{margin:7px 0}.site-footer a{display:block;margin:9px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:20px;display:flex;justify-content:space-between;font-size:13px;color:#8ea8bd}
/* app shells */
.app-body{background:#eef5f7;min-height:100vh}.app-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.app-header-inner{min-height:70px;display:flex;align-items:center;gap:18px}.app-header .brand{margin-right:auto}.app-main{padding:28px 0 60px}.app-grid{display:grid;grid-template-columns:240px 1fr;gap:24px}.app-sidebar{background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px;height:max-content;position:sticky;top:94px}.app-sidebar button,.app-sidebar a{display:flex;width:100%;border:0;background:transparent;padding:12px 13px;border-radius:12px;text-align:left;font-weight:800;color:var(--ink);cursor:pointer}.app-sidebar button.active,.app-sidebar button:hover,.app-sidebar a:hover{background:#eaf8f7;color:var(--teal)}.app-content{min-width:0}.page-title{margin:0 0 22px;color:var(--navy);font-size:34px}.dashboard-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.dashboard-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.dashboard-card p{margin:0;color:var(--muted)}.dashboard-card strong{display:block;font-size:28px;color:var(--navy);margin-top:5px}.tab-panel{display:none}.tab-panel.active{display:block}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:20px}.data-table{border-collapse:collapse;width:100%;min-width:760px}.data-table th,.data-table td{padding:13px 15px;border-bottom:1px solid #edf2f3;text-align:left;vertical-align:top}.data-table th{background:#f7fbfc;color:var(--navy);font-size:13px}.status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:900;background:#edf5f6}.status.new,.status.pending{background:#fff1d9;color:#8d5800}.status.scheduled,.status.paid,.status.done{background:#e6f7ed;color:#237943}.status.cancelled{background:#fdebed;color:#9f3038}.admin-form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.admin-form .full{grid-column:1/-1}.section-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 16px}.section-toolbar h2{margin:0;color:var(--navy)}.modal{position:fixed;inset:0;background:rgba(4,19,33,.55);display:none;align-items:center;justify-content:center;padding:20px;z-index:100}.modal.open{display:flex}.modal-card{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:24px;padding:26px;box-shadow:var(--shadow)}.modal-head{display:flex;justify-content:space-between;align-items:center}.icon-button{border:0;background:#eef5f6;border-radius:10px;padding:8px 11px;cursor:pointer}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#e9fbf7,#edf5ff)}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}.login-card h1{margin:10px 0;color:var(--navy)}.login-card form{display:grid;gap:14px}.alert{padding:12px 14px;border-radius:12px;background:#eef7f8;color:#31616a;margin:12px 0}.alert.error{background:#fdebed;color:#96363d}.alert.success{background:#e7f7ec;color:#247541}.cabinet-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px}.lesson-list,.item-list{display:grid;gap:12px}.lesson-item,.list-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}.lesson-item h3,.list-item h3{margin:0;color:var(--navy)}.lesson-item p,.list-item p{margin:6px 0;color:var(--muted)}.progress-bar{height:10px;background:#e7eef0;border-radius:999px;overflow:hidden}.progress-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--teal),var(--green))}.quick-actions{display:flex;flex-wrap:wrap;gap:10px}.card-title{margin:0 0 16px;color:var(--navy)}.subtle{color:var(--muted);font-size:14px}.hide{display:none!important}
@media(max-width:1000px){.main-nav{display:none;position:absolute;top:78px;left:20px;right:20px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;flex-direction:column;box-shadow:var(--shadow)}.main-nav.open{display:flex}.menu-toggle{display:inline-flex;margin-left:auto;border:0;background:#eef7f8;padding:10px 13px;border-radius:10px;font-weight:800}.header-inner>.button{display:none}.hero-grid,.diagnostic-grid,.cabinet-grid{grid-template-columns:1fr}.hero-visual{min-height:480px}.stats-grid,.features-grid,.courses-grid,.steps-grid,.reviews-grid,.dashboard-cards{grid-template-columns:repeat(2,1fr)}.schedule-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-card.large{grid-column:span 2}.footer-grid{grid-template-columns:1fr 1fr}.app-grid{grid-template-columns:1fr}.app-sidebar{position:static;display:flex;overflow:auto}.app-sidebar button,.app-sidebar a{width:auto;white-space:nowrap}.admin-form{grid-template-columns:1fr}.admin-form .full{grid-column:auto}}
@media(max-width:640px){.container{width:min(100% - 24px,var(--container))}.site-header{position:relative}.hero{padding-top:42px}.hero h1{font-size:50px}.lead{font-size:17px}.hero-visual{min-height:410px}.hero-visual img{height:410px;width:100%}.speech{top:26px;right:8px;width:185px;font-size:12px}.stats-grid,.features-grid,.courses-grid,.steps-grid,.reviews-grid,.schedule-grid,.dashboard-cards{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr;grid-auto-rows:240px}.gallery-card.large{grid-column:auto;grid-row:auto}.section{padding:64px 0}.section-heading h2{font-size:35px}.diagnostic-grid h2{font-size:40px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:7px}.hero-actions{flex-direction:column}.button{width:100%}.form-row{grid-template-columns:1fr}.app-header .button{width:auto}.page-title{font-size:28px}.section-toolbar{align-items:flex-start;flex-direction:column}.app-sidebar{margin:0 -12px;border-radius:0;border-left:0;border-right:0}.modal-card{padding:20px}}

/* DamirChem v2: кабинеты, оценки и библиотека */
.text-link{color:var(--blue);font-weight:850}.link-button{border:0;background:transparent;color:var(--blue);font-weight:850;cursor:pointer;padding:4px}.compact-input{max-width:320px;margin:0}.borderless{border:0;border-radius:0}.segmented{display:inline-flex;padding:4px;background:#e8f1f3;border-radius:13px;gap:3px}.segmented button{border:0;background:transparent;padding:8px 12px;border-radius:10px;color:var(--muted);font-weight:800;cursor:pointer}.segmented button.active{background:#fff;color:var(--teal);box-shadow:0 3px 10px rgba(9,37,75,.1)}.admin-overview-grid,.admin-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.admin-material-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.material-admin-lists{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}.item-grow{flex:1;min-width:0}.item-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eaf8f7;color:var(--teal);font-weight:900;flex:0 0 auto}.list-item-accent{border-left:4px solid var(--teal)}.list-item{display:flex;align-items:flex-start;gap:12px}.list-item>h3:first-child{flex:1}.item-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.upload-field{padding:12px;border:1px dashed #a9cdd5;border-radius:14px;background:#f7fbfc}.upload-field input{border:0;padding:7px 0;background:transparent}.check-field{display:flex;align-items:center;gap:9px;min-height:52px}.check-field input{width:auto;margin:0}.status.submitted{background:#e9efff;color:#3856a6}.status.checked,.status.accepted,.status.needs_revision{background:#e6f7ed;color:#237943}.status.needs_revision{background:#fff0df;color:#9b5d0b}.status.rescheduled{background:#edf0ff;color:#4e58a5}.nav-badge{margin-left:auto;min-width:23px;height:23px;border-radius:999px;background:var(--orange);color:#fff;display:grid;place-items:center;font-size:11px}.cabinet-login-card{position:relative;overflow:hidden}.login-illustration{position:absolute;right:-25px;top:-10px;width:140px;height:140px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#d6f7f0,#dcebff);font-size:62px;transform:rotate(8deg)}.cabinet-menu-button{display:none;border:0;background:#eaf8f7;border-radius:11px;padding:9px 12px;font-weight:900;color:var(--teal)}.student-switch-wrap label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800}.student-switch-wrap select{margin:0;padding:9px 12px;min-width:180px}.user-chip{padding:8px 12px;border-radius:999px;background:#f0f6f7;color:var(--muted);font-size:13px;font-weight:800}.cabinet-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px}.cabinet-sidebar{background:#fff;border:1px solid var(--line);border-radius:22px;padding:14px;height:max-content;position:sticky;top:95px;box-shadow:0 12px 35px rgba(9,37,75,.05)}.cabinet-sidebar button,.cabinet-sidebar>a{display:flex;align-items:center;gap:11px;width:100%;border:0;background:transparent;padding:12px 13px;border-radius:12px;text-align:left;font-weight:800;color:var(--ink);cursor:pointer}.cabinet-sidebar button span,.cabinet-sidebar>a span{width:24px;color:var(--teal);font-size:18px}.cabinet-sidebar button.active,.cabinet-sidebar button:hover,.cabinet-sidebar>a:hover{background:#eaf8f7;color:var(--teal)}.cabinet-profile{text-align:center;padding:12px 8px 20px;border-bottom:1px solid var(--line);margin-bottom:9px}.avatar-circle{width:58px;height:58px;margin:0 auto 10px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff;font-size:24px;font-weight:900}.cabinet-profile strong,.cabinet-profile span{display:block}.cabinet-profile span{color:var(--muted);font-size:13px}.cabinet-content{min-width:0}.cab-tab{display:none}.cab-tab.active{display:block}.cabinet-welcome{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(120deg,#fff,#eaf9f8);border:1px solid var(--line);border-radius:25px;padding:28px;margin-bottom:20px;overflow:hidden}.cabinet-welcome h1{margin:0;color:var(--navy);font-size:36px}.cabinet-welcome p:last-child{margin-bottom:0;color:var(--muted)}.welcome-formula{padding:20px;border-radius:18px;background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff;font-size:18px;font-weight:900;transform:rotate(-2deg);box-shadow:0 12px 25px rgba(8,120,207,.2)}.dashboard-card-icon{display:flex;align-items:center;gap:14px}.dashboard-card-icon>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#eaf8f7;color:var(--teal);font-size:19px}.dashboard-card-icon strong{font-size:25px}.cabinet-home-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:20px}.next-lesson-panel{grid-column:1/-1}.next-lesson-card{display:flex;gap:18px;align-items:center;padding:10px}.lesson-date-block{width:74px;height:80px;border-radius:18px;display:grid;place-items:center;align-content:center;background:linear-gradient(145deg,#eaf8f7,#e9f1ff);color:var(--teal)}.lesson-date-block strong{font-size:30px;line-height:1}.lesson-date-block span{text-transform:uppercase;font-size:12px;font-weight:900}.next-lesson-card h3{font-size:23px;margin:7px 0}.next-lesson-card p{margin:3px 0;color:var(--muted)}.lesson-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.mini-row{display:flex;gap:11px;align-items:center;border-bottom:1px solid #edf2f3;padding:11px 0}.mini-row:last-child{border-bottom:0}.mini-row h3{font-size:15px;margin:0;color:var(--navy)}.mini-row p{font-size:12px;margin:2px 0;color:var(--muted)}.mini-row .text-link{margin-left:auto}.mini-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eef8f9;color:var(--teal);font-weight:900}.empty-state-small{padding:20px;text-align:center;color:var(--muted)}.progress-highlight{display:grid;align-content:center}.progress-highlight #home-progress{display:flex;align-items:center;gap:22px}.progress-score-ring{--progress:0;width:142px;height:142px;border-radius:50%;padding:12px;background:conic-gradient(var(--teal) calc(var(--progress)*1%),#e5eef0 0);flex:0 0 auto}.progress-score-ring>div{height:100%;border-radius:50%;background:#fff;display:grid;place-items:center;align-content:center;text-align:center}.progress-score-ring strong{font-size:28px;color:var(--navy)}.progress-score-ring span{font-size:11px;color:var(--muted);max-width:80px}.progress-highlight-copy h3{margin:0;color:var(--navy)}.progress-highlight-copy p{color:var(--muted);margin:7px 0}.schedule-timeline{display:grid;gap:26px}.timeline-month>h2{text-transform:capitalize;color:var(--navy)}.timeline-list{display:grid;gap:12px}.timeline-item{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px;box-shadow:0 8px 25px rgba(9,37,75,.04)}.timeline-item.cancelled{opacity:.62}.timeline-date{width:58px;text-align:center;border-right:1px solid var(--line);padding-right:15px}.timeline-date strong,.timeline-date span{display:block}.timeline-date strong{font-size:27px;color:var(--teal)}.timeline-date span{text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:900}.timeline-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.timeline-item h3{margin:0;color:var(--navy)}.timeline-item p{margin:4px 0;color:var(--muted)}.homework-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.homework-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 10px 30px rgba(9,37,75,.05)}.homework-card.overdue{border-color:#f2b6ba}.homework-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.homework-head h3{font-size:21px;margin:10px 0;color:var(--navy)}.homework-card>p{color:var(--muted)}.grade-badge{min-width:70px;text-align:center;padding:9px;border-radius:15px;background:#eaf8f7;color:var(--teal)}.grade-badge strong,.grade-badge span{display:block}.grade-badge strong{font-size:22px}.grade-badge span{font-size:10px;text-transform:uppercase}.homework-due{font-size:13px;font-weight:800;color:var(--muted);margin:14px 0}.danger-text{color:#b23640}.material-link{display:flex;gap:10px;align-items:center;padding:12px;border-radius:14px;background:#f2f7f8;margin:10px 0}.material-link>span{font-size:21px}.material-link div{flex:1}.material-link b,.material-link small{display:block}.material-link small{color:var(--muted)}.submitted-link{background:#edf4ff}.teacher-comment{padding:13px;border-left:4px solid var(--green);background:#f0faf3;border-radius:4px 13px 13px 4px;margin-top:13px}.teacher-comment p{margin:5px 0;color:var(--muted)}.homework-actions{margin-top:16px}.table-grade{display:inline-grid;place-items:center;min-width:34px;height:34px;border-radius:11px;background:#eaf8f7;color:var(--teal);font-weight:900}.material-filter{display:flex;gap:10px}.material-filter input,.material-filter select{margin:0}.material-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.material-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;min-height:270px;display:flex;flex-direction:column;box-shadow:0 10px 30px rgba(9,37,75,.05)}.material-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#eaf8f7,#e9f2ff);color:var(--teal);font-weight:950}.material-card-top{display:flex;justify-content:space-between;gap:8px;margin:14px 0 8px;color:var(--muted);font-size:11px}.material-category{display:inline-flex;width:max-content;padding:5px 8px;border-radius:999px;background:#eaf8f7;color:var(--teal);font-size:11px;font-weight:900}.material-card h3{margin:0 0 7px;color:var(--navy)}.material-card p{color:var(--muted);font-size:14px}.material-card .button{margin-top:auto}.recording-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.recording-card{display:grid;grid-template-columns:170px 1fr;gap:20px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px;align-items:center}.recording-preview{height:130px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#092844,#078b91);color:#fff}.recording-preview span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:24px}.recording-card h3{color:var(--navy)}.progress-overview{margin-bottom:20px}.progress-hero-card{display:flex;align-items:center;gap:30px;border-radius:25px;padding:28px;background:linear-gradient(120deg,#eaf8f7,#ecf4ff);border:1px solid var(--line)}.progress-hero-card h2{margin:0;color:var(--navy)}.progress-history-item{display:flex;gap:16px;align-items:center;padding:15px;border-bottom:1px solid #edf2f3}.progress-history-item:last-child{border:0}.progress-history-date{width:100px;color:var(--muted);font-size:12px}.progress-history-item h3{margin:0;color:var(--navy)}.progress-history-item p{margin:4px 0;color:var(--muted)}.progress-value{text-align:right}.progress-value strong,.progress-value span{display:block}.progress-value strong{font-size:20px;color:var(--navy)}.progress-value span{color:var(--teal);font-weight:900}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.payment-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:23px}.payment-card-head{display:flex;align-items:center;justify-content:space-between}.payment-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#eaf8f7;color:var(--teal);font-size:22px;font-weight:900}.payment-card h3{color:var(--navy)}.payment-card>strong{display:block;font-size:29px;color:var(--navy);margin:9px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-icon{width:60px;height:60px;border-radius:19px;display:grid;place-items:center;background:#eaf8f7;color:var(--teal);font-size:28px}.notification-list{display:grid;gap:8px;margin-top:20px;color:var(--muted)}.empty-state{grid-column:1/-1;text-align:center;padding:55px 20px;background:#fff;border:1px dashed #b8d0d5;border-radius:22px;color:var(--muted)}.empty-state>span{font-size:40px}.empty-state h3{color:var(--navy);margin:10px 0 3px}.submission-card{max-width:580px}.public-materials-hero{padding:72px 0 50px;background:linear-gradient(130deg,#eafaf8,#eef5ff)}.public-materials-hero h1{font-size:clamp(42px,6vw,70px);line-height:1;margin:0;color:var(--navy)}.public-materials-hero p{max-width:700px;color:var(--muted);font-size:18px}.materials-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.materials-search{display:flex;gap:10px;flex:1}.materials-search input,.materials-search select{margin:0}.public-material-card{min-height:300px}.public-material-card.featured{border:2px solid #77cfc5}.featured-ribbon{position:absolute;top:14px;right:14px;font-size:11px;padding:5px 8px;border-radius:999px;background:#fff2d9;color:#936000;font-weight:900}.material-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.material-type-badge{padding:5px 8px;border-radius:999px;background:#eef3ff;color:#475ea5;font-size:11px;font-weight:900}
@media(max-width:1100px){.admin-material-grid,.material-admin-lists{grid-template-columns:1fr 1fr}.cabinet-shell{grid-template-columns:220px minmax(0,1fr)}.material-card-grid{grid-template-columns:repeat(2,1fr)}.recording-grid{grid-template-columns:1fr}.payment-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.admin-overview-grid,.admin-two-columns,.admin-material-grid,.material-admin-lists{grid-template-columns:1fr}.cabinet-menu-button{display:block}.cabinet-shell{display:block}.cabinet-sidebar{display:none;position:fixed;left:12px;right:12px;top:78px;z-index:60;max-height:calc(100vh - 92px);overflow:auto}.cabinet-sidebar.open{display:block}.student-switch-wrap{margin-left:auto}.user-chip{display:none}.cabinet-home-grid{grid-template-columns:1fr}.next-lesson-panel{grid-column:auto}.homework-grid,.settings-grid{grid-template-columns:1fr}.next-lesson-card{align-items:flex-start}.lesson-actions{width:100%;justify-content:flex-start}.timeline-item{align-items:flex-start;flex-wrap:wrap}.timeline-item .item-actions{width:100%;justify-content:flex-start}.material-filter{width:100%}.section-toolbar{flex-wrap:wrap}.payment-grid{grid-template-columns:1fr}}
@media(max-width:640px){.student-switch-wrap label{font-size:0}.student-switch-wrap select{min-width:120px;max-width:145px}.cabinet-welcome{display:block;padding:22px}.cabinet-welcome h1{font-size:30px}.welcome-formula{margin-top:18px;font-size:14px}.progress-highlight #home-progress,.progress-hero-card{align-items:flex-start;flex-direction:column}.next-lesson-card{display:grid;grid-template-columns:64px 1fr}.lesson-actions{grid-column:1/-1}.timeline-date{width:45px}.timeline-item{display:grid;grid-template-columns:45px 1fr}.timeline-item .item-actions{grid-column:1/-1}.homework-grid,.material-card-grid{grid-template-columns:1fr}.materials-toolbar,.materials-search{align-items:stretch;flex-direction:column}.material-filter{display:grid;grid-template-columns:1fr}.recording-card{grid-template-columns:1fr}.recording-preview{height:150px}.payment-grid{grid-template-columns:1fr}.progress-history-item{align-items:flex-start;flex-wrap:wrap}.progress-history-date{width:100%}.progress-value{margin-left:auto}.app-header-inner{gap:8px}.app-header .brand small{display:none}.app-header .brand strong{font-size:17px}.app-header .logo-flask{width:36px;height:36px}.app-header .button{padding:9px 12px}.cabinet-login-card .login-illustration{opacity:.35}}
.resource-body{background:#f4fafb}.resource-page{padding:60px 0}.resource-article{max-width:900px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:42px;box-shadow:var(--shadow)}.resource-article h1{font-size:clamp(38px,6vw,64px);line-height:1.05;color:var(--navy);margin:10px 0 18px}.resource-lead{font-size:20px;color:var(--muted);max-width:740px}.resource-article section{margin:36px 0}.resource-article h2{color:var(--navy)}.resource-article li{margin:10px 0}.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.resource-grid>div,.resource-example{background:#f3f9fa;border:1px solid var(--line);border-radius:20px;padding:22px}.formula-box{font-size:28px;font-weight:900;color:var(--teal);padding:18px;border-radius:16px;background:#fff;border:1px solid var(--line);text-align:center;margin:16px 0}.checklist{list-style:none;padding:0}.checklist li{padding:12px 14px 12px 44px;background:#f5fafb;border-radius:12px;position:relative}.checklist li:before{content:'□';position:absolute;left:15px;color:var(--teal);font-size:21px}.resource-cta{margin-top:46px;padding:28px;border-radius:22px;background:linear-gradient(120deg,#eaf8f7,#eaf1ff)}@media(max-width:640px){.resource-article{padding:24px}.resource-grid{grid-template-columns:1fr}}

/* ===== DamirChem teacher workspace v3 ===== */
.modal-open{overflow:hidden}.teacher-app-body{background:#f3f7f8}.teacher-header{z-index:80}.teacher-header-actions{display:flex;align-items:center;gap:9px}.teacher-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start}.teacher-sidebar{position:sticky;top:92px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:16px;box-shadow:0 16px 40px rgba(9,37,75,.07);max-height:calc(100vh - 112px);overflow:auto}.teacher-profile{display:flex;align-items:center;gap:12px;padding:10px 8px 18px;border-bottom:1px solid #edf2f3;margin-bottom:12px}.teacher-profile strong,.teacher-profile span{display:block}.teacher-profile span{font-size:12px;color:var(--muted)}.teacher-sidebar nav{display:grid;gap:4px}.teacher-sidebar button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;border-radius:14px;padding:12px 13px;color:#496074;font-weight:800;cursor:pointer}.teacher-sidebar button>span{width:24px;height:24px;display:grid;place-items:center;color:var(--teal)}.teacher-sidebar button:hover{background:#f2f8f9;color:var(--navy)}.teacher-sidebar button.active{background:linear-gradient(135deg,#e8f9f6,#eaf3ff);color:var(--navy);box-shadow:inset 0 0 0 1px #d6ebec}.teacher-sidebar .nav-badge{margin-left:auto}.sidebar-caption{padding:18px 12px 7px;color:#91a2af;font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:900}.teacher-content{min-width:0}.teacher-page-head{align-items:flex-start;margin-bottom:20px}.teacher-page-head h1{margin-bottom:5px}.teacher-overview-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-top:18px}.panel-compact{padding:17px 20px}.card-title{margin:0;color:var(--navy)}.clickable-row{cursor:pointer}.clickable-row:hover{background:#f5fafb}.mini-date{width:58px;min-width:58px;padding:7px;border-radius:13px;background:#eef8f9;text-align:center;color:var(--teal)}.mini-date b,.mini-date small{display:block}.mini-date small{font-size:10px;color:var(--muted)}.workload-panel{min-height:250px}.workload-chart{height:185px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding-top:12px}.workload-column{flex:1;display:grid;grid-template-rows:130px auto auto;text-align:center;gap:4px}.workload-bar{height:130px;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(#f4fafb,#edf5f6);border-radius:10px;padding:5px}.workload-bar span{display:block;width:72%;min-height:4px;border-radius:8px;background:linear-gradient(180deg,var(--blue),var(--teal));box-shadow:0 7px 18px rgba(8,120,207,.15)}.workload-column b{font-size:12px;color:var(--navy)}.workload-column small{font-size:10px;color:var(--muted)}
.review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.review-search{display:flex;gap:10px;flex:1}.review-search input,.review-search select,.content-filters input,.content-filters select{margin:0}.review-search input{flex:1}.review-layout,.tests-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.review-student-panel{padding:14px;position:sticky;top:92px}.review-panel-title{display:flex;align-items:center;justify-content:space-between;padding:4px 5px 12px}.review-panel-title h2{margin:0;font-size:18px;color:var(--navy)}.review-student-list{display:grid;gap:7px;max-height:68vh;overflow:auto}.review-student{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;width:100%;border:1px solid transparent;border-radius:15px;background:transparent;padding:9px;text-align:left;cursor:pointer}.review-student:hover{background:#f3f8f9}.review-student.active{background:linear-gradient(135deg,#eaf9f7,#edf5ff);border-color:#d3e8e9}.review-student b,.review-student small{display:block}.review-student b{color:var(--navy)}.review-student small{font-size:11px;color:var(--muted);margin-top:2px}.review-student em{font-style:normal;min-width:27px;height:27px;border-radius:999px;display:grid;place-items:center;background:#e9f8f4;color:#08785f;font-size:12px;font-weight:900}.review-student em.warn{background:#fff1dc;color:#9d5d00}.review-student em.score{background:#eef3ff;color:#4f63ac;min-width:45px}.student-avatar-small,.student-avatar-large{display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#dff7f2,#e3efff);color:var(--teal);font-weight:950}.student-avatar-small{width:42px;height:42px;font-size:13px}.student-avatar-large{width:60px;height:60px;font-size:18px}.review-work-panel{min-height:500px}.review-selected-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #edf2f3;padding-bottom:18px;margin-bottom:12px}.review-selected-head h2{margin:0;color:var(--navy)}.review-selected-head p{margin:4px 0;color:var(--muted)}.review-assignment-list{display:grid;gap:11px}.review-assignment{display:grid;grid-template-columns:46px minmax(0,1fr) 105px;gap:14px;align-items:center;border:1px solid #e4edef;border-radius:18px;padding:15px;background:#fff;cursor:pointer;transition:.18s}.review-assignment:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(9,37,75,.07);border-color:#cde3e6}.review-assignment.is-pending{border-left:5px solid var(--orange)}.review-assignment-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eff7f8;color:var(--teal);font-size:20px}.review-assignment-top{display:flex;gap:7px;align-items:center}.soft-tag{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f2f5f8;color:#667b8b;font-size:10px;font-weight:850}.review-assignment h3{margin:7px 0 3px;color:var(--navy);font-size:18px}.review-assignment p{margin:0;color:var(--muted);font-size:13px}.review-assignment-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;font-size:11px;color:#8394a1}.review-assignment-result{text-align:right}.review-assignment-result strong,.review-assignment-result small{display:block}.review-assignment-result strong{font-size:24px;color:var(--teal)}.review-assignment-result small{font-size:10px;color:var(--muted);margin-bottom:7px}.review-assignment-result>span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}
.modal{position:fixed;inset:0;background:rgba(4,23,42,.54);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;padding:20px;z-index:120}.modal.open{display:flex}.modal-card{width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:26px;padding:25px;box-shadow:0 30px 90px rgba(0,0,0,.28)}.modal-card-wide{width:min(1020px,100%)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.modal-head h2{margin:0;color:var(--navy)}.review-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel-soft{background:#f5fafb;border:1px solid var(--line);border-radius:20px;padding:20px}.submission-student{display:flex;align-items:center;gap:13px;border-bottom:1px solid #dfeaec;padding-bottom:15px;margin-bottom:15px}.submission-student h3{margin:0;color:var(--navy)}.submission-block{margin:18px 0}.submission-block>b{display:block;color:var(--navy);margin-bottom:8px}.submission-block p{color:var(--muted)}.material-open-row{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #dce9eb;border-radius:14px;background:#fff}.material-open-row>span{font-size:22px;color:var(--teal)}.material-open-row>div{flex:1;min-width:0}.material-open-row b,.material-open-row small{display:block}.material-open-row small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-comment{margin-top:12px;border-left:4px solid var(--blue);background:#edf5ff;padding:12px;border-radius:4px 12px 12px 4px}.student-comment p{margin:5px 0 0}.friendly-form{display:grid;gap:14px}.friendly-form label{font-size:13px;font-weight:850;color:var(--navy)}.friendly-form input,.friendly-form select,.friendly-form textarea{margin-top:6px}.grade-picker>span{display:block;font-size:13px;font-weight:850;color:var(--navy);margin-bottom:8px}#grade-buttons{display:flex;flex-wrap:wrap;gap:8px}#grade-buttons button{min-width:44px;height:44px;border:1px solid #cedfe4;border-radius:13px;background:#fff;color:var(--navy);font-weight:900;cursor:pointer}#grade-buttons button:hover,#grade-buttons button.active{background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff;border-color:transparent}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.modal-actions .button-danger{margin-right:auto}.upload-drop{position:relative;border:2px dashed #bcd7dc;border-radius:16px;padding:17px;text-align:center;background:#f7fbfc;cursor:pointer}.upload-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-drop span,.upload-drop small{display:block}.upload-drop small{color:var(--muted);margin-top:5px}.link-preview{display:flex;align-items:center;gap:12px;background:#f3f8f9;border:1px solid var(--line);border-radius:15px;padding:13px}.link-preview>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff;color:var(--teal);font-weight:900}.link-preview b,.link-preview small{display:block}.link-preview small{color:var(--muted);word-break:break-all}.check-label{display:flex;align-items:center;gap:8px;padding-top:26px}.check-label input{width:auto;margin:0}
.test-result-list{display:grid;gap:12px}.test-result-card{display:grid;grid-template-columns:105px minmax(0,1fr) 44px;gap:16px;align-items:center;padding:17px;border:1px solid #e0eaed;border-radius:18px}.test-result-score{border-radius:16px;background:linear-gradient(135deg,#e9f8f5,#ecf3ff);padding:14px;text-align:center}.test-result-score strong,.test-result-score span{display:block}.test-result-score strong{font-size:22px;color:var(--navy)}.test-result-score span{font-weight:900;color:var(--teal)}.test-result-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.test-result-card h3{margin:8px 0 4px;color:var(--navy)}.test-result-card p{margin:0 0 10px;color:var(--muted)}
.calendar-summary{margin-bottom:18px}.calendar-panel{padding:18px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:15px;border-bottom:1px solid #edf2f3}.calendar-navigation{display:flex;align-items:center;gap:9px}.calendar-navigation h2{margin:0 0 0 8px;color:var(--navy);font-size:21px}.teacher-calendar{margin-top:15px;overflow:auto}.week-calendar{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:8px;min-width:1050px}.week-day{border:1px solid #e0eaed;border-radius:18px;background:#fbfdfe;min-height:430px;display:flex;flex-direction:column;overflow:hidden}.week-day.today{border:2px solid #73c8c2;background:#f3fcfa}.week-day>header{padding:13px;text-align:center;border-bottom:1px solid #e7eff1;background:#fff}.week-day>header span,.week-day>header strong,.week-day>header small{display:block}.week-day>header span{font-size:11px;text-transform:uppercase;color:var(--muted);font-weight:900}.week-day>header strong{font-size:25px;color:var(--navy)}.week-day>header small{font-size:10px;color:var(--muted)}.week-day-events{display:grid;align-content:start;gap:7px;padding:9px;flex:1}.week-day>footer{padding:9px;text-align:center;border-top:1px solid #e7eff1;color:var(--muted);font-size:10px;background:#fff}.calendar-event{display:block;width:100%;border:0;border-left:4px solid currentColor;border-radius:10px;padding:9px;text-align:left;background:#edf7f7;color:#078b91;cursor:pointer}.calendar-event b,.calendar-event span,.calendar-event small{display:block}.calendar-event b{font-size:11px}.calendar-event span{font-size:12px;font-weight:850;color:var(--navy);line-height:1.25;margin:2px 0}.calendar-event small{font-size:9px;color:var(--muted)}.calendar-event.cancelled{text-decoration:line-through;opacity:.55}.calendar-color-0{color:#0878cf;background:#edf5ff}.calendar-color-1{color:#078b91;background:#eaf9f7}.calendar-color-2{color:#d1781e;background:#fff3e4}.calendar-color-3{color:#7958b3;background:#f4efff}.calendar-color-4{color:#4a9a5a;background:#eff9f1}.calendar-color-5{color:#bd4562;background:#fff0f4}.week-empty{border:1px dashed #c5d9dd;background:transparent;color:#91a4af;border-radius:10px;padding:10px;cursor:pointer}.month-weekdays{display:grid;grid-template-columns:repeat(7,1fr);min-width:900px}.month-weekdays span{text-align:center;padding:8px;color:var(--muted);font-size:11px;font-weight:900}.month-calendar{display:grid;grid-template-columns:repeat(7,1fr);border-left:1px solid #e2ecee;border-top:1px solid #e2ecee;min-width:900px}.month-day{min-height:128px;border-right:1px solid #e2ecee;border-bottom:1px solid #e2ecee;padding:7px;background:#fff;cursor:pointer}.month-day:hover{background:#f7fbfc}.month-day.outside{background:#f8fafb;color:#adb9c2}.month-day.today{box-shadow:inset 0 0 0 2px #63c2bd}.month-day>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.month-day>header b{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;color:var(--navy)}.month-day.today>header b{background:var(--teal);color:#fff}.month-day>header span{min-width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:#eef5f6;color:var(--muted);font-size:10px}.month-day .calendar-event{padding:5px 6px;margin:4px 0}.month-day .calendar-event b,.month-day .calendar-event span{display:inline;font-size:9px}.month-day .calendar-event small{display:none}.more-events{display:block;color:var(--muted);font-size:9px;padding:3px}.calendar-agenda{display:grid;gap:20px}.agenda-day{display:grid;grid-template-columns:105px 1fr;gap:15px}.agenda-day>header{display:flex;align-items:center;gap:10px}.agenda-day>header strong{font-size:32px;color:var(--teal)}.agenda-day>header b,.agenda-day>header span{display:block}.agenda-day>header b{color:var(--navy)}.agenda-day>header span{font-size:11px;color:var(--muted)}.agenda-event{display:grid;grid-template-columns:55px 12px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid #edf2f3;padding:11px}.calendar-dot{width:10px;height:10px;border-radius:50%;background:currentColor}.agenda-event h3{margin:0;color:var(--navy)}.agenda-event p{margin:3px 0;color:var(--muted)}
.content-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.content-filters{display:flex;gap:10px;flex:1}.content-filters input{flex:1}.teacher-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.teacher-content-card{display:flex;flex-direction:column;min-height:290px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 11px 28px rgba(9,37,75,.05)}.teacher-content-card.is-public{border-top:4px solid var(--green)}.teacher-content-icon{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#e7f8f5,#e9f2ff);color:var(--teal);font-size:22px;font-weight:950}.teacher-content-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.teacher-content-card h3{margin:11px 0 4px;color:var(--navy)}.teacher-content-card>p{color:var(--muted);font-size:13px;flex:1}.teacher-content-meta{display:flex;flex-wrap:wrap;gap:8px;color:#8294a1;font-size:10px;margin:8px 0 14px}.teacher-content-actions{display:flex;gap:8px}.teacher-content-actions .button{flex:1}.student-admin-grid,.teacher-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.student-admin-card,.teacher-group-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 11px 28px rgba(9,37,75,.05)}.student-admin-head{display:flex;align-items:center;gap:12px}.student-admin-head>div{flex:1}.student-admin-head h3,.student-admin-head p{margin:0}.student-admin-head h3{color:var(--navy)}.student-admin-head p{color:var(--muted)}.student-admin-info{display:grid;gap:7px;margin:18px 0;color:var(--muted);font-size:13px}.student-admin-actions{display:flex;gap:7px;flex-wrap:wrap}.parent-card{background:#fbfcff}.teacher-group-top{display:flex;align-items:center;justify-content:space-between}.teacher-group-card h3{color:var(--navy);margin:13px 0 8px}.teacher-group-card p{color:var(--muted);margin:6px 0}.student-avatar-stack{display:flex;margin-top:18px}.student-avatar-stack span{width:34px;height:34px;margin-left:-7px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#e7f5f5;color:var(--teal);font-size:10px;font-weight:900}.student-avatar-stack span:first-child{margin-left:0}
@media(max-width:1180px){.teacher-shell{grid-template-columns:220px minmax(0,1fr)}.teacher-content-grid,.student-admin-grid,.teacher-group-grid{grid-template-columns:repeat(2,1fr)}.teacher-overview-grid{grid-template-columns:1fr}.review-layout,.tests-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:900px){.teacher-header-actions .button-ghost{display:none}.teacher-shell{display:block}.teacher-sidebar{display:none;position:fixed;left:12px;right:12px;top:78px;z-index:90;max-height:calc(100vh - 92px)}.teacher-sidebar.open{display:block}.review-layout,.tests-layout{grid-template-columns:1fr}.review-student-panel{position:static}.review-student-list{display:flex;overflow:auto;max-height:none}.review-student{min-width:230px}.review-modal-grid{grid-template-columns:1fr}.teacher-content-grid,.student-admin-grid,.teacher-group-grid{grid-template-columns:1fr 1fr}.calendar-toolbar,.content-toolbar,.review-toolbar{align-items:stretch;flex-direction:column}.content-filters,.review-search{width:100%}.agenda-day{grid-template-columns:1fr}.agenda-day>header{padding-left:10px}}
@media(max-width:640px){.teacher-header-actions .button-secondary,.teacher-header-actions .button-ghost{display:none}.teacher-header-actions .button{font-size:0;padding:10px 13px}.teacher-header-actions .button:after{content:'+';font-size:18px}.teacher-page-head{display:block}.teacher-page-head .quick-actions{margin-top:12px}.review-assignment{grid-template-columns:42px 1fr}.review-assignment-result{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:8px}.review-assignment-result strong,.review-assignment-result small{display:inline}.review-modal-grid{display:block}.review-submission{margin-bottom:16px}.test-result-card{grid-template-columns:82px 1fr}.test-result-card>.icon-button{grid-column:1/-1;justify-self:end}.teacher-content-grid,.student-admin-grid,.teacher-group-grid{grid-template-columns:1fr}.content-filters,.review-search{display:grid}.form-row{grid-template-columns:1fr}.modal{padding:8px}.modal-card{max-height:calc(100vh - 16px);border-radius:20px;padding:18px}.calendar-navigation{flex-wrap:wrap}.calendar-navigation h2{width:100%;margin:8px 0 0}.teacher-header .brand small{display:none}}
/* Student cabinet refinements v3 */
.student-calendar .calendar-event{cursor:default}.student-event-actions{display:flex;gap:6px;margin-top:7px}.student-event-actions a,.student-event-actions button{border:0;background:#fff;color:var(--blue);border-radius:8px;padding:5px 7px;font-size:9px;font-weight:850;cursor:pointer}.student-free-day{padding:20px 8px;text-align:center;color:#9aabb5;font-size:11px}.homework-card-v3{display:flex;flex-direction:column}.homework-status-line{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.homework-resource-list{display:grid;gap:8px}.teacher-feedback-link{background:#fff7e9}.student-own-comment{padding:12px;border-left:4px solid var(--blue);background:#edf5ff;border-radius:4px 13px 13px 4px;margin-top:13px}.student-own-comment p{margin:5px 0;color:var(--muted)}.material-card-v3{padding:0;overflow:hidden}.material-card-v3>.material-card-top,.material-card-v3>h3,.material-card-v3>p,.material-card-v3>.button{margin-left:20px;margin-right:20px}.material-card-v3>.button{margin-bottom:20px}.material-preview-v3{height:115px;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#e9f8f5,#edf4ff);color:var(--teal)}.material-preview-v3 span{width:52px;height:52px;border-radius:16px;background:#fff;display:grid;place-items:center;font-weight:950;box-shadow:0 8px 20px rgba(9,37,75,.08)}.material-preview-v3 small{font-weight:900}.video-material-card .material-preview-v3{background:linear-gradient(135deg,#082a45,#087f88);color:#fff}.video-material-card .material-preview-v3 span{background:rgba(255,255,255,.17);color:#fff;border-radius:50%}.material-filter{flex-wrap:wrap}.material-filter select{min-width:150px}

/* DamirChem 4.0 — stable branding and application shell */
.brand-mark{width:44px;height:44px;flex:0 0 44px;display:block;filter:drop-shadow(0 8px 15px rgba(8,120,207,.18))}.brand>span:last-child{min-width:0}.brand strong{font-size:18px;letter-spacing:-.025em;white-space:nowrap}.brand strong span{color:var(--teal)}.brand small{font-size:11px;margin-top:4px}.header-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.button-cabinet{background:#eef8f9;color:#076b76;border:1px solid #cfe9e8;box-shadow:none}.button-cabinet:hover{background:#def5f1;box-shadow:none}.app-error{position:sticky;top:72px;z-index:100;background:#fff2f2;color:#8e2b33;border-bottom:1px solid #f0c4c8;padding:13px 24px;text-align:center;font-weight:750}.preview-banner{background:linear-gradient(90deg,#fff6d8,#edf9f7);border-bottom:1px solid #e5d9a6;color:#5f531b}.preview-banner .container{min-height:50px;display:flex;align-items:center;gap:15px}.preview-banner strong{color:#6f5b00}.preview-banner span{font-size:13px}.teacher-content{min-width:0}.teacher-sidebar button{-webkit-appearance:none;appearance:none}.teacher-sidebar .sidebar-caption{margin:18px 12px 7px;color:#8ca0ad;font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:900}.teacher-sidebar{isolation:isolate}.teacher-header .app-header-inner{min-height:76px}.teacher-profile .avatar-circle{background:linear-gradient(135deg,var(--teal),var(--blue));color:#fff}.student-admin-actions .button{flex:1 1 120px}.empty-state-onboarding{grid-column:1/-1;max-width:680px;margin:30px auto;padding:48px;text-align:center;border:1px dashed #bad9dc;background:linear-gradient(145deg,#fff,#f4fbfc);border-radius:26px}.empty-state-onboarding>span{font-size:48px}.empty-state-onboarding h3{font-size:25px;color:var(--navy);margin:12px 0 5px}.empty-state-onboarding p{color:var(--muted);max-width:540px;margin:0 auto 20px}.preview-mode [data-submit-homework],.preview-mode #connect-telegram,.preview-mode #disconnect-telegram,.preview-mode #submission-modal{display:none!important}.preview-mode #cabinet-logout{background:#fff;color:var(--blue);border:1px solid #cfe0e6;box-shadow:none}.site-header .brand{z-index:2}
@media(max-width:1100px){.site-header .header-actions .button-cabinet{padding-inline:13px}.site-header .header-actions .button-cabinet span{display:none}.teacher-header-actions .button-cabinet{display:none}}
@media(max-width:820px){.header-actions{margin-left:0}.site-header .header-actions .button-cabinet{display:none}.brand strong{font-size:16px}.brand-mark{width:40px;height:40px;flex-basis:40px}.preview-banner .container{align-items:flex-start;flex-direction:column;gap:0;padding-block:8px}}

/* DamirChem 4.1 — public website visual refresh */
.public-home{
  --navy:#081f3d;--blue:#147bd1;--teal:#0b9b98;--green:#76ca80;--orange:#ff9d45;
  --ink:#162e47;--muted:#65798c;--line:#dce8ec;--bg:#f5fafb;
  --shadow:0 24px 64px rgba(7,31,61,.12);--radius:26px;--container:1220px;
  overflow-x:hidden;background:#fff;font-size:16px;
}
.public-home .container{width:min(var(--container),calc(100% - 48px))}
.public-home .site-header{background:rgba(255,255,255,.9);border-bottom:1px solid rgba(220,232,236,.8);backdrop-filter:blur(22px) saturate(1.3)}
.public-home .header-inner{min-height:76px;gap:24px}
.public-home .brand{gap:11px}
.public-home .brand strong{font-size:17px;letter-spacing:-.025em;color:var(--navy)}
.public-home .brand small{font-size:10px;letter-spacing:.16em;text-transform:uppercase;margin-top:5px}
.public-home .brand-mark{width:42px;height:42px;flex-basis:42px;filter:drop-shadow(0 9px 16px rgba(8,120,207,.18))}
.public-home .main-nav{gap:26px;font-size:14px;color:#324b63}
.public-home .main-nav a{position:relative;padding:28px 0}
.public-home .main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:19px;height:2px;border-radius:2px;background:var(--teal);transition:right .2s ease}
.public-home .main-nav a:hover:after{right:0}
.public-home .header-actions{gap:8px}
.public-home .header-actions .button{border-radius:12px;padding:11px 16px;font-size:14px;box-shadow:none}
.public-home .button{position:relative;min-height:52px;padding:14px 23px;border-radius:15px;background:linear-gradient(135deg,#11aaa2,#147bd1);box-shadow:0 13px 30px rgba(10,133,170,.24);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.public-home .button:hover{transform:translateY(-2px);box-shadow:0 17px 34px rgba(10,133,170,.3)}
.public-home .button:disabled{cursor:wait;opacity:.68;transform:none;box-shadow:none}
.public-home .button-secondary{background:#fff;color:var(--navy);border:1px solid #cbdce3;box-shadow:none}
.public-home .button-secondary:hover{border-color:#86bfc7;box-shadow:0 12px 28px rgba(7,31,61,.08)}
.public-home .button-cabinet{min-height:0;background:#eff7f8;color:#23616b;border:1px solid #d9e9ea}
.public-home .hero{isolation:isolate;background:#081f3d;padding:84px 0 114px;color:#fff}
.public-home .hero:before,.public-home .hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(2px);pointer-events:none}
.public-home .hero:before{width:620px;height:620px;right:-230px;top:-300px;background:radial-gradient(circle,rgba(19,182,172,.35),rgba(19,182,172,0) 70%)}
.public-home .hero:after{width:500px;height:500px;left:-280px;bottom:-360px;background:radial-gradient(circle,rgba(20,123,209,.27),rgba(20,123,209,0) 70%)}
.public-home .formula-cloud{top:80px;left:-5%;width:120%;font-size:40px;letter-spacing:22px;color:rgba(148,232,222,.055);transform:rotate(-4deg)}
.public-home .hero-grid{grid-template-columns:minmax(0,1fr) minmax(470px,.94fr);gap:72px}
.public-home .hero-copy{position:relative;z-index:2;padding-bottom:3px}
.public-home .eyebrow{color:#0b928f;font-size:12px;letter-spacing:.16em}
.public-home .hero .eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:18px;padding:8px 12px;border:1px solid rgba(161,230,224,.2);border-radius:999px;background:rgba(255,255,255,.06);color:#a9e5df}
.public-home .hero .eyebrow span{width:7px;height:7px;border-radius:50%;background:#77d785;box-shadow:0 0 0 5px rgba(119,215,133,.12)}
.public-home .hero h1{max-width:710px;font-size:clamp(56px,6.2vw,86px);line-height:.94;letter-spacing:-.058em;color:#fff}
.public-home .hero h1 span{display:inline;background:linear-gradient(90deg,#82e3d8,#8ed68d);-webkit-background-clip:text;background-clip:text;color:transparent}
.public-home .lead{max-width:680px;margin:25px 0 12px;color:#d6e3eb;font-size:20px;line-height:1.58}
.public-home .hero-sub{margin:0;color:#afc2cf;font-size:15px}
.public-home .hero-actions{margin-top:28px;gap:11px}
.public-home .hero .button{background:linear-gradient(135deg,#15b4aa,#1c8bdb)}
.public-home .hero .button-secondary{background:rgba(255,255,255,.06);color:#fff;border-color:rgba(255,255,255,.2);box-shadow:none}
.public-home .hero .button-secondary:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.35)}
.public-home .hero-note{display:flex;align-items:center;gap:12px;margin-top:25px;color:#9fb4c4}
.public-home .hero-note>span{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;background:rgba(119,215,133,.12);color:#8cde96;font-weight:900}
.public-home .hero-note p{margin:0;font-size:13px;line-height:1.55}
.public-home .hero-note strong{color:#d7e4ea;font-size:14px}
.public-home .hero-visual{min-height:510px;align-items:center}
.public-home .hero-shape{inset:16px 22px 10px 35px;border-radius:41% 59% 49% 51% / 47% 42% 58% 53%;background:linear-gradient(145deg,#133b58,#0e8d94 50%,#62c98a);opacity:.88;transform:rotate(4deg);box-shadow:0 28px 90px rgba(2,15,31,.35)}
.public-home .hero-visual img{width:94%;height:446px;object-position:45% 35%;border:1px solid rgba(255,255,255,.18);border-radius:30px;box-shadow:0 35px 80px rgba(0,0,0,.35)}
.public-home .hero-floating-card{position:absolute;z-index:2;background:rgba(255,255,255,.96);color:var(--ink);box-shadow:0 22px 50px rgba(2,18,35,.23);backdrop-filter:blur(12px)}
.public-home .hero-score{left:-22px;bottom:15px;width:150px;padding:15px 17px;border-radius:19px}
.public-home .hero-score small,.public-home .hero-score span{display:block;color:var(--muted);font-size:10px;font-weight:750}
.public-home .hero-score strong{display:inline-block;margin:3px 5px 0 0;color:var(--navy);font-size:43px;line-height:1;letter-spacing:-.055em}
.public-home .hero-score span{display:inline;color:var(--teal)}
.public-home .hero-format{right:-8px;top:33px;display:flex;align-items:center;gap:11px;padding:12px 15px;border-radius:17px}
.public-home .hero-format i{width:32px;height:32px;border:7px solid #dff5f1;border-radius:50%;background:#13a7a0;box-shadow:inset 0 0 0 2px #fff}
.public-home .hero-format strong,.public-home .hero-format small{display:block}
.public-home .hero-format strong{color:var(--navy);font-size:13px}
.public-home .hero-format small{color:var(--muted);font-size:10px}
.public-home .molecule{right:22px;bottom:42px;display:flex;align-items:center;gap:19px;font-size:0;text-shadow:none}
.public-home .molecule:before,.public-home .molecule:after{content:"";position:absolute;left:12px;right:12px;height:2px;background:rgba(255,255,255,.52)}
.public-home .molecule i{position:relative;z-index:1;width:13px;height:13px;border:3px solid rgba(255,255,255,.88);border-radius:50%;background:#168d9b}
.public-home .molecule i:nth-child(2){width:20px;height:20px;background:#7bd38b}
.public-home .stats-section{position:relative;z-index:4;padding:0 0 18px;background:linear-gradient(#fff 0,#fff 100%)}
.public-home .stats-grid{gap:0;overflow:hidden;margin-top:-46px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 22px 56px rgba(7,31,61,.1)}
.public-home .stats-grid article{position:relative;display:flex;align-items:center;gap:16px;min-height:104px;padding:22px 25px;border:0;border-radius:0;box-shadow:none}
.public-home .stats-grid article+article:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:1px;background:var(--line)}
.public-home .stat-number{color:var(--navy);font-size:37px;font-weight:950;letter-spacing:-.05em;line-height:1}
.public-home .stat-word{font-size:31px;white-space:nowrap}
.public-home .stats-grid p{margin:0;color:#586f82;font-size:13px;line-height:1.45}
.public-home .quiz-section{overflow:hidden;padding-top:92px;background:linear-gradient(180deg,#fff,#f4f9fa)}
.public-home .quiz-section:before{content:"CO₂";position:absolute;left:-45px;bottom:-55px;color:rgba(8,31,61,.035);font-size:180px;font-weight:950;letter-spacing:-.08em;transform:rotate(-7deg)}
.public-home .quiz-layout{display:grid;grid-template-columns:.86fr 1.14fr;gap:74px;align-items:center}
.public-home .quiz-intro h2{max-width:530px;margin:0 0 18px;color:var(--navy);font-size:clamp(42px,5vw,64px);line-height:1.02;letter-spacing:-.05em}
.public-home .quiz-intro>p:not(.eyebrow):not(.quiz-disclaimer){max-width:530px;color:var(--muted);font-size:17px;line-height:1.7}
.public-home .quiz-benefits{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 18px}
.public-home .quiz-benefits span{padding:8px 12px;border:1px solid #d7e6e7;border-radius:999px;background:#fff;color:#446074;font-size:12px;font-weight:850}
.public-home .quiz-disclaimer{max-width:470px;color:#718696;font-size:12px;line-height:1.6}
.public-home .quiz-card{min-height:500px;padding:36px;border:1px solid rgba(255,255,255,.11);border-radius:30px;background:linear-gradient(145deg,#071e39,#0a3d55 72%,#0b6968);color:#fff;box-shadow:0 30px 80px rgba(6,30,57,.22)}
.public-home .quiz-start-screen,.public-home .quiz-result-screen{min-height:426px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.public-home .quiz-flask{width:90px;height:90px;display:grid;place-items:center;margin-bottom:23px;border:1px solid rgba(159,230,222,.25);border-radius:30px 30px 40px 40px;background:linear-gradient(145deg,rgba(114,221,208,.2),rgba(255,255,255,.06));color:#a9e5df;font-size:18px;font-weight:950;box-shadow:inset 0 -23px 0 rgba(25,179,166,.14)}
.public-home .quiz-kicker{color:#93dcd4;font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.public-home .quiz-card h3{margin:8px 0 10px;color:#fff;font-size:30px;line-height:1.18;letter-spacing:-.035em}
.public-home .quiz-start-screen p,.public-home .quiz-result-screen>p{max-width:450px;margin:0 0 24px;color:#c0ced7;font-size:15px;line-height:1.65}
.public-home .quiz-start-screen .button{min-width:220px}
.public-home .quiz-question-screen{min-height:426px}
.public-home .quiz-progress-head{display:flex;align-items:center;justify-content:space-between;color:#afc2cf;font-size:12px;font-weight:800}
.public-home .quiz-progress-head strong{color:#91dcd3}
.public-home .quiz-progress{height:5px;margin-top:9px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.1)}
.public-home .quiz-progress span{display:block;width:20%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#75d9cc,#7bd68a);transition:width .25s ease}
.public-home .quiz-topic{margin:31px 0 7px;color:#88dfd6;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.public-home .quiz-question-screen h3{max-width:610px;margin:0 0 22px;font-size:27px}
.public-home .quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.public-home .quiz-option{min-height:58px;padding:13px 15px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.055);color:#edf3f6;text-align:left;font-size:14px;font-weight:800;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.public-home .quiz-option:hover{border-color:rgba(142,224,215,.46);background:rgba(255,255,255,.09);transform:translateY(-1px)}
.public-home .quiz-option[aria-pressed="true"]{border-color:#7edbd0;background:rgba(34,183,169,.2);box-shadow:inset 0 0 0 1px rgba(126,219,208,.28)}
.public-home .quiz-option span{display:inline-grid;width:24px;height:24px;place-items:center;margin-right:9px;border-radius:8px;background:rgba(255,255,255,.09);color:#9fded7;font-size:9px}
.public-home .quiz-next{width:100%;margin-top:20px}
.public-home .quiz-score{display:flex;align-items:center;justify-content:center;gap:13px;margin:20px 0 13px}
.public-home .quiz-score strong{color:#fff;font-size:52px;line-height:1;letter-spacing:-.06em}
.public-home .quiz-score span{max-width:125px;color:#91e1d8;text-align:left;font-size:13px;font-weight:850;line-height:1.35}
.public-home .quiz-result-screen .button{min-width:260px}
.public-home .quiz-restart{margin-top:14px;border:0;background:transparent;color:#bdcbd3;font-size:13px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.public-home .section{position:relative;padding:100px 0}
.public-home .section-tint{background:linear-gradient(180deg,#f6fafb,#f2f8f9)}
.public-home .section-heading{max-width:760px;margin-bottom:48px}
.public-home .section-heading h2{font-size:clamp(38px,4.7vw,58px);letter-spacing:-.045em}
.public-home .section-heading p:last-child{max-width:680px;margin-inline:auto;font-size:18px;line-height:1.65}
.public-home .features-grid,.public-home .courses-grid{gap:16px}
.public-home .feature-card,.public-home .course-card{position:relative;overflow:hidden;padding:26px;border-color:#e0eaed;border-radius:24px;box-shadow:0 14px 34px rgba(7,31,61,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.public-home .feature-card:hover,.public-home .course-card:hover{transform:translateY(-5px);border-color:#c6dfe2;box-shadow:0 22px 44px rgba(7,31,61,.1)}
.public-home .feature-card{min-height:282px}
.public-home .feature-card:after{content:"";position:absolute;right:-35px;bottom:-44px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,#e9f7f5 0,#e9f7f5 47%,transparent 48%);opacity:.7}
.public-home .feature-index{position:absolute;right:22px;top:20px;color:#a3b3bd;font-size:10px;font-weight:900;letter-spacing:.15em}
.public-home .feature-symbol{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#e5f7f4,#edf4ff);color:var(--teal);font-size:24px;font-weight:900}
.public-home .feature-symbol-formula{font-size:14px}
.public-home .feature-card h3{margin-top:33px;font-size:19px}
.public-home .feature-card p{font-size:15px;line-height:1.7}
.public-home .course-card{min-height:430px;padding:26px 25px 24px}
.public-home .course-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.public-home .course-top>span{color:#6f8494;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.09em}
.public-home .course-icon{width:58px;height:58px;border-radius:17px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.public-home .course-card h3{margin-top:25px;font-size:20px;line-height:1.3}
.public-home .course-card p{font-size:15px;line-height:1.68}
.public-home .course-card ul{display:grid;gap:8px;margin:18px 0 0;padding:0;list-style:none;color:#465f73;font-size:13px}
.public-home .course-card li{position:relative;padding-left:19px}
.public-home .course-card li:before{content:"✓";position:absolute;left:0;top:0;color:var(--teal);font-weight:900}
.public-home .course-card strong{color:var(--navy);font-size:18px}
.public-home .course-card>a{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:16px;border-top:1px solid #e5edef;color:var(--teal);font-size:14px}
.public-home .course-card>a span{font-size:18px;transition:transform .2s ease}
.public-home .course-card:hover>a span{transform:translateX(4px)}
.public-home .course-featured{border-color:#a9dccc;background:linear-gradient(160deg,#fff 50%,#f0fbf6)}
.public-home .course-label{position:absolute;right:-38px;top:21px;width:155px;padding:6px 0;background:#168e76;color:#fff;text-align:center;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;transform:rotate(39deg)}
.public-home .value-section{overflow:hidden;background:#fff}
.public-home .value-section:before{content:"";position:absolute;width:480px;height:480px;left:-290px;top:50%;border-radius:50%;background:radial-gradient(circle,rgba(15,167,160,.11),rgba(15,167,160,0) 68%);transform:translateY(-50%)}
.public-home .value-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:center}
.public-home .value-copy h2{max-width:530px;margin:0 0 18px;color:var(--navy);font-size:clamp(39px,4.5vw,58px);line-height:1.05;letter-spacing:-.045em}
.public-home .value-copy>p:last-of-type{max-width:560px;color:var(--muted);font-size:17px;line-height:1.7}
.public-home .text-link-arrow{display:inline-flex;align-items:center;gap:14px;margin-top:14px;color:var(--teal);font-size:15px;font-weight:900}
.public-home .text-link-arrow span{font-size:20px;transition:transform .2s ease}
.public-home .text-link-arrow:hover span{transform:translateX(4px)}
.public-home .value-list{display:grid;gap:12px}
.public-home .value-card{display:grid;grid-template-columns:52px 1fr;gap:19px;align-items:start;padding:24px;border:1px solid #dde9eb;border-radius:22px;background:#fff;box-shadow:0 13px 34px rgba(7,31,61,.05);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.public-home .value-card:hover{transform:translateX(5px);border-color:#b9dcda;box-shadow:0 18px 40px rgba(7,31,61,.08)}
.public-home .value-card>span{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#e4f7f3,#edf4ff);color:var(--teal);font-size:11px;font-weight:950;letter-spacing:.1em}
.public-home .value-card h3{margin:1px 0 5px;color:var(--navy);font-size:18px}
.public-home .value-card p{margin:0;color:var(--muted);font-size:15px;line-height:1.65}
.public-home .trust-section{background:linear-gradient(180deg,#f7fafb,#fff)}
.public-home .gallery-grid{grid-template-columns:1.3fr 1fr 1fr;grid-auto-rows:230px;gap:14px}
.public-home .gallery-card{border-radius:20px;box-shadow:0 15px 40px rgba(7,31,61,.12)}
.public-home .gallery-card.large{grid-column:span 1;grid-row:span 2}
.public-home .gallery-card:last-child{grid-column:auto}
.public-home .gallery-classroom img{object-position:50% 38%}
.public-home .gallery-forum img{object-position:50% 32%}
.public-home .gallery-students img{object-position:50% 36%}
.public-home .gallery-award img{object-position:50% 42%}
.public-home .gallery-competition img{object-position:50% 22%}
.public-home .gallery-card img{transition:transform .5s ease,filter .5s ease}
.public-home .gallery-card:hover img{transform:scale(1.035);filter:saturate(1.04)}
.public-home .gallery-card:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(3,25,42,.72));pointer-events:none}
.public-home .gallery-card figcaption{z-index:1;left:17px;right:17px;bottom:15px;padding:0;background:transparent;border-radius:0;text-align:left;font-size:14px;line-height:1.35;box-shadow:none;backdrop-filter:none}
.public-home .section-dark{overflow:hidden;background:linear-gradient(135deg,#071d37 0,#0b3850 65%,#0c6667 120%)}
.public-home .section-dark:before{content:"H₂SO₄";position:absolute;right:3%;top:-35px;color:rgba(255,255,255,.035);font-size:170px;font-weight:950;letter-spacing:-.08em}
.public-home .steps-grid{position:relative;gap:13px}
.public-home .steps-grid:before{content:"";position:absolute;left:8%;right:8%;top:20px;height:1px;background:linear-gradient(90deg,transparent,rgba(133,230,219,.45),transparent)}
.public-home .steps-grid article{position:relative;min-height:240px;padding:27px 25px;border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.055);backdrop-filter:blur(9px)}
.public-home .steps-grid b{position:relative;z-index:1;width:44px;height:44px;background:#0f4f5e;color:#9ce5dc;border:1px solid rgba(160,231,222,.25);box-shadow:0 0 0 7px rgba(10,52,70,.9)}
.public-home .steps-grid h3{margin:35px 0 8px;font-size:19px}
.public-home .steps-grid p{margin:0;color:#c3d3dc;font-size:15px;line-height:1.65}
.public-home .schedule-grid{gap:16px}
.public-home .schedule-card,.public-home .loading-card,.public-home .empty-card{border-radius:22px;box-shadow:0 14px 34px rgba(7,31,61,.055)}
.public-home .schedule-card{border-top:4px solid #18a59b}
.public-home .material-card-grid{gap:16px}
.public-home .public-material-card{border-radius:23px;box-shadow:0 14px 34px rgba(7,31,61,.06)}
.public-home .reviews-grid{grid-template-columns:repeat(2,1fr)}
.public-home .review-card{min-height:280px;padding:28px;border-radius:23px;box-shadow:0 14px 34px rgba(7,31,61,.055);transition:transform .22s ease}
.public-home .review-card:hover{transform:translateY(-4px)}
.public-home .review-avatar{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#e4f7f3,#edf4ff);color:var(--teal);font-size:11px;font-weight:950}
.public-home .review-card .stars{margin:18px 0 13px;font-size:14px}
.public-home .review-card p{margin:0;font-size:16px;line-height:1.72}
.public-home .review-card strong{font-size:14px}
.public-home details{overflow:hidden;margin:10px 0;padding:0 22px;border-radius:15px;box-shadow:none;transition:border-color .2s ease,background .2s ease}
.public-home details[open]{border-color:#badfdd;background:#fbfefe}
.public-home summary{position:relative;padding:20px 38px 20px 0;list-style:none}
.public-home summary::-webkit-details-marker{display:none}
.public-home summary:after{content:"+";position:absolute;right:0;top:15px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#edf7f6;color:var(--teal);font-size:18px;transition:transform .2s ease}
.public-home details[open] summary:after{transform:rotate(45deg)}
.public-home .diagnostic-section{overflow:hidden;background:linear-gradient(145deg,#eef9f7,#f3f7ff)}
.public-home .diagnostic-grid{grid-template-columns:.85fr 1.15fr;gap:76px;align-items:center}
.public-home .diagnostic-copy{position:relative}
.public-home .diagnostic-grid h2{max-width:480px;font-size:clamp(43px,5vw,62px);letter-spacing:-.05em}
.public-home .diagnostic-grid>div>p{font-size:17px;line-height:1.7}
.public-home .diagnostic-copy ul{display:grid;gap:0;margin:28px 0;padding:0;list-style:none}
.public-home .diagnostic-copy li{display:flex;align-items:flex-start;gap:12px;margin:0;padding:13px 0;border-bottom:1px solid #dce8e8;color:#39546a;font-size:15px}
.public-home .diagnostic-copy li span{color:#0d9b94;font-size:10px;font-weight:900;letter-spacing:.12em;padding-top:3px}
.public-home .diagnostic-formula{position:absolute;left:-110px;bottom:-95px;color:rgba(8,31,61,.055);font-size:27px;font-weight:800;white-space:nowrap;transform:rotate(-5deg)}
.public-home .lead-form{gap:16px;padding:32px;border:1px solid rgba(203,224,225,.9);border-radius:28px;box-shadow:0 28px 70px rgba(7,31,61,.12)}
.public-home .lead-form-heading{padding-bottom:19px;border-bottom:1px solid #e6edef}
.public-home .lead-form-heading span{color:var(--teal);font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.public-home .lead-form-heading h3{margin:6px 0 5px;color:var(--navy);font-size:28px;line-height:1.15;letter-spacing:-.035em}
.public-home .lead-form-heading p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.public-home .form-reassurance{display:flex;justify-content:center;flex-wrap:wrap;gap:9px 18px;color:#617887;font-size:12px;font-weight:750}
.public-home .form-reassurance span{position:relative;padding-left:14px}
.public-home .form-reassurance span:before{content:"✓";position:absolute;left:0;color:#0d9b94;font-weight:900}
.public-home input,.public-home select,.public-home textarea{border-color:#d5e3e7;background:#f9fbfc;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.public-home input:focus,.public-home select:focus,.public-home textarea:focus{outline:0;border-color:#38aaa5;background:#fff;box-shadow:0 0 0 4px rgba(11,155,152,.1)}
.public-home .site-footer{background:#061a31;padding-top:65px}
.public-home .footer-grid{gap:70px}
.public-home .site-footer h3{font-size:13px;text-transform:uppercase;letter-spacing:.12em}
.public-home .site-footer a{font-size:14px;transition:color .2s ease}
.public-home .site-footer a:hover{color:#8adfd6}
.public-home .footer-bottom{font-size:12px}
.public-home .mobile-cta{display:none}
.public-home .reveal-ready{opacity:0;transform:translateY(18px);transition:opacity .58s ease,transform .58s ease}
.public-home .reveal-ready.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.public-home *{scroll-behavior:auto!important}.public-home .reveal-ready{opacity:1;transform:none;transition:none}.public-home .gallery-card img,.public-home .feature-card,.public-home .course-card,.public-home .review-card{transition:none}}
@media(max-width:1120px){
  .public-home .header-actions .button-cabinet{display:none}
  .public-home .main-nav{gap:19px}
  .public-home .hero-grid{grid-template-columns:1fr 450px;gap:44px}
  .public-home .hero h1{font-size:65px}
  .public-home .features-grid,.public-home .courses-grid,.public-home .reviews-grid{grid-template-columns:repeat(2,1fr)}
  .public-home .value-grid{gap:48px}
  .public-home .quiz-layout{gap:45px}
}
@media(max-width:1000px){
  .public-home .container{width:min(var(--container),calc(100% - 36px))}
  .public-home .site-header{position:sticky}
  .public-home .menu-toggle{display:flex;align-items:center;gap:9px;margin-left:auto;border:1px solid #dce8ea;background:#f5f9fa;color:var(--navy)}
  .public-home .menu-toggle i,.public-home .menu-toggle i:before,.public-home .menu-toggle i:after{display:block;width:16px;height:2px;border-radius:2px;background:currentColor;content:"";transition:transform .2s ease}
  .public-home .menu-toggle i:before{transform:translateY(-5px)}
  .public-home .menu-toggle i:after{transform:translateY(3px)}
  .public-home .menu-toggle[aria-expanded="true"] i{background:transparent}
  .public-home .menu-toggle[aria-expanded="true"] i:before{transform:translateY(1px) rotate(45deg)}
  .public-home .menu-toggle[aria-expanded="true"] i:after{transform:translateY(-1px) rotate(-45deg)}
  .public-home .main-nav{top:68px;left:18px;right:18px;gap:0;padding:12px;border-radius:18px}
  .public-home .main-nav a{padding:13px 10px;border-bottom:1px solid #edf2f3}
  .public-home .main-nav a:last-child{border-bottom:0}
  .public-home .main-nav a:after{display:none}
  .public-home .header-actions{margin-left:0}
  .public-home .hero{padding:66px 0 110px}
  .public-home .hero-grid{grid-template-columns:1fr;gap:50px}
  .public-home .hero-copy{max-width:720px;text-align:center;margin-inline:auto}
  .public-home .hero h1{max-width:760px;font-size:clamp(54px,10vw,76px)}
  .public-home .lead{margin-inline:auto}
  .public-home .hero-actions,.public-home .hero-note{justify-content:center}
  .public-home .hero-visual{width:min(650px,100%);margin-inline:auto}
  .public-home .stats-grid{grid-template-columns:repeat(2,1fr)}
  .public-home .stats-grid article:nth-child(3):before{display:none}
  .public-home .stats-grid article:nth-child(n+3){border-top:1px solid var(--line)}
  .public-home .quiz-layout{grid-template-columns:1fr;gap:38px}
  .public-home .quiz-intro{max-width:700px}
  .public-home .quiz-card{width:min(700px,100%);margin-inline:auto}
  .public-home .gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:230px}
  .public-home .gallery-card.large{grid-column:span 2;grid-row:span 1}
  .public-home .gallery-card:last-child{grid-column:span 1}
  .public-home .value-grid{grid-template-columns:1fr;gap:38px}
  .public-home .value-copy{max-width:700px}
  .public-home .diagnostic-grid{grid-template-columns:1fr;gap:45px}
  .public-home .diagnostic-copy{max-width:700px}
}
@media(max-width:640px){
  .public-home .container{width:min(100% - 28px,var(--container))}
  .public-home .header-inner{min-height:68px;gap:8px}
  .public-home .brand strong{font-size:15px}
  .public-home .brand small{display:none}
  .public-home .brand-mark{width:38px;height:38px;flex-basis:38px}
  .public-home .menu-toggle{font-size:0;padding:10px}
  .public-home .menu-toggle i{margin:0}
  .public-home .header-actions .button{display:none}
  .public-home .hero{padding:47px 0 92px}
  .public-home .hero h1{font-size:clamp(44px,14.2vw,62px);line-height:.97}
  .public-home .hero .eyebrow{font-size:11px;letter-spacing:.12em}
  .public-home .lead{font-size:16px;line-height:1.58}
  .public-home .hero-sub{font-size:14px}
  .public-home .hero-actions{display:grid}
  .public-home .hero .button{width:100%}
  .public-home .hero-note{text-align:left;justify-content:flex-start}
  .public-home .hero-visual{min-height:370px}
  .public-home .hero-shape{inset:15px 8px 4px 18px}
  .public-home .hero-visual img{width:96%;height:335px;border-radius:24px}
  .public-home .hero-format{right:0;top:7px;padding:10px 12px}
  .public-home .hero-score{left:0;bottom:0;width:130px;padding:12px 14px}
  .public-home .hero-score strong{font-size:36px}
  .public-home .molecule{display:none}
  .public-home .stats-grid{margin-top:-37px;border-radius:20px}
  .public-home .stats-grid article{min-height:100px;padding:18px 15px;gap:10px}
  .public-home .stats-grid article:nth-child(odd):before{display:none}
  .public-home .stat-number{font-size:30px}
  .public-home .stat-word{font-size:23px}
  .public-home .stats-grid p{font-size:12px}
  .public-home .section{padding:74px 0}
  .public-home .section-heading{margin-bottom:34px;text-align:left}
  .public-home .section-heading h2{font-size:36px}
  .public-home .section-heading p:last-child{font-size:16px}
  .public-home .features-grid,.public-home .courses-grid,.public-home .reviews-grid{grid-template-columns:1fr}
  .public-home .quiz-section{padding-top:72px}
  .public-home .quiz-intro h2{font-size:38px}
  .public-home .quiz-card{min-height:470px;padding:24px 18px;border-radius:23px}
  .public-home .quiz-start-screen,.public-home .quiz-result-screen,.public-home .quiz-question-screen{min-height:420px}
  .public-home .quiz-card h3{font-size:24px}
  .public-home .quiz-question-screen h3{font-size:21px}
  .public-home .quiz-options{grid-template-columns:1fr}
  .public-home .quiz-result-screen .button{min-width:0;width:100%}
  .public-home .feature-card{min-height:235px}
  .public-home .feature-card h3{margin-top:23px}
  .public-home .course-card{min-height:405px}
  .public-home .value-copy h2{font-size:37px}
  .public-home .value-card{grid-template-columns:44px 1fr;gap:14px;padding:19px 17px}
  .public-home .value-card>span{width:42px;height:42px}
  .public-home .gallery-grid{grid-template-columns:1fr;grid-auto-rows:230px}
  .public-home .gallery-card.large,.public-home .gallery-card:last-child{grid-column:auto}
  .public-home .gallery-competition img{object-position:50% 27%}
  .public-home .steps-grid:before{display:none}
  .public-home .steps-grid article{min-height:205px}
  .public-home .steps-grid h3{margin-top:25px}
  .public-home .review-card{min-height:210px}
  .public-home .diagnostic-grid h2{font-size:42px}
  .public-home .diagnostic-formula{display:none}
  .public-home .lead-form{padding:22px 18px;border-radius:22px}
  .public-home .lead-form-heading h3{font-size:25px}
  .public-home .footer-grid{gap:30px}
  .public-home .site-footer{padding-bottom:105px}
  .public-home .mobile-cta{position:fixed;z-index:70;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px 12px 17px;border:1px solid rgba(255,255,255,.18);border-radius:17px;background:rgba(8,31,61,.96);color:#fff;box-shadow:0 18px 45px rgba(3,20,39,.3);backdrop-filter:blur(16px)}
  .public-home .mobile-cta span,.public-home .mobile-cta strong,.public-home .mobile-cta small{display:block}
  .public-home .mobile-cta strong{font-size:14px}
  .public-home .mobile-cta small{margin-top:1px;color:#b3c4cf;font-size:11px}
  .public-home .mobile-cta b{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#15b4aa,#1c8bdb);font-size:18px}
}

/* DamirChem 5.3 — summer intensive */
.summer-promo-section{padding-top:30px;padding-bottom:30px;background:#f4f8fa}
.summer-promo{display:grid;grid-template-columns:1fr auto;gap:44px;align-items:center;padding:38px 42px;border-radius:30px;background:linear-gradient(135deg,#071f3d 0%,#0a5860 100%);color:#fff;box-shadow:0 25px 65px rgba(7,31,61,.17)}
.summer-promo h2{margin:7px 0 12px;font-size:clamp(34px,4vw,52px);line-height:1.04}.summer-promo p{max-width:780px;color:#d7e7eb;line-height:1.65}.summer-promo .eyebrow{color:#84ded5}
.summer-promo-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.summer-promo-tags span{padding:8px 12px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.08);font-size:14px;font-weight:800}
.summer-promo-action{display:grid;min-width:220px;justify-items:start}.summer-promo-action del{color:#adc4ca;font-size:20px}.summer-promo-action strong{margin:1px 0 15px;font-size:43px}.summer-promo-action small{margin-top:10px;color:#c6dadd;font-size:13px}
.intensive-hero{padding:100px 0 76px;background:radial-gradient(circle at 82% 22%,rgba(19,164,151,.18),transparent 33%),linear-gradient(145deg,#eff9f7,#f5f8fc)}
.intensive-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:70px;align-items:center}.intensive-hero h1{max-width:790px;font-size:clamp(65px,9vw,112px)}.intensive-kicker{margin:-13px 0 22px;color:var(--navy);font-size:clamp(23px,3vw,36px);font-weight:900;letter-spacing:-.035em}.intensive-hero .lead{max-width:820px}
.intensive-facts{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.intensive-facts span{padding:10px 14px;border:1px solid #cce4e3;border-radius:12px;background:rgba(255,255,255,.75);color:#24495b;font-size:15px;font-weight:850}
.intensive-price-card{display:grid;padding:32px;border:1px solid rgba(255,255,255,.18);border-radius:30px;background:linear-gradient(155deg,#071f3d,#0b5660);color:#fff;box-shadow:0 28px 70px rgba(7,31,61,.22);transform:rotate(1deg)}.intensive-price-card .price-label{color:#8ddfd7;font-size:13px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.intensive-price-card del{margin-top:16px;color:#abc2c9;font-size:24px}.intensive-price-card>strong{font-size:57px;letter-spacing:-.05em}.intensive-price-card>small{color:#d5e4e8}.intensive-price-card ul{display:grid;gap:10px;margin:24px 0;padding:19px 0;border-top:1px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(255,255,255,.15);list-style:none}.intensive-price-card li:before{content:'✓';margin-right:10px;color:#84ded5;font-weight:950}
.intensive-program{background:#fff}.intensive-days{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.intensive-days article{position:relative;min-height:220px;padding:25px;border:1px solid #dce9eb;border-radius:22px;background:#f8fbfc;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.intensive-days article:hover{transform:translateY(-3px);border-color:#9fd4d0;box-shadow:0 17px 38px rgba(7,31,61,.08)}.intensive-days article>b{float:right;color:#0b817b;font-size:14px}.intensive-days article>span{display:block;color:#67808e;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.intensive-days h3{margin:28px 0 9px;color:var(--navy);font-size:23px}.intensive-days p{margin:0;color:#536d7c;font-size:16px;line-height:1.62}.intensive-days .day-final{background:linear-gradient(145deg,#e7f7f3,#edf4ff);border-color:#9fd4d0}
.intensive-footer{padding-top:34px}.intensive-footnote{margin:0 0 42px;color:#8ca3ae;font-size:13px;line-height:1.6}.intensive-footer .footer-contact-link{display:inline-flex;margin-top:10px;color:#8adfd6;font-size:17px;font-weight:850}.intensive-footer .footer-bottom{align-items:center}
@media(max-width:900px){.summer-promo,.intensive-hero-grid{grid-template-columns:1fr}.summer-promo-action{grid-template-columns:auto auto;align-items:center;gap:8px 16px}.summer-promo-action .button{grid-column:1/-1}.intensive-price-card{width:min(520px,100%);transform:none}.intensive-days{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.summer-promo{padding:27px 20px;border-radius:22px}.summer-promo-action{grid-template-columns:1fr}.summer-promo-action .button{grid-column:auto;width:100%}.intensive-hero{padding:75px 0 50px}.intensive-hero h1{font-size:58px}.intensive-facts{display:grid}.intensive-price-card{padding:25px 21px}.intensive-days{grid-template-columns:1fr}.intensive-days article{min-height:0}.intensive-page .mobile-cta{display:flex}.intensive-footnote{margin-bottom:34px;font-size:12px}.intensive-footer .footer-bottom{align-items:flex-start}}

/* DamirChem 4.6 — dedicated OGE and EGE landing pages */
.program-page .program-hero h1{max-width:750px;font-size:clamp(55px,6vw,78px)}
.program-page .program-hero .hero-visual img{height:455px}
.program-page.program-oge .program-hero .hero-visual img{object-position:50% 42%}
.program-page.program-ege .program-hero .hero-visual img{object-position:50% 38%}
.program-page .program-float{left:-18px;bottom:13px;width:185px;padding:16px 18px;border-radius:19px}
.program-page .program-float small,.program-page .program-float span{display:block;color:var(--muted);font-size:11px;font-weight:750;line-height:1.35}
.program-page .program-float strong{display:block;margin:4px 0 2px;color:var(--navy);font-size:39px;line-height:1;letter-spacing:-.05em}
.program-page .program-stats .stats-grid{grid-template-columns:repeat(3,1fr)}
.program-page .program-stats .stats-grid article{justify-content:center}
.program-page .stat-price{font-size:30px;white-space:nowrap}
.program-page .included-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.program-page .included-grid article{position:relative;min-height:230px;padding:27px;border:1px solid #d8e8e9;border-radius:23px;background:linear-gradient(145deg,#fff,#f7fbfb);box-shadow:0 14px 36px rgba(7,31,61,.055);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.program-page .included-grid article:hover{transform:translateY(-4px);border-color:#bcdedb;box-shadow:0 20px 44px rgba(7,31,61,.085)}
.program-page .included-grid article>span{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;background:#e2f5f2;color:var(--teal);font-size:11px;font-weight:950;letter-spacing:.08em}
.program-page .included-grid h3{margin:36px 0 8px;color:var(--navy);font-size:20px;line-height:1.3}
.program-page .included-grid p{margin:0;color:var(--muted);font-size:15px;line-height:1.68}
.program-page .program-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.program-page .program-benefit-grid article{position:relative;min-height:260px;padding:28px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 14px 36px rgba(7,31,61,.055);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.program-page .program-benefit-grid article:hover{transform:translateY(-4px);border-color:#c5dfdf;box-shadow:0 21px 44px rgba(7,31,61,.09)}
.program-page .program-benefit-grid article>span{display:block;color:var(--teal);font-size:12px;font-weight:950;letter-spacing:.14em}
.program-page .program-benefit-grid h3{margin:52px 0 8px;color:var(--navy);font-size:21px;line-height:1.3}
.program-page .program-benefit-grid p{margin:0;color:var(--muted);font-size:15px;line-height:1.7}
.program-page .curriculum-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:76px;align-items:start}
.program-page .curriculum-copy{position:sticky;top:105px}
.program-page .curriculum-copy h2{margin:0 0 17px;color:var(--navy);font-size:clamp(40px,4.5vw,58px);line-height:1.05;letter-spacing:-.045em}
.program-page .curriculum-copy>p:not(.eyebrow){color:var(--muted);font-size:17px;line-height:1.7}
.program-page .curriculum-list{display:grid;gap:12px}
.program-page .curriculum-list article{display:grid;grid-template-columns:54px 1fr;gap:20px;padding:24px;border:1px solid #dce8eb;border-radius:22px;background:#fff;box-shadow:0 13px 32px rgba(7,31,61,.05)}
.program-page .curriculum-list article>b{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#e2f7f2,#edf4ff);color:var(--teal);font-size:11px;letter-spacing:.08em}
.program-page .curriculum-list article span{color:#7b8f9d;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.program-page .curriculum-list h3{margin:4px 0 6px;color:var(--navy);font-size:20px;line-height:1.35}
.program-page .curriculum-list p{margin:0;color:var(--muted);font-size:15px;line-height:1.65}
.program-page .program-proof-section{background:#fff}
.program-page .program-proof-grid{display:grid;grid-template-columns:.82fr 1.09fr 1.09fr;gap:16px;align-items:stretch}
.program-page .program-proof-grid .review-card{min-height:300px}
.program-page .proof-stat-card{display:flex;flex-direction:column;justify-content:flex-end;min-height:300px;padding:29px;border-radius:24px;background:linear-gradient(145deg,#071f3d,#0b5862);color:#fff;box-shadow:0 21px 50px rgba(7,31,61,.16)}
.program-page .proof-stat-card span{color:#8fded6;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.program-page .proof-stat-card strong{margin:42px 0 8px;font-size:37px;line-height:1.03;letter-spacing:-.045em}
.program-page .proof-stat-card p{margin:0;color:#c0d2da;font-size:14px;line-height:1.65}
.program-page .program-diagnostic .diagnostic-grid{align-items:center}
.program-page .program-diagnostic .lead-form{max-width:650px;margin-left:auto}
.program-page .program-diagnostic .lead-form input[type="hidden"]{display:none}
@media(max-width:1000px){
  .program-page .program-hero h1{font-size:clamp(52px,9vw,72px)}
  .program-page .included-grid{grid-template-columns:1fr 1fr}
  .program-page .program-benefit-grid{grid-template-columns:1fr 1fr}
  .program-page .program-benefit-grid article:last-child{grid-column:1/-1}
  .program-page .curriculum-layout{grid-template-columns:1fr;gap:38px}
  .program-page .curriculum-copy{position:static;max-width:720px}
  .program-page .program-proof-grid{grid-template-columns:1fr 1fr}
  .program-page .proof-stat-card{grid-column:1/-1;min-height:230px}
  .program-page .program-proof-grid .review-card{min-height:280px}
}
@media(max-width:640px){
  .program-page .program-hero h1{font-size:clamp(43px,13vw,58px)}
  .program-page .program-hero .hero-visual img{height:340px}
  .program-page .program-float{left:0;width:154px;padding:13px 14px}
  .program-page .program-float strong{font-size:33px}
  .program-page .program-stats .stats-grid{grid-template-columns:1fr}
  .program-page .program-stats .stats-grid article{justify-content:flex-start;border-top:1px solid var(--line)}
  .program-page .program-stats .stats-grid article:first-child{border-top:0}
  .program-page .program-stats .stats-grid article:before{display:none}
  .program-page .stat-price{font-size:27px}
  .program-page .included-grid{grid-template-columns:1fr}
  .program-page .included-grid article{min-height:205px;padding:22px 19px}
  .program-page .included-grid h3{margin-top:28px;font-size:19px}
  .program-page .program-benefit-grid{grid-template-columns:1fr}
  .program-page .program-benefit-grid article,.program-page .program-benefit-grid article:last-child{grid-column:auto;min-height:225px}
  .program-page .program-benefit-grid h3{margin-top:34px}
  .program-page .curriculum-copy h2{font-size:38px}
  .program-page .curriculum-list article{grid-template-columns:44px 1fr;gap:14px;padding:19px 17px}
  .program-page .curriculum-list article>b{width:42px;height:42px}
  .program-page .curriculum-list h3{font-size:18px}
  .program-page .program-proof-grid{grid-template-columns:1fr}
  .program-page .proof-stat-card{grid-column:auto;min-height:245px}
  .program-page .program-proof-grid .review-card{min-height:0}
}

/* DamirChem 5.0 — readable typography, lesson details, contacts and attendance */
body{font-size:17px}
.public-home .main-nav{font-size:15px}
.public-home .hero-sub{font-size:16px}
.public-home .hero-note p{font-size:15px}
.public-home .features-grid p,.public-home .course-card p,.public-home .value-card p,.public-home .steps-grid p,.program-page .program-benefit-grid p,.program-page .included-grid p,.program-page .curriculum-list p{font-size:16px}
.public-home .course-card ul{font-size:15px;line-height:1.55}
.public-home .course-card strong{font-size:20px}
.public-home .gallery-card figcaption{font-size:15px}
.public-home .review-card p{font-size:17px}
.public-home details p{font-size:16px;line-height:1.7}
.public-home summary{font-size:17px}
.app-body{font-size:16px}
.app-body .subtle{font-size:15px;line-height:1.6}
.app-body .button-small{font-size:15px}
.app-body .friendly-form label{font-size:15px}
.app-body .friendly-form input,.app-body .friendly-form select,.app-body .friendly-form textarea{font-size:16px}
.app-body .student-admin-info,.app-body .teacher-content-card>p,.app-body .material-card p{font-size:15px}
.app-body .mini-row h3{font-size:16px}
.app-body .mini-row p{font-size:14px}
.field-help{display:block;margin-top:6px;color:var(--muted);font-size:13px;font-weight:600;line-height:1.5}
.contact-form-section,.document-checks,.attendance-section{display:grid;gap:14px;padding:20px;border:1px solid #dbe8eb;border-radius:20px;background:#f7fbfc}
.contact-form-section h3,.document-checks h3,.attendance-section h3{margin:0;color:var(--navy)}
.parent-contact-card{display:grid;gap:11px;padding:16px;border:1px solid #dfeaec;border-radius:16px;background:#fff}
.parent-contact-card>strong{color:var(--teal)}
.document-checks .check-label{padding:0;font-weight:750}
.document-links{display:flex;flex-wrap:wrap;gap:8px 16px;padding-top:4px}
.document-links a{color:var(--blue);font-size:14px;font-weight:850}
.attendance-list{display:grid;gap:9px}
.attendance-row{display:grid;grid-template-columns:42px minmax(140px,1fr) minmax(155px,.75fr) minmax(150px,1fr);gap:10px;align-items:center;padding:11px;border:1px solid #e0eaed;border-radius:15px;background:#fff}
.attendance-row select,.attendance-row input{margin:0}
.attendance-person b,.attendance-person small{display:block}
.attendance-person small{color:var(--muted);font-size:12px}
.student-family-contacts{display:grid;gap:7px;margin:14px 0;padding:13px;border-radius:15px;background:#f5f9fa}
.student-family-contacts>b{color:var(--navy);font-size:14px}
.student-family-contacts p{display:grid;gap:2px;margin:0;padding-top:7px;border-top:1px solid #e2ebed}
.student-family-contacts p:first-of-type{border-top:0}
.student-family-contacts p strong{font-size:14px}
.student-family-contacts p span,.missing-contact{color:var(--muted);font-size:13px}
.student-doc-status{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 16px}
.student-doc-status span{padding:6px 8px;border-radius:999px;font-size:11px;font-weight:900}
.student-doc-status small{flex-basis:100%;color:var(--muted);font-size:12px;line-height:1.5}
.student-doc-status .ok{background:#e8f7ed;color:#257743}
.student-doc-status .missing{background:#fff0df;color:#91580d}
.student-event-main,.agenda-event-main{width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.student-calendar .calendar-event{cursor:default;padding:9px}
.student-calendar .student-event-main{display:block}
.student-calendar .student-event-main:hover span{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.month-day .student-event-main b,.month-day .student-event-main span{display:inline;font-size:10px}
.agenda-event-main h3,.agenda-event-main p{pointer-events:none}
.document-link-list{display:grid;gap:8px;margin-top:18px}
.document-link-list a{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border:1px solid #dce8ea;border-radius:13px;color:var(--navy);font-weight:800}
.document-link-list a:hover{border-color:#9bcfcb;color:var(--teal)}
.lesson-detail-modal{width:min(760px,100%)}
.lesson-detail-hero{display:grid;grid-template-columns:76px 1fr;gap:17px;align-items:center;padding:19px;border-radius:20px;background:linear-gradient(135deg,#e9f8f5,#edf4ff)}
.lesson-detail-date{width:70px;height:78px;display:grid;place-items:center;align-content:center;border-radius:18px;background:#fff;color:var(--teal);box-shadow:0 9px 24px rgba(7,31,61,.08)}
.lesson-detail-date strong{font-size:31px;line-height:1}
.lesson-detail-date span{font-size:12px;font-weight:900;text-transform:uppercase}
.lesson-detail-hero h3{margin:8px 0 4px;color:var(--navy);font-size:24px}
.lesson-detail-hero p{margin:0;color:var(--muted)}
.lesson-detail-section{padding:20px 2px;border-bottom:1px solid #e5edef}
.lesson-detail-section h3{margin:0 0 8px;color:var(--navy);font-size:18px}
.lesson-detail-section p{margin:0;color:#435d70;line-height:1.7}
.attendance-result{margin-top:14px;padding:15px;border:0;border-radius:15px;background:#eef7f8}
.attendance-result.present{background:#eaf8ee}.attendance-result.absent{background:#fff0f0}.attendance-result.late{background:#fff6e6}
.lesson-resource-list{display:grid;gap:8px}
.lesson-resource-list a{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #dce8eb;border-radius:14px;background:#fff}
.lesson-resource-list a>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eaf8f7;color:var(--teal)}
.lesson-resource-list a>div{flex:1}.lesson-resource-list b,.lesson-resource-list small{display:block}.lesson-resource-list small{color:var(--muted)}.lesson-resource-list em{font-style:normal;color:var(--teal);font-weight:900}
.lesson-detail-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:20px}
@media(max-width:760px){
  .attendance-row{grid-template-columns:42px 1fr}.attendance-row select,.attendance-row input{grid-column:1/-1}
  .lesson-detail-actions .button{width:100%}
}
@media(max-width:640px){
  body{font-size:16px}
  .public-home .features-grid p,.public-home .course-card p,.public-home .value-card p,.public-home .steps-grid p,.program-page .program-benefit-grid p,.program-page .included-grid p,.program-page .curriculum-list p{font-size:16px}
  .app-body .page-title{font-size:31px}
  .lesson-detail-hero{grid-template-columns:58px 1fr;padding:14px}.lesson-detail-date{width:56px;height:64px}.lesson-detail-date strong{font-size:26px}.lesson-detail-hero h3{font-size:20px}
}
.legal-page{background:#f3f8f9}
.legal-document{box-shadow:0 20px 60px rgba(7,31,61,.08)}
.legal-document h1{margin:0 0 24px;color:var(--navy);font-size:clamp(34px,5vw,52px);line-height:1.08;letter-spacing:-.035em}
.legal-document h2{margin:34px 0 12px;color:var(--navy);font-size:24px}
.legal-document p,.legal-document li{font-size:16px;line-height:1.78}
.legal-document mark{padding:2px 5px;border-radius:5px;background:#fff1c9;color:#684700}
.legal-warning{padding:18px 20px;border:1px solid #edcf83;border-radius:17px;background:#fff8e7;color:#644b16}
.legal-warning strong{font-size:18px}.legal-warning p{margin:6px 0 0}
.legal-details{padding:18px 20px;border-radius:17px;background:#f5f9fa}.legal-details p{margin:7px 0}
.legal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:32px;padding-top:24px;border-top:1px solid #e2ebed}
@media(max-width:640px){.legal-document{padding:20px 17px}.legal-document h2{font-size:21px}.legal-actions .button{width:100%}}
.local-page .local-price{display:block;margin-top:22px;color:var(--navy);font-size:22px}
.local-page .program-benefit-grid .text-link-arrow{margin-top:12px;font-size:14px}
.local-personal-offer{display:grid;grid-template-columns:1fr auto auto;gap:28px;align-items:center;margin-top:18px;padding:27px 29px;border-radius:24px;background:linear-gradient(135deg,#071f3d,#0b5862);color:#fff;box-shadow:0 20px 48px rgba(7,31,61,.16)}
.local-personal-offer h3{margin:4px 0 5px;font-size:25px}.local-personal-offer p{margin:0;color:#c5d6dd}.local-personal-offer .eyebrow{color:#91dfd6}.local-personal-offer>strong{font-size:30px;white-space:nowrap}.local-page .trust-section .gallery-card{min-height:390px}
@media(max-width:800px){.local-personal-offer{grid-template-columns:1fr}.local-personal-offer .button{width:max-content}}
@media(max-width:640px){.local-personal-offer{padding:22px 19px}.local-personal-offer .button{width:100%}.local-page .trust-section .gallery-card{min-height:300px}}

/* DamirChem 5.1 — legal document layout */
.login-legal-note{margin:14px 0;padding:13px 15px;border:1px solid #cfe3e5;border-radius:14px;background:#f3faf9;color:#355568;font-size:15px;line-height:1.6}
.legal-acceptance-card{width:min(920px,100%);max-height:calc(100vh - 36px);overflow:auto;padding:28px}
.legal-onboarding-head{display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:start;margin-bottom:22px;padding:20px;border-radius:20px;background:linear-gradient(135deg,#e7f7f3,#eef4ff)}
.legal-onboarding-head h2{margin:4px 0 8px;color:var(--navy);font-size:clamp(26px,4vw,38px);line-height:1.12}
.legal-onboarding-head p{margin:0;color:#496678;font-size:16px;line-height:1.6}
.legal-onboarding-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:17px;background:var(--teal);color:#fff;font-size:26px;font-weight:950;box-shadow:0 10px 25px rgba(12,130,118,.2)}
.legal-acceptance-form{display:grid;gap:17px}
.legal-form-section,.legal-document-confirmations{display:grid;gap:13px;padding:20px;border:1px solid #dbe8eb;border-radius:19px;background:#f8fbfc}
.legal-form-section h3,.legal-document-confirmations h3{margin:2px 0;color:var(--navy);font-size:21px}
.legal-document-confirmations .check-label{display:grid;grid-template-columns:22px 1fr;gap:11px;align-items:start;margin:0;padding:13px 14px;border:1px solid #dce7e9;border-radius:14px;background:#fff;color:#263f51;font-size:16px;font-weight:700;line-height:1.55}
.legal-document-confirmations .check-label input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--teal)}
.legal-document-confirmations .check-label a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.signature-explanation{padding:17px 19px;border-left:4px solid var(--teal);border-radius:0 15px 15px 0;background:#eef8f7;color:#355568}
.signature-explanation strong{display:block;margin-bottom:4px;color:var(--navy);font-size:17px}.signature-explanation p{margin:0;font-size:15px;line-height:1.65}
.legal-submit-button{width:100%;min-height:54px;font-size:17px}
.legal-exit-button{justify-self:center;color:#657d8d;font-size:15px}
.legal-acceptance-status{display:grid;gap:6px;margin:0 0 15px;padding:13px 14px;border-radius:14px;background:#f3f8f9;font-size:15px;line-height:1.5}
.legal-acceptance-status span{font-weight:900}.legal-acceptance-status small{display:block;color:var(--muted);font-size:13px}.legal-status-ok{color:#18714f}.legal-status-missing{color:#a24a25}
body.modal-open #legal-acceptance-modal.modal-locked{background:rgba(5,24,42,.72);backdrop-filter:blur(7px)}
@media(max-width:640px){
  .legal-acceptance-card{max-height:100vh;padding:15px;border-radius:0}
  .legal-onboarding-head{grid-template-columns:1fr;padding:17px}.legal-onboarding-icon{width:46px;height:46px}
  .legal-form-section,.legal-document-confirmations{padding:16px 14px}
  .legal-document-confirmations .check-label{font-size:15px}
}

/* DamirChem 5.2 — larger text, parent signing link and family access */
body{font-size:18px}
.public-home .main-nav{font-size:16px}
.public-home .hero-sub,.public-home .hero-note p{font-size:17px}
.public-home .features-grid p,.public-home .course-card p,.public-home .value-card p,.public-home .steps-grid p,.program-page .program-benefit-grid p,.program-page .included-grid p,.program-page .curriculum-list p{font-size:17px}
.public-home .course-card ul{font-size:16px;line-height:1.6}
.public-home .review-card p,.public-home details p,.program-page details p{font-size:18px}
.public-home summary,.program-page summary{font-size:18px}
.app-body{font-size:17px}
.app-body .subtle{font-size:16px}
.app-body .friendly-form label{font-size:16px}
.app-body .student-admin-info,.app-body .teacher-content-card>p,.app-body .material-card p{font-size:16px}
.app-body .mini-row h3{font-size:17px}.app-body .mini-row p{font-size:15px}
.field-help{font-size:14px}
.consent-invite-section{display:grid;gap:13px;padding:20px;border:1px solid #b9dbd8;border-radius:20px;background:linear-gradient(135deg,#eef9f7,#f3f7ff)}
.consent-invite-section h3{margin:2px 0;color:var(--navy)}
.invite-copy-row{display:grid;grid-template-columns:1fr auto;gap:10px}.invite-copy-row input{margin:0;min-width:0}
.consent-sign-page{min-height:100vh;background:linear-gradient(145deg,#edf8f6,#f4f7fc 55%,#e9f3fb)}
.consent-sign-shell{width:min(980px,calc(100% - 32px));margin:0 auto;padding:28px 0 60px}
.consent-sign-brand{display:inline-flex;margin:0 0 22px}
.consent-form-card{padding:28px}.consent-form-card .legal-onboarding-head h1{margin:4px 0 8px;color:var(--navy);font-size:clamp(28px,4vw,42px);line-height:1.12}
.consent-form-card #consent-students{display:grid;gap:17px}.consent-form-card .legal-form-section h2,.consent-form-card .legal-document-confirmations h2{margin:2px 0;color:var(--navy);font-size:22px}
.consent-security-note{display:flex;justify-content:space-between;gap:12px;margin:0 0 17px;padding:14px 16px;border-radius:14px;background:#eaf7f4;color:#315e60;font-size:15px}
.consent-security-note strong{color:#126e68}.consent-state-card{max-width:680px;margin:40px auto;padding:36px;text-align:center}.consent-state-card h1{color:var(--navy)}
.consent-success-icon{display:grid;width:72px;height:72px;place-items:center;margin:0 auto 20px;border-radius:24px;background:#dff5e8;color:#16764b;font-size:38px;font-weight:950}
@media(max-width:640px){
  body{font-size:17px}.app-body{font-size:17px}.public-home .hero-sub,.public-home .hero-note p{font-size:16px}
  .consent-sign-shell{width:min(100% - 18px,980px);padding-top:14px}.consent-form-card{padding:15px}.consent-form-card .legal-onboarding-head h1{font-size:29px}
  .consent-security-note{display:grid}.invite-copy-row{grid-template-columns:1fr}.invite-copy-row .button{width:100%}
}
