:root{--blue:#1685c0;--line:#dce5ed}body{background:#f2f6fa}.loading{padding:60px;text-align:center;color:#6a7f94}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1200px;margin:auto;align-items:center;gap:70px;padding:50px}.auth-copy h1{font-size:38px;line-height:1.5;color:#163d5e}.auth-copy p{color:#7d91a4;line-height:2}.auth-copy .eyebrow{letter-spacing:3px;color:#238bc3;font-size:11px}.auth-card{padding:35px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 15px 40px #1e40680a}.auth-card h2{margin:0 0 12px}.auth-card label,.stack{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:13px;color:#667e91}.auth-card .primary{width:100%;margin-top:15px}.auth-card .note{font-size:12px;line-height:1.8}.error{white-space:pre-wrap}aside{overflow-y:auto}.brand{font-size:16px}.logo{background:#1685c0}.nav.active{background:#e7f4fc;color:#1685c0}.aside-note{margin:30px 12px;font-size:11px;color:#92a1af;line-height:1.9}header{height:auto;min-height:70px;padding:15px 30px;gap:15px}header .user-bar{display:flex;align-items:center;gap:10px;color:#526f86}header button{font-size:11px;padding:7px 10px}main{margin-left:230px}.main-content{padding:28px 30px 50px}.local-banner{padding:10px 15px;background:#eaf6f0;border:1px solid #d5e9df;color:#3a8366;border-radius:7px;font-size:12px;margin-bottom:25px}.pill{background:#edf4fa;padding:4px 8px;border-radius:4px;font-size:11px;margin:2px;display:inline-block}.toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:20px 0}.title-row h1{font-size:25px}.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.role-grid label{display:flex;align-items:center;gap:7px;font-size:12px;padding:9px;background:#f6f9fc;border-radius:4px}.role-grid input{width:auto}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.form-grid label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#667f94}.form-grid input,.form-grid select,.form-grid textarea{width:100%}.form-grid .wide{grid-column:1/-1}.readonly{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere;font-size:13px;color:#2b4961}.sheet{padding:25px}.sheet h3{font-size:15px;color:#28678d;margin:25px 0 20px}.sheet h3:first-child{margin-top:0}.sheet details{margin-top:25px;border:1px solid var(--line);border-radius:6px}.sheet summary{padding:16px;background:#f7fafd;cursor:pointer;color:#527a97}.detail-group{padding:20px}.detail-group h4{color:#4583a5;border-left:3px solid #3f9dc9;padding-left:10px}.sticky-actions{position:sticky;top:0;z-index:3;background:#f2f6faf2;padding:15px 0}.file-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.file-row span{overflow-wrap:anywhere}.file-row button{font-size:11px;padding:6px 9px}.table-scroll{overflow:auto}.table-scroll table{min-width:800px}.line-table input{width:100%;min-width:65px}.line-table td{padding:10px}.line-table th{padding:10px}.permission-note{padding:15px;background:#f6f9fc;border:1px solid #e1e9f1;color:#7890a3;line-height:1.8;font-size:12px;margin:18px 0}.flow-row{display:grid;grid-template-columns:110px minmax(0,1fr) 80px;align-items:center;gap:15px;margin:13px 0;padding:14px;background:#f8fafc;border-radius:6px;font-size:12px}.flow-row select{width:100%}.history-item{padding:17px 0;border-bottom:1px solid var(--line)}.history-item p{line-height:1.8;color:#667f94;white-space:pre-wrap;font-size:12px}.history-item small{color:#9aabba}.signature-card{border:1px solid #dce7ef;padding:20px;margin:16px 0;border-radius:8px}.signature-card img{width:280px;max-width:100%;height:100px;object-fit:contain;background:#fbfcfd;border:1px solid #e5ebf0;display:block;margin:15px 0}.signature-card code{font-size:10px;display:block;overflow-wrap:anywhere;line-height:1.7;color:#8095a5}.signature-card p{font-size:12px;line-height:1.8}.valid{color:#218564}.invalid{color:#bc4949}dialog{max-height:90vh;overflow:auto;width:600px}dialog h2{font-size:19px}dialog p{font-size:12px;color:#72889a;line-height:1.8}dialog label.stack{margin:15px 0}dialog textarea{width:100%;min-height:85px}dialog .actions{justify-content:flex-end;margin-top:20px}.signature-pad{width:100%;height:170px;border:1px dashed #9ebed3;border-radius:7px;background:#fff;touch-action:none;display:block}.signature-caption{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8095a6;margin:12px 0 8px}.signature-caption button{padding:5px 10px;font-size:11px}#modalError{margin:10px 0}.verify-result{padding:14px;background:#eef8f2;color:#2e8867;border-radius:6px;font-size:12px;line-height:1.8}.paper table{table-layout:fixed}.paper img{max-width:220px;max-height:100px}.paper td{white-space:pre-wrap}.row-inline{display:flex;gap:10px;align-items:center}.user-state{color:#9c5a42}.modal-wide{width:850px}.progress-list{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.progress-list span{background:#f1f5f9;padding:9px 14px;border-radius:5px;font-size:12px}.progress-list span.current{background:#e4f3fc;color:#147fb9}button:disabled{pointer-events:none}.admin-intro{line-height:1.9;color:#8296a7;font-size:13px;max-width:800px}
@media(max-width:900px){.auth-shell{grid-template-columns:1fr;max-width:600px;gap:20px;padding:25px}.auth-copy h1{font-size:25px}.auth-copy p{display:none}aside{position:static;width:auto}.brand{padding-bottom:10px}.nav{display:inline-block;width:auto}.aside-note{display:none}main{margin:0}.main-content{padding:20px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}header{flex-wrap:wrap}.role-grid{grid-template-columns:1fr 1fr}.flow-row{grid-template-columns:80px 1fr}.flow-row>span:last-child{grid-column:2}.auth-card{padding:25px}}@media print{aside,header,.local-banner,.sticky-actions,.tabs,.toolbar,.back,.no-print{display:none!important}main{margin:0}.main-content{padding:0}.panel{border:0}.paper{padding:0}.signature-card{break-inside:avoid}.paper tr{break-inside:avoid}}
.paper .table-scroll{overflow:visible}.paper .table-scroll table{min-width:0;table-layout:fixed;width:100%}.paper .line-table td{overflow-wrap:anywhere}.paper .line-table th{width:auto}@media print{.paper table th,.paper table td{font-size:10px;padding:6px}}
.wasion-brand{display:block;background:#123e5c;border-radius:8px;padding:14px;line-height:0}.wasion-brand img{display:block;width:100%;height:auto;object-fit:contain}.brand{flex-direction:column;align-items:stretch;gap:14px}.brand>.wasion-brand{width:100%;box-sizing:border-box}.auth-brand{max-width:350px;margin-bottom:30px;padding:22px}

.module-switch{display:block;margin:0 0 12px;color:#526c81;font-size:13px}.module-switch select{display:block;width:100%;margin-top:8px;padding:11px 8px;border:1px solid #cbdbe5;border-radius:7px;background:white;color:#173e59}.module-overview{padding:28px}.module-plan{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.module-plan>div{padding:20px;background:#f1f6fa;border-radius:9px}.module-plan p{font-size:13px;color:#71879a;line-height:1.7}.template-modal{width:960px;max-width:calc(100vw - 40px)}.template-columns{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:0;margin:20px 0;border:1px solid #d9e4ed;border-radius:8px;overflow:hidden}.template-columns section{padding:16px;border-right:1px solid #d9e4ed;min-height:200px}.template-columns section:last-child{border:0}.template-columns h3{font-size:14px;color:#71879a;margin:0 0 14px}.template-item{display:block;width:100%;text-align:left;padding:13px 10px;border:1px solid transparent;border-radius:6px;background:transparent;box-sizing:border-box;margin-bottom:8px;white-space:normal}.template-item.selected{background:#e6f3fb;border-color:#73b9de;color:#087eaf}.template-item small{display:block;color:#73899a;font-size:12px;margin-top:6px}.module-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap}@media(max-width:700px){.module-plan,.template-columns{grid-template-columns:1fr}.template-columns section{min-height:0;border-right:0;border-bottom:1px solid #d9e4ed}.template-modal{padding:20px}.module-switch{max-width:360px}}

.material-section{margin-bottom:28px;padding:20px;border:1px solid #dce5ef;border-radius:12px}.material-section h3{margin-top:0}.material-value{padding:12px;background:#f4f7fb;min-height:44px;white-space:pre-wrap;overflow-wrap:anywhere;color:#263c50;border-radius:6px}.material-wide{grid-column:1 / -1}.required{color:#c33}#materialHsf input{min-width:140px}
