:root{--bg:#f5f5f7;--surface:rgba(255,255,255,.88);--surface-solid:#fff;--text:#17171a;--muted:#6b6b73;--line:rgba(18,18,22,.09);--blue:#1677ff;--blue2:#6757ff;--shadow:0 18px 50px rgba(20,25,40,.08);--danger:#d92d20;--success:#0a8f55;--warning:#c77800;--radius:24px;--safe-bottom:env(safe-area-inset-bottom,0px)}
:root[data-theme=dark]{--bg:#0d0e12;--surface:rgba(27,29,36,.9);--surface-solid:#1b1d24;--text:#f7f7fa;--muted:#a4a5ad;--line:rgba(255,255,255,.10);--shadow:0 20px 60px rgba(0,0,0,.32)}
*{box-sizing:border-box}html{font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%}body{margin:0;background:radial-gradient(circle at 90% 0,rgba(22,119,255,.09),transparent 26%),var(--bg);min-height:100vh}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}svg{width:22px;height:22px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--muted);margin:0 0 7px}.pill,.tag{display:inline-flex;align-items:center;border:1px solid var(--line);background:rgba(255,255,255,.56);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.tag{padding:4px 8px}.tag.success{color:var(--success);background:rgba(10,143,85,.1)}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;padding:26px 18px 22px;background:var(--surface);backdrop-filter:blur(28px);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 26px}.brand span:last-child{display:flex;flex-direction:column}.brand strong{font-size:18px}.brand small{color:var(--muted);font-size:11px}.brand-mark{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;font-weight:900;background:linear-gradient(135deg,var(--blue),var(--blue2));box-shadow:0 10px 24px rgba(22,119,255,.25)}.brand-mark.large{width:70px;height:70px;border-radius:22px;font-size:30px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:14px;color:var(--muted);font-weight:700;font-size:14px}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(22,119,255,.1);color:var(--blue)}.sidebar nav .count,.bottom-nav .count{margin-left:auto;background:var(--blue);color:white;border-radius:999px;padding:2px 7px;font-size:11px}.sidebar-footer{margin-top:auto;border-top:1px solid var(--line);padding:18px 8px 0;display:grid;grid-template-columns:38px 1fr 34px;align-items:center;gap:9px}.sidebar-footer>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.sidebar-footer strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-footer small{color:var(--muted);font-size:11px}.mini-avatar,.avatar{display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#dcecff,#ddd8ff);color:#2454a6;font-weight:800}.mini-avatar{width:36px;height:36px}.avatar{width:38px;height:38px}.logout{color:var(--muted)}.main{margin-left:260px;min-height:100vh}.topbar{height:84px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(245,245,247,.68);backdrop-filter:blur(22px);position:sticky;top:0;z-index:12}.topbar>div:first-child{display:flex;flex-direction:column}.topbar strong{font-size:16px}.top-actions{display:flex;align-items:center;gap:10px}.icon-button{width:40px;height:40px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);display:grid;place-items:center}.page{max-width:1280px;margin:auto;padding:34px 34px 70px}.hero{min-height:250px;border-radius:32px;padding:38px;position:relative;overflow:hidden;color:#fff;background:linear-gradient(120deg,#1677ff 0%,#4165f4 52%,#7456ff 100%);display:flex;align-items:center;justify-content:space-between;box-shadow:0 24px 60px rgba(52,89,220,.22)}.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.12)}.hero:before{width:320px;height:320px;right:-100px;top:-160px}.hero:after{width:190px;height:190px;right:170px;bottom:-140px}.hero h1{font-size:42px;letter-spacing:-.04em;margin:18px 0 10px}.hero p{max-width:560px;font-size:17px;line-height:1.6;margin:0;color:rgba(255,255,255,.88)}.hero .pill{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.2)}.hero-orb{position:relative;z-index:2;width:130px;height:130px;border-radius:42px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(20px);display:grid;place-items:center;transform:rotate(7deg)}.hero-orb span{font-size:56px;font-weight:900;transform:rotate(-7deg)}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.status-card,.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.status-card{padding:19px;display:flex;gap:14px;align-items:flex-start}.status-card>div:last-child{display:flex;flex-direction:column;gap:4px}.status-card small{color:var(--muted)}.status-card strong{font-size:15px}.status-card span,.status-card a{font-size:12px;color:var(--muted);line-height:1.4}.status-card a{color:var(--blue);font-weight:700}.status-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(10,143,85,.11);color:var(--success);flex:0 0 auto}.status-icon.blue{background:rgba(22,119,255,.11);color:var(--blue)}.status-icon.purple{background:rgba(116,86,255,.12);color:#7456ff}.section-head{display:flex;justify-content:space-between;align-items:end;margin:36px 0 16px}.section-head h1,.section-head h2{margin:0;letter-spacing:-.025em}.section-head h2{font-size:24px}.section-head>a{color:var(--blue);font-size:13px;font-weight:750}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.service-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.service-card{min-height:116px;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:18px;display:grid;grid-template-columns:52px 1fr 25px;gap:14px;align-items:center;box-shadow:var(--shadow);transition:.2s transform,.2s border-color}.service-card:hover{transform:translateY(-3px);border-color:rgba(22,119,255,.28)}.service-icon{width:50px;height:50px;border-radius:17px;background:linear-gradient(145deg,rgba(22,119,255,.13),rgba(116,86,255,.12));color:var(--blue);display:grid;place-items:center}.service-card>div{display:flex;flex-direction:column;gap:6px;min-width:0}.service-card strong{font-size:16px}.service-card small{font-size:12px;color:var(--muted);line-height:1.45}.service-card em{font-style:normal;color:var(--blue);font-size:11px;font-weight:700}.open-icon{color:var(--muted)}.open-icon svg{width:18px}.announcement-list{display:grid;gap:12px}.announcement{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px;display:grid;grid-template-columns:10px 1fr;gap:15px}.announcement-dot{width:8px;height:8px;border-radius:50%;background:var(--blue);margin-top:8px}.announcement-meta{display:flex;align-items:center;gap:10px}.announcement time{font-size:11px;color:var(--muted)}.announcement h3{margin:9px 0 7px;font-size:16px}.announcement p{margin:0;color:var(--muted);line-height:1.6;font-size:13px}.page-intro{max-width:700px;margin-bottom:25px}.page-intro h1{font-size:36px;letter-spacing:-.04em;margin:8px 0 10px}.page-intro>p:last-child{color:var(--muted);line-height:1.65}.notification-list{display:grid;gap:10px}.notification{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:17px;display:grid;grid-template-columns:44px 1fr;gap:14px}.notification.unread{border-color:rgba(22,119,255,.28);background:linear-gradient(90deg,rgba(22,119,255,.06),var(--surface))}.notification-icon{width:42px;height:42px;border-radius:14px;background:rgba(22,119,255,.1);color:var(--blue);display:grid;place-items:center}.notification>div>div{display:flex;justify-content:space-between;gap:15px}.notification time,.notification small{font-size:11px;color:var(--muted)}.notification p{font-size:13px;color:var(--muted);margin:6px 0;line-height:1.5}.button{border:0;border-radius:14px;padding:11px 16px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--text);color:var(--bg)}.button.primary{background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff}.button.secondary{background:var(--surface);color:var(--text);border:1px solid var(--line)}.button.small{padding:8px 11px;font-size:12px}.button.wide{width:100%}.button:disabled{opacity:.45;cursor:not-allowed}.alert{border-radius:16px;padding:13px 15px;margin-bottom:14px;border:1px solid var(--line);background:var(--surface);font-size:13px}.alert.danger{color:var(--danger);background:rgba(217,45,32,.08);border-color:rgba(217,45,32,.18)}.alert.success{color:var(--success);background:rgba(10,143,85,.08);border-color:rgba(10,143,85,.18)}.profile-hero{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:25px;display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:20px}.profile-avatar{width:86px;height:86px;border-radius:28px;background:linear-gradient(135deg,#dcecff,#ddd8ff);display:grid;place-items:center;font-size:34px;font-weight:900;color:#315ca9;overflow:hidden}.profile-avatar img,.student-photo img{width:100%;height:100%;object-fit:cover}.profile-hero h1{margin:5px 0;font-size:28px}.profile-hero p{margin:0;color:var(--muted)}.profile-grid,.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.card{padding:22px}.card h2{margin:0 0 18px;font-size:18px}.card dl{margin:0}.card dl div,.metric-line{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.card dl div:last-child{border-bottom:0}.card dt{color:var(--muted);font-size:13px}.card dd{margin:0;font-weight:700;text-align:right;font-size:13px}.sync-row{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid var(--line)}.sync-row>span{color:var(--blue)}.sync-row p{margin:4px 0 0;color:var(--muted);font-size:12px}.student-card{max-width:780px;aspect-ratio:1.585/1;border-radius:30px;padding:28px;color:#fff;background:linear-gradient(125deg,#0f3c8d,#176ee7 55%,#664bd4);box-shadow:0 30px 80px rgba(30,70,170,.3);display:flex;flex-direction:column;overflow:hidden;position:relative}.student-card:after{content:"";width:400px;height:400px;border:70px solid rgba(255,255,255,.06);border-radius:50%;position:absolute;right:-180px;bottom:-220px}.card-top,.card-body,.card-footer{position:relative;z-index:2}.card-top{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:13px}.card-logo{width:46px;height:46px;border-radius:14px;background:#fff;color:#1856b3;display:grid;place-items:center;font-weight:900}.card-top>div:nth-child(2){display:flex;flex-direction:column}.card-top small{font-size:9px;letter-spacing:.18em;opacity:.75}.card-top>span{font-size:12px;font-weight:700}.card-body{display:grid;grid-template-columns:120px 1fr 100px;gap:24px;align-items:center;flex:1}.student-photo{width:118px;height:150px;border-radius:18px;background:rgba(255,255,255,.18);border:2px solid rgba(255,255,255,.3);display:grid;place-items:center;font-size:40px;font-weight:900;overflow:hidden}.student-data h2{font-size:25px;margin:0 0 16px}.student-data p{display:grid;grid-template-columns:75px 1fr;margin:8px 0;font-size:13px}.student-data p span{opacity:.7}.qr-placeholder{width:92px;height:92px;border-radius:14px;background:#fff;color:#164f9f;display:grid;place-items:center;align-content:center;font-weight:900}.qr-placeholder small{font-size:9px;color:#65718b}.card-footer{display:flex;justify-content:space-between;font-size:10px;opacity:.88}.form-stack{display:grid;gap:14px}.form-stack h2{margin:14px 0 0}.form-stack label,.login-form label{display:grid;gap:7px;font-size:12px;font-weight:750}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}input{width:100%;border:1px solid var(--line);background:var(--surface-solid);color:var(--text);border-radius:13px;padding:12px 13px;outline:0;font-size:14px}input:focus{border-color:rgba(22,119,255,.6);box-shadow:0 0 0 4px rgba(22,119,255,.1)}.password-wrap{display:grid;grid-template-columns:1fr auto;border:1px solid var(--line);border-radius:13px;background:var(--surface-solid);overflow:hidden}.password-wrap input{border:0;border-radius:0;box-shadow:none}.password-wrap button{border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:700;padding:0 13px}.text-success{color:var(--success)}.text-warning{color:var(--warning)}code{font-size:12px;background:rgba(128,128,128,.12);padding:2px 5px;border-radius:6px}.section{margin-top:16px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px}table{border-collapse:collapse;width:100%;min-width:740px}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line);font-size:12px}th{color:var(--muted);background:rgba(128,128,128,.04)}td strong,td small{display:block}td small{color:var(--muted);margin-top:3px}.inline-form{display:flex;gap:7px}.inline-form input{min-width:190px;padding:8px 10px}.empty-state{text-align:center;color:var(--muted);padding:46px}.big-icon svg{width:44px;height:44px}.bottom-nav{display:none}.login-body,.install-body{min-height:100vh;display:grid;place-items:center;padding:24px}.login-shell{width:min(100%,1050px)}.login-card{display:grid;grid-template-columns:1.1fr .9fr;background:var(--surface);border:1px solid var(--line);border-radius:34px;overflow:hidden;box-shadow:0 30px 100px rgba(20,25,50,.15)}.login-visual{min-height:640px;padding:56px;background:linear-gradient(140deg,#0d52c7,#176ef0 55%,#7456ff);color:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;overflow:hidden}.login-visual:after{content:"";position:absolute;width:440px;height:440px;border:80px solid rgba(255,255,255,.07);border-radius:50%;right:-260px;bottom:-250px}.login-visual .pill{margin-top:34px;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22)}.login-visual h1{font-size:48px;line-height:1.02;letter-spacing:-.05em;margin:18px 0}.login-visual p{font-size:16px;line-height:1.65;color:rgba(255,255,255,.82);max-width:430px}.login-form{padding:56px 48px;display:flex;flex-direction:column;justify-content:center;gap:16px}.login-form h2{font-size:30px;margin:0;letter-spacing:-.03em}.login-form>p{margin:0}.sso-note{border-top:1px solid var(--line);margin-top:12px;padding-top:18px;display:flex;gap:12px;color:var(--muted)}.sso-note>span{color:var(--blue)}.sso-note div{display:flex;flex-direction:column;gap:4px}.sso-note strong{font-size:13px;color:var(--text)}.sso-note small{font-size:11px;line-height:1.45}.install-shell{width:min(100%,850px)}.install-card{background:var(--surface);border:1px solid var(--line);border-radius:30px;padding:38px;box-shadow:var(--shadow)}.install-card h1{font-size:34px;margin:14px 0 8px}.req-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:20px 0}.req{padding:10px;border-radius:12px;background:rgba(128,128,128,.08);font-size:12px}.req span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;margin-right:7px}.req.ok span{background:rgba(10,143,85,.12);color:var(--success)}.req.bad span{background:rgba(217,45,32,.12);color:var(--danger)}
@media(max-width:1000px){.sidebar{width:220px}.main{margin-left:220px}.service-grid,.service-grid.compact{grid-template-columns:repeat(2,1fr)}.quick-grid{grid-template-columns:1fr}.hero h1{font-size:36px}}
@media(max-width:760px){body{padding-bottom:calc(76px + var(--safe-bottom))}.sidebar{display:none}.main{margin-left:0}.topbar{height:68px;padding:0 18px}.page{padding:20px 16px 30px}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);left:10px;right:10px;bottom:calc(8px + var(--safe-bottom));z-index:30;border:1px solid var(--line);background:var(--surface);backdrop-filter:blur(24px);border-radius:20px;padding:7px;box-shadow:0 14px 45px rgba(0,0,0,.16)}.bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--muted);font-size:9px;font-weight:750;padding:6px}.bottom-nav a.active{color:var(--blue)}.bottom-nav svg{width:21px;height:21px}.bottom-nav .count{position:absolute;top:1px;right:15px}.hero{min-height:220px;padding:26px;border-radius:25px}.hero h1{font-size:31px}.hero p{font-size:14px}.hero-orb{display:none}.service-grid,.service-grid.compact{grid-template-columns:1fr}.service-card{min-height:102px}.section-head{margin-top:28px}.page-intro h1{font-size:30px}.profile-hero{grid-template-columns:72px 1fr}.profile-avatar{width:68px;height:68px;border-radius:22px}.profile-hero>.button{grid-column:1/-1}.profile-grid,.admin-grid{grid-template-columns:1fr}.student-card{aspect-ratio:auto;min-height:490px;padding:22px}.card-body{grid-template-columns:96px 1fr;gap:17px}.student-photo{width:94px;height:126px}.qr-placeholder{grid-column:1/-1;width:76px;height:76px;justify-self:end;margin-top:-28px}.card-top>span{display:none}.card-footer{margin-top:10px}.login-body{padding:0}.login-card{grid-template-columns:1fr;border-radius:0;min-height:100vh}.login-visual{min-height:280px;padding:32px 25px}.login-visual .brand-mark{width:50px;height:50px;border-radius:16px}.login-visual .pill{margin-top:20px}.login-visual h1{font-size:34px;margin:13px 0}.login-visual p{font-size:13px}.login-form{padding:32px 24px}.form-grid{grid-template-columns:1fr}.install-body{padding:12px}.install-card{padding:24px;border-radius:24px}.req-grid{grid-template-columns:1fr}.inline-form{flex-direction:column}}

