.ss-lot-page{color:var(--text,#222e38);font:13px "Sixty Thai","Noto Sans Thai",system-ui,sans-serif}.ss-lot-page *{box-sizing:border-box}
.ss-lot-page button,.ss-lot-page input{font:inherit}
.ss-lot-page button{cursor:pointer}
.ss-lot-page i.ti{flex-shrink:0}
.ss-lot-page .content{padding:23px 28px 22px}
.ss-lot-page .titlebar{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}
.ss-lot-page .titlebar h1{font-size:25px;margin:0}
.ss-lot-page .titlebar small{color:#7c8a96}
.ss-lot-page .search{display:flex;align-items:center;gap:9px}
.ss-lot-page .input{display:flex;align-items:center;height:43px;border:1px solid #cdd7df;background:#fff;border-radius:6px;padding:0 12px;gap:10px}
.ss-lot-page .input i{font-size:20px;color:#8b99a5}
.ss-lot-page .input input{width:295px;border:0;outline:0;font-size:12px}
.ss-lot-page .primary{background:#db1732;color:#fff;border:0;border-radius:6px;height:43px;padding:0 18px;font-weight:700}
.ss-lot-page .scan{background:#fff;border:1px solid #cdd7df;color:#576976;border-radius:6px;height:43px;width:46px;font-size:22px}
.ss-lot-page .hero-layout{display:grid;grid-template-columns:315px 1fr;gap:18px}
.ss-lot-page .product{position:relative;background:#fff;border:1px solid #dce3e9;border-radius:8px;overflow:hidden;display:flex;min-height:240px}
.ss-lot-page .product-art{width:132px;flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#f5e5c1 0,#fbf6eb 50%,#fff 75%)}
.ss-lot-page .product-art img{width:115px;height:215px;object-fit:contain;filter:drop-shadow(0 12px 8px #4d36121a)}
.ss-lot-page .product-info{align-self:center;padding:15px 15px 15px 0}
.ss-lot-page .product-info h2{margin:7px 0;font-size:19px;line-height:1.5}
.ss-lot-page .product-info small{font-size:10px;color:#82919e}
.ss-lot-page .sku{display:inline-block;font-size:10px;color:#806432;background:#f3eddf;padding:4px 9px;border-radius:4px}
.ss-lot-page .lotcode{margin-top:13px;padding:9px 0;border-top:1px solid #e5e9ed;font-weight:800;font-size:17px}
.ss-lot-page .lotcode span{color:#8696a3;font-weight:500;font-size:11px}
.ss-lot-page .visual-card{border:1px solid #dce3e9;border-radius:8px;background:#fff;padding:17px 20px}
.ss-lot-page .cardtitle{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.ss-lot-page .cardtitle b{font-size:15px}
.ss-lot-page .cardtitle small{font-size:10px;color:#8897a3}
.ss-lot-page .iconlabel{display:flex;align-items:center;gap:9px}
.ss-lot-page .iconlabel .ti{font-size:21px;color:#7c8fa0}
.ss-lot-page .nodes{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.ss-lot-page .nodes:before{content:"";position:absolute;top:27px;left:6%;right:6%;border-top:2px dashed #d7dfe6}
.ss-lot-page .node{position:relative;background:transparent;border:0;padding:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}
.ss-lot-page .nodeicon{background:#fff;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e7ec;border-radius:14px;color:var(--node);box-shadow:0 3px 10px #27384b09;font-size:30px}
.ss-lot-page .node b{font-size:11px;font-weight:700;color:#4a5d6d}
.ss-lot-page .node small{font-size:10px;color:#97a1ab}
.ss-lot-page .nodetime{display:flex;align-items:center;gap:4px;font-size:10px;color:#a0abb4}
.ss-lot-page .node:hover .nodeicon{border-color:#db1732}
.ss-lot-page .brief{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;border-top:1px solid #e8edf1;margin-top:16px;padding-top:14px}
.ss-lot-page .brief div{display:flex;gap:9px;align-items:center}
.ss-lot-page .brief i{font-size:22px;color:#94a4b0}
.ss-lot-page .brief small{display:block;color:#8897a3;font-size:10px}
.ss-lot-page .brief b{font-size:14px;color:#758796}
.ss-lot-page .metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:17px}
.ss-lot-page .metric{padding:13px 17px;background:#fff;border:1px solid #dce3e9;border-radius:7px;display:flex;align-items:center;gap:14px}
.ss-lot-page .metric-icon{background:#edf2f7;color:#6b849c;padding:10px;border-radius:7px;font-size:25px;display:flex}
.ss-lot-page .metric strong{font-size:22px;color:#7f91a0;display:block;line-height:1.2}
.ss-lot-page .metric small{font-size:10px;color:#8c99a4}
.ss-lot-page .metric b{font-size:11px;color:#4f6373}
.ss-lot-page .sales{margin-top:18px}
.ss-lot-page .roundbar{display:flex;align-items:center;gap:16px;background:#f1f4f7;border:1px solid #e2e8ee;border-radius:6px;padding:10px 15px;margin-bottom:14px}
.ss-lot-page .roundbar .ti{font-size:21px;color:#738b9e}
.ss-lot-page .roundbar b{font-size:12px}
.ss-lot-page .roundbar span{color:#8395a4;font-size:11px}
.ss-lot-page .roundbar button{margin-left:auto;border:0;background:transparent;color:#b0283e;font-size:11px;font-weight:700;display:flex;gap:7px;align-items:center}
.ss-lot-page .roundflow{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.ss-lot-page .event{position:relative;display:flex;gap:13px;text-align:left;background:#fff;border:1px solid #e0e7ed;padding:13px 15px;border-radius:7px}
.ss-lot-page .event:not(:last-child):after{content:'›';position:absolute;right:-12px;top:38%;color:#adbac4;font-size:22px}
.ss-lot-page .eventicon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#edf2f8;color:#637e97;font-size:23px}
.ss-lot-page .event:nth-child(2) .eventicon{background:#f7ede7;color:#a88064}
.ss-lot-page .event:nth-child(3) .eventicon{background:#f2edf7;color:#8c76a4}
.ss-lot-page .event:nth-child(4) .eventicon{background:#eaf2ef;color:#6c9485}
.ss-lot-page .event b{font-size:12px;color:#374e60}
.ss-lot-page .event .timecaption{font-size:9px;color:#9ca7b0;margin-top:5px}
.ss-lot-page .event strong{display:block;font-size:18px;color:#8799a7;margin:2px 0}
.ss-lot-page .event small{display:block;font-size:10px;color:#8c9ba7;line-height:1.8}
.ss-lot-page .salesfoot{display:flex;justify-content:space-between;align-items:center;padding-top:12px}
.ss-lot-page .salesfoot small{color:#8898a5;font-size:10px}
.ss-lot-page .salesfoot button{border:0;background:transparent;color:#8b687b;display:flex;gap:6px;font-size:11px;align-items:center}
.ss-lot-page .section-title{font-size:14px;margin:18px 0 11px;display:flex;justify-content:space-between}
.ss-lot-page .section-title small{font-size:10px;color:#8d9ba6;font-weight:400}
.ss-lot-page .tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ss-lot-page .tile{display:flex;align-items:center;gap:11px;border:1px solid #dce3e9;border-radius:7px;background:#fff;padding:13px;text-align:left;min-height:75px}
.ss-lot-page .tileicon{width:36px;height:36px;background:#edf1f6;color:#7e8ba3;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:23px}
.ss-lot-page .tile>span:nth-child(2){flex:1}
.ss-lot-page .tile b{font-size:11px;color:#485c6d;display:block}
.ss-lot-page .tile small{font-size:9px;color:#92a0ab;display:block;margin-top:4px}
.ss-lot-page .tile>.ti{font-size:16px;color:#a4b0ba}
.ss-lot-page .tile:hover{border-color:#bd7180}
.ss-lot-page .foot{display:flex;align-items:center;gap:7px;font-size:10px;color:#94a0aa;margin-top:16px}
.ss-lot-page .foot i{font-size:15px}
.ss-lot-page dialog{margin:0 0 0 auto;height:100vh;max-height:100vh;width:820px;max-width:90vw;border:0;box-shadow:-12px 0 45px #111b3040;padding:0;background:#f5f7fa;color:#253647}
.ss-lot-page dialog::backdrop{background:#101c2e70}
.ss-lot-page .drawerhead{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid #dce3e9;padding:20px 25px;display:flex;align-items:center;justify-content:space-between}
.ss-lot-page .drawerhead b{font-size:17px}
.ss-lot-page .drawerhead button{border:1px solid #dce3e9;border-radius:5px;background:#fff;width:34px;height:34px}
.ss-lot-page .drawer-section{padding:23px}
.ss-lot-page .drawer-section h2{display:none}
.ss-lot-page .cards{display:grid;grid-template-columns:1fr;gap:15px}
.ss-lot-page article{border:1px solid #dce3e9;background:#fff;border-radius:7px;overflow:hidden;margin-bottom:15px}
.ss-lot-page .cardhead{background:#d2dce4;font-size:13px;font-weight:800;padding:13px 15px}
.ss-lot-page .cardsub{font-size:10px;color:#8a96a0;padding:9px 15px;border-bottom:1px solid #edf0f3}
.ss-lot-page .fieldgrid{display:grid;grid-template-columns:1fr 1fr}
.ss-lot-page .field{padding:11px 15px;border-bottom:1px solid #edf0f3}
.ss-lot-page .field:nth-child(odd){border-right:1px solid #edf0f3}
.ss-lot-page .field span{display:block;font-size:11px;color:#74818d}
.ss-lot-page .field b{font-size:13px;display:block;margin-top:5px;color:#8896a2;overflow-wrap:anywhere}
.ss-lot-page .field .known{color:#283d4e}
.ss-lot-page .drawernote{padding:12px 15px;font-size:11px;color:#8c7856;line-height:1.8}
.ss-lot-page [hidden]{display:none!important}

.ss-lot-page .lot-whereabouts{margin-top:18px}.ss-lot-page .lot-place-list{display:flex;flex-wrap:wrap;gap:12px}.ss-lot-page .lot-place{display:flex;align-items:center;gap:13px;flex:1 1 220px;background:transparent;border:1px solid var(--border,#e0e7ed);border-radius:6px;padding:13px;text-align:left;color:inherit}.ss-lot-page .lot-place b,.ss-lot-page .lot-place strong{display:block;font-size:12px}.ss-lot-page .lot-place small{display:block;font-size:10px;color:#8798a6;line-height:1.7}.ss-lot-page .lot-read-evidence{border:1px solid #dce3e9;background:var(--bg-surface,#fff);color:inherit;border-radius:5px;padding:8px 10px;font-size:12px;cursor:pointer}.ss-lot-page .content{padding:0}.ss-lot-page .titlebar h2{font-size:25px;margin:0}
.ss-lot-page .hero-layout{grid-template-columns:315px minmax(0,1fr)}.ss-lot-page .node small,.ss-lot-page .nodetime{overflow-wrap:anywhere}.ss-lot-page .nodetime{line-height:1.6;text-align:center}
.ss-lot-page .event strong{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.ss-lot-page .brief b{font-size:11px;line-height:1.8;display:block}.ss-lot-page .roundbar select{border:1px solid #ccd7df;border-radius:5px;background:var(--bg-surface,#fff);color:inherit;padding:8px;max-width:75%}
.ss-lot-page .lot-empty{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--border,#dce3e9);border-radius:8px;background:var(--bg-surface,#fff);text-align:center;padding:30px;color:var(--text,#222e38)}.ss-lot-page .lot-empty>.ti{font-size:78px;color:#a5b3c0}.ss-lot-page .lot-empty p{color:var(--text-muted,#7c8a96)}.ss-lot-page .lot-alert{background:#fff2df;border:1px solid #ead5b6;border-radius:5px;color:#876137;padding:12px;font-size:12px}.ss-lot-page .lot-no-round{display:flex;gap:15px;padding:18px;align-items:center;color:#8396a6}.ss-lot-page .lot-no-round .ti{font-size:33px}.ss-lot-page .lot-detail-record+.lot-detail-record{border-top:4px solid #e7edf2}.ss-lot-page .lot-detail-help,.ss-lot-page .lot-detail-empty{padding:13px;font-size:12px;line-height:1.8;color:#8191a1}.ss-lot-page .lot-detail-record .fieldgrid{grid-template-columns:1fr 1fr}.ss-lot-page .lot-nested-record{margin:8px 0;border:1px solid #e6ebef;border-radius:5px}.ss-lot-page .field:has(.lot-nested-record){grid-column:1/-1}.ss-lot-page .lot-restricted{font-weight:400;font-size:11px;color:#8e745a}.ss-lot-page .lot-scanner{width:100%;max-height:50vh}.ss-lot-page dialog{overscroll-behavior:contain}
:root[data-theme="dark"] .ss-lot-page{color:#e1e9ef}:root[data-theme="dark"] .ss-lot-page :is(.visual-card,.metric,.tile,.product,.event,.nodeicon,article,.drawerhead,.input,.scan){background:#1e2731;border-color:#384653;color:#d5e1ec}:root[data-theme="dark"] .ss-lot-page :is(.cardtitle b,.event b,.tile b,.metric b,.node b,.field .known){color:#d6e1e9}:root[data-theme="dark"] .ss-lot-page :is(.roundbar,.cardhead){background:#2c3b49;color:#dbe7f1}:root[data-theme="dark"] .ss-lot-page dialog{background:#18212b;color:#dfebf2}:root[data-theme="dark"] .ss-lot-page .product-art{background:radial-gradient(ellipse,#4b4030,#252b31 70%)}:root[data-theme="dark"] .ss-lot-page input{color:#edf3f8;background:transparent}:root[data-theme="dark"] .ss-lot-page .lot-alert{background:#352d22;color:#e9cd98;border-color:#655038}
@media(max-width:1200px){.ss-lot-page .hero-layout{grid-template-columns:260px minmax(0,1fr)}.ss-lot-page .product-art{width:105px}.ss-lot-page .product-art img{width:100px}.ss-lot-page .titlebar{flex-wrap:wrap;gap:15px}.ss-lot-page .tile{padding:11px}.ss-lot-page .node b{font-size:10px}.ss-lot-page .tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.ss-lot-page .hero-layout{grid-template-columns:1fr}.ss-lot-page .product{min-height:180px}.ss-lot-page .product-art{width:140px}.ss-lot-page .product-art img{height:160px}.ss-lot-page .nodes{grid-template-columns:repeat(3,1fr);gap:18px}.ss-lot-page .nodes:before{display:none}.ss-lot-page .metrics,.ss-lot-page .roundflow{grid-template-columns:1fr 1fr}.ss-lot-page .event:after{display:none}.ss-lot-page .search{width:100%}.ss-lot-page .input{flex:1;min-width:0}.ss-lot-page .input input{width:100%;min-width:0}.ss-lot-page .brief{grid-template-columns:1fr 1fr}.ss-lot-page .salesfoot,.ss-lot-page .cardtitle{gap:12px;align-items:start;flex-wrap:wrap}.ss-lot-page .roundbar{flex-wrap:wrap;gap:10px}.ss-lot-page .roundbar select{max-width:100%;width:100%}.ss-lot-page dialog{width:100%;max-width:100%}.ss-lot-page .tile small{font-size:10px}}
@media(max-width:420px){.ss-lot-page .tiles{grid-template-columns:1fr}.ss-lot-page .metric{padding:11px;gap:10px}.ss-lot-page .metric-icon{padding:8px}.ss-lot-page .primary{padding:0 12px}.ss-lot-page .titlebar h2{font-size:22px}.ss-lot-page .fieldgrid{grid-template-columns:1fr!important}.ss-lot-page .drawer-section{padding:13px}.ss-lot-page .event{padding:11px;gap:9px}.ss-lot-page .eventicon{width:33px;height:33px;font-size:20px}}
