.loginwrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eaf1eb}.logincard{width:min(460px,100%);background:white;padding:40px;border-radius:18px;box-shadow:0 20px 60px #14372a12}.logincard label{display:grid;gap:8px;margin:18px 0;color:#567268;font-size:12px}.logincard button{width:100%;margin:14px 0}.logincard small{color:#7d8e87;line-height:1.8}button:disabled{opacity:.45;cursor:not-allowed}
:root{--ink:#172b2a;--muted:#758583;--green:#167765;--line:#e3eae7}*{box-sizing:border-box}body{margin:0;background:#f4f7f5;color:var(--ink);font-family:'Noto Sans KR',sans-serif;font-size:14px}aside{position:fixed;width:224px;height:100vh;background:#102f2a;color:#d9e6e1;padding:32px 20px;display:flex;flex-direction:column}.logo{font-weight:800;font-size:30px;display:flex;align-items:center;gap:12px;color:#9bdbc2}.logo span{font-size:18px;color:white}.workspace{font-size:10px;letter-spacing:2px;color:#82a398;margin:32px 12px 15px}nav{display:grid;gap:6px}nav button{border:0;text-align:left;padding:14px;background:none;color:#b5cbc2;border-radius:9px;font:inherit;cursor:pointer}nav button.active{background:#295047;color:white}nav button span{margin-right:12px}.asidebottom{margin-top:auto;padding:20px 12px;line-height:1.8}.asidebottom small{color:#86a99b}main{margin-left:224px;padding:0 38px}header{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:var(--muted)}header b{color:var(--ink)}.avatar{background:white;padding:10px 15px;border:1px solid var(--line);border-radius:25px;font-size:12px}.notice{margin:20px 0;padding:12px 16px;background:#edf3e8;color:#607251;border-radius:7px;font-size:12px}.notice span{float:right}section{padding:12px 0 40px}.eyebrow{font-size:11px;letter-spacing:1.6px;color:var(--green);font-weight:700}h1{font-size:30px;letter-spacing:-1px;margin:8px 0}h2{font-size:19px;margin:0}p{color:var(--muted);line-height:1.7}.pagetitle,.panelhead,.tools{display:flex;justify-content:space-between;align-items:center;gap:12px}.pagetitle{margin-bottom:26px}.button,button{border:0;background:var(--green);color:white;border-radius:7px;padding:11px 16px;font:inherit;cursor:pointer}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.small{padding:6px 10px;font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.metric small{color:var(--muted)}.metric strong{font-size:29px;display:block;margin:14px 0 8px;letter-spacing:-1px}.metric em{font-size:11px;color:var(--green);font-style:normal}.metric.feature{background:#176c5c;color:white;border:0}.metric.feature small,.metric.feature em{color:#baddce}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:22px}.panelhead{padding:22px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{background:#f8faf8;color:var(--muted);font-size:11px;font-weight:500;padding:14px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #edf1ef;font-size:12px}td small{display:block;color:var(--muted);margin-top:5px}.badge{display:inline-block;border-radius:5px;background:#eef3f0;color:#547165;padding:5px 9px;font-size:11px}.badge.done{background:#e1f2e9;color:#237459}.badge.cancel{background:#f8e9e6;color:#aa5345}.money{font-variant-numeric:tabular-nums;text-align:right}.negative{color:#b94b42!important}.tools{flex-wrap:wrap;padding:18px 22px;border-top:1px solid var(--line)}input,select,textarea{font:inherit;border:1px solid #dce5e0;border-radius:6px;padding:10px;background:white;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #a3d6c5;outline-offset:1px}.split{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.barrow{display:grid;grid-template-columns:85px 1fr 40px;gap:15px;align-items:center;margin:20px}.bar{height:8px;background:#edf2ef;border-radius:5px;overflow:hidden}.bar i{display:block;background:#4f9e86;height:100%;border-radius:5px}.checklist{padding:10px 22px 24px}.checklist p{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px;font-size:12px}.empty{padding:40px;text-align:center;color:var(--muted)}footer{padding:16px 0 24px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:15px;width:min(760px,94vw);max-height:90vh;padding:28px;color:var(--ink)}dialog::backdrop{background:#102f2a77}.dialogtitle,.dialogactions{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialogtitle button{background:none;color:var(--muted)}.dialogactions{justify-content:flex-end;gap:12px;margin:24px 0 0}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.formgrid label{font-size:12px;color:var(--muted);display:grid;gap:8px}.wide{grid-column:1/-1}.profitpreview{background:#ecf5ef;padding:18px;border-radius:8px;display:flex;justify-content:space-between;flex-wrap:wrap}.profitpreview strong{font-size:20px;color:var(--green)}.profitpreview small{width:100%;color:var(--muted);margin-top:8px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173b30;color:white;padding:13px 22px;border-radius:9px;display:none;z-index:100}.muted{color:var(--muted)}.file{display:inline-block}.file input{display:none}.listnote{padding:0 22px 20px;font-size:12px;color:var(--muted)}@media(max-width:1050px){aside{width:180px}main{margin-left:180px;padding:0 20px}.metrics{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}.notice span{display:none}}@media(max-width:680px){aside{position:static;width:100%;height:auto;padding:15px}.workspace,.asidebottom{display:none}nav{display:flex;overflow:auto;margin-top:14px}nav button{white-space:nowrap;padding:10px;font-size:12px}.logo{font-size:22px}.logo span{font-size:16px}main{margin-left:0;padding:0 15px}header{height:55px;font-size:11px}.avatar{font-size:10px;padding:8px}h1{font-size:24px}.pagetitle{align-items:flex-start}.metric{padding:15px}.metric strong{font-size:22px}.notice{font-size:11px}.formgrid{grid-template-columns:1fr}.wide{grid-column:auto}.tools input{width:100%}}

.logo span{font-size:15px;letter-spacing:-.5px}.mobileEditor{width:min(800px,96vw)}.pastebar{display:flex;gap:12px;align-items:center;padding:14px;background:#eef6f1;border-radius:9px;margin-bottom:22px}.pastebar span{color:#647c71;font-size:12px}.formsection{margin-top:15px;border:1px solid var(--line);border-radius:9px;background:white}.formsection summary{padding:16px;cursor:pointer;font-weight:600;list-style-position:inside}.formsection summary small{display:block;margin:8px 0 0 20px;font-weight:400;color:var(--muted)}.formsection .formgrid{padding:5px 16px 18px}.formsection input[readonly]{background:#f3f6f4}.formsection label small{font-size:11px}#pasteDialog textarea{width:100%;margin:10px 0}#pastePreview pre{white-space:pre-wrap;word-break:break-word;font:inherit;font-size:12px}.mobileEditor .dialogactions{position:sticky;bottom:-28px;background:white;padding:16px 0;margin-bottom:-12px;border-top:1px solid var(--line)}@media(max-width:680px){.mobileEditor{max-height:96vh;padding:18px}.mobileEditor .dialogactions{bottom:-18px}.mobileEditor .dialogactions button{flex:1}.pastebar{flex-direction:column;align-items:stretch}.pastebar button{min-height:48px}.basicFields input,.basicFields select,.formsection input,.formsection select{min-height:46px;font-size:16px}.formsection summary{font-size:15px}.formsection summary small{font-size:11px}.logo span{font-size:15px}}

.attachmentitem{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.attachmentitem img{width:68px;height:68px;object-fit:cover;border-radius:8px}.attachmentitem a{color:var(--green);word-break:break-word}.attachmentitem small{color:var(--muted)}

.assignmentStaff{flex-wrap:wrap}.assignmentStaff label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;min-height:48px}.assignmentStaff input{width:20px;height:20px}
.staffCalendarGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:20px 0}.staffCalendarDay{border:1px solid var(--line);min-height:85px;padding:6px;overflow-wrap:anywhere}.staffCalendarDay small{display:block;font-size:11px;margin-top:4px}@media(max-width:680px){.staffCalendarDay{padding:3px;min-height:65px}.staffCalendarDay small{font-size:10px}}

.navgroup{border:0;margin:6px 0}.navgroup summary{padding:14px 12px;color:#c4e0d6;cursor:pointer;font-size:14px;border-radius:7px}.navgroup summary:hover{background:#214b40}.navgroup>div{padding-left:10px;border-left:1px solid #416358;margin-left:14px}.navgroup button{font-size:12px}.navgroup summary::marker{color:#92c6b2}
@media(max-width:680px){nav{display:block;overflow:visible}.navgroup{display:block}.navgroup>div{display:flex;flex-wrap:wrap}.navgroup summary{padding:12px;font-size:14px}.navgroup button{min-height:44px}nav>button{width:100%;text-align:left}}

.staffEntry{margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:white}.staffEntry h3{margin-top:0}.staffEntry label{font-weight:600}.staffEntry input,.staffEntry select{min-height:44px}


/* This is a desktop ledger grid, including inside a narrow side panel. */
.support-view-hint{font-size:12px;color:#566e65;margin:-10px 0 12px}
.support-panel{overflow:auto;max-height:calc(100vh - 250px);min-height:320px;scrollbar-gutter:stable}
.support-filters{display:grid;grid-template-columns:repeat(6,minmax(170px,1fr));min-width:1120px;gap:8px 12px;padding:12px 14px;border-bottom:1px solid var(--line);background:#f4f7f5;align-items:center}
.support-filters label{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:5px;font-size:11px;color:#38534a}
.support-filters input,.support-filters select{width:100%;min-width:0;height:32px;padding:5px 7px;border-radius:3px;font-size:12px}
.support-filters .support-date-toggle{display:flex;align-items:center;gap:6px;color:var(--ink);white-space:nowrap}
.support-date-toggle input{width:16px;height:16px}
.support-filter-actions{display:flex;gap:7px;align-items:center;grid-column:1/-1;justify-content:flex-end}
.support-filter-actions button{padding:7px 16px;font-size:12px;border-radius:4px;min-height:32px}
.support-summary{min-width:1120px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:24px;padding:10px 14px;font-size:12px;background:white}
.support-summary button{margin-left:auto;padding:7px 14px;border-radius:4px;font-size:12px}
.support-swatch{display:inline-block;width:13px;height:13px;border:1px solid #aab9ae;vertical-align:middle;margin-right:6px;background:#fff}.support-swatch-paid{background:#e4efd6}
.support-panel>.tablewrap{overflow:visible}
.support-table{min-width:2500px;width:max-content;table-layout:auto;border-collapse:separate;border-spacing:0}
.support-table th{position:sticky;top:0;z-index:2;font-size:12px;color:white;background:#285987;font-weight:600;padding:10px 12px;border-right:1px solid #6992b4}
.support-table td{padding:10px 12px;border-right:1px solid #dce5db;border-bottom:1px solid #d4dfd1;max-width:260px;overflow:hidden;text-overflow:ellipsis}
.support-table tr.support-paid>td{background:#e4efd6}.support-table tr.support-unpaid>td{background:#fff}
.support-table td:first-child,.support-table th:first-child{position:sticky;left:0;min-width:40px;width:40px;z-index:3}
.support-table td:nth-child(2),.support-table th:nth-child(2){position:sticky;left:40px;min-width:90px;width:90px;z-index:3}
.support-table td:nth-child(3),.support-table th:nth-child(3){position:sticky;left:130px;min-width:120px;width:120px;z-index:3;border-right:2px solid #b5c8ba}
.support-table th:nth-child(-n+3){z-index:4}
.support-table td input[type=checkbox],.support-table th input[type=checkbox]{width:16px;height:16px;padding:0}
.support-panel>.listnote{min-width:1120px;max-width:1120px;margin:0;padding:12px 14px;background:#fff;line-height:1.6}
@media(max-width:680px){
 .support-panel{max-height:75vh;min-height:340px}
 .support-summary button{width:auto;margin-left:auto}
 .support-filters input{width:100%}
}

.support-menu-toggle{display:none}
@media(max-width:680px){
 body:has(.support-panel) aside{padding:10px 14px}
 body:has(.support-panel):not(.support-menu-open) aside nav{display:none}
 body:has(.support-panel) .logo{font-size:20px;min-height:30px}
 body:has(.support-panel) header{height:44px}
 body:has(.support-panel) .notice{margin:10px 0;padding:8px;font-size:10px}
 body:has(.support-panel) .pagetitle{display:block;position:relative;margin-bottom:16px}
 body:has(.support-panel) .pagetitle h1{font-size:22px;padding-right:65px}
 body:has(.support-panel) .pagetitle p{font-size:12px;margin-bottom:8px}
 .support-menu-toggle{display:block;position:absolute;right:0;top:0;padding:7px 10px;font-size:11px;min-height:32px}
}

.support-quick-filters{display:none}
@media(max-width:680px){.support-quick-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}.support-quick-filters label{display:grid;gap:5px;font-size:11px}.support-quick-filters select{width:100%;min-width:0;height:32px;padding:5px 8px;font-size:12px}}

.installationFilters{align-items:end;gap:8px;padding:12px}.installationFilters>label{display:grid;gap:4px;font-size:12px}.installationFilters select{min-width:110px}.installationStates{display:flex;gap:10px;align-items:center;padding:10px 0}.installationStates label{display:flex;gap:4px;align-items:center;white-space:nowrap}.installationStates input{width:18px;height:18px}.installationFilters>input{width:180px;min-width:120px}.installationFilters>button{white-space:nowrap}


/* Unified ledger typography. */
html body,html body *,html body *::before,html body *::after{font-family:Dotum,"돋움",Arial,sans-serif!important;letter-spacing:normal!important;font-style:normal}
html body{font-size:13px!important;line-height:1.5;color:#304039}
html body :is(p,small,label,summary,th,td,input,select,textarea,button,.button,.badge,.muted,.small,.notice,.listnote,footer,.avatar,.eyebrow,.workspace){font-size:13px!important;line-height:1.5!important;font-weight:400!important}
html body :is(input,select,textarea){color:#53615b!important;border:1px solid #cdd9d2;border-radius:4px;min-height:34px}
html body :is(input,textarea)::placeholder{color:#8a958f!important;opacity:1}
html body :is(h1,h2,h3,b,strong,th,summary){font-weight:600!important}
html body h1{font-size:20px!important;line-height:1.4!important}
html body h2{font-size:16px!important;line-height:1.4!important}
html body h3{font-size:14px!important;line-height:1.4!important}
html body button,html body .button{padding:8px 12px;border-radius:5px;min-height:34px}
html body aside,html body aside *{color:#eff8f3!important;-webkit-text-fill-color:#eff8f3!important}
html body aside nav button,html body aside nav summary{font-size:14px!important}
html body th{color:#3e5548}
html body td{padding:9px 12px!important}
html body .metric.feature :is(small,em){color:#e0f3e8}

@layer intake-section-two-alignment {
  #editor #productContractSection :is(.intakeProductGrid, .intakeBundleFields, #sectionTwoPaymentAmounts) {
    align-items: start !important;
  }
  #editor #productContractSection :is(.intakeProductGrid, .intakeBundleFields, #sectionTwoPaymentAmounts) label {
    align-self: start !important;
    margin: 0 !important;
    line-height: 18px !important;
  }
  #editor #productContractSection :is(.intakeProductGrid, .intakeBundleFields, #sectionTwoPaymentAmounts, .productSearchAndBundle)
    :is(input:not([type=hidden],[type=checkbox],[type=file]), select:not([hidden])),
  #editor #productContractSection #addBundleProduct {
    box-sizing: border-box !important;
    height: 34px !important;
    min-height: 34px !important;
    margin-block: 0 !important;
  }
}

@layer intake-payment-field-order {
  #sectionTwoPaymentAmounts { reading-flow: grid-rows; }
  #sectionTwoPaymentAmounts label:has(#sectionTwoSource) { order: -4 !important; }
  #sectionTwoPaymentAmounts label:has(input[name="support"]) { order: -3 !important; }
  #sectionTwoPaymentAmounts label:has(#paymentOtherFee) { order: -2 !important; }
  #sectionTwoPaymentAmounts label:has(input[name="sourceFee"]) { order: -1 !important; }
}
