@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--navy:#0d2444;--navy2:#17365d;--red:#d93645;--red2:#b92334;--blue:#2878c8;--ink:#1d2939;--muted:#6b7788;--line:#e6eaf0;--bg:#f4f6fa;--white:#fff;--green:#1b9a68;--orange:#e88b2d;--shadow:0 12px 34px rgba(16,42,67,.07)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.muted{color:var(--muted)}.tiny{font-size:10px;letter-spacing:.07em}.center{text-align:center}.logo{width:48px;height:48px;object-fit:contain;border-radius:12px;flex-shrink:0}.login-body{min-height:100vh;background:radial-gradient(circle at 10% 10%,#234d78 0,transparent 35%),linear-gradient(135deg,#0a1b34,#17365d 52%,#a51e31);display:flex;align-items:center;justify-content:center;padding:24px}.login-layout{width:min(1040px,100%);display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center}.login-intro{color:#fff;padding:24px}.intro-logo{width:92px;height:92px;background:#fff;border-radius:22px;padding:6px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#ef9ca5}.login-intro h1{font-size:clamp(32px,4vw,54px);line-height:1.08;margin:12px 0 18px;letter-spacing:-.04em}.login-intro p{color:#d7e1ee;line-height:1.8;max-width:480px}.intro-points{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px;color:#fff;font-size:12px}.login-card{background:#fff;border-radius:24px;padding:36px;box-shadow:0 24px 80px #08172b66;max-width:460px;width:100%;justify-self:center}.login-logo{display:block;width:66px;height:66px;margin:0 auto 16px}.login-card h2{text-align:center;font-size:24px;margin:0 0 8px}.login-card>p{text-align:center;margin:0 0 24px}.login-card form{display:grid;gap:10px}.login-card label,.form-stack label,.form-grid label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:12px}.login-card input,.form-stack input,.form-grid input,.form-grid select,.form-grid textarea,.form-stack select,.filter-row input,.filter-row select,.import-row input,.import-row select{width:100%;border:1px solid #dce2ea;border-radius:10px;padding:12px 13px;background:#fff;outline:none;min-width:0;color:var(--ink)}input:focus,select:focus,textarea:focus{border-color:#6ca8e5;box-shadow:0 0 0 3px #2878c81a}.login-card form .btn{margin-top:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:10px;padding:11px 15px;font-weight:700;font-size:12px;transition:.18s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--red);color:white;box-shadow:0 6px 14px #d936452b}.btn.primary:hover{background:var(--red2)}.btn.secondary{background:#eaf3ff;color:#175a9c;border-color:#d6e8fc}.btn.outline{background:#fff;border-color:#dce2ea;color:#344054}.btn.white{background:#fff;color:var(--navy)}.btn.block{width:100%;padding:14px}.btn.small{padding:7px 10px}.alert{border-radius:10px;padding:12px 14px;margin-bottom:18px;font-size:12px;line-height:1.5}.alert.success{background:#e8f8f0;color:#16734e;border:1px solid #c5edd9}.alert.danger{background:#fff0f0;color:#a32230;border:1px solid #ffd5d8}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:255px;background:linear-gradient(180deg,#0b1e39,#142e50);color:#dbe6f4;display:flex;flex-direction:column;padding:20px 14px;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:6px 8px 22px;border-bottom:1px solid #ffffff1c}.brand .logo{width:44px;height:44px;background:#fff;padding:3px}.brand span{min-width:0}.brand b{display:block;font-size:11px;line-height:1.4;color:#fff}.brand small{display:block;font-size:9px;color:#9db1ca;margin-top:4px;letter-spacing:.06em}.sidebar nav{padding-top:22px;display:grid;gap:7px}.sidebar nav a{padding:12px 13px;border-radius:10px;display:flex;align-items:center;gap:12px;font-size:12px;font-weight:600;color:#b7c6d9}.sidebar nav a span{width:20px;text-align:center;font-size:17px}.sidebar nav a:hover,.sidebar nav a.active{background:linear-gradient(100deg,var(--red),#bc2739);color:#fff;box-shadow:0 6px 18px #d9364529}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff1c;padding:18px 6px 2px;display:flex;align-items:center;gap:10px}.sidebar-bottom b,.sidebar-bottom small{display:block}.sidebar-bottom b{font-size:11px;color:#fff}.sidebar-bottom small{font-size:10px;color:#9db1ca;margin-top:4px}.avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#d93645;color:#fff;font-weight:800}.logout{margin-left:auto;font-size:18px}.main{margin-left:255px;min-height:100vh}.topbar{min-height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:16px 30px;position:sticky;top:0;z-index:10}.topbar h2{margin:4px 0 0;font-size:19px;letter-spacing:-.02em}.top-user{margin-left:auto;color:#5c6878;font-size:11px;display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;background:#24a36a;border-radius:50%}.menu-toggle{display:none;border:0;background:#f0f3f8;border-radius:8px;padding:8px 10px}.content{padding:26px 30px;max-width:1600px;margin:auto}.hero{border-radius:20px;background:linear-gradient(110deg,#102c50 0%,#173d69 63%,#b7273b 150%);color:#fff;padding:30px 34px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;width:280px;height:280px;border:40px solid #ffffff0b;border-radius:50%;right:90px;top:-130px}.hero h1{font-size:clamp(24px,3vw,35px);line-height:1.2;letter-spacing:-.035em;margin:12px 0}.hero p{color:#c9d8e9;line-height:1.7;max-width:570px;margin:0 0 20px;font-size:12px}.hero-mark{position:relative;z-index:1;margin-right:20px}.hero-mark img{width:116px;height:116px;object-fit:contain;border-radius:26px;background:#fff;padding:8px;box-shadow:0 10px 30px #07182c66}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;display:flex;align-items:center;gap:14px;box-shadow:0 4px 16px #172b4d05}.stat-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;font-size:22px;flex-shrink:0}.stat-icon.red{background:#fff0f1;color:var(--red)}.stat-icon.blue{background:#eaf4ff;color:var(--blue)}.stat-icon.green{background:#e7f8ef;color:var(--green)}.stat-icon.orange{background:#fff4e8;color:var(--orange)}.stat small{display:block;color:var(--muted);font-size:10px}.stat strong{display:block;font-size:25px;margin:5px 0;letter-spacing:-.04em}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;margin-bottom:20px;box-shadow:0 4px 18px #172b4d04;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.panel-head h3{font-size:16px;margin:0 0 6px;letter-spacing:-.02em}.panel-head p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.table-wrap{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;min-width:620px;font-size:11px}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#6e7a8b;background:#f7f9fc;padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:13px 12px;border-bottom:1px solid #edf0f5;vertical-align:middle}tbody tr:hover{background:#fbfcfe}.empty{text-align:center;color:#7a8796;padding:28px!important}.actions{white-space:nowrap}.action{display:inline-block;border:0;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:700;cursor:pointer}.action.edit{background:#eaf3ff;color:#1763a8}.action.delete{background:#fff0f1;color:#b32735}.inline{display:inline}.split-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(300px,1.2fr);gap:20px}.form-stack{display:grid;gap:14px}.form-stack .btn{justify-self:start;margin-top:5px}.class-list{display:grid;gap:6px}.class-list a{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #edf0f5;border-radius:11px}.class-list a:hover{border-color:#c8def6;background:#f7fbff}.class-list b,.class-list small{display:block}.class-list b{font-size:12px}.class-list small{font-size:10px;color:var(--muted);margin-top:4px}.class-icon{display:grid;place-items:center;width:36px;height:36px;background:#eaf4ff;color:var(--blue);border-radius:10px;font-size:17px}.class-list .arrow{margin-left:auto;color:var(--red)}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.form-grid label{font-size:11px}.span-2{grid-column:span 2}.form-actions{display:flex;gap:10px;align-items:center;align-self:end}.filter-row,.import-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.filter-row input{flex:1;min-width:180px}.filter-row select,.import-row select{width:auto;min-width:180px}.import-row input[type=file]{flex:1;min-width:200px;padding:8px}.signature-area{border:1px solid #dce2ea;border-radius:13px;padding:15px;background:#fbfcfe}.signature-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.signature-title h4{margin:0 0 5px;font-size:13px}.signature-title p{margin:0;color:var(--muted);font-size:11px}.signature-area canvas{display:block;width:100%;height:180px;border:1px dashed #b6c3d3;border-radius:10px;background:linear-gradient(#fff,#fff),repeating-linear-gradient(0deg,transparent,transparent 30px,#edf1f6 31px);touch-action:none;cursor:crosshair}.signature-area>small{display:block;margin-top:9px}.pill{background:#fff0f1;color:#bb2b3b;border-radius:99px;padding:8px 11px;font-size:10px;font-weight:700}.narrow{max-width:540px}.print-actions{display:flex;justify-content:space-between;margin-bottom:15px}.receipt{background:#fff;border:1px solid #dfe4ec;border-radius:12px;max-width:900px;margin:0 auto;padding:40px;box-shadow:var(--shadow);font-size:13px;line-height:1.7}.receipt-head{display:flex;gap:18px;align-items:center;border-bottom:2px solid var(--navy);padding-bottom:18px;margin-bottom:24px}.receipt-head img{width:82px;height:82px;object-fit:contain}.receipt-head h2{font-size:16px;margin:0;color:var(--navy)}.receipt-head h1{font-size:18px;margin:7px 0 3px}.receipt-head p{margin:0;color:var(--muted);font-size:11px}.receipt-code{display:flex;justify-content:space-between;background:#f5f7fa;padding:12px 15px;border-radius:8px;margin:16px 0}.receipt-code span{color:var(--muted)}.receipt-table{min-width:0;margin:18px 0}.receipt-table th{width:170px;background:#f8f9fb;text-transform:none;font-size:12px}.receipt-table td{font-size:12px}.signature-columns{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:35px;text-align:center}.signature-columns>div{display:flex;flex-direction:column;align-items:center}.signature-columns p{margin:0 0 4px}.sign-space{height:100px}.signature-image{width:220px;height:95px;object-fit:contain;display:block}.signature-columns b{border-top:1px solid #283344;padding-top:5px;min-width:190px}.receipt-foot{margin-top:35px;border-top:1px solid var(--line);padding-top:12px;text-align:center;font-size:10px;color:var(--muted)}.app-footer{text-align:center;color:#8792a1;font-size:10px;padding:20px 0}.login-card code{background:#f0f3f7;padding:2px 5px;border-radius:4px}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split-grid{grid-template-columns:1fr}.content{padding:20px}.topbar{padding:14px 20px}}
@media(max-width:760px){.sidebar{transform:translateX(-105%);transition:transform .2s;box-shadow:12px 0 40px #0a1b3440}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.menu-toggle{display:block}.topbar{min-height:70px;padding:12px 15px}.topbar h2{font-size:17px}.top-user{font-size:0}.top-user .status-dot{width:9px;height:9px}.content{padding:15px}.hero{padding:23px 20px}.hero-mark{display:none}.hero h1{font-size:26px}.stats{gap:10px;margin:14px 0}.stat{padding:13px;gap:10px}.stat-icon{width:35px;height:35px;font-size:18px}.stat strong{font-size:21px}.panel{padding:16px;margin-bottom:14px}.panel-head{align-items:flex-start}.panel-head h3{font-size:14px}.form-grid{grid-template-columns:1fr;gap:14px}.span-2{grid-column:span 1}.form-actions{flex-wrap:wrap}.receipt{padding:20px}.receipt-head{align-items:flex-start}.receipt-head img{width:58px;height:58px}.receipt-head h2{font-size:12px}.receipt-head h1{font-size:15px}.signature-columns{gap:18px}.signature-columns b{min-width:0;width:100%;font-size:11px}.signature-image{width:100%}.login-layout{grid-template-columns:1fr;gap:18px}.login-intro{padding:5px 8px}.login-intro .intro-logo{width:60px;height:60px;margin-bottom:10px}.login-intro h1{font-size:28px}.login-intro p{font-size:12px;margin:8px 0}.intro-points{margin-top:10px}.login-card{padding:25px 22px}.intro-points span{font-size:10px}.filter-row>*{flex:1}.filter-row .btn{flex:0}.import-row>*{width:100%!important}.receipt-code{gap:8px;flex-wrap:wrap}}
@media print{body{background:#fff}.sidebar,.topbar,.app-footer,.print-actions,.alert{display:none!important}.main{margin:0}.content{padding:0;max-width:none}.receipt{border:0;box-shadow:none;max-width:none;padding:10mm;border-radius:0}.receipt-head{break-inside:avoid}.receipt-table tr{break-inside:avoid}.receipt-foot{margin-top:20px}.receipt{font-size:11pt}}

/* Dokumentasi foto: pemilih galeri/kamera dan tampilan lintas perangkat */
.photo-area{border:1px solid #dce2ea;border-radius:13px;padding:16px;background:#fbfcfe;min-width:0}.photo-pickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-picker{position:relative;display:flex!important;flex-direction:row!important;align-items:center;gap:12px!important;padding:15px;border:1px dashed #bdc9d8;border-radius:12px;background:#fff;cursor:pointer;min-width:0}.photo-picker:hover{border-color:#2878c8;background:#f6faff}.photo-picker input{position:absolute!important;inset:0;width:100%!important;height:100%;opacity:0;cursor:pointer}.photo-picker span b,.photo-picker span small{display:block}.photo-picker span b{font-size:12px}.photo-picker span small{font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.photo-picker-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:11px;background:#eaf3ff;color:#1763a8;font-size:24px}.camera-picker .photo-picker-icon{background:#fff0f1;color:#bb2b3b}.photo-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin:12px 0}.photo-preview:empty{display:none}.photo-preview-item{overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#fff}.photo-preview-item img{width:100%;height:90px;object-fit:cover;display:block}.photo-preview-item span{display:block;font-size:10px;padding:6px;overflow-wrap:anywhere}.receipt-photos{margin:20px 0}.receipt-photos h3{font-size:14px;margin-bottom:12px}.receipt-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.receipt-photo-grid figure{margin:0;border:1px solid var(--line);padding:7px;border-radius:8px;break-inside:avoid}.receipt-photo-grid img{display:block;width:100%;max-height:280px;object-fit:contain}.receipt-photo-grid figcaption{font-size:10px;color:var(--muted);text-align:center;padding-top:5px}
@media(min-width:761px) and (max-width:1100px){.sidebar{width:220px}.main{margin-left:220px}.content{padding:20px}.topbar{padding:14px 20px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-mark img{width:88px;height:88px}.panel{padding:18px}}
@media(max-width:760px){.photo-pickers{grid-template-columns:1fr}.photo-picker{min-height:70px}.receipt-photo-grid{grid-template-columns:1fr}.receipt-photo-grid img{max-height:240px}.signature-area,.photo-area{padding:12px}.signature-area canvas{height:155px}.panel-head{flex-wrap:wrap}.panel-head>.btn,.panel-head>a.btn{white-space:normal}.form-actions .btn{flex:1}.receipt{padding:16px}.receipt-table th{width:100px}.receipt-code{font-size:11px}}
@media print{.receipt-photos{break-inside:avoid}.receipt-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-photo-grid img{max-height:210px}}
/* Foto dokumentasi pada halaman detail/cetak dibuat lebih ringkas di desktop */
@media(min-width:1101px){.receipt-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.receipt-photo-grid figure{padding:6px}.receipt-photo-grid img{max-height:170px;width:100%;object-fit:contain}.receipt-photos{margin:16px 0}.receipt-photos h3{margin-bottom:9px}}
@media(min-width:761px) and (max-width:1100px){.receipt-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.receipt-photo-grid img{max-height:190px}}
@media print{.receipt-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.receipt-photo-grid img{max-height:150px}}

/* Pilihan penerima sama dengan siswa - serah terima baru */
.recipient-field{min-width:0;display:flex;flex-direction:column;gap:7px}
.recipient-field>label:first-child{font-weight:600;font-size:12px}
.recipient-field>input[name="recipient_name"]{width:100%;border:1px solid #dce2ea;border-radius:10px;padding:12px 13px;background:#fff;outline:none}
.recipient-field>input[name="recipient_name"]:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2878c822}
.recipient-field>input[name="recipient_name"][readonly]{background:#f1f6fb;color:#23436a}
.form-grid .recipient-same-option{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-size:11px;font-weight:600;line-height:1.5;cursor:pointer;margin-top:3px}
.recipient-same-option input[type="checkbox"]{width:16px;height:16px;min-width:16px;margin:0;accent-color:var(--blue);cursor:pointer}
.recipient-field>small{font-size:10px;line-height:1.5}

/* Manajemen multi akun admin; input petugas otomatis */
.form-grid input[readonly]{background:#f1f6fb;color:#23436a;border-color:#d3e1f0;cursor:default}
.accounts-layout{grid-template-columns:minmax(285px,.8fr) minmax(400px,1.3fr);align-items:start}
.accounts-table{min-width:620px}
.account-status{display:inline-flex;align-items:center;border-radius:99px;padding:6px 9px;font-size:10px;font-weight:700}
.account-status.is-active{color:#167447;background:#e7f8ef}
.account-status.is-inactive{color:#647184;background:#eef1f5}
.account-note{font-size:11px;line-height:1.6;margin:15px 0 0}
.account-self-note{font-size:10px}
@media(max-width:1180px){.accounts-layout{grid-template-columns:1fr}}
@media(max-width:760px){.accounts-layout .form-stack .form-actions{flex-wrap:wrap}}

/* Laporan Serah Terima per Kelas — Modern Blue Navy */
.report-banner{position:relative;overflow:hidden;background:linear-gradient(110deg,#0d2442,#174979 76%,#2169a2);border-radius:17px;padding:28px 32px;color:#fff;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 12px 28px rgba(13,36,66,.16)}
.report-banner h3{font-size:23px;color:#fff;margin:9px 0 10px;font-weight:800}.report-banner p{color:#daeafa;max-width:720px;font-size:12px;line-height:1.7;margin:0}.report-eyebrow{color:#8de1f3;letter-spacing:1.25px;font-weight:800;font-size:9px}.report-eyebrow.dark{color:#24749d}.report-banner-mark{display:grid;place-items:center;width:88px;height:88px;flex-shrink:0;margin-right:20px;border:1px solid #ffffff45;border-radius:20px;background:#ffffff14;font-size:52px;color:#fff}.report-filter-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.report-filter-form label{flex:1;min-width:220px;max-width:420px;display:flex;flex-direction:column;gap:7px}.report-filter-form select{width:100%;border-radius:9px}.report-filter-form .btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}.report-download-excel{background:#177a66!important;color:#fff!important}.report-download-pdf{background:#174979!important;color:#fff!important}.report-empty-state{text-align:center;padding:45px 20px}.report-empty-state>span{display:inline-grid;place-items:center;background:#edf5fd;border-radius:16px;width:74px;height:74px;color:#174979;font-size:37px}.report-empty-state h3{margin:16px 0 8px}.report-empty-state p{color:#68758a}.report-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.report-summary{background:#fff;padding:20px;border:1px solid #dde8f3;border-radius:14px;box-shadow:0 5px 12px rgba(17,47,82,.04);display:flex;flex-direction:column;gap:7px;min-width:0;border-top:3px solid #1b5c90}.report-summary>span{color:#667c91;font-size:11px;font-weight:700}.report-summary strong{font-size:30px;color:#0d2442;line-height:1.1}.report-summary small{color:#718499;font-size:10px}.report-pill{font-size:10px;font-weight:800;display:inline-flex;align-items:center;border-radius:99px;padding:8px 12px;background:#e4f1fb;color:#144571;white-space:nowrap}.report-scroll-table{overflow-x:auto;padding-bottom:4px}.report-matrix{min-width:750px;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.report-matrix th{min-width:110px;max-width:200px;background:#174979!important;color:#fff!important;line-height:1.45;white-space:normal;vertical-align:middle;text-align:left;position:relative}.report-matrix th:first-child{min-width:43px;width:43px}.report-matrix th:nth-child(2),.report-matrix th:nth-child(3){min-width:100px}.report-matrix th.report-name-col{min-width:200px}.report-matrix td{vertical-align:middle;border-bottom:1px solid #e6edf5;white-space:normal;min-width:100px}.report-matrix td:first-child{min-width:43px}.report-matrix tbody tr:nth-child(even){background:#f2f7fc}.report-student-name b{color:#0d2442;font-size:11px}.report-student-name small{display:block;color:#956530;font-size:9px;margin-top:4px}.report-received{display:inline-flex;padding:4px 7px;border-radius:6px;background:#e3f6ef;color:#157251;font-size:10px;font-weight:800;white-space:nowrap}.report-qty{display:block;font-size:10px;color:#718499;margin-top:4px}.report-footnote{color:#68778b;font-size:10px;margin:12px 0 0;line-height:1.65}.report-detail-table{min-width:900px}.report-detail-table th{background:#eff5fa;color:#204364;line-height:1.4}.report-status{border-radius:30px;font-size:10px;font-weight:800;padding:5px 9px;white-space:nowrap}.report-status.ok{background:#e3f6ef;color:#157251}.report-status.cancelled{background:#fff0ee;color:#a43f38}
@media(max-width:1150px){.report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-banner-mark{margin-right:0}}
@media(max-width:760px){.report-banner{padding:20px}.report-banner h3{font-size:19px}.report-banner-mark{display:none}.report-filter-form{flex-direction:column;align-items:stretch}.report-filter-form label{max-width:none;width:100%;min-width:0}.report-filter-form .btn{width:100%;white-space:normal}.report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.report-summary{padding:14px}.report-summary strong{font-size:25px}.report-matrix th.report-name-col{min-width:160px}.report-matrix-panel .panel-head{gap:12px}}

/* Penyempurnaan konsistensi tampilan laporan — Blue Navy, Oktober 2026 */
.report-banner{min-width:0;gap:20px;isolation:isolate}
.report-banner-copy{position:relative;z-index:1;min-width:0;flex:1}
.report-banner h3{line-height:1.25;letter-spacing:-.025em}
.report-banner p{overflow-wrap:anywhere}
.report-banner-mark{margin-right:0;opacity:.9}
.report-filter-panel{border:1px solid #dbe7f3;box-shadow:0 8px 24px rgba(13,36,68,.04)}
.report-filter-panel .panel-head{margin-bottom:17px}
.report-filter-panel .panel-head h3{margin:6px 0 5px;color:#102c4d}
.report-filter-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:12px}
.report-filter-form label{min-width:0;max-width:none;width:100%;color:#264665;font-weight:700;font-size:12px}
.report-filter-form select{width:100%;height:44px;border:1px solid #cfddec;background-color:#fff;color:#102b49;font-size:13px}
.report-filter-form select:focus{outline:2px solid rgba(31,99,165,.18);border-color:#2474b4}
.report-filter-form .report-show-btn{min-height:44px;padding:11px 20px;white-space:nowrap}
.report-export-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:17px;padding:16px;background:#f3f8fd;border:1px solid #dce9f5;border-radius:12px;min-width:0}
.report-export-label{display:flex;flex-direction:column;gap:5px;min-width:0}
.report-export-label b{font-size:12px;color:#163a5e}
.report-export-label small{font-size:11px;color:#5b738a;line-height:1.5;overflow-wrap:anywhere}
.report-export-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;flex-shrink:0}
.report-export-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 15px;white-space:nowrap;font-weight:700}
.report-notice{margin:0 0 16px;padding:14px 17px;border:1px solid #b9d5ec;border-left:4px solid #20649a;border-radius:10px;background:#edf6fe;color:#1a4267;font-size:12px;line-height:1.7}
.report-notice a{font-weight:800;text-decoration:underline}
.report-summary-grid{min-width:0}
.report-summary{justify-content:space-between;gap:7px;min-height:124px}
.report-summary strong{font-variant-numeric:tabular-nums}
.report-matrix-panel,.report-detail-panel{min-width:0;overflow:hidden}
.report-matrix-panel .panel-head,.report-detail-panel .panel-head{gap:16px;align-items:flex-start}
.report-matrix-panel .panel-head>div,.report-detail-panel .panel-head>div{min-width:0;flex:1}
.report-matrix-panel .panel-head p,.report-detail-panel .panel-head p{max-width:900px;line-height:1.6}
.report-pill{flex-shrink:0}
.report-matrix-panel .report-scroll-table,.report-detail-panel .table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;border:1px solid #e0eaf3;border-radius:11px;scrollbar-color:#aac0d5 #eff4f9}
.report-matrix{width:max-content;min-width:100%;border-collapse:collapse;border-spacing:0}
.report-matrix th{max-width:none;min-width:140px;padding:13px 11px;border-right:1px solid #2f5b85;vertical-align:middle;text-align:center;font-size:11px;overflow-wrap:anywhere}
.report-matrix th:first-child{width:47px;min-width:47px;max-width:47px}
.report-matrix th:nth-child(2),.report-matrix th:nth-child(3){min-width:115px}
.report-matrix th.report-name-col{min-width:225px;text-align:left}
.report-matrix th:last-child{min-width:155px}
.report-matrix td{padding:11px 10px;min-width:140px;font-size:11px;line-height:1.5;max-width:none;overflow-wrap:anywhere;text-align:center}
.report-matrix td:first-child{min-width:47px}
.report-matrix td:nth-child(2),.report-matrix td:nth-child(3){min-width:115px;white-space:nowrap}
.report-matrix td:nth-child(4){min-width:225px;text-align:left}
.report-matrix td:last-child{min-width:155px}
.report-matrix tbody tr:hover{background:#eaf3fb}
.report-student-name b{font-size:11px;line-height:1.45}
.report-received{background:#e2f4ed;color:#146747;font-size:10px;line-height:1.3;padding:5px 8px}
.report-footnote{padding:11px 13px;background:#f5f9fd;border-radius:8px;border:1px solid #e5edf5;margin-top:13px}
.report-detail-table{width:100%;min-width:1100px;border-collapse:collapse}
.report-detail-table th{background:#164674;color:#fff;padding:13px 12px;font-size:11px;white-space:normal}
.report-detail-table td{padding:12px;font-size:11px;line-height:1.5;vertical-align:middle;overflow-wrap:anywhere}
.report-detail-table tbody tr:nth-child(even){background:#f5f9fd}
.report-detail-table tbody tr:hover{background:#eaf3fb}
@media(max-width:1050px){.report-export-toolbar{align-items:flex-start;flex-direction:column}.report-export-actions{width:100%}}
@media(max-width:760px){
  .report-banner{padding:22px 19px;border-radius:14px;margin-bottom:14px}
  .report-banner h3{font-size:19px;margin:8px 0}
  .report-filter-form{grid-template-columns:minmax(0,1fr);gap:12px}
  .report-filter-form label{min-width:0}
  .report-filter-form .report-show-btn{width:100%}
  .report-export-toolbar{padding:13px;margin-top:14px}
  .report-export-actions{flex-direction:column;align-items:stretch;gap:8px}
  .report-export-actions .btn{width:100%;white-space:normal}
  .report-summary-grid{gap:9px}
  .report-summary{min-height:105px;padding:13px}
  .report-summary>span{font-size:10px}
  .report-summary strong{font-size:25px}
  .report-summary small{font-size:10px;line-height:1.4}
  .report-matrix-panel .panel-head,.report-detail-panel .panel-head{flex-direction:column;align-items:flex-start}
  .report-pill{white-space:normal}
  .report-matrix th.report-name-col,.report-matrix td:nth-child(4){min-width:175px}
  .report-matrix th,.report-matrix td{padding:9px 8px}
  .report-detail-table{min-width:930px}
}
@media print{
  .report-filter-panel,.report-banner,.report-export-toolbar{display:none!important}
  .report-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .report-summary{box-shadow:none;break-inside:avoid}
  .report-matrix-panel,.report-detail-panel{overflow:visible;break-inside:auto}
  .report-matrix-panel .report-scroll-table,.report-detail-panel .table-wrap{overflow:visible;border:0}
  .report-matrix{width:100%;min-width:0}
  .report-matrix th,.report-matrix td{min-width:0!important;font-size:8px!important;padding:5px}
  .report-detail-table{min-width:0}
  .report-detail-table th,.report-detail-table td{font-size:8px;padding:5px}
}

/* QR SISWA / SCANNER - Modern Blue Navy */
.qr-hero{border-radius:18px;background:linear-gradient(110deg,#0b2442 0%,#174f7e 78%,#236ba1);color:#fff;padding:28px 31px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 12px 30px rgba(12,44,75,.15);margin-bottom:20px;overflow:hidden}
.qr-hero>div{min-width:0;max-width:730px}.qr-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;color:#97d7ff}.qr-hero h3{font-size:clamp(22px,2.5vw,30px);margin:8px 0;letter-spacing:-.04em;line-height:1.22;color:#fff}.qr-hero p{font-size:12px;line-height:1.8;color:#d2e5f8;margin:0}.qr-hero-icon{font-size:60px;line-height:1;opacity:.36;flex-shrink:0}
.qr-filter{display:flex;gap:11px;align-items:end;flex-wrap:wrap}.qr-filter>label{display:flex;flex-direction:column;gap:7px;color:#2a4c6f;font-size:12px;font-weight:700;flex:1;min-width:220px}.qr-filter select,.qr-manual input{height:44px;background:#fff;border:1px solid #cedfec;color:#102d4a;padding:10px 13px;border-radius:10px;width:100%;font:inherit}.qr-filter .btn{min-height:44px}.qr-filter .btn.primary,.qr-fast-form .btn.primary,.qr-scanner-panel .btn.primary,.qr-print-outer .btn.primary{background:#13588e;border-color:#13588e;box-shadow:0 6px 16px rgba(19,88,142,.12)}.qr-filter .btn.primary:hover,.qr-fast-form .btn.primary:hover,.qr-scanner-panel .btn.primary:hover,.qr-print-outer .btn.primary:hover{background:#0d416f}
.qr-bulk-form{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:18px;padding:15px 16px;background:#f2f7fc;border:1px solid #dce9f3;border-radius:13px}.qr-bulk-form b,.qr-bulk-form small{display:block}.qr-bulk-form b{font-size:12px;color:#17385b}.qr-bulk-form small{font-size:10px;color:#5f7891;margin-top:5px}.qr-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.qr-mini-card{display:flex;align-items:center;gap:10px;border:1px solid #e0eaf3;background:#fff;border-radius:12px;padding:12px;min-width:0}.qr-mini-card>div:nth-child(2){flex:1;min-width:0}.qr-mini-card b,.qr-mini-card small{display:block;overflow-wrap:anywhere}.qr-mini-card b{font-size:12px;color:#152f4a}.qr-mini-card small{font-size:10px;color:#657d92;margin-top:5px}.qr-mini-card .pill{background:#e6f4fc;color:#185b86;flex-shrink:0;font-size:9px}.qr-mini-icon{height:39px;width:39px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;background:#eaf2f9;font-size:23px;color:#1c6195}.qr-more{font-size:11px;color:#5f7891;margin:15px 0 0}
.qr-scan-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:22px}.qr-camera-frame{height:350px;border-radius:15px;background:#061829;position:relative;overflow:hidden;display:grid;place-items:center;isolation:isolate}.qr-camera-frame video{width:100%;height:100%;object-fit:cover;display:none}.qr-camera-frame video.active{display:block}.qr-viewfinder{position:absolute;inset:18% 24%;pointer-events:none;z-index:2;opacity:.8}.qr-viewfinder i{position:absolute;width:36px;height:36px;border:3px solid #63d3fa}.qr-viewfinder i:nth-child(1){top:0;left:0;border-right:0;border-bottom:0}.qr-viewfinder i:nth-child(2){top:0;right:0;border-left:0;border-bottom:0}.qr-viewfinder i:nth-child(3){bottom:0;left:0;border-right:0;border-top:0}.qr-viewfinder i:nth-child(4){bottom:0;right:0;border-left:0;border-top:0}.qr-camera-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#a7d3ee;font-size:68px;background:radial-gradient(circle at center,#173a59,#071a2e);z-index:1}.qr-camera-placeholder[hidden]{display:none}.qr-camera-placeholder small{font-size:11px;max-width:220px;line-height:1.7;text-align:center}.qr-scan-controls{display:flex;flex-direction:column;gap:12px;min-width:0}.qr-step{font-size:10px;color:#3871a1;letter-spacing:.1em;font-weight:800}.qr-scan-status{padding:13px 14px;border-radius:10px;background:#e9f5ff;color:#215b87;font-size:12px;line-height:1.7;border:1px solid #d3e7f8}.qr-scan-status.error{background:#fff1ef;color:#9d3a38;border-color:#f0d5d0}.qr-scan-controls .btn:disabled{opacity:.48;cursor:not-allowed;transform:none}.qr-upload-choose{display:flex;align-items:center;justify-content:center;position:relative;padding:14px;background:#ecf5fd;border:1px dashed #93bedf;color:#164d7a;border-radius:10px;font-size:12px;font-weight:800;cursor:pointer;text-align:center}.qr-upload-choose input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.qr-upload-choose:has(input:disabled){opacity:.5;cursor:not-allowed}.qr-help{font-size:11px;line-height:1.6;margin:0}.qr-manual{border-top:1px solid #e5edf5;padding-top:12px}.qr-manual summary{font-size:11px;color:#245c88;cursor:pointer;font-weight:700}.qr-manual form{display:grid;gap:10px;margin-top:12px}.qr-manual input{min-width:0;font-size:11px}
.qr-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qr-info-grid>div{padding:15px 17px;border-radius:12px;border:1px solid #dbe7f1;background:#f4f9fd;min-width:0}.qr-info-grid span,.qr-info-grid strong,.qr-info-grid small{display:block}.qr-info-grid span{font-size:9px;color:#63829e;font-weight:800;letter-spacing:.09em}.qr-info-grid strong{font-size:14px;color:#0d2b4b;margin:7px 0;overflow-wrap:anywhere}.qr-info-grid small{font-size:10px;color:#607c93;line-height:1.5}.qr-fast-form .form-grid{grid-template-columns:minmax(0,1fr)}.qr-fast-form .form-grid>.span-2{grid-column:1}.qr-fast-form .signature-area canvas{height:210px}.qr-fast-form .pill,.qr-confirmation .pill{background:#e4f4fd;color:#1a5d8f}.qr-fast-form .form-actions{padding-top:4px}
.qr-action-row{display:flex;gap:9px;flex-wrap:wrap}.qr-paper-head{display:flex;align-items:center;gap:15px;border-bottom:3px solid #123c67;padding:5px 4px 17px;margin-bottom:18px}.qr-paper-head img{width:72px;height:72px;object-fit:contain}.qr-paper-head h3{font-size:15px;letter-spacing:.01em;margin:0;color:#0d2b4c}.qr-paper-head strong{display:block;font-size:16px;margin:4px 0;color:#123e69}.qr-paper-head small{display:block;font-size:11px;color:#56718b}.qr-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.qr-print-card{min-width:0;border:1px solid #d7e5ef;border-radius:13px;break-inside:avoid;page-break-inside:avoid;padding:12px;text-align:center;display:flex;align-items:center;flex-direction:column;background:#fff}.qr-print-brand{display:flex;align-items:center;justify-content:space-between;width:100%;padding-bottom:7px;border-bottom:1px solid #e5edf4;color:#16486e}.qr-print-brand b{font-size:20px;letter-spacing:-.05em}.qr-print-brand b span{color:#1686c1}.qr-print-brand small{font-size:7px;letter-spacing:.06em;color:#58738c;font-weight:700}.qr-symbol{width:min(100%,205px);aspect-ratio:1;margin:9px auto 6px;background:white}.qr-symbol svg{width:100%;height:100%;display:block;shape-rendering:crispEdges}.qr-print-name{font-size:11px;color:#0c2743;min-height:29px;display:flex;align-items:center;justify-content:center;line-height:1.35;overflow-wrap:anywhere}.qr-print-card>small{display:block;font-size:9px;color:#5b7390;margin-top:5px;line-height:1.35}
@media(max-width:1100px){.qr-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qr-scan-layout{grid-template-columns:minmax(0,1fr)}.qr-camera-frame{height:370px}}
@media(max-width:760px){.qr-hero{padding:20px 18px}.qr-hero h3{font-size:22px}.qr-hero-icon{font-size:40px}.qr-filter{flex-direction:column;align-items:stretch}.qr-filter>label{min-width:0}.qr-filter>.btn{width:100%}.qr-bulk-form{flex-direction:column;align-items:stretch}.qr-bulk-form .btn{width:100%}.qr-preview-grid{grid-template-columns:1fr}.qr-scan-layout{gap:16px}.qr-camera-frame{height:min(74vw,390px)}.qr-info-grid{grid-template-columns:1fr}.qr-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.qr-print-card{padding:9px}.qr-symbol{max-width:150px}.qr-print-outer .panel-head{align-items:stretch}.qr-action-row{width:100%}.qr-action-row .btn{flex:1}.qr-fast-form .signature-title{flex-wrap:wrap}}
@page{size:A4 portrait;margin:11mm}
@media print{
  body:has(.qr-print-outer){background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body:has(.qr-print-outer) .sidebar,body:has(.qr-print-outer) .topbar,body:has(.qr-print-outer) .app-footer,body:has(.qr-print-outer) .qr-no-print{display:none!important}
  body:has(.qr-print-outer) .main,body:has(.qr-print-outer) .content{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-height:auto!important}
  .qr-print-outer{padding:0!important;border:0!important;box-shadow:none!important;margin:0!important;background:#fff!important}
  .qr-paper-head{padding:0 0 6mm!important;margin-bottom:5mm!important}
  .qr-paper-head img{width:17mm;height:17mm}.qr-paper-head h3{font-size:11pt}.qr-paper-head strong{font-size:12pt}.qr-paper-head small{font-size:8pt}
  .qr-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm!important}
  .qr-print-card{border:1px solid #ccdbe8!important;border-radius:2mm!important;padding:2.2mm!important;min-height:66mm;break-inside:avoid!important;page-break-inside:avoid!important}
  .qr-symbol{width:35mm!important;height:35mm!important;margin:1mm auto!important}
  .qr-print-brand b{font-size:10pt}.qr-print-brand small{font-size:6pt}
  .qr-print-name{font-size:8pt;min-height:9mm}.qr-print-card>small{font-size:6.5pt;margin-top:1mm}
}


/* Dua metode serah terima: QR dan input manual tetap tersedia. */
.methods-hero{background:linear-gradient(115deg,#0a2748,#174e7b 75%,#2175a8);border-radius:18px;padding:27px 30px;color:#fff;box-shadow:0 12px 26px rgba(12,43,73,.15);margin-bottom:19px}
.methods-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;color:#b3e0ff}
.methods-hero h3{font-size:clamp(21px,2.6vw,30px);margin:9px 0 9px;letter-spacing:-.03em;color:#fff}
.methods-hero p{max-width:740px;margin:0;color:#d9eafa;line-height:1.75;font-size:12px}
.methods-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.method-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;border:1px solid #dbe6ef;border-radius:17px;padding:25px;background:#fff;box-shadow:0 8px 22px rgba(20,56,86,.055)}
.method-card-manual{border-top:4px solid #1b5d90}.method-card-qr{border-top:4px solid #2391c4}
.method-icon{display:grid;place-items:center;width:55px;height:55px;border-radius:14px;background:#e8f3fc;color:#114979;font-size:30px;margin-bottom:18px}
.method-card-qr .method-icon{background:#e7f8fc;color:#1679aa}
.method-tag{font-size:10px;letter-spacing:.1em;font-weight:850;color:#346c94}
.method-card h3{font-size:21px;color:#102e50;margin:7px 0 8px}
.method-card p{font-size:12px;color:#627990;line-height:1.8;margin:0 0 13px}
.method-card ul{padding:0;margin:0 0 23px;list-style:none;width:100%;flex:1}
.method-card li{padding:8px 0 8px 21px;position:relative;font-size:12px;color:#37546d;border-bottom:1px solid #eef3f7;line-height:1.55}
.method-card li:before{content:'✓';position:absolute;left:1px;color:#1472ac;font-weight:800}
.method-button{width:100%;justify-content:center;min-height:45px}
.methods-note{border:1px solid #d9e7f2;border-radius:12px;background:#f1f7fc;padding:17px 20px;display:flex;gap:15px;align-items:flex-start;color:#335d7f}
.methods-note strong{flex:0 0 180px;color:#133d67;font-size:12px}
.methods-note span{font-size:12px;line-height:1.65}
.method-switch{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin:0 0 17px}
.method-switch span{margin-right:auto;font-size:12px;color:#58728b}
.method-switch strong{color:#11395f}
.method-switch .btn{font-size:12px}
@media(max-width:860px){.methods-grid{grid-template-columns:1fr}.method-card{padding:20px}.methods-note{flex-direction:column;gap:6px}.methods-note strong{flex:auto}}
@media(max-width:760px){.methods-hero{padding:21px 18px}.method-switch{justify-content:stretch}.method-switch span{width:100%;margin-bottom:4px}.method-switch .btn{flex:1;white-space:normal;text-align:center;min-width:0;padding:10px 8px}.method-card h3{font-size:19px}}
@media print{.method-switch,.methods-hero,.methods-grid,.methods-note{display:none!important}}
