/* Approved inventory mockup. Shell changes are scoped to this screen only. */
body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav button:not([data-nav="재고리스트"]):before{display:none}
body.crm-ui:has(.inventory-workspace){--ui-accent:#1b6553;--ui-accent-soft:#e7f2ee;--ui-ink:#17252f;--ui-text:#475b6d;--ui-muted:#7d8c99}
body.crm-ui:has(.inventory-workspace) .frame>.top{padding-left:0;height:68px}
body.crm-ui:has(.inventory-workspace) .frame>.top .brand{align-self:stretch;min-width:220px;padding:0 22px;background:#1b282a;color:#fff;font-size:19px}
body.crm-ui:has(.inventory-workspace) .frame>.top .brand-mark{background:transparent;border-radius:0}
body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav{background:#1b282a;border-color:#2d3a3c;padding:26px 13px 20px;gap:23px}
body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav button{color:#dce5e5;font-size:13px;min-height:43px;padding:10px 13px;display:flex;align-items:center;gap:12px}
body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav button:before{content:"";display:inline-block;flex:0 0 17px;width:17px;height:17px;background:currentColor;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="none" stroke="black" stroke-width="1.5" d="M4 3h6v7H4zm10 0h6v7h-6zM4 14h6v7H4zm10 0h6v7h-6z"/%3E%3C/svg%3E') center/contain no-repeat}
body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav button[data-nav="재고리스트"]:before{mask-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="none" stroke="black" stroke-width="1.5" d="m4 10 2-6h12l2 6M3 10h18v8H3zM6 18v3m12-3v3M6 13h2m8 0h2"/%3E%3C/svg%3E')}
body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav button.active{background:#36564e;color:#f3fffa;border-left:0}
body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav button:hover{background:#2b403e}
body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav :is(.nav-caption,.nav-group>summary,.nav-foot){color:#9fb6be;border-color:#344245}
body.crm-ui:has(.inventory-workspace) .frame>.layout>.main{padding:25px 28px 35px;background:#f4f7f9}
.crm-ui .inventory-workspace{max-width:1700px;margin:0 auto;--inv-border:#e0e7ed;--inv-green:#1b6553;color:#203140;font-family:var(--ui-font)}
.inventory-workspace svg{width:20px;height:20px;flex-shrink:0}
.crm-ui .inventory-workspace :is(button,select,input){font-family:inherit;font-size:12px}
.crm-ui .inventory-workspace button{cursor:pointer;border:1px solid #dce5ed;background:#fff;color:#42576b;padding:8px 13px;border-radius:7px;min-height:36px;box-shadow:none}
.crm-ui .inventory-workspace button:hover:not(:disabled){background:#eef5f2;border-color:#b4cfc5}
.crm-ui .inventory-workspace button:disabled{cursor:default;opacity:.4}
.crm-ui .inventory-workspace h1{font-size:28px;line-height:1.25;letter-spacing:-1px;margin:0 0 8px;color:#14242e;font-weight:750}
.inv-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.inv-heading p{margin:0;color:#7b8c9b;font-size:14px}
.inv-heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.crm-ui .inv-heading-actions button,.inv-upload{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px;font-size:13px;font-weight:600;white-space:nowrap}
.inv-upload{position:relative;overflow:hidden;color:white;background:#1d6554;border:1px solid #195947;border-radius:7px;cursor:pointer}
.inv-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.inv-upload:focus-within{outline:2px solid #7cae9f;outline-offset:3px}
.inv-info-bar{display:flex;align-items:center;gap:14px;padding:14px 20px;border:1px solid var(--inv-border);border-radius:9px;background:#fff;font-size:12px;min-height:53px;color:#607184}
.inv-info-bar>svg{color:#526b7d}.inv-info-bar strong{color:#213b49;font-weight:700}.inv-info-bar i{height:14px;width:1px;background:#ccd6df}
.crm-ui .inv-info-bar button{border:0;color:#1b6553;font-size:12px;font-weight:650;padding:0;min-height:22px;background:transparent;display:flex;align-items:center;gap:9px}.crm-ui .inv-info-bar .inv-reload{margin-left:auto;color:#748493;font-weight:400;font-size:11px}
.crm-ui .inventory-workspace .inv-feedback{margin:6px 0;min-height:15px;line-height:15px;font-size:11px;color:#2e6a58}
.inv-layout{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:18px;align-items:start}
.inv-results{min-width:0}.inv-brands{display:flex;gap:8px;margin:0 0 12px}
.crm-ui .inv-brands button{min-width:94px;height:38px;font-size:13px;font-weight:600}
.crm-ui .inv-brands button.selected{background:#1d6554;color:#fff;border-color:#1d6554}
.inv-models{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 18px}
.crm-ui .inv-models button{padding:6px 13px;min-height:32px;font-size:12px}
.crm-ui .inv-models button.selected{color:#1b6553;background:#e3efe9;border-color:#a4c4b8}
.crm-ui .inventory-workspace select{height:38px;min-width:115px;max-width:170px;border:1px solid #dce5ed;border-radius:7px;background:#fff;padding:7px 26px 7px 11px;color:#526679;font-size:12px}
.crm-ui .inv-models select{min-width:112px;height:32px;font-size:11px;margin-left:auto}
.inv-filters{display:flex;gap:8px;margin-bottom:16px}
.inv-search{display:flex;align-items:center;gap:9px;background:white;border:1px solid #dce5ed;border-radius:7px;padding:0 12px;flex:1;min-width:140px;color:#8d9eac}
.crm-ui .inventory-workspace .inv-search input{width:100%;min-width:0;border:0!important;padding:10px 0;background:transparent;outline-offset:5px;height:39px;font-size:12px}
.inv-stock-table{border:1px solid var(--inv-border);border-radius:9px 9px 0 0;background:#fff;overflow:auto;max-height:584px;scrollbar-color:#cbd7d8 transparent;scrollbar-width:thin}
.crm-ui .inv-stock-table table{width:100%;min-width:0;border-collapse:separate;border-spacing:0;table-layout:fixed;margin:0}
.crm-ui .inv-stock-table thead th{position:sticky;top:0;z-index:2;background:#f0f5f7;padding:12px 13px;text-align:left;color:#65798b;font-size:11px;font-weight:600;border-bottom:1px solid #e3eaef;white-space:nowrap}
.inv-stock-table th:nth-child(1){width:33%}.inv-stock-table th:nth-child(2){width:20%}.inv-stock-table th:nth-child(3){width:17%}.inv-stock-table th:nth-child(4){width:9%}.inv-stock-table th:nth-child(5){width:9%}.inv-stock-table th:nth-child(6){width:12%}
.crm-ui .inv-stock-table td{padding:13px 12px;border-bottom:1px solid #edf0f2;vertical-align:middle;font-size:11px;color:#40586a;background:#fff;height:77px}
.crm-ui .inv-stock-table tr.is-selected td{background:#eaf3ef}.crm-ui .inv-stock-table tr.is-selected td:first-child{box-shadow:inset 3px 0 #2c8068}
.crm-ui .inv-stock-table td:first-child{padding:7px 10px}
.crm-ui .inv-stock-table .inv-row-open{display:flex;align-items:center;width:100%;gap:9px;padding:6px 0;border:0;background:transparent;text-align:left;min-height:58px;overflow:hidden;color:#1d3341}
.inv-row-open>span{min-width:0;display:flex;flex-direction:column;gap:6px}.inv-row-open strong{font-size:12px;font-weight:650;color:#1a303e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inv-row-open small{font-size:10px;color:#8294a2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.inv-car{width:83px;height:51px;object-fit:contain;flex-shrink:0;mix-blend-mode:multiply}.inv-no-image{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#a4b3bb;min-width:75px}.inv-no-image small{font-size:8px}.inv-no-image svg{width:42px;height:30px}
.inv-colors{display:flex;align-items:flex-start;gap:7px;line-height:1.45}.inv-colors>i{flex:0 0 9px;width:9px;height:9px;border:1px solid #cad1d3;border-radius:50%;margin-top:3px}.inv-colors small{display:block;color:#8d9ba7;font-size:10px;margin-top:3px;max-height:30px;overflow:hidden}.crm-ui .inv-stock-table .inv-money{color:#263e4c;font-size:11px;font-weight:650;white-space:nowrap}.inv-kind{display:inline-block;padding:5px 7px;border-radius:6px;white-space:nowrap;font-size:10px;font-weight:600}.inv-kind.normal{color:#307362;background:#deeee7}.inv-kind.condition{color:#ab7737;background:#fff0d6}.inv-unconfirmed{color:#91a0ad;font-size:10px;white-space:nowrap}.inv-place small{display:block;color:#91a0ad;font-size:10px;margin-top:3px}.inv-empty{padding:70px;text-align:center;color:#92a0aa}.inv-empty>svg{width:45px;height:45px}
.inv-table-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;background:#fff;border:1px solid var(--inv-border);border-top:0;border-radius:0 0 9px 9px;font-size:10px;color:#81939f}.inv-table-footer>div{display:flex;align-items:center;gap:10px}.crm-ui .inv-table-footer button{min-height:26px;padding:3px 8px;font-size:10px}
.crm-ui .inventory-workspace .inv-caveat{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;margin:10px 0;background:#eaf0f4;color:#798c9c;font-size:10px;border-radius:7px;line-height:1.65}.inv-caveat svg{width:16px;height:16px;margin-top:1px}
.inv-detail{border:1px solid var(--inv-border);border-radius:10px;background:white;overflow:hidden;position:sticky;top:12px}
.inv-detail>header{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #e6edf1}.crm-ui .inv-detail h2{font-size:16px;font-weight:700;margin:0}.inv-source-tag{font-size:9px;color:#9caab3}.inv-detail-body{padding:12px 18px 8px}.inv-detail-picture{display:flex;align-items:center;justify-content:center;height:133px}.inv-large-car{max-width:100%;width:270px;height:140px;object-fit:contain}.crm-ui .inv-detail .inv-image-note{text-align:center;font-size:8px;color:#a3afb8;margin:0 0 13px}.crm-ui .inv-detail h3{font-size:21px;letter-spacing:-.7px;line-height:1.3;margin:0 0 7px;color:#1b2e39;font-weight:750}.crm-ui .inv-detail .inv-description{font-size:11px;color:#8a9aa8;line-height:1.65;margin:0 0 14px;padding-bottom:13px;border-bottom:1px solid #e6edf1}
.inv-spec{display:flex;flex-direction:column;gap:8px;margin:0 0 13px}.inv-spec>div{display:grid;grid-template-columns:67px minmax(0,1fr);gap:9px;font-size:11px;line-height:1.5}.inv-spec dt{color:#748999}.inv-spec dd{margin:0;text-align:right;overflow-wrap:anywhere;color:#304758}.inv-spec>div:first-child dd{font-size:13px;font-weight:650;color:#182e3b}.inv-breakdown{font-size:10px;color:#7c8f9f;margin:10px 0 14px}.inv-breakdown summary{cursor:pointer;font-size:10px}.inv-breakdown p{font-size:10px;overflow-wrap:anywhere}.inv-breakdown ul{list-style:none;margin:0;padding:0;max-height:180px;overflow:auto}.inv-breakdown li{display:flex;justify-content:space-between;padding:4px 0;gap:12px}
.inv-source{background:#f5f7f9;border:1px solid #e4eaf0;border-radius:9px;overflow:hidden;position:relative;padding-bottom:12px}.crm-ui .inv-source h4{font-size:12px;font-weight:650;padding:12px;margin:0;border-bottom:1px solid #e7ecf1}.inv-source-content{display:flex;gap:7px;padding:12px 12px 6px;align-items:flex-start}.inv-source-content>svg{width:17px;height:17px;color:#708597}.inv-source-content>div{min-width:0}.inv-source-content strong{font-size:11px;font-weight:600;display:block;overflow-wrap:anywhere;line-height:1.5}.crm-ui .inv-source p{margin:3px 0;font-size:9px;color:#91a0ae}.crm-ui .inv-source button{margin-left:36px;font-size:10px;min-height:28px;padding:4px 11px;color:#41687a}
.crm-ui .inv-detail .inv-warning{display:flex;align-items:center;gap:7px;padding:10px;margin:10px 0 3px;border:1px solid #f7e7c6;background:#fff8eb;border-radius:7px;color:#ae7937;font-size:10px}.inv-warning svg{width:16px;height:16px}.inv-detail-empty{padding:70px 20px;text-align:center;color:#97a6b0}.inv-detail-empty>svg{width:45px;height:45px}
.inv-backdrop{position:fixed;inset:0;background:#102d354f;z-index:200;display:flex;justify-content:flex-end}.inv-files-drawer{width:min(1250px,94vw);height:100%;overflow:auto;background:#f6f8fa;box-shadow:-15px 0 55px #112e3c25;padding:0 24px 30px}.inv-drawer-heading{position:sticky;top:0;background:#f6f8faf7;backdrop-filter:blur(8px);padding:20px 0;border-bottom:1px solid #e0e6ec;z-index:4;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.crm-ui .inv-drawer-heading h2{font-size:19px;margin:0}.crm-ui .inv-drawer-heading p{font-size:11px;margin:5px 0 0;color:#8999a6}.inv-files-drawer .inventory-head{display:none}.inv-files-drawer .inventory-page{max-width:none}.inv-files-drawer .inventory-upload{padding:17px}.inv-files-drawer .inventory-sheet-table{max-height:500px}.crm-ui .inv-index-issues{font-size:11px;color:#a37741}
@media(min-width:1750px){.inv-layout{grid-template-columns:minmax(0,1fr) 360px;gap:22px}.inv-car{width:104px;height:58px}.inv-row-open strong{font-size:14px}.inv-row-open small{font-size:11px}.crm-ui .inv-stock-table td{font-size:12px}.inv-detail-body{padding:16px 22px}.inv-detail-picture{height:166px}.inv-large-car{height:163px;width:300px}.inv-spec>div{font-size:12px}.crm-ui .inv-stock-table .inv-money{font-size:12px}}
@media(max-width:1250px){body.crm-ui:has(.inventory-workspace) .frame>.layout>.main{padding:20px 18px}.inv-layout{grid-template-columns:minmax(0,1fr) 285px;gap:12px}.inv-heading{align-items:flex-start}.inv-heading-actions{gap:6px}.crm-ui .inv-heading-actions button,.inv-upload{font-size:11px;padding:9px 11px;min-height:38px}.inv-info-bar{font-size:10px;padding:12px;gap:9px}.inv-filters{flex-wrap:wrap}.inv-search{flex-basis:100%}.crm-ui .inv-filters select{flex:1;max-width:none}.inv-brands{gap:6px}.crm-ui .inv-brands button{min-width:70px}.inv-stock-table{max-height:580px}.inv-detail-body{padding:10px 14px}.crm-ui .inv-detail h3{font-size:19px}}
@media(max-width:950px){.inv-layout{grid-template-columns:minmax(0,1fr)}.inv-detail{position:static}.inv-detail-body{display:block}.inv-detail-picture{float:left;width:38%;height:170px;margin-right:15px}.inv-image-note{clear:both}.inv-source{margin-top:12px}.inv-heading{flex-wrap:wrap}.inv-info-bar{flex-wrap:wrap}.inv-info-bar .inv-reload{display:none!important}.crm-ui .inv-stock-table table{min-width:760px}}
@media(max-width:700px){body.crm-ui:has(.inventory-workspace) .frame>.top .brand{min-width:0;padding:0 12px;font-size:15px;align-self:center;background:transparent;color:#1c3341}body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav{padding:8px;gap:6px}body.crm-ui:has(.inventory-workspace) .frame>.layout>.nav button{min-height:35px;font-size:11px;padding:7px 9px}body.crm-ui:has(.inventory-workspace) .frame>.layout>.main{padding:18px 12px}.crm-ui .inventory-workspace h1{font-size:25px}.inv-heading p{font-size:12px}.inv-heading-actions{width:100%}.inv-heading-actions>*{flex:1}.inv-brands{display:grid;grid-template-columns:repeat(4,1fr)}.crm-ui .inv-brands button{min-width:0}.inv-info-bar{gap:8px}.inv-info-bar i{display:none}.inv-info-bar>span{font-size:10px}.inv-info-bar>svg{width:16px}.inv-files-drawer{padding:0 12px 24px;width:100vw}.inv-table-footer{align-items:flex-start;flex-direction:column}}

.inv-tone-f3f2ed{background:#f3f2ed}.inv-tone-252a2c{background:#252a2c}.inv-tone-929a9d{background:#929a9d}.inv-tone-506578{background:#506578}.inv-tone-703f4b{background:#703f4b}.inv-tone-5a6b60{background:#5a6b60}.inv-tone-a49179{background:#a49179}.inv-tone-d9dee0{background:#d9dee0}

@media(min-width:951px) and (max-width:1250px){.inv-car{width:60px;height:44px}.crm-ui .inv-stock-table td{padding:10px 7px;font-size:10px}.inv-row-open>span{gap:4px}.inv-row-open strong{font-size:11px}.inv-row-open small{font-size:9px}.inv-colors{gap:4px}.inv-kind{padding:4px 5px;font-size:9px}.crm-ui .inv-stock-table .inv-money{font-size:10px}.inv-stock-table th:nth-child(1){width:30%}.inv-stock-table th:nth-child(2){width:18%}.inv-stock-table th:nth-child(3){width:19%}.inv-stock-table th:nth-child(4){width:11%}.inv-stock-table th:nth-child(5){width:10%}.inv-stock-table th:nth-child(6){width:12%}.crm-ui .inv-stock-table thead th{padding:11px 7px}}

/* Owner-confirmed stock semantics: request is a separate source column. */
.crm-ui .inv-stock-table th:nth-child(1){width:29%}.crm-ui .inv-stock-table th:nth-child(2){width:17%}.crm-ui .inv-stock-table th:nth-child(3){width:17%}.crm-ui .inv-stock-table th:nth-child(4){width:10%}.crm-ui .inv-stock-table th:nth-child(5){width:8%}.crm-ui .inv-stock-table th:nth-child(6){width:7%}.crm-ui .inv-stock-table th:nth-child(7){width:12%}.crm-ui .inv-stock-table .inv-requested{color:#39745f;font-size:10px;white-space:nowrap}.inv-unconfirmed{white-space:normal}

/* Options stay visible in each vehicle row; the native title exposes full text. */
.crm-ui .inv-row-open .inv-row-options{color:#4b7567;font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.crm-ui .inv-brands button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 14px}.inv-brand-logo{width:34px;height:22px;object-fit:contain;flex-shrink:0}.inv-brands button[data-value="제네시스"] .inv-brand-logo{width:43px}.inv-brands button.selected .inv-brand-logo{filter:brightness(0) invert(1)}
@media(max-width:700px){.crm-ui .inv-brands button{gap:5px;padding:7px 6px;font-size:11px}.inv-brand-logo{width:25px;height:18px}.inv-brands button[data-value="제네시스"] .inv-brand-logo{width:30px}}
