/* LDS-inspired material workspace. Screen only: the existing quote print is preserved. */
@media screen{
body.onepro-ui.onepro-bars{--blue:#007f2e;--blue-hover:#006c27;--milk:#f5f6f7;--beans:#111;--line:#e2e5e7;--sub:#5c6268;background:#f5f6f7;color:#111;font-size:15px;line-height:1.6}
body.onepro-ui.onepro-bars main{padding:32px;max-width:1920px}
body.onepro-ui.onepro-bars>header{padding:12px 32px;min-height:80px;border-bottom:1px solid #e2e5e7}
body.onepro-ui.onepro-bars .brand img{width:285px!important;height:78px!important}
body.onepro-ui.onepro-bars h1{font-size:28px;font-weight:700;letter-spacing:-1px}
body.onepro-ui.onepro-bars h2{font-size:20px;font-weight:700;line-height:1.4}
body.onepro-ui.onepro-bars .heading{gap:24px;margin:8px 0 24px;align-items:center}
body.onepro-ui.onepro-bars .heading p{color:#555d63;font-size:14px;margin:8px 0 0}
body.onepro-ui.onepro-bars :is(button,header nav>a){border-radius:8px;letter-spacing:0;min-height:48px;padding:12px 16px;font-weight:600;font-size:14px}
body.onepro-ui.onepro-bars header nav>a{background:white;color:#30363a;border:0}
body.onepro-ui.onepro-bars header nav>a:hover{background:#f2f4f5}
body.onepro-ui.onepro-bars #print{background:#007f2e;border-color:#007f2e;color:white;border-radius:8px}
body.onepro-ui.onepro-bars #print:hover{background:#006c27;border-color:#006c27}
body.onepro-ui.onepro-bars #add{background:#edf8f0;border-color:#c7e7d1;color:#146b32}
body.onepro-ui.onepro-bars .panel{padding:24px;margin:16px 0;border:1px solid #e2e5e7;border-radius:12px;box-shadow:none}
body.onepro-ui.onepro-bars :is(input,select,textarea){border:1px solid #bcc3c9;border-radius:8px;padding:10px 12px;min-height:44px;font-size:14px;color:#111}
body.onepro-ui.onepro-bars label{font-size:13px;color:#353c42;line-height:1.6}
body.onepro-ui.onepro-bars .meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px}
body.onepro-ui.onepro-bars .meta h2{grid-column:1/-1;margin-bottom:4px}
body.onepro-ui.onepro-bars .shared-settings{gap:16px 24px}
body.onepro-ui.onepro-bars .shared-settings span{color:#4b545c}
body.onepro-ui.onepro-bars .system{background:#fafbfc}
body.onepro-ui.onepro-bars .system label{max-width:600px}
body.onepro-ui.onepro-bars .workflow-help{background:#fff;border-color:#e2e5e7;padding:20px 24px;border-radius:12px}
body.onepro-ui.onepro-bars .workflow-help ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.onepro-ui.onepro-bars .workflow-help li{padding:10px 12px;background:#f4f6f7;border-radius:8px;color:#343c42}
body.onepro-ui.onepro-bars .workflow-help summary{color:#146b32;min-height:32px}
body.onepro-ui.onepro-bars :is(.storage-info,.cost-policy){background:#eff4f1;border-left-color:#007f2e;color:#354d3d}
body.onepro-ui.onepro-bars .section-step{font-size:12px;font-weight:bold;color:#146b32;display:block;margin-bottom:6px}
body.onepro-ui.onepro-bars .entry-tip{font-size:13px;color:#555d63;margin:8px 0 16px}
body.onepro-ui.onepro-bars #material-lines{margin-top:0;min-width:1900px;font-size:13px}
body.onepro-ui.onepro-bars #material-lines th{background:#f5f6f7;font-weight:600;padding:12px 8px;border-color:#e2e5e7}
body.onepro-ui.onepro-bars #material-lines td{padding:12px 8px;vertical-align:top;border-color:#e2e5e7}
body.onepro-ui.onepro-bars #material-lines input,body.onepro-ui.onepro-bars #material-lines select{height:44px;padding:8px;font-size:13px}
body.onepro-ui.onepro-bars #material-lines td:nth-child(2) input{width:100%}
body.onepro-ui.onepro-bars #material-lines td:nth-child(3) input{width:100%}
body.onepro-ui.onepro-bars #material-lines td.number{vertical-align:middle;font-variant-numeric:tabular-nums}
body.onepro-ui.onepro-bars .table-wrap{border:1px solid #e2e5e7;border-radius:8px;overscroll-behavior-inline:contain}
body.onepro-ui.onepro-bars #material-lines .material-code-tools button{min-height:36px;padding:6px 8px;font-size:11px}
body.onepro-ui.onepro-bars .row-price-status{color:#555d63}
body.onepro-ui.onepro-bars #material-lines button[data-delete]{min-width:44px;min-height:44px;padding:8px;color:#ac2424;border-color:#e7c7c7}
body.onepro-ui.onepro-bars .summary{padding:20px 0;gap:16px 32px;color:#525b62;flex-wrap:wrap;font-size:13px}
body.onepro-ui.onepro-bars .summary strong{color:#111;font-size:16px;font-variant-numeric:tabular-nums}
body.onepro-ui.onepro-bars .total-heading{margin-top:24px}
body.onepro-ui.onepro-bars .totals{gap:16px 24px;padding:16px 0}
body.onepro-ui.onepro-bars .totals .grand{background:#edf8f0;border:1px solid #c7e7d1;border-radius:12px;color:#145e2c;padding:20px 24px;font-size:19px}
body.onepro-ui.onepro-bars .check input{min-height:24px;width:24px;height:24px;accent-color:#007f2e}
body.onepro-ui.onepro-bars :is(.note,.system p){font-size:12px;line-height:1.7;color:#555d63}
body.onepro-ui.onepro-bars :is(button,a,input,select,textarea):focus-visible{outline:3px solid #0063ae;outline-offset:3px}
body.onepro-ui.onepro-bars #status{background:#edf4f9;color:#17486c;border-radius:8px;padding:12px 16px}
@media(max-width:1100px){body.onepro-ui.onepro-bars .heading{align-items:flex-start;flex-direction:column}body.onepro-ui.onepro-bars .meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body.onepro-ui.onepro-bars main{padding:16px}body.onepro-ui.onepro-bars>header{padding:12px 16px}body.onepro-ui.onepro-bars h1{font-size:24px}body.onepro-ui.onepro-bars .panel{padding:16px}body.onepro-ui.onepro-bars .meta{grid-template-columns:1fr;gap:16px}body.onepro-ui.onepro-bars .workflow-help{padding:16px}body.onepro-ui.onepro-bars .workflow-help ol{grid-template-columns:1fr 1fr}body.onepro-ui.onepro-bars .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}body.onepro-ui.onepro-bars .actions button{font-size:12px;padding:10px 8px}body.onepro-ui.onepro-bars .system{align-items:stretch}body.onepro-ui.onepro-bars .system label{width:100%}body.onepro-ui.onepro-bars .totals{justify-content:space-between}body.onepro-ui.onepro-bars .totals .grand{width:100%;text-align:right}body.onepro-ui.onepro-bars #material-lines .material-code-tools button{min-height:44px}}
}

@media screen{body.onepro-ui.onepro-bars .system{flex-wrap:wrap;align-items:flex-end}body.onepro-ui.onepro-bars .system>label{flex:0 1 520px;min-width:0}body.onepro-ui.onepro-bars .system>p{flex-basis:100%;margin:0}body.onepro-ui.onepro-bars #material-tools{margin:0;gap:8px;align-items:flex-end;max-width:100%}body.onepro-ui.onepro-bars #material-tools label{width:200px;min-width:0}body.onepro-ui.onepro-bars #material-tools button{font-size:14px!important;min-height:48px;padding:12px 16px!important;max-width:none}body.onepro-ui.onepro-bars #material-lines tr[data-material-active] td{background:#f2faf5}@media(max-width:650px){body.onepro-ui.onepro-bars .system>label{flex-basis:auto}body.onepro-ui.onepro-bars #material-tools{width:100%}body.onepro-ui.onepro-bars #material-tools label{width:100%}}}

@media screen{
body.onepro-ui.onepro-bars a.page-move{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 16px;border:1px solid #145b94;border-radius:8px;background:#145b94;color:#fff;text-decoration:none;font-size:14px;font-weight:600;line-height:1.5;max-width:100%;box-sizing:border-box}
body.onepro-ui.onepro-bars a.page-move::after{content:'이동 →';font-size:11px;font-weight:400;white-space:nowrap;color:#fff}
body.onepro-ui.onepro-bars a.page-move[target="_blank"]::after{content:'새 창 ↗'}
body.onepro-ui.onepro-bars a.page-move:hover{background:#0c4270;border-color:#0c4270;color:#fff}
body.onepro-ui.onepro-bars a.page-move:focus-visible{outline:3px solid #0063ae;outline-offset:3px}
body.onepro-ui.onepro-bars>header .brand{flex-shrink:0}
@media(max-width:650px){body.onepro-ui.onepro-bars>header nav{width:100%;gap:8px}body.onepro-ui.onepro-bars a.page-move{font-size:13px;padding:12px;gap:8px}body.onepro-ui.onepro-bars>header .brand{max-width:100%}}
}

/* Keep input columns stable when calculated amounts change digit count. */
@media screen{body.onepro-ui.onepro-bars #material-lines{table-layout:fixed;min-width:1990px}}

@media screen{body.onepro-ui.onepro-bars #material-lines col:nth-child(1){width:50px}body.onepro-ui.onepro-bars #material-lines col:nth-child(2){width:330px}body.onepro-ui.onepro-bars #material-lines col:nth-child(3){width:130px}body.onepro-ui.onepro-bars #material-lines col:nth-child(4){width:250px}body.onepro-ui.onepro-bars #material-lines col:nth-child(5){width:125px}body.onepro-ui.onepro-bars #material-lines col:nth-child(6){width:125px}body.onepro-ui.onepro-bars #material-lines col:nth-child(7){width:125px}body.onepro-ui.onepro-bars #material-lines col:nth-child(8){width:110px}body.onepro-ui.onepro-bars #material-lines col:nth-child(9){width:160px}body.onepro-ui.onepro-bars #material-lines col:nth-child(10){width:100px}body.onepro-ui.onepro-bars #material-lines col:nth-child(11){width:100px}body.onepro-ui.onepro-bars #material-lines col:nth-child(12){width:140px}body.onepro-ui.onepro-bars #material-lines col:nth-child(13){width:170px}body.onepro-ui.onepro-bars #material-lines col:nth-child(14){width:75px}}
/* 2026-10-26: 순번 앞 체크박스 · 삭제/재계산 버튼 · 비고(자재명) 넓게 · 05 검토(산출) */
@media screen{body.onepro-ui.onepro-bars #material-lines col:nth-child(1){width:84px}body.onepro-ui.onepro-bars #material-lines col:nth-child(13){width:245px}}
body.onepro-ui.onepro-bars .line-check{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer}
body.onepro-ui.onepro-bars #material-lines input[type=checkbox]{width:20px;height:20px;min-width:20px;padding:0;margin:0;accent-color:#e85e00}
body.onepro-ui.onepro-bars .line-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
body.onepro-ui.onepro-bars #checked-delete{color:#ac2424;border-color:#e7c7c7}
body.onepro-ui.onepro-bars #checked-delete:disabled,body.onepro-ui.onepro-bars #checked-recalc:disabled{opacity:.45;cursor:not-allowed}
body.onepro-ui.onepro-bars #review-result .review-row{border-top:1px solid #e2e5e7;padding:12px 0}
body.onepro-ui.onepro-bars #review-result h3{font-size:15px;margin:0 0 8px}body.onepro-ui.onepro-bars #review-result h3 small{font-weight:400;color:#6b7280}
body.onepro-ui.onepro-bars #review-result table{border-collapse:collapse;width:100%;min-width:0;max-width:720px;font-size:13px}
body.onepro-ui.onepro-bars #review-result th,body.onepro-ui.onepro-bars #review-result td{border:1px solid #e2e5e7;padding:6px 8px;text-align:right}
body.onepro-ui.onepro-bars #review-result th:first-child,body.onepro-ui.onepro-bars #review-result td:first-child,body.onepro-ui.onepro-bars #review-result td:nth-child(2){text-align:left}
body.onepro-ui.onepro-bars #review-result .review-line{margin:8px 0 0}body.onepro-ui.onepro-bars #review-result em{color:#ac2424;font-style:normal}
body.onepro-ui.onepro-bars #review-result .review-total{border-top:2px solid #212529;padding-top:10px;margin-top:4px}
