:root{color:#1c2636;background:#f6f8fc;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}.topbar{z-index:3;background:#fff;border-bottom:1px solid #e6e9f2;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex;position:sticky;top:0}.topbar b{color:#1f4fd8;margin-right:8px;font-size:20px}.topbar span{color:#5b6475}.topbar nav{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topbar a,.topbar button,.linkbtn{color:#1f4fd8;background:#eef2ff;border:0;border-radius:12px;padding:9px 12px;font-weight:700;text-decoration:none}.app-shell main{max-width:980px;margin:0 auto;padding:18px}.card{background:#fff;border:1px solid #e5e9f2;border-radius:22px;margin:14px 0;padding:18px;box-shadow:0 6px 18px #202f500f}.narrow{max-width:480px;margin:34px auto}.pagehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.pagehead h1,.card h1{margin:0}.muted{color:#667085}.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.field{flex-direction:column;gap:6px;font-weight:700;display:flex}.field input,.field select{background:#fff;border:1px solid #cfd6e4;border-radius:12px;padding:12px;font-size:16px}button,.primary{color:#1f4fd8;background:#eef2ff;border:0;border-radius:12px;padding:12px 16px;font-size:16px;font-weight:800}.primary{color:#fff;background:#1f4fd8}.error{color:#9f1c1c;background:#fff0f0;border:1px solid #fcc;border-radius:12px;margin:12px 0;padding:12px}.success{color:#176b31;background:#effbf2;border:1px solid #c8f1d1;border-radius:12px;margin:12px 0;padding:12px}.listrow{border-top:1px solid #eef1f6;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.linkrow{color:inherit;text-decoration:none}.badge{color:#344054;background:#e9edf5;border-radius:999px;padding:7px 10px;font-weight:800;display:inline-flex}.badge.released{color:#087a35;background:#e8f8ee}.badge.hold{color:#8a5b00;background:#fff4d6}.badge.rejected{color:#9f1c1c;background:#ffe8e8}.badge.pending-production-approval,.badge.pending-qa{color:#1f4fd8;background:#e8f0ff}.checkitem{border-top:1px solid #eef1f6;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.choicebar,.actions,.searchbar{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.critical{color:#9f1c1c;background:#ffe8e8;border-radius:999px;margin-left:8px;padding:4px 8px;font-size:12px;font-weight:900}@media (width<=700px){.topbar{flex-direction:column;align-items:flex-start}.grid2{grid-template-columns:1fr}.checkitem,.listrow{flex-direction:column;align-items:flex-start}button,.primary,.linkbtn{text-align:center;width:100%}.choicebar button,.actions button{flex:1;width:auto}.app-shell main{padding:12px}}.page{padding-bottom:48px}.page-title-row,.section-title-row{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.alert.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.form-label-human{color:#111827;font-weight:900}.action-row{flex-wrap:wrap;gap:10px;display:flex}.btn-disabled,button:disabled{opacity:.45;cursor:not-allowed}.save-hint{color:#166534;margin-top:10px;font-weight:800}@media (width>=768px){.machine-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}.pagehead{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.user-badge,.status-pill{color:#1d4ed8;white-space:nowrap;background:#eef2ff;border-radius:999px;align-items:center;padding:8px 12px;font-weight:800;display:inline-flex}.alert{border-radius:16px;margin:12px 0 18px;padding:14px 16px;font-weight:700}.alert.warning{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:16px;margin:12px 0 18px;padding:14px 16px;font-weight:800}.machine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.machine-btn{color:#1d4ed8;text-align:left;background:#eff6ff;border:1px solid #dbeafe;border-radius:18px;min-height:76px;padding:14px;font-size:20px;font-weight:900}.machine-btn small{color:#64748b;margin-top:6px;font-size:12px;font-weight:700;display:block}.list{gap:10px;display:grid}.list-item{text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px;display:flex}.list-item p{color:#64748b;margin:4px 0 0}.checklist-grid{gap:18px;display:grid}.checklist-category{gap:12px;display:grid}.checklist-category h3{color:#334155;margin:14px 0 0}.checklist-item{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px}.checklist-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.checklist-code{color:#64748b;font-size:13px;font-weight:800}.checklist-name{color:#0f172a;font-size:18px;font-weight:900}.result-buttons{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.result-btn{background:#f8fafc;border:1px solid #d1d5db;border-radius:14px;min-height:52px;font-size:18px;font-weight:900}.result-btn.active.ok{color:#166534;background:#dcfce7;border-color:#22c55e}.result-btn.active.ng{color:#991b1b;background:#fee2e2;border-color:#ef4444}.result-btn.active.na{color:#92400e;background:#fef3c7;border-color:#f59e0b}.reason-box{margin-top:12px}.reason-box textarea{border:1px solid #d1d5db;border-radius:14px;width:100%;min-height:76px;padding:12px;font-size:16px}.warn-text{color:#b91c1c;margin:8px 0 0;font-weight:800}.mini-result{text-align:center;color:#334155;background:#e5e7eb;border-radius:999px;min-width:48px;padding:8px 10px;font-weight:900}.mini-result.OK{color:#166534;background:#dcfce7}.mini-result.NG{color:#991b1b;background:#fee2e2}.mini-result.N\/A{color:#92400e;background:#fef3c7}.evidence-chip,.critical{border-radius:999px;margin:8px 8px 0 0;padding:4px 8px;font-size:12px;font-weight:900;display:inline-flex}.critical{color:#991b1b;background:#fee2e2}.evidence-chip{color:#0369a1;background:#e0f2fe}.evidence-list{margin-top:14px}.actions{flex-wrap:wrap;gap:10px;display:flex}button:disabled{opacity:.45;cursor:not-allowed}@media (width>=768px){.machine-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}button.danger{color:#fff;background:#dc2626;border-color:#b91c1c}button.danger:hover{background:#b91c1c}
