:root{font-family:Inter,system-ui,Arial,sans-serif;color:#18283c;background:#f3f6fb}*{box-sizing:border-box}body{margin:0}header{background:#123d56;color:white;padding:16px 4%;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:12px}.brand img{width:42px;height:42px;object-fit:contain;background:white;border-radius:8px}nav{display:flex;flex-wrap:wrap;gap:12px}nav a{color:white;text-decoration:none;font-size:14px}nav a:hover{text-decoration:underline}main{max-width:1160px;margin:30px auto;padding:0 18px}h1{font-size:27px}h2{font-size:20px}.panel{background:white;padding:24px;border:1px solid #e0e7ef;border-radius:14px;margin:18px 0;box-shadow:0 3px 12px #172f4610}.narrow{max-width:430px;margin:10vh auto}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats h2{font-size:32px;margin:8px 0}.inline,.formgrid{display:flex;flex-wrap:wrap;align-items:end;gap:15px}.formgrid label{min-width:210px;flex:1}label{display:block;font-size:14px;font-weight:600;margin:12px 0}input,select,textarea{display:block;width:100%;padding:11px;border:1px solid #c8d5e1;border-radius:8px;font:inherit;margin-top:6px;background:white;color:#18283c}input[type=checkbox]{display:inline;width:auto}textarea{min-height:95px}button,.button{background:#137e8d;color:white;border:0;border-radius:8px;padding:11px 16px;cursor:pointer;text-decoration:none;display:inline-block;font:inherit;font-weight:600}button:hover,.button:hover{background:#0e5c69}.danger{background:#bd3944;padding:6px 10px}.mini{display:inline-block;margin-left:8px}.alert{background:#fee7e7;color:#922;padding:15px;border-radius:8px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}td,th{border-bottom:1px solid #e1e7ed;padding:12px;text-align:left}th{background:#eef4f8}td input,td select{min-width:90px}.logo-preview{max-height:110px;max-width:200px}.no-print{margin:15px 0}.report-sheet{background:white;width:210mm;min-height:270mm;margin:20px auto;padding:17mm 15mm;box-shadow:0 4px 25px #0002;color:#111;font-family:Arial,sans-serif;page-break-after:always}.report-heading{text-align:center;display:flex;align-items:center;justify-content:center;gap:15px}.report-heading img{max-width:85px;max-height:85px;object-fit:contain}.report-heading h2{margin:0;font-size:20px}.report-heading h3{font-size:16px;margin:8px}.report-heading p{margin:5px}.info{margin:24px 0}.info p{border-bottom:1px solid #aaa;padding:5px 0}.report-table th,.report-table td{border:1px solid #222;text-align:center;padding:9px 4px;font-size:12px}.report-table td:first-child,.report-table th:first-child{text-align:left}.report-table th{background:#f5f5f5}.report-table small{font-size:10px}.key{font-size:11px;line-height:1.7}.remarks{margin-top:30px;font-size:13px}.remarks p{min-height:24px;border-bottom:1px solid #ddd;padding-bottom:5px}@media(max-width:750px){.stats{grid-template-columns:1fr}.panel{padding:15px}.report-sheet{width:100%;min-height:auto;padding:15px}.report-table th,.report-table td{font-size:10px;padding:5px 2px}.report-heading h2{font-size:16px}}@media print{@page{size:A4;margin:0}body{background:white}header,.no-print{display:none!important}main{margin:0;padding:0;max-width:none}.report-sheet{margin:0;box-shadow:none;width:210mm;min-height:297mm;padding:15mm 13mm;break-after:page}.report-sheet:last-child{break-after:auto}}
