/* Portal Tutor's one theme (navy sidebar, plain grey page, no star chart or galaxy): body.tutor-theme is on every
   page for every account. body.tutor-workspace adds the tutor pages' centred layout. */
body.tutor-theme {
  --page: #f4f6f8; --panel: #fff; --chrome: #fff;
  --gray-1: #fff; --gray-2: #f7f9fa; --gray-3: #edf1f4;
  --gray-4: #e4eaee; --gray-5: #dbe3e8; --gray-6: #ccd6df;
  --gray-9: #718193; --gray-10: #617184; --gray-11: #526274; --gray-12: #1c3041;
  --line: #e2e8ee; --line-strong: #c9d4de; --brand: #187362;
  --green-2: #f0f8f5; --green-3: #e6f4ed; --green-9: #24846c; --green-11: #17674e;
  --shadow-card: 0 2px 4px #19334604, 0 0 0 1px var(--line);
  background: var(--page); color: var(--gray-12);
}
:root[data-theme="dark"] body.tutor-theme {
  --page: #101923; --panel: #192532; --chrome: #192532;
  --gray-1: #192532; --gray-2: #1d2c3a; --gray-3: #243544;
  --gray-4: #2b3d4d; --gray-5: #344857; --gray-6: #425767;
  --gray-9: #889dad; --gray-10: #9eafbe; --gray-11: #b2c2cf; --gray-12: #edf3f6;
  --line: #2b3c4c; --line-strong: #456073; --brand: #76ceb6;
  --green-2: #192f2d; --green-3: #1c3d34; --green-11: #8ae0b8;
  --shadow-card: 0 0 0 1px var(--line);
}
body.tutor-theme #app-sky { display: none; }
:root body.tutor-theme { background: var(--page); }
body.tutor-theme .main { padding-top: 32px; padding-bottom: 48px; }
body.tutor-theme .view { max-width: 1440px; width: 100%; margin-inline: auto; gap: 24px; }
:root body.tutor-theme .card { background: var(--panel); border-radius: 16px; box-shadow: var(--shadow-card); backdrop-filter: none; -webkit-backdrop-filter: none; overflow: hidden; }
:root body.tutor-theme .sidebar {
  --panel: #173044; --gray-2: #1a3448; --gray-3: #233e52;
  --gray-10: #a4b8c7; --gray-11: #c1d0dc; --gray-12: #f0f5f8;
  --line: #ffffff18; --line-strong: #ffffff2b;
  background: #12283a; color: #e6eff4; border-right: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
}
:root body.tutor-theme .sidebar .nav-item { min-height: 46px; font-size: 13px; border-radius: 10px; color: #c1d0dc; }
:root body.tutor-theme .sidebar .nav-item[aria-current="page"] { background: #ffffff14; color: #fff; box-shadow: inset 3px 0 #70c9ad; }
:root body.tutor-theme .sidebar .nav-item[aria-current="page"] .ph { color: #88d7be; }
:root body.tutor-theme .sidebar .nav-item:not([aria-current]):hover { background: #ffffff09; color: #fff; }
:root body.tutor-theme .sidebar .side-eyebrow, :root body.tutor-theme .sidebar .status-line, :root body.tutor-theme .sidebar #role-badge { color: #a7bdcb; }
:root body.tutor-theme .brand-mark { background: #ffffff0c; color: #a1e3ca; border-color: #ffffff25; }
:root body.tutor-theme .sidebar .brand-name { color: #fff; }
:root body.tutor-theme .sidebar .brand-company { color: #a7bdcb; }
:root body.tutor-theme .sidebar .segmented { background: #0b2030; }
:root body.tutor-theme .sidebar .segmented button[aria-pressed="true"] { background: #2a4659; color: #fff; box-shadow: none; }
:root body.tutor-theme .sidebar .user-avatar { background: #284638; color: #a1e3ca; }
:root body.tutor-theme .sidebar :is(.side-note, .side-label) { color: #a7bdcb; }
:root body.tutor-theme .sidebar .nav-group-label { background: #ffffff0c; color: #e6eff4; }
:root body.tutor-theme .sidebar .nav-group-label .ph { color: #88d7be; }
/* Superadmin's view switch stays above Tema, including in the mobile sidebar. */
#view-tutor-search { width: 100%; min-width: 0; }
.view-tutor-selected { margin: 8px 1px 0; padding: 4px 0; border: 0; background: transparent; color: #a1e3ca; font: inherit; font-size: 11px; line-height: 1.4; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.view-tutor-selected:hover { text-decoration: underline; }
.view-tutor-selected:focus-visible { outline: 2px solid #88d7be; outline-offset: 3px; }
.view-tutor-results { margin-top: 14px; max-height: min(360px, 48dvh); overflow-y: auto; overscroll-behavior: contain; border-radius: 8px; }
.view-tutor-option { display: block; width: 100%; padding: 13px 14px; border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 7px; background: transparent; color: var(--gray-12); text-align: left; font: inherit; cursor: pointer; }
.view-tutor-option strong, .view-tutor-option span { display: block; overflow-wrap: anywhere; }
.view-tutor-option strong { font-size: 13px; line-height: 1.4; }
.view-tutor-option span { margin-top: 4px; font-size: 12px; color: var(--gray-11); }
.view-tutor-option:hover { background: var(--gray-3); }
.view-tutor-option[aria-pressed="true"] { background: var(--green-2); border-color: var(--brand); }
.view-tutor-option:focus-visible, #view-tutor-search:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.view-tutor-hint { padding: 16px 2px; margin: 0; color: var(--gray-11); font-size: 13px; line-height: 1.5; }
.overlay.is-instant { align-items: center; padding: 16px; transition: none; }
.overlay.is-instant .dialog, .overlay.is-instant[data-open="true"] .dialog { max-height: 90dvh; border-radius: 16px; transform: none; transition: none; animation: none; }
.overlay.is-instant .overlay-backdrop { transition: none; }
/* EVE: a pixel sprite on a 24 by 28 grid, floating at the bottom left beside the sidebar. Sizes stay whole multiples of the grid, and movement snaps to it. */
.feedback-eve { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 42; display: flex; flex-direction: column; align-items: center; width: 100px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--gray-12); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.feedback-eve[hidden] { display: none; }
.eve-scene { display: block; width: 48px; height: 56px; overflow: visible; }
.eve-hover { animation: eve-float 1.8s steps(1) infinite; }
.eve-shadow { opacity: .16; }
.eve-eyes { animation: eve-blink 6s steps(1) infinite; }
.eve-arm-up { visibility: hidden; }
.eve-label { display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 5px 7px; border: 2px solid var(--gray-12); border-radius: 0; background: var(--panel); box-shadow: 3px 3px 0 var(--line-strong); font-size: 10px; font-weight: 700; white-space: nowrap; }
.eve-label > span { color: var(--brand); }
.eve-prompt { position: absolute; left: 100%; bottom: 36px; width: 160px; margin-left: 4px; padding: 10px 13px; border: 2px solid var(--gray-12); border-radius: 0; background: var(--panel); box-shadow: 3px 3px 0 var(--line-strong); font-size: 12px; line-height: 1.5; text-align: left; visibility: hidden; pointer-events: none; }
.feedback-eve:is(:hover, :focus-visible) .eve-prompt { visibility: visible; }
.feedback-eve:is(:hover, :focus-visible) .eve-head { transform: translateY(-1px); }
.feedback-eve:is(:hover, :focus-visible) .eve-arm-right { visibility: hidden; }
.feedback-eve:is(:hover, :focus-visible) .eve-arm-up { visibility: visible; }
.feedback-eve:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
body.has-feedback .main { padding-bottom: 112px; }
@media (min-width: 1024px) { .feedback-eve { left: 258px; } }
/* WALL-E beside Jenis. Movement is in whole grid units and jumps between poses with steps(1), so it stays pixelated. */
.mb-jenis-row { display: flex; align-items: flex-end; gap: 16px; }
.mb-jenis-field { flex: 1; min-width: 0; }
.mb-walle { flex: none; width: 54px; height: 56px; }
.walle-scene { display: block; width: 54px; height: 56px; overflow: visible; }
.walle-tread-b, .walle-arm-up, .walle-brows, .walle-wave, .walle-heart, .walle-anger { visibility: hidden; }
.walle-lid { visibility: hidden; animation: walle-blink 4.5s steps(1) infinite; }
[data-jenis="cadangan"] .walle-head { animation: walle-listen 2.4s steps(1) infinite; }
[data-jenis="cadangan"] .walle-pupils { transform: translateX(-1px); }
[data-jenis="cadangan"] .walle-wave-1 { animation: walle-wave-1 1.2s steps(1) infinite; }
[data-jenis="cadangan"] .walle-wave-2 { animation: walle-wave-2 1.2s steps(1) infinite; }
[data-jenis="masalah"] .walle-brows { visibility: visible; }
[data-jenis="masalah"] .walle-head { animation: walle-nod .64s steps(1) infinite; }
[data-jenis="masalah"] .walle-anger { animation: walle-flash-a .64s steps(1) infinite; }
[data-jenis="masalah"] .walle-arm-left { animation: walle-shake .32s steps(1) infinite; }
[data-jenis="pujian"] .walle-root { animation: walle-jump .7s steps(1) infinite; }
[data-jenis="pujian"] .walle-arm-right { visibility: hidden; }
[data-jenis="pujian"] .walle-arm-up { visibility: visible; }
[data-jenis="pujian"] .walle-heart-l { animation: walle-flash-a .7s steps(1) infinite; }
[data-jenis="pujian"] .walle-heart-r { animation: walle-flash-b .7s steps(1) infinite; }
[data-jenis="lain"] .walle-root { animation: walle-roll 1.6s steps(1) infinite; }
[data-jenis="lain"] .walle-tread-b { animation: walle-flash-a .4s steps(1) infinite; }
@media (max-width: 600px) {
  .feedback-eve { left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); width: 100px; }
  .eve-prompt { width: 148px; }
  body.has-feedback .main { padding-bottom: 104px; }
}
@keyframes eve-float { 0% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes eve-blink { 0% { opacity: 1; } 45% { opacity: 0; } 47% { opacity: 1; } }
@keyframes walle-blink { 0% { visibility: hidden; } 93% { visibility: visible; } 97% { visibility: hidden; } }
@keyframes walle-listen { 0% { transform: translate(-1px, 0); } 60% { transform: translate(-1px, 1px); } 75% { transform: translate(-1px, 0); } }
@keyframes walle-wave-1 { 0% { visibility: hidden; } 25% { visibility: visible; } 75% { visibility: hidden; } }
@keyframes walle-wave-2 { 0% { visibility: hidden; } 50% { visibility: visible; } 75% { visibility: hidden; } }
@keyframes walle-nod { 0% { transform: translateY(0); } 25% { transform: translateY(1px); } 50% { transform: translateY(2px); } 75% { transform: translateY(1px); } }
@keyframes walle-shake { 0% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes walle-jump { 0% { transform: translateY(0); } 15% { transform: translateY(-1px); } 30% { transform: translateY(-3px); } 50% { transform: translateY(-4px); } 70% { transform: translateY(-3px); } 85% { transform: translateY(-1px); } }
@keyframes walle-flash-a { 0% { visibility: visible; } 50% { visibility: hidden; } }
@keyframes walle-flash-b { 0% { visibility: hidden; } 50% { visibility: visible; } }
@keyframes walle-roll { 0% { transform: translateX(0); } 12.5% { transform: translateX(-1px); } 25% { transform: translateX(-2px); } 37.5% { transform: translateX(-1px); } 50% { transform: translateX(0); } 62.5% { transform: translateX(1px); } 75% { transform: translateX(2px); } 87.5% { transform: translateX(1px); } }
@media (prefers-reduced-motion: reduce) {
  .feedback-eve *, .feedback-eve:is(:hover, :focus-visible) *, .mb-walle * { animation: none !important; transition: none; }
}
.mb-teks { min-width: 260px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.mb-sejarah { padding: 16px 20px; }
.mb-sejarah > .muted { margin: 0; }
.view .kl-table > thead > tr > th, .view .kl-table > tbody > tr > td { text-align: center; vertical-align: middle; border-left: 1px solid var(--line-strong); }
.view .kl-table > thead > tr > th:first-child, .view .kl-table > tbody > tr > td:first-child { border-left: 0; }
.kl-table .kl-kumpulan { display: block; width: 150px; margin: 0 auto; }
/* A number in the ID sequence with no tutor: glowing red, in steps like the rest of the portal's alerts. */
.view .kl-table > tbody > tr.kl-tiada > td { background: #e8322b14; color: #c62b24; font-weight: 700; animation: kl-tiada-nyala 1.2s steps(1) infinite; }
.kl-table tr.kl-tiada .kl-buka { color: #c62b24; }
@keyframes kl-tiada-nyala { 0% { box-shadow: inset 0 1px 0 #e8322b, inset 0 -1px 0 #e8322b, inset 0 0 14px #e8322b66; } 50% { box-shadow: inset 0 1px 0 #e8322b55, inset 0 -1px 0 #e8322b55, inset 0 0 4px #e8322b22; } }
@media (prefers-reduced-motion: reduce) {
  .view .kl-table > tbody > tr.kl-tiada > td { animation: none; box-shadow: inset 0 1px 0 #e8322b, inset 0 -1px 0 #e8322b, inset 0 0 14px #e8322b66; }
}
.kl-buka { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.kl-buka:hover { color: var(--brand); }
.kl-table tr.is-open > td { background: var(--gray-2); }
.view .kl-table tr.kl-butiran > td { padding: 12px 16px 18px; background: var(--gray-2); }
.kl-jadual { width: 100%; min-width: 860px; table-layout: fixed; border-collapse: collapse; background: var(--panel); font-size: 13px; }
.kl-jadual th, .kl-jadual td { padding: 4px; border: 1px solid var(--line-strong); text-align: center; vertical-align: middle; white-space: nowrap; }
.view .kl-table .kl-jadual thead th { width: auto; min-width: 0; }
.view .kl-table .kl-jadual thead th:first-child { width: 72px; }
.kl-jadual thead th, .kl-jadual tfoot th, .kl-jadual tfoot td { padding: 8px 6px; background: var(--gray-3); font-weight: 700; }
.kl-jadual tbody th { padding: 4px 10px; font-weight: 700; }
.view .kl-table .kl-jadual tfoot th, .view .kl-table .kl-jadual tfoot td { border-bottom: 1px solid var(--line-strong); }
.kl-jadual .kl-claim { color: var(--green-11); }
.kl-jadual .kl-potongan { color: #c62b24; }
.kl-jadual .kl-sel { width: 100%; min-width: 74px; height: 30px; padding: 3px 6px; border-radius: 4px; font-size: 12px; text-align: center; }
.kl-jadual td:has(> .kl-sel:placeholder-shown), .kl-jadual td:has(> .kl-kosong), .kl-jadual .kl-sel:placeholder-shown { background: var(--red-3); }
.mb-tick { margin-top: 10px; }
.mb-dibaca { display: flex; align-items: center; gap: 4px; margin: 8px 0 0; color: var(--gray-10); font-size: 12px; }
/* A reply not ticked yet: the sidebar item and EVE glow, in hard steps like the sprite, until the tutor ticks it. */
.nav-item.is-baru { animation: baru-nyala 1.2s steps(1) infinite; }
.feedback-eve.is-baru .eve-scene { animation: baru-nyala-eve 1.2s steps(1) infinite; }
@keyframes baru-nyala { 0% { box-shadow: 0 0 0 1px #f2b233, 0 0 14px #f2b233aa; } 50% { box-shadow: 0 0 0 1px #f2b23366, 0 0 4px #f2b23344; } }
@keyframes baru-nyala-eve { 0% { filter: drop-shadow(0 0 6px #f2b233); } 50% { filter: drop-shadow(0 0 2px #f2b23388); } }
@media (prefers-reduced-motion: reduce) {
  .nav-item.is-baru { animation: none; box-shadow: 0 0 0 1px #f2b233, 0 0 14px #f2b233aa; }
  .feedback-eve.is-baru .eve-scene { animation: none; filter: drop-shadow(0 0 6px #f2b233); }
}
.mb-sejarah-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mb-sejarah-list > li { padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.mb-sejarah-list .mb-teks { min-width: 0; margin: 0; }
.mb-sejarah-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; color: var(--gray-11); font-size: 12px; }
.mb-balas { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--brand); border-radius: 4px; background: var(--gray-3); }
.mb-balas strong { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12px; }
.mb-belum { margin: 8px 0 0; color: var(--gray-10); font-size: 12px; }
/* EVE's ! for a reply not ticked yet: a hard-edged block in keeping with the sprite. */
.eve-baru { position: absolute; top: -4px; left: calc(50% + 16px); display: grid; place-items: center; width: 14px; height: 16px; background: #f2b233; box-shadow: 0 0 0 2px #241f1c; color: #241f1c; font: 800 12px/1 ui-monospace, monospace; }
:root body.tutor-theme .app-header { background: var(--panel); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
body.tutor-workspace .fl-head { flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 12px 0 0; }
body.tutor-workspace .fl-who { flex-direction: column; gap: 12px; }
body.tutor-workspace .fl-avatar { width: 64px; height: 64px; border-radius: 20px; background: var(--green-3); box-shadow: 0 0 0 5px var(--panel); }
body.tutor-workspace .fl-eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 8px; }
body.tutor-workspace .fl-name { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.04em; }
body.tutor-workspace .fl-id { font-size: 12px; line-height: 1.8; margin-top: 8px; }
body.tutor-workspace .fl-codes { justify-content: center; gap: 6px; margin-top: 12px; }
body.tutor-workspace .fl-month { justify-content: center; }
body.tutor-workspace .month-nav { height: 42px; border-radius: 10px; }
.fl-month-jump .input { width: 155px; height: 42px; min-width: 0; }
.fl-page-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.fl-page-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 9px; color: var(--gray-11); text-decoration: none; font-weight: 600; font-size: 13px; }
.fl-page-nav a[aria-current="page"] { color: var(--green-11); background: var(--green-3); }
.fl-page-nav a:hover { background: var(--gray-3); }
body.tutor-workspace .fl-stats { gap: 16px; }
body.tutor-workspace .fl-stat { align-items: center; text-align: center; padding: 22px 16px; border-radius: 14px; gap: 10px; }
body.tutor-workspace .fl-stat-label { font-weight: 500; }
body.tutor-workspace .fl-stat-num { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.04em; }
body.tutor-workspace .fl-stat-num small { margin-left: 3px; }
body.tutor-workspace .fl-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
body.tutor-workspace .fl-main, body.tutor-workspace .fl-side { gap: 24px; }
body.tutor-workspace .card-head { padding: 20px; gap: 10px; flex-wrap: wrap; justify-content: center; text-align: center; }
body.tutor-workspace .card-title { font-size: 14px; line-height: 1.5; }
body.tutor-workspace .card-head .push { margin-left: 0; }
body.tutor-workspace .card-head .muted { font-size: 12px; }
.fl-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.fl-view-switch { display: flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray-3); }
.fl-view-switch button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 8px; background: transparent; color: var(--gray-11); font: inherit; font-size: 13px; cursor: pointer; }
.fl-view-switch button[aria-pressed="true"] { background: var(--panel); color: var(--gray-12); font-weight: 600; box-shadow: 0 1px 4px #0000000a; }
.fl-filter { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--gray-11); }
.fl-filter select { min-width: 180px; height: 44px; font-size: 13px; }
body.tutor-workspace :is(button,a,input,select,summary):focus-visible { outline: 2px solid var(--green-9); outline-offset: 3px; }
body.tutor-workspace .fl-legend { justify-content: center; width: 100%; margin-left: 0; gap: 10px 16px; font-size: 11px; }
body.tutor-workspace .fl-cal-grid { margin: 0 20px 12px; }
body.tutor-workspace .fl-cal-head { text-align: center; padding: 12px 4px; font-size: 11px; }
.fl-cal-week { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--gray-11); background: var(--gray-2); }
.fl-cal-week span { font-weight: 400; }
body.tutor-workspace .fl-cal-cell { min-height: 112px; padding: 8px 5px; gap: 6px; }
body.tutor-workspace .fl-cal-date { justify-content: center; padding: 2px 0 5px; flex-wrap: wrap; }
body.tutor-workspace .fl-cal-today { margin-left: 0; }
body.tutor-workspace .fl-ev { padding: 8px 5px; gap: 5px; align-items: center; text-align: center; min-height: 44px; border-left-width: 2px; }
body.tutor-workspace .fl-ev-name { white-space: normal; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
body.tutor-workspace .fl-ev-time { font-size: 10px; }
body.tutor-workspace .fl-ev-meta { display: block; font-size: 10px; line-height: 1.5; color: var(--status-ink); }
.fl-calendar-help { margin: 0; padding: 4px 20px 20px; text-align: center; font-size: 12px; line-height: 1.7; color: var(--gray-11); }
body.tutor-workspace .fl-next-item { padding: 16px; gap: 8px; text-align: center; align-items: center; border: 1px solid var(--line); background: var(--panel); }
body.tutor-workspace .fl-next-meta { justify-content: center; }
body.tutor-workspace .fl-next { border-top: 3px solid var(--green-9); }
body.tutor-workspace .fl-week { display: block; padding: 0; }
body.tutor-workspace .fl-wk { padding: 0 20px 16px; }
body.tutor-workspace .fl-wk-row { grid-template-columns: 48px minmax(0,1fr); gap: 8px; padding: 12px 0; font-size: 12px; }
body.tutor-workspace .fl-wk-item { justify-content: center; text-align: center; font-size: 12px; }
body.tutor-workspace .fl-wk-day { font-size: 12px; align-self: center; }
body.tutor-workspace .fl-wk-list { text-align: center; }
body.tutor-workspace .fl-empty { text-align: center; padding: 8px 20px 24px; }
.fl-latest-pay { text-align: center; }
.fl-latest-month { color: var(--gray-11); font-size: 12px; }
.fl-latest-amount { color: var(--green-11); font-size: 28px; font-weight: 700; margin: 10px 0; letter-spacing: -.03em; }
.fl-latest-status { margin-bottom: 20px; }
.fl-card-link { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; text-decoration: none; color: var(--green-11); }
.fl-card-link:hover { background: var(--green-3); }
.fl-no-results { padding: 48px 20px; text-align: center; }
.fl-no-results > .ph { color: var(--gray-10); font-size: 32px; }
.fl-no-results h2 { font-size: 16px; margin: 14px 0 8px; }
.fl-no-results p { color: var(--gray-11); font-size: 13px; }
.fl-pay-page { display: flex; flex-direction: column; gap: 24px; }
body.tutor-workspace .fl-pay-now { align-items: center; text-align: center; padding: 28px 20px; margin: 0 24px 24px; gap: 14px; border: 1px solid var(--line); border-radius: 12px; }
body.tutor-workspace .fl-pay-amt { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; }
body.tutor-workspace .fl-pay-lines { margin: 0 24px 24px; }
body.tutor-workspace .fl-pay-lines > div { padding: 12px 8px; }
body.tutor-workspace .fl-pay-hist { padding: 20px 24px 24px; }
body.tutor-workspace .fl-pay-hist-title { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; margin: 0 0 16px; text-align: center; }
body.tutor-workspace .fl-pay-hist-title .muted { font-weight: 400; font-size: 12px; }
body.tutor-workspace .fl-pay-row { grid-template-columns: 1.2fr .9fr 1.2fr 1fr 20px; text-align: center; gap: 12px; padding: 16px; min-height: 60px; border-top: 1px solid var(--line); border-radius: 0; }
.fl-pay-date { font-size: 12px; color: var(--gray-11); }
body.tutor-workspace .fl-pay-row .badge { justify-self: center; }
body.tutor-workspace .table td, body.tutor-workspace .table th { text-align: center; padding: 14px; font-size: 12px; }
body.tutor-workspace .pg-kelas { justify-content: center; }
body.tutor-workspace .card-foot { text-align: center; font-size: 12px; padding: 16px 20px; line-height: 1.7; }
body.tutor-workspace .fl-profil-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
body.tutor-workspace .fl-profil-main { gap: 24px; }
body.tutor-workspace .fl-info { padding: 8px 24px 24px; gap: 0; }
body.tutor-workspace .fl-info > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
body.tutor-workspace .fl-foto-card .fl-info { padding: 0; text-align: center; }
body.tutor-workspace .fl-latar { margin: 0 24px 24px; }
body.tutor-workspace .fl-note { padding: 0 24px 20px; text-align: center; }
@media (max-width: 1250px) {
  body.tutor-workspace .fl-grid { grid-template-columns: minmax(0, 1fr); }
  body.tutor-workspace .fl-side { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.tutor-workspace .fl-week { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body.tutor-workspace .main { padding-top: 20px; }
  body.tutor-workspace .view { gap: 20px; }
  body.tutor-workspace .fl-head { gap: 16px; }
  .fl-page-nav { gap: 4px; flex-wrap: nowrap; }
  .fl-page-nav a { flex: 1; flex-direction: column; gap: 6px; padding: 10px 6px; font-size: 11px; text-align: center; }
  .fl-page-nav .ph { font-size: 19px; }
  body.tutor-workspace .fl-stats { gap: 10px; }
  body.tutor-workspace .fl-stat { padding: 18px 10px; }
  body.tutor-workspace .fl-stat-num { font-size: 24px; }
  .fl-tools { justify-content: center; gap: 12px; }
  .fl-view-switch { flex: 1; min-width: 250px; }
  .fl-view-switch button { flex: 1; }
  .fl-filter { width: 100%; justify-content: center; }
  body.tutor-workspace .fl-side { grid-template-columns: 1fr; }
  body.tutor-workspace .fl-profil-grid { grid-template-columns: 1fr; }
  body.tutor-workspace .fl-cal-grid { margin: 0 14px 14px; }
  .fl-cal-week { border: 0; border-radius: 8px; padding: 10px; }
  .fl-cal-week.is-empty-week { display: none; }
  body.tutor-workspace .fl-cal-cell { min-height: 0; padding: 12px; }
  body.tutor-workspace .fl-cal-date { padding: 4px 0; }
  body.tutor-workspace .fl-ev { padding: 12px; gap: 8px; }
  body.tutor-workspace .fl-ev-name { font-size: 14px; }
  body.tutor-workspace .fl-ev-time, body.tutor-workspace .fl-ev-meta { font-size: 12px; }
  body.tutor-workspace .fl-pay-now { margin: 0 16px 16px; }
  body.tutor-workspace .fl-pay-hist { padding: 16px; }
  body.tutor-workspace .fl-pay-row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 4px; }
  body.tutor-workspace .fl-pay-row > .ph { display: none; }
  .fl-pay-date { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body.tutor-workspace .view { animation: none; }
  body.tutor-workspace * { scroll-behavior: auto; }
}
