/* Ugarit mobile access + customer order follow-up, October 2026. */
.main-area,.content,.panel,.toolbar,.form-grid>*{min-width:0}
.sidebar{overflow-y:auto}
.product-open-row{cursor:pointer}
.product-open-row:focus-visible{outline:3px solid #9a7caf;outline-offset:-3px}
.product-open-row:hover{background:#faf7fd}
.product-open-row:active{background:#fff5d5}
.mobile-bottom-nav{display:none}
.customer-order-notice{width:100%;text-align:left;justify-content:flex-start;padding:16px 20px;margin:0 0 22px;background:#fff8e4;border:1px solid #efdfb5;border-radius:14px;gap:14px}
.customer-order-notice>span{flex:1;min-width:0}
.customer-order-notice small{color:#74653e}
.bell .order-bell-count{position:absolute;top:0;right:-2px;font-size:10px;line-height:17px;min-width:17px;background:#a53e37;color:white;border-radius:20px;padding:0 4px}
.customer-orders{display:grid;gap:20px}
.order-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.order-summary-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;text-align:left;background:#fff;border-radius:15px}
.order-summary-grid button.selected{border-color:#b79bc8;background:#f2ecf7}
.order-summary-grid span{font-size:13px;font-weight:500}
.order-summary-grid strong{font-size:29px;line-height:1;color:var(--purple-dark)}
.order-approve{margin:0;padding:18px 20px}
.order-approve summary{cursor:pointer;font-weight:600;min-height:28px}
.order-approve p{font-size:13px;color:#716678;margin:12px 0}
.order-approve-row{display:flex;gap:12px}
.order-approve-row select{flex:1;min-width:0}
.order-approve-row button{flex-shrink:0}
.order-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 200px auto;gap:12px}
.order-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.order-card{background:#fff;border:1px solid #e7e0eb;border-radius:17px;overflow:hidden}
.order-card.is-overdue{border-color:#e7b8ad}
.order-card-open{display:block;text-align:left;border:0;border-radius:0;width:100%;padding:22px;background:transparent;font-weight:400}
.order-card-top{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:12px;flex-wrap:wrap}
.order-card h2{font-size:20px;line-height:1.35;overflow-wrap:anywhere}
.order-card p{font-size:13px;margin-top:7px;color:#766980}
.order-card p.order-overdue{color:#a23b32;font-weight:600}
.order-card progress,.order-progress-copy progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:12px;overflow:hidden;margin:19px 0 12px;background:#eee8f2}
progress::-webkit-progress-bar{background:#eee8f2;border-radius:12px}
progress::-webkit-progress-value{background:#6c477e;border-radius:12px}
progress::-moz-progress-bar{background:#6c477e;border-radius:12px}
.order-card-counts{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;font-size:12px}
.order-card-counts span{color:#7a6b84}
.order-preview-lines{border-top:1px solid #eee8f2;margin-top:14px;padding-top:9px;display:grid;gap:8px}
.order-preview-lines>div{display:flex;justify-content:space-between;gap:16px;font-size:12px}
.order-preview-lines span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.order-preview-lines b{white-space:nowrap;font-weight:600}
.order-open-label{display:block;font-size:13px;font-weight:600;margin-top:19px}
.order-view-quote{margin:0 16px 12px;font-size:12px}
.order-editor{padding:24px}
.order-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}
.order-editor-head h2{font-size:24px;overflow-wrap:anywhere;margin-top:7px}
.order-editor-head p{font-size:13px;color:#7a6b84;margin-top:5px}
.order-meta-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px;align-items:center;margin-bottom:18px}
.order-meta-grid .field{margin:0}
.order-progress-copy progress{margin:10px 0 5px}
.order-guidance{font-size:12px;line-height:1.65;color:#776b7f;margin:14px 0}
.order-pending-toggle{margin:18px 0;font-size:13px}
.order-lines{display:grid;gap:15px}
.order-line{border:1px solid #e7e0ec;border-radius:13px;padding:18px;background:#fff}
.order-line.is-ready{border-color:#c2d9cc;background:#f8fcf9}
.order-line-title{display:flex;gap:16px;align-items:flex-start}
.order-line-title>div{min-width:0}
.order-line-title h3{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.order-check{display:flex;flex-direction:column;align-items:center;gap:5px;flex:0 0 66px;cursor:pointer}
.order-check input{height:24px!important;width:24px!important;accent-color:var(--purple);min-height:24px!important}
.order-check span{font-size:10px;white-space:nowrap;color:#73627d}
.order-stock-note{font-size:11px;color:#7f7486;margin:15px 0 14px}
.order-stock-note b{color:#51405c}
.order-quantity-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.order-quantity-grid .field{margin:0;gap:7px;display:flex;flex-direction:column;font-size:12px}
.order-quantity-grid input{width:100%;font-weight:600;padding:10px}
.order-metric{display:flex;flex-direction:column;gap:2px;font-size:12px;background:#f7f4f9;border-radius:8px;padding:10px 12px}
.order-metric>b{font-size:20px;color:#3d2454}
.order-metric small{margin:0;font-size:10px}
.order-shortage{background:#fff3d5}
.order-shortage>b{color:#9a610e}
.order-balance{background:#f0edf7}
.order-line-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:14px}
.order-line-actions button{font-size:12px;padding:9px 13px}
.order-notes{margin-top:22px}
.order-savebar{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:16px 0 0;position:sticky;bottom:0;background:#fff;border-top:1px solid #eee8f2;margin-top:18px;z-index:4}
.order-savebar>span:first-child{margin-right:auto;font-size:12px;color:#7b6c85}
.order-warning{padding:14px;margin-bottom:18px;background:#fff4db;border:1px solid #ecddb9;border-radius:10px;display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px}
.order-warning button{flex-shrink:0}
.item-detail-photo .photo{width:100px;height:100px;margin-bottom:20px;object-fit:contain}
.item-detail-list{margin:16px 0 24px}
.item-detail-list>div{display:flex;gap:18px;justify-content:space-between;border-bottom:1px solid #eee8f2;padding:12px 0}
.item-detail-list dt{color:#84718f;font-size:13px}
.item-detail-list dd{text-align:right;overflow-wrap:anywhere;margin:0}
@media(max-width:760px){
  html,body,#root{width:100%;max-width:100%}
  .main-area{width:100%;max-width:100%;margin-left:0}
  .content{padding:22px 16px 100px!important}
  .topbar{padding:9px 12px!important;gap:6px;min-height:62px;height:auto;position:sticky;top:0;z-index:15;background:#fff}
  .topbar .crumb{min-width:0;gap:7px;flex:1}
  .topbar .crumb>span,.topbar .crumb>svg,.topbar .today{display:none}
  .topbar .crumb>b{font-size:13px;line-height:1.25;overflow-wrap:anywhere;max-width:145px}
  .top-actions{gap:3px!important;flex-shrink:0}
  .top-actions .icon-button,.top-actions .avatar,.mobile-menu{width:40px!important;height:44px!important;min-height:44px;padding:9px!important}
  .top-actions .icon-button:first-child{display:none}
  .global-shortcuts{display:none!important}
  .page-heading{display:flex;flex-direction:column;align-items:stretch;gap:18px;margin-bottom:22px}
  .page-heading h1{font-size:28px;line-height:1.15;letter-spacing:-.7px}
  .page-heading p{font-size:13px;line-height:1.6;margin-top:10px}
  .eyebrow{font-size:9px;letter-spacing:1.6px}
  .heading-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
  .heading-actions>button{flex:1 1 calc(50% - 8px);min-width:0;white-space:normal;font-size:12px;padding:11px 9px}
  button,.button{min-height:44px;touch-action:manipulation}
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-height:44px;max-width:100%}
  input[type=date]{display:block;min-width:0;width:100%;min-height:46px;appearance:none;-webkit-appearance:none}
  .panel{padding:16px;border-radius:13px}
  .products-panel{padding:14px;background:transparent;box-shadow:none;border:0;padding-left:0;padding-right:0}
  .inventory-scope{display:flex;flex-wrap:wrap;gap:5px;padding:5px;background:#eae4ef;border-radius:11px;margin-bottom:16px}
  .inventory-scope button{flex:1 1 auto;font-size:12px;padding:9px 8px;white-space:normal;min-height:43px}
  .inventory-scope button:last-child:nth-child(3){display:none}
  .products-panel .toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:17px}
  .products-panel .toolbar .search{grid-column:1/-1;width:100%;min-width:0}
  .search input{width:100%;padding-right:10px;min-width:0}
  .products-panel .toolbar>select{width:100%;max-width:100%;font-size:13px!important}
  .products-panel .toolbar>button,.products-panel .toolbar>div:not(.search){min-width:0}
  .products-panel .table-wrap{overflow:visible;border:0;background:transparent}
  .products-panel table,.products-panel tbody{display:block;width:100%;min-width:0!important}
  .products-panel thead{display:none}
  .products-panel .product-open-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;background:#fff;border:1px solid #e6dfea;border-radius:13px;padding:16px;margin-bottom:12px;position:relative}
  .products-panel td{display:block;min-width:0;border:0;padding:0;font-size:13px;white-space:normal;text-align:left!important;overflow-wrap:anywhere}
  .products-panel td:first-child{grid-column:1/-1;margin-bottom:7px;padding-right:18px}
  .products-panel td:first-child:after{content:'›';position:absolute;right:16px;top:28px;font-size:23px;color:#9c83ae}
  .products-panel .product-cell{min-width:0;gap:13px;align-items:center}
  .products-panel .product-cell>div{min-width:0}
  .products-panel .product-cell b{font-size:14px;line-height:1.5;font-weight:600}
  .products-panel .photo{width:52px;height:58px;flex:0 0 52px;object-fit:contain;border-radius:9px}
  .products-panel td:nth-child(2):before{content:'Code · ';color:#92839c;font-size:11px}
  .products-panel td:nth-child(3):before{content:'Brand · ';color:#92839c;font-size:11px}
  .products-panel td:nth-child(4){align-self:center}
  .products-panel td:nth-child(5){text-align:right!important}
  .products-panel td:nth-child(5) b{font-size:18px}
  .products-panel td:last-child{grid-column:1/-1;border-top:1px solid #f0eaf5;padding-top:12px;margin-top:4px}
  .quantity-row-actions{display:flex;width:100%;gap:8px;white-space:normal!important}
  .quantity-row-actions button{flex:1;padding:10px 8px;font-size:12px;white-space:normal}
  .table-footer{padding:10px 0;gap:12px;font-size:12px}
  .form-grid,.form-grid.three{grid-template-columns:minmax(0,1fr)!important;gap:14px}
  .form-grid .field{min-width:0}
  .field>span{font-size:13px}
  .overlay{padding:0!important;align-items:flex-start;overflow-y:auto;overscroll-behavior:contain;z-index:60}
  .modal,.modal.wide,.quick-quantity-modal,.quick-price-modal{width:100%!important;max-width:100%!important;max-height:100dvh!important;min-height:100dvh;border-radius:0!important;padding:20px 16px calc(24px + env(safe-area-inset-bottom))!important;margin:0!important;overflow-y:auto}
  .modal-head{position:sticky;top:-20px;background:#fff;padding:14px 0;z-index:5;gap:12px}
  .modal-head h2{font-size:19px;overflow-wrap:anywhere}
  .form-footer{flex-wrap:wrap;gap:10px}
  .form-footer>button{flex:1 1 130px}
  .document-tools{flex-wrap:wrap;gap:8px}
  .document-tools button{font-size:12px;flex:1 1 140px}
  .toolbar,.report-filters{flex-wrap:wrap}
  .toolbar>*{min-width:0;max-width:100%}
  .table-wrap{max-width:100%;overflow-x:auto}
  .document-list-table{min-width:0!important;width:100%}
  .document-list-table thead{display:none}
  .document-list-table tbody{display:block}
  .document-list-table tr{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 0;border-bottom:1px solid #ece5f1}
  .document-list-table td{padding:0!important;border:0;min-width:0;white-space:normal;overflow-wrap:anywhere}
  .document-list-table td:nth-child(2){grid-column:2;grid-row:1/3;text-align:right}
  .document-list-table td:nth-child(6){text-align:right}
  .checker-top{gap:12px;flex-wrap:wrap}
  .checker-top img{max-width:130px}
  .price-checker{padding:16px!important;max-width:100%}
  .checker-intro h1{font-size:28px}
  .stats,.executive-stats{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats button{padding:15px;min-width:0}
  .executive-stats small{font-size:10px}
  .mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;padding:7px 8px calc(8px + env(safe-area-inset-bottom));z-index:30;background:#fff;border-top:1px solid #e9e1ef;box-shadow:0 -4px 24px #35164408}
  .mobile-bottom-nav button{position:relative;display:flex;flex-direction:column;gap:4px;border:0;background:transparent;min-height:49px;padding:7px 3px;color:#8c7b96;font-size:10px;line-height:1.1;font-weight:500}
  .mobile-bottom-nav button.selected{background:#f0e9f6;color:#462359;font-weight:700;border-radius:10px}
  .mobile-nav-badge{position:absolute;top:1px;right:20%;font-size:9px;line-height:15px;min-width:15px;background:#ffd967;color:#442155;border-radius:9px;padding:0 3px}
  .sidebar{padding-bottom:calc(100px + env(safe-area-inset-bottom));max-width:86vw;z-index:35}
  .app-shell.checker-only .mobile-bottom-nav{display:none}
  .customer-order-notice{padding:14px;gap:10px;margin-bottom:18px}
  .customer-order-notice b{font-size:13px}.customer-order-notice small{font-size:11px}
  .customer-orders{gap:16px}
  .order-summary-grid{gap:8px}
  .order-summary-grid button{padding:14px 11px;gap:11px;border-radius:12px}
  .order-summary-grid span{font-size:11px}
  .order-summary-grid strong{font-size:25px}
  .order-approve{padding:14px!important}.order-approve summary{font-size:13px}
  .order-approve-row{flex-direction:column;gap:10px}
  .order-approve-row select{font-size:14px!important}
  .order-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:9px}
  .order-toolbar>input{grid-column:1/-1}
  .order-toolbar>select{font-size:14px!important}.order-toolbar>button{font-size:12px;padding:10px}
  .order-card-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .order-card-open{padding:18px}.order-card h2{font-size:19px}
  .order-card-top{font-size:11px;margin-bottom:14px}
  .order-card-counts{font-size:11px;gap:8px}
  .order-preview-lines>div{font-size:11px}
  .order-editor{padding:16px 12px!important}
  .order-editor-head{gap:12px;margin-bottom:18px}
  .order-editor-head h2{font-size:20px}
  .order-editor-head>button{padding:8px 12px;font-size:12px}
  .order-meta-grid{grid-template-columns:minmax(0,1fr);gap:17px}
  .order-progress-copy>b{font-size:13px}
  .order-line{padding:13px}
  .order-line-title{gap:10px}.order-check{flex-basis:52px}
  .order-line-title h3{font-size:13px}.order-line-title small{font-size:10px}
  .order-quantity-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}
  .order-metric{padding:8px}.order-metric>b{font-size:20px}
  .order-metric.order-balance{grid-column:1/2}
  .order-metric:last-child{grid-column:2/4;display:grid;grid-template-columns:1fr auto;align-items:center}
  .order-metric:last-child small{grid-column:2}
  .order-quantity-grid .field>span{font-size:11px;white-space:nowrap}
  .order-quantity-grid input{padding:8px;font-size:16px!important}
  .order-line-actions{justify-content:stretch;gap:8px}
  .order-line-actions button{flex:1;font-size:11px;padding:9px 7px}
  .order-stock-note{font-size:10px;line-height:1.6}
  .order-savebar{bottom:calc(70px + env(safe-area-inset-bottom));padding:12px 0 4px;flex-wrap:wrap;margin-top:20px;gap:8px;box-shadow:0 -8px 15px #fff}
  .order-savebar>span:first-child{flex-basis:100%;font-size:11px}
  .order-savebar button{flex:1;font-size:12px;padding:11px 8px}
  .order-warning{display:block;font-size:12px}.order-warning button{margin-top:10px}
}
@media(prefers-reduced-motion:reduce){button,.button{transition:none}}
@media print{.mobile-bottom-nav,.customer-order-notice{display:none!important}}

/* Reference-format order cards and phone quantity entry. */
.order-lines{grid-template-columns:repeat(2,minmax(0,1fr))}
.order-line{background:#f7f6f8;padding:16px}
.order-line-title{gap:12px;position:relative;padding-right:44px}
.order-check{position:absolute;right:0;top:0;width:40px;flex-basis:40px}
.order-check span{font-size:8px}
.order-photo{flex:0 0 52px;width:52px}.order-photo .photo{width:52px;height:76px;object-fit:contain;background:#fff}
.order-quantity-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.order-quantity-grid .field span{min-height:30px;line-height:1.25}
.order-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;border-top:1px solid #e4dfe9;padding-top:12px}
.order-delivery-grid .field{margin:0}.order-delivery-grid input{width:100%}
@media(max-width:1000px){.order-lines{grid-template-columns:1fr}}
@media(max-width:760px){.order-editor{padding:14px}.order-line{padding:13px}.order-editor-head h2{font-size:21px}.order-quantity-grid{gap:7px}.order-quantity-grid input{padding:9px 7px}.order-metric{padding:9px 7px}.order-metric>b{font-size:19px}.order-savebar{gap:8px;flex-wrap:wrap;padding-bottom:8px}.order-savebar>span:first-child{width:100%}.order-savebar button{flex:1;white-space:normal}.order-line-actions button{flex:1}.modal{max-width:100%;overflow-x:hidden}.modal-head h2{overflow-wrap:anywhere;min-width:0}.modal .actions{flex-wrap:wrap}.order-editor-head>button{flex-shrink:0}}

.order-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.order-head-actions button{white-space:normal}@media(max-width:760px){.order-editor-head{flex-direction:column}.order-head-actions{width:100%;justify-content:stretch}.order-head-actions button:first-child{flex:1}}
.rack-module{display:grid;gap:18px}.rack-intro{display:flex;justify-content:space-between;align-items:center;gap:18px}.rack-intro h2{font-size:28px}.rack-intro p{margin-top:7px;color:#786981}.rack-home-link{margin:0 0 20px;width:100%;text-align:left;justify-content:flex-start;background:#f5eff9;border:1px solid #d9cbe4;color:#4b2d5d;padding:17px 20px}
.rack-search{padding:18px}.rack-search .field{margin:0}.rack-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow:auto;margin-top:12px}.rack-results button{display:flex;align-items:center;text-align:left;gap:12px;padding:10px;min-width:0;border-radius:10px}.rack-results button>span{min-width:0}.rack-results b{display:block;font-size:12px;overflow-wrap:anywhere}.rack-results small{display:block;font-size:11px;color:#807287;margin-top:4px}.rack-results .photo{height:42px;width:42px;flex:0 0 42px;object-fit:contain}.rack-results .selected,.rack-levels .selected,.rack-sides .selected{border-color:#7d5690;background:#f2eaf8;color:#452654}
.rack-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:20px;align-items:start}.rack-model{position:sticky;top:90px;min-width:0}.rack-model iframe{display:block;width:100%;height:580px;border:1px solid #e0d9e5;border-radius:16px;background:#f4f3ef}.rack-model>small{display:block;color:#82748a;font-size:11px;margin:10px 4px;line-height:1.5}.rack-assignment{min-width:0;padding:20px}.rack-assignment .field{margin-top:0}.rack-hint{color:#81728b;font-size:12px;line-height:1.6;margin:12px 0}.rack-sides{display:flex;gap:8px}.rack-sides button{flex:1}.rack-levels{display:grid;gap:6px;margin:18px 0}.rack-levels button{justify-content:space-between;width:100%;font-size:12px;padding:12px;text-align:left}.rack-levels span{font-size:11px;font-weight:400}.rack-shelf-title h3{font-size:16px;margin:20px 0 12px}.rack-empty{padding:20px;background:#f8f5fa;border-radius:10px;font-size:13px;color:#82748c}.rack-stock-list{display:grid;gap:8px;max-height:380px;overflow:auto}.rack-stock-list article{border:1px solid #e5dfeb;border-radius:10px;padding:8px;display:flex;gap:6px;align-items:center}.rack-product-open{display:flex;align-items:center;gap:9px;flex:1;min-width:0;border:0;padding:0;background:none;text-align:left}.rack-product-open .photo{width:44px;height:52px;object-fit:contain;flex:0 0 44px}.rack-product-open b{font-size:12px;line-height:1.4;overflow-wrap:anywhere;display:block}.rack-product-open small{display:block;margin-top:4px;color:#7d6e85;font-size:10px;font-weight:400}.rack-move{padding:8px;font-size:11px}.rack-placement{background:#f6f0fa;padding:16px;border-radius:12px;margin-top:18px}.rack-placement h3{font-size:14px;overflow-wrap:anywhere}.rack-placement p{font-size:12px;line-height:1.6;margin:10px 0}.rack-placement .full{margin-top:10px}.rack-placement input{width:100%}
@media(max-width:1100px){.rack-workspace{grid-template-columns:1fr}.rack-model{position:static}.rack-model iframe{height:470px}.rack-levels{grid-template-columns:repeat(5,minmax(0,1fr))}.rack-levels button{display:flex;flex-direction:column;text-align:center;gap:4px;padding:10px 5px}.rack-levels b{font-size:11px}}
@media(max-width:760px){.rack-intro{align-items:flex-start;flex-direction:column;gap:10px}.rack-intro h2{font-size:24px}.rack-intro p{font-size:13px}.rack-search{padding:14px}.rack-results{grid-template-columns:1fr;max-height:245px}.rack-model iframe{height:430px;border-radius:12px}.rack-assignment{padding:15px}.rack-stock-list{max-height:350px}.rack-levels button{min-height:54px}.rack-levels span{font-size:9px}.rack-model>small{font-size:10px}.rack-product-open{min-height:60px}.rack-placement input{font-size:16px}.rack-workspace{gap:12px}}

.rack-shelf-strip{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;padding:8px 0 12px;border-bottom:5px solid #56425f;margin-bottom:18px;scroll-snap-type:x proximity}.rack-slot{flex:0 0 72px;min-width:0;display:flex;flex-direction:column;padding:8px 5px;gap:7px;height:117px;background:#faf8fc;border:1px dashed #d0c4d9;scroll-snap-align:start}.rack-slot.selected{border:2px solid #78538b;background:#f3e9fa}.rack-slot>span{font-size:10px;color:#7b6689}.rack-slot .photo{width:43px;height:52px;object-fit:contain}.rack-slot>b{height:52px;display:grid;place-content:center;font-size:22px;color:#c8b9d1}.rack-slot small{font-size:9px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.rack-location-field{grid-column:1/-1;min-width:0;margin:16px 0 22px}.rack-field-label{font-size:12px;color:#82708d;display:block;margin-bottom:8px}.rack-location-current{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;background:#f7f3fa;border:1px solid #e3d9e9;padding:14px;border-radius:11px}.rack-location-current>b{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.rack-location-current button{font-size:12px;color:#4d2a62}.rack-picker-expanded{padding:14px;border:1px solid #dccde7;border-radius:12px;margin-top:12px;background:#fff}.rack-picker-expanded>p,.rack-picker-expanded>div>p{font-size:12px;line-height:1.5;font-weight:600;margin:12px 0}.rack-picker-expanded iframe{width:100%;height:360px;border:1px solid #e7dfee;border-radius:10px;display:block;margin:12px 0}.rack-picker-expanded .field{margin:10px 0}.rack-picker-buttons{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.rack-picker-buttons button{flex:1;padding:10px 5px;min-width:50px;font-size:11px;white-space:normal}.rack-picker-positions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.rack-picker-positions button{min-width:0;padding:10px 4px;font-size:12px}.rack-picker-buttons .selected,.rack-picker-positions .selected{background:#5f3775;border-color:#5f3775;color:#fff}.rack-more-positions{font-size:11px;margin-top:10px}.rack-selection-summary{background:#f3eaf8;border-radius:8px;padding:12px;color:#4c2c60}.rack-picker-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.rack-picker-expanded>small{font-size:11px;display:block;margin-top:12px;color:#83738d;line-height:1.5}@media(max-width:760px){.rack-location-current{align-items:stretch;flex-direction:column}.rack-location-current button{width:100%}.rack-picker-expanded{padding:10px}.rack-picker-expanded iframe{height:330px}.rack-picker-buttons{gap:5px}.rack-picker-buttons button{font-size:10px;min-width:40px}.rack-picker-actions button{flex:1;padding:10px 6px;font-size:12px}}
