:root{
  color:#101828;
  background:#f7f6f2;
  font-family:"Aptos","Segoe UI Variable","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:16px;
  --ink:#101828;
  --muted:#4b5b73;
  --deep:#0b1224;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --primary-live:#0f4fd9;
  --aqua:#14b8a6;
  --aqua-soft:#d9fbf6;
  --lavender:#eef4ff;
  --paper:#fffefb;
  --page:#f7f6f2;
  --blue-soft:#edf6ff;
  --blue:#1e5bff;
  --green:#15936b;
  --danger:#b42318;
  --line:#dedbd2;
  --surface:#fffefb;
  --shadow:0 28px 80px rgba(15,23,42,.16);
  --shadow-soft:0 14px 34px rgba(15,23,42,.09);
  --r12:12px;
  --r16:16px;
  --r24:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  margin:0;
  min-height:100vh;
  overflow-x:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 8% 14%,rgba(20,184,166,.11),transparent 22rem),
    radial-gradient(circle at 88% 78%,rgba(37,99,235,.10),transparent 24rem),
    linear-gradient(135deg,#f7f6f2 0%,#f5f4f0 52%,#fbfaf6 100%);
}
body::before{
  content:"";
  position:fixed;
  inset:auto -8rem -10rem auto;
  width:28rem;
  height:28rem;
  z-index:-1;
  pointer-events:none;
  border-radius:50%;
  background:radial-gradient(circle,rgba(20,184,166,.13),transparent 68%);
  filter:blur(22px);
  opacity:.75;
}
body::after{content:none;display:none}

