:root { color-scheme: light; --ink: #1d1d1f; --muted: #6e6e73; --line: #e8e8ed; --blue: #0071e3; --green: #217a47; --bg: #f5f5f7; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, select, summary, input[type="checkbox"] { cursor: pointer; }
button, input, select, summary, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible, .inventory-scroll:focus-visible { outline: 3px solid #8ec5ff; outline-offset: 3px; }
button:disabled { cursor: default; opacity: .45; }
[hidden] { display: none !important; }
.page-shell { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.site-header { display: flex; align-items: center; justify-content: space-between; height: 84px; border-bottom: 1px solid #e4e4e8; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 650; letter-spacing: -.35px; }
.brand-icon { display: grid; grid-template-columns: repeat(2, 5px); grid-template-rows: repeat(2, 5px); gap: 3px; width: 24px; height: 24px; padding: 4px; }
.brand-icon i { border-radius: 1.5px; background: var(--ink); }
.brand-icon i:last-child { background: var(--blue); }
.header-note { color: var(--muted); font-size: 12px; }
.header-note > span { margin: 0 8px; color: #a1a1a6; }
.hero { padding: 57px 0 37px; display: flex; gap: 28px; justify-content: space-between; align-items: flex-end; }
.eyebrow { font-size: 10px; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin: 0 0 16px; }
h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -1.8px; line-height: 1.2; font-weight: 650; margin: 0; }
.hero-copy { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 15px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 0 16px; border: 1px solid transparent; border-radius: 8px; white-space: nowrap; transition: background .15s, box-shadow .15s; font-size: 12px; font-weight: 550; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover:not(:disabled) { background: #0077ed; box-shadow: 0 2px 6px #0071e320; }
.button-secondary { background: #fff; border-color: #d8d8dd; color: var(--ink); }
.button-secondary:hover:not(:disabled) { background: #f8f8fa; }
.config-shortcut { margin-bottom: 3px; min-height: 36px; font-size: 11px; gap: 18px; }
.notice { background: #eaf2fd; border: 1px solid #c5ddfa; color: #164d82; border-radius: 12px; padding: 16px 20px; line-height: 1.8; margin: 0 0 20px; white-space: pre-line; }
.notice.notice-success { color: #17623b; background: #eaf6ef; border-color: #bfdfca; }
.notice.notice-error { color: #8d481a; background: #fff5e9; border-color: #f0dac1; }
.monitor-card { background: #fff; border: 1px solid #e4e4e9; border-radius: 18px; box-shadow: 0 3px 12px #00000003; overflow: hidden; }
.monitor-toolbar { padding: 25px 27px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.monitor-state { font-size: 10px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin: 0 0 7px; }
.state-dot { width: 5px; height: 5px; border-radius: 50%; background: #b4b4ba; }
.state-dot.is-running { background: #26a65b; box-shadow: 0 0 0 3px #26a65b15; }
.state-dot.is-restricted { background: #b57a35; }
.state-dot.is-checking { background: var(--blue); animation: pulse 1.4s ease-in-out infinite; }
.monitor-heading h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.4px; display: flex; gap: 12px; align-items: center; }
.count-label { font-weight: 400; color: #8b8b91; font-size: 11px; letter-spacing: 0; }
.monitor-actions { display: flex; align-items: center; gap: 9px; }
.interval-control { display: flex; align-items: center; gap: 6px; margin-right: 7px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.interval-control select { border: 0; border-bottom: 1px solid #d7d7dc; background: transparent; padding: 5px 2px; color: var(--ink); font-size: 11px; }
.refresh-icon { font-size: 18px; line-height: 1; font-weight: 400; }
.inventory-scroll { width: 100%; overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: thin; }
.inventory-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; table-layout: fixed; }
.inventory-table th, .inventory-table td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: middle; }
.inventory-table th:last-child, .inventory-table td:last-child { border-right: none; }
.inventory-table tbody tr:last-child td, .inventory-table tbody tr:last-child th { border-bottom: none; }
.inventory-table thead th { background: #fafafb; padding: 23px 27px; font-weight: 550; }
.inventory-table .store-column { width: 215px; }
.table-corner { color: #8b8b91; font-size: 10px; font-weight: 400 !important; }
.product-title { font-size: 12px; font-weight: 600; line-height: 1.65; display: block; }
.part-number { font-size: 9px; color: #96969c; font-weight: 400; margin-top: 4px; display: block; letter-spacing: .25px; }
.store-heading { padding: 26px 27px; background: #fff; }
.store-name { display: block; font-size: 12px; line-height: 1.65; font-weight: 550; }
.store-id { display: block; color: #a0a0a6; font-size: 9px; font-weight: 400; letter-spacing: .4px; margin-top: 6px; }
.inventory-table td { padding: 25px 27px; height: 108px; }
.cell-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; font-size: 12px; line-height: 1.5; }
.cell-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; background: currentColor; }
.status-available { color: var(--green); }
.status-unavailable { color: #808087; }
.status-ineligible { color: #97601d; }
.status-unknown, .status-waiting { color: #a0a0a6; }
.status-restricted { color: #97601d; }
.status-waiting::before { background: transparent; border: 1px solid currentColor; }
.cell-message { font-size: 10px; color: #98989f; line-height: 1.6; margin: 7px 0 0 11px; overflow-wrap: anywhere; }
.cell-stale { display: inline-block; margin: 6px 0 0 11px; color: #b57a35; font-size: 9px; }
.cell-previous { margin: 12px 0 0 11px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 10px; color: #98989f; line-height: 1.6; }
.cell-error { color: #a66a27; }
.inventory-table td.cell-available { background: #f3faf6; }
.monitor-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 27px; border-top: 1px solid var(--line); font-size: 10px; color: #8b8b91; }
.footer-timing { display: flex; gap: 12px; align-items: center; }
.footer-timing strong { margin-left: 6px; font-weight: 400; color: #67676e; }
.footer-divider { height: 10px; width: 1px; background: var(--line); }
.sound-control { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
input[type="checkbox"] { accent-color: var(--blue); width: 13px; height: 13px; margin: 0; }
.empty-state { min-height: 248px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 32px; text-align: center; }
.empty-icon { font-size: 32px; color: #b8b8bf; line-height: 1; margin-bottom: 14px; }
.empty-state h3 { margin: 0; font-size: 15px; font-weight: 500; }
.empty-state p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.config-panel { margin-top: 21px; border: 1px solid #e4e4e9; background: #fff; border-radius: 14px; }
.config-panel summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 22px 27px; }
.config-panel summary::-webkit-details-marker { display: none; }
.config-panel summary strong { font-size: 12px; font-weight: 550; }
.config-description { font-size: 10px; margin-left: 17px; color: #939399; }
.disclosure-icon { color: #8b8b91; font-size: 20px; font-weight: 300; transition: transform .15s; }
.config-panel[open] .disclosure-icon { transform: rotate(45deg); }
.config-content { border-top: 1px solid var(--line); padding: 22px 27px 26px; }
.config-hint { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 0 0 24px; }
.config-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.config-section + .config-section { border-left: 1px solid var(--line); padding-left: 34px; }
.config-section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.config-section-heading h3, .custom-product-label h3 { margin: 0; font-size: 12px; font-weight: 600; }
.config-section-heading > span { font-size: 10px; color: #8b8b91; }
.option-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.option { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; line-height: 1.6; font-size: 10px; min-width: 0; }
.option:has(input:checked) { background: #f4f8fe; border-color: #b8d4f5; }
.option > span { overflow-wrap: anywhere; }
.option input { flex-shrink: 0; }
.custom-product { display: grid; grid-template-columns: 1.15fr 1fr .9fr auto; align-items: end; gap: 16px; padding-top: 24px; margin-top: 26px; border-top: 1px solid var(--line); }
.custom-product-label { align-self: center; }
.custom-product-label p { font-size: 10px; color: var(--muted); line-height: 1.7; margin: 6px 0 0; }
.custom-product label > span { display: block; font-size: 9px; color: var(--muted); margin-bottom: 6px; }
.custom-product input { border: 1px solid #d8d8df; border-radius: 7px; height: 36px; width: 100%; padding: 0 10px; font-size: 10px; background: #fff; min-width: 0; }
.custom-product input::placeholder { color: #aaaab0; }
.custom-product .button { min-height: 36px; font-size: 10px; }
.form-error { grid-column: 1 / -1; font-size: 11px; color: #a0482a; margin: 0; }
.page-note { display: flex; gap: 8px; align-items: flex-start; margin: 20px 3px 0; color: #8b8b91; }
.note-symbol { border: 1px solid #a5a5ac; border-radius: 50%; font-size: 8px; width: 12px; height: 12px; text-align: center; margin-top: 3px; flex-shrink: 0; font-family: Georgia, serif; }
.page-note p { margin: 0; font-size: 10px; line-height: 1.9; }
.site-footer { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; color: #a0a0a6; margin-top: 52px; padding: 20px 0 26px; border-top: 1px solid #e4e4e8; }
.noscript-message { padding: 24px; background: #fff4e7; }
@keyframes pulse { 50% { opacity: .4; } }
@media (min-width: 1450px) { .page-shell { padding: 0 30px; } }
@media (max-width: 1050px) { .page-shell { padding: 0 28px; } .monitor-toolbar { align-items: flex-start; } .monitor-actions { flex-wrap: wrap; justify-content: flex-end; } .interval-control { flex-basis: 100%; justify-content: flex-end; margin-right: 0; } .monitor-heading { padding-top: 6px; } .option-list { grid-template-columns: 1fr; } .custom-product { grid-template-columns: 1fr 1fr auto; } .custom-product-label { grid-column: 1 / -1; } }
@media (max-width: 700px) { .page-shell { padding: 0 18px; } .site-header { height: 65px; } .brand { font-size: 14px; } .header-note { font-size: 9px; } .header-note > span { margin: 0 3px; } .hero { padding: 34px 0 26px; display: block; } h1 { letter-spacing: -1.2px; } .hero-copy { font-size: 12px; margin-top: 13px; max-width: 280px; } .eyebrow { font-size: 9px; margin-bottom: 12px; } .config-shortcut { margin-top: 19px; } .monitor-card { border-radius: 13px; } .monitor-toolbar { flex-direction: column; padding: 21px 18px; gap: 20px; } .monitor-heading { padding: 0; width: 100%; } .monitor-heading h2 { justify-content: space-between; font-size: 18px; } .monitor-actions { width: 100%; flex-wrap: nowrap; justify-content: flex-start; gap: 7px; } .interval-control { flex-basis: auto; margin-right: auto; font-size: 10px; gap: 3px; } .interval-control select { font-size: 10px; max-width: 65px; } .button { min-height: 36px; font-size: 11px; padding: 0 12px; } .monitor-footer { align-items: flex-start; flex-direction: column; padding: 15px 18px; gap: 13px; font-size: 9px; } .footer-timing { gap: 9px; flex-wrap: wrap; } .inventory-table .store-column { width: 155px; } .inventory-table thead th { padding: 20px; } .store-heading, .inventory-table td { padding: 23px 20px; } .config-panel summary { padding: 20px 18px; } .config-description { display: block; margin: 7px 0 0; font-size: 9px; } .config-content { padding: 20px 18px; } .config-columns { grid-template-columns: 1fr; gap: 24px; } .config-section + .config-section { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; } .option-list { grid-template-columns: 1fr 1fr; gap: 6px; } .option { padding: 9px 8px; font-size: 9px; } .custom-product { grid-template-columns: 1fr; gap: 12px; } .custom-product-label, .form-error { grid-column: auto; } .custom-product .button { justify-self: start; } .page-note { margin-top: 17px; } .page-note p { font-size: 9px; } .site-footer { margin-top: 34px; flex-direction: column; gap: 7px; font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
