/* Office pages + report sheet + print (app.md §9, §11). Old-phone safe: flexbox, no grid, no variables. */
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#F4F4F1;color:#17181A;font-family:sans-serif;font-size:16px;line-height:1.4}
a{color:#1C6B45}
h1{font-size:24px;margin:0 0 4px}h2{font-size:17px;margin:0 0 8px}
.wrap{max-width:1100px;margin:0 auto;padding:16px}
.top{display:flex;flex-wrap:wrap;align-items:center;padding:8px 16px;background:#FFF;border-bottom:1px solid #E2E3DE}
.top .brand{font-weight:700;margin-right:16px}
.top nav{display:flex;flex-wrap:wrap;flex:1}
.top nav a{padding:10px 12px;color:#3B3D37;text-decoration:none;font-weight:600;font-size:15px}
.inline{display:inline;margin:0}
.link{background:none;border:0;padding:10px 12px;color:#3B3D37;font:inherit;font-weight:600;font-size:15px;cursor:pointer}
.card{background:#FFF;border:1px solid #E2E3DE;border-radius:14px;padding:16px;margin:0 0 14px}
.stack>*+*{margin-top:12px}
.row{display:flex;flex-wrap:wrap;margin:0 -6px}.row>*{flex:1 1 140px;margin:0 6px}
.muted{color:#5E6058}.small{font-size:13px}
.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin:0 0 14px}
.btn{display:inline-block;box-sizing:border-box;min-height:44px;padding:11px 16px;border-radius:10px;border:1.5px solid #CFD0CA;background:#FFF;color:#17181A;font:inherit;font-weight:600;text-decoration:none;text-align:center;cursor:pointer}
.btn-primary{background:#1C6B45;border-color:#1C6B45;color:#FFF}
.btn-dark{background:#17181A;border-color:#17181A;color:#FFF}
.btn-danger{color:#A61E2E}
.btn-small{min-height:36px;padding:6px 10px;font-size:14px}
.btn-block{display:block;width:100%}
.field{display:flex;flex-direction:column;margin:0 0 12px}
.field label{font-weight:600;font-size:14px;margin:0 0 4px}
input[type=text],input[type=password],input[type=number],input[type=date],input[type=time],select,textarea{box-sizing:border-box;width:100%;min-height:46px;padding:8px 12px;border:1.5px solid #CFD0CA;border-radius:10px;background:#FFF;color:#17181A;font:inherit;font-size:17px}
textarea{min-height:110px;line-height:1.5}
.msg{padding:12px 14px;border-radius:10px;margin:0 0 12px;font-weight:600}
.msg-error{background:#FBE3E5;color:#8F1B28}.msg-ok{background:#E3F0E8;color:#14502F}
.chip{display:inline-block;padding:3px 10px;border-radius:999px;background:#E9EAE4;color:#3B3D37;font-size:12px;font-weight:700;white-space:nowrap}
.chip-live{background:#E3F0E8;color:#14502F}.chip-dark{background:#17181A;color:#FFF}
.batch-list{list-style:none;margin:0;padding:0}
.batch-item{margin:0 0 12px}
.batch{display:block;padding:16px;border-radius:14px;background:#FFF;border:1px solid #E2E3DE;color:#17181A;text-decoration:none}
.batch-top{display:flex;justify-content:space-between;align-items:center}
.batch-name{font-size:20px;font-weight:700;margin-right:8px}
.batch-meta{display:block;margin-top:6px;color:#5E6058;font-size:14px}
.batch-actions{display:flex;justify-content:flex-end;padding:6px 4px 0}
.batch-actions a{padding:8px 10px;font-size:14px;font-weight:600}
.inc{border:0;margin:0;padding:0}.inc legend{font-weight:700;padding:0;margin:0 0 4px}
.inc-row{display:flex;align-items:center;margin:0 0 8px}
.inc-name{flex:1;font-size:17px;font-weight:700}
.inc-cat{flex:1;margin-right:8px}
.inc-row .inc-krj{width:120px;flex:0 0 120px;text-align:right}
.units{display:flex;margin:0 0 12px}.units label{margin-right:16px;font-weight:600}
.preview{background:#17181A;color:#FFF;border-radius:12px;padding:12px 14px;margin:0 0 12px}
.total-big{font-size:24px;font-weight:700}
table.tbl{border-collapse:collapse;width:100%;background:#FFF}
.tbl th,.tbl td{padding:9px 10px;border-bottom:1px solid #ECEDE8;text-align:left;vertical-align:top}
.tbl th{font-size:12px;color:#5E6058;letter-spacing:.04em}
.num{text-align:right;font-variant-numeric:tabular-nums}
.scroll{overflow-x:auto}
.report-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;margin:0 0 14px}
.actions{display:flex;flex-wrap:wrap}.actions>*{margin:4px 0 4px 8px}
.dev-list{list-style:none;margin:0;padding:0}.dev-list li{padding:10px 0;border-bottom:1px solid #ECEDE8}
/* the DATA PROSES sheet */
.sheet{background:#FFF;border:1px solid #D5D6D0;border-radius:6px;padding:24px;margin:0 0 16px}
.sheet-head{text-align:center;margin:0 0 14px}
.sheet-title{font-size:26px;font-weight:700}
.sheet-sub{font-size:13px;font-weight:700;letter-spacing:.18em;color:#3B3D37}
.sheet-strip{display:flex;flex-wrap:wrap;justify-content:space-between;padding:10px 14px;border:1px solid #CFCFC8;margin:0 0 18px}
.sheet-strip b{font-size:22px;margin:0 6px}
.sheet-tables{display:flex;flex-wrap:wrap;align-items:flex-start;margin:0 -10px 18px}
.sheet-tables .st{flex:1 1 220px;margin:0 10px 10px}
table.st,table.susut{border-collapse:collapse;border:1px solid #CFCFC8;width:100%}
.st th,.st td,.susut th,.susut td{padding:0 12px;border-bottom:1px solid #E4E4DE}
.st thead th,.susut thead th{height:44px;background:#FAFAF7;text-align:center;font-weight:700}
.st tbody tr{height:46px}
.st-size{width:64px;border-right:1px solid #E4E4DE;color:#5E6058}
.st-n{text-align:right;font-size:18px;font-weight:600}
.st tr.st-total{height:56px;border-top:2px solid #17181A}
.st-total th{text-align:left}.st-total .st-n{font-size:22px;font-weight:700}
.swatch{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:8px;vertical-align:middle}
.sw-merah{background:#C62839}.sw-kuning{background:#F4C430}.sw-biru{background:#1F5AA6}
.sheet-bottom{display:flex;flex-wrap:wrap;align-items:flex-start}
.sheet-absent{flex:1 1 200px;margin:0 24px 16px 0}
.sheet-absent h2{text-decoration:underline}
.sheet-absent ol{margin:0;padding-left:22px;font-size:16px;line-height:1.7}
.sheet-susut{flex:999 1 420px;min-width:0;overflow-x:auto}
.susut tbody tr{height:46px}
.susut td{font-size:16px}.susut .num{font-size:18px}
.susut .sep{border-right:2px solid #CFCFC8}
.manual{background:#FFF6D6}
.manual-mark{display:inline-block;width:14px;height:14px;margin-right:6px;vertical-align:middle;border-radius:3px;background:#FFF6D6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16v4z' fill='none' stroke='%236E5200' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat center;background-size:10px}
.susut tr.su-total{border-top:2px solid #17181A;font-weight:700}
.footnote{margin:14px 0 0;padding-top:12px;border-top:1px solid #ECEDE8;font-size:13px;color:#5E6058}
@media print{
  @page{size:A4 landscape;margin:10mm}
  body{background:#FFF}
  .top,.print-hide{display:none!important}
  .wrap{max-width:none;padding:0}
  .sheet{border:0;padding:0;margin:0}
  .manual,.manual-mark{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
