@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;650;700;750;800&display=swap');
:root{--blue:#0866ff;--blue-dark:#0053d8;--ink:#172132;--muted:#65738a;--line:#e9edf3;--bg:#f7f9fc;--soft:#eaf2ff;--font:'DM Sans','Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 var(--font);letter-spacing:-.3px;word-break:keep-all;overflow-wrap:anywhere}
h1,h2,h3,p,dl,dd{margin:0}h1{font-size:30px;line-height:1.35;font-weight:750;letter-spacing:-1.15px}h2{font-size:17px;font-weight:750;letter-spacing:-.55px}h3{font-size:15px}
a{color:inherit;text-decoration:none}button,input,select,textarea{color:inherit;font:inherit;letter-spacing:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}
:focus-visible{outline:3px solid #85b6ff;outline-offset:3px}
svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}em{color:#b72e4b;font-style:normal}
.skip{position:fixed;top:-70px;left:15px;z-index:9;background:var(--ink);color:#fff;padding:10px 20px}.skip:focus{top:10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sidebar{position:fixed;inset:0 auto 0 0;width:234px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:23px 17px 16px;z-index:3;overflow:auto}
.brand{display:flex;align-items:center;flex-direction:column;gap:5px;width:100%;padding:1px 0 4px}.brand img{display:block;width:122px;height:auto}.brand span{color:#65738a;font-size:9px;letter-spacing:1.7px;font-weight:700}
.workspace{margin:24px 2px 23px;padding:12px 10px;background:#f8faff;border:1px solid #eaf0fa;border-radius:11px;display:flex;align-items:center;gap:11px}
.workspace-icon{width:36px;height:36px;background:#e4edff;border-radius:9px;display:inline-grid;place-items:center;color:#286dcb;flex-shrink:0}.workspace b,.workspace small{display:block}.workspace b{font-size:13px}.workspace small{font-size:11px;color:var(--muted)}
.nav-label{font-size:10px;color:#69788f;font-weight:700;letter-spacing:1.3px;margin:0 14px 7px}.admin-nav{margin-top:22px}
.nav-item{display:flex;align-items:center;gap:11px;padding:10px 13px;margin:3px 0;color:#5f6d81;font-size:13px;font-weight:600;border-radius:8px;transition:background .17s,color .17s}.nav-item:hover,.nav-item[aria-current="page"]{background:var(--soft);color:#0058df}.nav-item[aria-current="page"]{font-weight:750}
.sidebar-bottom{margin-top:auto;padding-top:20px}.support{background:linear-gradient(130deg,#f0f5ff,#f9faff);border:1px solid #edf1fb;border-radius:11px;padding:15px}.support .workspace-icon,.support b{display:block}.support .workspace-icon{display:grid;margin-bottom:8px}.support b{font-size:12px}.support p{font-size:11px;color:var(--muted);margin-top:4px}
.shell{margin-left:234px;min-height:100vh}.topbar{min-height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px}
.breadcrumb,.top-actions{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.breadcrumb b{color:#42536c;font-weight:700}.breadcrumb svg{width:12px}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#e7d3be;color:#694d3b;font-weight:750}.mobile-logo{display:none}
.modebar{min-height:37px;display:flex;gap:12px;justify-content:space-between;align-items:center;background:#f0f6ff;border-bottom:1px solid #e3edff;padding:6px 36px;color:#53719f;font-size:11px}.modebar i{display:inline-block;background:#5897ff;width:6px;height:6px;border-radius:50%;margin-right:5px}.modebar b{color:#3a66a4}
main{max-width:1320px;min-height:calc(100vh - 168px);padding:31px 36px 45px;margin:auto}.heading{margin:0 0 23px}.heading p{margin-top:7px;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.65px;color:#61758f;font-weight:750;margin-bottom:7px}.apply-heading{display:flex;align-items:end;justify-content:space-between;gap:14px}
footer{border-top:1px solid var(--line);padding:16px 36px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;border-radius:8px;font-size:13px;font-weight:700;line-height:1.55;white-space:nowrap;border:1px solid transparent;min-height:39px;transition:background .16s,box-shadow .16s}.btn svg{width:15px;height:15px}.btn.primary{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 3px 5px #0866ff12}.btn.primary:hover{background:var(--blue-dark)}.btn.secondary{background:white;border-color:#dfe6ef;color:#4e6079}.btn.secondary:hover{background:#f1f6ff;border-color:#bdd4f5}.btn.text{background:transparent;color:#0058d5;padding:3px 1px;border:0;min-height:28px}.btn.text:hover{text-decoration:underline}.tag{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:5px;line-height:1.5;font-size:11px;font-weight:700;padding:3px 8px;background:#f0f2f5;color:#536782}.tag.blue{background:var(--soft);color:#155fc6}
.hero{border-radius:15px;background:linear-gradient(104deg,#eef5ff 0%,#eaf3ff 48%,#f2f6ff 100%);border:1px solid #e2ecfd;padding:24px 26px;margin-bottom:20px}.hero h1,.hero h2{color:#24344f}.hero h2{font-size:23px}.hero h2 strong{color:#1765ce}.hero p{color:#526c91;line-height:1.75;margin-top:11px;white-space:pre-line}.hero .btn{margin-top:20px}.hero-pill{display:inline-flex;align-items:center;gap:5px;background:#ffffff8a;color:#426caa;border:1px solid #d6e4f6;border-radius:20px;padding:3px 9px;margin-bottom:9px;font-size:9px;letter-spacing:1.2px;font-weight:750}.hero-pill svg{width:12px;height:12px}
.steps{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}.steps li{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#42618c}.steps b{display:grid;place-items:center;background:white;color:#1765ce;border:1px solid #dae8ff;width:24px;height:24px;border-radius:50%}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.section{display:grid;grid-template-columns:minmax(132px,1fr) minmax(0,3.35fr);gap:20px 30px;padding:26px}.section+.section,.form-footer{border-top:1px solid var(--line)}.rail p,.hint{color:var(--muted);font-size:12px;margin-top:4px}.fields{display:grid;align-content:start;gap:17px;min-width:0}.row2,.row3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-content:start}.row3{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fields label,.row2 label,.row3 label{min-width:0}
label,legend{font-weight:650;font-size:13px}label small,legend small{color:var(--muted);font-size:11px;font-weight:500}
input:not([type="checkbox"],[type="radio"]),select,textarea{display:block;width:100%;min-width:0;background:white;border:1px solid #dfe4ed;border-radius:8px;padding:9px 11px;margin-top:5px;min-height:40px}input::placeholder,textarea::placeholder{color:#778599;font-weight:400}textarea{resize:vertical}input[type=radio],input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px;flex:none;margin:0}input[type=file]::file-selector-button{border:0;border-radius:5px;background:#eaf2ff;color:#135fc9;font:inherit;font-weight:650;padding:1px 8px;margin-right:7px}
fieldset{padding:0;margin:0;border:0;min-width:0}legend{margin-bottom:6px}.choices{display:flex;flex-wrap:wrap;gap:8px}.choices label{display:inline-flex;align-items:center;gap:8px;border:1px solid #dfe4ed;border-radius:8px;padding:8px 10px;cursor:pointer}.choices label:has(:checked){background:#f1f6ff;border-color:#c9deff;color:#0058d5}.check{display:flex;align-items:flex-start;gap:8px}.check input{margin-top:.22em}
.product,.field-edit{padding:17px;background:#fcfdff;border:1px solid #e5edf8;border-radius:10px}.product-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.product-head h3{margin-top:4px}.remove{color:#a02c48!important}.add-product{justify-self:start}
.estimate{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:14px 16px;border:1px solid #dde9fd;border-radius:10px;background:#f1f6ff;color:#26578f}.estimate small{display:block;margin-top:3px;color:#5e7191}.estimate b{font-size:22px;color:#065aca;white-space:nowrap}.form-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 26px;flex-wrap:wrap}.error{color:#a82242;font-size:13px;background:#fff2f5;border:1px solid #f8d9e2;border-radius:8px;padding:9px 12px;flex-basis:100%}
.service{padding:14px 26px;border-bottom:1px solid var(--line)}.service summary{cursor:pointer;color:#355a8e;font-weight:750}.service-content{padding:13px 0 3px}.rate-list,.totals{display:grid;gap:0}.rate-list div,.totals div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}.rate-list dd,.totals dd{font-weight:750}.platforms{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.empty{text-align:center;padding:36px 24px;color:var(--muted)}.empty h1,.empty h3{color:var(--ink);margin:8px 0}.empty .btn{margin-top:10px}
.form-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;margin-bottom:16px}.form-picker select{max-width:440px;flex:1;min-width:140px;margin:0}.form-picker label{white-space:nowrap}
.wide{grid-column:1/-1}.field-caption{display:inline-block}.builtin-hint{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:400}.product>[data-review-sum]{margin-top:9px}
.builtin-group{display:grid;gap:8px}.builtin-row{background:#fff;border:1px solid #e5edf8;border-radius:8px;padding:10px 12px}.builtin-row summary{cursor:pointer;font-weight:650;color:#355a8e}.builtin-row-body{margin-top:12px}.builtin-row-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.builtin-row-actions .btn{min-height:34px}.builtin-options{display:flex;gap:12px;flex-wrap:wrap}.builtin-row .check{width:fit-content}.builtin-row .hint{margin:0}
.customer-brand{display:none}.customer-mode .customer-brand{display:flex;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid var(--line);height:72px}.customer-brand img{width:100px;height:auto}
.customer-mode .sidebar,.customer-mode .topbar,.customer-mode .modebar,.customer-mode footer,.customer-mode .apply-heading>a{display:none!important}.customer-mode .shell{margin:0}.customer-mode main{max-width:1000px;min-height:0}.customer-mode #process{display:none}.customer-mode .quote-actions{justify-content:flex-start}
.customer-profile{margin-bottom:16px}.customer-profile summary{cursor:pointer;font-weight:750;color:#355a8e;padding:12px 16px}.customer-profile[open] summary{border-bottom:1px solid var(--line)}.customer-profile form{border:0;border-radius:0}.customer-profile #profileCustom:empty{display:none}
.customer-login-note{display:flex;justify-content:space-between;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:-9px 0 15px;color:var(--muted);font-size:13px}
.customer-auth-buttons,.customer-auth-links{display:flex;align-items:center;justify-content:flex-end;gap:8px 12px;flex-wrap:wrap}.customer-auth-links{justify-content:center}.customer-auth-dialog{width:min(450px,calc(100% - 28px));max-height:calc(100% - 32px);border:1px solid var(--line);border-radius:14px;padding:22px;color:var(--ink);box-shadow:0 15px 45px #20365b33}.customer-auth-dialog::backdrop{background:#17213266}.customer-auth-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.customer-recovery-code{padding:12px;background:#edf4ff;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere;font-size:16px;user-select:all}
#customerSignupForm{font-size:1rem}#customerSignupForm label,#customerSignupForm legend{font-size:.875rem}#customerSignupForm input:not([type=checkbox],[type=radio]){min-height:46px;font-size:1rem}#customerSignupForm label small{display:block;margin-top:6px;font-size:.8125rem;font-weight:400}#customerSignupForm .section{padding-block:30px}#customerSignupForm .choices{display:grid;gap:9px}#customerSignupForm .choices label{min-height:44px}#customerSignupForm .signup-footer{display:grid;grid-template-columns:1fr;gap:12px;padding:24px 26px}#signupTaxNote{background:#f1f6ff;border:1px solid #dde9fd;padding:12px;border-radius:8px}#customerSignupForm .signup-footer>.btn{min-height:46px;font-size:1rem}
#customerSignupForm .field-caption small{display:inline}#customerSignupForm .check{display:grid;grid-template-columns:16px minmax(0,1fr);gap:6px 8px}#customerSignupForm .check small{grid-column:2}
#customerAuthForm{font-size:1rem}#customerAuthForm label{font-size:.875rem}#customerAuthForm input{min-height:46px;font-size:1rem}#customerAuthForm>.btn:not(.text){min-height:46px;font-size:1rem}.login-reset-link{justify-self:start}
@media(max-width:700px){#customerSignupForm .row2{grid-template-columns:1fr}#customerSignupForm .section{padding:22px 17px}#customerSignupForm .signup-footer{padding:20px 17px}}
@media print{.customer-mode .customer-brand{display:none}}
.record{padding:14px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:15px}.record+.record{border-top:1px solid var(--line)}.record:hover{background:#f8faff}.record strong,.record small{display:block}.record small{color:var(--muted)}.record .record-amount{text-align:right;font-weight:700}.pager{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:16px}
.quote-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-bottom:12px}.quote-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eef5ff;border-bottom:1px solid #e2ecfd;padding:20px 25px}.quote-header h2{font-size:24px;color:#1b5fab}.quote-header img{width:85px;height:auto;mix-blend-mode:multiply}.quote-header p,.quote-detail small{color:var(--muted)}
.quote-detail{display:grid;gap:17px;padding:22px 25px}.quote-detail h3{margin-bottom:5px}.quote-detail .party{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quote-detail .party span{display:block}.quote-detail .total-final{font-size:19px;color:#0058d5}.quote-detail .totals{margin-left:auto;width:min(100%,440px)}.quote-products{display:grid;gap:8px}.quote-product{padding:10px 12px;border:1px solid var(--line);border-radius:8px}.quote-detail .notice{padding:10px;background:#f4f7fc;border-radius:7px;color:#4c6386;white-space:pre-line}.answer{white-space:pre-line}.admin-review{display:flex;align-items:center;gap:8px;padding:14px;margin-top:14px}.admin-review select{width:auto;margin:0}
.record-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.invoice-tag{background:#f9f3df;color:#79600e}.invoice-filter{display:flex;align-items:center;gap:12px;padding:14px 18px;margin-bottom:12px}.invoice-filter select{width:auto;min-width:170px;margin:0}.invoice-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;margin-bottom:12px}.invoice-summary p,.invoice-admin p{margin-top:3px;color:var(--muted);font-size:13px}.invoice-summary .tag{background:#f9f3df;color:#79600e;white-space:nowrap}.invoice-admin{display:grid;gap:14px;padding:18px;margin-top:14px}.invoice-admin-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.invoice-admin-controls select{width:auto;min-width:160px;margin:0}
.toast{position:fixed;right:20px;bottom:20px;z-index:8;max-width:calc(100vw - 40px);background:#233957;color:#fff;padding:11px 16px;border-radius:9px;box-shadow:0 4px 15px #25335526}
@media(max-width:900px){.sidebar{width:198px}.shell{margin-left:198px}.topbar,.modebar,footer{padding-left:22px;padding-right:22px}main{padding-left:22px;padding-right:22px}.section{grid-template-columns:minmax(116px,1fr) minmax(0,3.2fr);gap:16px;padding:20px}}
@media(max-width:700px){.sidebar{position:static;width:auto;display:contents}.sidebar .brand,.sidebar .workspace,.sidebar-bottom,.sidebar .nav-label{display:none}.sidebar nav{position:sticky;top:0;z-index:4;display:flex;overflow:auto;gap:4px;padding:6px 10px;background:white;border-bottom:1px solid var(--line)}.nav-item{flex-shrink:0;padding:7px 9px;font-size:12px;margin:0;gap:4px}.nav-item svg{width:13px}.shell{margin:0}.topbar{min-height:57px}.mobile-logo{width:49px;height:auto;display:block}.breadcrumb{gap:6px}.top-actions{gap:6px}.top-actions .avatar{display:none}.modebar{font-size:10px}.topbar,.modebar,footer{padding-left:13px;padding-right:13px}main{padding:23px 13px 36px}.section{grid-template-columns:1fr;gap:12px;padding:17px}.heading h1{font-size:25px}.apply-heading{align-items:flex-start;flex-wrap:wrap}.service{padding:12px 17px}.form-footer{padding:14px 17px}.hero{padding:17px}.steps{gap:6px 12px}.record{padding:12px;gap:7px}.record svg{display:none}}
@media(max-width:390px){.row3{grid-template-columns:1fr}.quote-detail .party{grid-template-columns:1fr}.record{grid-template-columns:minmax(0,1fr) auto}.record .tag{grid-column:2}.top-actions .tag{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
@media print{body{background:white}.sidebar,.topbar,.modebar,footer,.skip,.heading,.quote-actions,.admin-review,.invoice-admin,.invoice-summary,.error,.toast{display:none!important}.shell{margin:0}main{padding:0;max-width:none}.quote-header,.estimate{print-color-adjust:exact}#quotePaper{border:0}.quote-product{break-inside:avoid}}
.members-table-wrap{overflow-x:auto}.members-table{border-collapse:collapse;width:100%;min-width:760px;text-align:left}.members-table th,.members-table td{padding:15px 18px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}.members-table th{background:#fafaf7;color:#625e4b;font-size:13px;white-space:nowrap}.members-table td{word-break:break-word}.members-table tr:last-child td{border-bottom:0}#membersError{margin-bottom:14px}
.members-header-actions{display:flex;gap:8px;flex-wrap:wrap}.members-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,220px) auto;gap:12px 16px;align-items:end;padding:18px 20px;margin-bottom:14px}.members-toolbar label{color:#4b4c42}.members-toolbar #memberCount{align-self:end;padding-bottom:10px;color:#615c45;font-weight:700;white-space:nowrap}.member-export-hint{grid-column:1/-1;color:var(--muted);font-size:12px}.member-row-actions{white-space:nowrap}.member-row-actions .btn{margin:0 5px 5px 0}.btn.danger-outline{border:1px solid #e4b6b6;color:#a43030;background:#fff}.btn.danger{background:#a43030;border:1px solid #a43030;color:#fff}.member-delete-dialog{width:min(540px,calc(100% - 28px))}.member-delete-dialog>p:not(.error){margin:14px 0;color:#565d68}.member-delete-dialog label{display:block;margin:16px 0}.member-delete-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.member-detail-dialog{width:min(560px,calc(100% - 28px))}.member-detail-fields{display:grid;gap:0}.member-detail-fields>div{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}.member-detail-fields dt{color:var(--muted);font-weight:600}.member-detail-fields dd{white-space:pre-wrap;overflow-wrap:anywhere}
.quote-header{background:#faf7e9;border-color:#eee5c7}.quote-header h2,.quote-detail .total-final{color:#806817}.quote-detail .notice{background:#faf8ee;color:#625b3e}
.member-edit-dialog{width:min(720px,calc(100% - 28px))}.member-edit-name{margin-top:4px;color:var(--muted);font-size:13px}.member-edit-note{margin:0 0 20px;padding:12px 14px;border:1px solid #e8e3cb;border-radius:9px;background:#faf8ee;color:#625b3e;font-size:13px}.member-edit-fields{gap:14px}.member-edit-fields .wide{grid-column:1/-1}.member-edit-custom{margin-top:16px}.member-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}#memberEditError{margin-top:14px}
.quote-vat-option{margin-top:14px}.quote-amount-summary{display:grid;gap:8px;margin-top:18px;padding:15px;border-radius:10px;background:#f9f7ea;color:#625b3e}.quote-amount-summary span{display:flex;justify-content:space-between;gap:16px}.quote-amount-summary span:last-child{font-weight:700;color:#79650f}.quote-amount-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.quote-amount-actions>div{display:flex;gap:8px;margin-left:auto}#quoteAmountError{margin-top:12px}
.quote-amount-summary label{margin-top:5px;font-weight:700;color:#79650f}.quote-amount-summary input{font-size:18px;font-weight:700;color:#62520d}
.pending-alert{display:inline-flex;padding:6px 10px;border:1px solid #e7cf83;border-radius:8px;background:#fcf7e4;color:#756012;font-weight:700;white-space:nowrap}.list-actions{display:flex;gap:8px;flex-wrap:wrap}.invoice-filter{flex-wrap:wrap}.payment-tag{background:#f9f3df;color:#79600e}.payment-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;margin-top:14px}.payment-summary p,.payment-admin p,.quote-history>p{margin-top:3px;color:var(--muted);font-size:13px}.payment-admin,.quote-history{display:grid;gap:12px;padding:18px;margin-top:14px}.payment-fields{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.payment-fields label{flex:1;min-width:160px}.quote-history-item{border-top:1px solid var(--line);padding:10px 0}.quote-history-item summary,.quote-history-item p{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.quote-history-item summary{cursor:pointer;color:#625b3e}.quote-history-item p{padding:5px 0;color:var(--muted)}.quote-history-item p b{color:var(--ink)}
@media print{.payment-summary,.payment-admin,.quote-history{display:none!important}}
.admin-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:20px;align-items:start}
.admin-editor-layout #adminForm .section{grid-template-columns:minmax(0,1fr);gap:16px;padding:22px}
.admin-editor-layout #adminForm .form-footer{padding:18px 22px}
.admin-preview{position:sticky;top:18px;max-height:calc(100vh - 36px);display:flex;flex-direction:column;min-width:0}
.admin-preview-head{padding:18px 20px;border-bottom:1px solid var(--line);background:#fff}
.admin-preview-head h2{font-size:15px}.admin-preview-head p{margin:3px 0 12px;color:var(--muted);font-size:12px}
.preview-modes{display:flex;gap:6px;flex-wrap:wrap}.preview-mode{border:1px solid #dedfd8;border-radius:7px;background:#fff;padding:6px 11px;font:inherit;font-size:12px;font-weight:650;color:#5f6875}.preview-mode[aria-pressed="true"]{background:#f7f3e2;border-color:#bfab65;color:#705b16}
.admin-preview-frame{overflow:auto;padding:22px 18px 28px;background:radial-gradient(ellipse at 50% 0,#f4edcf,transparent 360px),#f9f9f6;color:#272820;font-size:13px}
.preview-logo{display:block;width:82px;height:auto;margin:0 auto 14px;mix-blend-mode:multiply}.preview-page-heading{margin:0 0 15px}.preview-page-heading h3{font-size:19px;line-height:1.4}.preview-description{margin:4px 0 0;color:#77776d;font-size:12px;line-height:1.55;white-space:pre-wrap}
.preview-card,.preview-service{margin-bottom:10px;padding:15px;border:1px solid #e9e7dd;border-radius:12px;background:#fff}.preview-card h4{margin:0;font-size:14px}.preview-fields{display:grid;gap:11px;margin-top:14px}.preview-label{font-size:12px;font-weight:650;margin-bottom:5px;overflow-wrap:anywhere}.preview-input{min-height:34px;padding:8px 10px;border:1px solid #dedfd5;border-radius:7px;color:#8b8e84;background:#fff;overflow-wrap:anywhere}.preview-choice{padding:8px 10px;border:1px solid #e5dfc9;border-radius:7px;color:#6e633a;overflow-wrap:anywhere}.preview-hint{display:block;margin-top:4px;color:#85877d;font-size:11px;white-space:pre-wrap}.preview-service{font-weight:650;color:#5f5b42}.preview-estimate{margin-top:14px;padding:12px;border-radius:8px;background:#f8f5e9;color:#705b16;font-weight:700}.preview-action{margin-top:12px;padding:10px;text-align:center;border-radius:8px;background:#806817;color:#fff;font-weight:700}
.drag-title{display:flex;align-items:center;gap:8px;min-width:0}.drag-title h3{margin:0}.drag-handle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:36px;border:1px solid #dcded8;border-radius:7px;background:#fff;color:#77796e;font-size:20px;line-height:1;cursor:grab;touch-action:none;user-select:none}.drag-handle:active{cursor:grabbing}.dragging{opacity:.65;box-shadow:0 3px 12px #29261226}.builtin-row summary{display:flex;align-items:center;gap:8px;list-style:none}.builtin-row summary::-webkit-details-marker{display:none}.builtin-row summary::after{content:'펼치기';margin-left:auto;color:#7b8798;font-size:11px;font-weight:500;white-space:nowrap}.builtin-row[open] summary::after{content:'접기'}.section-order-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e5edf8;border-radius:8px;background:#fff}.section-order-row .btn{min-height:34px}
.quote-order-row .drag-title{flex:1}.quote-order-row .drag-title input{margin:0;min-width:0}.quote-visible{white-space:nowrap;align-items:center}.preview-subheading{margin-top:14px!important}.preview-quote-totals{margin-top:10px}.preview-quote-totals>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #eceae2}.preview-quote-totals>div:last-child{color:#806817;font-weight:700}.quote-custom-note{white-space:pre-wrap;margin-top:6px!important}.quote-section:empty{display:none}
@media(max-width:1050px){.admin-editor-layout{grid-template-columns:1fr}.admin-preview{position:static;max-height:none;order:-1}.admin-preview-frame{max-height:420px}}
@media(max-width:700px){.admin-editor-layout #adminForm .section{padding:18px}.admin-preview-head{padding:15px}.admin-preview-frame{max-height:360px}.section-order-row{flex-wrap:wrap}}
@media(max-width:700px){
  html,body{overflow-x:clip}
  html,body,*{scrollbar-width:none;-ms-overflow-style:none}
  *::-webkit-scrollbar{display:none;width:0;height:0}
  .sidebar nav{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 12px;overflow:visible;background:#fafaf8;border-bottom:1px solid #dedfd8}
  .sidebar nav .nav-item{justify-content:center;min-width:0;min-height:44px;padding:8px 5px;border:1px solid #dedfd8;border-radius:9px;background:#fff;text-align:center;line-height:1.3;white-space:normal}
  .sidebar nav .nav-item svg{flex-shrink:0}
  .sidebar nav .nav-item[aria-current="page"]{border-color:#b8a052;box-shadow:0 0 0 1px #b8a05233}
  .members-table-wrap{overflow:visible;border:0;background:transparent}
  .members-table{display:block;min-width:0}
  .members-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .members-table tbody{display:grid;gap:12px}
  .members-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px}
  .members-table tbody td{display:flex;flex-direction:column;gap:3px;min-width:0;padding:0;border:0}
  .members-table tbody td::before{color:var(--muted);font-size:12px;font-weight:600}
  .members-table tbody td:nth-child(1)::before{content:'아이디'}
  .members-table tbody td:nth-child(2)::before{content:'업체명'}
  .members-table tbody td:nth-child(3)::before{content:'담당자'}
  .members-table tbody td:nth-child(4)::before{content:'연락처'}
  .members-table tbody td:nth-child(5)::before{content:'이메일'}
  .members-table tbody td:nth-child(6)::before{content:'가입일'}
  .members-table tbody td:nth-child(7)::before{content:'신청 내역'}
  .members-table tbody td:last-child{grid-column:1/-1;margin-top:4px}
  .members-table tbody td:last-child{display:flex;flex-direction:row;gap:8px}.members-table tbody td:last-child .btn{flex:1;width:auto;margin:0}
  .members-toolbar{grid-template-columns:minmax(0,1fr) minmax(115px,.65fr);padding:16px}.members-toolbar #memberCount{grid-column:1/-1;padding:0}.member-export-hint{grid-column:1/-1}.members-header-actions{width:100%}.members-header-actions .btn{flex:1}
  .member-edit-fields{grid-template-columns:1fr}
  #adminApplicationFields{grid-template-columns:1fr}
  .invoice-summary{align-items:flex-start}.record-tags{justify-content:flex-start}.invoice-admin-controls{align-items:stretch}.invoice-admin-controls label{width:100%}.invoice-admin-controls select{flex:1}
  .invoice-filter label{width:100%}.invoice-filter select{flex:1;width:100%}.list-actions{width:100%}.list-actions .btn{flex:1}.payment-fields{display:grid;grid-template-columns:1fr}.payment-fields label{min-width:0}.quote-history-item summary{display:grid}.pending-alert{font-size:11px;padding:5px 7px}
}
.operations-filter{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end;gap:12px}.operations-filter label{display:grid;gap:5px;min-width:0}.operations-filter select{width:100%;min-width:0}.operations-filter .btn{align-self:end}.operations-panel{display:grid;gap:12px;padding:20px;margin-top:14px}.operations-panel>p{color:var(--muted);font-size:13px}.operations-panel progress{width:100%;height:10px;accent-color:#b69a35}.operation-fields{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.operation-fields label{display:grid;gap:5px;flex:1;min-width:180px}.operation-fields textarea{resize:vertical}.operation-list{display:grid;gap:4px}.operation-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:9px 0;border-top:1px solid var(--line)}.operation-row>span{flex:1;min-width:150px}.operation-row select{width:auto;min-width:110px;margin:0}.operation-note{white-space:pre-wrap}.admin-review{flex-wrap:wrap}.admin-review label:has(input){flex:1;min-width:200px}
.operations-panel progress{appearance:none;border:0;border-radius:999px;background:#f0eddf;overflow:hidden}.operations-panel progress::-webkit-progress-bar{background:#f0eddf}.operations-panel progress::-webkit-progress-value{background:#b69a35;border-radius:999px}.operations-panel progress::-moz-progress-bar{background:#b69a35;border-radius:999px}
@media(max-width:640px){.operations-filter{grid-template-columns:1fr 1fr}.operations-filter label:first-child{grid-column:1/-1}.operation-fields{display:grid;grid-template-columns:1fr}.operation-fields label{min-width:0}.operation-row>span{flex-basis:100%}.admin-review{align-items:stretch}.admin-review label:has(input){flex-basis:100%}}
@media print{.operations-panel{display:none!important}}
.overview-bar{display:flex;align-items:center;justify-content:center;gap:2px;margin-left:auto;padding:5px 10px;border:1px solid #e8e3d3;border-radius:999px;background:#fff;box-shadow:0 3px 12px #584b1c0d;white-space:nowrap}.overview-icon{width:15px;height:15px;flex:none;border:2px solid #ddcb82;border-radius:50%;position:relative;margin-right:4px}.overview-icon::after{content:'';position:absolute;inset:3px;background:#b69a35;border-radius:50%}.overview-bar button{appearance:none;display:inline-flex;gap:4px;align-items:center;border:0;border-radius:7px;background:transparent;padding:4px 6px;color:#667284;font-size:11px;font-weight:600;line-height:1.4;transition:background .16s,color .16s}.overview-bar button:hover{background:#faf6e8;color:#6d5b1b}.overview-bar button b{color:#9b7e16;font-size:12px;font-variant-numeric:tabular-nums}.overview-bar button b::before{content:':';padding-right:4px;color:#a7a49a;font-weight:400}
@media(max-width:1200px){.topbar:has(.overview-bar:not([hidden])){flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.overview-bar{order:3;flex-basis:auto;margin-left:auto}}
@media(max-width:700px){.topbar:has(.overview-bar:not([hidden])){gap:8px}.overview-bar{order:3;width:100%;margin:0;justify-content:space-evenly;flex-wrap:wrap;padding:6px 5px;gap:0}.overview-bar button{font-size:10px;gap:2px;padding:4px 3px}.overview-bar button b{font-size:11px}.overview-bar button b::before{padding-right:2px}.overview-icon{width:13px;height:13px;margin-right:1px}.overview-icon::after{inset:2px}}
.dashboard-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}.dashboard-heading p,.dashboard-panel-head p{color:var(--muted);margin-top:5px}.dashboard-caption{font-size:12px;color:var(--muted);margin-bottom:10px}.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;padding:20px 22px;border:1px solid #e9e7de;border-radius:14px;background:#fff;box-shadow:0 3px 14px #51482808;transition:transform .16s,box-shadow .16s}.dashboard-card:hover{transform:translateY(-2px);box-shadow:0 7px 20px #51482818}.dashboard-card>span{color:#6e7480;font-weight:700;font-size:13px}.dashboard-card strong{font-size:30px;line-height:1.2;letter-spacing:-1px}.dashboard-card strong small{font-size:13px;font-weight:600;margin-left:3px}.dashboard-card em{font-size:11px;color:#988248;font-style:normal}.dashboard-card.featured{background:#f8f4e4;border-color:#e7dab1}.dashboard-card.featured strong{color:#8a7018}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:14px;margin-top:16px}.dashboard-panel{padding:22px}.dashboard-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:16px}.dashboard-panel-head p{font-size:12px}.dashboard-panel-head>a{font-size:12px;color:#8a721d;font-weight:700;white-space:nowrap}.dashboard-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.dashboard-stages button{display:grid;grid-template-columns:1fr auto;gap:12px 5px;align-items:center;padding:13px 12px;border:1px solid #edece5;background:#fcfcfa;border-radius:10px;text-align:left;font-size:12px}.dashboard-stages button:hover,.dashboard-task-list button:hover{background:#faf6e8}.dashboard-stages button>span{color:#68717d}.dashboard-stages strong{white-space:nowrap;font-size:12px}.dashboard-stages strong b{color:#856c15;font-size:16px;margin-right:2px}.dashboard-stages button>i{grid-column:1/-1;height:4px;border-radius:4px;background:#eeeade;overflow:hidden}.dashboard-stages button>i>i{display:block;height:100%;width:0;background:#c3a64a;border-radius:4px}.dashboard-task-list{display:grid}.dashboard-task-list button{display:flex;justify-content:space-between;gap:10px;align-items:center;text-align:left;border:0;border-top:1px solid #f0f0ea;background:#fff;padding:13px 4px;font-size:13px}.dashboard-task-list button span{color:#5e6878}.dashboard-task-list button strong{color:#816a19;white-space:nowrap}.dashboard-task-list i{font-style:normal;color:#a4a6a3;margin-left:8px}.dashboard-recent{grid-column:1/-1}.dashboard-recent-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:20px;padding:13px 2px;border-top:1px solid #f0f0ea}.dashboard-recent-row:hover{color:#856c15}.dashboard-recent-row strong,.dashboard-recent-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-recent-row small{color:var(--muted);margin-top:3px}.dashboard-recent-amount{font-weight:700;white-space:nowrap}.dashboard-empty{padding:22px 0;text-align:center;color:var(--muted);font-size:13px}.dashboard-error{margin-top:12px}
@media(max-width:850px){.dashboard-grid{grid-template-columns:1fr}.dashboard-recent{grid-column:auto}.dashboard-stages{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-heading{align-items:start}.dashboard-heading .btn{padding:7px 10px;min-height:35px}.dashboard-heading h1{font-size:25px}.dashboard-heading p{font-size:12px}.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-card{padding:16px;gap:8px}.dashboard-card strong{font-size:25px}.dashboard-panel{padding:17px}.dashboard-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-recent-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.dashboard-recent-amount{grid-column:1/-1;font-size:12px}.dashboard-grid{gap:10px;margin-top:10px}}
.dashboard-all{border:0;background:transparent;padding:0;color:#8a721d;font-size:12px;font-weight:700;white-space:nowrap}.dashboard-all:hover{text-decoration:underline}
.dashboard-recent-row{grid-template-columns:minmax(0,1fr) auto minmax(240px,.9fr)}.dashboard-row-progress{min-width:0;display:grid;gap:7px}.dashboard-progress-labels{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#6e7681;font-size:12px;white-space:nowrap}.dashboard-progress-labels strong{color:#856c15;font-size:12px}.dashboard-progress-bar{appearance:none;width:100%;height:7px;border:0;border-radius:999px;background:#eeeade;overflow:hidden}.dashboard-progress-bar::-webkit-progress-bar{background:#eeeade}.dashboard-progress-bar::-webkit-progress-value{background:#b89c3e;border-radius:999px}.dashboard-progress-bar::-moz-progress-bar{background:#b89c3e;border-radius:999px}.dashboard-pager{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:16px;color:var(--muted);font-size:12px}.dashboard-pager .btn{min-height:34px;padding:5px 12px}
@media(max-width:600px){.dashboard-recent-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:15px 2px}.dashboard-row-progress{grid-column:1/-1;margin-top:5px}.dashboard-progress-labels{font-size:11px}.dashboard-progress-labels strong{font-size:11px}}
.dashboard-recent-row{grid-template-columns:minmax(0,1fr) auto minmax(200px,.9fr) auto}.dashboard-row-title{min-width:0}.dashboard-row-title:hover{color:#856c15}.dashboard-progress-edit{min-height:34px;padding:5px 11px;font-size:12px}.home-progress-dialog form>label{display:block;margin-top:16px;font-weight:700}.home-progress-summary{margin-top:8px;color:#806817;font-size:13px;font-weight:700}
.admin-form-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;margin-bottom:14px;background:#faf7ec;border-color:#e8dfbe;color:#665b35;font-size:13px}.admin-form-notice .btn{flex-shrink:0}
.mobile-brand{display:none}
.backup-button{justify-self:start}
.dashboard-product-breakdown{display:grid;gap:3px;color:#727b88;font-size:11px;overflow-wrap:anywhere}.dashboard-product-breakdown .unassigned{color:#957818;font-weight:700}
.audit-row{display:grid;grid-template-columns:minmax(150px,auto) minmax(100px,auto) 1fr;gap:10px;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.audit-row span{color:var(--muted)}.member-audit{margin-top:20px}.member-audit-entry{padding:10px 0;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.member-audit-entry p{color:var(--muted);margin-top:4px}
@media(max-width:600px){.audit-row{grid-template-columns:1fr;gap:2px}}
@media(max-width:600px){.dashboard-recent-row{grid-template-columns:minmax(0,1fr) auto}.dashboard-row-progress{grid-column:1/-1}.dashboard-progress-edit{grid-column:2;justify-self:end}}
@media(max-width:700px){.mobile-brand{display:block;flex-shrink:0}}
@media(max-width:600px){.admin-form-notice{align-items:stretch;flex-direction:column}}
.records-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 2px 10px;font-size:12px;color:var(--muted)}.records-summary strong{font-size:14px;color:var(--ink)}.record-admin{grid-template-columns:minmax(150px,1.3fr) minmax(145px,1fr) minmax(180px,1.2fr) minmax(155px,1fr) minmax(100px,auto);gap:16px;padding:19px 20px}.record-admin>div{min-width:0}.record-company strong,.record-reference strong,.record-money strong{font-size:13px;overflow-wrap:anywhere}.record-company small,.record-reference small,.record-money small{font-size:11px;color:var(--muted);margin-top:3px}.record-label{display:block;color:#89909a;font-size:11px;font-weight:600;margin-bottom:3px}.record-progress{display:grid;gap:5px}.record-progress-numbers{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#667284}.record-progress-numbers strong{color:#8c731d;white-space:nowrap}.record-progress-bar{appearance:none;width:100%;height:6px;border:0;border-radius:99px;background:#eeeade;overflow:hidden}.record-progress-bar::-webkit-progress-bar{background:#eeeade}.record-progress-bar::-webkit-progress-value{background:#b89c3e;border-radius:99px}.record-progress-bar::-moz-progress-bar{background:#b89c3e;border-radius:99px}.record-admin .record-tags{justify-content:flex-end}
@media(max-width:1200px){.record-admin{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.record-admin .record-company{grid-column:1;grid-row:1}.record-admin .record-tags{grid-column:2;grid-row:1}.record-admin .record-reference{grid-column:1;grid-row:2}.record-admin .record-money{grid-column:2;grid-row:2;text-align:right}.record-admin .record-progress{grid-column:1/-1;grid-row:3}}
@media(max-width:600px){.records-summary{align-items:start;flex-direction:column;gap:2px}.record-admin{padding:16px;gap:12px}.record-admin .record-tags{gap:4px}.record-admin .record-tags .tag{font-size:10px;padding:3px 5px}}
