:root{--brand:#164fbc;--ink:#16253b;--muted:#768399;--line:#e1e8f1;--surface:#f3f6fc;--radius:18px}html{scroll-padding-top:90px}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif;color:var(--ink);background:var(--surface);font-size:15px;line-height:1.55}button,input,select,textarea{font-family:inherit}button{transition:background .15s,border-color .15s,box-shadow .15s}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #87aef9;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}button.primary,button[aria-pressed=true]{background:var(--brand);border-color:var(--brand);box-shadow:0 3px 8px #164fbc12}button.primary:hover{background:#103e99}input,select,textarea{border-color:#dce3ee;background:#fff;min-height:48px;border-radius:10px}input:focus,select:focus,textarea:focus{outline:2px solid #b0c9fb;outline-offset:0;border-color:var(--brand)}input::placeholder,textarea::placeholder{color:#9ca8ba}label{color:#516078;font-size:13px;font-weight:550}h1,h2,h3{color:#14243c;letter-spacing:-.5px}h1{font-size:26px}h2{font-size:18px}p.muted,.muted,small{color:var(--muted)}a{color:var(--brand);font-weight:600;text-decoration:none}header.app-header{height:82px;padding:10px max(24px,calc((100vw - 1120px)/2));position:sticky;top:0;z-index:20;background:#ffffffed;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);flex-wrap:nowrap;gap:12px}.company-logo{width:203px;height:56px;object-fit:contain}header #who{font-size:11px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#header-account{order:4;width:40px;height:40px;min-height:40px;padding:9px;border:1px solid var(--line);border-radius:50%;background:#f7f9fe;flex:none}#header-account svg{width:20px;height:20px}#screen-back{border:0;background:transparent;font-size:36px;width:32px;min-height:44px;line-height:1;padding:0}#screen-title{font-size:21px;font-weight:750;flex:1}main{max-width:1120px;padding:28px 24px 110px;margin:auto}#legacy-nav{display:none!important}#message:empty{display:none}#message:not(:empty){background:#fff0ed;padding:12px 16px;border-radius:12px;border:1px solid #ffd7d0;margin:0 0 18px}.panel{border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin:18px 0;box-shadow:0 2px 5px #203d5e03}.panel .panel{box-shadow:none}.row{gap:8px}.page-heading{margin-bottom:24px}.page-heading h1{margin:3px 0 5px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:#6081b4}.home-intro{display:flex;align-items:center;justify-content:space-between;margin:0 0 24px}.home-intro h1{font-size:25px;margin:5px 0}.home-intro p{font-size:13px;color:var(--muted);margin:0}.brand-seal{font-size:0;width:62px;height:62px;background:#fff url('/icon-192-v17.png') center/90px no-repeat;border:1px solid #e5ecf6;border-radius:18px}.home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.menu-tile{padding:23px 12px;min-height:155px;border:1px solid #dfe7f5;border-radius:18px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 3px 7px #1e498008;gap:10px;min-width:0}.menu-tile:hover{background:#eef4ff;border-color:#9cbcf6;box-shadow:0 4px 16px #235bc413}.menu-tile svg{width:40px;height:40px;color:var(--brand)}.menu-tile strong{font-size:18px;letter-spacing:-.5px}.menu-tile span{font-size:11px;color:#8491a5;font-weight:400}.home-status{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:16px;padding:17px 20px;margin:22px 0 0}.home-status strong{font-size:13px}.home-status p{font-size:12px;color:var(--muted);margin:3px 0 0}.status-dot{width:8px;height:8px;background:#3f8d76;border-radius:50%;flex:none}.home-status button{margin-left:auto;min-height:34px;width:34px;padding:3px;font-size:23px;border:0;color:#8a9bb6}.home-footer{text-align:center;color:#9ba8bd;font-size:11px;margin-top:24px}#bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:25;justify-content:center;gap:42px;background:#ffffffed;border-top:1px solid #e2e8f3;backdrop-filter:blur(14px);padding:9px 12px max(10px,env(safe-area-inset-bottom));margin:0}#bottom-nav button{min-width:92px;min-height:52px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#929fb3;font-size:11px;padding:2px 12px}#bottom-nav button svg{width:22px;height:22px}#bottom-nav button[aria-current=page]{color:var(--brand);font-weight:750}#bottom-nav button[aria-current=page]::before{content:'';position:absolute;top:0;width:26px;height:3px;background:var(--brand);border-radius:0 0 4px 4px}#search-view>h1,#admin-heading{margin-bottom:18px}#search-view #query,#quote-query,#inventory-query,#customers-query{padding-left:18px;background:#fff;box-shadow:0 2px 7px #163b7005}#products button{background:#fff;border-color:#dce5f3;border-radius:11px}#products button[aria-pressed=true]{background:var(--brand);color:#fff}#selection{box-shadow:none;background:#f9fbff}#selection label{font-size:11px}#query-card{border-color:#d5e2f7}#query-card h2{font-size:24px}#query-card .metrics{gap:10px}#query-card .metric{background:#f2f6fd;padding:17px 14px}#query-card .metric b{font-size:24px;letter-spacing:-.6px;margin:5px 0;color:#20365b}#query-card .stock-summary{font-weight:650;font-size:13px;background:#edf4ff;border:1px solid #dfebff}#query-card .notice{font-size:13px;background:#edf4ff}.notice{border-radius:12px}.calc-tabs button{font-size:13px;border-radius:10px}.quote-result{background:#f4f7fd;border:1px solid #e6edf7}.quote-steps{display:flex;align-items:center;justify-content:center;gap:14px;color:#9ba7b9;font-size:12px;margin:0 0 24px}.quote-steps i{height:1px;width:38px;background:#dce3ef}.quote-steps .active{font-weight:700;color:var(--brand)}.section-number{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:8px;font-size:11px;color:var(--brand);background:#edf3ff;margin-right:7px;letter-spacing:0}#quote-profile-panel{background:#f8faff;padding:15px 20px}#quote-profile-panel summary{font-size:13px;font-weight:600;color:#526b91}#quote-form{max-width:920px;margin:auto}#quote-view .page-heading,#quote-profile-panel,#quote-view .quote-steps{max-width:920px;margin-left:auto;margin-right:auto}.quote-contact-panel{display:grid;grid-template-columns:1fr 1fr;gap:5px 20px}.quote-contact-panel>h2,.quote-contact-panel>.metrics,.quote-contact-panel>p,.quote-contact-panel>details{grid-column:1/-1}.quote-contact-panel>.metrics{grid-template-columns:1fr 1fr}.quote-contact-panel label{margin:7px 0}.quote-contact-panel>details{padding-top:12px;margin-top:8px;border-top:1px solid #eef1f6}.quote-contact-panel summary{font-size:12px;color:#6f829f}#quote-sender{font-size:11px;background:#f5f8fe;border-radius:8px;padding:8px 12px;margin:6px 0}#quote-add-selected{border-color:#ceddf6;color:var(--brand);font-size:12px;background:#f9fbff;min-height:38px;padding:7px 11px}#quote-items:empty::after{content:'제품을 검색해서 견적 품목을 추가하세요.';display:block;background:#f8faff;border:1px dashed #cfdaeb;border-radius:12px;text-align:center;padding:32px 16px;margin-top:20px;color:#8c9bb1;font-size:13px}.quote-item{padding:16px;border-radius:12px;margin:14px 0;background:#fff;border-color:#dfe7f4}.quote-item>strong{font-size:15px}.quote-item-fields{grid-template-columns:1fr 1.4fr .8fr;margin-top:10px;gap:10px}.quote-item-fields label{font-size:11px;margin:0}.quote-item>button{margin-top:10px;color:#9d4c4c;border:0;background:#fff7f7;min-height:32px;padding:4px 10px;font-size:11px}#quote-total{background:#eef4ff;color:#154aaa;font-weight:700;font-size:17px;line-height:1.8;margin-top:24px;padding:20px}#quote-save{display:block;width:100%;margin-top:22px;height:52px;font-size:16px}#quote-send{width:100%;height:52px;font-size:15px}#quote-history>.quote-history-entry{padding:18px 0}#quote-history strong{font-size:17px}#quote-history p{font-size:12px;color:#8a96a9}#quote-history button{font-size:12px;color:var(--brand);border-color:#d9e4f8}#quote-review{padding:20px;margin-top:0}#quote-review-info{font-size:12px;line-height:1.8;background:#f5f8fc;padding:16px;border-radius:12px}#quote-review .row a{padding:11px 12px;border:1px solid #d5dfed;border-radius:9px;font-size:12px;background:#fff}#quote-copy{font-size:12px}#quote-review #quote-send-form{padding-top:14px;margin-top:18px;border-top:1px solid var(--line)}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;color:#687c9b;font-size:12px}.preview-toolbar button{min-height:34px;padding:5px 10px;font-size:12px;background:#f7f9fd}.preview-toolbar .row{gap:5px}#paper-viewport{overflow:auto;background:#e9eef6;padding:18px 0;border-radius:10px;border:1px solid #dce4f0}#paper-scale{margin:0 auto;position:relative;flex:none}#quote-paper{box-sizing:border-box;background:white;width:700px;min-height:990px;padding:44px 36px 38px;color:#111;font-family:'Malgun Gothic',sans-serif;transform-origin:top left;box-shadow:0 2px 9px #1a35561c}#quote-paper h2{text-align:center;font-size:26px;color:#111;margin:0 0 24px;letter-spacing:7px}.paper-parties{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}.paper-parties>div{border:1px solid #333}.paper-parties>div:first-child{display:flex;flex-direction:column}.paper-parties table{width:100%;white-space:normal;table-layout:fixed}.paper-parties th{width:80px;font-size:10px;background:#f5f5f5;text-align:center;color:#111;padding:5px 3px;border-right:1px solid #555;border-bottom:1px solid #777}.paper-parties td{font-size:10px;padding:5px 6px;border-bottom:1px solid #777;overflow-wrap:anywhere;color:#111}.paper-parties tr:last-child td,.paper-parties tr:last-child th{border-bottom:0}.paper-parties p{border-top:1px solid #777;font-size:10px;padding:12px 7px;margin:auto 0 0;line-height:1.7}.paper-logo{height:73px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #777}.paper-logo img{width:200px;height:auto}.paper-grand-total{display:flex;justify-content:space-between;border:2px solid #333;padding:8px 10px;font-size:12px;margin:12px 0}.paper-grand-total b{font-size:13px}.paper-items{white-space:normal;width:100%;table-layout:fixed}.paper-items th,.paper-items td{font-size:10px;border:1px solid #999;color:#111;padding:8px 5px;overflow-wrap:anywhere}.paper-items th{background:#f3f3f3;text-align:center}.paper-items th:nth-child(1){width:52px}.paper-items th:nth-child(2){width:230px}.paper-items td:nth-child(n+3){text-align:right}.paper-items td:empty{height:29px}.paper-totals{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;margin-top:16px}.paper-totals strong{margin-left:auto;font-size:14px}.paper-notes{font-size:11px;white-space:pre-wrap;margin-top:22px;min-height:50px}#quote-paper footer{font-size:10px;border-top:1px solid #ccc;padding-top:10px;color:#555;margin-top:30px}.pdf-original{margin:16px 0 24px}.pdf-original summary{font-size:12px;color:#6b7f9e}.pdf-original iframe{width:100%;height:70vh;border:1px solid #dce3ed;border-radius:8px;margin-top:12px}.pdf-original p{font-size:11px}#preview-zoom-in,#preview-zoom-out{width:34px}.record-card{display:flex;align-items:center;width:100%;gap:14px;background:#fff;border-radius:14px;border:1px solid var(--line);padding:18px;margin:12px 0;text-align:left}.record-card>svg{width:28px;height:28px;color:var(--brand);flex:none}.record-card>span{flex:1;min-width:0}.record-card strong{font-size:14px;display:block;overflow-wrap:anywhere}.record-card small{display:block;font-size:11px;margin-top:5px}.record-card>b{font-size:21px;color:var(--brand);white-space:nowrap}.record-card>i{font-size:25px;color:#adb9cb;font-style:normal}.customer-card summary{font-weight:650;font-size:15px}.customer-product{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e6ecf4;border-radius:0;padding:15px 0;font-size:12px}.empty-state{background:white;border:1px dashed #d6e1f0;border-radius:14px;text-align:center;padding:36px 20px;color:#8594ab;font-size:13px;margin:18px 0}#admin-view>.home-grid{margin-top:22px}#admin-menu-back{margin-bottom:5px;border:0;padding:0 6px;background:transparent;color:var(--brand);font-size:13px}#registrations-view>.row{margin-top:14px}#registrations-view h1{font-size:24px}#history-list{padding:0;border:0;background:transparent;box-shadow:none}#history-list>.panel{padding:18px}#registrations-view button{font-size:12px}.history-entry{padding:18px 0}.history-entry .history-price{font-size:22px;color:var(--brand)}.brand-setting{background:#fafdff;border-color:#dbe5f5}.brand-setting .public-badge{font-size:12px;font-weight:600}#login{max-width:440px;margin:50px auto;padding:32px}#login h1{margin-bottom:20px}#login button.primary{width:100%;margin-top:20px}#install-panel{max-width:440px;margin:20px auto}body:not([data-screen]) #header-account{display:none}
@media(min-width:1000px){#quote-preview-view{max-width:980px;margin:auto}#quote-review{padding:28px}#quote-history-view{max-width:920px;margin:auto}}
@media(max-width:600px){html{scroll-padding-top:74px}body{font-size:14px}header.app-header{height:70px;padding:9px 16px;gap:8px}.company-logo{width:190px;height:52px}header #who{display:none}header #screen-title{font-size:18px}#header-account{margin-left:auto;width:36px;height:36px;min-height:36px;padding:8px}#screen-back{font-size:34px;width:25px}main{padding:20px 16px 105px;max-width:100%}h1{font-size:23px}h2{font-size:17px}.panel{padding:18px;margin:14px 0;border-radius:16px}.home-intro{margin-bottom:20px}.home-intro h1{font-size:21px}.home-intro .eyebrow{font-size:8px}.home-intro p{font-size:12px}.brand-seal{width:50px;height:50px;background-size:74px;border-radius:14px}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.menu-tile{min-height:131px;border-radius:16px;padding:17px 8px;gap:8px}.menu-tile svg{width:35px;height:35px}.menu-tile strong{font-size:17px}.menu-tile span{font-size:10px;letter-spacing:-.2px}.home-status{padding:14px;margin-top:18px}.home-status strong{font-size:12px}.home-status p{font-size:10px}.home-footer{margin-top:18px;font-size:10px}#bottom-nav{gap:0;justify-content:space-around;padding:6px 8px max(9px,env(safe-area-inset-bottom))}#bottom-nav button{width:25%;min-width:0;font-size:10px;padding:4px;min-height:48px}#bottom-nav button svg{width:21px;height:21px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.eyebrow{font-size:9px}#search-view>h1{display:none}#updated{margin:0 0 14px}#search-view>#products{max-height:128px}#query-card .metric{padding:10px 7px}#query-card .metric b{font-size:clamp(13px,3.9vw,18px)}#query-card h2{font-size:21px}#query-card .metric small{font-size:9px}#selection{background:#fff;padding:12px}#quote-profile-panel{padding:12px 15px}.quote-steps{font-size:10px;gap:10px;margin-bottom:16px}.quote-steps i{width:25px}.quote-contact-panel{grid-template-columns:1fr;gap:5px}.quote-contact-panel>.metrics{gap:10px}.quote-contact-panel>label{grid-column:1/-1}.quote-contact-panel label{font-size:12px}#quote-form .panel{padding:17px}#quote-sender{font-size:10px}.quote-item{padding:13px}.quote-item>strong{font-size:14px}.quote-item-fields{grid-template-columns:1fr 1.3fr;gap:8px}.quote-item-fields label:nth-child(3){grid-column:1/-1}.quote-item-fields label:nth-child(3) input{min-height:36px;padding:7px 10px;font-size:13px}#quote-total{font-size:14px;padding:16px}#quote-review{padding:12px}#quote-review-info{padding:12px;font-size:11px}#quote-review .row{gap:6px}#quote-review .row a,#quote-copy{font-size:11px;padding:9px}#quote-send{font-size:14px}.preview-toolbar{font-size:10px;gap:6px}.preview-toolbar .row{gap:3px}.preview-toolbar button{font-size:10px;padding:4px 7px;min-height:31px}#paper-viewport{padding:8px 0;border-radius:7px}.record-card{padding:14px;gap:10px}.record-card strong{font-size:13px}.record-card>b{font-size:18px}.record-card small{font-size:10px}.customer-card summary{font-size:14px}#registrations-view h1{font-size:23px}#registrations-view>.muted{font-size:12px}#history-list>.panel{padding:16px}.history-price{font-size:20px}.history-entry .muted{font-size:11px}#login{margin:22px 0;padding:24px}#admin-menu{gap:10px}#admin-menu .menu-tile{min-height:120px}#admin-menu .menu-tile strong{font-size:15px}.brand-setting{padding:12px}.brand-setting strong{font-size:15px}.brand-setting button{font-size:11px}}
@media(max-width:350px){.home-intro h1{font-size:19px}.menu-tile{min-height:119px}.menu-tile strong{font-size:15px}.menu-tile span{font-size:9px}.menu-tile svg{width:31px;height:31px}.company-logo{width:180px}main{padding-left:12px;padding-right:12px}.quote-steps{gap:6px}}
.material-card-heading{display:flex;gap:12px;align-items:center}.material-card-heading>div{min-width:0}.material-card-heading strong{display:block;overflow-wrap:anywhere;font-size:16px}.material-card-heading p{font-size:11px;margin:4px 0 0}.file-badge{display:inline-flex;min-width:47px;height:49px;border:1px solid #d7e4fa;border-radius:10px;align-items:center;justify-content:center;font-size:11px;font-weight:750;color:var(--brand);background:#eff5ff}.material-card>.public-badge,.material-card>.private-badge{font-size:11px;margin:12px 0}.material-card .row button,.material-card .row a{font-size:12px;min-height:36px;padding:8px 10px}.material-card .row a{border:1px solid #d5dfec;border-radius:8px}.material-card .row label{font-size:12px;margin:0}.material-card .row input[type=checkbox]{min-height:22px;width:19px!important;height:19px}#material-selected{white-space:pre-wrap;font-size:12px;overflow-wrap:anywhere}#material-category-filter{flex:1;min-width:120px}#material-send-review{width:100%;margin-top:12px}#material-upload-panel summary,#material-profile-panel summary,#quote-attachment-panel summary{font-size:13px;font-weight:650;color:#3b5d91}#material-preview-dialog{width:min(94vw,900px);border:1px solid #dae3ef;border-radius:16px;padding:16px;max-height:94vh;color:#17263b}#material-preview-dialog::backdrop{background:#12294980}#material-preview-dialog>.row{justify-content:space-between}#material-preview-title{overflow-wrap:anywhere;max-width:75%}#material-preview-content{padding:16px 0}#material-preview-content iframe{width:100%;height:66vh;border:1px solid #e1e7f0;border-radius:8px}#material-preview-content img{display:block;max-width:100%;max-height:66vh;margin:auto;object-fit:contain}#material-preview-dialog a{padding:8px;font-size:13px}.attachment-option{display:flex;gap:10px;align-items:center;border-bottom:1px solid #e5ebf5;padding:10px 0;font-size:12px;margin:0}.attachment-option input{min-height:20px;flex:none}.attachment-option span{overflow-wrap:anywhere}#quote-attachment-panel{padding:14px 0;margin-bottom:16px;border-bottom:1px solid #e3eaf4}#quote-attachment-picker{max-height:320px;overflow:auto}#quote-attachment-review{padding-top:18px}.saved-attachment{display:block;padding:11px 12px;border:1px solid #dce6f5;border-radius:9px;margin:8px 0;font-size:12px;overflow-wrap:anywhere}.history-delete{color:#aa4545;font-size:12px;margin-left:8px}#product-materials button{font-size:12px;margin:4px;padding:8px;min-height:36px}#material-count{font-size:11px}@media(max-width:600px){.material-card-heading strong{font-size:14px}.material-card .row{gap:6px}.material-card .row button,.material-card .row a{font-size:11px;padding:7px 9px}#material-preview-dialog{padding:12px}#home-grid>.menu-tile:last-child:nth-child(odd){grid-column:1/-1;min-height:83px;flex-direction:row;gap:14px}#home-grid>.menu-tile:last-child:nth-child(odd)>span{display:none}#material-category-filter{font-size:14px}.saved-attachment{font-size:11px}}

#material-file{width:100%;min-width:0;max-width:100%}#material-profile-form{padding:12px 0}#material-send-panel details{margin:12px 0}#material-send-panel label{font-size:12px}

.share-qr-wrap{text-align:center;margin:22px 0}.share-qr-wrap img{width:240px;max-width:100%;height:auto;border:1px solid #e0e7f2;border-radius:12px;padding:12px;background:#fff}.share-qr-wrap p{font-size:12px}#share-url{font-size:14px;background:#f7faff}#share-invitation{font-size:13px}#share-view .panel>p{font-size:13px}#share-view ol{padding-left:20px;font-size:13px;line-height:1.9}