body.modal-open{overflow:hidden}
button{
  min-height:44px;
  border:1px solid var(--line);
  border-radius:var(--r12);
  background:#fffefb;
  color:var(--ink);
  padding:10px 16px;
  cursor:pointer;
  font-weight:800;
  transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;
}
button:hover{border-color:#d2d8e2;box-shadow:var(--shadow-soft);transform:translateY(-1px)}
button:active{transform:translateY(0)}
button:disabled{cursor:not-allowed;opacity:.58;box-shadow:none;transform:none}
button[data-busy=true]{position:relative;pointer-events:none;padding-right:44px}
button[data-busy=true]::after{
  content:"";
  position:absolute;
  top:50%;
  right:16px;
  width:18px;
  height:18px;
  margin-top:-9px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:spin .7s linear infinite;
}
a{color:var(--deep);font-weight:800;text-decoration:none}
a:hover{text-decoration:underline}
[hidden]{display:none!important}
.primary,.small-primary{
  position:relative;
  overflow:hidden;
  border-color:transparent;
  background:linear-gradient(90deg,#18bfb2 0%,#16b9be 34%,#2280e8 72%,#2563eb 100%);
  background-origin:border-box;
  color:#fff;
  box-shadow:0 12px 28px rgba(37,99,235,.22);
}
.primary:hover,.small-primary:hover{background:linear-gradient(90deg,#13aa9f 0%,#10aeb8 34%,#1f72dc 72%,#1d4ed8 100%);border-color:transparent;box-shadow:0 16px 34px rgba(37,99,235,.28)}
.small-primary{min-height:40px;padding:9px 14px}
.ghost-button{background:rgba(255,255,255,.7);color:var(--deep);border-color:#d8d5ca}
.full-width{width:100%}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:min(1160px,calc(100% - 32px));
  margin:0 auto;
  padding:10px 0;
  animation:fadeIn .36s ease-out both;
}
.topbar::before{
  content:"";
  position:fixed;
  inset:0 0 auto;
  height:70px;
  z-index:-1;
  background:rgba(255,254,251,.9);
  border-bottom:1px solid rgba(222,219,210,.82);
  box-shadow:0 8px 26px rgba(15,23,42,.045);
  backdrop-filter:blur(14px);
}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink)}
.brand img{width:38px;height:38px;object-fit:contain;border-radius:10px;animation:logoIn .42s ease-out both}
.brand strong{display:block;font-size:22px;font-weight:950;line-height:1;color:#071126}
.brand small{display:block;margin-top:4px;color:#526179;font-size:12px;font-weight:750}
.top-actions{display:flex;align-items:center;gap:10px}
.top-actions a{display:inline-flex;align-items:center;min-height:36px;padding:8px 14px;border:1px solid #d8d5ca;border-radius:999px;background:rgba(255,255,255,.58);color:#344054;font-size:13px;box-shadow:none}
.menu-button{display:none;width:44px;padding:0;background:#fff}
.menu-button span{display:block;width:18px;height:2px;margin:4px auto;border-radius:999px;background:var(--ink)}
.icon-button{position:relative;display:inline-grid;place-items:center;width:44px;padding:0;border-radius:50%}
.icon-button svg,.feature-icon{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.icon-button svg{width:20px;height:20px}
#badge{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:22px;
  padding:2px 6px;
  border-radius:999px;
  background:var(--danger);
  color:#fff;
  font-size:12px;
}

main{width:min(1160px,100%);margin:0 auto;padding:22px 16px 30px}
h1,h2,h3,p{margin-top:0}
h1{font-family:"Segoe UI Variable Display","Segoe UI",Inter,system-ui,sans-serif;font-size:clamp(38px,4vw,52px);line-height:1.05;letter-spacing:-.04em;margin-bottom:18px;font-weight:950;color:#091120}
h2{font-family:"Aptos Display","Segoe UI Variable Display","Segoe UI",Inter,system-ui,sans-serif;font-size:clamp(24px,2.4vw,34px);line-height:1.1;margin-bottom:10px;font-weight:950;color:#0b1224;letter-spacing:-.035em}
h3{font-size:18px;margin-bottom:8px}
p{color:var(--muted);line-height:1.65}
small{color:var(--muted);line-height:1.5}
mark{padding:0;background:linear-gradient(90deg,#2563eb,#14b8a6);-webkit-background-clip:text;background-clip:text;color:transparent;font-style:normal}
.eyebrow,.form-kicker{
  display:inline-flex;
  color:#1d4ed8;
  font-size:12px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.message{
  position:fixed;
  top:86px;
  right:max(16px,calc((100vw - 1160px)/2));
  z-index:40;
  width:min(292px,calc(100vw - 32px));
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:10px;
  padding:13px 14px;
  border:1px solid #f0aaa4;
  border-radius:14px;
  background:#fff1f0;
  color:var(--danger);
  box-shadow:0 18px 44px rgba(180,35,24,.13);
  font-size:13px;
  font-weight:750;
}
.message-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fee4e2;color:var(--danger);font-weight:950}
.message .ghost-button{grid-column:2;justify-self:start;min-height:30px;padding:5px 9px;border-color:#f0aaa4;background:#fffafa;color:var(--danger);font-size:12px;box-shadow:none}
.message.info-message{border-color:#9ee7dd;background:#ecfffc;color:#0f766e;box-shadow:0 18px 44px rgba(15,118,110,.10)}
.message.info-message .message-icon{background:var(--aqua-soft);color:#0f766e}
.message.info-message .ghost-button{border-color:#9ee7dd;color:#0f766e}

.home{display:grid;min-height:calc(100vh - 122px)}
.hero{
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(340px,.72fr);
  gap:46px;
  align-items:center;
  min-height:calc(100vh - 122px);
  padding:28px 0 42px;
}
.hero-copy{max-width:650px;animation:rise .42s ease-out both}
.hero-copy h1{max-width:820px;text-wrap:balance}
.hero-copy h1 span{display:block}
.hero-copy p{max-width:520px;font-size:18px;color:#344054;font-weight:520}
.promo-blocks{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  width:min(590px,100%);
  margin-top:28px;
}
.promo-blocks article{
  --block-start:#0f9fda;
  --block-end:#14b8a6;
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-height:104px;
  padding:15px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:16px;
  background:linear-gradient(135deg,var(--block-start),var(--block-end));
  box-shadow:0 16px 34px rgba(37,99,235,.15);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  color:#fff;
  overflow:hidden;
}
.promo-blocks article::after{
  content:"";
  position:absolute;
  inset:auto -22px -34px auto;
  width:88px;
  height:88px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
}
.promo-blocks article:nth-child(1){--block-start:#0d9488;--block-end:#06b6d4}
.promo-blocks article:nth-child(2){--block-start:#2563eb;--block-end:#06b6d4}
.promo-blocks article:nth-child(3){--block-start:#1e3a8a;--block-end:#14b8a6}
.promo-blocks article:nth-child(4){--block-start:#1d4ed8;--block-end:#0d9488}
.promo-blocks article:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.55);
  box-shadow:0 20px 42px rgba(37,99,235,.19);
}
.promo-blocks svg{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  width:36px;
  height:36px;
  padding:8px;
  border-radius:11px;
  background:rgba(255,255,255,.9);
  color:#0f766e;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  box-shadow:0 8px 20px rgba(15,23,42,.10);
  transition:transform .18s ease;
}
.promo-blocks article:hover svg{transform:translateY(-1px)}
.promo-blocks div{position:relative;z-index:1}
.promo-blocks strong{
  display:block;
  margin-bottom:4px;
  color:#fff;
  font-size:16px;
  letter-spacing:-.02em;
  font-weight:950;
  text-shadow:0 1px 1px rgba(15,23,42,.12);
}
.promo-blocks small{
  display:block;
  color:rgba(255,255,255,.9);
  font-size:13px;
  font-weight:720;
}
.progress-detail{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  width:min(390px,100%);
  margin-top:28px;
  color:#344054;
  font-size:14px;
  font-weight:850;
}
.progress-detail::before{
  content:"";
  position:absolute;
  left:8px;
  right:138px;
  top:8px;
  height:2px;
  background:#344054;
  opacity:.22;
}
.progress-detail span{
  z-index:1;
  width:17px;
  height:17px;
  border:3px solid #f7f6f2;
  border-radius:50%;
  background:#344054;
  box-shadow:0 5px 14px rgba(15,23,42,.14);
}
.progress-detail span:nth-child(2){background:#2563eb}
.progress-detail span:nth-child(3){background:#14b8a6}
.progress-detail strong{margin-left:2px;color:var(--deep)}
.login-panel{
  position:relative;
  display:flex;
  justify-content:flex-end;
  animation:slideIn .48s ease-out .1s both;
}
.login-card,.auth-card,.panel-card,.card{
  border:1px solid var(--line);
  border-radius:var(--r24);
  background:rgba(255,255,255,.9);
  box-shadow:var(--shadow-soft);
}
.login-card{
  position:relative;
  z-index:1;
  width:min(390px,100%);
  padding:28px;
  border-radius:24px;
  border:1px solid rgba(222,219,210,.9);
  background:rgba(255,254,251,.88);
  box-shadow:0 28px 70px rgba(15,23,42,.16);
  backdrop-filter:blur(16px);
  transition:transform .18s ease,box-shadow .18s ease;
}
.login-panel::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-14px;
  width:min(320px,78%);
  height:72%;
  border-radius:28px;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.68);
  box-shadow:0 26px 70px rgba(15,23,42,.12);
  filter:blur(.2px);
  pointer-events:none;
}
.login-card:hover{transform:translateY(-2px);box-shadow:0 32px 82px rgba(15,23,42,.18)}
.login-card > img{display:block;width:42px;height:42px;margin-bottom:14px;border-radius:12px;box-shadow:0 10px 26px rgba(37,99,235,.14)}
.login-card h2{margin:8px 0 8px;font-size:clamp(27px,2.5vw,34px);letter-spacing:-.04em;line-height:1.05}
.login-card p{margin-bottom:20px;line-height:1.55;color:#475467}

dialog{border:0}
#note-modal::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(4px)}
label{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin:13px 0 7px;
  color:#111827;
  font-size:14px;
  font-weight:850;
}
input,select,textarea{
  width:100%;
  min-width:0;
  min-height:46px;
  border:1px solid #d7d3c8;
  border-radius:12px;
  background:#f7f6f2;
  color:var(--ink);
  padding:11px 13px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{outline:0;border-color:#14b8a6;box-shadow:0 0 0 4px rgba(20,184,166,.16);background:#fffefb}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid rgba(20,184,166,.26);outline-offset:3px}
.password-field{position:relative;display:block}
.field-icon{position:absolute;right:7px;top:50%;display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:10px;color:#475467;background:transparent;box-shadow:none;transform:translateY(-50%)}
.field-icon:hover,.field-icon:active{border-color:transparent;background:#eef4ff;box-shadow:none;transform:translateY(-50%)}
.field-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.field-error{display:block;min-height:18px;margin:6px 0 0;color:var(--danger);font-size:13px;font-weight:800}
.field-error[hidden]{display:none!important}
.form-row{display:flex;justify-content:flex-end;margin:0 0 14px}
.form-row a{color:#1d4ed8;font-size:13px;font-weight:850}
.login-error{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:8px;
  margin:2px 0 14px;
  padding:9px 10px;
  border:1px solid #f0aaa4;
  border-radius:12px;
  background:#fff1f0;
  color:var(--danger);
}
.login-error span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#ffe1e5;font-weight:900}
.login-error p{margin:0;color:var(--danger);font-size:13px;line-height:1.4;font-weight:800}
.help-text{display:block;margin-top:13px;font-size:12px;color:#667085}
.account-card{width:min(520px,100%);margin:70px auto;padding:28px}
.account-tools{display:grid;gap:12px;margin-top:24px;padding-top:22px;border-top:1px solid #d9ddff}
.account-tools h3,.account-tools p{margin:0}
.danger-button{border:1px solid #b42318;background:#fff;color:#b42318;box-shadow:none}
.danger-button:hover{background:#fff1f0;border-color:#912018}
.danger-button:disabled{opacity:.55;cursor:not-allowed}
.student-card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.student-card-actions button{flex:1 1 180px}

.app-shell{display:grid;grid-template-columns:252px minmax(0,1fr);gap:22px;align-items:start}
.sidebar{
  position:static;
  min-height:calc(100vh - 124px);
  padding:16px;
  border:1px solid #d9ddff;
  border-radius:24px;
  background:#f7f8ff;
  box-shadow:var(--shadow-soft);
}
.sidebar-profile{display:flex;align-items:center;gap:12px;padding:10px 8px 18px;border-bottom:1px solid #d9ddff}
.avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,var(--primary),var(--aqua));color:#fff;font-weight:900}
.sidebar-profile strong{display:block}
.sidebar-profile small{display:block;margin-top:3px}
.side-nav{display:grid;gap:8px;margin-top:18px}
.side-nav button{text-align:left;border-color:transparent;background:transparent;color:#526170;box-shadow:none}
.side-nav button:hover,.side-nav button.active{background:#fff;color:var(--primary);box-shadow:none}
.workspace-main{min-width:0}
.dashboard-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
  padding:26px;
  border-radius:24px;
  background:linear-gradient(135deg,#fff,#f0eeff);
  border:1px solid #d9ddff;
  box-shadow:var(--shadow-soft);
}
.dashboard-hero h1{font-size:clamp(30px,3.2vw,46px);margin:8px 0 10px}
.dashboard-hero p{max-width:720px;margin-bottom:0}
.hero-action{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:210px}
.pill{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:var(--aqua-soft);color:#0f766e;font-size:13px;font-weight:900}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.stat-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft)}
.stat-card span{display:grid;place-items:center;width:34px;height:34px;margin-bottom:12px;border-radius:11px;background:var(--lavender);color:var(--primary);font-size:12px;font-weight:900}
.stat-card strong{display:block;font-size:28px;color:var(--ink)}
.stat-card small{display:block;margin-top:4px}
.panel-card,.card{padding:24px;margin:18px 0}
.summary-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 14px;
}
.summary-chips span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 11px;
  border-radius:999px;
  background:#eef4ff;
  color:#243b53;
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
}
.chart-bars{
  display:flex;
  align-items:end;
  gap:16px;
  min-height:178px;
  padding:14px 4px 2px;
  overflow-x:auto;
}
.chart-col{
  display:grid;
  grid-template-rows:120px auto auto;
  justify-items:center;
  align-items:end;
  min-width:58px;
  gap:6px;
}
.chart-col svg{
  display:block;
  grid-row:1;
  align-self:end;
}
.chart-col b{
  grid-row:2;
  color:#101828;
  font-size:14px;
  line-height:1;
}
.chart-col small{
  grid-row:3;
  color:#667085;
  font-size:11px;
  line-height:1.2;
  white-space:nowrap;
}
.exam-card{padding:0;overflow:hidden}
.exam-card>h3,.exam-card>small,.exam-card>.exam-details{margin-left:24px;margin-right:24px}
.exam-card>h3{margin-top:22px}
.exam-card>.exam-details{margin-bottom:22px}
.exam-collapse{padding:0}
.exam-collapse summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:58px;
  padding:17px 22px;
  cursor:pointer;
  list-style:none;
}
.exam-collapse summary::-webkit-details-marker{display:none}
.exam-collapse summary::after{
  content:"⌄";
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:999px;
  background:#eef4ff;
  color:var(--primary);
  font-weight:950;
  transition:transform .18s ease;
}
.exam-collapse[open] summary::after{transform:rotate(180deg)}
.exam-collapse summary strong{font-size:16px;color:#101828}
.exam-collapse summary small{margin-left:auto;color:#667085;white-space:nowrap}
.exam-details{
  padding:0 22px 22px;
  border-top:1px solid var(--line);
}
.exam-details p{margin:12px 0 0}
.section-heading,.welcome,.actions,.rowform{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.section-offset{margin-top:22px}
.section-title{margin:24px 0 10px}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 16px}
.tabs button{background:#fff}
.tabs button.active{background:#243b53;color:#fff;border-color:#243b53}
.rowform{align-items:end;justify-content:flex-start}
.rowform label{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin:13px 0 7px;
  color:#111827;
  font-size:14px;
  font-weight:850;
}
footer{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  padding:20px 16px 88px;
  color:#667085;
  font-size:14px;
}
footer a{color:#667085}
.legal-page{width:min(960px,calc(100% - 32px));margin:36px auto 72px}
.legal-page .panel-card{display:grid;gap:14px}
.legal-page h1,.legal-page h2,.legal-page p{margin:0}
.legal-page h2{margin-top:14px;color:#20266f}
.legal-page a{color:var(--primary);font-weight:700}

@keyframes spin{to{transform:rotate(360deg)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes logoIn{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes slideIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:translateX(0)}}
@keyframes ambientGlow{from{transform:translate3d(-8px,-6px,0)}to{transform:translate3d(10px,8px,0)}}
.login-card .form-kicker{
  color:#667085;
  font-size:11px;
  letter-spacing:.14em;
  opacity:.72;
}
#message-text::before{
  content:"Hata";
  display:block;
  margin-bottom:2px;
  color:#7a271a;
  font-weight:950;
}
.message.info-message #message-text::before{content:"Bilgi";color:#0f766e}
.password-field input{padding-right:48px}
.login-card .primary.full-width{min-height:48px;border-radius:13px;margin-top:2px;font-size:15px}

@media(min-width:1440px){
  .hero{gap:56px}
}
@media(max-width:1023px){
  .home{min-height:auto}
  .hero{grid-template-columns:1fr;min-height:auto;padding:34px 0 42px;gap:30px}
  .hero-copy{max-width:720px}
  .login-panel{justify-content:flex-start}
  .login-card{width:min(410px,100%)}
  .login-panel::after{left:0;right:auto;width:min(340px,76%)}
  .app-shell{grid-template-columns:1fr}
  .sidebar{position:static;min-height:0}
  .side-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-hero{align-items:flex-start;flex-direction:column}
  .hero-action{align-items:flex-start}
}
@media(max-width:767px){
  .topbar{width:min(100% - 24px,1160px);min-height:66px}
  .topbar::before{height:66px}
  .brand small{display:none}
  .brand img{width:34px;height:34px}
  .brand strong{font-size:21px}
  .menu-button{display:block}
  .top-actions{
    position:absolute;
    top:64px;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#fffefb;
    box-shadow:var(--shadow);
  }
  .top-actions.open{display:flex}
  .top-actions a,.top-actions button{width:100%;text-align:left;justify-content:flex-start}
  main{padding:18px 12px 30px}
  h1{font-size:clamp(31px,8.8vw,40px);letter-spacing:-.035em;line-height:1.08}
  .hero{gap:26px;padding:24px 4px 34px}
  .hero-copy p{font-size:16px;line-height:1.58}
  .promo-blocks{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px;gap:10px}
  .promo-blocks article{min-height:122px;padding:13px;flex-direction:column;gap:8px}
  .promo-blocks svg{width:34px;height:34px}
  .promo-blocks strong{font-size:14px}
  .promo-blocks small{font-size:12px;line-height:1.35}
  .progress-detail{margin-top:24px}
  .progress-detail::before{right:130px}
  .login-panel{justify-content:center}
  .login-panel::after{right:0;left:auto;bottom:-12px;width:84%;height:68%}
  .login-card{width:100%;padding:24px;border-radius:22px}
  .login-card:hover{transform:none}
  .grid,.stat-grid{grid-template-columns:1fr}
  .panel-card,.card,.account-card{padding:18px;border-radius:18px}
  .message{top:78px;right:12px;width:calc(100% - 24px);max-width:292px;grid-template-columns:auto 1fr}
  .message .ghost-button{grid-column:2}
  .side-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rowform{align-items:stretch}
  .rowform label{min-width:130px}
  .tabs button{flex:1}
  table{min-width:760px}
  footer{padding-bottom:94px}
}
@media(max-width:420px){
  body::before{opacity:.45}
  body::after{content:none;display:none}
  .hero{padding-left:0;padding-right:0}
  .promo-blocks{grid-template-columns:1fr}
  .promo-blocks article{min-height:104px;padding:13px}
  .login-card{padding:22px 18px}
  .side-nav{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}







