:root{
  --digital-bg:#eef3f7;--digital-surface:#f9fbfd;--digital-panel:#ffffffcc;--digital-ink:#142333;
  --digital-muted:#617285;--digital-line:#d6e0e8;--digital-accent:#246b86;--digital-accent-2:#4b8d8a;
  --digital-navy:#102536;--digital-glow:#78b5c733;--digital-good:#31735f;--digital-warn:#936c34;
  font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--digital-ink);background:var(--digital-bg)
}
body{min-height:100vh;background:
  linear-gradient(#7a9aaa0d 1px,transparent 1px),linear-gradient(90deg,#7a9aaa0d 1px,transparent 1px),
  radial-gradient(circle at 82% 8%,#91b9c627 0,transparent 34rem),#eef3f7;background-size:36px 36px,36px 36px,auto,auto}
body,body *{user-select:none;caret-color:transparent}
input,textarea,[contenteditable="true"],[contenteditable="true"] *{user-select:text;caret-color:auto}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(135deg,#fff9,transparent 38%,#d9e8ee42);z-index:-1}
.site-shell{max-width:1360px;padding:0 32px}.site-header{top:12px;margin-top:12px;padding:11px 14px;border:1px solid #cbd8e1;border-radius:16px;background:#f8fbfdd9;box-shadow:0 12px 34px #223d4d12;backdrop-filter:blur(18px)}
.brand{font-size:clamp(1.22rem,1.8vw,1.46rem);font-weight:780;letter-spacing:-.025em}.brand-button{padding:4px 8px 4px 2px;border-radius:12px;text-decoration:none;transition:color .18s ease,background-color .18s ease,transform .18s ease}.brand-button:hover{background:#edf4f6;color:#174f67;transform:translateY(-1px)}.brand-button:focus-visible{outline:3px solid #8fb7c566;outline-offset:3px}.brand-mark{width:46px;height:46px;border-radius:0;background-color:transparent;background-image:url('./assets/brand-logo-v2.png');background-repeat:no-repeat;background-position:center;background-size:contain;color:transparent;transform:none;filter:drop-shadow(0 5px 8px #10253618)}.brand strong{color:var(--digital-accent)}
.header-stat-button,.profile-button{border:1px solid #cedae2;border-radius:11px;background:#f8fbfd;color:#324b5d;box-shadow:none}.profile-button:hover{border-color:#8fb7c5;background:#f0f7f9;color:#174f67}.profile-avatar{width:38px;height:38px;background-color:#e5eef2;color:transparent}.header-stat-button>span:first-child{color:#4e8786}
.primary-button{border:1px solid var(--digital-navy);border-radius:10px;background:var(--digital-navy);color:#fff;box-shadow:0 8px 20px #10253620;transition:.18s ease}.primary-button:hover{background:#18394e;transform:translateY(-1px)}
.secondary-button{border:1px solid #bccbd5;border-radius:10px;background:#f8fbfd;color:#294b5f}.text-button{color:#28667f;text-decoration:none;border-bottom:1px solid #8db5c4}.eyebrow{color:#47778a;font-size:.72rem;letter-spacing:.18em}

/* Главная */
.landing-view{padding:34px 0 26px}.landing-hero{grid-template-columns:minmax(0,.92fr) minmax(430px,1.08fr);min-height:590px;padding:52px clamp(26px,4vw,58px);border:1px solid #cbd9e2;border-radius:24px;background:linear-gradient(125deg,#fbfdfe 0%,#f5f9fb 52%,#e6eff4 100%);box-shadow:0 26px 70px #243f5014}.landing-hero::before{width:300px;height:300px;left:auto;right:-150px;bottom:-170px;background:#6b9eaa14;border:1px solid #7da9b72b}.landing-copy h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(2.65rem,5vw,5rem);font-weight:720;line-height:1.01;letter-spacing:-.06em;color:#102536}.landing-copy h1 em{color:#397a8e}.landing-lead{color:#5e7282;max-width:620px}.landing-actions{max-width:520px;gap:9px}.landing-button{min-height:76px;padding:13px 15px;border:1px solid #cbd7df;border-radius:13px;background:#fbfdfe;color:#20394a;box-shadow:none}.landing-button:hover{transform:translateX(4px);border-color:#8fb6c3;box-shadow:0 10px 26px #233e4e12}.landing-button>span.landing-action-icon:first-child{width:44px;height:44px;border-radius:10px;background-color:#e5edf2;color:transparent;box-shadow:inset 0 0 0 1px #cbd9e1}.landing-button-primary{background:#102536;border-color:#102536;color:#fff}.landing-button-primary>span.landing-action-icon:first-child{background-color:#dce9eb;box-shadow:inset 0 0 0 1px #7ca1aa}.landing-button-primary small{color:#aebfc9}.landing-button-accent{background:#edf4f5;border-color:#c7dadd}.landing-button small{color:#728390}.guest-explainer{border-left-color:#588b91;border-radius:0 9px 9px 0;background:#eaf2f3;color:#52666e}.landing-art-wrap{min-height:460px;display:flex;align-items:center}.landing-art{width:118%;margin-left:-9%;filter:drop-shadow(0 22px 35px #36586b18)}.art-sticker{border:1px solid #9bb5c0;border-radius:9px;background:#f7fbfc;color:#315363;box-shadow:0 8px 20px #29445013}.art-sticker-one{transform:none}.art-sticker-two{background:#e8f1f0;transform:none}.landing-benefits{gap:12px}.landing-benefits article{padding:18px;border:1px solid #d0dbe3;border-radius:15px;background:#f9fbfdc9}.landing-benefits h2{color:#1f3d50}.landing-benefits p{color:#6a7c89}
.curriculum-source-note{margin:12px 0 0;padding:0 2px;color:#607481;font-size:.78rem;line-height:1.5}.curriculum-source-note a{color:#2f7185;font-weight:700;text-decoration-thickness:1px;text-underline-offset:3px}.curriculum-source-note a:hover{color:#245c6d}

/* Предметы и темы */
.subject-home{padding-top:42px}.home-heading h1,.study-title-row h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-weight:720;letter-spacing:-.045em}.subject-grid{gap:12px}.subject-card{min-height:132px;padding:20px;border:1px solid #cfdae2;border-radius:16px;background:#f9fbfdcc;box-shadow:0 8px 24px #1e3a4a0a}.subject-card:hover{transform:translateY(-2px);border-color:#8eafbc;box-shadow:0 14px 30px #1e3a4a14}.subject-card-icon,.subject-heading-icon{background-image:url('./assets/subject-icons-digital.png')!important;background-repeat:no-repeat!important;background-size:500% 200%!important;background-color:transparent!important;border-radius:0!important}.subject-card-icon{width:58px;height:58px}.subject-heading-icon{width:54px;height:54px}.subject-art-russian{background-position:0 0!important}.subject-art-literature{background-position:25% 0!important}.subject-art-math{background-position:50% 0!important}.subject-art-world{background-position:75% 0!important}.subject-art-english{background-position:100% 0!important}.subject-art-physics{background-position:0 100%!important}.subject-art-chemistry{background-position:25% 100%!important}.subject-art-biology{background-position:50% 100%!important}.subject-art-geography{background-position:75% 100%!important}.subject-art-history{background-position:100% 100%!important}.subject-card-body strong{color:#18364a}.subject-card-body small{color:#6f808d}.subject-card-progress i{background:#e1e9ee}.subject-card-progress em{background:#4a8790}.subject-card-arrow{color:#4a7d90}.guest-level-pill{border:1px solid #d1dde2;background:#eef3f5;color:#56707c}
.guest-banner{border:1px solid #c7d9dd;border-radius:13px;background:#eaf2f3;color:#50656e}.guest-banner-icon{border-radius:9px;background:#406f7c}.study-view{padding-top:26px}.study-heading{margin-bottom:18px}.study-title-row{gap:14px}.workspace{grid-template-columns:286px minmax(0,1fr);gap:14px}.topics-panel,.exercise-panel{border:1px solid #cedae2;border-radius:17px;background:#f9fbfdde;box-shadow:0 16px 42px #263e4d0d}.topics-panel{padding:15px}.panel-heading{margin:3px 5px 13px;color:#425e6f}.topic-list{gap:5px}.topic-button{min-height:66px;padding:9px;border:1px solid transparent;border-radius:11px;color:#294657}.topic-button:hover{background:#edf3f6}.topic-button.active{border-color:#b9d1da;background:#e6f0f3;color:#174c62}.topic-icon{width:42px!important;height:42px!important;border-radius:9px!important;background-color:#e8eff3!important}.topic-art{background-image:url('./assets/topic-icons-digital.png')!important;background-repeat:no-repeat!important;background-size:600% 200%!important}.topic-art-0{background-position:0 0!important}.topic-art-1{background-position:20% 0!important}.topic-art-2{background-position:40% 0!important}.topic-art-3{background-position:60% 0!important}.topic-art-4{background-position:80% 0!important}.topic-art-5{background-position:100% 0!important}.topic-art-6{background-position:0 100%!important}.topic-art-7{background-position:20% 100%!important}.topic-art-8{background-position:40% 100%!important}.topic-art-9{background-position:60% 100%!important}.topic-art-10{background-position:80% 100%!important}.topic-art-11{background-position:100% 100%!important}.topic-meta small{color:#81909b}.topic-score{border-color:#cbd8df;background:#f6fafb;color:#487183}.level-note{margin-top:14px;border:1px solid #d4dfe4;border-radius:11px;background:#eef3f5;color:#5c707b}

/* Вопрос */
.exercise-panel{padding:27px 31px 31px}.exercise-topline{padding-bottom:10px;border-bottom:1px solid #dce5ea}.topic-label{padding:6px 10px;border:1px solid #c9dce2;border-radius:7px;background:#edf5f6;color:#315f70;font-size:.76rem;letter-spacing:.03em}.level-label{font-variant-numeric:tabular-nums;color:#6f818d}.level-track{gap:4px;margin:11px 0 22px}.level-track span{height:3px;background:#dfe7eb}.level-track span.filled{background:#4b8791}.question-card{margin-bottom:20px;border:1px solid #cbd8e0;border-radius:15px;background:#f5f9fb;box-shadow:none}.question-prompt{padding:26px;background:transparent}.question-prompt h2{margin:0 0 13px;color:#66808e;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:.76rem;font-weight:750;letter-spacing:.16em;text-transform:uppercase}.question-card .exercise-text{font-size:clamp(1.3rem,2.25vw,2rem);line-height:1.45;color:#142f40}.exercise-visual{border:1px solid #d4dfe5;border-radius:13px;background:#f3f7f9}.choice-list{gap:8px}.choice-button{min-height:56px;border:1px solid #cbd8e0;border-radius:11px;background:#fafdfe;color:#263f50;font-weight:680}.choice-button:hover:not(:disabled){border-color:#6f9eaf;background:#edf5f7}.choice-button.correct-choice{border-color:#77a997;background:#e9f3ef;color:#2e6654}.choice-button.wrong-choice{border-color:#bb8b84;background:#f6eeee;color:#834e48}.answer-row input{border:1px solid #beced8;border-radius:10px;background:#fbfdfe}.answer-row input:focus{border-color:#6d9bab;box-shadow:0 0 0 4px #8db7c525}.feedback{border:1px solid transparent;border-radius:10px;font-weight:650}.feedback.good{border-color:#bfdbd0;background:#eaf4f0;color:#326b58}.feedback.try{border-color:#decda9;background:#f6f1e6;color:#7b643b}
.explanation{border:1px solid #cbd9df;border-radius:14px;background:#f5f9fa}.explanation .explanation-title{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#17394b;font-size:1.45rem}.explanation-card{border-color:#d4e0e5;border-radius:10px;background:#fbfdfe}.explanation-source{background:#f3f6f7;border-color:#d7e1e5}.explanation-answer{background:#e9f2ef;border-color:#c7ddd5}.explanation-steps{border:1px solid #d4e1e6;border-radius:10px;background:#edf4f6}.explanation-why,.explanation-memory{border-left-color:#688f9a;border-radius:0 9px 9px 0;background:#edf3f5}.explanation-memory{border-left-color:#668b78;background:#edf3ef}.explanation .result{border-radius:9px;background:#18384b}

/* Диалоги и кабинеты */
.app-dialog{border:0;border-radius:18px;background:transparent}.app-dialog::backdrop{background:#0c1b27a8;backdrop-filter:blur(5px)}.dialog-card{border:1px solid #ccd9e1;border-radius:18px;background:#f8fbfd;box-shadow:0 28px 80px #07131d38}.dialog-eyebrow{color:#54798a}.dialog-close{border:1px solid #d2dde3;background:#edf3f5;color:#536b78}.form-stack input,.form-stack select,.dialog-card input{border:1px solid #bdced8;border-radius:9px;background:#fbfdfe}.form-stack input:focus,.form-stack select:focus,.dialog-card input:focus{border-color:#6898aa;box-shadow:0 0 0 4px #80aebd26}.compact-form,.stats-card,.stats-subject,.user-card,.admin-user-form{border-color:#d0dce3;border-radius:12px;background:#f5f9fb}.profile-grade-button{border:1px solid #cad8e0;border-radius:10px}.profile-grade-button.selected{border-color:#6c9bac;background:#e8f2f5}.profile-grade-button.selected strong{background:#315e72}.stats-subject{border-top-color:#5f8e9d}.user-card{box-shadow:none}.form-actions{border-top-color:#d6e1e6}
footer{color:#70828e}
.ui-art{background-image:url('./assets/topic-icons-digital.png')!important;background-size:600% 200%!important}.ui-art-topic{background-position:0 0!important}.ui-art-question{background-position:60% 0!important}.ui-art-block{background-position:40% 0!important}.ui-art-progress{background-position:20% 100%!important}

@media(max-width:1050px){.landing-hero{grid-template-columns:1fr;min-height:auto}.landing-art-wrap{min-height:auto}.landing-art{width:100%;margin:0}.workspace{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:850px){.site-shell{padding:0 18px}.workspace{grid-template-columns:1fr}.topics-panel{padding:14px}.topic-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.site-shell{padding:0 12px}.site-header{position:static;align-items:stretch}.header-brand-group{align-items:stretch}.landing-hero{padding:28px 19px;border-radius:18px}.landing-copy h1{font-size:clamp(2.35rem,12vw,3.4rem)}.landing-art-wrap{min-height:250px}.landing-benefits{grid-template-columns:1fr}.subject-card{padding:15px}.topic-list{grid-template-columns:1fr}.exercise-panel{padding:20px 15px}.question-prompt{padding:20px 16px}.question-card .exercise-text{font-size:1.2rem}.explanation-overview{grid-template-columns:1fr}}

/* Плавное соединение главной иллюстрации с фоном первого экрана */
.landing-art-wrap{isolation:isolate;overflow:visible}
.landing-art{
  filter:saturate(.78) contrast(.94) brightness(1.025) drop-shadow(0 20px 32px #36586b12);
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 10%,#000 90%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 10%,#000 90%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%
}
@media(max-width:1050px){.landing-art{
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 14%,#000 88%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 14%,#000 88%,transparent 100%)
}}

/* Навигация, выбор класса и единая геометрия кнопок */
.nav-icon{display:inline-block;width:28px;height:28px;flex:none;background-image:url('./assets/navigation-icons.png')!important;background-repeat:no-repeat!important;background-size:400% 200%!important;background-color:transparent!important;border-radius:0!important}
.nav-icon-grades{background-position:0 0!important}.nav-icon-profile{background-position:33.333% 0!important}.nav-icon-stats{background-position:66.666% 0!important}.nav-icon-logout{background-position:100% 0!important}.nav-icon-login{background-position:0 100%!important}.nav-icon-register{background-position:33.333% 100%!important}.nav-icon-subjects{background-position:66.666% 100%!important}.nav-icon-edit{background-position:100% 100%!important}
.action-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.action-icon-button::before{content:"";display:inline-block;width:24px;height:24px;flex:none;background-image:url('./assets/action-icons.png');background-repeat:no-repeat;background-size:400% 200%}.action-back::before{background-position:0 0}.action-check::before{background-position:33.333% 0}.action-hint::before{background-position:66.666% 0}.action-refresh::before{background-position:100% 0}.action-forward::before{background-position:0 100%}.action-close::before{background-position:33.333% 100%}.action-save::before{background-position:66.666% 100%}.action-cancel::before{background-position:100% 100%}.dialog-close.action-icon-button{font-size:0;padding:6px}.dialog-close.action-icon-button::before{width:24px;height:24px}.exercise-actions .text-button{min-height:44px}.step-back.action-icon-button{min-height:42px}.guest-register-button{min-height:50px}
.header-actions{gap:8px}.header-menu-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:7px 12px;border:1px solid #cedae2;border-radius:11px;background:#f8fbfd;color:#294657;font-weight:780;white-space:nowrap;transition:.18s ease}.header-menu-button:hover{border-color:#8fb7c5;background:#edf4f6;color:#174f67;transform:translateY(-1px)}.header-menu-button .nav-icon{width:30px;height:30px}.header-logout-button{color:#754f4a}.header-logout-button:hover{border-color:#c8aaa5;background:#f7eeee;color:#77443e}.menu-count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#e4eff1;color:#315f70;font-size:.72rem;font-variant-numeric:tabular-nums}.profile-button{min-height:48px}
.grade-view{padding:54px 0 38px}.grade-heading{max-width:760px;margin:0 auto 28px;text-align:center}.grade-heading h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(2.2rem,5vw,4rem);font-weight:720;letter-spacing:-.055em}.grade-heading .intro-copy{margin:0 auto}.grade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:980px;margin:0 auto}.grade-card{display:grid;grid-template-columns:66px minmax(0,1fr) 28px;align-items:center;gap:16px;min-height:122px;padding:20px 22px;border:1px solid #cedbe3;border-radius:17px;background:#f9fbfd;color:#18364a;text-align:left;box-shadow:0 10px 28px #203b4c0c;transition:.18s ease}.grade-card:hover{transform:translateY(-3px);border-color:#82abb9;background:#f0f6f8;box-shadow:0 16px 34px #203b4c16}.grade-card-icon{width:62px;height:62px}.grade-card>span:nth-child(2){display:grid;gap:6px}.grade-card strong{font-size:1.3rem}.grade-card small{color:#6f818d;line-height:1.4}.grade-card-arrow{color:#4a8790;font-size:1.35rem;font-weight:800}
.section-title-with-icon{display:flex;align-items:center;gap:13px}.section-title-with-icon>.nav-icon{width:48px;height:48px}.section-title-with-icon h3,.section-title-with-icon p{margin:0}.section-title-with-icon p{margin-top:4px;color:#647e8d}.profile-edit-form{max-width:none}.profile-edit-form>#profile-school-fields{display:grid;gap:11px}.action-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px}.action-button>.nav-icon{width:30px;height:30px}.primary-button,.secondary-button{min-height:50px}
.stats-grade-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:6px;border:1px solid #d1dde3;border-radius:13px;background:#edf3f5}.stats-grade-switch button{min-height:44px;border:1px solid transparent;border-radius:9px;background:transparent;color:#5f7480;font-weight:800}.stats-grade-switch button:hover{background:#f8fbfd;color:#315d70}.stats-grade-switch button.active{border-color:#a9c4cf;background:#fff;color:#174f67;box-shadow:0 4px 12px #203b4c10}.stats-subject-icon{display:inline-block;width:42px!important;height:42px!important;flex:none;background-color:transparent!important}.stats-topic-icon{background-color:#edf4f6!important;background-repeat:no-repeat!important;background-size:600% 200%!important}
@media(max-width:900px){body.is-authenticated .site-header{flex-wrap:wrap}body.is-authenticated .header-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-left:0}body.is-authenticated .header-menu-button{width:100%}}
@media(max-width:680px){.grade-view{padding-top:34px}.grade-grid{grid-template-columns:1fr}.grade-card{min-height:108px;padding:16px}.stats-grade-switch{grid-template-columns:repeat(2,1fr)}body.is-authenticated .header-menu-button{min-height:60px;padding:6px 5px;gap:3px;font-size:.72rem;white-space:normal}body.is-authenticated .header-menu-button .menu-label{line-height:1.15;text-align:center}.header-menu-button .nav-icon{width:24px;height:24px}.menu-count{min-width:21px;height:21px;padding:0 4px}}
.optional-label{margin-left:6px;color:#81919a;font-size:.76rem;font-weight:600}
@media(max-width:430px){body.is-authenticated .header-menu-button{gap:5px}.menu-count{display:none}.grade-card{grid-template-columns:56px minmax(0,1fr) 22px}.grade-card-icon{width:52px;height:52px}}

/* Уточнения интерфейса: гостевой режим, диалоги, прогресс и админка */
.landing-button-primary{background:#376d7f;border-color:#376d7f;color:#fff}
.landing-button-primary:hover{border-color:#2e6173;background:#2e6173}
.landing-button-primary>span.landing-action-icon:first-child{background-color:#e8f1f2;box-shadow:inset 0 0 0 1px #91afb8}
.landing-button-primary small{color:#d8e6ea}
.login-submit-button{border-color:#376d7f;background:#376d7f}
.login-submit-button:hover{border-color:#2e6173;background:#2e6173}
.soft-primary-button{border-color:#376d7f;background:#376d7f;color:#fff}
.soft-primary-button:hover{border-color:#2e6173;background:#2e6173}
.subject-home>#back-to-grades{margin-bottom:22px}
.exercise-context{margin:0 0 13px;padding:12px 14px;border:1px solid #d3dfe5;border-radius:9px;background:#eef4f6;color:#425f6e;font-size:.92rem;line-height:1.5}
.feedback+.next-button{margin-top:12px}
.nav-icon-start{background-position:0 0!important}
.profile-button{border-color:#b8d1da;background:#fff;color:#21485c}
.profile-button:hover{border-color:#82aeba;background:#f1f8fa;color:#174f67}
.profile-avatar{background-color:#edf5f7}
.guest-banner-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.guest-banner-actions .secondary-button{white-space:nowrap}
.guest-login-button,.guest-register-button{min-height:50px}
.level-label{font-weight:750;color:#526d7b;white-space:nowrap}

.dialog-close.action-icon-button{display:block;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #c6d6df;border-radius:12px;background:#f7fbfc;font-size:0;overflow:hidden;transition:.18s ease}
.dialog-close.action-icon-button:hover{border-color:#91afba;background:#e7f0f3;transform:rotate(4deg)}
.dialog-close.action-icon-button::before,.dialog-close.action-icon-button::after{content:"";position:absolute;left:10px;top:18px;display:block;width:18px;height:2px;background:#456575;border-radius:2px}
.dialog-close.action-icon-button::before{background-image:none;transform:rotate(45deg)}
.dialog-close.action-icon-button::after{transform:rotate(-45deg)}

.danger-button{min-height:50px;padding:12px 16px;border:1px solid #d5aaa5;border-radius:10px;background:#fbf3f2;color:#8a4a46;font-weight:800}
.danger-button:hover{border-color:#bd817b;background:#f6e7e5;color:#753d39}
.action-delete::before{background-image:url('./assets/delete-icon.svg');background-position:center;background-size:contain}
.admin-user-actions{align-items:center}
.form-actions-spacer{flex:1}

.cookie-notice{position:fixed;left:50%;bottom:20px;z-index:80;display:flex;align-items:center;gap:18px;width:min(760px,calc(100vw - 32px));padding:16px 18px;border:1px solid #afc5cf;border-radius:14px;background:#f9fcfded;color:#314d5c;box-shadow:0 18px 54px #1025362b;backdrop-filter:blur(16px);transform:translateX(-50%)}
.cookie-notice[hidden]{display:none}
.cookie-notice p{margin:0;flex:1;font-size:.88rem;line-height:1.5}
.cookie-accept-button{min-width:105px;min-height:44px;padding:10px 18px;border:1px solid #356b7e;border-radius:9px;background:#356b7e;color:#fff;font-weight:800}
.cookie-accept-button:hover{background:#2b5b6d}

@media(max-width:760px){.guest-banner-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%}.guest-banner-actions .secondary-button{width:100%}.cookie-notice{bottom:12px;align-items:stretch;flex-direction:column;gap:12px}.cookie-accept-button{width:100%}.exercise-topline{align-items:flex-start;flex-direction:column}.level-label{white-space:normal}.admin-user-actions .form-actions-spacer{display:none}}
@media(max-width:480px){.guest-banner-actions{grid-template-columns:1fr}}
