
*{box-sizing:border-box}body{margin:0;background:#f2f5f9;font:15px 'Malgun Gothic',Arial,sans-serif;color:#23354b}header{background:#142e4e;color:white;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}header b{font-size:23px;letter-spacing:1px}header small{color:#bdcce0}select,input,textarea,button{font:inherit}button,select,input,textarea{border:1px solid #cbd5e1;border-radius:7px;padding:10px;background:white}button{cursor:pointer}button.primary{background:#245b91;color:white;border:0}button.danger{color:#a32c36}button:disabled{opacity:.5;cursor:default}main{display:flex;min-height:90vh}nav{width:220px;background:#1c3859;padding:20px 12px;color:white;flex-shrink:0}nav button{display:block;width:100%;text-align:left;background:none;color:#e6eef7;border:0;margin:5px 0}nav button:hover,nav button.active{background:#365777}nav p{font-size:12px;color:#9bb4d1;padding:8px}article{flex:1;min-width:0;padding:25px;max-width:1250px}section,.panel{background:white;border:1px solid #dce4ee;border-radius:12px;padding:22px;margin-bottom:18px}h1{font-size:25px;margin:0 0 20px}h2{font-size:18px;margin:0 0 15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat{background:white;border:1px solid #dce4ee;border-radius:10px;padding:18px}.stat strong{display:block;font-size:30px;margin-top:10px;color:#245b91}.muted{color:#67788e;font-size:13px}.notice{background:#fff5dc;padding:12px;border-radius:8px;margin-bottom:18px;font-size:13px}label{display:block;font-weight:bold;margin:14px 0 6px}input:not([type=file]),textarea,select.field{width:100%}textarea{min-height:95px;resize:vertical}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}table{width:100%;border-collapse:collapse}th,td{padding:12px 8px;border-bottom:1px solid #e4eaf1;text-align:left}th{font-size:13px;background:#f4f7fa}.scroll{overflow:auto}.tag{display:inline-block;background:#e6eef8;color:#245b91;border-radius:20px;padding:4px 9px;font-size:12px}.route{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.route span{padding:9px;border:1px solid #dce4ee;border-radius:6px}.route .done{background:#e3f2e9}.route .now{border:2px solid #245b91}.templates{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.templates button{text-align:left;padding:16px}a{color:#245b91}pre{white-space:pre-wrap;word-break:break-word;font:inherit}@media(max-width:700px){main{display:block}nav{width:100%;display:flex;overflow:auto;padding:8px}nav button{white-space:nowrap;width:auto}nav p{display:none}article{padding:12px}.stats,.fields,.templates{grid-template-columns:1fr 1fr}section{padding:14px}header{padding:12px}}@media print{header,nav,.notice,.actions,.no-print{display:none!important}article{padding:0}section{border:0}main{display:block}}
.brand{display:flex;align-items:center;gap:14px}.brand-logo{display:flex;align-items:center;background:white;border-radius:8px;padding:9px 12px}.brand-logo img{width:145px;height:auto;display:block}.brand small{display:block;margin-top:4px}.brand b{font-size:19px}@media(max-width:480px){.brand-logo img{width:105px}.brand b{font-size:15px}.brand{gap:9px}}
body{background:#f5f7fa;color:#202b39}header{background:white;color:#202b39;border-bottom:1px solid #e4e9ef;position:sticky;top:0;z-index:5;padding:12px 24px}header small{color:#667587}.brand-logo{padding:0}.brand-logo img{width:112px}nav{background:white;color:#263747;border-right:1px solid #e4e9ef;width:218px}nav button{color:#344255;display:flex;align-items:center;gap:12px;padding:12px}nav button:hover,nav button.active{background:#e1f4fc;color:#007ba7}nav p{color:#8493a2}button.primary{background:#008dbb}button:hover{border-color:#008dbb}article{max-width:1400px}.stat strong{color:#008dbb}.menu-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px 8px}.menu-tile{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 2px;font-size:13px}.tile-icon{display:grid;place-items:center;background:#edf1f5;color:#405569;width:48px;height:48px;border-radius:15px}.tile-icon svg,nav svg{width:23px;height:23px}.menu-tile:hover .tile-icon{background:#d9f4ff;color:#008dbb}.overlay{position:fixed;inset:0;background:#14233466;z-index:20;display:flex;align-items:center;justify-content:center;padding:16px}.overlay[hidden]{display:none}.sheet{background:white;border-radius:24px;width:min(620px,100%);max-height:90vh;overflow:auto;padding:24px}.drawer{margin-right:auto;height:100%;max-height:100%;width:min(470px,92vw);border-radius:0 22px 22px 0}.overlay:has(.drawer){padding:0}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.sheet-head h2{margin:0}.choice{display:flex;align-items:center;gap:15px;padding:15px 8px;border-bottom:1px solid #edf0f3;margin:0;font-weight:normal}.choice input{width:20px!important;height:20px;accent-color:#008dbb}.choice-list{max-height:49vh;overflow:auto}.stepper{display:flex;gap:8px;margin:0 0 18px}.stepper span{flex:1;background:#edf1f5;padding:10px;border-radius:8px;text-align:center;font-size:13px}.stepper .active{background:#d9f4ff;color:#00769d;font-weight:bold}.menu-trigger{display:flex;align-items:center;gap:6px}.menu-trigger svg{width:22px;height:22px}.searchbar{margin-bottom:12px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.section-top h1{margin:0}.section-top{margin-bottom:18px}.future{font-size:11px;color:#78899a}.print-brand{display:none}@media(max-width:700px){header{padding:10px 12px;gap:8px}.brand b{font-size:14px}.brand small{display:none}.brand-logo img{width:85px}header select{padding:6px;font-size:12px}nav{display:none}article{padding:14px}.fields{grid-template-columns:1fr}.sheet{padding:18px}.menu-grid{gap:14px 2px}.menu-tile{font-size:12px}.overlay:not(:has(.drawer)){align-items:flex-end;padding:8px}.sheet{max-height:92vh}.stat{padding:13px}.stat strong{font-size:26px}}@media print{.print-brand{display:block;width:115px;margin-bottom:12px}.overlay{display:none!important}}

.document-paper{max-width:920px;margin:auto auto 22px}.document-banner{display:flex;align-items:center;gap:18px;border-bottom:2px solid #008dbb;padding:12px 0 20px}.document-banner img{width:100px;height:auto}.document-banner strong{font-size:24px;display:block}.document-banner small{display:block;color:#65778a;margin-top:5px}.form-guide{background:#eaf7fc;padding:12px;border-radius:8px;color:#18546b}.form-cell{min-width:0}.form-cell textarea{min-height:85px}#form input,#form textarea,#form select{min-height:46px;max-width:100%;font-size:16px}#form label{color:#30455a}#form .actions button{min-height:46px}#total{padding:12px;background:#eaf7fc;font-weight:bold;border-radius:8px}@media(max-width:700px){#form .fields{grid-template-columns:1fr}#form .actions{position:sticky;bottom:0;background:white;padding:10px 0;z-index:3;box-shadow:0 -4px 12px #00000009}#form .actions button{flex:1 1 auto} .document-banner strong{font-size:20px}.document-banner img{width:75px} .document-paper{padding:14px} .document-banner{gap:12px} #form input[type=file]{width:100%} .stepper{font-size:11px} }
[hidden]{display:none!important}.authcard{max-width:440px;margin:5vh auto;padding:26px}.authcard img{width:135px;max-height:100px;object-fit:contain}.authcard form{display:grid;gap:9px}.authcard input,.authcard select,.authcard button{width:100%;min-height:46px;font-size:16px}.authcard h1{margin:12px 0}.authcard #authmsg{color:#a32c36}.employee{padding:16px 0;border-bottom:1px solid #dce4ee}.employee input,.employee select{width:100%}@media(max-width:500px){.authcard{margin:12px;padding:20px}}
:root{--factory:url("factory.webp")}#auth:not([hidden]){min-height:100vh;display:grid;place-items:center;padding:16px;background:linear-gradient(#14324b44,#14324b88),var(--factory) center/cover no-repeat}.authcard{width:min(440px,100%);margin:12px auto;background:#fffffff5;box-shadow:0 12px 40px #102b4b44}.factory-banner{height:154px;border-radius:12px;margin-bottom:18px;padding:22px;display:flex;flex-direction:column;justify-content:center;color:white;background:linear-gradient(90deg,#102e4cce,#102e4c18),var(--factory) center 65%/cover no-repeat}.factory-banner strong{font-size:24px}.factory-banner span{margin-top:6px;font-size:14px}@media(max-width:700px){.factory-banner{height:110px;padding:15px}.factory-banner strong{font-size:20px}#auth:not([hidden]){padding:12px}}@media print{.factory-banner{display:none}}
.authcard label{margin:6px 0 0}.authcard input{margin-bottom:4px}#appmsg{white-space:pre-wrap;overflow-wrap:anywhere;color:#a12626}#appmsg:empty{display:none}button{min-height:40px}header .brand{flex:1}#app{min-width:0}#authmsg{white-space:pre-wrap}.doc-detail p{white-space:pre-wrap;overflow-wrap:anywhere}.navmobile{display:none}@media(max-width:700px){.navmobile{display:block}header{position:static}.stats{grid-template-columns:repeat(2,1fr)}.templates{grid-template-columns:repeat(2,1fr)}.authcard{margin:0 auto}#identity{font-size:12px}}