/* SIPANDU PAUD — unified frontend refinement
   Visual-only layer. Keep existing markup, form logic, auth and data workflows intact. */
:root{
 --ui-ink:#172B3A;--ui-muted:#687D8D;--ui-navy:#123B5D;--ui-blue:#1769AA;
 --ui-paper:#F5F7FA;--ui-line:#E1E8EE;--ui-surface:#FFFFFF;
 --ui-radius:18px;--ui-shadow:0 12px 34px rgba(18,45,67,.055);
}
:focus-visible{outline:3px solid rgba(23,105,170,.35);outline-offset:3px}
button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent }
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Authentication: one clear task, no decorative feature inventory */
.center-page{min-height:calc(100vh - 100px);padding:38px 0}
.login-layout{
 width:min(470px,100%);display:flex;flex-direction:column;overflow:hidden;
 border:1px solid var(--ui-line);border-radius:22px;background:#fff;
 box-shadow:0 18px 55px rgba(18,45,67,.09)
}
.login-layout .login-info{
 min-height:0;display:block;padding:26px 34px 8px;background:#fff;color:var(--ui-ink)
}
.login-layout .brand{gap:12px}
.login-layout .brand-logo-wrap{width:46px;height:46px;flex-basis:46px;border:1px solid var(--ui-line);border-radius:13px;background:#fff;box-shadow:none;padding:5px}
.login-layout .brand-name{color:var(--ui-navy);font-size:13px;letter-spacing:.035em}
.login-layout .brand-sub{color:var(--ui-muted)!important;font-size:10px;line-height:1.45}
.login-layout .login-info-copy,.login-layout .info-footer{display:none}
.login-layout .login-form-wrap{width:100%;padding:14px 34px 34px}
.login-layout .back-link{margin-bottom:26px;color:#607487;font-size:12px}
.login-layout .form-heading-icon{display:none}
.login-layout .form-title{font-size:29px;letter-spacing:-.045em;margin:0 0 8px;color:#142E42}
.login-layout .form-desc{font-size:13px;line-height:1.7;margin:0 0 25px;color:var(--ui-muted)}
.login-layout .field{margin-bottom:18px}
.login-layout .field label{font-size:12px;font-weight:700;color:#31495B;margin-bottom:8px}
.login-layout .field-label-icon{display:none}
.login-layout .field-control{height:50px;border:1px solid #DCE5EC;border-radius:12px;background:#FAFCFD;padding-inline:14px;font-size:13px}
.login-layout .field-control:focus{border-color:#6D9FC4;box-shadow:0 0 0 4px rgba(23,105,170,.1);background:#fff}
.login-layout .password-toggle{height:34px;top:8px;right:8px;border-radius:8px;font-size:11px}
.login-layout .primary-btn{height:50px;margin-top:8px;border-radius:12px;background:#1769AA;box-shadow:0 7px 16px rgba(23,105,170,.18);font-size:13px}
.login-layout .primary-btn:hover{background:#12588F;transform:translateY(-1px)}
.login-layout .demo-note{margin-top:19px;border:0;border-radius:10px;background:#F3F7FA;padding:12px 14px;color:#627789;font-size:11px}
.login-layout .demo-note:before{background:#6D9FC4;box-shadow:none}
.login-layout .error-box{border-radius:11px;font-size:12px}
@media(max-width:560px){
 .center-page{min-height:calc(100vh - 90px);padding:24px 0}
 .login-layout{border-radius:18px}
 .login-layout .login-info{padding:22px 22px 7px}
 .login-layout .login-form-wrap{padding:12px 22px 25px}
 .login-layout .form-title{font-size:26px}
 .login-layout .back-link{margin-bottom:22px}
}

/* Shared app chrome and form experience */
body:not(.sip-home){background:#F5F7FA;color:var(--ui-ink)}
.topbar{height:68px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--ui-line);box-shadow:0 1px 0 rgba(18,45,67,.02)}
.topbar-inner{width:min(1160px,calc(100% - 44px))}
.brand-mark{border-radius:12px;background:var(--ui-navy)}
.brand-name{color:var(--ui-navy);font-size:13px;letter-spacing:.025em}
.brand-sub{color:var(--ui-muted);font-size:10px}
.topbar .secondary-btn{min-height:38px;padding:0 15px;border-radius:10px;background:#fff;border:1px solid #DCE5EC;color:#435B6D;font-size:12px;font-weight:700}
.topbar .secondary-btn:hover{background:#F2F6F9;border-color:#C7D5DF}
.page-shell{padding-top:38px}
.form-page{max-width:900px}
.form-header{align-items:flex-start;margin-bottom:22px}
.form-header .eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:9px}
.form-header h1{font-size:clamp(27px,4vw,36px);letter-spacing:-.045em;color:#142E42;margin-bottom:8px}
.form-intro{font-size:13px;line-height:1.75;color:var(--ui-muted)}
.form-header .back-link{margin:5px 0 0}
.stepper-card{padding:17px 19px;border-radius:15px;border-color:var(--ui-line);box-shadow:none}
.stepper-track{height:4px;background:#EAF0F4}
.stepper-progress{background:#1769AA}
.step-item{font-size:10px;color:#8193A1}
.step-item span{width:29px;height:29px;border:1.5px solid #DCE5EC}
.step-item.is-current span{background:#1769AA;border-color:#1769AA}
.step-item.is-complete span{background:#123B5D;border-color:#123B5D}
.form-card{padding:27px;border:1px solid var(--ui-line);border-radius:16px;box-shadow:var(--ui-shadow)}
.section-heading{gap:13px;padding-bottom:19px;margin-bottom:22px;border-color:#EAF0F4}
.section-number{width:32px;height:32px;border-radius:10px;background:#EDF4F9;color:#1769AA}
.section-heading h2{font-size:18px;color:#1B3548;letter-spacing:-.025em}
.section-heading p{font-size:12px;color:var(--ui-muted)}
.field{margin-bottom:17px}
.field label,fieldset legend{font-size:12px;color:#344C5E}
.field-control{height:47px;min-height:47px;border:1px solid #DCE5EC;border-radius:10px;background:#FBFCFD;font-size:13px}
.field-control:focus{border-color:#78A5C6;box-shadow:0 0 0 4px rgba(23,105,170,.09)}
.textarea{min-height:100px;padding:12px 13px}
.field-control.readonly{background:#F1F5F8}
.choice,.check-card{border-color:#DFE7ED;border-radius:11px;background:#fff;transition:border-color .16s,background .16s,box-shadow .16s}
.choice:hover,.check-card:hover{border-color:#AFC6D8;background:#F8FBFD}
.choice:has(input:checked),.check-card:has(input:checked){border-color:#6D9FC4;background:#F1F7FB;box-shadow:inset 0 0 0 1px rgba(23,105,170,.08)}
.choice input,.check-card input{accent-color:#1769AA}
.conditional-box{border:1px solid #E1E8EE;border-radius:12px;background:#F7FAFC}
.form-actions{gap:10px;margin-top:14px}
.action-btn{min-height:47px;border-radius:11px;font-size:12px;font-weight:750}
.form-actions .primary-btn{background:#1769AA;box-shadow:0 6px 14px rgba(23,105,170,.13)}
.form-actions .primary-btn:hover{background:#12588F}
.form-actions .secondary-btn{background:#fff;border:1px solid #DCE5EC;color:#435B6D}
.review-group,.signature-card{border:1px solid var(--ui-line);border-radius:12px;background:#fff}
.review-group{padding:16px}
.review-row{font-size:12px;border-color:#EEF2F5}
.signature-card{padding:16px}
.privacy-note{background:#F4F8FB;border-color:#E4ECF2;border-radius:11px}
.success-box{border-radius:11px}
.footer{padding:22px 16px;color:#80909D;font-size:10px}
@media(max-width:700px){
 .page-shell{padding-top:26px}
 .form-header h1{font-size:28px}
 .stepper-card{padding:14px}
 .form-card{padding:19px}
 .section-heading{padding-bottom:16px;margin-bottom:18px}
 .form-actions{bottom:0;padding:10px 0;background:rgba(245,247,250,.96);backdrop-filter:blur(12px)}
 .action-btn{min-height:46px}
}
@media(max-width:390px){.topbar-inner,.page{width:calc(100% - 28px)}.brand{gap:9px}.brand-mark{width:35px;height:35px}}

/* Disdikbud dashboard */
.dashboard-page{max-width:1160px;padding:36px 0 58px}
.dashboard-head{margin-bottom:22px}
.dashboard-head .eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:8px}
.dashboard-head h1{font-size:clamp(28px,4vw,36px);letter-spacing:-.045em;color:#142E42;margin:0 0 8px}
.dashboard-head p{font-size:13px;line-height:1.75;color:var(--ui-muted);max-width:760px}
.dashboard-actions{gap:10px}
.service-tag{padding:8px 12px;border:1px solid #E1E8EE;border-radius:999px;background:#fff;color:#607487;font-size:11px}
#logout{min-height:39px;padding:0 15px;border:1px solid #DCE5EC;border-radius:10px;background:#fff;color:#435B6D;font-size:12px;font-weight:700}
#logout:hover{background:#F2F6F9}
.stats-grid{gap:13px;margin-bottom:18px}
.stat-card{padding:19px;border:1px solid var(--ui-line);border-radius:15px;background:#fff;box-shadow:none}
.stat-card:after{display:none}
.stat-label{font-size:10px;letter-spacing:.08em;color:#718596}
.stat-value{font-size:29px;font-weight:750;color:#173B55;margin-top:9px}
.stat-help{font-size:11px;color:#8393A0}
.data-panel{border:1px solid var(--ui-line);border-radius:16px;box-shadow:var(--ui-shadow)}
.panel-head{padding:20px 21px;align-items:center}
.panel-head h2{font-size:17px;letter-spacing:-.02em;color:#1B3548}
.panel-head p{font-size:12px;line-height:1.6;color:var(--ui-muted)}
.panel-tools{gap:12px}
.result-count{font-size:11px;color:#718596}
.export-btn{min-height:39px;padding:0 14px;border:0;border-radius:10px;background:#1769AA;color:#fff;font-size:11px;font-weight:750}
.export-btn:hover{background:#12588F}
.filter-bar{grid-template-columns:1fr 1fr 1fr 1.35fr auto;gap:10px;padding:16px 20px;background:#F8FAFC}
.filter-bar label{font-size:10px;color:#536A7B}
.filter-bar .field-control{height:42px;border-radius:10px;background:#fff;font-size:12px}
#resetFilter{align-self:end;min-height:42px;padding:0 13px;border:1px solid #DCE5EC;border-radius:10px;background:#fff;color:#536A7B;font-size:11px;font-weight:700}
#resetFilter:hover{background:#F1F5F8}
.data-table{min-width:940px}
.data-table th{padding:13px 14px;background:#F8FAFC;color:#718596;font-size:9px;letter-spacing:.07em}
.data-table td{padding:14px;font-size:11px;color:#344C5E}
.data-table tbody tr:hover td{background:#FAFCFD}
.data-table td:first-child{color:#1B3548}
.workflow-btn{min-height:32px;padding:6px 10px;border-radius:8px;font-size:10px}
.detail-modal{border-radius:18px;box-shadow:0 24px 70px rgba(11,41,64,.2)}
.detail-head{padding:20px 22px}
.detail-head h2{font-size:19px;color:#173B55}
.detail-body{padding:18px 22px}
.detail-group{border-color:#E4EAF0;border-radius:12px}
.demo-strip{margin-top:14px;border:1px solid #E4EAF0;background:#F6F9FB;border-radius:11px;font-size:11px}
@media(max-width:900px){.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar #resetFilter{align-self:end}.panel-head{align-items:flex-start}}
@media(max-width:600px){
 .dashboard-page{padding-top:25px}
 .dashboard-head h1{font-size:29px}
 .stats-grid{gap:9px}
 .stat-card{padding:14px;border-radius:13px}
 .stat-label{font-size:9px}
 .stat-value{font-size:25px}
 .stat-help{font-size:10px}
 .panel-head{padding:17px 15px}
 .filter-bar{grid-template-columns:1fr;padding:13px 15px}
 .panel-tools{width:100%;justify-content:space-between}
 .export-btn{flex:1;white-space:normal}
 .table-wrap{border-top:0}
 .action-cell{flex-direction:row;flex-wrap:wrap}
 .workflow-btn{min-height:34px}
 .detail-head,.detail-body{padding-inline:16px}
 .detail-row{grid-template-columns:1fr;gap:3px}
 .dashboard-actions{flex-direction:row;align-items:center}
}
@media(max-width:390px){.dashboard-actions{gap:7px}.service-tag{font-size:10px;padding:7px 9px}#logout{padding-inline:11px}}
/* Public secondary pages and guide pages */
body.sip-home{background:#F5F7FA;color:#172B3A}
body.sip-home .site-header{background:rgba(255,255,255,.94);border-bottom:1px solid #E1E8EE;backdrop-filter:blur(14px)}
body.sip-home .page-hero{padding-top:64px;padding-bottom:84px}
body.sip-home .page-hero h1{font-family:Inter,system-ui,sans-serif;font-weight:760;color:#142E42}
body.sip-home .page-hero h1 em{color:#1769AA}
body.sip-home .page-lead{font-size:15px;color:#687D8D}
body.sip-home .content-panel{border:1px solid #E1E8EE;border-radius:18px;box-shadow:none}
body.sip-home .content-panel h2{font-family:Inter,system-ui,sans-serif;font-size:18px;color:#1B3548}
body.sip-home .content-panel p,body.sip-home .content-panel li{font-size:13px;line-height:1.8}
body.sip-home .simple-card{border-radius:18px;box-shadow:none;transition:background .18s,border-color .18s}
body.sip-home .simple-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(18,45,67,.06)}
body.sip-home .button{border-radius:11px;min-height:46px;font-size:12px;font-weight:750}
body.sip-home .site-footer{background:#F0F4F7;border-top:1px solid #E1E8EE}
body.sip-home .search-button{display:none}
body.sip-home .search-layer{display:none!important}
body.sip-home .reveal{opacity:1;transform:none;transition:none}
body.sip-home .nav-link.active{background:#EEF4F8;border-radius:9px}
@media(max-width:650px){body.sip-home .page-hero{padding:46px 0 65px}body.sip-home .page-hero h1{font-size:40px}body.sip-home .simple-card{min-height:0}}

/* User guides: same neutral surfaces and restrained typography */
body:has(>.public-nav),body:has(>.top){background:#F5F7FA;color:#172B3A}
.public-nav{background:#fff;border-bottom:1px solid #E1E8EE}
.public-nav .wrap{min-height:66px}
.public-nav a{font-size:12px;color:#5D7384}
.public-nav a[aria-current=page]{color:#1769AA}
body:has(>.public-nav) .top,body:has(>.top) .top{background:#123B5D}
body:has(>.public-nav) .hero,body:has(>.top) .cover{background:#123B5D}
body:has(>.public-nav) .hero{padding:55px 0 48px}
body:has(>.public-nav) .hero h1,body:has(>.top) .cover h1{font-weight:760;letter-spacing:-.045em}
body:has(>.public-nav) .main{padding-top:32px}
body:has(>.public-nav) .card,body:has(>.top) .toc,body:has(>.top) .section{border:1px solid #E1E8EE;border-radius:15px;box-shadow:none}
body:has(>.public-nav) .card{padding:20px}
body:has(>.top) .toc{border-radius:15px}
body:has(>.top) .section{padding:24px}
body:has(>.top) .section h2{color:#1B3548}
body:has(>.top) .toc a{border-radius:8px;font-size:12px}
body:has(>.top) .toc a:hover{background:#F0F5F8}
body:has(>.top) .callout{border-radius:10px}
body:has(>.top) .btn{border-radius:10px}
@media(max-width:850px){body:has(>.top) .layout{gap:16px}body:has(>.top) .toc{position:static}}
@media(prefers-reduced-motion:reduce){body.sip-home .simple-card:hover{transform:none}}
