:root{font-family:"Segoe UI","Malgun Gothic",sans-serif;color:#20312d;background:#f5f7f6;font-synthesis:none;--green:#14594c;--muted:#73837e;--line:#e2e9e5;--red:#ba4b38}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:8px;min-height:42px;padding:10px 16px;font-weight:600}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus,textarea:focus,select:focus{outline:3px solid #9dcbbd;outline-offset:2px}input,select,textarea{width:100%;min-height:43px;padding:10px 12px;background:white;color:#20312d;border:1px solid #d9e2dd;border-radius:7px}textarea{resize:vertical;min-height:95px;line-height:1.7}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:#52675f}h1,h2,p{margin:0}h1{font-size:29px;letter-spacing:-1px}h2{font-size:18px;letter-spacing:-.3px}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.primary{background:var(--green);color:white}.secondary{background:white;color:#325148;border:1px solid #d8e3dc}.text-button{background:transparent;color:#476259;font-size:13px;padding:8px 10px;min-height:34px}.danger{background:#fff0ed;color:var(--red)}.full{width:100%}.eyebrow{font-size:12px;color:#6c8278;font-weight:700;letter-spacing:.4px;margin-bottom:9px}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:750;letter-spacing:-1px}.brand-icon{display:inline-grid;place-items:center;background:var(--green);color:white;border-radius:9px;width:37px;height:37px;font-size:25px}.sidebar{position:fixed;inset:0 auto 0 0;width:222px;background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column}.workspace-name{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7c8e85;margin:34px 8px 18px}.workspace-name span{font-size:10px;border:1px solid #d8e5dd;border-radius:4px;padding:4px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{text-align:left;background:none;color:#708279;font-size:14px;display:flex;justify-content:space-between;font-weight:500;padding:14px 13px}.sidebar nav button span{font-size:10px;padding-top:4px;opacity:.5}.sidebar nav .active{background:#eaf3ee;color:#14594c;font-weight:700}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.nav-plain{background:none;width:100%;text-align:left;color:#63796e;font-size:13px;padding-left:10px}.account{display:flex;justify-content:space-between;align-items:center;margin-top:20px;font-size:12px}.account>span{font-weight:700}.sidebar-bottom>.text-button{padding-left:0}main{margin-left:222px;padding:34px 36px 20px;max-width:1750px}.page-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:27px}.page-header .muted{font-size:13px;margin-top:8px}.header-actions{display:flex;gap:10px}.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.summary article{padding:23px 23px 18px;background:white;border:1px solid var(--line);border-radius:12px}.summary article>span{font-size:13px;color:#60796e}.summary article>div{display:flex;align-items:baseline;gap:8px;margin:17px 0 10px}.summary b{font-size:36px;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}.summary small{color:#97a49d}.summary p{font-size:11px;color:#99a79f}.summary .late-card{background:#fff9f6;border-color:#f0e2da}.late-card b{color:var(--red)}.filters{display:grid;grid-template-columns:1.6fr 1fr 1fr .8fr 1fr;gap:15px;background:white;border:1px solid var(--line);padding:20px;border-radius:12px;margin-bottom:24px}.filter-tools{display:flex;justify-content:flex-end;grid-column:1/-1;margin-top:-7px;margin-bottom:-9px}.extra-filters{display:grid;grid-template-columns:repeat(3,1fr) 1.4fr;gap:15px;grid-column:1/-1;border-top:1px solid var(--line);padding-top:18px}.extra-filters p{padding-top:20px}.list-section{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.list-heading{padding:21px 23px;display:flex;justify-content:space-between;align-items:center;gap:12px}.list-heading h2{display:inline;font-size:16px}.list-heading span{font-size:12px;margin-left:12px}.list-heading>div:last-child{display:flex;gap:5px}.small-button{font-size:12px;min-height:34px;padding:7px 11px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{background:#f7f9f7;color:#75877c;font-size:12px;font-weight:500;padding:13px 14px;border-top:1px solid var(--line);white-space:nowrap}td{padding:18px 14px;border-top:1px solid #eef2ef;line-height:1.6;vertical-align:middle}tbody tr:hover{background:#fbfcfa}.num{text-align:right;font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}.customer-cell b{display:block;font-size:13px;overflow-wrap:anywhere}.customer-cell span{display:block;font-size:12px;color:#86968c}.memo-cell{max-width:180px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#87978e;font-size:12px}.badge{display:inline-block;font-size:11px;white-space:nowrap;padding:4px 8px;border-radius:5px;background:#edf3ef;color:#4a7860}.badge.late{background:#fff0eb;color:#b65840}.badge.today{background:#fcf5e3;color:#ab7e25}.badge.cancelled{background:#eee;color:#858585}.check{width:17px;min-height:17px;accent-color:var(--green);cursor:pointer}.date-cell{white-space:nowrap;color:#7d8f83;font-size:12px}.kind-pill{background:#f2f5f3;border-radius:5px;padding:5px 8px;color:#698073;font-size:11px}.pagination{padding:14px 20px;display:flex;align-items:center;justify-content:center;gap:18px;border-top:1px solid var(--line);font-size:12px;color:#87988d}.page-footer{display:flex;justify-content:space-between;font-size:11px;color:#93a297;margin-top:20px}.selection-bar{position:sticky;bottom:15px;margin-top:15px;padding:15px 20px;display:flex;gap:14px;align-items:center;background:#e8f1eb;border:1px solid #c7dccf;border-radius:12px;box-shadow:0 6px 24px #153b3015}.selection-bar div{flex:1}.selection-bar b{display:block;font-size:14px}.selection-bar span{display:block;font-size:11px;color:#6c8a7a;margin-top:4px}.preview-banner{background:#f1ead7;color:#89713b;border-radius:6px;padding:9px 14px;font-size:12px;margin-bottom:20px}.error-box,.form-error{color:#aa3d2b;font-size:13px;line-height:1.7}.error-box{padding:15px 22px;background:#fff3ee}.form-error{margin:10px 0}.empty{padding:60px 20px;text-align:center;color:#8c9c91}.empty b{display:block;color:#5d7667;margin-bottom:9px;font-size:16px}.mobile-tabs,.mobile-tools,.mobile-cards{display:none}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.2fr 1fr;max-width:1300px;margin:auto;align-items:center;padding:60px;gap:100px}.login-intro .brand{margin-bottom:55px}.login-intro h1{font-size:45px;line-height:1.35;letter-spacing:-2px}.login-intro>p:not(.eyebrow){color:#809386;margin-top:24px;font-size:14px}.login-intro>small{color:#8da094;font-size:12px}.flow-example{display:flex;margin:28px 0 30px;gap:10px}.flow-example span{padding:16px 20px;border:1px solid #dde7df;background:white;border-radius:9px;font-size:12px;color:#84958a}.flow-example b{font-size:24px;display:block;color:#2a5c42;margin-top:8px}.login-card{background:white;padding:42px;border-radius:16px;border:1px solid var(--line);box-shadow:0 18px 65px #294e3410}.login-card h2{font-size:25px;margin-bottom:10px}.login-card form{margin-top:30px}.login-card label+label{margin-top:18px}.login-card .secondary{margin-top:12px}.login-card>p.small{margin-top:15px}dialog{padding:0;border:1px solid #dce7df;border-radius:16px;width:min(760px,calc(100vw - 28px));max-height:90vh;box-shadow:0 24px 100px #18342330;color:#254535}dialog::backdrop{background:#132e2459;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.close-button{font-size:24px;background:#f4f7f5;padding:0 12px;min-height:34px;color:#7e9384}#dialog-body{padding:22px 24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.span-two{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.dialog-intro{font-size:13px;color:#79917f;margin-bottom:20px;line-height:1.8}.detail-box{padding:15px;background:#f5f8f5;border-radius:8px;margin-bottom:16px;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.return-row{border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:12px}.return-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:16px}.return-heading small{display:block;color:#8c9d8e;margin-top:4px}.return-quantities{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:15px}.return-quantities>div{font-size:12px;color:#7b9382}.return-quantities strong{display:block;font-size:24px;line-height:43px;color:#355d43}.return-quantities .leftover strong{color:#b26b30}.return-quantities input{background:#edf5f0;border-color:#aacbb7;font-weight:700;text-align:right}.checkbox-label{flex-direction:row;align-items:center;gap:9px;font-size:12px}.checkbox-label input{width:18px;min-height:18px}.settings-row{border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.job-status{font-size:12px;padding:9px 0;color:#7f9386}.user-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.user-row small{display:block;color:#8a9c8f;margin-top:5px}.import-list{max-height:330px;overflow:auto;margin-top:18px;border:1px solid var(--line);border-radius:8px}.import-list th,.import-list td{padding:10px;font-size:12px}.import-list .check{width:16px}.mail-text{white-space:pre-wrap;max-height:320px;overflow:auto;font-size:12px;background:#f3f7f4;padding:18px;border-radius:8px;line-height:1.8}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#214f3f;color:white;border-radius:9px;box-shadow:0 8px 30px #0002;z-index:100;font-size:14px;max-width:90vw}[hidden]{display:none!important}
@media(min-width:1500px){main{padding-left:55px;padding-right:55px}.filters{padding:24px}.summary article{padding:25px 28px}.summary b{font-size:40px}}
@media(max-width:1100px){.sidebar{width:190px;padding:25px 14px}main{margin-left:190px;padding:26px 22px}.filters{grid-template-columns:1.4fr 1fr 1fr}.search-field{grid-column:span 1}.summary{gap:10px}.summary article{padding:18px 14px}.summary b{font-size:29px}.summary p{font-size:10px}.page-header h1{font-size:25px}.extra-filters{grid-template-columns:repeat(3,1fr)}.extra-filters p{grid-column:1/-1;padding-top:0}.table-wrap table{min-width:700px}}
@media(max-width:720px){.sidebar{display:none}main{margin:0;padding:22px 16px 15px}.page-header{align-items:flex-start;gap:10px;margin-bottom:20px}.page-header h1{font-size:25px}.page-header .muted{font-size:11px;max-width:215px}.eyebrow{font-size:10px}.header-actions{gap:6px;flex-direction:column}.header-actions button{font-size:12px;min-height:35px;padding:8px 12px}.mobile-tabs{display:flex;gap:5px;overflow:auto;margin:0 -16px 20px;padding:0 16px;border-bottom:1px solid var(--line)}.mobile-tabs button{font-size:12px;white-space:nowrap;background:none;color:#8c9f90;border-radius:0;min-height:40px;padding:8px 12px;border-bottom:2px solid transparent}.mobile-tabs .active{color:#14594c;border-color:#14594c}.summary{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:16px}.summary article{padding:15px 16px}.summary article>span{font-size:11px}.summary article>div{margin:10px 0 0}.summary b{font-size:29px}.summary p{display:none}.filters{padding:15px;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.filters label{font-size:11px}.search-field{grid-column:1/-1}input,select,textarea{font-size:16px;min-height:42px}.filter-tools{margin-top:0}.extra-filters{grid-template-columns:1fr 1fr}.extra-filters>label:last-of-type,.extra-filters p{grid-column:1/-1}.list-heading{padding:17px 14px}.list-heading h2{display:block;font-size:14px}.list-heading span{margin:7px 0 0;display:block;font-size:11px}.list-heading .text-button{display:none}.desktop-lots{display:none}.mobile-cards{display:block}.lot-card{padding:17px;border-top:1px solid var(--line)}.lot-card-top{display:flex;align-items:center;gap:10px}.lot-card-top b{font-size:14px;flex:1}.lot-card .lot-site{font-size:12px;color:#82968a;margin:8px 0 15px 27px}.lot-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-left:27px}.lot-card-bottom>div{font-size:11px;color:#879b8e;line-height:1.9}.lot-card-bottom strong{font-size:25px;color:#30523e;margin-right:4px}.lot-note{margin:12px 0 0 27px;color:#819887;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lot-actions{margin:12px 0 0 27px;display:flex;gap:8px}.selection-bar{flex-wrap:wrap;padding:12px;bottom:12px}.selection-bar>div{flex-basis:100%}.selection-bar .primary{flex:1}.selection-bar span{font-size:10px}.mobile-tools{display:flex;justify-content:center;gap:5px;margin-top:15px}.page-footer{font-size:10px;gap:12px;line-height:1.7}.preview-banner{font-size:10px;padding:8px 10px}.login-shell{display:flex;flex-direction:column;padding:27px 22px;gap:28px}.login-intro{width:100%}.login-intro .brand{margin-bottom:28px;font-size:20px}.login-intro h1{font-size:30px;line-height:1.35}.login-intro h1 br:nth-child(2){display:none}.login-intro>p:not(.eyebrow){font-size:12px;margin-top:16px}.flow-example,.login-intro>small{display:none}.login-card{padding:25px;width:100%}.login-card h2{font-size:22px}.login-card>p{font-size:12px}.login-card form{margin-top:20px}.dialog-top{padding:18px}.dialog-top h2{font-size:18px}#dialog-body{padding:18px}.form-grid{gap:14px;grid-template-columns:1fr}.span-two{grid-column:1}.return-row{padding:12px}.return-heading b{font-size:14px}.return-heading small{font-size:11px}.return-quantities{gap:10px}.return-quantities strong{font-size:23px}.return-quantities label{font-size:11px}.return-quantities input{font-size:18px}.dialog-actions .primary{flex:1}.user-row{flex-wrap:wrap}.table-wrap table{min-width:650px}dialog{max-height:92vh}#toast{font-size:12px;bottom:15px}}

.workspace-name{display:block;font-size:13px;line-height:1.6}.workspace-name span{display:block;width:fit-content;margin-top:7px}
.choice-field{position:relative;min-width:0;display:flex;flex-direction:column;gap:8px}.choice-control{display:flex;min-width:0}.choice-control input{min-width:0;border-radius:7px 0 0 7px}.choice-control input[readonly]{border-radius:7px}.choice-toggle{white-space:nowrap;flex:none;border:1px solid #d9e2dd;border-left:0;border-radius:0 7px 7px 0;background:#edf4ef;color:#315c47;min-height:43px;padding:8px 12px;font-size:12px}.choice-options{position:absolute;z-index:20;top:72px;left:0;right:0;max-height:220px;overflow:auto;background:white;border:1px solid #b9d2c2;border-radius:8px;box-shadow:0 8px 24px #143c2526;padding:5px}.choice-options button{display:block;text-align:left;width:100%;border-radius:5px;background:white;color:#31513e;font-size:14px;font-weight:500;min-height:38px;padding:9px 11px;overflow-wrap:anywhere}.choice-options button:hover,.choice-options button:focus-visible,.choice-options button[aria-selected=true]{background:#e7f2eb;outline:none}.choice-empty{font-size:12px;color:#7a9082;line-height:1.8;padding:12px}
.author-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 15px;border:1px solid #dde8df;border-radius:8px;background:#f3f7f4;margin-bottom:20px;font-size:13px}.author-strip>span{color:#789081}.author-strip strong{color:#31583e;font-weight:600;overflow-wrap:anywhere}.author-strip small{margin-left:auto;color:#879b8b;font-size:11px}.author-cell{min-width:105px;max-width:180px;font-size:12px;overflow-wrap:anywhere}.author-cell b{display:block;font-size:12px;font-weight:500;color:#526b5a}.author-cell span{display:block;font-size:11px;color:#8a9e90}.lot-author{margin:12px 0 0 27px;color:#7d9485;font-size:11px;overflow-wrap:anywhere}

.sync-notice{margin:0 24px 16px;padding:12px 14px;border-radius:8px;background:#fff4d9;color:#705116;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
/* Preserve complete imported names and notes at every viewport width. */
.customer-cell,.customer-cell b,.customer-cell span,.lot-card .lot-site,.lot-card-top b,.memo-cell,.lot-note{white-space:pre-wrap!important;overflow-wrap:anywhere;word-break:normal;overflow:visible;text-overflow:clip}
.customer-cell{min-width:170px;max-width:320px}.lot-card-top b{min-width:0}.lot-site{max-width:100%}.import-list td{white-space:pre-wrap;overflow-wrap:anywhere}
.table-wrap .memo-cell,.lot-card .lot-note{white-space:pre-wrap;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
