@font-face{font-family:Pretendard;src:url('/ui/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ink:#142e41;--muted:#4b626f;--teal:#006d69;--border:#c9d6dd}
body{color:var(--ink);font:400 18px/1.7 Pretendard,'Malgun Gothic',system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #005f7a;outline-offset:4px}
h1{font-size:36px;line-height:1.4;letter-spacing:-.025em;font-weight:800}h2{font-size:24px;line-height:1.5;font-weight:750}h3{font-size:21px;line-height:1.5}
small,.muted{font-size:16px;color:var(--muted)}
.topbar{height:auto;min-height:150px;background:#fff;border-color:var(--border);flex-wrap:wrap;gap:20px 28px;padding:20px 32px}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;flex-shrink:0;white-space:normal}
.brand img{display:block;width:360px;max-width:100%;height:auto}
.brand .brand-caption{font-size:18px;font-weight:750;color:#153c53;line-height:1.5}
.nav{gap:8px;flex-wrap:wrap}.nav button{min-height:54px;border:1px solid transparent;padding:12px 18px;color:#294d60;border-radius:9px;font-size:18px;font-weight:750}
.nav button.active{background:#e2f0ed;color:#005d57;border-color:#bddbd3}
.account{flex-wrap:wrap;gap:12px;font-size:16px}
.tag{border-color:#b9d8d0;color:#065e4e;background:#eaf5f1;padding:4px 12px;font-size:16px}.tag.amber{color:#705016;background:#fff4d9;border-color:#d9c28e}
.page{max-width:1840px;padding:32px}.pageheading{margin-bottom:26px}.pageheading p{margin-top:8px;color:var(--muted);font-size:18px}
.btn{min-height:54px;border-color:#abbfc9;color:#183e53;border-radius:9px;padding:11px 18px;font-size:18px;font-weight:750;gap:8px;text-align:center;line-height:1.5}
.btn.primary{background:var(--teal);border-color:var(--teal)}.btn.navy{background:#153e54;border-color:#153e54}.btn.small{min-height:48px;padding:9px 14px;font-size:17px}
.btn:hover:not(:disabled){filter:brightness(.96)}.card{min-width:0;border-color:var(--border);border-radius:14px}
.cardhead{padding:20px 22px;border-color:#d6e0e5;gap:12px}.cardhead small{font-size:16px;margin-top:7px}.cardbody{padding:24px}
.welcome{background:#153e54;padding:30px;border-radius:14px;margin-bottom:28px;gap:24px}.welcome p{color:#e3eef2;margin-top:8px;font-size:18px}.welcome .btn{background:#fff;color:#075f56;flex-shrink:0}
.eyebrow{font:750 17px/1.5 Pretendard,'Malgun Gothic',sans-serif;letter-spacing:0;color:#265f68}
.searchbar{gap:12px;max-width:920px;margin-bottom:12px}.searchbar input{min-height:58px;border-color:#aebfc9;padding:14px 18px;color:var(--ink);font-size:20px}
input::placeholder,textarea::placeholder{color:#62717b;opacity:1}.searchhint{font-size:17px;color:var(--muted);margin-bottom:28px}
.listhead{padding:20px 24px;border-color:#d4dfe5;align-items:center;gap:16px}.tablewrap{width:100%}th{font-size:17px;color:#314d5d;background:#edf3f5;font-weight:750}td,th{padding:20px 22px;border-color:#dce5ea}td{font-size:18px}td strong{font-size:19px}td small{font-size:16px}
.empty{padding:60px 24px;color:var(--muted)}.empty strong{color:#193d51;font-size:24px;margin-bottom:10px}
.steps{gap:12px 18px;flex-wrap:wrap;margin-bottom:24px;font-size:17px;color:var(--muted)}.steps strong{color:#075f58}.steps i{width:32px;height:32px;background:#dceee8;margin-right:8px}
.editor{grid-template-columns:380px minmax(0,1fr) 260px;gap:22px}.inputcard{max-height:800px;scrollbar-width:auto}.inputcard details{border-color:#d7e1e6}.inputcard summary{min-height:62px;padding:17px 20px;font-size:20px}.inputcard summary:after{color:#356070}
.fields{padding:4px 22px 24px;grid-template-columns:1fr;gap:18px}.field{font-size:18px;font-weight:650;color:#294959}
.field input,.field select,.field textarea,.prop input,.prop select{min-height:54px;margin-top:7px;border-color:#acbec9;padding:12px;border-radius:8px;color:#142e41;font-size:19px;font-weight:400;line-height:1.5}
.field textarea{min-height:104px}.field input[type=date]{font-size:19px;padding:12px 10px}.smallnote{margin:16px 20px;font-size:16px;color:#355867;background:#edf5f5;padding:14px;border-radius:8px;line-height:1.8}
.documentselect{padding:16px 22px;font-size:18px}.doccheck{gap:12px;min-height:48px;padding:10px 0;font-size:18px;line-height:1.6}input[type=checkbox]{width:24px;height:24px;flex-shrink:0;accent-color:#006d69}.doccheck input{margin:3px 0 0}
.previewtools{border-color:#c9d8e0;padding:14px;gap:10px}.previewtools select{flex:1;min-width:160px;max-width:100%;min-height:50px;border-color:#adbfca;border-radius:8px;padding:10px;color:#234b60;font-size:18px}
.paperwrap{max-height:760px;min-height:500px}.binding{word-break:normal}.finalmark{padding:14px 18px;border-color:#c6d6de;font-size:16px;background:#f6f9fa;color:#385c6e;line-height:1.7}
.props{font-size:17px}.props .cardbody{padding:20px}.props h3{font-size:21px;margin-bottom:18px}.prop{color:#365363;margin-bottom:16px;font-size:17px}.propgrid{gap:0 12px}.props .btn{margin-top:10px}
.actions{gap:14px;padding:22px 0}.actions .review{gap:12px;font-size:18px;line-height:1.7}
.status{font-size:18px;padding:16px 20px;background:#e3f1e9;color:#1d5c42;border:1px solid #b9d8c7;border-radius:10px;margin-bottom:18px}.status.warn{background:#fff3d7;color:#705016;border-color:#dfc790}.status.error{background:#fff0ed;color:#8b2923;border-color:#dfb7af}
.footerinfo{font-size:16px;color:var(--muted);line-height:1.85;padding:16px 0}
.authwrap{grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr);max-width:1800px;margin:0 auto}
.authbrand{background:#eaf3f4;color:var(--ink);padding:50px clamp(28px,4.4vw,80px)}
.authbrand .brand{margin-bottom:34px;background:#fff;padding:20px 24px;border:1px solid #d2e0e5;border-radius:14px;align-self:flex-start;max-width:100%}
.authbrand .brand img{width:460px}.authbrand .brand-caption{font-size:20px}.authbrand h1{font-size:clamp(32px,2.7vw,44px);line-height:1.4;color:#103850;letter-spacing:-.025em}
.authbrand .authintro{font-size:20px;color:#354f5d;line-height:1.8;margin-top:20px;max-width:660px}
.authsteps{display:grid;grid-template-columns:1fr;gap:17px;margin:30px 0 0;padding:0;border:0;list-style:none;color:var(--ink);font-size:18px}
.authsteps li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start}
.authsteps .stepnum{display:grid;place-items:center;width:42px;height:42px;background:#006d69;color:#fff;border-radius:50%;font-size:21px;font-weight:800}
.authsteps strong{display:block;font-size:21px;font-weight:750;line-height:1.55}.authsteps p{font-size:18px;color:#3d5867;line-height:1.65;margin-top:3px;max-width:none}
.authnote{margin-top:28px;padding-top:20px;border-top:1px solid #b4cbd4;color:#2c5365;font-size:17px;line-height:1.8}
.authform{padding:48px 32px}.authform form{max-width:480px;background:#fff;border:1px solid #cfdae1;border-radius:18px;padding:36px;box-shadow:0 8px 32px #17394a09}
.authform h2{font-size:30px;line-height:1.45;margin:20px 0 12px;letter-spacing:-.02em}.authform .authdescription{font-size:19px;color:#405c6c;margin-bottom:28px;line-height:1.8}
.authform .field{margin:24px 0 12px;font-size:19px}.authform input[type=password],.authform input[type=text]{padding:15px;font-size:21px;min-height:60px}.authform .btn{margin-top:22px;min-height:60px;font-size:21px}
.authfoot{font-size:16px;color:var(--muted);margin-top:24px;line-height:1.8}.password-toggle{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:500;color:#355467;cursor:pointer;margin:14px 0}
.accessnotice{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 32px;background:#e5f2ee;border-bottom:1px solid #bbd5cc;font-size:18px;color:#1d5047}
.passwordform{max-width:680px}.passwordform .field{margin-bottom:24px}.passwordform .btn.primary{min-width:220px}
.savedlayout{grid-template-columns:360px minmax(0,1fr);gap:26px}.savedlayout .paperwrap{max-height:820px}.hash{font:13px/1.8 ui-monospace,monospace;background:#edf3f5;padding:14px;border-radius:8px;color:#365767;margin-top:20px}.savenote{margin:16px 0;font-size:17px;color:var(--muted);line-height:1.8}.savetitle{font-size:30px;letter-spacing:-.02em;margin:10px 0}
#toast{background:#103b50;padding:16px 24px;font-size:18px}
@media(min-width:1650px){.editor{grid-template-columns:420px minmax(0,1fr) 280px}.brand img{width:390px}}
@media(max-width:1350px){.topbar{gap:18px 22px}.nav{order:3;width:100%;border-top:1px solid #e0e7eb;padding-top:14px}.nav button{flex:1}.brand img{width:340px}.editor{grid-template-columns:360px minmax(0,1fr)}.props{grid-column:1/-1}.props .cardbody{display:flex;gap:20px;flex-wrap:wrap;align-items:flex-start}.props h3{width:100%}.props .propgrid{width:320px}.props .btn{width:auto}.inputcard{max-height:860px}}
@media(max-width:980px){.authwrap{display:block}.authbrand{padding:36px}.authbrand .brand{margin-bottom:26px}.authbrand h1{font-size:36px}.authform{padding:36px 24px}.authform form{max-width:620px}.authsteps{grid-template-columns:1fr 1fr;gap:24px}.authbrand .brand img{width:420px}.editor{display:flex;flex-direction:column}.editor>*{width:100%}.inputcard{max-height:none}.fields{grid-template-columns:1fr 1fr}.field.full{grid-column:1/-1}.savedlayout{grid-template-columns:320px minmax(0,1fr)}}
@media(max-width:680px){h1{font-size:29px}h2{font-size:23px}.topbar{padding:20px;gap:16px}.brand{width:100%}.brand img{width:360px;max-width:100%}.brand .brand-caption{font-size:18px}.account{width:100%;margin-left:0;justify-content:space-between;font-size:16px}.nav{gap:8px;display:grid;grid-template-columns:1fr 1fr}.nav button{font-size:18px;padding:12px}.nav button:last-child:nth-child(odd){grid-column:1/-1}.page{padding:24px 18px}.pageheading{align-items:flex-start;flex-wrap:wrap;gap:16px}.pageheading p{font-size:18px}.welcome{padding:24px;display:block}.welcome .btn{margin-top:20px}.welcome p{font-size:18px}.searchbar{flex-wrap:wrap}.searchbar input{width:100%;flex-basis:100%;font-size:19px}.searchbar .btn{width:100%}.fields{grid-template-columns:1fr}.props .cardbody{display:block}.props .propgrid{width:auto}.steps{font-size:17px;gap:12px}.paperwrap{min-height:340px;max-height:680px;padding:16px 12px}.actions{position:static;display:flex}.actions .right{margin-left:0}.actions .review{width:100%;font-size:18px}.actions .btn{flex:1;min-width:180px}.savedlayout{display:block}.savedlayout>div{margin-bottom:24px}.authbrand{padding:28px 22px}.authbrand .brand{padding:16px;margin-bottom:26px}.authbrand .brand img{width:390px}.authbrand .brand-caption{font-size:18px}.authbrand h1{font-size:32px}.authbrand .authintro{font-size:19px}.authsteps{grid-template-columns:1fr;gap:22px}.authsteps strong{font-size:21px}.authsteps p{font-size:18px}.authform{padding:28px 18px}.authform form{padding:28px 22px}.authform h2{font-size:28px}.authform .authdescription{font-size:18px}.authnote{font-size:17px}.accessnotice{padding:20px;font-size:18px}.listhead{flex-wrap:wrap}.cardbody{padding:22px}.passwordform .btn{width:100%}}
.segmented{min-width:0;border:0;padding:0;margin:0}.segmented legend{font-size:19px;font-weight:700;margin-bottom:10px}.segment-row{display:flex;align-items:flex-end;gap:8px}.segment-part{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.segment-part>span{font-size:15px;color:#425968;font-weight:500}.segment-part input{width:100%;min-width:0;text-align:center;font-size:21px!important;min-height:54px;padding:10px 4px!important}.segment-row.vehicle .segment-part:last-child{flex:1.45}.segment-separator{align-self:flex-end;padding-bottom:13px;font-size:23px}.segment-choices{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 6px}.segment-choices .btn{min-width:58px;min-height:46px;font-size:20px}.segmented small{display:block;margin-top:10px;font-size:16px;line-height:1.6;color:#425968}.segmented .password-toggle{margin:10px 0 0}.segment-row.rrn .segment-part:last-child{flex:1.2}@media(max-width:420px){.segment-row{gap:5px}.segment-part input{font-size:18px!important}.segment-part>span{font-size:14px}.segment-choices{gap:8px}}
/* Editing workspace: preview stays visible while the form scrolls. */
@media(min-width:721px){
 .editor{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(340px,1.3fr);gap:20px;align-items:start}
 .editor>.inputcard{grid-column:1;grid-row:1;width:auto;max-height:calc(100dvh - 40px);overflow:auto;position:sticky;top:20px;overscroll-behavior:contain}
 .editor>.previewcard{grid-column:2;grid-row:1;width:auto;position:sticky;top:20px;display:flex;flex-direction:column;max-height:calc(100dvh - 40px);min-width:0}
 .editor>.previewcard .paperwrap{min-height:220px;max-height:calc(100dvh - 235px);flex:1;overflow:auto}
 .editor>.previewcard .previewtools,.editor>.previewcard .finalmark{flex-shrink:0}
 .editor>.props{grid-column:1/-1;grid-row:2;width:auto}
 .editor .fields{grid-template-columns:1fr 1fr}
}
@media(min-width:721px) and (max-width:1000px){.page{padding-left:16px;padding-right:16px}.editor{grid-template-columns:minmax(300px,.95fr) minmax(0,1fr);gap:14px}.editor .fields{grid-template-columns:1fr}.editor .previewtools select{max-width:100%}.editor .previewtools{padding:10px;gap:6px}.editor .previewtools .btn{font-size:16px}.editor .finalmark{font-size:14px;padding:10px}}
@media(max-width:720px){
 .editor{display:flex;flex-direction:column;gap:16px}
 .editor>.previewcard{order:-1;position:sticky;top:0;z-index:5;width:100%;box-shadow:0 4px 16px #18364525;max-height:46dvh;display:flex;flex-direction:column}
 .editor>.previewcard .paperwrap{min-height:90px;max-height:27dvh;overflow:auto;padding:12px;flex:1}
 .editor>.previewcard .previewtools{padding:6px 10px;gap:5px}.editor>.previewcard .previewtools select{font-size:15px;max-width:180px}
 .editor>.previewcard .finalmark{font-size:13px;padding:5px 10px;line-height:1.4}
 .editor>.inputcard{max-height:none;width:100%}.editor>.props{width:100%}
}
/* Centered work area; large typography without excessive travel between controls. */
.page{max-width:1200px;margin-inline:auto;padding:32px 24px}
.page:has(.editor){max-width:1320px}
.topbar{max-width:1320px;margin-inline:auto;padding:20px 24px;gap:20px;min-height:136px}
.topbar .brand img{width:340px}.topbar .nav{order:initial;width:auto;border-top:0;padding-top:0}.topbar .nav button{flex:initial;padding-inline:14px}
.accessnotice{max-width:1320px;margin-inline:auto}
.authwrap{max-width:1180px;margin:40px auto;min-height:calc(100dvh - 80px);grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;padding:24px;align-items:center}
.authbrand{padding:28px;background:transparent;justify-content:center}.authbrand .brand{padding:18px;margin-bottom:26px}.authbrand .brand img{width:440px}.authbrand h1{font-size:36px}.authbrand .authintro{font-size:19px}.authsteps{gap:16px;margin-top:26px}.authsteps p{font-size:17px}.authform{padding:0}.authform form{max-width:none;padding:32px}.authnote{margin-top:22px}
.editor-heading{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px;align-items:center;margin-bottom:24px}.editor-intro p{margin:12px 0 18px;color:var(--muted);font-size:18px;line-height:1.8}.editor-intro h1{font-size:32px}
.document-picker{padding:20px 22px;background:#fff}.picker-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.picker-heading h2{font-size:22px}.picker-heading .tag{font-size:16px}.picker-help,.picker-note{font-size:16px;color:var(--muted);line-height:1.6}.picker-help{margin:6px 0 12px}.picker-note{margin:12px 0 0}
.picker-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.picker-options .doccheck{min-height:48px;margin:0;padding:9px 10px;border:1px solid #d3dfe4;border-radius:8px;font-size:17px;line-height:1.45;align-items:center;cursor:pointer}.picker-options .doccheck:has(input:checked){background:#eaf5f1;border-color:#559f91;color:#075d54;font-weight:650}.picker-options .doccheck:hover{border-color:#377e79}.picker-options .doccheck input{margin:0}
@media(min-width:721px){.editor{grid-template-columns:minmax(340px,.85fr) minmax(0,1.15fr)}.editor .fields{grid-template-columns:1fr 1fr}}
@media(max-width:1100px){.topbar .nav{order:3;width:100%;border-top:1px solid #e0e7eb;padding-top:12px}.topbar .nav button{flex:1}.authwrap{gap:24px}.authbrand{padding:12px}.authbrand h1{font-size:32px}.authform form{padding:26px}.editor-heading{grid-template-columns:1fr;gap:20px}.editor-intro h1{font-size:29px}.document-picker{padding:16px}.picker-options{grid-template-columns:1fr 1fr}.editor .fields{grid-template-columns:1fr}}
@media(max-width:800px){.authwrap{display:flex;flex-direction:column;max-width:620px;margin:24px auto;gap:28px;min-height:0}.authbrand,.authform{width:100%}.authsteps{grid-template-columns:1fr}.authform form{max-width:none}.editor-heading{grid-template-columns:1fr}.picker-options{grid-template-columns:1fr 1fr}.editor-intro p br{display:none}}
@media(max-width:720px){.page{padding:24px 16px}.topbar{padding:18px 16px}.topbar .brand img{width:340px}.editor-heading{gap:18px}.picker-options{grid-template-columns:1fr}.picker-heading{flex-wrap:wrap}.authwrap{padding:16px}.authbrand h1{font-size:30px}}
.group-jump{display:block;font-size:16px;margin-top:16px;color:#355867}.group-jump select{display:block;width:100%;max-width:100%;margin-top:6px;min-height:48px;padding:10px;border:1px solid #acbec9;border-radius:8px;background:#fff;color:#142e41;font-size:17px}.inputcard #group-license{background:#f0f8f5;border-left:4px solid #087e79}.field>small{display:block;font-size:15px;line-height:1.6;margin-top:8px;font-weight:400}
.consent-today{margin-top:10px;width:100%}.field input[readonly]{background:#edf3f5;border-color:#c9d6dd;color:#365363;cursor:default}
.address-field{border:0;padding:0;margin:0;min-width:0}.address-field legend{font-size:19px;font-weight:700;margin-bottom:10px}.address-field>label{display:block;margin-top:12px;font-size:17px}.address-search{width:100%;border-color:#24897f;background:#eef8f4}.address-field small{display:block;margin-top:8px;font-size:15px;font-weight:400}.address-message{font-size:16px;color:#006d69;margin-top:8px}.address-message:empty{display:none}.address-dialog{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #a8bdc8;border-radius:14px;color:#142e41;box-shadow:0 12px 60px #102c4a44}.address-dialog::backdrop{background:#102c4a88}.address-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #d4e0e5}.address-dialog-head h2{font-size:24px}.address-dialog-status{padding:12px 20px;margin:0;font-size:17px;line-height:1.5}.address-search-host{width:100%;height:min(540px,calc(100dvh - 220px));min-height:250px}.address-search-host iframe{border:0}
.draft-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;margin-bottom:20px;background:#fff;border:1px solid #bad6ce;border-radius:12px}.draft-toolbar strong{font-size:20px}.draft-toolbar p{font-size:17px;color:#08695d;margin:4px 0}.draft-toolbar small{font-size:15px}.draft-toolbar .btn{flex-shrink:0;min-width:130px}.working-items{display:grid;gap:16px}.working-item{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:24px}.working-item h2{margin:12px 0 6px}.working-item p{font-size:17px;color:#4b626f}@media(max-width:680px){.draft-toolbar,.working-item{align-items:stretch;flex-direction:column}.draft-toolbar .btn,.working-item .btn{width:100%}}