.profile-actions{display:flex;gap:9px;flex-wrap:wrap}.password-card{max-width:560px}.password-card .button{margin-top:4px}@media(max-width:760px){.profile-actions{grid-column:1/-1}.profile-actions .button{flex:1}}

/* MYPIA v0.2.0 — Dasbor Harian Terintegrasi */
.version-chip{position:absolute;left:56px;bottom:42px;z-index:2;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);font-size:11px;font-weight:800;letter-spacing:.06em}.daily-hero{min-height:270px}.hero-actions{display:flex;align-items:center;gap:10px;margin-top:24px;position:relative;z-index:3}.hero-actions form{margin:0}.hero-button{background:#fff;color:#1856b3;position:relative;z-index:3}.hero-button.ghost{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);color:#fff}.daily-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:18px}.daily-summary-grid .status-card{min-height:145px;position:relative;align-items:flex-start}.status-card>div:nth-child(2){min-width:0}.status-card p{margin:3px 0 0;font-size:12px;color:var(--muted);line-height:1.5}.status-card .source-label,.status-card .card-link{position:absolute;right:16px;top:16px;font-size:9px;letter-spacing:.1em;font-weight:900;color:var(--muted)}.status-card .card-link{color:var(--blue);font-size:11px;letter-spacing:0}.status-card.success{border-color:rgba(10,143,85,.22);background:linear-gradient(145deg,rgba(10,143,85,.07),var(--surface))}.status-card.warning{border-color:rgba(199,120,0,.24);background:linear-gradient(145deg,rgba(199,120,0,.08),var(--surface))}.status-card.info{border-color:rgba(22,119,255,.22);background:linear-gradient(145deg,rgba(22,119,255,.07),var(--surface))}.status-card.danger{border-color:rgba(217,45,32,.22);background:linear-gradient(145deg,rgba(217,45,32,.07),var(--surface))}.status-card.muted,.status-card.neutral{background:var(--surface)}.status-card.warning .status-icon{color:var(--warning);background:rgba(199,120,0,.11)}.status-card.info .status-icon{color:var(--blue);background:rgba(22,119,255,.11)}.status-card.danger .status-icon{color:var(--danger);background:rgba(217,45,32,.11)}.status-card.muted .status-icon,.status-card.neutral .status-icon{color:var(--muted);background:rgba(128,128,128,.1)}.tag.info{color:var(--blue);background:rgba(22,119,255,.1)}.tag.warning{color:var(--warning);background:rgba(199,120,0,.1)}.tag.muted{color:var(--muted);background:rgba(128,128,128,.1)}.integration-note{display:flex;align-items:flex-start;gap:13px;margin-top:16px;padding:15px 17px;border:1px solid rgba(199,120,0,.2);border-radius:18px;background:rgba(199,120,0,.07);color:var(--warning)}.integration-note>span{flex:0 0 auto}.integration-note strong{font-size:13px}.integration-note p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.schedule-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);overflow:hidden}.schedule-item{display:grid;grid-template-columns:70px 1fr auto;gap:17px;align-items:center;padding:18px 21px;border-bottom:1px solid var(--line)}.schedule-item:last-child{border-bottom:0}.period-badge{width:58px;min-height:58px;border-radius:17px;background:linear-gradient(145deg,rgba(22,119,255,.13),rgba(116,86,255,.12));color:var(--blue);display:grid;place-items:center;align-content:center}.period-badge small{font-size:8px;letter-spacing:.12em;font-weight:900}.period-badge strong{font-size:15px}.schedule-item h3{margin:0;font-size:15px}.schedule-item p{margin:5px 0;color:var(--muted);font-size:12px}.schedule-item>div:nth-child(2)>span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.schedule-item>div:nth-child(2)>span svg{width:14px;height:14px}.pkl-focus{display:grid;grid-template-columns:82px 1fr auto;gap:20px;align-items:center;padding:25px;border-radius:25px;background:linear-gradient(135deg,rgba(22,119,255,.1),rgba(116,86,255,.1));border:1px solid rgba(22,119,255,.18);box-shadow:var(--shadow)}.pkl-symbol{width:78px;height:78px;border-radius:23px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--blue),var(--blue2))}.pkl-symbol svg{width:34px;height:34px}.pkl-focus h2{margin:10px 0 5px;font-size:22px}.pkl-focus p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.empty-state.compact{padding:30px 20px}.empty-state.compact h3{margin:10px 0 7px}.empty-state.compact p{max-width:520px;margin:0 auto 17px;line-height:1.55}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.integration-card{display:flex;flex-direction:column;gap:16px}.integration-card .form-stack{flex:1}.integration-title{display:grid;grid-template-columns:52px 1fr auto;gap:13px;align-items:center}.integration-title h2{margin:0 0 5px}.integration-title p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.small-alert{margin:0;font-size:12px}.alert.warning{color:var(--warning);background:rgba(199,120,0,.08);border-color:rgba(199,120,0,.18)}.check-label{display:flex!important;align-items:center;gap:9px;align-self:end;min-height:43px}.check-label input,.toggle-label input{width:auto}.toggle-label{display:flex!important;align-items:center;gap:10px;cursor:pointer}.toggle-label>span{position:relative;width:38px;height:22px;border-radius:999px;background:rgba(128,128,128,.22);order:-1;transition:.2s}.toggle-label>span:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.2s}.toggle-label input{position:absolute;opacity:0;pointer-events:none}.toggle-label input:checked+span{background:var(--blue)}.toggle-label input:checked+span:after{transform:translateX(16px)}.integration-test-form{margin-top:-6px}.connection-meta{margin:0;padding-top:13px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);line-height:1.5}.section-head.inside{margin:0 0 16px}.log-list{display:grid}.log-row{display:grid;grid-template-columns:12px 1fr auto;gap:12px;align-items:start;padding:13px 0;border-bottom:1px solid var(--line)}.log-row:last-child{border-bottom:0}.status-dot{width:9px;height:9px;border-radius:50%;margin-top:5px;background:var(--muted)}.status-dot.ok{background:var(--success)}.status-dot.error{background:var(--danger)}.log-row strong{font-size:12px}.log-row p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.log-row time{display:grid;justify-items:end;color:var(--muted);font-size:10px;white-space:nowrap}.log-row time small{margin-top:4px}.announcement-icon{width:40px;height:40px;border-radius:13px;background:rgba(22,119,255,.1);color:var(--blue);display:grid;place-items:center}.announcement{grid-template-columns:40px 1fr}.announcement>div>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.service-title{display:flex;align-items:center;gap:7px}.service-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.external{color:var(--muted)}.external svg{width:18px}.page-intro.row{display:flex;justify-content:space-between;align-items:end;gap:20px;max-width:none}.topbar{background:color-mix(in srgb,var(--bg) 76%,transparent)}
:root[data-theme=dark] .pill,:root[data-theme=dark] .tag{background:rgba(255,255,255,.06)}
@media(max-width:1000px){.daily-summary-grid{grid-template-columns:1fr 1fr}.daily-summary-grid>article:last-child{grid-column:1/-1}.integration-grid{grid-template-columns:1fr}}
@media(max-width:760px){.version-chip{left:25px;bottom:18px}.daily-hero{min-height:270px}.hero-actions{align-items:stretch;flex-direction:column;width:100%}.hero-actions form,.hero-actions .button{width:100%}.daily-summary-grid{grid-template-columns:1fr}.daily-summary-grid>article:last-child{grid-column:auto}.daily-summary-grid .status-card{min-height:122px}.schedule-item{grid-template-columns:58px 1fr;padding:15px;gap:13px}.schedule-item>.tag{grid-column:2;justify-self:start}.period-badge{width:52px;min-height:52px}.pkl-focus{grid-template-columns:60px 1fr;padding:20px;gap:15px}.pkl-symbol{width:58px;height:58px;border-radius:18px}.pkl-symbol svg{width:27px;height:27px}.pkl-focus .button{grid-column:1/-1;width:100%}.integration-title{grid-template-columns:46px 1fr}.integration-title>.tag{grid-column:2;justify-self:start}.log-row{grid-template-columns:10px 1fr}.log-row time{grid-column:2;justify-items:start}.page-intro.row{align-items:flex-start;flex-direction:column}.page-intro.row form,.page-intro.row .button{width:100%}.announcement{padding:17px}.announcement>div>div{align-items:flex-start;flex-direction:column}.service-grid.compact{grid-template-columns:1fr}}
.validation-list{display:grid;gap:8px;margin:18px 0}.validation-list .req{display:grid;grid-template-columns:24px 1fr;gap:2px 9px;align-items:center}.validation-list .req span{grid-row:1/3}.validation-list .req strong{font-size:12px}.validation-list .req small{font-size:10px;color:var(--muted)}.form-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:760px){.form-actions>.button{width:100%}}
.pkl-period{display:block;margin-top:.55rem;color:var(--muted);font-weight:650;letter-spacing:.01em}

