/* ROTA arayüz sistemi — sakin, odaklı ve mobil öncelikli. */

@font-face {
  font-family: "Dosis";
  src: url("../fonts/Dosis-Variable.6559888681b8.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink-950: #111827;
  --ink-900: #172033;
  --ink-800: #24304a;
  --ink-700: #394761;
  --ink-600: #53617a;
  --ink-500: #6d7890;
  --line: #dfe5ef;
  --line-strong: #cdd6e5;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --primary: #4558d9;
  --primary-strong: #3446bd;
  --primary-soft: #e9ecff;
  --teal: #087f72;
  --teal-soft: #dff7f1;
  --petrol: #0b6b52;
  --petrol-soft: #e2f4ec;
  --amber: #a85d00;
  --amber-soft: #fff3d9;
  --red: #b63541;
  --red-soft: #ffeaed;
  --sidebar: #111a33;
  --sidebar-text: #e8edff;
  --sidebar-muted: #96a3c3;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(30, 45, 82, .05);
  --shadow-md: 0 18px 50px rgba(25, 39, 78, .12);
  --radius-sm: .65rem;
  --radius: 1rem;
  --radius-lg: 1.4rem;
  --sidebar-width: 16.5rem;
  --content-width: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 20rem; scroll-behavior: smooth; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: #f2f5fa;
  color: var(--ink-900);
  font: 400 1rem/1.6 "Segoe UI Variable", "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary-strong); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--primary); }
:focus-visible { outline: .2rem solid rgba(69, 88, 217, .34); outline-offset: .18rem; }
::selection { background: #cfd6ff; color: var(--ink-950); }

.skip {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-950);
  box-shadow: var(--shadow-md);
  transform: translateY(-200%);
  transition: transform .16s ease;
}
.skip:focus { transform: translateY(0); }

/* Application shell */
.app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); min-height: 100vh; }

.app-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 1.25rem 1rem 1rem;
  overflow: hidden;
  background: radial-gradient(circle at 15% 0%, rgba(91, 108, 234, .28), transparent 28%), linear-gradient(165deg, #131e3a 0%, var(--sidebar) 72%);
  color: var(--sidebar-text);
}

