#root{min-height:100dvh}:root{--bg:#f6f8fc;--surface:#fff;--surface-2:#edf2f9;--ink:#101829;--body:#374151;--muted:#526176;--line:#c9d6e8;--primary:#1a73e8;--primary-ink:#fff;--nav:#101829;--nav-ink:#eef5ff;--accent:#d28a2c;--accent-ink:#8a5a0c;--green:#167a55;--red:#c53b45;--violet:#6b55c6;--sheet-shadow:0 -18px 48px #050d1738}:root[data-theme=dark]{--bg:#0b1120;--surface:#141d2e;--surface-2:#202c42;--ink:#f3f7ff;--body:#d6e0ef;--muted:#b5c1d3;--line:#40536e;--primary:#7db6ff;--primary-ink:#07101f;--nav:#eaf2ff;--nav-ink:#0b1120;--accent:#ffc866;--accent-ink:#ffc866;--green:#7ddfba;--red:#ff9aa4;--violet:#b8a8ff;--sheet-shadow:0 -18px 48px #0000008c}*{box-sizing:border-box}html,body{background:var(--bg);min-width:320px}body{min-height:100dvh;color:var(--ink);margin:0;font:16px/1.45 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:not([disabled]){transition:transform .14s cubic-bezier(.22,1,.36,1),border-color .16s,background-color .16s,color .16s}button:not([disabled]):active{transform:scale(.985)}button:disabled{cursor:not-allowed;opacity:.6}.svg-icon{flex:0 0 18px;width:18px;height:18px}@keyframes scrim-in{0%{opacity:0}to{opacity:1}}@keyframes sheet-in{0%{opacity:0;transform:translateY(14px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes record-in{0%{background:color-mix(in srgb, var(--primary) 18%, var(--surface));transform:translateY(7px)}to{background:var(--surface);transform:translateY(0)}}@keyframes bar-in{0%{transform:scaleX(0)}to{transform:scaleX(1)}}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.app{width:min(100%,1120px);min-height:100dvh;margin:auto;padding:16px 16px 32px}.topbar,.brand,.top-actions,.panel-title,.sheet-top,.entry,.staff-row,.inline-form{align-items:center;display:flex}.topbar{justify-content:space-between;gap:12px}.brand{gap:10px;min-width:0}.mark{background:var(--nav);width:42px;height:42px;color:var(--nav-ink);letter-spacing:-.07em;border-radius:11px;flex:0 0 42px;place-items:center;font-size:21px;font-weight:900;display:grid}.mark.school-mark{background:#fff8e8;border:1px solid #d8ae56;border-radius:12px;padding:3px;overflow:hidden;box-shadow:0 3px #8b641f}.school-mark img{object-fit:contain;border-radius:7px;width:100%;height:100%;display:block}.brand b,.brand span{display:block}.brand b{font-size:15px}.brand span{color:var(--muted);font-size:13px}.top-actions{flex:none;gap:8px}.icon-btn,.admin-btn,.text-button,.admin-action,.entry-edit,.entry-delete,.delete-record,.close{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);font-size:14px;font-weight:750}.icon-btn{border-radius:999px;min-width:62px;padding:0 10px;font-size:13px}.admin-btn,.admin-action{border-radius:9px;padding:0 12px}.hero{background:var(--nav);color:var(--nav-ink);border-radius:18px;margin:22px 0 18px;padding:22px;position:relative;overflow:hidden}.hero:after{border:28px solid var(--primary);content:"";opacity:.26;border-radius:50%;width:170px;height:170px;position:absolute;top:-83px;right:-65px}.kicker,.hero h1,.hero>p:not(.kicker){z-index:1;position:relative}.kicker{color:var(--accent);letter-spacing:.07em;text-transform:uppercase;margin:0 0 7px;font-size:13px;font-weight:850}.hero h1{letter-spacing:-.04em;max-width:14ch;margin:0;font-size:clamp(30px,7vw,43px);line-height:1.08}.hero>p:not(.kicker){opacity:.78;max-width:34ch;margin:11px 0 0}.fab{background:var(--primary);width:100%;min-height:56px;color:var(--primary-ink);border:0;border-radius:14px;margin:0 0 20px;font-size:16px;font-weight:850;display:block;box-shadow:0 12px 26px #1a73e847}.week{grid-template-columns:repeat(7,1fr);gap:5px;margin:0 0 20px;display:grid}.date{border:1px solid var(--line);background:var(--surface);min-height:66px;color:var(--muted);border-radius:11px;font-size:13px;font-weight:700}.date b{color:var(--ink);margin-top:4px;font-size:19px;display:block}.date.active{border-color:var(--primary);background:var(--primary);color:var(--primary-ink)}.date.active b{color:var(--primary-ink)}.notice{border:1px solid var(--line);background:var(--surface-2);color:var(--body);border-radius:12px;margin:0 0 16px;padding:13px 15px;font-weight:750}.notice.success{border-color:var(--green);background:color-mix(in srgb, var(--green) 14%, var(--surface));color:var(--green)}.notice.error{border-color:var(--red);background:color-mix(in srgb, var(--red) 14%, var(--surface));color:var(--red)}.layout,.admin-grid{gap:16px;display:grid}.panel{border:1px solid var(--line);background:var(--surface);border-radius:16px;min-width:0;overflow:hidden}.panel-title{justify-content:space-between;gap:12px;padding:17px 17px 12px}.panel-title>div{min-width:0}.panel-title h2,.aside h2,.sheet-top h2{letter-spacing:-.02em;margin:0;font-size:17px}.panel-title span{color:var(--muted);margin-top:3px;font-size:13px;display:block}.mini-field{min-width:138px;color:var(--muted);gap:4px;font-size:13px;font-weight:750;display:grid}.mini-field input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:44px;color:var(--ink);border-radius:8px;padding:0 8px}.summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);display:grid}.metric{border:0;border-right:1px solid var(--line);background:var(--surface);min-width:0;color:var(--ink);text-align:left;padding:13px 11px;transition:transform .16s cubic-bezier(.22,1,.36,1),background-color .16s,color .16s}.metric:last-child{border-right:0}.metric b{font-size:22px;line-height:1;display:block}.metric span{color:var(--muted);font-size:13px}.metric[data-active=true]{background:color-mix(in srgb, var(--primary) 14%, var(--surface))}.metric[data-active=true] span{color:var(--primary);font-weight:850}.metric[data-status=MC] b{color:var(--red)}.metric[data-status=KURSUS] b{color:var(--violet)}.metric[data-status=URUSAN_RASMI] b{color:var(--accent-ink)}.metric[data-status=CUTI] b{color:var(--green)}.dashboard-tools{border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface-2) 52%, var(--surface));flex-wrap:wrap;gap:9px;padding:12px 17px;display:flex}.search-field{width:100%;color:var(--muted);align-items:center;display:flex;position:relative}.search-field .svg-icon{pointer-events:none;position:absolute;left:12px}.search-field input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:44px;color:var(--ink);border-radius:9px;padding:0 12px 0 40px}.export-actions{gap:8px;width:100%;display:flex}.export-actions .text-button{white-space:nowrap;flex:1;justify-content:center;align-items:center;gap:7px;display:inline-flex}.list,.staff-list{margin:0;padding:0;list-style:none}.entry{border-bottom:1px solid var(--line);gap:12px;padding:13px 17px}.entry[data-fresh=true]{animation:.72s cubic-bezier(.22,1,.36,1) both record-in}.entry:last-child{border:0}.entry>div{min-width:0}.entry-name{max-width:100%;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;margin:0;padding:0}.entry-name:hover{color:var(--primary);text-underline-offset:3px;text-decoration:underline}.entry-name b{text-overflow:ellipsis;white-space:nowrap;font-size:15px;display:block;overflow:hidden}.entry small{color:var(--muted);font-size:13px;display:block}.empty-entry,.state-message{color:var(--body);padding:18px 17px}.state-message.error{color:var(--red)}.dot{background:var(--primary);border-radius:50%;flex:0 0 10px;width:10px;height:10px}.dot[data-status=MC]{background:var(--red)}.dot[data-status=KURSUS]{background:var(--violet)}.dot[data-status=URUSAN_RASMI]{background:var(--accent)}.dot[data-status=CUTI]{background:var(--green)}.pill,.active-state{background:var(--surface-2);min-height:28px;color:var(--body);white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:4px 8px;font-size:13px;font-weight:750;display:inline-flex}.pill[data-status=MC]{color:var(--red)}.pill[data-status=KURSUS]{color:var(--violet)}.pill[data-status=URUSAN_RASMI]{color:var(--accent)}.pill[data-status=CUTI]{color:var(--green)}.entry-actions{flex:none;gap:7px;display:flex}.entry-edit,.entry-delete{border-radius:8px;margin-left:0;padding:0 9px}.entry-edit{color:var(--primary)}.entry-delete{border-color:color-mix(in srgb, var(--red) 45%, var(--line));color:var(--red)}.delete-record{border-color:color-mix(in srgb, var(--red) 55%, var(--line));width:100%;min-height:52px;color:var(--red);background:0 0;border-radius:11px;font-weight:850}.aside{padding:17px}.aside p{color:var(--body);margin:7px 0 16px}.status-key{gap:9px;display:grid}.key{color:var(--body);align-items:center;gap:8px;font-size:14px;display:flex}.key em{color:var(--muted);text-align:right;margin-left:auto;font-size:13px;font-style:normal}.admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 16px;display:grid}.admin-tabs button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--body);border-radius:9px;font-size:13px;font-weight:800}.admin-tabs button.active{border-color:var(--primary);background:var(--primary);color:var(--primary-ink)}.admin-grid{align-items:start;margin-top:16px}.admin-panel{min-height:148px}.inline-form{gap:8px;padding:17px}.inline-form input,.import-form textarea,.staff-row input,.field input,.field select{border:1px solid var(--line);background:var(--surface);width:100%;min-height:52px;color:var(--ink);border-radius:10px;padding:0 12px}.inline-form input{min-width:0}.import-form,.correction-form,.sheet-form{gap:13px;display:grid}.import-form{padding:0 17px 17px}.import-form label,.field{color:var(--ink);font-size:14px;font-weight:800}.import-form textarea{resize:vertical;min-height:122px;padding:10px 12px}.text-button{color:var(--primary);background:0 0;border-radius:9px;padding:0 10px}.staff-row{border-bottom:1px solid var(--line);gap:8px;padding:10px 12px}.staff-row:last-child{border:0}.staff-row input{flex:170px;min-width:0}.active-state{background:color-mix(in srgb, var(--green) 14%, var(--surface));color:var(--green)}.active-state.inactive{background:var(--surface-2);color:var(--muted)}.correction-form{padding:0 17px 17px}.field{gap:7px;display:grid}.field fieldset{border:0;min-width:0;margin:0;padding:0}.field legend{padding:0}.correction-guide{padding-bottom:17px}.correction-guide>p{color:var(--body);margin:0 17px 17px}.correction-guide .admin-action{margin:0 17px}.report-panel{margin-top:16px}.report-visual{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface-2) 48%, var(--surface));gap:16px;padding:17px;display:grid}.report-visual h3{margin:0;font-size:16px}.report-visual span{color:var(--muted);font-size:13px}.report-bars{gap:10px;display:grid}.report-bar{grid-template-columns:106px minmax(0,1fr) 28px;align-items:center;gap:9px;font-size:13px;font-weight:800;display:grid}.report-track{background:var(--line);border-radius:999px;height:10px;overflow:hidden}.report-track i{border-radius:inherit;background:var(--primary);transform-origin:0;height:100%;animation:.58s cubic-bezier(.22,1,.36,1) both bar-in;display:block}.report-bar[data-status=MC] .report-track i{background:var(--red)}.report-bar[data-status=KURSUS] .report-track i{background:var(--violet)}.report-bar[data-status=URUSAN_RASMI] .report-track i{background:var(--accent)}.report-bar[data-status=CUTI] .report-track i{background:var(--green)}.report-bar b{text-align:right;font-variant-numeric:tabular-nums}.report-table-wrap{overflow-x:auto}table{border-collapse:collapse;table-layout:fixed;text-align:left;width:100%}th,td{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:13px 17px}th{color:var(--muted);font-size:13px}td:last-child,th:last-child{text-align:right;font-variant-numeric:tabular-nums}.scrim{z-index:10;background:#050d178a;position:fixed;inset:0}.scrim.visible{animation:.16s ease-out both scrim-in}.sheet{z-index:11;max-height:min(86dvh,700px);padding:12px 16px max(24px, env(safe-area-inset-bottom));background:var(--surface);box-shadow:var(--sheet-shadow);border-radius:22px 22px 0 0;animation:.22s cubic-bezier(.22,1,.36,1) both sheet-in;position:fixed;bottom:0;left:0;right:0;overflow:auto}.handle{background:var(--line);border-radius:999px;width:44px;height:5px;margin:0 auto 14px}.sheet-top{justify-content:space-between;gap:12px;margin-bottom:18px}.sheet-top h2{letter-spacing:-.03em;font-size:22px}.close{border-radius:50%;place-items:center;width:46px;min-width:46px;min-height:46px;font-size:24px;line-height:1;display:grid}.progress{gap:5px;margin:0 0 20px;display:flex}.progress i{background:var(--line);border-radius:99px;flex:1;height:4px}.progress i.active{background:var(--primary)}.sheet-form .notice{margin:0}.states{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.state{border:1px solid var(--line);background:var(--surface);min-height:56px;color:var(--ink);text-align:left;border-radius:10px;padding:9px;font-size:14px;font-weight:800}.state small{color:var(--muted);margin-top:2px;font-size:13px;font-weight:650;display:block}.state[aria-pressed=true]{border:2px solid var(--primary);background:var(--surface-2)}.state:last-child{grid-column:1/-1}.save{background:var(--primary);width:100%;min-height:54px;color:var(--primary-ink);border:0;border-radius:11px;margin-top:7px;font-size:16px;font-weight:850}.profile-card{gap:18px;display:grid}.profile-card .sheet-top{margin-bottom:0}.profile-identity{border-bottom:1px solid var(--line);align-items:center;gap:15px;padding:4px 0 18px;display:flex}.profile-monogram{background:color-mix(in srgb, var(--primary) 18%, var(--surface-2));width:76px;height:76px;color:var(--primary);letter-spacing:-.06em;border-radius:24px;flex:0 0 76px;place-items:center;font-size:27px;font-weight:900;display:grid}.profile-monogram[data-status=MC]{background:color-mix(in srgb, var(--red) 16%, var(--surface-2));color:var(--red)}.profile-monogram[data-status=KURSUS]{background:color-mix(in srgb, var(--violet) 16%, var(--surface-2));color:var(--violet)}.profile-monogram[data-status=URUSAN_RASMI]{background:color-mix(in srgb, var(--accent) 18%, var(--surface-2));color:var(--accent)}.profile-monogram[data-status=CUTI]{background:color-mix(in srgb, var(--green) 16%, var(--surface-2));color:var(--green)}.profile-identity .kicker{margin:0 0 4px}.profile-identity h3{letter-spacing:-.03em;margin:0 0 9px;font-size:22px}.profile-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.profile-details div{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;min-width:0;padding:13px}.profile-details dt{color:var(--muted);font-size:13px;font-weight:800}.profile-details dd{margin:4px 0 0;font-size:14px;font-weight:800}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=760px){.app{padding:26px 26px 56px}.hero{margin-top:28px;padding:30px}.layout{grid-template-columns:minmax(0,1.75fr) minmax(250px,.8fr)}.summary{grid-template-columns:repeat(6,minmax(0,1fr))}.dashboard-tools{align-items:center}.search-field{flex:240px;width:auto}.export-actions{width:auto}.export-actions .text-button{flex:none}.aside{height:fit-content}.admin-grid{grid-template-columns:minmax(280px,.9fr) minmax(0,1.4fr)}.sheet{border-radius:22px;width:min(520px,100% - 32px);left:auto;right:18px}.states{grid-template-columns:repeat(3,minmax(0,1fr))}.state:last-child{grid-column:auto}}@media (width<=520px){.panel-title{flex-direction:column;align-items:flex-start}.mini-field{width:100%}.entry{flex-wrap:wrap}.entry>div{flex:150px}.entry-actions{margin-left:22px}.export-actions{grid-template-columns:1fr;display:grid}.export-actions .text-button{white-space:normal}.staff-row{flex-wrap:wrap}.staff-row input{flex-basis:100%}.staff-row .text-button{flex:auto}}@media print{:root,body{color:#111;background:#fff}.topbar,.hero,.fab,.week,.notice,.aside,.dashboard-tools,.entry-actions,.admin-grid,.report-panel{display:none!important}.app{width:100%;padding:0}.layout{display:block}.daily-panel{border-color:#111;border-radius:0}.metric{border-color:#bbb}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}button:not([disabled]):active{transform:none!important}}