/* MYPIA v0.3.0 — Pusat Pembaruan */
.tag.danger{color:var(--danger);background:rgba(217,45,32,.1)}
.button.danger{background:rgba(217,45,32,.1);color:var(--danger);border:1px solid rgba(217,45,32,.2)}
.update-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 18px}
.update-version-card{display:grid;grid-template-columns:50px 1fr auto;gap:14px;align-items:center;min-height:120px}
.update-symbol{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:var(--blue);background:linear-gradient(145deg,rgba(22,119,255,.13),rgba(116,86,255,.12))}
.update-version-card>div{display:flex;flex-direction:column;min-width:0}.update-version-card small{font-size:11px;color:var(--muted)}.update-version-card strong{font-size:17px;margin:4px 0}.update-version-card p{font-size:11px;color:var(--muted);line-height:1.45;margin:0}
.updater-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:16px;align-items:start}
.updater-upload-card,.updater-check-card{min-width:0}.updater-upload-card{display:flex;flex-direction:column;gap:16px}.updater-form{margin-top:0}
.file-drop{position:relative;min-height:155px;border:1.5px dashed rgba(22,119,255,.35);border-radius:22px;padding:24px;display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:7px;text-align:center;background:linear-gradient(145deg,rgba(22,119,255,.045),rgba(116,86,255,.045));cursor:pointer;transition:.2s border-color,.2s transform,.2s background}
.file-drop:hover{transform:translateY(-1px);border-color:var(--blue);background:linear-gradient(145deg,rgba(22,119,255,.08),rgba(116,86,255,.07))}.file-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-drop-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:var(--blue);background:rgba(22,119,255,.11)}.file-drop strong{font-size:14px}.file-drop small{font-size:11px;color:var(--muted);line-height:1.5}.file-drop.has-file{border-style:solid;border-color:rgba(10,143,85,.42);background:rgba(10,143,85,.055)}.file-drop.has-file .file-drop-icon{color:var(--success);background:rgba(10,143,85,.12)}
.update-security-list{display:grid;gap:0;border-top:1px solid var(--line);padding-top:8px}.update-security-list>div{display:grid;grid-template-columns:34px 1fr;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}.update-security-list>div:last-child{border-bottom:0}.update-security-list>div>svg{width:20px;color:var(--blue);margin-top:1px}.update-security-list span{display:flex;flex-direction:column;gap:3px}.update-security-list strong{font-size:12px}.update-security-list small{font-size:10px;line-height:1.5;color:var(--muted)}
.updater-validation{margin:0}.updater-validation .req{padding:10px 0;border-bottom:1px solid var(--line)}.updater-validation .req:last-child{border-bottom:0}.updater-validation .req span{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900}.updater-validation .req.ok span{color:var(--success);background:rgba(10,143,85,.11)}.updater-validation .req.bad span{color:var(--danger);background:rgba(217,45,32,.11)}
.package-format-note{margin-top:18px;padding:15px;border-radius:17px;background:rgba(22,119,255,.06);border:1px solid rgba(22,119,255,.14)}.package-format-note strong{font-size:12px}.package-format-note p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.package-format-note code{padding:2px 5px;border-radius:6px;background:rgba(128,128,128,.12);font-size:10px}
.update-history-card{margin-top:16px}.update-table td{vertical-align:top}.update-table td>strong,.update-table td>span{display:block;font-size:12px}.update-table td>small{display:block;max-width:280px;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.45;overflow-wrap:anywhere}.rollback-box{min-width:140px}.rollback-box summary{cursor:pointer;color:var(--danger);font-size:11px;font-weight:800}.rollback-box form{min-width:210px;margin-top:10px;padding:12px;border-radius:15px;background:var(--bg);border:1px solid var(--line)}.rollback-box label{font-size:10px}.rollback-box input{min-width:0}.rollback-box .button{width:100%}
@media(max-width:1050px){.update-overview-grid{grid-template-columns:1fr 1fr}.update-overview-grid>article:last-child{grid-column:1/-1}.updater-layout{grid-template-columns:1fr}}
@media(max-width:760px){.update-overview-grid{grid-template-columns:1fr}.update-overview-grid>article:last-child{grid-column:auto}.update-version-card{grid-template-columns:44px 1fr}.update-version-card>.tag{grid-column:2;justify-self:start}.update-symbol{width:42px;height:42px;border-radius:14px}.file-drop{min-height:140px;padding:20px}.update-history-card .table-wrap{overflow:visible}.update-table,.update-table tbody,.update-table tr,.update-table td{display:block;width:100%}.update-table thead{display:none}.update-table tr{padding:15px 0;border-bottom:1px solid var(--line)}.update-table tr:last-child{border-bottom:0}.update-table td{padding:5px 0;border:0}.update-table td:before{content:attr(data-label);display:block;font-size:9px;letter-spacing:.1em;font-weight:900;color:var(--muted);margin-bottom:4px}.rollback-box form{min-width:0}.updater-check-card{order:-1}}
.stale-maintenance-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;border-color:rgba(217,45,32,.22);background:linear-gradient(145deg,rgba(217,45,32,.06),var(--surface))}.stale-maintenance-card>div{display:flex;align-items:center;gap:13px}.stale-maintenance-card strong{font-size:13px}.stale-maintenance-card p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.stale-maintenance-card .inline-form{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.stale-maintenance-card input{width:170px}
@media(max-width:850px){.stale-maintenance-card{align-items:stretch;flex-direction:column}.stale-maintenance-card .inline-form{justify-content:stretch}.stale-maintenance-card input,.stale-maintenance-card .button{width:100%}}

/* MYPIA v0.4.0 — Pusat Informasi Siswa */
select,textarea{width:100%;border:1px solid var(--line);background:var(--surface-solid);color:var(--text);border-radius:13px;padding:12px 13px;outline:0;font:inherit;font-size:14px}textarea{resize:vertical;min-height:120px;line-height:1.6}select:focus,textarea:focus{border-color:rgba(22,119,255,.6);box-shadow:0 0 0 4px rgba(22,119,255,.1)}label>small{font-size:10px;color:var(--muted);font-weight:500;text-align:right}.tag.info{color:var(--blue);background:rgba(22,119,255,.1)}.tag.warning{color:var(--warning);background:rgba(199,120,0,.1)}.tag.muted{color:var(--muted);background:rgba(128,128,128,.09)}.tag svg{width:13px;height:13px}.alert.info{color:var(--blue);background:rgba(22,119,255,.07);border-color:rgba(22,119,255,.16)}
.announcement.unread{border-color:rgba(22,119,255,.32);background:linear-gradient(90deg,rgba(22,119,255,.055),var(--surface))}.announcement .tag{flex:0 0 auto}.announcement small{display:block;margin-top:8px;color:var(--muted);font-size:11px}.announcement-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.announcement-hub-grid>.empty-state{grid-column:1/-1}.announcement-hub-card{min-height:245px;padding:23px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between;gap:22px;position:relative;overflow:hidden;transition:.2s transform,.2s border-color}.announcement-hub-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:rgba(22,119,255,.45)}.announcement-hub-card.priority-important:before{background:var(--warning)}.announcement-hub-card.priority-urgent:before{background:var(--danger)}.announcement-hub-card:hover{transform:translateY(-3px);border-color:rgba(22,119,255,.28)}.announcement-hub-card.unread{background:linear-gradient(145deg,rgba(22,119,255,.07),var(--surface));border-color:rgba(22,119,255,.28)}.announcement-hub-top,.announcement-hub-footer,.announcement-chip-row{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.announcement-chip-row{justify-content:flex-start}.announcement-type-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;color:var(--blue);background:rgba(22,119,255,.1)}.announcement-hub-card small{color:var(--muted);font-size:11px}.announcement-hub-card h2{margin:9px 0 7px;font-size:20px;letter-spacing:-.025em}.announcement-hub-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}.announcement-hub-footer{padding-top:15px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.announcement-hub-footer strong{display:flex;align-items:center;gap:5px;color:var(--blue)}.announcement-hub-footer svg{width:15px;height:15px}
.announcement-detail-shell{max-width:860px;margin:auto}.back-link{display:inline-flex;align-items:center;gap:7px;margin:0 0 15px;color:var(--blue);font-size:13px;font-weight:750}.back-link svg{width:17px}.announcement-detail-card{padding:34px;position:relative;overflow:hidden}.announcement-detail-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--blue)}.announcement-detail-shell.priority-important .announcement-detail-card:before{background:var(--warning)}.announcement-detail-shell.priority-urgent .announcement-detail-card:before{background:var(--danger)}.announcement-detail-card header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.announcement-detail-mark{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;color:var(--blue);background:linear-gradient(145deg,rgba(22,119,255,.13),rgba(116,86,255,.11))}.announcement-detail-mark svg{width:28px;height:28px}.announcement-detail-card h1{font-size:36px;letter-spacing:-.04em;line-height:1.12;margin:9px 0 15px}.announcement-detail-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:11px;padding-bottom:22px;border-bottom:1px solid var(--line)}.announcement-detail-meta span{display:flex;align-items:center;gap:6px}.announcement-detail-meta svg{width:16px}.announcement-body{padding:27px 0;font-size:15px;line-height:1.85;white-space:normal}.announcement-action{margin-top:2px}.announcement-action svg{width:17px}
.notification-tabs,.communication-tabs{display:flex;align-items:center;gap:7px;margin:-7px 0 18px;padding:5px;border:1px solid var(--line);border-radius:15px;background:var(--surface);width:max-content;max-width:100%;overflow:auto}.notification-tabs a,.communication-tabs a{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 12px;border-radius:11px;color:var(--muted);font-size:12px;font-weight:750}.notification-tabs a.active,.communication-tabs a.active{background:rgba(22,119,255,.1);color:var(--blue)}.notification-tabs b,.communication-tabs b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:rgba(128,128,128,.12);font-size:10px}.notification.priority-urgent{border-left:4px solid var(--danger)}.notification.priority-important{border-left:4px solid var(--warning)}.notification>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:var(--blue);background:rgba(22,119,255,.1)}
.communication-admin-banner{margin-top:16px;display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:18px;background:linear-gradient(135deg,rgba(22,119,255,.07),rgba(116,86,255,.06),var(--surface))}.communication-banner-icon{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;color:var(--blue);background:rgba(22,119,255,.11)}.communication-banner-icon svg{width:27px;height:27px}.communication-admin-banner h2{margin:2px 0 6px}.communication-admin-banner p:last-child{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.communication-admin-banner .button svg{width:16px}
.communication-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.communication-stats article{display:flex;align-items:center;gap:13px;padding:17px}.communication-stats article>span{width:41px;height:41px;border-radius:14px;display:grid;place-items:center;color:var(--blue);background:rgba(22,119,255,.1)}.communication-stats article>div{display:flex;flex-direction:column}.communication-stats small{color:var(--muted);font-size:10px}.communication-stats strong{font-size:22px;margin-top:2px}.communication-layout{display:grid;grid-template-columns:minmax(410px,.92fr) minmax(0,1.08fr);gap:16px;align-items:start}.communication-editor,.communication-list-card{min-width:0}.communication-form [data-audience-field][hidden]{display:none}.communication-list-card{padding-bottom:10px}.communication-list{display:grid}.communication-row{padding:17px 0;border-bottom:1px solid var(--line)}.communication-row:last-child{border-bottom:0}.communication-row-head,.communication-row-meta,.communication-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.communication-row-head>div{display:flex;gap:6px;flex-wrap:wrap}.communication-row-head time{font-size:10px;color:var(--muted)}.communication-row h3{font-size:16px;margin:11px 0 6px}.communication-row>p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.communication-row-meta{justify-content:flex-start;margin:13px 0;color:var(--muted);font-size:10px}.communication-row-meta span{display:flex;align-items:center;gap:5px}.communication-row-meta svg{width:14px;height:14px}.communication-actions{justify-content:flex-end}.communication-actions form{margin:0}.communication-actions .button svg{width:15px;height:15px}
@media(max-width:1050px){.communication-layout{grid-template-columns:1fr}.communication-list-card{order:-1}.communication-stats{grid-template-columns:1fr 1fr}.announcement-hub-grid{grid-template-columns:1fr}.communication-admin-banner{grid-template-columns:54px 1fr}.communication-admin-banner>.button{grid-column:1/-1;width:100%}}
@media(max-width:760px){.sidebar nav a[href*="pengumuman"]{display:none}.announcement-detail-card{padding:24px 19px}.announcement-detail-card h1{font-size:28px}.announcement-detail-card header{align-items:flex-start;flex-direction:column}.announcement-body{font-size:14px}.communication-stats{grid-template-columns:1fr 1fr}.communication-stats article{padding:14px}.communication-layout{display:block}.communication-editor{margin-top:15px}.communication-tabs{width:100%}.communication-tabs a{flex:1;justify-content:center}.communication-row-head{align-items:flex-start}.notification-tabs{width:100%}.notification-tabs a{flex:1;justify-content:center}.notification>div>div{align-items:flex-start;flex-direction:column;gap:4px}.communication-admin-banner{grid-template-columns:1fr;text-align:center}.communication-banner-icon{margin:auto}.announcement-hub-card{min-height:220px}.announcement-hub-card h2{font-size:18px}.form-grid{grid-template-columns:1fr}}

/* MYPIA v0.5.0 — Profil dan Kartu Pelajar Digital */
.tag.warning{color:var(--warning);background:rgba(199,120,0,.1)}.tag.muted{color:var(--muted);background:rgba(128,128,128,.1)}
.profile-cover{display:grid;grid-template-columns:112px 1fr auto;gap:24px;align-items:center;padding:28px;background:linear-gradient(135deg,rgba(22,119,255,.07),rgba(116,86,255,.06),var(--surface))}.profile-photo-large,.profile-photo-small{display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#dcecff,#ddd8ff);color:#315ca9;font-weight:900}.profile-photo-large{width:108px;height:108px;border-radius:32px;font-size:38px}.profile-photo-small{width:64px;height:64px;border-radius:21px;font-size:24px}.profile-photo-large img,.profile-photo-small img,.mini-avatar img{width:100%;height:100%;object-fit:cover}.profile-cover-copy h1{font-size:32px;letter-spacing:-.035em;margin:5px 0 7px}.profile-cover-copy>p:last-of-type{margin:0;color:var(--muted)}.profile-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.profile-badges svg{width:14px;height:14px}.profile-cover-actions{display:flex;align-items:stretch;flex-direction:column;gap:9px}.profile-cover-actions .button svg{width:17px}.profile-completeness{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:16px}.profile-completeness h2{margin:4px 0 6px;font-size:24px}.profile-completeness p:last-child{margin:0;color:var(--muted);font-size:12px}.progress-ring{--progress:0;width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) calc(var(--progress)*1%),rgba(128,128,128,.14) 0);position:relative;flex:0 0 auto}.progress-ring:before{content:"";position:absolute;inset:8px;border-radius:inherit;background:var(--surface-solid)}.progress-ring span{position:relative;font-size:15px;font-weight:850}.profile-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.detail-card .section-head svg{width:23px;color:var(--blue)}.identity-list div{align-items:flex-start}.identity-list dd{text-align:right;max-width:64%;line-height:1.55}.identity-list .wide{flex-direction:column;gap:7px}.identity-list .wide dd{max-width:none;text-align:left}.privacy-note{display:flex;align-items:center;gap:8px;margin-top:14px;padding:12px 13px;border-radius:14px;background:rgba(22,119,255,.06);color:var(--muted);font-size:11px}.privacy-note svg{width:17px;color:var(--blue)}
.card-page-intro{max-width:none;display:flex;align-items:end;justify-content:space-between;gap:22px}.card-page-intro>div:first-child{max-width:700px}.card-toolbar{display:flex;gap:9px;flex-wrap:wrap}.card-toolbar svg{width:17px}.card-status-strip{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;padding:11px 14px;margin:-8px 0 18px;border-radius:16px;background:rgba(10,143,85,.08);border:1px solid rgba(10,143,85,.18);color:var(--success)}.card-status-strip.warning{background:rgba(199,120,0,.08);border-color:rgba(199,120,0,.18);color:var(--warning)}.card-status-strip.danger{background:rgba(217,45,32,.08);border-color:rgba(217,45,32,.18);color:var(--danger)}.card-status-strip.muted{background:rgba(128,128,128,.08);color:var(--muted)}.card-status-strip>span{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:currentColor}.card-status-strip>span svg{width:18px;color:#fff}.card-status-strip>div{display:flex;flex-direction:column}.card-status-strip strong{font-size:12px}.card-status-strip small{font-size:10px;opacity:.8;margin-top:2px}.digital-card-stage{display:grid;grid-template-columns:repeat(2,minmax(280px,340px));justify-content:center;gap:28px;align-items:start;padding:24px;border-radius:30px;background:radial-gradient(circle at 80% 10%,rgba(22,119,255,.13),transparent 32%),linear-gradient(145deg,rgba(128,128,128,.06),rgba(128,128,128,.015));border:1px solid var(--line)}.id-card-slot{width:100%;aspect-ratio:54/86}.id-card{width:100%;height:100%;border-radius:25px;overflow:hidden;position:relative;background:#fff;color:#14213d;box-shadow:0 25px 70px rgba(23,38,72,.18);font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif}.id-card-front{display:flex;flex-direction:column;padding:22px 22px 0;background:linear-gradient(165deg,#fafdff 0%,#fff 53%,#edf5ff 100%)}.id-card-glow{position:absolute;width:250px;height:250px;border-radius:50%;right:-130px;top:-110px;background:linear-gradient(135deg,rgba(22,119,255,.22),rgba(116,86,255,.16))}.id-card-pattern{position:absolute;inset:auto -30px 0 auto;width:180px;height:180px;opacity:.24;background:repeating-radial-gradient(circle at 100% 100%,transparent 0 12px,#80adff 13px 14px)}.id-card-header{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;position:relative;z-index:2}.id-school-logo{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;overflow:hidden;color:#fff;font-size:17px;font-weight:900;background:linear-gradient(135deg,#1677ff,#6757ff);box-shadow:0 8px 20px rgba(22,119,255,.22)}.id-school-logo.small{width:38px;height:38px;border-radius:12px}.id-school-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:3px}.id-card-header>div:nth-child(2),.id-back-top>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.id-card-header strong,.id-back-top strong{font-size:10px;line-height:1.2;text-transform:uppercase}.id-card-header small,.id-back-top small{font-size:6.5px;letter-spacing:.14em;margin-top:3px;color:#63708a;font-weight:750}.id-card-chip{padding:5px 7px;border-radius:999px;color:#1768d2;background:#e8f2ff;font-size:6px;letter-spacing:.12em;font-weight:900}.id-card-photo{width:112px;height:144px;border-radius:20px;margin:25px auto 15px;position:relative;z-index:2;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#dcecff,#ddd8ff);color:#315ca9;font-size:38px;font-weight:900;border:5px solid #fff;box-shadow:0 16px 35px rgba(35,73,140,.17)}.id-card-photo img{width:100%;height:100%;object-fit:cover}.id-card-name{text-align:center;position:relative;z-index:2}.id-card-name h2{font-size:18px;line-height:1.1;letter-spacing:-.035em;margin:0;text-transform:uppercase}.id-card-name p{font-size:8px;letter-spacing:.07em;color:#1768d2;font-weight:850;margin:7px 0 0;text-transform:uppercase}.id-card-data{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:19px;position:relative;z-index:2}.id-card-data>div{display:flex;flex-direction:column;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.72);border:1px solid rgba(43,91,168,.1)}.id-card-data .wide{grid-column:1/-1}.id-card-data span{display:flex;align-items:center;gap:5px;color:#71809b;font-size:6.5px;text-transform:uppercase;letter-spacing:.08em;font-weight:750}.id-card-data span svg{width:9px;height:9px}.id-card-data strong{font-size:8px;margin-top:4px;line-height:1.35}.id-card-valid{margin-top:auto;padding:13px 0 10px;display:flex;justify-content:space-between;align-items:end;position:relative;z-index:2}.id-card-valid small{font-size:5.5px;letter-spacing:.13em;color:#71809b;font-weight:800}.id-card-valid strong{font-size:7px}.id-card-footer{margin:0 -22px;padding:9px 22px;min-height:31px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#fff;background:linear-gradient(90deg,#1769d2,#6757ff);position:relative;z-index:2}.id-card-footer span{font-size:5.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.id-card-footer b{font-size:5.6px;text-transform:uppercase}.id-card-back{display:flex;flex-direction:column;padding:22px;background:linear-gradient(155deg,#fafdff,#fff 55%,#eef4ff)}.id-back-top{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center}.id-qr-wrap{width:150px;height:150px;margin:28px auto 9px;padding:10px;border-radius:21px;background:#fff;border:1px solid #dce8fb;box-shadow:0 15px 32px rgba(37,72,131,.12);position:relative}.id-qr-wrap img{display:block;width:100%;height:100%}.id-qr-wrap span{position:absolute;left:50%;bottom:-17px;transform:translateX(-50%);white-space:nowrap;font-size:5.5px;letter-spacing:.15em;color:#71809b;font-weight:900}.id-back-number{text-align:center;margin:18px 0 14px;display:flex;flex-direction:column}.id-back-number small{font-size:5.5px;color:#71809b;letter-spacing:.13em;font-weight:800}.id-back-number strong{font-size:10px;letter-spacing:.08em;margin-top:4px}.id-back-rules{padding:12px;border-radius:14px;background:#eff6ff;border:1px solid #dce9fb}.id-back-rules p{font-size:5.7px;line-height:1.5;margin:0 0 4px;color:#53627b}.id-back-rules p:last-child{margin-bottom:0}.id-signature{display:flex;justify-content:flex-end;margin-top:13px;min-height:62px}.id-signature>div{width:145px;display:flex;align-items:center;flex-direction:column;text-align:center;position:relative}.id-signature img{position:absolute;width:92px;height:38px;object-fit:contain;top:-3px}.id-signature small{font-size:5.6px;color:#71809b;margin-top:27px}.id-signature strong{font-size:6.3px;line-height:1.25;margin-top:3px}.id-back-footer{margin:auto -22px -22px;padding:10px 22px;min-height:38px;background:#14213d;color:#fff;display:flex;flex-direction:column;gap:3px}.id-back-footer span{font-size:5.3px;line-height:1.4}.id-back-footer b{font-size:5px;letter-spacing:.08em;color:#aacbff}.card-screen-actions{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:17px}.card-screen-actions svg{width:16px}
.card-admin-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;align-items:start}.student-picker{padding:12px;position:sticky;top:100px;max-height:calc(100vh - 125px);display:flex;flex-direction:column}.student-search{display:grid;grid-template-columns:1fr 40px;gap:8px;padding:4px 4px 12px}.student-picker-list{display:grid;gap:5px;overflow:auto;padding-right:3px}.student-picker-item{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:10px;padding:10px;border-radius:15px;color:var(--muted)}.student-picker-item:hover,.student-picker-item.active{background:rgba(22,119,255,.09);color:var(--text)}.student-picker-item .mini-avatar{width:40px;height:40px;overflow:hidden}.student-picker-item>div:last-child{display:flex;flex-direction:column;min-width:0}.student-picker-item strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-picker-item small{font-size:9.5px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-admin-main{display:grid;gap:16px;min-width:0}.selected-student-head{display:grid;grid-template-columns:64px 1fr auto;gap:15px;align-items:center}.selected-student-head h2{margin:3px 0 5px}.selected-student-head p:last-child{margin:0;color:var(--muted);font-size:11px}.selected-student-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.card-profile-editor hr{width:100%;border:0;border-top:1px solid var(--line);margin:4px 0}.card-profile-editor small{font-size:10px;color:var(--muted);line-height:1.5}.token-security{display:flex;align-items:center;justify-content:space-between;gap:20px;border-color:rgba(217,45,32,.16);background:linear-gradient(145deg,rgba(217,45,32,.035),var(--surface))}.token-security h2{margin:4px 0 6px}.token-security p:last-child{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.card-settings-panel{margin-top:16px}.card-settings-panel .button{justify-self:start}
@media(max-width:1050px){.card-admin-layout{grid-template-columns:1fr}.student-picker{position:static;max-height:none}.student-picker-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:330px}.profile-cover{grid-template-columns:96px 1fr}.profile-photo-large{width:92px;height:92px;border-radius:28px}.profile-cover-actions{grid-column:1/-1;flex-direction:row}.profile-cover-actions .button{flex:1}.digital-card-stage{grid-template-columns:repeat(2,minmax(260px,320px));gap:20px}}
@media(max-width:760px){.profile-cover{grid-template-columns:78px 1fr;padding:20px;gap:15px}.profile-photo-large{width:76px;height:76px;border-radius:23px;font-size:28px}.profile-cover-copy h1{font-size:23px}.profile-cover-copy>p:last-of-type{font-size:11px}.profile-cover-actions{flex-direction:column}.profile-completeness{padding:19px}.progress-ring{width:72px;height:72px}.profile-detail-grid{grid-template-columns:1fr}.identity-list dd{max-width:58%;font-size:12px}.card-page-intro{align-items:flex-start;flex-direction:column}.card-toolbar{width:100%}.card-toolbar .button{flex:1}.digital-card-stage{grid-template-columns:minmax(0,340px);padding:18px 12px}.id-card{border-radius:24px}.card-screen-actions{align-items:stretch;flex-direction:column}.card-screen-actions .button{width:100%}.student-picker-list{grid-template-columns:1fr;max-height:280px}.selected-student-head{grid-template-columns:55px 1fr}.profile-photo-small{width:55px;height:55px;border-radius:17px}.selected-student-actions{grid-column:1/-1;justify-content:flex-start}.token-security{align-items:flex-start;flex-direction:column}.token-security form,.token-security .button{width:100%}.card-settings-panel .button{width:100%}}
@media print{@page{size:54mm 86mm;margin:0}html,body{width:54mm!important;background:#fff!important}.sidebar,.topbar,.bottom-nav,.card-page-intro,.card-status-strip,.card-screen-actions,.alert{display:none!important}.main{margin:0!important}.page{padding:0!important;margin:0!important;max-width:none!important}.digital-card-stage{display:block!important;padding:0!important;border:0!important;background:none!important}.id-card-slot{width:54mm!important;height:86mm!important;overflow:hidden!important;break-after:page;page-break-after:always}.id-card-slot:last-child{break-after:auto;page-break-after:auto}.id-card{width:340px!important;height:541.5px!important;aspect-ratio:auto!important;border-radius:0!important;box-shadow:none!important;transform:scale(.6);transform-origin:top left}}


/* MYPIA v0.5.1 — QR automation */
.qr-automation-panel{display:grid;gap:20px;margin-bottom:22px}.qr-source-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.qr-source-stats>div{padding:16px;border:1px solid var(--line,#e5e5ea);border-radius:18px;background:var(--soft,#f7f7fa);display:grid;gap:4px}.qr-source-stats strong{font-size:1.45rem}.qr-source-stats span{font-size:.82rem;color:var(--muted,#6e6e73)}.bulk-qr-form{display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1fr) auto;gap:14px;align-items:end}.qr-template-code{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0}.qr-template-code code{padding:6px 9px;border-radius:9px;background:var(--soft,#f2f2f7);border:1px solid var(--line,#e5e5ea);font-size:.78rem}.qr-preview-box{display:grid;gap:8px;padding:14px 16px;border-radius:16px;background:var(--soft,#f7f7fa);border:1px solid var(--line,#e5e5ea)}.qr-preview-box span{font-size:.86rem;color:var(--muted,#6e6e73)}.qr-preview-box code{display:block;overflow-wrap:anywhere;word-break:break-word;font-size:.78rem;line-height:1.55}@media(max-width:800px){.qr-source-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-qr-form{grid-template-columns:1fr}}


/* MYPIA v0.5.2 — QR resmi HADIRIYA */
.hadiriya-only-panel code{font-size:.78rem}.hadiriya-sync-form{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.sync-progress{flex:1;min-width:260px}.sync-progress-bar{height:9px;background:rgba(127,127,127,.15);border-radius:999px;overflow:hidden}.sync-progress-bar span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--blue2));transition:width .25s ease}.sync-progress p{margin:7px 0 0;color:var(--muted);font-size:.82rem}.qr-sync-single{border-color:rgba(22,119,255,.18);background:linear-gradient(145deg,rgba(22,119,255,.04),var(--surface))}.id-qr-wrap.qr-missing img{opacity:.8}.id-qr-wrap.qr-missing{background:#f4f6f9}.button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:760px){.hadiriya-sync-form{align-items:stretch;flex-direction:column}.hadiriya-sync-form .button,.sync-progress{width:100%}}

/* SIMAKSI v0.1.0 additions */
.main-wrap{min-width:0;display:flex;flex-direction:column;min-height:100vh}.content{width:min(1480px,100%);margin:0 auto;padding:28px}.app-footer{padding:20px 28px;color:var(--muted);font-size:12px;text-align:center}.mobile-menu{display:none;border:0;background:transparent;font-size:22px}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:14px 24px;background:color-mix(in srgb,var(--bg) 84%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.topbar>div:first-of-type{display:flex;flex-direction:column}.top-actions{display:flex;align-items:center;gap:10px}.user-chip{display:flex;align-items:center;gap:10px}.user-chip>span:first-child,.avatar-large{display:grid;place-items:center;background:linear-gradient(135deg,#1677ff,#7c4dff);color:white;font-weight:800}.user-chip>span:first-child{width:36px;height:36px;border-radius:12px}.user-chip>span:last-child{display:flex;flex-direction:column}.user-chip small{color:var(--muted)}.sidebar nav .nav-separator{height:1px;background:var(--line);margin:10px 14px}.sidebar-footer{padding:16px;color:var(--muted);font-size:12px}.page-intro{margin-bottom:22px}.page-intro.row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.page-intro h1{margin:4px 0 8px;font-size:clamp(28px,4vw,46px)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px;display:grid;gap:8px;box-shadow:var(--shadow)}.stat-card>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--soft);color:var(--accent)}.stat-card svg{width:20px}.stat-card strong{font-size:34px}.stat-card small{color:var(--muted)}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.card-header h2{margin:0}.card-header p{margin:4px 0 0;color:var(--muted)}.integration-list,.list-stack{display:grid;gap:8px;margin-top:14px}.integration-row,.list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.integration-row>div,.list-item>div{display:flex;flex-direction:column;min-width:0}.status-dot{width:10px;height:10px;border-radius:50%;background:#a0a0a5}.status-dot.ok{background:#23a559}.status-dot.error{background:#e43d4f}.status-dot.disabled{background:#9ca3af}.status-dot.unchecked{background:#f59e0b}.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.filters label{min-width:220px}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th,.table-wrap td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.table-wrap td small,.table-wrap td strong{display:block}.table-wrap td small{color:var(--muted);margin-top:4px}.create-panel{margin-bottom:18px}.create-panel>summary{cursor:pointer;font-weight:800;display:flex;gap:8px;align-items:center}.create-panel>summary svg{width:20px}.form-stack{display:grid;gap:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-stack label,.form-grid label{display:grid;gap:6px;font-weight:650}.form-stack input,.form-stack select,.form-stack textarea,.form-grid input,.form-grid select,.form-grid textarea,.filters input,.filters select{width:100%;border:1px solid var(--line);background:var(--field);color:var(--text);border-radius:12px;padding:11px 12px;font:inherit}.form-actions,.inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-actions input{max-width:180px}.profile-hero{display:flex;align-items:center;gap:18px;background:var(--card);border:1px solid var(--line);border-radius:24px;padding:22px;margin-bottom:18px}.profile-hero>div:nth-child(2){flex:1}.profile-hero h1{margin:4px 0}.avatar-large{width:72px;height:72px;border-radius:22px;font-size:30px}.mini-row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.detail-list{display:grid;gap:10px}.detail-list>div{display:grid;grid-template-columns:120px 1fr;gap:12px}.detail-list dt{color:var(--muted)}.timeline{display:grid;gap:14px}.timeline>div{display:grid;grid-template-columns:18px 1fr;gap:10px}.timeline>div>span{width:10px;height:10px;border-radius:50%;background:var(--accent);margin-top:6px}.timeline article{border-left:1px solid var(--line);padding-left:14px}.timeline small{display:block;color:var(--muted);margin:4px 0}.prose{line-height:1.75}.cards-list{display:grid;gap:12px}.activity-card{display:flex;justify-content:space-between;align-items:center}.activity-card h2{margin:8px 0 4px}.activity-meta{display:grid;text-align:right;gap:4px}.activity-meta strong{font-size:28px}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.integration-card{scroll-margin-top:90px}.capability-list{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.capability-list code{background:var(--soft);padding:5px 8px;border-radius:8px;font-size:11px}.integration-message{display:block;color:var(--muted);margin-top:12px}.integration-context details{border-bottom:1px solid var(--line);padding:10px 0}.integration-context pre{white-space:pre-wrap;background:var(--soft);padding:12px;border-radius:12px;max-height:350px;overflow:auto}.admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.admin-card{display:flex;gap:14px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px;color:inherit;text-decoration:none}.admin-card svg{width:28px;color:var(--accent)}.admin-card div{display:grid}.admin-card small{color:var(--muted)}.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.checkbox{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important}.checkbox input{width:auto!important}.secret-card code{display:block;word-break:break-all;background:var(--soft);padding:12px;border-radius:12px;margin-top:6px}.empty-state{text-align:center;color:var(--muted);padding:32px}.muted{color:var(--muted)}.tag.neutral{background:var(--soft);color:var(--muted)}
@media(max-width:1100px){.stats-grid,.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:1fr}.integration-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{transform:translateX(-105%);transition:.2s}.menu-open .sidebar{transform:translateX(0)}.main-wrap{margin-left:0!important}.mobile-menu{display:block}.content{padding:18px 14px}.topbar{padding:12px 14px}.user-chip>span:last-child{display:none}.stats-grid,.admin-grid,.grid.two,.form-grid{grid-template-columns:1fr}.page-intro.row,.profile-hero,.activity-card{align-items:stretch;flex-direction:column}.profile-hero .button{width:100%}.table-wrap table{min-width:760px}.app-footer{padding-bottom:30px}}