.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .25rem .25rem 1.4rem; }
.sidebar-heading .brand { flex: 1 1 auto; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: .8rem;
  background: linear-gradient(145deg, #6576f0, #3f50c6);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 750;
  box-shadow: 0 .55rem 1.4rem rgba(27, 40, 109, .34);
}
.brand-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-copy strong { font-size: 1.02rem; letter-spacing: -.015em; }
.brand-copy small { margin-top: .18rem; color: var(--sidebar-muted); font-size: .75rem; line-height: 1.25; }
.role-chip {
  flex: 0 0 auto;
  padding: .25rem .55rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #c9d2ed;
  font-size: .72rem;
  font-weight: 650;
}

.app-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .2rem;
  min-height: 0;
  padding: .25rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.nav-caption { margin: 0 0 .45rem; padding: 0 .7rem; color: var(--sidebar-muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 2.8rem;
  padding: .64rem .72rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  color: #bdc7e3;
  font-size: .91rem;
  font-weight: 560;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.nav-link:hover { border-color: rgba(255,255,255,.07); background: rgba(255,255,255,.06); color: #fff; }
.nav-link.is-active { border-color: rgba(126, 140, 255, .28); background: linear-gradient(135deg, rgba(102, 119, 241, .27), rgba(72, 88, 196, .17)); color: #fff; box-shadow: inset .18rem 0 0 #7c8cff; }
.nav-icon { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; color: currentColor; }
.nav-icon svg, .logout-button svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.sidebar-user {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
  padding: .72rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: .9rem;
  background: rgba(255,255,255,.055);
}
.user-avatar { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .72rem; background: var(--teal); color: #fff; font-size: .86rem; font-weight: 750; text-decoration: none; }
.user-avatar:hover { color: #fff; box-shadow: 0 0 0 .16rem rgba(93,224,180,.18); }
.user-copy { display: flex; flex-direction: column; min-width: 0; color: inherit; line-height: 1.25; text-decoration: none; }
.user-copy strong { overflow: hidden; color: #f7f8ff; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.user-copy small { margin-top: .15rem; color: var(--sidebar-muted); font-size: .73rem; }
.user-copy:hover strong, .user-copy[aria-current="page"] strong { color: #fff; }
.sidebar-user form { margin: 0; }
.logout-button { display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: .6rem; background: transparent; color: var(--sidebar-muted); cursor: pointer; }
.logout-button:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Çalışma alanı değiştirici (yalnızca birden fazla üyelikte görünür) */
.workspace-switch { margin-top: 1rem; }
.workspace-switch ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.workspace-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: .7rem;
  color: var(--sidebar-text);
  font-size: .8rem;
  font-weight: 650;
  text-decoration: none;
}
.workspace-option:hover { border-color: rgba(64,213,189,.32); background: rgba(255,255,255,.06); color: #fff; }
.workspace-option.is-current { border-color: rgba(64,213,189,.42); background: rgba(64,213,189,.12); color: #fff; }
.workspace-option-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-option small { flex: 0 0 auto; color: #9fe6d7; font-size: .68rem; font-weight: 650; }
.workspace-card { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.workspace-card h2 { margin-bottom: 0; }
.workspace-card p { margin: 0; color: var(--ink-600); font-size: .9rem; }
.workspace-card .btn { margin-top: auto; }

.hasbahce-brand-logo { width: min(100%, 13rem); max-height: 4.25rem; padding: .45rem .55rem; border-radius: .75rem; background: #fff; object-fit: contain; box-shadow: 0 .6rem 1.6rem rgba(0, 31, 33, .2); }

.app-main {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  flex-direction: column;
  background: radial-gradient(circle at 98% 0%, rgba(69, 88, 217, .08), transparent 24rem), #f2f5fa;
}
.wrap { width: min(100%, var(--content-width)); margin: 0 auto; padding: 2.15rem clamp(1rem, 3vw, 3.2rem) 4rem; flex: 1 0 auto; }
.foot { width: min(100%, var(--content-width)); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 3.2rem) 1.5rem; color: var(--ink-500); font-size: .78rem; }
.foot p { margin: 0; }

/* Type and content */
h1, h2, h3, h4 { color: var(--ink-950); font-weight: 720; line-height: 1.2; letter-spacing: -.025em; }
h1 { margin: 0 0 .45rem; font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
h2 { margin: 1.8rem 0 .7rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
h3 { margin: 1.25rem 0 .5rem; font-size: 1rem; letter-spacing: -.012em; }
h4 { margin: 1rem 0 .4rem; font-size: .95rem; }
p { margin: 0 0 1rem; }
.lead { max-width: 54rem; margin: 0 0 1.6rem; color: var(--ink-600); font-size: 1rem; }
.eyebrow { display: inline-block; margin-bottom: .6rem; color: var(--primary); font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--ink-600); }
.small { font-size: .875rem; }
strong { font-weight: 680; }
ul, ol { margin: .55rem 0 1rem; padding-left: 1.35rem; }
li + li { margin-top: .35rem; }

/* Layout and surfaces */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  min-width: 0;
  margin: 0 0 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(205, 214, 229, .88);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card h2 { margin-top: 0; font-size: 1.08rem; }
.card h3:first-child { margin-top: 0; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.spread { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; margin-bottom: .35rem; }
.spread h1, .spread h2, .spread p { margin-bottom: 0; }
.empty { margin: .75rem 0 0; padding: .95rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-soft); color: var(--ink-600); font-size: .9rem; }

/* Tables */
table { width: 100%; margin: .35rem 0 0; border-spacing: 0; border-collapse: separate; font-size: .91rem; }
.wrap > table { padding: .3rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
th, td { padding: .78rem .72rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--surface-soft); color: var(--ink-600); font-size: .75rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
thead th:first-child { border-radius: .65rem 0 0 .65rem; }
thead th:last-child { border-radius: 0 .65rem .65rem 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color .14s ease; }
tbody tr:hover { background: rgba(238, 242, 255, .48); }

/* Status */
.badge { display: inline-flex; align-items: center; min-height: 1.55rem; padding: .18rem .58rem; border: 1px solid #d4dafd; border-radius: 999px; background: var(--primary-soft); color: var(--primary-strong); font-size: .75rem; font-weight: 680; line-height: 1.25; white-space: nowrap; }
.badge-ok { border-color: #bce7dc; background: var(--teal-soft); color: #06665d; }
.badge-warn { border-color: #f2d698; background: var(--amber-soft); color: #8a4c00; }
.badge-danger { border-color: #f2c6cc; background: var(--red-soft); color: #a02836; }
.badge-muted { border-color: var(--line); background: #edf0f5; color: var(--ink-600); }
.badge-petrol { border-color: #b7e0d0; background: var(--petrol-soft); color: var(--petrol); }

/* Forms and actions */
form p { margin: 0 0 1rem; }
label { display: block; margin-bottom: .38rem; color: var(--ink-800); font-size: .875rem; font-weight: 680; }
input[type="text"], input[type="password"], input[type="email"], input[type="date"], input[type="number"], input[type="url"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: .68rem .78rem;
  border: 1px solid var(--line-strong);
  border-radius: .72rem;
  background: var(--surface);
  color: var(--ink-950);
  box-shadow: 0 1px 2px rgba(17, 24, 39, .025);
  transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease;
}
textarea { min-height: 7.5rem; resize: vertical; }
select { cursor: pointer; }
input:hover, select:hover, textarea:hover { border-color: #abb7ca; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: 0; box-shadow: 0 0 0 .22rem rgba(69, 88, 217, .12); }
input[type="checkbox"], input[type="radio"] { width: 1.08rem; height: 1.08rem; margin: 0 .35rem 0 0; accent-color: var(--primary); }
.helptext { display: block; margin-top: .3rem; color: var(--ink-500); font-size: .79rem; }
.errorlist { margin: .3rem 0; padding: 0; list-style: none; color: var(--red); font-size: .84rem; font-weight: 600; }
.form-error { margin-bottom: 1rem; padding: .8rem .9rem; border: 1px solid #efbcc4; border-radius: .72rem; background: var(--red-soft); color: #992936; font-size: .88rem; }

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 2.65rem;
  padding: .6rem 1rem;
  border: 1px solid var(--primary);
  border-radius: .72rem;
  background: linear-gradient(135deg, #5265e5, var(--primary));
  color: #fff;
  box-shadow: 0 .45rem 1rem rgba(69, 88, 217, .16);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 670;
  line-height: 1.25;
  text-decoration: none;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
button:hover, .btn:hover { color: #fff; box-shadow: 0 .65rem 1.4rem rgba(69, 88, 217, .23); transform: translateY(-1px); }
button:active, .btn:active { transform: translateY(0); }
button.secondary, .btn.secondary { border-color: var(--line-strong); background: var(--surface); color: var(--ink-800); box-shadow: none; }
button.secondary:hover, .btn.secondary:hover { border-color: #b9c2d4; background: var(--surface-soft); color: var(--primary-strong); box-shadow: none; }
button.danger, .btn.danger { border-color: var(--red); background: var(--red); }
.btn-block { width: 100%; }
.inline-form { display: inline-flex; margin: 0; }
.inline-form select { width: auto; min-height: 2.25rem; padding: .35rem 2rem .35rem .6rem; font-size: .82rem; }
.form-action { margin-top: .65rem; }
.link-btn { min-height: auto; padding: 0; border: 0; background: none; color: var(--primary); box-shadow: none; text-decoration: underline; }
.filter-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.filter-row .link-btn { padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 700; }
.filter-row .link-btn.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }

/* Feedback */
.messages { margin: 0 0 1.15rem; padding: 0; list-style: none; }
.msg { position: relative; margin-bottom: .55rem; padding: .8rem 1rem .8rem 2.6rem; border: 1px solid var(--line-strong); border-radius: .8rem; background: var(--surface); color: var(--ink-800); box-shadow: var(--shadow-sm); font-size: .9rem; }
.msg::before { position: absolute; top: .82rem; left: 1rem; width: .75rem; height: .75rem; border-radius: 999px; background: var(--primary); content: ""; }
.msg-success { border-color: #bce7dc; background: #f1fcf9; }
.msg-success::before { background: var(--teal); }
.msg-warning { border-color: #f2d698; background: #fffaf0; }
.msg-warning::before { background: var(--amber); }
.msg-error { border-color: #efbcc4; background: #fff5f6; }
.msg-error::before { background: var(--red); }

/* Data visuals */
.bar { display: grid; grid-template-columns: minmax(5.8rem, auto) minmax(5rem, 1fr) 3.2rem; align-items: center; gap: .7rem; margin: .55rem 0; font-size: .875rem; }
.bar-label { color: var(--ink-600); }
.bar-track { height: .62rem; overflow: hidden; border-radius: 999px; background: #e8ecf3; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6979eb, var(--primary)); }
.bar-fill.student { background: linear-gradient(90deg, #26a99b, var(--teal)); }
.bar-fill.mentor { background: linear-gradient(90deg, #6979eb, var(--primary)); }
.bar-value { color: var(--ink-700); font-size: .82rem; font-weight: 700; text-align: right; }
.series { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.dot { display: inline-grid; place-items: center; min-width: 2rem; min-height: 2rem; padding: .2rem .45rem; border: 1px solid var(--line); border-radius: .58rem; background: var(--surface-soft); color: var(--ink-700); font-size: .8rem; font-weight: 650; }
.dot.student { border-color: #bce7dc; background: var(--teal-soft); color: #06665d; }

.private-note { padding: 1rem 1.1rem; border: 1px solid #f0d4a3; border-left: .3rem solid var(--amber); border-radius: .8rem; background: #fffbf2; }
.publish-box { padding: 1.1rem; border: 1px solid #cbd2ff; border-radius: var(--radius); background: linear-gradient(135deg, #f5f6ff, #edf0ff); }
.timeline { margin: .5rem 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; margin: 0 0 0 .35rem; padding: 0 0 1.15rem 1.25rem; border-left: 1px solid var(--line-strong); }
.timeline li::before { position: absolute; top: .28rem; left: -.3rem; width: .52rem; height: .52rem; border: .12rem solid var(--surface); border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 1px var(--primary); content: ""; }
.timeline li:last-child { padding-bottom: .2rem; }
.timeline time { display: block; margin-bottom: .18rem; color: var(--ink-500); font-size: .78rem; font-weight: 620; }

/* Signed-out experience */
.auth-body {
  background:
    radial-gradient(circle at 12% 20%, rgba(90, 110, 245, .24), transparent 27rem),
    radial-gradient(circle at 87% 78%, rgba(22, 174, 154, .14), transparent 25rem),
    #0b1225;
}
.auth-shell { position: relative; display: flex; min-height: 100vh; flex-direction: column; overflow: hidden; isolation: isolate; }
.auth-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 82%);
}
.auth-header { width: min(100%, 80rem); margin: 0 auto; padding: 1.35rem 1.5rem; }
.auth-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-on-light { color: #fff; }
.brand-on-light:hover { color: #fff; }
.brand-on-light .brand-copy small { color: #aab5d4; }
.auth-access-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .75rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.055); color: #c5cee7; font-size: .75rem; font-weight: 620; backdrop-filter: blur(.5rem); }
.auth-access-chip > span { width: .43rem; height: .43rem; border-radius: 999px; background: #40d5bd; box-shadow: 0 0 0 .25rem rgba(64,213,189,.1); }
.auth-main { display: grid; width: min(100%, 80rem); flex: 1 0 auto; align-items: center; margin: 0 auto; padding: 1.5rem 1.5rem 2.5rem; }
.auth-footer { width: min(100%, 80rem); margin: 0 auto; padding: 1rem 1.5rem 1.35rem; color: #7f8bab; font-size: .76rem; text-align: center; }
.auth-footer p { margin: 0; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(21rem, .7fr); align-items: center; gap: clamp(2.75rem, 6vw, 6rem); }
.login-story { display: grid; gap: 1.6rem; min-width: 0; }
.login-copy { max-width: 42rem; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .8rem; color: #8fa0ff; font-size: .74rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.auth-eyebrow::before { width: 1.65rem; height: 1px; background: currentColor; content: ""; }
.login-copy h1 { max-width: 41rem; margin: 0; color: #f7f8ff; font-size: clamp(3rem, 5.4vw, 5rem); line-height: .98; letter-spacing: -.06em; }
.login-copy h1 span { color: #91a1ff; }
.login-copy p { max-width: 39rem; margin: 1.05rem 0 0; color: #b7c1dc; font-size: clamp(.96rem, 1.5vw, 1.08rem); line-height: 1.7; }
.route-board { position: relative; max-width: 43rem; overflow: hidden; padding: 1.15rem 1.2rem 1.05rem; border: 1px solid rgba(255,255,255,.12); border-radius: 1.35rem; background: linear-gradient(145deg, rgba(30,42,77,.88), rgba(18,29,57,.82)); box-shadow: 0 1.6rem 5rem rgba(0,0,0,.28); backdrop-filter: blur(1rem); }
.route-board::after { position: absolute; top: -5rem; right: -3rem; width: 12rem; height: 12rem; border-radius: 999px; background: rgba(94,112,240,.14); content: ""; filter: blur(.2rem); }
.route-board-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .05rem .1rem .85rem; border-bottom: 1px solid rgba(255,255,255,.085); }
.route-board-head > div { display: flex; flex-direction: column; line-height: 1.25; }
.route-board-head strong { color: #f6f8ff; font-size: .98rem; }
.route-kicker { margin-bottom: .18rem; color: #8f9ab9; font-size: .65rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.route-state { display: inline-flex; align-items: center; gap: .42rem; padding: .3rem .58rem; border: 1px solid rgba(64,213,189,.2); border-radius: 999px; background: rgba(64,213,189,.07); color: #87e5d6; font-size: .68rem; font-weight: 680; }
.route-state > span { width: .4rem; height: .4rem; border-radius: 999px; background: #40d5bd; }
.route-steps { position: relative; z-index: 1; display: grid; gap: 0; margin: .2rem 0; padding: 0; list-style: none; }
.route-steps::before { position: absolute; top: 2.05rem; bottom: 2.05rem; left: 1.05rem; width: 1px; background: linear-gradient(#7485f2, #40d5bd); content: ""; opacity: .65; }
.route-steps li { position: relative; display: grid; grid-template-columns: 2.15rem minmax(0, 1fr) auto; align-items: center; gap: .85rem; min-height: 4.45rem; padding: .62rem .1rem; }
.route-steps li + li { margin-top: 0; border-top: 1px solid rgba(255,255,255,.055); }
.route-step-marker { z-index: 1; display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border: 1px solid rgba(137,152,255,.34); border-radius: .72rem; background: #253463; color: #a9b5ff; font-size: .64rem; font-weight: 800; box-shadow: 0 0 0 .28rem rgba(19,31,61,.92); }
.route-steps li:last-child .route-step-marker { border-color: rgba(64,213,189,.32); background: #173d42; color: #82e0d2; }
.route-step-copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.35; }
.route-step-copy strong { color: #edf0fb; font-size: .82rem; }
.route-step-copy small { margin-top: .18rem; color: #929ebc; font-size: .7rem; }
.route-role { padding: .25rem .5rem; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; color: #aab4d0; font-size: .65rem; font-weight: 650; }
.route-board-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: .7rem; padding: .85rem .1rem 0; border-top: 1px solid rgba(255,255,255,.085); }
.route-shield { display: grid; place-items: center; width: 2rem; height: 2rem; flex: 0 0 auto; border-radius: .65rem; background: rgba(64,213,189,.12); color: #68ddca; font-size: .78rem; font-weight: 800; }
.route-board-foot > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.route-board-foot strong { color: #dae0f3; font-size: .75rem; }
.route-board-foot small { margin-top: .12rem; color: #8793b1; font-size: .66rem; }
.login-card { position: relative; overflow: hidden; padding: clamp(1.45rem, 3vw, 2rem); border: 1px solid rgba(255,255,255,.42); border-radius: 1.45rem; background: #fbfcff; box-shadow: 0 2rem 5rem rgba(0,0,0,.32), 0 0 0 .45rem rgba(255,255,255,.035); }
.login-card::before { position: absolute; top: 0; right: 0; left: 0; height: .22rem; background: linear-gradient(90deg, #5265e5, #7686f4 58%, #22aa97); content: ""; }
.login-card-heading { margin-bottom: 1.1rem; }
.login-card-kicker { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .75rem; color: var(--ink-600); font-size: .7rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.login-card-kicker > span { width: .42rem; height: .42rem; border-radius: 999px; background: var(--teal); box-shadow: 0 0 0 .24rem rgba(8,127,114,.09); }
.login-card-heading h2 { margin: 0 0 .42rem; font-size: 1.75rem; letter-spacing: -.035em; }
.login-card-heading p { margin: 0; color: var(--ink-600); font-size: .88rem; }
.login-roles { display: flex; align-items: center; gap: .4rem; margin: 0 0 1.15rem; }
.login-roles span { padding: .27rem .55rem; border: 1px solid #e2e6ee; border-radius: 999px; background: #f3f5f9; color: var(--ink-600); font-size: .67rem; font-weight: 650; }
.login-card form p { margin-bottom: .88rem; }
.login-card label { margin-bottom: .35rem; color: var(--ink-700); font-size: .8rem; }
.login-card input[type="text"], .login-card input[type="password"] { min-height: 3.15rem; padding-inline: .9rem; border-color: #d7deea; background: #fff; }
.login-submit { min-height: 3.15rem; margin-top: .12rem; border-radius: .78rem; }
.login-note { display: flex; align-items: flex-start; gap: .55rem; margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid #e7ebf2; color: var(--ink-500); font-size: .74rem; line-height: 1.5; }
.lock-dot { width: .5rem; height: .5rem; flex: 0 0 auto; margin-top: .38rem; border-radius: 999px; background: var(--teal); }
.auth-help-link { display: block; margin-top: .85rem; color: var(--primary-strong); font-size: .82rem; font-weight: 680; text-align: center; text-decoration: none; }
.auth-help-link:hover { color: var(--primary); text-decoration: underline; }
.auth-card { position: relative; width: min(100%, 34rem); justify-self: center; padding: clamp(1.4rem, 4vw, 2rem); border: 1px solid rgba(255,255,255,.42); border-radius: 1.35rem; background: #fbfcff; box-shadow: 0 2rem 5rem rgba(0,0,0,.32); }
.auth-card h1 { margin-bottom: .65rem; }
.auth-card p { color: var(--ink-600); }
.auth-card .auth-eyebrow { color: var(--primary); }
.auth-card-narrow { max-width: 32rem; }
.account-inline-action { margin: .85rem 0 0; }

/* Page composition */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 1.45rem;
}
.page-header .lead { margin-bottom: 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }

.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  margin: 0 0 1rem;
  background: var(--surface-soft);
  line-height: 1.55;
}
.notice-warn { border-color: rgba(237,119,9,.35); background: rgba(237,119,9,.08); color: var(--ink-800); }
.notice-ok { border-color: rgba(6,97,100,.35); background: rgba(6,97,100,.08); color: var(--ink-800); }
.setup-list { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.setup-list li { margin: 0 0 .65rem; padding-left: .2rem; line-height: 1.55; }
.field-label { display: block; margin: 0 0 .35rem; font-weight: 700; color: var(--ink-800); }

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem 1rem;
  margin-bottom: 1rem;
}
.panel-heading h2, .panel-heading h3 { margin: .1rem 0 0; }
.panel-kicker { display: block; color: var(--ink-500); font-size: .72rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.count-pill { display: inline-flex; align-items: center; min-height: 1.8rem; padding: .28rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--ink-600); font-size: .76rem; font-weight: 680; white-space: nowrap; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 2rem 0 1rem; }
.section-heading h2 { margin: .12rem 0 0; }
.section-heading > a, .text-action { color: var(--primary-strong); font-size: .86rem; font-weight: 680; text-decoration: none; }
.section-heading > a:hover, .text-action:hover { color: var(--primary); }

/* Mentor overview */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.metric-card {
  position: relative;
  display: flex;
  min-height: 8.2rem;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}
.metric-card::after { position: absolute; top: -.9rem; right: -1rem; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--metric-halo, rgba(69,88,217,.07)); content: ""; }
.metric-label { color: var(--ink-600); font-size: .78rem; font-weight: 680; }
.metric-card > strong { color: var(--ink-950); font-size: 1.95rem; font-weight: 760; line-height: 1; letter-spacing: -.045em; }
.metric-card > strong small { margin-left: .18rem; color: var(--ink-500); font-size: .9rem; font-weight: 620; }
.metric-note { color: var(--ink-500); font-size: .75rem; }
.metric-primary { --metric-halo: rgba(69,88,217,.12); border-top-color: #8b98f1; }
.metric-teal { --metric-halo: rgba(8,127,114,.12); border-top-color: #50b8aa; }
.metric-amber { --metric-halo: rgba(168,93,0,.12); border-top-color: #dea44f; }
.metric-indigo { --metric-halo: rgba(89,63,180,.12); border-top-color: #9988df; }

.attention-panel { padding: 0; overflow: hidden; }
.attention-panel > .panel-heading { margin: 0; padding: 1.15rem 1.25rem .85rem; }
.attention-list { border-top: 1px solid var(--line); }
.attention-item {
  display: grid;
  grid-template-columns: .6rem minmax(8rem, .35fr) minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-800);
  text-decoration: none;
  transition: background-color .14s ease;
}
.attention-item:last-child { border-bottom: 0; }
.attention-item:hover { background: var(--surface-soft); color: var(--ink-950); }
.attention-signal { width: .55rem; height: .55rem; border-radius: 999px; background: var(--amber); box-shadow: 0 0 0 .25rem var(--amber-soft); }
.attention-signal.is-danger { background: var(--red); box-shadow: 0 0 0 .25rem var(--red-soft); }
.attention-person { font-size: .88rem; font-weight: 700; }
.attention-copy { display: flex; min-width: 0; flex-direction: column; }
.attention-copy strong { font-size: .86rem; }
.attention-copy small { overflow: hidden; color: var(--ink-500); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.item-arrow { color: var(--ink-500); font-size: 1.05rem; }
.calm-state { display: flex; align-items: center; gap: .75rem; margin: 0 1.25rem 1.2rem; padding: .85rem 1rem; border-radius: .8rem; background: #f1fbf8; color: #07665c; }
.calm-state span { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--teal); color: #fff; font-size: .8rem; font-weight: 800; }
.calm-state p { margin: 0; font-size: .88rem; font-weight: 620; }

.student-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.student-card { display: flex; min-width: 0; flex-direction: column; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.student-card-head { display: grid; grid-template-columns: 2.65rem minmax(0,1fr) .75rem; align-items: center; gap: .75rem; }
.student-avatar { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; flex: 0 0 auto; border-radius: .85rem; background: linear-gradient(145deg, #e5e9ff, #d5dcff); color: var(--primary-strong); font-size: 1rem; font-weight: 780; }
.student-avatar.is-large { width: 4.4rem; height: 4.4rem; border-radius: 1.25rem; font-size: 1.45rem; }
.student-avatar.is-parent { background: linear-gradient(145deg, #dff7f1, #caeee5); color: #06665d; }
.student-identity { min-width: 0; }
.student-identity h3 { margin: 0; font-size: 1rem; }
.student-identity h3 a { color: var(--ink-950); text-decoration: none; }
.student-identity > span { display: block; margin-top: .18rem; color: var(--ink-500); font-size: .78rem; }
.status-dot { width: .62rem; height: .62rem; border-radius: 50%; background: var(--ink-500); box-shadow: 0 0 0 .25rem #edf0f5; }
.status-dot.is-ok { background: var(--teal); box-shadow: 0 0 0 .25rem var(--teal-soft); }
.status-dot.is-waiting { background: var(--amber); box-shadow: 0 0 0 .25rem var(--amber-soft); }
.student-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin: 1.15rem 0; }
.student-facts div { min-width: 0; padding: .7rem; border-radius: .7rem; background: var(--surface-soft); }
.student-facts dt { color: var(--ink-500); font-size: .7rem; font-weight: 650; }
.student-facts dd { overflow: hidden; margin: .18rem 0 0; color: var(--ink-900); font-size: .82rem; font-weight: 690; text-overflow: ellipsis; white-space: nowrap; }
.completion-block { padding-top: .9rem; border-top: 1px solid var(--line); }
.completion-block .bar-track { display: block; margin-top: .5rem; }
.status-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: 1rem; }

/* Shared welcome panels */
.welcome-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: clamp(1.35rem, 3.5vw, 2.1rem);
  overflow: hidden;
  border: 1px solid #d7ddfa;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, #f8f9ff 0%, #edf0ff 62%, #e8f5f3 140%);
  box-shadow: var(--shadow-sm);
}
.welcome-panel::after { position: absolute; right: -3rem; bottom: -5.5rem; width: 13rem; height: 13rem; border: 1.6rem solid rgba(69,88,217,.06); border-radius: 50%; content: ""; }
.welcome-panel > * { position: relative; z-index: 1; }
.welcome-panel h1 { margin-bottom: .55rem; }
.welcome-panel p { max-width: 42rem; margin: 0; color: var(--ink-600); }
.welcome-action { flex: 0 0 auto; }
.parent-welcome { border-color: #cde8e1; background: linear-gradient(125deg, #f7fbfa, #e8f7f3); }
.privacy-seal { display: grid; grid-template-columns: 2.5rem auto; align-items: center; gap: .7rem; flex: 0 0 auto; padding: .65rem .8rem; border: 1px solid #bce2d9; border-radius: .8rem; background: rgba(255,255,255,.72); }
.privacy-seal > span { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: .72rem; background: var(--teal); color: #fff; font-weight: 800; }
.privacy-seal small { color: #075f57; font-size: .76rem; font-weight: 700; line-height: 1.25; }

/* Hasbahçe dashboards */
.hasbahce-welcome { border-color: #c9e6dc; background: linear-gradient(125deg, #fbfdfc 0%, #eaf7f2 62%, #fff5da 145%); }
.hasbahce-welcome::after { border-color: rgba(18, 128, 111, .075); }
.hasbahce-welcome .eyebrow { margin-bottom: .35rem; color: #0b6d62; }
.welcome-copy { min-width: 0; }
.welcome-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.readonly-seal { border-color: #d8dfc0; background: rgba(255, 252, 237, .82); }
.readonly-seal > span { background: #9a6a13; }
.readonly-seal small { color: #72500e; }
.hasbahce-metrics .metric-card { min-height: 7.5rem; }
.hasbahce-metrics .metric-label { max-width: calc(100% - 2rem); }
.hasbahce-metrics-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hasbahce-section-grid { margin-bottom: 1rem; }
.hasbahce-section-grid > .card { height: 100%; margin-bottom: 0; }
.workspace-hasbahce .card > .section-heading { align-items: center; margin: 0 0 1rem; }
.workspace-hasbahce .compact-list { margin: 0; padding: 0; list-style: none; }
.workspace-hasbahce .compact-list .list-row { position: relative; display: block; padding: .72rem .2rem .72rem 1.15rem; }
.workspace-hasbahce .compact-list .list-row::before { position: absolute; top: 1.15rem; left: .1rem; width: .48rem; height: .48rem; border-radius: 50%; background: #35a78a; box-shadow: 0 0 0 .22rem #e3f5ef; content: ""; }
.workspace-hasbahce .compact-list .list-row > a { color: var(--ink-900); font-weight: 680; text-decoration: none; }
.workspace-hasbahce .compact-list .list-row > a:hover { color: var(--primary-strong); }
.workspace-hasbahce .compact-list .list-row .small { display: block; margin-top: .16rem; color: var(--ink-500); font-size: .76rem; }
.workspace-hasbahce .compact-list .inline-form { margin: .5rem 0 0; }
.hasbahce-priority-card { border-color: #efd39a; background: linear-gradient(130deg, #fffdf8, #fff7e5); }
.hasbahce-priority-card .list-row::before { background: #c77a13 !important; box-shadow: 0 0 0 .22rem #fff0d1 !important; }

/* Student dashboard */
.dashboard-grid { display: grid; gap: 1rem; }
.dashboard-grid-main { grid-template-columns: minmax(0, 1.55fr) minmax(17rem, .75fr); }
.dashboard-grid-secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.focus-card { padding: 1.35rem; }
.progress-ring { --value: 0; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--value) * 1%), #e7eaf3 0); }
.progress-ring::before { grid-area: 1/1; width: 3.45rem; height: 3.45rem; border-radius: 50%; background: var(--surface); content: ""; }
.progress-ring > span { z-index: 1; grid-area: 1/1; color: var(--ink-900); font-size: .82rem; font-weight: 760; }
.progress-ring.is-small { width: 3.8rem; height: 3.8rem; }
.progress-ring.is-small::before { width: 2.9rem; height: 2.9rem; }
.priority-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.priority-item { display: grid; grid-template-columns: 2rem minmax(0,1fr) auto; align-items: center; gap: .7rem; margin: 0; padding: .65rem .7rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); }
.priority-number { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .58rem; background: var(--primary-soft); color: var(--primary-strong); font-size: .7rem; font-weight: 760; }
.priority-item > a, .priority-title { color: var(--ink-900); font-size: .9rem; font-weight: 670; text-decoration: none; }
.completion-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--ink-500); font-size: .77rem; }
.checkin-card { background: linear-gradient(145deg, #fff, #f5f6ff); }
.checkin-card.is-complete { background: linear-gradient(145deg, #fff, #effbf8); }
.checkin-card h2 { margin: .45rem 0 .65rem; }
.checkin-card p { color: var(--ink-600); font-size: .88rem; }
.card-symbol { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; margin-bottom: 1.2rem; border-radius: .78rem; background: var(--primary-soft); color: var(--primary); font-size: 1.05rem; font-weight: 800; }
.is-complete .card-symbol, .checkin-summary.is-ready .card-symbol { background: var(--teal-soft); color: var(--teal); }
.clean-list { margin: 0; padding: 0; list-style: none; }
.list-row { display: flex; align-items: flex-start; gap: .7rem; margin: 0; padding: .68rem 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-mark { width: .58rem; height: .58rem; flex: 0 0 auto; margin-top: .42rem; border-radius: .2rem; background: var(--primary); transform: rotate(45deg); }
.list-mark.is-teal { background: var(--teal); }
.list-mark.is-amber { background: #d48a22; }
.list-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.list-copy > a, .list-copy > strong { color: var(--ink-900); font-size: .88rem; font-weight: 680; text-decoration: none; }
.list-copy small { margin-top: .15rem; color: var(--ink-500); font-size: .75rem; }
.decision-card { background: linear-gradient(145deg, #fff, #f7f9fc); }
.date-chip { display: inline-flex; margin-bottom: .7rem; padding: .22rem .55rem; border-radius: 999px; background: var(--surface-soft); color: var(--ink-500); font-size: .74rem; font-weight: 650; }
.decision-copy { color: var(--ink-800); font-size: .91rem; }
.growth-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1rem; padding: 1.35rem 1.5rem; border: 1px solid #cfd6f7; border-radius: var(--radius); background: linear-gradient(125deg, #f5f6ff, #edf4ff); }
.growth-strip h2 { margin: .15rem 0 .4rem; }
.growth-strip p { max-width: 48rem; margin: 0; color: var(--ink-600); font-size: .88rem; }
.growth-actions { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.mini-stat { display: flex; min-width: 5.4rem; flex-direction: column; text-align: center; }
.mini-stat strong { color: var(--ink-950); font-size: 1.45rem; line-height: 1; }
.mini-stat small { margin-top: .25rem; color: var(--ink-500); font-size: .7rem; }

/* Parent overview */
.trust-banner { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; padding: .85rem 1rem; border: 1px solid #cde8e1; border-radius: .8rem; background: #f3fbf9; color: #155f58; }
.trust-banner p { margin: 0; font-size: .84rem; }
.trust-icon { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; flex: 0 0 auto; border-radius: 50%; background: var(--teal); color: #fff; font-size: .75rem; font-weight: 800; }
.parent-student-grid { display: grid; gap: 1rem; }
.parent-student-card { padding: clamp(1rem, 2.8vw, 1.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.parent-card-head { display: grid; grid-template-columns: 2.65rem minmax(0,1fr) auto; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.parent-card-head h2 { margin: .12rem 0 0; }
.parent-card-head h2 a { color: var(--ink-950); text-decoration: none; }
.report-highlight { display: grid; grid-template-columns: 2.6rem minmax(0,1fr) auto; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid #c7e6df; border-radius: .9rem; background: linear-gradient(130deg, #f1fbf8, #e7f7f3); }
.report-symbol { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .75rem; background: var(--teal); color: #fff; font-size: 1.1rem; }
.report-copy { display: flex; min-width: 0; flex-direction: column; gap: .22rem; }
.report-copy .badge { align-self: flex-start; }
.report-copy > strong { margin-top: .15rem; color: var(--ink-950); }
.report-copy > small { color: #3e706b; font-size: .75rem; }
.shared-goals { margin-top: 1.25rem; }
.shared-goals .panel-heading { margin-bottom: .25rem; }
.parent-profile-hero { border-color: #cde8e1; background: linear-gradient(125deg, #fff, #eefaf7); }
.report-timeline a { color: var(--ink-900); font-weight: 680; text-decoration: none; }
.report-timeline a:hover { color: var(--primary); }
.parent-growth-strip { border-color: #c7e6df; background: linear-gradient(125deg, #f7fcfb, #e8f7f3); }

/* Student context hub */
.profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; padding: 1.3rem 1.4rem; border: 1px solid #d7ddfa; border-radius: var(--radius-lg); background: linear-gradient(125deg, #fff, #eef1ff); box-shadow: var(--shadow-sm); }
.profile-main { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.profile-main h1 { margin: 0; }
.profile-main p { margin: .35rem 0 0; color: var(--ink-600); font-size: .9rem; }
.profile-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.section-nav { display: flex; gap: .35rem; margin-bottom: 1rem; padding: .4rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .85rem; background: rgba(255,255,255,.72); scrollbar-width: none; }
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a { flex: 0 0 auto; padding: .5rem .72rem; border-radius: .6rem; color: var(--ink-700); font-size: .81rem; font-weight: 650; text-decoration: none; }
.section-nav a:hover { background: var(--primary-soft); color: var(--primary-strong); }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; margin-bottom: 1rem; }
.summary-tile { display: grid; grid-template-columns: 2.3rem minmax(0,1fr); gap: .1rem .7rem; padding: .9rem; border: 1px solid var(--line); border-radius: .85rem; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }
.summary-icon { display: grid; grid-row: 1 / 4; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .67rem; background: var(--primary-soft); color: var(--primary); font-weight: 780; }
.summary-icon.is-teal { background: var(--teal-soft); color: var(--teal); }
.summary-icon.is-amber { background: var(--amber-soft); color: var(--amber); }
.summary-tile > strong { overflow: hidden; color: var(--ink-950); font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.summary-tile > small { color: var(--ink-500); font-size: .72rem; }
.quick-actions-panel { padding: 1rem 1.15rem; }
.quick-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .55rem; }
.quick-action { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.75rem; padding: .62rem .75rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface-soft); color: var(--ink-800); font-size: .8rem; font-weight: 650; text-decoration: none; }
.quick-action:hover { border-color: #c2c9ef; background: var(--primary-soft); color: var(--primary-strong); }
.hub-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17.5rem, .72fr); align-items: start; gap: 1rem; }
.hub-main, .hub-aside { min-width: 0; }
.comparison-bars { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.comparison-bars .bar-track { display: block; margin: .45rem 0; }
.comparison-bars small { color: var(--ink-500); font-size: .74rem; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 42rem; table-layout: auto; }
.table-scroll th, .table-scroll td { overflow-wrap: anywhere; }
.score-value { display: block; color: var(--ink-900); font-weight: 720; }
.cell-meta { display: block; margin-top: .14rem; color: var(--ink-500); font-size: .74rem; }
.context-note, .privacy-note { margin: .85rem 0 0; padding: .62rem .75rem; border-radius: .65rem; background: var(--surface-soft); color: var(--ink-500); font-size: .76rem; }
.timeline-group + .timeline-group { margin-top: 1rem; }
.timeline-group h3 { margin: 0 0 .7rem; color: var(--ink-600); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.checkin-summary { position: sticky; top: 1rem; }
.answer-list { margin: .8rem 0 0; }
.answer-list div { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.answer-list div:last-child { border-bottom: 0; }
.answer-list dt { color: var(--ink-500); font-size: .73rem; font-weight: 680; }
.answer-list dd { margin: .18rem 0 0; color: var(--ink-800); font-size: .86rem; }
.compact-list .list-row { align-items: center; }
.compact-timeline strong { display: block; font-size: .86rem; }

.empty-state { display: grid; justify-items: center; margin: 1rem 0; padding: 2.25rem 1.25rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255,255,255,.65); text-align: center; }
.empty-state-icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin-bottom: .7rem; border-radius: .8rem; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.empty-state h2 { margin: 0 0 .4rem; }
.empty-state p { max-width: 31rem; margin: 0 0 1rem; color: var(--ink-600); font-size: .88rem; }
.empty-state.compact { display: flex; align-items: center; justify-content: flex-start; gap: .7rem; padding: .8rem; text-align: left; }
.empty-state.compact .empty-state-icon { width: 2rem; height: 2rem; flex: 0 0 auto; margin: 0; border-radius: .6rem; }
.empty-state.compact p { margin: 0; }

/* Hasbahçe branded learning surfaces */
.brand-page-header { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 2px solid rgba(237,119,9,.25); }
.course-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem; }
.course-card { display: grid; grid-template-columns: 3rem minmax(0,1fr) auto; align-items: center; gap: .85rem; min-height: 5.6rem; padding: 1rem; border: 1px solid #c9dfdd; border-radius: 1rem; background: rgba(255,255,255,.94); color: var(--ink-900); box-shadow: var(--shadow-sm); text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.course-card:hover { border-color: #8abdb8; color: var(--primary-strong); box-shadow: 0 1rem 2rem rgba(6,77,81,.1); transform: translateY(-2px); }
.course-card-mark { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .85rem; background: linear-gradient(145deg, #066164, #087477); color: #fff; font-size: 1.3rem; font-weight: 800; }
.course-card-copy { display: flex; min-width: 0; flex-direction: column; }
.course-card-copy strong { font-size: 1.06rem; }
.course-card-copy small { margin-top: .18rem; color: var(--ink-500); font-size: .78rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; color: var(--ink-500); font-size: .8rem; }
.breadcrumb a { color: var(--primary); font-weight: 680; text-decoration: none; }
.form-card { max-width: 48rem; }
.score-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem 1rem; margin: 1rem 0; }
.score-field { margin: 0; }
.score-field:nth-child(even) input { background: #fbfcfd; }

/* Weekly mentoring workflow */
.week-hero .eyebrow { margin-bottom: .2rem; }
.week-toolbar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .6rem; margin-bottom: 1rem; padding: .55rem; border: 1px solid var(--line); border-radius: .85rem; background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.week-toolbar a { display: inline-flex; min-height: 2.35rem; align-items: center; justify-content: center; padding: .45rem .72rem; border-radius: .62rem; color: var(--primary-strong); font-size: .82rem; font-weight: 680; text-decoration: none; }
.week-toolbar a:hover { background: var(--primary-soft); }
.week-toolbar > span { display: flex; min-width: 0; flex-direction: column; align-items: center; line-height: 1.25; }
.week-toolbar small { color: var(--ink-500); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.week-toolbar strong { margin-top: .1rem; font-size: .87rem; }
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.workflow-card { overflow: hidden; }
.step-heading { display: grid; grid-template-columns: 2.5rem minmax(0,1fr) auto; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.step-heading h2 { margin: .08rem 0 0; }
.step-index { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: .75rem; background: var(--primary-soft); color: var(--primary-strong); font-size: .75rem; font-weight: 800; }
.step-index.is-teal { background: var(--teal-soft); color: var(--teal); }
.step-index.is-amber { background: var(--amber-soft); color: var(--amber); }
.step-index.is-dark { background: var(--sidebar); color: #fff; }
.week-answers { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 1rem; }
.week-progress { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.week-progress .bar-track { display: block; margin: .5rem 0; }
.trend-chip { display: inline-flex; margin-top: .25rem; padding: .22rem .5rem; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: .72rem; font-weight: 700; }
.trend-chip.is-positive { background: var(--teal-soft); color: var(--teal); }
.session-step { border-color: #d5daf2; background: linear-gradient(135deg, #fff, #f5f6ff); }
.session-step.is-ready { border-color: #c7e6df; background: linear-gradient(135deg, #fff, #f1fbf8); }

/* Responsive */
@media (max-width: 68rem) {
  .app-shell { grid-template-columns: 14.75rem minmax(0, 1fr); }
  .role-chip { display: none; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hasbahce-metrics-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-grid-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid-secondary > :last-child { grid-column: 1 / -1; }
  .quick-action-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 54rem) {
  .app-shell { display: block; }
  .app-sidebar { position: sticky; width: 100%; height: auto; padding: .75rem .85rem .65rem; overflow: visible; box-shadow: 0 .45rem 1.6rem rgba(17,26,51,.2); }
  .sidebar-heading { padding: 0 .15rem .6rem; }
  .brand-mark { width: 2rem; height: 2rem; border-radius: .65rem; font-size: .92rem; }
  .brand-copy small { display: none; }
  .role-chip { display: none; }
  .app-nav { flex-direction: row; gap: .35rem; margin: 0 -.85rem; padding: .1rem .85rem .2rem; overflow-x: auto; overflow-y: hidden; scroll-padding-inline: .85rem; scrollbar-width: none; }
  .app-nav::-webkit-scrollbar { display: none; }
  .nav-caption { display: none; }
  .nav-link { min-height: 2.35rem; padding: .48rem .68rem; flex: 0 0 auto; border-radius: .65rem; font-size: .82rem; }
  .nav-link.is-active { box-shadow: inset 0 -.16rem 0 #7c8cff; }
  .workspace-hasbahce .nav-link.is-active { box-shadow: inset 0 -.16rem 0 #5de0b4; }
  .nav-icon { width: 1.05rem; height: 1.05rem; }
  .nav-icon svg { width: 1rem; height: 1rem; }
  .sidebar-user { position: absolute; top: .72rem; right: .85rem; margin: 0; padding: 0; border: 0; background: transparent; grid-template-columns: 1.9rem minmax(0, 8rem) 1.9rem; }
  .user-avatar { width: 1.9rem; height: 1.9rem; border-radius: .58rem; }
  .user-copy small { display: none; }
  .user-copy strong { font-size: .76rem; }
  .wrap { padding-top: 1.6rem; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .page-header { align-items: flex-start; }
  .student-grid, .dashboard-grid-main, .dashboard-grid-secondary, .hub-grid, .workflow-grid { grid-template-columns: 1fr; }
  .dashboard-grid-secondary > :last-child { grid-column: auto; }
  .summary-grid { grid-template-columns: repeat(3, minmax(12rem, 1fr)); overflow-x: auto; padding-bottom: .2rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .summary-tile { scroll-snap-align: start; }
  .hasbahce-metrics-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkin-summary { position: static; }
  .auth-main { align-items: start; }
  .course-card-grid { grid-template-columns: 1fr; }
  .login-layout { grid-template-columns: 1fr; gap: 2rem; }
  .login-card { order: -1; width: min(100%, 36rem); justify-self: center; }
  .login-story { width: min(100%, 43rem); justify-self: center; }
  .login-copy h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
}

@media (max-width: 38rem) {
  .sidebar-user { right: .85rem; grid-template-columns: 1.9rem 1.9rem; }
  .user-copy { display: none; }
  .wrap { padding: 1.25rem .9rem 3rem; }
  .foot { padding-inline: .9rem; }
  h1 { font-size: 1.65rem; }
  .lead { margin-bottom: 1.25rem; }
  .card { padding: 1rem; border-radius: .9rem; }
  .spread { align-items: flex-start; }
  .spread > .row { width: 100%; }
  .spread > .row .btn { flex: 1 1 auto; }
  .row > .btn { min-height: 2.75rem; }
  .page-header { flex-direction: column; }
  .page-header > .btn { width: 100%; }
  .metric-grid { gap: .6rem; }
  .metric-card { min-height: 7.1rem; padding: .85rem; }
  .metric-card > strong { font-size: 1.65rem; }
  .attention-item { grid-template-columns: .55rem minmax(0,1fr) 1.25rem; gap: .65rem; padding-inline: 1rem; }
  .attention-person { grid-column: 2; }
  .attention-copy { grid-column: 2; }
  .attention-copy small { white-space: normal; }
  .item-arrow { grid-column: 3; grid-row: 1 / 3; }
  .student-facts { grid-template-columns: 1fr; }
  .student-facts div { display: flex; justify-content: space-between; gap: .75rem; }
  .student-facts dd { margin: 0; text-align: right; }
  .welcome-panel, .profile-hero, .growth-strip { align-items: flex-start; flex-direction: column; }
  .welcome-action, .profile-actions, .growth-actions { width: 100%; }
  .welcome-actions { justify-content: stretch; }
  .welcome-actions .btn { flex: 1 1 auto; }
  .profile-actions .btn, .growth-actions .btn { flex: 1; }
  .privacy-seal { align-self: stretch; justify-content: center; }
  .progress-ring { width: 4rem; height: 4rem; }
  .progress-ring::before { width: 3.05rem; height: 3.05rem; }
  .priority-item { grid-template-columns: 2rem minmax(0,1fr); }
  .priority-item .badge { grid-column: 2; justify-self: start; }
  .growth-actions { justify-content: space-between; }
  .parent-card-head { grid-template-columns: 2.65rem minmax(0,1fr); }
  .parent-card-head .count-pill { grid-column: 2; justify-self: start; }
  .report-highlight { grid-template-columns: 2.6rem minmax(0,1fr); }
  .report-highlight .btn { grid-column: 1 / -1; }
  .profile-main { align-items: flex-start; }
  .quick-action-grid, .comparison-bars, .week-answers { grid-template-columns: 1fr; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  tbody tr:first-child { padding-top: .25rem; }
  tbody tr:last-child { border-bottom: 0; }
  td { display: grid; grid-template-columns: minmax(6.7rem, .42fr) minmax(0, 1fr); gap: .7rem; padding: .3rem 0; border: 0; }
  td[data-label]::before { color: var(--ink-500); content: attr(data-label); font-size: .75rem; font-weight: 680; }
  td[data-label=""] { display: block; padding-top: .55rem; }
  td[data-label=""]::before { content: none; }
  .inline-form { display: flex; margin-top: .45rem; }
  .bar { grid-template-columns: 1fr 2.7rem; }
  .bar-label { grid-column: 1 / -1; margin-bottom: -.3rem; }
  .auth-header { padding: 1rem; }
  .auth-access-chip { padding-inline: .58rem; font-size: 0; }
  .auth-access-chip::after { color: #c5cee7; content: "Özel erişim"; font-size: .68rem; }
  .auth-main { padding: 1.25rem 1rem 2rem; }
  .login-copy h1 { font-size: 2.65rem; }
  .login-copy p { font-size: .92rem; }
  .route-board { padding: 1rem; }
  .route-steps li { grid-template-columns: 2.15rem minmax(0,1fr); gap: .7rem; }
  .route-role { display: none; }
  .login-card { padding: 1.2rem; }
  .hasbahce-brand-logo { width: 8.8rem; max-height: 2.5rem; padding: .25rem .35rem; border-radius: .5rem; }
  .score-entry-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

.setup-steps { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; padding: 0; margin: 1.5rem 0; }
.setup-steps li { padding: .7rem 1rem; border-radius: 2rem; background: #edf1f0; color: #385e56; font-weight: 650; }
.setup-steps [aria-current="step"] { color: #fff; background: #016b6b; }
.setup-steps .is-complete { color: #016b6b; background: #e1f1e9; }
.setup-card { max-width: 44rem; }

@media print {
  .app-shell { display: block; }
  .app-sidebar, .foot, button, .btn { display: none !important; }
  .app-main, body { background: #fff; }
  .wrap { max-width: none; padding: 0; }
  .card { break-inside: avoid; box-shadow: none; }
}
