:root{font-family:system-ui,-apple-system,"Noto Sans KR","Malgun Gothic",sans-serif;color:#1d2d40;background:#f4f6fa;font-size:15px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.app-shell{max-width:590px;margin:0 auto;min-height:100dvh;background:#f6f8fb;box-shadow:0 0 28px #15263b12}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.45;cursor:not-allowed}.topbar{height:75px;padding:12px 20px;background:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ebeff4}.brand{display:flex;gap:10px;align-items:center}.brand img{height:46px;width:46px;object-fit:cover;border:1px solid #f0f0f0;border-radius:12px}.brand strong{display:block;font-size:15px;letter-spacing:-.4px}.brand small{display:block;color:#8692a1;font-size:11px;margin-top:2px}.privacy-mark{font-size:10px;color:#427e69;background:#edf8f0;border-radius:20px;padding:7px 9px;white-space:nowrap}main{padding:0 16px 108px;min-height:calc(100dvh - 150px)}.view{display:none}.view.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:25px 4px 18px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#6385a9}.page-heading h1{font-size:25px;margin:3px 0 4px;letter-spacing:-1.2px}.page-heading p{font-size:12px;margin:0;color:#8290a1}.icon-button{background:#142b44;color:white;border:0;border-radius:15px;font-size:30px;width:43px;height:43px;line-height:1}.supplier-strip{background:#eaf1f8;border:1px solid #dae6f2;display:flex;gap:12px;border-radius:16px;padding:11px;margin-bottom:12px;align-items:center}.supplier-strip img{width:55px;height:55px;object-fit:cover;border-radius:10px}.supplier-strip strong{font-size:13px}.supplier-strip p{margin:4px 0 0;font-size:11px;color:#647b91}.lock{font-size:9px;color:#54738c;border:1px solid #adc3d6;border-radius:7px;padding:2px 5px;font-weight:500}.card{background:#fff;border:1px solid #edf0f4;border-radius:17px;padding:19px 16px;margin:12px 0;box-shadow:0 3px 13px #16345a07}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:17px}.card h2{font-size:16px;margin:0 0 16px;letter-spacing:-.5px}.section-heading h2{margin:0}.text-button{border:0;background:none;color:#245d97;font-size:11px;font-weight:700;padding:5px 0}.hint{font-size:11px;color:#8b96a5}label{display:block;font-size:12px;font-weight:700;color:#4a5a6e;margin:0 0 14px}label em{color:#dc5959;font-style:normal}input,select,textarea{width:100%;min-height:46px;border:1px solid #dfe5ed;background:#fff;padding:11px 12px;border-radius:10px;outline:0;margin-top:7px;color:#1d2d40;font-size:14px}input:focus,textarea:focus,select:focus{border-color:#457db4;box-shadow:0 0 0 3px #457db41c}input[readonly]{background:#f4f6f9;color:#62738a}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field-grid label{min-width:0}.small-add{border:1px solid #d7e3f2;color:#2d6093;background:#f2f7fd;border-radius:9px;font-size:11px;padding:8px 11px;font-weight:700}.item{border:1px solid #e6eaf0;border-radius:13px;padding:12px;margin:0 0 10px;background:#fbfcfe}.item-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}.item-count{font-size:11px;font-weight:800;color:#8090a5}.item-remove{border:0;background:transparent;color:#a15656;font-size:12px;font-weight:700}.item label{margin:0 0 7px}.item .field-grid{gap:9px}.item .field-grid input{font-variant-numeric:tabular-nums}.item-total{font-weight:800;text-align:right;font-size:14px;margin:3px 0 0}.add-item{width:100%;border:1.5px dashed #b8cada;border-radius:12px;background:#fff;color:#396e9c;font-weight:700;padding:13px;font-size:13px}.total-card select{margin:0;width:auto;min-height:34px;padding:7px;font-size:11px;border-radius:8px;max-width:182px}.total-row{display:flex;justify-content:space-between;margin-bottom:13px;color:#5e6d7d}.total-row strong{color:#25384c}.grand-total{background:#142b44;border-radius:12px;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:17px 13px;margin-top:8px;font-size:13px}.grand-total strong{font-size:23px;letter-spacing:-.9px}.action-bar{display:grid;grid-template-columns:.83fr .83fr 1.2fr;gap:7px;margin:18px 0 25px}.btn{border:none;border-radius:12px;min-height:49px;padding:10px 12px;font-weight:800;font-size:13px}.btn.primary{background:#142b44;color:white}.btn.secondary{background:#e6edf5;color:#284c70}.btn.danger{background:#c94343;color:white}.btn.full{width:100%}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);max-width:590px;width:100%;background:#fff;display:flex;justify-content:space-around;border-top:1px solid #e6eaf0;padding:9px 7px max(10px,env(safe-area-inset-bottom));box-shadow:0 -3px 15px #142b440b}.nav{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:68px;border:0;background:none;color:#8995a2;font-size:10px;font-weight:700;padding:2px}.nav-icon{font-size:22px;line-height:26px}.nav.active{color:#1e4f7b}.nav.active .nav-icon{background:#e7f0f8;min-width:48px;border-radius:12px}.search-wrap{margin-top:3px;margin-bottom:16px}.stack{display:grid;gap:10px;margin-top:13px}.record{background:#fff;border:1px solid #e7edf4;border-radius:15px;padding:15px;box-shadow:0 2px 9px #142b4408}.record-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.record h3{font-size:15px;margin:0 0 5px;word-break:break-word}.record .record-info{font-size:11px;color:#8996a4;margin:2px 0}.record .price{font-weight:800;color:#143554;font-size:16px;white-space:nowrap}.record-actions{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid #edf0f3;margin-top:12px;padding-top:12px}.record-actions button{padding:9px 10px;border:0;border-radius:9px;background:#edf3fa;color:#2a5989;font-size:11px;font-weight:700}.record-actions button.delete{background:#fbeded;color:#b04b4b}.empty{background:#fff;border:1px dashed #cbd5e0;border-radius:16px;text-align:center;padding:40px 15px;color:#8491a0;font-size:13px}.supplier-settings{text-align:center}.supplier-settings img{height:110px;width:110px;object-fit:cover}.supplier-settings p{font-size:12px;color:#54657b;margin:7px}.muted{color:#8390a0!important;font-size:12px;line-height:1.65}.settings-actions{display:flex;gap:8px}.settings-actions>*{flex:1}.warning-card{background:#fffaf0;border-color:#f4e5bd}.warning-card p{font-size:12px;line-height:1.7;color:#7b6b4e}#toast{z-index:30;position:fixed;bottom:98px;left:50%;transform:translateX(-50%);background:#18334f;color:white;padding:12px 16px;border-radius:12px;box-shadow:0 5px 20px #0002;max-width:90vw;min-width:180px;text-align:center;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}.dialog-backdrop{z-index:40;position:fixed;inset:0;background:#182b40a8;display:flex;justify-content:center;align-items:center;padding:25px}.dialog-backdrop.hidden{display:none}.dialog{width:100%;max-width:420px;background:white;padding:22px;border-radius:16px}.dialog h3{margin:0 0 10px}.dialog p{color:#536376;font-size:13px;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.dialog-actions .btn{min-width:90px}@media(max-width:340px){main{padding-inline:11px}.field-grid{gap:6px}.action-bar{gap:4px}.btn{font-size:11px;padding-inline:6px}.grand-total strong{font-size:19px}}

/* v3: saved-items & revision UX */
.bottom-nav .nav{min-width:0;padding:7px 1px;gap:3px;font-size:10px}
.bottom-nav .nav .nav-icon{font-size:21px}
.catalog-cta{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.catalog-cta .add-item{font-size:13px;padding:13px 4px}
.preset-add{background:#eaf2fb!important;border-color:#b5cfe8!important;color:#16476c!important}
.picker-dialog{width:min(94vw,460px);max-height:85dvh;overflow:auto}
.picker-title{display:flex;justify-content:space-between;align-items:center;gap:15px}
.picker-title h3{margin:0;font-size:19px}
.picker-title .item-remove{position:static}
.picker-list{max-height:54dvh;overflow-y:auto;margin:12px 0;display:flex;flex-direction:column;gap:8px}
.picker-choice{border:1px solid #dbe5ee;background:white;color:#182e43;border-radius:12px;padding:13px;display:flex;gap:12px;justify-content:space-between;align-items:center;text-align:left;width:100%;font:inherit}
.picker-choice strong{display:block;font-size:15px}
.picker-choice small{display:block;color:#7b8795;margin-top:4px;font-size:12px}
.picker-choice b{font-size:14px;white-space:nowrap}
.picker-plus{font-size:18px;color:#25639a;margin-left:4px}
.status-pill{display:inline-block;border-radius:100px;padding:4px 9px;font-size:11px;font-weight:700;margin:7px 7px 0 0;background:#e9f0f8;color:#24557c}
.status-sent{background:#e4edff;color:#264eaa}
.status-confirmed{background:#e6f6e9;color:#267c3e}
.status-canceled{background:#f4e6e6;color:#a33b40}
.revision-caption{color:#79899b;font-size:11px}
.revision-record{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e6ecf3}
.revision-record p{font-size:12px;color:#778596;margin:6px 0 0}
.mini-btn{white-space:nowrap;border:1px solid #bdd4e7;border-radius:8px;background:#edf4fa;color:#1b4a72;padding:9px 11px;font-weight:700}
.compact{font-size:12px!important;margin:8px 0 0!important;line-height:1.5}
@media(max-width:370px){.bottom-nav .nav{font-size:9px}.catalog-cta{grid-template-columns:1fr 1fr}.picker-choice{padding:10px}}
