
.lottery-workspace{--mx-bg:light-dark(#f3f7fa,#101b2b);--mx-surface:light-dark(#fff,#18263a);--mx-ink:light-dark(#0a1f44,#ecf3ff);--mx-muted:light-dark(#617084,#aabbd0);--mx-line:light-dark(#dae5ed,#34455d);--mx-soft:light-dark(#e8f7f9,#153e49);--mx-teal:light-dark(#007d8a,#50d5df);--mx-good:light-dark(#14644c,#84dbba);--mx-good-bg:light-dark(#e7f5ee,#203f36);--mx-warn:light-dark(#934600,#ffc07f);--mx-warn-bg:light-dark(#fff1df,#483321);--mx-red:light-dark(#a22e27,#ffafa8);--mx-red-bg:light-dark(#fff0ee,#472b30);--mx-navy:#0a1f44;--mx-row:10px;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mx-ink)}
.lottery-workspace *{box-sizing:border-box}.lottery-workspace button,.lottery-workspace input,.lottery-workspace select,.lottery-workspace textarea{font:inherit}.lottery-workspace button{cursor:var(--cursor-interaction,pointer)}.lottery-workspace button:focus-visible,.lottery-workspace input:focus-visible,.lottery-workspace select:focus-visible{outline:3px solid #00a6b2;outline-offset:3px}
.lottery-workspace .mx-preview{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:12px 100px 12px 0;margin-bottom:8px}.lottery-workspace .mx-preview select{max-width:240px}.lottery-workspace .mx-preview>span{margin-right:auto;font-size:12px;font-weight:700;letter-spacing:.07em;color:var(--mx-muted)}.lottery-workspace .mx-preview label{max-width:100%;display:flex;gap:6px;align-items:center;font-size:12px}.lottery-workspace select,.lottery-workspace input,.lottery-workspace textarea{color:var(--mx-ink);background:var(--mx-surface);border:1px solid var(--mx-line);border-radius:7px;padding:9px 10px;min-width:0;max-width:100%}
.lottery-workspace .mx-window{background:var(--mx-bg);border:1px solid var(--mx-line);border-radius:12px;overflow:hidden;max-width:100%;margin:auto;container:mx-app / inline-size}.lottery-workspace .mx-window[data-device=tablet]{max-width:780px}.lottery-workspace .mx-window[data-device=phone]{max-width:410px}.lottery-workspace .mx-chrome{display:flex;gap:18px;align-items:center;background:var(--mx-navy);color:#fff;padding:16px 20px;border-top:3px solid #ff7a00}.lottery-workspace .mx-logo{font-size:21px;font-weight:800;letter-spacing:-.8px;white-space:nowrap}.lottery-workspace .mx-logo em{font-style:normal;color:#47d0da}.lottery-workspace .mx-chrome small{color:#c4d5e8}.lottery-workspace .mx-profile{margin-left:auto;text-align:right;font-size:12px}.lottery-workspace .mx-shell{display:grid;grid-template-columns:164px minmax(0,1fr);min-height:650px}.lottery-workspace .mx-nav{padding:18px 10px;background:var(--mx-surface);border-right:1px solid var(--mx-line)}.lottery-workspace .mx-nav p{font-size:10px;font-weight:800;color:var(--mx-muted);letter-spacing:.1em;margin:18px 10px 8px}.lottery-workspace .mx-nav button{display:flex;gap:9px;align-items:center;width:100%;border:0;background:transparent;color:var(--mx-muted);padding:10px;border-radius:6px;text-align:left;margin:3px 0;font-size:12px;font-weight:600}.lottery-workspace .mx-nav button[aria-current=page]{background:var(--mx-soft);color:var(--mx-teal)}.lottery-workspace .mx-nav svg{width:16px;height:16px;flex-shrink:0}.lottery-workspace .mx-mobile-nav{display:none}.lottery-workspace .mx-main{padding:22px;min-width:0}.lottery-workspace .mx-context{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px;font-size:11px;color:var(--mx-muted)}.lottery-workspace .mx-context form{flex:1;max-width:340px;display:flex;gap:6px}.lottery-workspace .mx-context input{width:100%;font-size:12px;padding:7px 10px}.lottery-workspace .mx-context button{padding:7px 9px}.lottery-workspace .mx-head{display:flex;justify-content:space-between;gap:14px;align-items:start;margin-bottom:20px}.lottery-workspace h1{font-size:25px;line-height:1.2;letter-spacing:-.7px;margin:0 0 7px;font-weight:750}.lottery-workspace h2{font-size:16px;margin:0 0 12px;line-height:1.35}.lottery-workspace h3{font-size:14px;margin:0 0 8px}.lottery-workspace p{margin:0 0 12px}.lottery-workspace .mx-sub{color:var(--mx-muted);font-size:12px;max-width:570px}.lottery-workspace .mx-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.lottery-workspace .mx-btn{border:1px solid var(--mx-line);border-radius:7px;background:var(--mx-surface);color:var(--mx-ink);padding:8px 12px;font-size:12px;font-weight:650;white-space:normal}.lottery-workspace .mx-primary{background:var(--mx-teal);border-color:var(--mx-teal);color:light-dark(#fff,#0a1f44)}.lottery-workspace .mx-link{border:0;background:transparent;color:var(--mx-teal);padding:0;font-weight:650;font-size:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px}.lottery-workspace .mx-btn:disabled{opacity:.5;cursor:not-allowed}.lottery-workspace .mx-panel{border:1px solid var(--mx-line);border-radius:10px;background:var(--mx-surface);padding:18px;margin-bottom:16px}.lottery-workspace .mx-panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.lottery-workspace .mx-panel-head h2{margin:0}.lottery-workspace .mx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}.lottery-workspace .mx-metric{background:var(--mx-surface);padding:14px;border:1px solid var(--mx-line);border-radius:8px}.lottery-workspace .mx-metric small{display:block;color:var(--mx-muted);font-size:11px}.lottery-workspace .mx-metric strong{display:block;font-size:24px;letter-spacing:-.6px;margin:4px 0;font-weight:750}.lottery-workspace .mx-metric span{font-size:11px;color:var(--mx-muted)}.lottery-workspace .mx-split{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:16px;align-items:start}.lottery-workspace .mx-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lottery-workspace .mx-three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.lottery-workspace .mx-work{display:flex;gap:12px;align-items:center;padding:var(--mx-row) 0;border-bottom:1px solid var(--mx-line)}.lottery-workspace .mx-work:last-child{border-bottom:0}.lottery-workspace .mx-work>div{flex:1;min-width:0}.lottery-workspace .mx-work strong{display:block;font-size:13px}.lottery-workspace small{font-size:11px;color:var(--mx-muted)}.lottery-workspace .mx-pill{display:inline-block;padding:3px 7px;border-radius:5px;background:var(--mx-soft);color:var(--mx-teal);font-size:11px;font-weight:650;white-space:normal}.lottery-workspace .mx-pill.good{background:var(--mx-good-bg);color:var(--mx-good)}.lottery-workspace .mx-pill.warn{background:var(--mx-warn-bg);color:var(--mx-warn)}.lottery-workspace .mx-pill.bad{background:var(--mx-red-bg);color:var(--mx-red)}.lottery-workspace .mx-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--mx-line);padding-bottom:10px;margin-bottom:16px}.lottery-workspace .mx-tabs button{border:0;background:transparent;border-radius:5px;color:var(--mx-muted);padding:7px 10px;font-size:12px}.lottery-workspace .mx-tabs button[aria-pressed=true]{background:var(--mx-ink);color:var(--mx-surface)}.lottery-workspace .mx-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.lottery-workspace .mx-filter input{flex:1;min-width:130px}.lottery-workspace .mx-tablewrap{overflow-x:auto}.lottery-workspace table{width:100%;border-collapse:collapse;font-size:12px}.lottery-workspace th{text-align:left;font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--mx-muted);font-weight:700;padding:10px 9px;border-bottom:1px solid var(--mx-line)}.lottery-workspace td{padding:var(--mx-row) 9px;border-bottom:1px solid var(--mx-line);vertical-align:middle}.lottery-workspace td small{display:block;margin-top:3px}.lottery-workspace tbody tr:last-child td{border:0}.lottery-workspace .mx-num{font-variant-numeric:tabular-nums}.lottery-workspace .mx-mono{font-family:ui-monospace,SFMono-Regular,monospace;letter-spacing:.2px}.lottery-workspace .mx-notice{padding:12px 14px;background:var(--mx-soft);border-left:3px solid var(--mx-teal);border-radius:4px;margin-bottom:16px;font-size:12px}.lottery-workspace .mx-notice.warn{background:var(--mx-warn-bg);border-color:#ff7a00;color:var(--mx-warn)}.lottery-workspace .mx-notice.good{background:var(--mx-good-bg);border-color:var(--mx-good);color:var(--mx-good)}.lottery-workspace .mx-summary{background:var(--mx-navy);color:#fff;border-radius:10px;padding:18px;border-top:3px solid #ff7a00}.lottery-workspace .mx-summary small,.lottery-workspace .mx-summary p{color:#c4d5e8}.lottery-workspace .mx-summary .mx-big{font-size:36px;font-weight:750;margin:0}.lottery-workspace .mx-summary dl{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:12px;margin:18px 0}.lottery-workspace dd{margin:0;font-weight:650}.lottery-workspace .mx-summary dt{color:#c4d5e8}.lottery-workspace .mx-summary button{width:100%;background:#00a6b2;color:#0a1f44;border:0;margin-top:14px}.lottery-workspace .mx-summary table{color:#fff}.lottery-workspace .mx-summary th{color:#c4d5e8}.lottery-workspace .mx-summary th,.lottery-workspace .mx-summary td{border-color:#ffffff25;padding-left:0;padding-right:0}.lottery-workspace .mx-scan{border-top:3px solid var(--mx-teal)}.lottery-workspace .mx-form{display:grid;gap:14px}.lottery-workspace .mx-field{display:grid;gap:6px;font-size:12px;font-weight:650}.lottery-workspace .mx-field input,.lottery-workspace .mx-field select{width:100%}.lottery-workspace .mx-scanline{display:flex;gap:8px}.lottery-workspace .mx-scanline input{flex:1;font-family:ui-monospace,monospace;width:100%}.lottery-workspace .mx-step{font-size:11px;color:var(--mx-muted);margin-bottom:14px;display:flex;gap:12px;flex-wrap:wrap}.lottery-workspace .mx-step b{color:var(--mx-teal)}.lottery-workspace .mx-timeline{list-style:none;margin:0;padding:0}.lottery-workspace .mx-timeline li{position:relative;margin-left:7px;padding:0 0 20px 22px;border-left:2px solid var(--mx-line)}.lottery-workspace .mx-timeline li:before{content:'';position:absolute;left:-5px;top:5px;width:8px;height:8px;background:var(--mx-teal);border-radius:50%}.lottery-workspace .mx-timeline strong{display:block;font-size:13px}.lottery-workspace .mx-timeline p{font-size:12px;margin:4px 0}.lottery-workspace .mx-bin{background:var(--mx-surface);border:1px solid var(--mx-line);border-radius:8px;padding:14px}.lottery-workspace .mx-bin header{display:flex;justify-content:space-between;margin-bottom:12px}.lottery-workspace .mx-bin h3{font-size:13px}.lottery-workspace .mx-bin .mx-actions{margin-top:12px}.lottery-workspace .mx-inline{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.lottery-workspace .mx-empty{padding:26px;text-align:center;color:var(--mx-muted)}.lottery-workspace .mx-back{margin-bottom:15px}.lottery-workspace .mx-toast{margin-bottom:16px}.lottery-workspace .mx-footer{padding:12px 20px;background:var(--mx-surface);border-top:1px solid var(--mx-line);color:var(--mx-muted);font-size:11px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.lottery-workspace .mx-checklabel{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0}.lottery-workspace .mx-checklabel input{width:auto}.lottery-workspace .mx-alert{border-top:4px solid #ff7a00;max-width:530px;margin:20px auto}.lottery-workspace .mx-caption{font-size:11px;color:var(--mx-muted);margin:12px 0 0}.lottery-workspace .mx-selectable{border:1px solid var(--mx-line);padding:12px;background:var(--mx-surface);border-radius:7px;color:var(--mx-ink);text-align:left}.lottery-workspace .mx-selectable[aria-pressed=true]{border-color:var(--mx-teal);background:var(--mx-soft)}
@container mx-app (max-width:800px){.lottery-workspace .mx-shell{grid-template-columns:138px minmax(0,1fr)}.lottery-workspace .mx-main{padding:16px}.lottery-workspace .mx-split{grid-template-columns:1fr}.lottery-workspace .mx-metrics{grid-template-columns:repeat(2,1fr)}.lottery-workspace .mx-three{grid-template-columns:repeat(2,1fr)}.lottery-workspace .mx-head{flex-wrap:wrap}.lottery-workspace .mx-summary{max-width:none}}
@container mx-app (max-width:580px){.lottery-workspace .mx-shell{display:block;min-height:0}.lottery-workspace .mx-nav{display:none}.lottery-workspace .mx-mobile-nav{display:block;padding:10px 14px;background:var(--mx-surface);border-bottom:1px solid var(--mx-line)}.lottery-workspace .mx-mobile-nav select{width:100%}.lottery-workspace .mx-chrome{padding:12px 14px;gap:10px}.lottery-workspace .mx-chrome>small{display:none}.lottery-workspace .mx-main{padding:14px}.lottery-workspace .mx-two,.lottery-workspace .mx-three{grid-template-columns:1fr}.lottery-workspace h1{font-size:23px}.lottery-workspace .mx-scanline{flex-wrap:wrap}.lottery-workspace .mx-scanline input{flex-basis:100%}.lottery-workspace .mx-work{flex-wrap:wrap}.lottery-workspace .mx-context form{max-width:none;flex-basis:100%}.lottery-workspace .mx-btn{min-height:42px}.lottery-workspace .mx-metric strong{font-size:21px}.lottery-workspace .mx-preview{padding-right:0}.lottery-workspace .mx-metrics{gap:8px}}
@media(pointer:coarse){.lottery-workspace .mx-btn,.lottery-workspace .mx-nav button,.lottery-workspace .mx-tabs button{min-height:44px}.lottery-workspace input,.lottery-workspace select{font-size:16px}}
.lottery-workspace .mx-board-counts{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:16px;font-size:12px;color:var(--mx-muted)}
.lottery-workspace .mx-bin-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:22px}
.lottery-workspace .mx-bin-card{background:var(--mx-surface);border:1px solid var(--mx-line);border-radius:10px;padding:16px;min-width:0}
.lottery-workspace .mx-bin-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--mx-line);padding-bottom:12px;margin-bottom:14px;font-size:13px}
.lottery-workspace .mx-bin-identity{display:flex;align-items:center;gap:12px;min-width:0}.lottery-workspace .mx-bin-identity>div{min-width:0}.lottery-workspace .mx-bin-identity h2{font-size:16px;margin:4px 0 6px}.lottery-workspace .mx-bin-identity .mx-mono{font-size:12px}
.lottery-workspace .mx-book-art{width:84px;height:84px;object-fit:contain;background:#fff;border-radius:7px;flex-shrink:0}
.lottery-workspace .mx-bin-remaining{font-size:12px;margin-top:15px;padding:9px 0;color:var(--mx-muted)}.lottery-workspace .mx-bin-remaining strong{font-size:21px;color:var(--mx-ink);margin-right:5px}
.lottery-workspace .mx-bin-stamps{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:11px;margin:0 0 16px;padding-top:11px;border-top:1px solid var(--mx-line)}.lottery-workspace .mx-bin-stamps dt{color:var(--mx-muted)}.lottery-workspace .mx-bin-stamps dd{text-align:right;font-weight:500}
.lottery-workspace .mx-empty-bin>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:250px;text-align:center}.lottery-workspace .mx-empty-bin svg{width:30px;height:30px;color:var(--mx-teal);margin-bottom:15px}
.lottery-workspace .mx-unlocated{border-top:3px solid #ff7a00}.lottery-workspace .mx-unlocated-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid var(--mx-line)}.lottery-workspace .mx-unlocated-row>.mx-book-art{width:54px;height:54px}.lottery-workspace .mx-unlocated-row>div:not(.mx-actions){flex:1;min-width:0}.lottery-workspace .mx-unlocated-row small{display:block}
.lottery-workspace .mx-book-header{display:flex;gap:16px;align-items:center;margin-bottom:20px}.lottery-workspace .mx-stage-list li{display:flex;align-items:start;justify-content:space-between;gap:12px}.lottery-workspace .mx-stage-list li.pending:before{background:var(--mx-line)}.lottery-workspace .mx-stage-list li.attention:before{background:#ff7a00}
@container mx-app (max-width:850px){.lottery-workspace .mx-bin-board{grid-template-columns:1fr}.lottery-workspace .mx-unlocated-row{flex-wrap:wrap}.lottery-workspace .mx-unlocated-row>.mx-actions{flex-basis:100%;padding-left:66px}}
@container mx-app (max-width:420px){.lottery-workspace .mx-bin-card{padding:12px}.lottery-workspace .mx-bin-stamps{grid-template-columns:1fr}.lottery-workspace .mx-bin-stamps dd{text-align:left;margin-bottom:5px}.lottery-workspace .mx-book-art{width:68px;height:68px}.lottery-workspace .mx-bin-card header{flex-wrap:wrap}.lottery-workspace .mx-unlocated-row>.mx-actions{padding-left:0}.lottery-workspace .mx-stage-list li{flex-wrap:wrap}}


.lottery-workspace .mx-bin-layout{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:start}
.lottery-workspace .mx-bin-cover .mx-book-art{width:112px;height:112px;display:block}
.lottery-workspace .mx-bin-cover h2{font-size:14px;line-height:1.3;margin:10px 0 5px;overflow-wrap:anywhere}
.lottery-workspace .mx-bin-cover small{display:block;margin-bottom:4px}
.lottery-workspace .mx-bin-cover .mx-mono{font-size:11px;white-space:nowrap}
.lottery-workspace .mx-bin-details{min-width:0}
.lottery-workspace .mx-bin-details .mx-bin-remaining{margin-top:8px}
.lottery-workspace .mx-bin-details .mx-bin-stamps{grid-template-columns:1fr;gap:3px}
.lottery-workspace .mx-bin-details .mx-bin-stamps dd{text-align:left;margin-bottom:7px}
.lottery-workspace .mx-bin-details .mx-actions{gap:6px}
.lottery-workspace .mx-bin-details .mx-btn{padding:7px 9px;font-size:11px}
@container mx-app (max-width:420px){.lottery-workspace .mx-bin-layout{grid-template-columns:90px minmax(0,1fr);gap:12px}.lottery-workspace .mx-bin-cover .mx-book-art{width:90px;height:90px}.lottery-workspace .mx-bin-cover h2{font-size:13px}}

/* Compact bin board: identity stays below artwork; facts share short rows beside it. */
.lottery-workspace .mx-bin-board{gap:10px}
.lottery-workspace .mx-bin-card{padding:10px 12px;border-radius:8px}
.lottery-workspace .mx-bin-card header{padding-bottom:6px;margin-bottom:8px;font-size:12px}
.lottery-workspace .mx-bin-layout{grid-template-columns:76px minmax(0,1fr);gap:12px}
.lottery-workspace .mx-bin-cover .mx-book-art{width:64px;height:64px}
.lottery-workspace .mx-bin-cover h2{font-size:12px;line-height:1.2;margin:5px 0 3px}
.lottery-workspace .mx-bin-cover small{font-size:11px;margin-bottom:2px}
.lottery-workspace .mx-bin-cover .mx-mono{font-size:11px;white-space:normal;line-height:1.2}
.lottery-workspace .mx-bin-details .mx-pill{padding:2px 5px;font-size:11px}
.lottery-workspace .mx-bin-details .mx-bin-remaining{margin:3px 0 5px;padding:0;font-size:11px}
.lottery-workspace .mx-bin-details .mx-bin-remaining strong{font-size:17px;margin-right:3px}
.lottery-workspace .mx-bin-details .mx-bin-stamps{grid-template-columns:auto minmax(0,1fr);gap:3px 7px;padding-top:5px;margin:0 0 7px;font-size:11px;line-height:1.3}
.lottery-workspace .mx-bin-details .mx-bin-stamps dd{text-align:right;margin:0;overflow-wrap:anywhere}
.lottery-workspace .mx-bin-details .mx-actions{gap:6px}
.lottery-workspace .mx-bin-details .mx-btn{padding:4px 6px;font-size:11px;min-height:28px}
.lottery-workspace .mx-empty-bin>div{min-height:155px}
.lottery-workspace .mx-empty-bin svg{width:22px;height:22px;margin-bottom:8px}
.lottery-workspace .mx-empty-bin h2{font-size:13px;margin-bottom:5px}
.lottery-workspace .mx-empty-bin p{margin-bottom:8px}
@container mx-app (max-width:420px){.lottery-workspace .mx-bin-layout{grid-template-columns:68px minmax(0,1fr);gap:9px}.lottery-workspace .mx-bin-cover .mx-book-art{width:60px;height:60px}.lottery-workspace .mx-bin-card{padding:9px}.lottery-workspace .mx-bin-details .mx-bin-stamps{grid-template-columns:1fr;gap:1px}.lottery-workspace .mx-bin-details .mx-bin-stamps dd{text-align:left;margin-bottom:3px}}
@media(pointer:coarse){.lottery-workspace .mx-bin-details .mx-btn{min-height:44px}}
.lottery-workspace .mx-ribbon-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-left:auto}
.lottery-workspace .mx-ribbon-actions .mx-btn{padding:6px 9px;font-size:11px}
.lottery-workspace .mx-ribbon-actions .mx-profile{font-size:11px;margin:0}
.lottery-workspace .mx-chrome{flex-wrap:wrap;padding:12px 18px}
.lottery-workspace .mx-chrome small{font-size:11px}
.lottery-workspace .mx-ribbon-actions .mx-btn{background:#193454;border-color:#35516c;color:#edf5ff}
@container mx-app (max-width:620px){.lottery-workspace .mx-ribbon-actions{margin-left:0;width:100%}.lottery-workspace .mx-ribbon-actions .mx-profile{margin-left:auto}}

.lottery-workspace .mx-context{gap:8px;margin-bottom:12px;flex-wrap:wrap}
.lottery-workspace .mx-page-label{display:flex;align-items:baseline;gap:5px;min-width:0;flex:1 1 170px}
.lottery-workspace .mx-page-label>span{white-space:nowrap;font-size:11px}
.lottery-workspace .mx-page-label h1{font-size:13px;line-height:1.4;letter-spacing:0;font-weight:650;margin:0;color:var(--mx-ink)}
.lottery-workspace .mx-context form{flex:1 1 210px;max-width:280px;margin:0}
.lottery-workspace .mx-context input{min-width:0}
.lottery-workspace [data-page-actions]:empty{display:none}
.lottery-workspace .mx-context .mx-actions{gap:6px}
.lottery-workspace .mx-context .mx-btn{font-size:11px;min-height:32px;padding:6px 9px}
.lottery-workspace .mx-tabs{margin-bottom:12px}
@container mx-app (max-width:580px){.lottery-workspace .mx-page-label{flex-basis:100%}.lottery-workspace .mx-context form{flex:1 1 150px;max-width:none}.lottery-workspace .mx-context .mx-btn{min-height:40px}}
@media(pointer:coarse){.lottery-workspace .mx-context .mx-btn{min-height:44px}}
/* Match the approved layout inside the shared application top ribbon. */
.app-shell:has(.lottery-workspace){grid-template-columns:minmax(0,1fr)}
.app-shell:has(.lottery-workspace)>.sidebar{display:none}
.app-shell.lw-app-menu:has(.lottery-workspace){grid-template-columns:220px minmax(0,1fr)}
.app-shell.lw-app-menu:has(.lottery-workspace)>.sidebar{display:flex;transform:none;position:static}
.workspace:has(.lottery-workspace){padding:16px;max-width:none}
.lottery-workspace{container:mx-app / inline-size;background:var(--mx-bg);border:1px solid var(--mx-line);border-radius:10px;overflow:hidden}
.lottery-workspace .mx-shell{min-height:600px}.lottery-workspace .mx-main{padding:18px;min-width:0}.lottery-workspace .lw-content{min-width:0}
.lottery-workspace .lw-mobile{display:none}.lottery-workspace .lw-count{font-size:12px;color:var(--mx-muted);margin-bottom:8px}
.lottery-workspace .mx-tablewrap table{min-width:600px;width:100%;table-layout:auto;background:transparent;font-size:12px}
.lottery-workspace .mx-tablewrap th{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--mx-muted)}
.lottery-workspace .mx-tablewrap td{padding:10px 9px;vertical-align:middle}.lottery-workspace td small{display:block;color:var(--mx-muted);font-size:11px}
.lottery-workspace .panel{background:var(--mx-surface);border:1px solid var(--mx-line);border-radius:10px;padding:16px;box-shadow:none;margin-bottom:14px}
.lottery-workspace .lw-content h2{font-size:17px}.lottery-workspace .lw-content h3{font-size:15px}
.lottery-workspace .lottery-list-header-detail>p,.lottery-workspace .lottery-tracker-rule-strip{display:none}
.lottery-workspace .lottery-list-header{margin-bottom:10px}.lottery-workspace .lottery-list-header-top h3{display:none}
.lottery-workspace .lw-content button:not(.mx-btn):not(.dashboard-tab){border-radius:7px;font-size:12px}
.lottery-workspace .mx-bin-identity{display:block}.lottery-workspace .mx-bin-identity small{display:block;font-size:11px}
.lottery-workspace .mx-bin-stamps{font-size:11px}.lottery-workspace .mx-bin-stamps small{display:block;font-weight:400}
.lottery-workspace .mx-bin-card header{flex-wrap:wrap}.lottery-workspace .lw-art-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--mx-muted);background:var(--mx-bg);font-size:10px;text-align:center}
.lottery-workspace .lw-stages{list-style:none;padding:0;margin:0}.lottery-workspace .lw-stages li{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--mx-line);padding:10px 0}.lottery-workspace .lw-stages small{display:block;font-size:11px;color:var(--mx-muted)}
.lottery-workspace .lw-note{border-top:1px solid var(--mx-line);padding:10px 0}.lottery-workspace [data-lw-note] label{display:grid;gap:6px;margin-bottom:8px}.lottery-workspace [data-lw-note] textarea{min-height:70px;width:100%}
.lottery-workspace .mx-pill,.lottery-workspace .lottery-tracker-category{font-size:11px;line-height:1.4}
.lottery-workspace .mx-context form{min-width:0}.lottery-workspace .mx-context .mx-actions:empty{display:none}
@container mx-app (max-width:580px){.lottery-workspace .mx-nav{display:none}.lottery-workspace .lw-mobile{display:block;margin-bottom:12px}.lottery-workspace .lw-mobile label{display:flex;align-items:center;gap:8px;font-size:12px}.lottery-workspace .lw-mobile select{flex:1}.lottery-workspace .lw-stages li{flex-wrap:wrap}.lottery-workspace .mx-main{padding:12px}.lottery-workspace .panel{padding:12px}}
@media(max-width:760px){.app-shell.lw-app-menu:has(.lottery-workspace){grid-template-columns:1fr}.workspace:has(.lottery-workspace){padding:10px}.workspace:has(.lottery-workspace)>.topbar{flex-wrap:wrap}.workspace:has(.lottery-workspace)>.topbar .menu-toggle{display:inline-grid}}
.lottery-workspace .mx-nav{display:block;align-self:stretch;height:auto}.lottery-workspace .mx-nav button{box-shadow:none;min-height:0;transform:none}.lottery-workspace .mx-btn,.lottery-workspace .mx-tabs button{box-shadow:none;transform:none}
.lottery-workspace .mx-bin-identity h2{font-size:12px;line-height:1.35;margin:5px 0}.lottery-workspace .mx-bin-layout{grid-template-columns:76px minmax(0,1fr);gap:10px}.lottery-workspace .mx-bin-card .mx-book-art{width:64px;height:64px}.lottery-workspace .mx-bin-board{align-items:start}
.lottery-workspace .mx-bin-card{padding:10px 12px}.lottery-workspace .mx-bin-stamps{margin-bottom:8px}.lottery-workspace .mx-bin-card header{padding-bottom:6px;margin-bottom:8px}
.lottery-workspace .mx-tablewrap td:last-child{min-width:95px}.lottery-workspace .lottery-tracker-va-evidence{display:block}
@container mx-app (max-width:580px){.lottery-workspace .mx-nav{display:none}}
@media(max-width:760px){.app-shell:has(.lottery-workspace)>.sidebar.open{display:flex;position:fixed;transform:none;z-index:40;width:min(82vw,320px)}.lottery-workspace .lw-mobile{gap:8px}.lottery-workspace .lw-mobile label{flex:1}}

/* Responsive bin board: fit compact cards to available content width. */
.lottery-workspace .mx-bin-board{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}
.lottery-workspace .mx-bin-layout>div{min-width:0}
.lottery-workspace .mx-bin-stamps{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:5px 7px}
.lottery-workspace .mx-bin-stamps dd{min-width:0;overflow-wrap:anywhere}
.lottery-workspace .mx-bin-card .mx-actions{flex-wrap:wrap}
@container mx-app (max-width:420px){.lottery-workspace .mx-bin-stamps{grid-template-columns:1fr}.lottery-workspace .mx-bin-stamps dd{text-align:left}}
