:root{font-family:"Pretendard","Malgun Gothic",Arial,sans-serif;color:#22352e;background:#eff3ed;font-size:15px;line-height:1.55;color-scheme:light;--green:#175645;--dark:#123831;--ink:#182e28;--muted:#53675e;--line:#dde7df;--mint:#e9f5eb;--paper:#fffefd}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:320px} a{color:inherit;text-decoration:none} button,input,select,textarea{font:inherit} button,a,input,select,textarea{outline-offset:3px} button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #b26a1e} button{cursor:pointer} button:disabled{opacity:.55;cursor:not-allowed} button, input,select,textarea{color:inherit} [hidden]{display:none!important}
h1,h2,h3,p{margin:0} h1{font-size:clamp(28px,3.6vw,46px);line-height:1.23;color:var(--ink);letter-spacing:-.055em} h2{font-size:20px;letter-spacing:-.04em} h3{font-size:16px} h2+h3{margin-top:5px}
.skip{position:fixed;transform:translateY(-120%);top:0;left:1rem;z-index:9;background:#fff;padding:10px}.skip:focus{transform:none}
.topbar{min-height:72px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 clamp(14px,3vw,34px);background:var(--dark);color:#f6fbf7}.brand,.top-right{display:flex;align-items:center;gap:13px}.brand strong,.brand small{display:block}.brand strong{font-size:18px;letter-spacing:-.04em}.brand small{color:#b9d4c7;font-size:11px}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#e1edca;color:var(--dark);font:bold 24px Georgia}.demo-tag{font-size:12px;border:1px solid #587a69;color:#e1f0e4;border-radius:999px;padding:4px 11px;white-space:nowrap}
.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;border-radius:9px;padding:9px 14px;min-height:39px;border:1px solid transparent;white-space:nowrap;font-weight:700;font-size:13px}.primary{background:var(--green);color:white}.primary:hover{background:#0e4537}.topbar .primary{background:#e6f1cf;color:var(--dark)}.topbar .primary:hover{background:#f1f7df}.secondary{border-color:#cddbcf;background:white;color:#2a5749}.secondary:hover{background:#f0f7f1}.text-button{border:0;padding:3px 2px;background:none;color:#1d6653;white-space:nowrap;text-decoration:underline;text-underline-offset:3px;font-size:13px}.danger{color:#a14135}
.demo-tag{background:transparent}.demo-tag:hover{background:#234b40}
.layout{min-height:calc(100vh - 72px);display:grid;grid-template-columns:214px minmax(0,1fr)}.sidebar{background:#f9fbf7;border-right:1px solid var(--line);padding:28px 14px 20px;display:flex;flex-direction:column;justify-content:space-between;gap:20px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:8px;color:#385449;font-weight:700;font-size:14px}.sidebar nav a:hover,.sidebar nav a[aria-current]{background:#e4efe2;color:#12483a}.nav-icon{width:23px;text-align:center;color:#4f806d}.storage-note{margin:0 2px;padding:14px 10px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.storage-note strong{color:#2c4f42}.storage-note p{margin:5px 0 8px}.storage-note .text-button{font-size:11px}
main{width:100%;max-width:1600px;margin:0 auto;padding:clamp(19px,3.2vw,44px);min-width:0}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:0 0 24px}.kicker{font-size:12px;font-weight:700;color:#4e7162;margin-bottom:6px}.head-desc{color:var(--muted);margin-top:8px}.head-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.head-actions:empty{display:none}.muted{color:var(--muted);font-size:12px}.table-wrap{overflow:auto}.panel{background:var(--paper);border:1px solid var(--line);border-radius:13px;min-width:0;box-shadow:0 2px 8px #17352807}.pad{padding:19px}.load,.empty{padding:18px;color:var(--muted)}.inline-link{color:#225f50;text-decoration:underline;text-underline-offset:3px}
.flow{display:flex;align-items:center;gap:6px;border:1px solid #cfe0d0;background:#e6efe0;border-radius:13px;padding:10px;margin-bottom:20px}.flow a{flex:1 1 0;display:flex;gap:9px;align-items:center;min-width:0;padding:8px 6px;border-radius:7px;line-height:1.35}.flow a:hover{background:#f5fbf2}.flow b{display:grid;place-items:center;align-self:flex-start;border-radius:8px;width:31px;height:31px;flex:none;background:#f8fbf4;color:#2d5b4a;font-size:12px}.flow span{font-weight:700;font-size:13px}.flow small{font-size:10px;color:#4d685d;display:block;margin-top:4px}.flow i{font-style:normal;color:#557568;font-size:13px}
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.tile{border:1px solid var(--line);background:#fff;border-radius:11px;padding:13px 15px;box-shadow:0 3px 9px #18382e08}.tile:hover{outline:1px solid #9bbbaa}.tile b{display:block;font-size:32px;margin-top:3px;line-height:1.3;letter-spacing:-.04em}.tile small,.tile>span:last-child{font-size:12px;color:#55675e}.pill{display:inline-block;vertical-align:middle;white-space:nowrap;font-size:11px;font-weight:700;padding:4px 8px;border-radius:7px}.pill.draft{background:#eceff0;color:#3d5155}.pill.review{background:#faedce;color:#75500d}.pill.approved{background:#e1f2e7;color:#12573a}.pill.returned{background:#fbe8e3;color:#8d392d}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.section-head p{font-size:13px;color:var(--muted);margin-top:3px}.section-head.compact{padding:0 0 11px;border:0}.section-head.compact .muted{flex:none}.panel .list-tools{display:grid;grid-template-columns:minmax(180px,420px) minmax(120px,185px);gap:12px;padding:16px 18px}
table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:10px 15px;border-bottom:1px solid #edf0ec;white-space:nowrap}th{background:#f5f8f4;color:#51665a;font-size:11px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf9}.right{text-align:right;font-variant-numeric:tabular-nums}.record-link{display:block;color:#205a4b}.record-link:hover{color:#102f25;text-decoration:underline}.record-link small{display:block;color:#5b7368;font-size:10px}.record-link strong{display:block}.line-table td,.line-table th{padding:7px 8px}.line-panel{margin:13px 0}.line-panel>.muted{margin-top:8px}
label{display:grid;gap:4px;font-weight:700;font-size:12px;color:#415b50;min-width:0}input,select,textarea{padding:8px 9px;width:100%;min-width:0;border:1px solid #ceddd1;background:#fff;border-radius:7px;font-size:13px;min-height:38px}input:disabled,textarea:disabled,select:disabled{color:#3e5248;background:#f5f7f2} input:invalid{border-color:#b66a4f} .number{width:67px}.price{width:107px}.line-control[data-key=product]{min-width:135px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 13px;align-items:start}.breadcrumb{color:#49685a;margin-bottom:11px;font-size:13px}.breadcrumb a{text-decoration:underline}.head-desc>.pill{margin-right:5px}
.stepbar{display:flex;gap:15px;padding:8px 0 15px;font-size:12px;color:#53695f}.stepbar span{display:flex;align-items:center;gap:6px}.stepbar b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e0e8e0}.stepbar .passed{font-weight:700;color:#175645}.stepbar .passed b{background:#226650;color:white}.quote-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(215px,280px);gap:13px;align-items:start}.summary{position:sticky;top:12px}.summary h2{margin-bottom:11px}.amount{background:#e8f2e4;color:#124638;border-radius:9px;padding:12px;margin-bottom:12px}.amount strong{font-size:clamp(21px,2.4vw,30px);display:block;letter-spacing:-.04em}.amount p{font-size:11px}.amount span{font-size:12px}.summary-list{margin:0;font-size:12px}.summary-list div{display:flex;justify-content:space-between;gap:6px;padding:7px 0;border-bottom:1px solid var(--line)}.summary-list dd{margin:0;font-weight:700;text-align:right;white-space:nowrap}.summary-list dt{color:var(--muted)}.warn,.ready,.locked{margin-top:13px;padding:10px;border-radius:7px;font-size:12px}.warn{background:#fff0d6;color:#744404}.warn ul{padding-left:16px;margin:4px 0 0}.ready{background:var(--mint);color:#205841}.locked{background:#eef2f0;color:#426457}
.events{padding-left:0;margin:0;list-style:none;font-size:13px}.events li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.events li:last-child{border:0}.events li p,.events time{color:var(--muted);font-size:12px}.events time{white-space:nowrap}.tabs{display:flex;flex-wrap:wrap;gap:5px;padding:10px 14px;border-bottom:1px solid var(--line)}.tabs a{padding:6px 10px;border-radius:6px;color:#49665b;font-size:13px;font-weight:700}.tabs a:hover,.tabs a[aria-current]{background:#e5f1e6;color:#095440}
#notice{position:fixed;bottom:19px;right:19px;z-index:12;background:#173e32;color:#fff;padding:13px 15px;border-radius:9px;box-shadow:0 5px 18px #172b2636;max-width:min(510px,calc(100vw - 38px));font-size:13px}#notice.problem{background:#783a24}dialog{border:1px solid var(--line);border-radius:14px;max-width:min(720px,calc(100vw - 28px));width:100%;padding:0;max-height:calc(100vh - 34px);color:var(--ink);box-shadow:0 17px 70px #102c2580}dialog::backdrop{background:#182c25a8}dialog .dialog-body{padding:17px 19px}.dialog-head,.dialog-actions{display:flex;justify-content:space-between;gap:7px;align-items:center;margin-bottom:12px}.dialog-actions{justify-content:flex-end;margin-top:13px;margin-bottom:0;flex-wrap:wrap}.dialog-body>p{margin:9px 0}.ref-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-top:1px solid var(--line)}.ref-item .pill{margin-left:5px}.ref-item p{font-size:12px;color:var(--muted)}.bom-row{display:grid;grid-template-columns:minmax(120px,1fr) 90px 40px;gap:7px;align-items:end;margin-bottom:6px}.bom-group{margin-top:15px}
@media(max-width:1080px){.layout{grid-template-columns:170px minmax(0,1fr)}main{padding:25px}.quote-grid{grid-template-columns:minmax(0,1fr) 215px}.flow small{display:none}}
@media(max-width:850px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar{padding:6px 12px;border-right:0;border-bottom:1px solid var(--line);display:block}.sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.sidebar nav a{padding:7px 9px}.storage-note{display:none}.quote-grid{grid-template-columns:minmax(0,1fr)}.summary{position:static;grid-row:1}.summary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}.page-head{align-items:flex-start}.head-actions{max-width:45%}}
@media(max-width:530px){main{padding:16px}.topbar{padding:8px 12px;min-height:61px}.brand{gap:7px}.brand-mark{width:31px;height:31px;font-size:20px}.brand strong{font-size:13px}.brand small{font-size:10px}.top-right{gap:6px}.demo-tag{font-size:9px;padding:3px 6px}.topbar .primary{padding:7px;font-size:11px;min-height:31px}.sidebar nav a{font-size:12px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tile{padding:8px 11px}.flow{gap:3px;padding:6px;flex-wrap:wrap}.flow a{flex-basis:40%;padding:5px}.flow i:nth-of-type(2){display:none}.flow b{width:24px;height:24px}.flow span{font-size:11px}.page-head{display:block;margin-bottom:15px}.head-actions{justify-content:flex-start;max-width:none;margin-top:12px}.section-head{padding:12px}.section-head h2{font-size:17px}.fields{gap:8px}.panel .list-tools{padding:9px;gap:6px;grid-template-columns:minmax(0,1fr) 120px}}
@media print{body{background:#fff}.topbar,.layout,#notice,dialog,.skip{display:none!important}#print-view[hidden]{display:block!important}.paper{max-width:185mm;margin:0 auto;padding:9mm;color:#152d23}.paper header{display:flex;justify-content:space-between;border-bottom:2px solid #1b5446;padding:9mm 0 5mm}.paper .print-info{display:flex;justify-content:space-between;margin:8mm 0}.paper strong,.paper small{display:block}.paper table{margin:6mm 0}.paper h2{margin:3mm 0}}
