:root { --bg:#f7f7f5; --paper:#fff; --text:#20201e; --muted:#767671; --line:#e8e8e3; --accent:#245548; --accent-soft:#e7f1ec; --warning:#835b11; --warning-soft:#fbf3df; --danger:#a83b34; --radius:12px; font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; color:var(--text); background:var(--bg); }
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; } html,body { min-height:100%; overscroll-behavior:none; } body { margin:0; } button,input,select,textarea { font:inherit; } button { cursor:pointer; }
.app-shell { max-width:1180px; margin:0 auto; padding:34px 28px 56px; }.topbar,.section-header,.dialog-header,.dialog-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; }.topbar { margin-bottom:24px; }.eyebrow { margin:0 0 6px; color:var(--muted); font-size:11px; letter-spacing:.1em; font-weight:700; }.topbar h1,h2 { margin:0; letter-spacing:-.03em; }.topbar h1 { font-size:25px; }.topbar-actions { display:flex; align-items:center; gap:12px; }.updated-at { color:var(--muted); font-size:12px; }
.summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-bottom:24px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); }.summary-card { display:grid; grid-template-columns:auto auto minmax(0,1fr); align-items:baseline; min-height:0; padding:11px 16px; border:0; border-right:1px solid var(--line); background:transparent; }.summary-card:last-child { border-right:0; }.summary-card.attention { background:transparent; }.summary-card p,.summary-card small { margin:0; color:var(--muted); }.summary-card p { grid-column:1 / -1; font-size:11px; }.summary-card strong { display:inline-block; margin-top:4px; font-size:22px; letter-spacing:-.04em; }.summary-card span { color:var(--muted); font-size:12px; }.summary-card small { grid-column:3; margin-left:8px; overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.tabs { display:flex; gap:4px; border-bottom:1px solid var(--line); margin-bottom:25px; }.tab { display:flex; align-items:center; gap:7px; padding:10px 14px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); font-size:14px; }.tab svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }.tab.active { border-color:var(--accent); color:var(--text); font-weight:700; }.view { display:none; }.view.active { display:block; }.section-header { margin-bottom:14px; }.section-header h2 { font-size:18px; }.section-header p { margin:6px 0 0; color:var(--muted); font-size:13px; }.filter-label { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:13px; }.filter-label select { border:1px solid var(--line); border-radius:8px; background:#fff; padding:7px 9px; }
.table-wrap { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); overflow:auto; } table { width:100%; border-collapse:collapse; min-width:720px; } th,td { padding:15px 14px; text-align:left; border-bottom:1px solid var(--line); font-size:13px; } th { color:var(--muted); font-weight:600; background:#fcfcfb; } tr:last-child td { border-bottom:0; }.product-cell strong { display:block; font-size:14px; }.product-cell small { display:block; margin-top:4px; color:var(--muted); }.align-right { text-align:right; }.empty { padding:30px; color:var(--muted); text-align:center; }
.inventory-table { min-width:980px; }.inventory-table th:first-child,.inventory-table td:first-child { min-width:320px; }.inventory-table th:nth-child(2),.inventory-table td:nth-child(2),.inventory-table th:nth-child(3),.inventory-table td:nth-child(3),.inventory-table th:nth-child(4),.inventory-table td:nth-child(4),.inventory-table th:nth-child(5),.inventory-table td:nth-child(5),.inventory-table th:last-child,.inventory-table td:last-child { white-space:nowrap; }.inventory-table th:nth-child(4),.inventory-table td:nth-child(4) { min-width:170px; }.inventory-table th:last-child,.inventory-table td:last-child { width:1%; }.inventory-table .row-action { min-width:64px; white-space:nowrap; }
.pill { display:inline-flex; padding:4px 8px; border-radius:99px; background:#f1f1ee; font-size:11px; font-weight:700; white-space:nowrap; }.pill.holding { color:var(--accent); background:var(--accent-soft); }.pill.sold { color:var(--muted); }.pill.wait { color:var(--warning); background:var(--warning-soft); }.pill.winner { color:var(--danger); background:#fbe9e7; }
.button { border:1px solid transparent; border-radius:8px; padding:9px 13px; background:#fff; font-weight:700; font-size:13px; }.button.primary { background:var(--accent); color:#fff; }.button.secondary { border-color:var(--line); color:var(--text); }.button.quiet { padding-inline:6px; color:var(--muted); background:transparent; font-weight:500; }.button.danger { background:var(--danger); color:#fff; }.button:disabled { cursor:not-allowed; opacity:.5; }.row-action { padding:6px 9px; font-size:12px; }
.lot-filter-bar { display:grid; grid-template-columns:minmax(150px,.45fr) minmax(260px,1fr); gap:10px; margin:0 0 14px; }.lot-filter-field { display:grid; gap:6px; color:var(--muted); font-size:12px; }.lot-filter-field select,.lot-filter-field input { width:100%; min-height:40px; border:1px solid var(--line); border-radius:8px; padding:8px 10px; background:#fff; color:var(--text); }.lot-filter-field input::placeholder { color:#a0a09a; }.lot-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }.lot-card { padding:18px; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); }.lot-card-main { min-width:0; }.lot-card-side { min-width:0; margin-top:18px; }.lot-card h3 { margin:8px 0; font-size:15px; }.lot-card dl { display:grid; grid-template-columns:110px 1fr; gap:8px 14px; margin:16px 0 0; font-size:13px; }.lot-card dt { color:var(--muted); }.lot-card dd { margin:0; overflow-wrap:anywhere; }.lot-statuses { display:flex; flex-wrap:wrap; gap:6px; }.lot-actions { display:grid; grid-template-columns:1fr 1.25fr; gap:8px; }.lot-actions .button { min-height:42px; }.lot-hint { margin:9px 0 0; color:var(--muted); font-size:11px; line-height:1.5; }.text-link { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.today-section { margin-top:2px; }.open-lottery-section { margin-top:36px; }.action-list,.lottery-grid,.lottery-group-grid { display:grid; gap:10px; }.lottery-controls { position:sticky; z-index:12; top:0; margin-bottom:14px; padding:10px 0 1px; background:rgba(247,247,245,.96); backdrop-filter:blur(10px); }.lottery-controls .section-header { margin-bottom:10px; }.lottery-controls .status-chips { margin-bottom:0; }.lottery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.lottery-grid.grouped { grid-template-columns:1fr; gap:24px; }.lottery-group { min-width:0; scroll-margin-top:120px; }.lottery-group-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 10px; padding:0 2px 9px; border-bottom:1px solid var(--line); }.lottery-group-header h3 { margin:0; font-size:14px; }.lottery-group-header span { flex:0 0 auto; color:var(--muted); font-size:11px; }.lottery-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.action-card { position:relative; display:grid; grid-template-columns:5px minmax(0,1fr) auto; gap:15px; align-items:center; min-height:118px; padding:16px 17px 16px 13px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); cursor:pointer; transition:border-color .15s,box-shadow .15s,transform .15s; }.action-card:hover,.action-card:focus-visible { border-color:#c9d7d1; box-shadow:0 7px 22px rgba(36,85,72,.08); outline:0; transform:translateY(-1px); }.action-priority { align-self:stretch; width:5px; min-height:66px; border-radius:99px; background:#8a9c94; }.priority-red .action-priority { background:var(--danger); }.priority-yellow .action-priority { background:#d69b28; }.priority-green .action-priority { background:#5e8b78; }.action-main { min-width:0; }.action-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--muted); font-size:12px; }.action-fulfillment { padding:3px 7px; border-radius:999px; background:#f0f3f1; color:#4f665d; font-size:10px; font-weight:700; white-space:nowrap; }.action-card h3 { margin:8px 0 4px; font-size:15px; line-height:1.45; }.action-next { margin:0; font-size:13px; font-weight:700; line-height:1.55; }.action-details { display:flex; flex-wrap:wrap; gap:7px 16px; margin-top:9px; color:var(--muted); font-size:11px; }.action-details span { display:flex; gap:6px; }.action-details strong { flex:0 0 auto; color:var(--text); white-space:nowrap; }.action-link { white-space:nowrap; text-decoration:none; }.action-link-missing { color:var(--muted); font-size:11px; white-space:nowrap; }.action-link-mobile,.action-link-missing-mobile { display:none; }.status-chips { display:flex; gap:8px; margin:0 0 16px; padding-bottom:2px; overflow:auto; scrollbar-width:thin; }.status-chip { display:flex; align-items:center; gap:9px; flex:0 0 auto; padding:8px 10px; border:1px solid var(--line); border-radius:9px; background:var(--paper); color:var(--muted); font-size:12px; }.status-chip.selected { border-color:var(--accent); color:var(--accent); background:var(--accent-soft); box-shadow:inset 0 0 0 1px var(--accent); }.status-chip strong { color:var(--text); font-size:13px; }.status-chip.selected strong { color:var(--accent); }.empty-state { grid-column:1 / -1; padding:34px 20px; border:1px dashed #d9d9d3; border-radius:var(--radius); color:var(--muted); text-align:center; }.empty-state strong { color:var(--text); font-size:15px; }.empty-state p { margin:7px 0 0; font-size:12px; }
.lottery-bulk-toolbar,.bulk-toolbar-actions { display:flex; align-items:center; gap:8px; }.lottery-bulk-toolbar { position:sticky; z-index:18; top:8px; flex-wrap:wrap; margin:0 0 16px; padding:12px; border:1px solid #d8e4df; border-radius:10px; background:#f2f7f5; box-shadow:0 8px 24px rgba(36,85,72,.1); }.bulk-selection-count { color:var(--muted); font-size:12px; font-weight:700; }.bulk-toolbar-actions { margin-left:auto; }.status-chips.bulk-hidden { display:none; }.action-card.bulk-selectable { padding-left:48px; }.action-card.bulk-selectable.selected { border-color:var(--accent); background:#f5faf7; box-shadow:0 0 0 2px rgba(36,85,72,.08); }.bulk-card-check { position:absolute; z-index:2; top:14px; left:13px; display:grid; place-items:center; width:25px; height:25px; border:1px solid #cfd6d2; border-radius:7px; background:#fff; cursor:pointer; }.bulk-card-check input { position:absolute; width:1px; height:1px; opacity:0; }.bulk-card-check span { color:transparent; font-size:14px; font-weight:800; }.bulk-card-check:has(input:checked) { border-color:var(--accent); background:var(--accent); }.bulk-card-check:has(input:checked) span { color:#fff; }.bulk-confirm-list { display:grid; gap:7px; max-height:240px; margin:12px 0 0; padding:0; overflow:auto; list-style:none; }.bulk-confirm-list li { display:grid; gap:2px; padding:9px 10px; border-radius:8px; background:#f5f5f2; }.bulk-confirm-list span { font-size:12px; }
.calendar-section { margin:2px 0 34px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); }.calendar-summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 18px; cursor:pointer; list-style:none; }.calendar-summary::-webkit-details-marker { display:none; }.calendar-summary:focus { outline:0; }.calendar-summary:focus-visible { box-shadow:inset 0 0 0 2px var(--accent); }.calendar-summary h2 { font-size:18px; }.calendar-toggle { display:grid; place-items:center; width:30px; height:30px; border-radius:8px; color:var(--muted); background:#f4f4f1; font-size:20px; transition:transform .18s ease; }.calendar-section[open] .calendar-toggle { transform:rotate(180deg); }.calendar-body { padding:0 16px 16px; border-top:1px solid var(--line); }.calendar-navigation { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:7px; padding:12px 0 6px; }.calendar-month-switcher { grid-column:2; display:grid; grid-template-columns:32px minmax(94px,auto) 32px; align-items:center; gap:7px; }.calendar-month-switcher strong { text-align:center; font-size:14px; }.calendar-month-switcher .icon-button { font-size:22px; }.calendar-navigation #calendarToday { grid-column:3; justify-self:end; }.calendar-weekdays,.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }.calendar-weekdays { color:var(--muted); font-size:11px; text-align:center; }.calendar-weekdays span { padding:7px; }.calendar-grid { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); }.calendar-day { min-width:0; min-height:104px; padding:8px; border:0; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--paper); color:var(--text); text-align:left; }.calendar-day:nth-child(7n) { border-right:0; }.calendar-day:nth-last-child(-n+7) { border-bottom:0; }.calendar-day.outside { background:#fafaf8; }.calendar-day:disabled { cursor:default; opacity:1; }.calendar-day.has-events:hover { background:#f7faf8; }.calendar-date { display:grid; place-items:center; width:25px; height:25px; border-radius:99px; font-size:12px; font-weight:700; }.calendar-day.today .calendar-date { color:#fff; background:var(--accent); }.calendar-events { display:grid; gap:4px; margin-top:6px; }.calendar-event { display:block; overflow:hidden; padding:3px 5px; border-radius:5px; font-size:9px; font-weight:650; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }.calendar-event-open { color:var(--accent); background:var(--accent-soft); }.calendar-event-deadline { color:var(--danger); background:#fbe9e7; }.calendar-event-result { color:var(--warning); background:var(--warning-soft); }.calendar-event-purchase { color:#365d83; background:#e8f0f8; }.calendar-event-neutral { color:#666660; background:#efefec; }.calendar-more { color:var(--muted); font-size:9px; }.lottery-detail-status { display:flex; align-items:center; gap:9px; margin:-5px 0 18px; color:var(--muted); font-size:11px; }.lottery-detail-list { max-height:48vh; padding-right:5px; overflow:auto; }.application-notice { min-height:20px; margin:16px 0 0; color:var(--muted); font-size:12px; }.lottery-actions { flex-wrap:wrap; }.lottery-actions .button { min-height:42px; text-align:center; text-decoration:none; }.lottery-action-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; }.lottery-action-button[hidden] { display:none !important; }.button-icon { font-size:16px; line-height:1; }
.dialog { max-width:min(640px,calc(100vw - 30px)); max-height:calc(100vh - 30px); border:1px solid var(--line); border-radius:14px; padding:0; box-shadow:0 18px 60px rgba(0,0,0,.18); }.dialog::backdrop { background:rgba(25,25,22,.32); }.dialog article,.dialog form { padding:22px; }.dialog-header { align-items:flex-start; margin-bottom:18px; }.dialog-header h2 { font-size:20px; }.icon-button { width:32px; height:32px; border:0; border-radius:8px; background:#f4f4f1; color:var(--muted); font-size:23px; line-height:1; }.detail-list { display:grid; grid-template-columns:130px 1fr; gap:10px 16px; margin:0; }.detail-list dt { color:var(--muted); font-size:13px; }.detail-list dd { margin:0; font-size:13px; overflow-wrap:anywhere; }.dialog-footer { margin-top:24px; justify-content:flex-end; }.detail-actions { flex-wrap:wrap; }.detail-actions .button { min-height:42px; }.dialog-note { margin:0 0 16px; color:var(--muted); font-size:13px; line-height:1.7; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.form-grid label { display:grid; gap:6px; font-size:13px; font-weight:700; }.form-grid input,.form-grid textarea { width:100%; border:1px solid var(--line); border-radius:8px; padding:9px 10px; background:#fff; color:var(--text); font-weight:400; }.form-grid .full { grid-column:1 / -1; }.sale-preview { display:flex; justify-content:space-between; margin-top:18px; padding:13px; border-radius:8px; background:#f4f4f1; font-size:13px; }.sale-preview strong { font-size:16px; }.confirm-content { color:var(--muted); font-size:14px; line-height:1.8; }.confirm-content strong { color:var(--text); }.toast { position:fixed; right:20px; bottom:20px; max-width:360px; padding:12px 15px; border-radius:9px; color:white; background:#222; box-shadow:0 8px 25px rgba(0,0,0,.2); transform:translateY(20px); opacity:0; pointer-events:none; transition:.2s; font-size:13px; }.toast.show { transform:none; opacity:1; }.toast.error { background:var(--danger); }
.login-dialog { width:min(390px,calc(100vw - 30px)); }.login-dialog::backdrop { background:#f7f7f5; }.login-dialog form { padding:30px; text-align:center; }.login-dialog h2 { margin:0 0 12px; font-size:23px; }.login-mark { display:grid; place-items:center; width:48px; height:48px; margin:0 auto 18px; border-radius:13px; color:var(--accent); background:var(--accent-soft); }.login-mark svg { width:25px; height:25px; }.login-label { display:grid; gap:7px; margin-top:22px; text-align:left; font-size:13px; font-weight:700; }.login-label input { width:100%; border:1px solid var(--line); border-radius:8px; padding:11px; }.login-button { width:100%; margin-top:8px; padding-block:11px; }.login-error { min-height:20px; margin:8px 0 0; color:var(--danger); font-size:12px; }
.withdrawal-reason-field { display:grid; gap:6px; margin-top:16px; color:var(--text); font-size:13px; font-weight:700; text-align:left; }.withdrawal-reason-field textarea { width:100%; resize:vertical; border:1px solid var(--line); border-radius:8px; padding:10px; background:#fff; color:var(--text); font:inherit; line-height:1.5; }.withdrawal-reason-field textarea:focus { border-color:var(--accent); outline:2px solid var(--accent-soft); }
.calendar-day { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; }
.calendar-day-event-list { display:grid; gap:9px; }.calendar-day-event { display:grid; gap:5px; width:100%; padding:13px 14px; border:1px solid var(--line); border-left-width:4px; border-radius:10px; background:var(--paper); color:var(--text); text-align:left; }.calendar-day-event:hover,.calendar-day-event:focus-visible { filter:brightness(.985); outline:0; }.calendar-day-event-open { border-left-color:var(--accent); background:#f7fbf9; }.calendar-day-event-deadline { border-left-color:var(--danger); background:#fff8f7; }.calendar-day-event-result { border-left-color:#d69b28; background:#fffaf0; }.calendar-day-event-purchase { border-left-color:#527ba3; background:#f7faff; }.calendar-day-event-neutral { border-left-color:#9a9a93; }.calendar-day-event strong { font-size:13px; line-height:1.5; }.calendar-day-event span { color:var(--muted); font-size:11px; }.calendar-day-event-time { color:inherit !important; font-weight:700; }
@media (min-width:900px) { #lotsView .lot-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,320px); gap:22px; align-items:stretch; } #lotsView .lot-card-side { display:flex; flex-direction:column; justify-content:center; margin-top:0; padding-left:22px; border-left:1px solid var(--line); } #lotsView .lot-actions { grid-template-columns:1fr; } }
@media (min-width:900px) and (orientation:landscape) { .home-view-active,.home-view-active body { height:100dvh; overflow:hidden; } .home-view-active .app-shell { height:100dvh; overflow:hidden; } .app-shell { max-width:1600px; padding-right:28px; padding-left:28px; } #homeView.active { display:grid; grid-template-columns:minmax(380px,.9fr) minmax(380px,1.1fr); column-gap:18px; height:calc(100dvh - 204px - env(safe-area-inset-bottom)); min-height:460px; margin-bottom:24px; overflow:hidden; } #homeView > .calendar-section { display:block; grid-column:1; align-self:start; width:100%; height:auto; max-height:100%; margin-bottom:24px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; } #homeView > .calendar-section .calendar-summary { position:sticky; z-index:2; top:0; border-bottom:1px solid var(--line); background:var(--paper); cursor:default; pointer-events:none; } #homeView > .calendar-section .calendar-toggle { display:none; } #homeView > .calendar-section .calendar-body { padding-bottom:16px; border-top:0; } #homeView > .calendar-section .calendar-day { min-height:72px; padding:5px; } #homeView > .calendar-section .calendar-date { width:21px; height:21px; font-size:10px; } #homeView > .calendar-section .calendar-events { gap:3px; margin-top:3px; } #homeView > .calendar-section .calendar-event { padding:2px 4px; font-size:8px; } #homeView > .home-actions-column { display:block; grid-column:2; align-self:stretch; min-width:0; min-height:0; padding-right:6px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; } #homeView > .home-actions-column > .summary-grid { margin-bottom:20px; } #homeView .section-header { align-items:flex-start; flex-direction:column; } #homeView .section-header .button { width:100%; } #homeView .action-card { grid-template-columns:5px minmax(0,1fr); } #homeView .action-link-desktop,#homeView .action-link-missing-desktop { display:none; } #homeView .action-details { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px 8px; } #homeView .action-details .action-timing { grid-column:1; grid-row:1; min-width:0; } #homeView .action-details .action-link-mobile,#homeView .action-details .action-link-missing-mobile { grid-column:2; grid-row:1; justify-self:end; } #homeView .action-link-mobile { display:inline-flex; min-height:32px; padding:6px 9px; font-size:10px; } #homeView .action-link-missing-mobile { display:inline; font-size:10px; } .inventory-table { min-width:100%; } }
@media (min-width:900px) and (orientation:landscape) and (min-height:820px) { #homeView > .calendar-section { max-height:none; overflow-y:hidden; overscroll-behavior:none; } }
@media (max-width:899px), (orientation:portrait) { #homeView.active { display:flex; flex-direction:column; } #homeView > .calendar-section { order:2; } #homeView > .home-actions-column { display:contents; } #homeView .summary-grid { order:1; } #homeView .today-section { order:3; } #homeView .open-lottery-section { order:4; } }
@media (min-width:1400px) { .lottery-grid:not(.grouped),.lottery-group-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:850px) { .lottery-grid { grid-template-columns:1fr; } }
@media (max-width:680px) { body { padding-bottom:74px; }.app-shell { padding:22px 16px 30px; }.topbar { align-items:flex-start; }.topbar h1 { max-width:210px; font-size:21px; }.topbar-actions { align-items:flex-end; flex-direction:column; gap:6px; }.topbar-actions .button.quiet { display:none; }.summary-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin-bottom:24px; }.summary-card { display:block; min-height:72px; padding:10px 8px; }.summary-card p { font-size:10px; }.summary-card strong { margin-top:7px; font-size:22px; }.summary-card small { margin:4px 0 0; overflow:hidden; font-size:9px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }.tabs { position:fixed; z-index:20; right:0; bottom:0; left:0; display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin:0; padding:6px max(4px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left)); border-top:1px solid var(--line); border-bottom:0; background:rgba(255,255,255,.96); box-shadow:0 -5px 18px rgba(0,0,0,.05); backdrop-filter:blur(10px); }.tab { justify-content:center; flex-direction:column; gap:3px; min-width:0; padding:5px 2px; border:0; font-size:10px; line-height:1.1; }.tab svg { width:20px; height:20px; }.tab.active { border:0; color:var(--accent); }.section-header { align-items:flex-start; flex-direction:column; }.section-header .button { width:100%; }.lottery-bulk-toolbar { position:fixed; z-index:19; right:12px; bottom:72px; left:12px; align-items:center; margin:0; }.bulk-toolbar-actions { flex:1; min-width:0; margin-left:0; }.bulk-toolbar-actions .button { min-width:0; padding-inline:8px; font-size:11px; }.bulk-toolbar-actions .button:first-child { flex:1; }.bulk-selection-count { flex:0 0 auto; }.action-card { grid-template-columns:4px minmax(0,1fr); gap:11px; padding:14px 13px 14px 10px; }.action-card.bulk-selectable { padding-left:46px; }.action-link-desktop,.action-link-missing-desktop { display:none; }.action-details { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px 8px; }.action-details > span { grid-column:1 / -1; }.action-details .action-timing { grid-column:1; grid-row:1; min-width:0; }.action-details .action-link-mobile,.action-details .action-link-missing-mobile { grid-column:2; grid-row:1; justify-self:end; }.action-link-mobile { display:inline-flex; min-height:32px; padding:6px 9px; font-size:10px; }.action-link-missing-mobile { display:inline; font-size:10px; }.lot-filter-bar { grid-template-columns:minmax(110px,.75fr) minmax(0,1.25fr); gap:7px; }.calendar-section { margin-bottom:28px; }.calendar-summary { padding:14px; }.calendar-body { padding:0 8px 8px; border-top:1px solid var(--line); }.calendar-navigation { width:100%; }.calendar-month-switcher { grid-template-columns:32px minmax(82px,auto) 32px; gap:5px; }.calendar-day { min-height:58px; padding:5px; }.calendar-date { width:21px; height:21px; font-size:10px; }.calendar-events { display:flex; gap:3px; margin-top:4px; }.calendar-event { width:6px; height:6px; padding:0; border-radius:99px; color:transparent; }.calendar-more { display:none; }.form-grid { grid-template-columns:1fr; }.detail-list { grid-template-columns:105px 1fr; }.dialog { width:calc(100vw - 24px); }.dialog article,.dialog form { padding:17px; }.lot-actions { grid-template-columns:1fr; }.detail-actions { display:grid; grid-template-columns:1fr; }.detail-actions .button { width:100%; }.lottery-actions { display:flex; flex-wrap:nowrap; gap:7px; width:100%; }.lottery-actions .button { flex:1 1 0; width:auto; min-width:0; min-height:44px; padding:9px 7px; font-size:11px; }.lottery-actions .button-label { display:inline; white-space:nowrap; }.lottery-actions .button-icon { flex:0 0 auto; font-size:15px; }.lottery-detail-list { max-height:44vh; } }
@media (max-width:380px) { .lottery-actions { gap:5px; }.lottery-actions .button { padding-right:5px; padding-left:5px; font-size:10px; }.lottery-actions .button-icon { display:none; } }
@media (max-width:360px) { .calendar-navigation { row-gap:2px; }.calendar-month-switcher { grid-column:1 / -1; grid-row:1; justify-self:center; }.calendar-navigation #calendarToday { grid-column:1 / -1; grid-row:2; justify-self:center; } }
.action-card.bulk-longpressable { user-select:none; -webkit-touch-callout:none; }
.lottery-bulk-toolbar[hidden] { display:none; }
@media (max-width:680px) { .lottery-bulk-toolbar { top:auto; } }
.form-grid select { width:100%; border:1px solid var(--line); border-radius:8px; padding:9px 10px; background:#fff; color:var(--text); font-weight:400; }
.inventory-flow { margin:0 0 22px; padding:16px; border:1px solid var(--line); border-radius:var(--radius); background:#fafaf8; }.inventory-flow-header { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:13px; }.inventory-flow-header h3 { margin:3px 0 0; font-size:17px; }.inventory-flow-header > p { max-width:460px; margin:0; color:var(--muted); font-size:11px; text-align:right; }.inventory-flow-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.inventory-flow-grid > .empty-state { padding:22px 16px; background:var(--paper); }.inventory-flow-card { position:relative; display:grid; gap:8px; min-width:0; padding:14px 15px; border:1px solid var(--line); border-left:4px solid #7595af; border-radius:10px; background:var(--paper); cursor:pointer; }.inventory-flow-card.stage-ready { border-left-color:var(--warning); }.inventory-flow-card:hover,.inventory-flow-card:focus-visible { border-color:var(--accent); outline:0; box-shadow:0 4px 16px rgba(36,85,72,.08); }.inventory-flow-card-status { display:flex; align-items:center; flex-wrap:wrap; gap:7px; color:var(--muted); font-size:10px; }.inventory-flow-card > strong { overflow:hidden; font-size:13px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }.inventory-flow-card > small { color:var(--muted); font-size:11px; }.inventory-flow-card-action { color:var(--accent); font-size:11px; font-weight:700; }.inventory-success-banner { display:grid; gap:4px; margin:0 0 14px; padding:13px 15px; border:1px solid #bad6ca; border-radius:10px; background:var(--accent-soft); color:var(--accent); }.inventory-success-banner[hidden] { display:none; }.inventory-success-banner span { font-size:12px; }.inventory-success-banner small { font-size:10px; overflow-wrap:anywhere; }.inventory-row-new { background:#f0f8f4; box-shadow:inset 4px 0 0 var(--accent); }
.inventory-intake-dialog { width:min(900px,calc(100vw - 30px)); max-width:min(900px,calc(100vw - 30px)); }.inventory-intake-dialog form { max-height:calc(100vh - 32px); overflow:auto; }.intake-section { margin-top:18px; padding:16px; border:1px solid var(--line); border-radius:11px; background:#fafaf8; }.intake-section-header { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px; }.intake-section-header h3 { margin:0; font-size:15px; }.intake-section-header p { margin:4px 0 0; color:var(--muted); font-size:11px; }.intake-total { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:14px; padding:11px 13px; border-radius:8px; background:var(--accent-soft); color:var(--accent); font-size:12px; }.intake-total strong { font-size:17px; }.intake-total strong.intake-total-mismatch { color:var(--danger); }.intake-items { display:grid; gap:12px; }.intake-item { padding:14px; border:1px solid var(--line); border-radius:10px; background:var(--paper); }.intake-item-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }.intake-item-header strong { display:block; font-size:13px; }.intake-item-remove { min-height:32px; padding:6px 10px; }.intake-item-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.intake-item-grid .wide { grid-column:span 2; }.intake-existing-id { display:block; margin-top:2px; color:var(--muted); font-size:10px; }
.inventory-intake-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; overflow:hidden; margin-bottom:15px; border:1px solid var(--line); border-radius:10px; background:var(--line); }.inventory-intake-summary > div { display:grid; gap:4px; min-width:0; padding:11px 13px; background:#fafaf8; }.inventory-intake-summary span { color:var(--muted); font-size:10px; }.inventory-intake-summary strong { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.inventory-intake-shrink-field { display:grid; grid-template-columns:minmax(180px,280px) 1fr; align-items:end; gap:12px; padding:15px; border:1px solid #d8e5df; border-radius:10px; background:#f5faf7; }.inventory-intake-shrink-field label { display:grid; gap:7px; color:var(--ink); font-size:12px; font-weight:700; }.inventory-intake-shrink-field small { padding-bottom:11px; color:var(--muted); font-size:11px; }
@media (max-width:680px) { .inventory-flow { padding:12px; }.inventory-flow-header { align-items:flex-start; flex-direction:column; gap:5px; }.inventory-flow-header > p { text-align:left; }.inventory-flow-grid { grid-template-columns:1fr; }.inventory-intake-dialog form { max-height:calc(100dvh - 24px); }.inventory-intake-summary { grid-template-columns:1fr; }.inventory-intake-shrink-field { grid-template-columns:1fr; }.inventory-intake-shrink-field small { padding-bottom:0; }.intake-section { padding:12px; }.intake-section-header { align-items:flex-start; flex-direction:column; }.intake-section-header .button { width:100%; }.intake-item-grid { grid-template-columns:1fr; }.intake-item-grid .wide { grid-column:auto; } }
.application-card-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.application-card-actions .button { min-height:32px; padding:5px 9px; font-size:11px; }
#lotteryOtherActions { margin-top:12px; font-size:12px; }
#lotteryOtherActions summary { cursor:pointer; color:var(--muted); }
#lotteryOtherActions .button { margin-top:8px; }
@media (max-width:680px) { .lottery-actions { flex-wrap:wrap; } .lottery-actions .button { flex-basis:auto; } }
