#legacy-studio{display:none!important}.lot-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:12px}.lot-top h1{font-size:28px;margin:4px 0;overflow-wrap:anywhere}.lot-top p{color:#465a64}.lot-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:26px}.lot-nav{display:flex;flex-direction:column;gap:8px}.lot-nav button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #d5e2e9;background:#fff;padding:13px;color:#203c49;border-radius:10px}.lot-nav button.active{background:#155b78;color:#fff;border-color:#155b78}.lot-nav button span{border:1px solid currentColor;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}.lot-nav p{font-size:13px;line-height:1.6;color:#536a77}.lot-body{background:#fff;border:1px solid #dce7ed;border-radius:15px;padding:28px;min-width:0}.lot-body h2{margin:0 0 14px;font-size:23px}.lot-body p{line-height:1.6}.lot-body label,.lot-editor label{display:flex;flex-direction:column;gap:7px;margin:15px 0;color:#263f4b;font-weight:600}.lot-body input:not([type=checkbox]),.lot-body textarea,.lot-editor input,.lot-editor textarea,.lot-editor select{width:100%;padding:12px;border:1px solid #9fb6c2;border-radius:8px;background:#fff;color:#142f3d;font:inherit}.lot-body input[type=checkbox],.lot-editor input[type=checkbox]{width:19px;height:19px;accent-color:#155b78}.lot-buttons{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:16px 0}.lot-buttons label{margin:0;min-width:200px}.lot-notice{padding:0;margin:0 0 18px;white-space:pre-wrap;color:#155b78}.lot-notice:not(:empty){padding:14px;border:1px solid #94c1d6;border-radius:8px;background:#edf7fc}.lot-notice.error{color:#8b261c}.lot-table-wrap{overflow:auto;border:1px solid #d9e4eb;border-radius:8px}.lot-table{border-collapse:collapse;width:100%;font-size:14px}.lot-table th{background:#e9f2f7;color:#173e51;text-align:left;padding:13px;white-space:nowrap}.lot-table td{border-top:1px solid #dde6ed;padding:13px;vertical-align:top}.lot-table td:nth-child(2){min-width:150px}.lot-table small{display:block;max-width:380px;line-height:1.5;color:#536672;margin-top:5px}.lot-pagination,.lot-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.lot-bottom{border-top:1px solid #dde6ed;padding-top:22px}.lot-pill{display:inline-block;border-radius:20px;background:#edf1f4;padding:5px 10px;font-size:12px;white-space:nowrap}.lot-pill.warn{background:#fff1d9;color:#744400}.lot-pill.success{background:#def4e8;color:#165a37}.lot-counts{display:flex;gap:14px;flex-wrap:wrap;margin:24px 0}.lot-counts span{background:#edf5f9;padding:18px;border-radius:10px;display:flex;flex-direction:column;min-width:110px}.lot-counts strong{font-size:26px;color:#155b78}.lot-results{max-height:450px;overflow:auto;margin:12px 0}.lot-results p{border-bottom:1px solid #e0e8ed;padding:10px}.lot-check-label{flex-direction:row!important;align-items:flex-start;font-weight:400!important}.lot-history-list{display:grid;gap:12px}.lot-history-card{text-align:left;padding:20px;border:1px solid #ccdde7;border-radius:10px;display:flex;flex-direction:column;gap:8px;background:#f8fbfd;color:#19394a}.lot-events{padding-left:20px}.lot-events li{padding:10px 0}.lot-events small{display:block;color:#546c7a}.lot-editor{position:fixed;inset:0;background:#102f46aa;z-index:150;overflow:auto;padding:24px}.lot-editor-card{max-width:900px;margin:auto;background:#fff;padding:28px;border-radius:14px}.lot-editor dl{display:grid;grid-template-columns:200px 1fr;gap:12px;overflow-wrap:anywhere}.lot-editor dd{margin:0;white-space:pre-wrap}.lot-editor pre{white-space:pre-wrap;overflow-wrap:anywhere}.lot-editor-status{background:#edf5fa;padding:14px;line-height:1.6}.lot-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.lot-photo-grid figure{margin:0;padding:10px;border:1px solid #dce6ed}.lot-photo-grid img{width:100%;height:170px;object-fit:contain}.lot-photo-grid figcaption{font-size:12px;overflow-wrap:anywhere}#lot-studio .primary,.lot-editor .primary{background:#155b78;color:#fff}#lot-studio button:disabled{opacity:.5;cursor:not-allowed}#lot-studio button:focus-visible,.lot-editor button:focus-visible{outline:3px solid #3797c6;outline-offset:3px}
@media(max-width:800px){.lot-top{align-items:flex-start;flex-direction:column}.lot-layout{display:block}.lot-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:18px}.lot-nav button{padding:10px 6px;font-size:12px;gap:5px}.lot-nav button span{width:20px;height:20px}.lot-nav p{grid-column:1/-1;margin:4px}.lot-body{padding:18px 12px}.lot-editor{padding:8px}.lot-editor-card{padding:18px}.lot-editor dl{grid-template-columns:1fr;gap:3px}.lot-editor dd{margin-bottom:12px}.lot-top h1{font-size:23px}.lot-buttons button{max-width:100%;white-space:normal}.lot-table th,.lot-table td{padding:10px}.lot-pagination{font-size:12px}.lot-counts span{min-width:85px;padding:12px}}
@media(max-width:800px){.lot-table,.lot-table tbody,.lot-table tr,.lot-table td{display:block;width:100%}.lot-table thead{display:none}.lot-table tr{position:relative;border-top:1px solid #dce6ed;padding:12px}.lot-table tr:first-child{border-top:0}.lot-table td{border:0;padding:4px 0!important;min-width:0!important}.lot-table .secondary{margin:3px 0}.lot-table td[data-label]::before{content:attr(data-label) ': ';font-size:12px;color:#526875}.lot-table.sample-mode tr{padding-left:45px}.lot-table.sample-mode td:first-child{position:absolute;top:12px;left:12px;width:22px}.lot-table.sample-mode td:first-child label{margin:0}.lot-table small{max-width:none}}
