:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f3f7fb;font-family:Inter,Noto Sans JP,Yu Gothic UI,Yu Gothic,Meiryo,sans-serif}*{box-sizing:border-box}html{background:radial-gradient(circle at 8% 0,#bcd9ff5c,#0000 30%),#f3f7fb;min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}#root{min-height:100vh}::selection{color:#fff;background:#24558f}.app-shell{width:min(1120px,100% - 40px);margin:0 auto;padding:44px 0 28px}.site-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.eyebrow,.section-label{color:#64748b;letter-spacing:.12em;margin:0;font-size:.75rem;font-weight:800}.site-header h1{color:#132238;letter-spacing:-.055em;margin:5px 0 0;font-size:clamp(2rem,5vw,3.3rem);line-height:1.05}.header-actions{align-items:center;gap:16px;display:flex}.updated-at{color:#64748b;margin:0;font-size:.875rem}button{min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:12px;font-weight:750;transition:transform .16s,box-shadow .16s,background-color .16s}button:focus-visible{outline-offset:3px;outline:3px solid #2563eb47}button:disabled{cursor:wait;opacity:.65}.refresh-button{color:#fff;background:#17375e;justify-content:center;align-items:center;gap:8px;padding:0 18px;display:inline-flex;box-shadow:0 8px 20px #17375e2e}.refresh-button:not(:disabled):hover{background:#0d2b50;transform:translateY(-1px)}.refresh-button span{font-size:1.3rem;line-height:1}.dashboard{gap:22px;display:grid}.status-panel{border:1px solid #0000;border-radius:28px;justify-content:space-between;align-items:center;gap:28px;min-height:220px;padding:clamp(28px,5vw,52px);display:flex;position:relative;overflow:hidden;box-shadow:0 20px 45px #293b521a}.status-panel--open{color:#8a3b09;background:linear-gradient(135deg,#fff6e8,#ffe8c3);border-color:#ffd18b}.status-panel--closed{color:#075d5a;background:linear-gradient(135deg,#e9fbf8,#cdeeea);border-color:#9dded7}.status-panel--unknown{color:#475569;background:linear-gradient(135deg,#f8fafc,#e9eef5);border-color:#d6dee9}.status-line{align-items:center;gap:15px;margin-top:14px;display:flex}.status-indicator{background:currentColor;border:4px solid #ffffffc7;border-radius:50%;flex:none;width:17px;height:17px;box-shadow:0 0 0 1px #0f172a14}.status-value{letter-spacing:-.06em;margin:0;font-size:clamp(2.2rem,7vw,4.4rem);font-weight:900;line-height:1}.status-note{color:#475569;margin:18px 0 0 32px;font-size:1rem;font-weight:650}.status-code{color:#fff9;letter-spacing:-.08em;-webkit-user-select:none;user-select:none;font-size:clamp(4rem,13vw,9rem);font-weight:950;line-height:.85}.summary-grid{grid-template-columns:1.15fr 1fr 1fr;gap:18px;display:grid}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;min-height:166px;padding:24px;box-shadow:0 12px 30px #293b5212}.summary-card--primary{background:#f4f8ff;border-color:#c9d9ef}.metric-value{color:#17375e;letter-spacing:-.06em;margin:18px 0 10px;font-size:clamp(2.4rem,6vw,4rem);font-weight:900;line-height:.95}.metric-value span{letter-spacing:0;margin-left:6px;font-size:1.1rem}.metric-value--time,.metric-value--lux{letter-spacing:-.04em;font-size:clamp(1.9rem,4vw,2.7rem)}.metric-note{color:#718096;margin:0;font-size:.8125rem}.history-panel{background:#fff;border:1px solid #e2e8f0;border-radius:24px;overflow:hidden;box-shadow:0 12px 30px #293b5212}.history-header{border-bottom:1px solid #edf2f7;justify-content:space-between;align-items:end;gap:18px;padding:26px 28px 20px;display:flex}.history-header h2{color:#132238;letter-spacing:-.025em;margin:5px 0 0;font-size:1.45rem}.history-header>p{color:#64748b;margin:0;font-size:.875rem}.event-list{margin:0;padding:0;list-style:none}.event-item{border-bottom:1px solid #edf2f7;grid-template-columns:12px 1fr auto;align-items:center;gap:18px;min-height:76px;padding:14px 28px;display:grid}.event-item:last-child{border-bottom:0}.event-indicator{background:#94a3b8;border-radius:3px;width:10px;height:10px}.event-item--open .event-indicator{background:#e97920}.event-item--closed .event-indicator{background:#15948d}.event-main{align-items:baseline;gap:20px;display:flex}.event-state{color:#25364d;min-width:88px;font-weight:800}.event-main time,.event-lux{color:#64748b;font-size:.9rem}.event-lux{text-align:right;font-variant-numeric:tabular-nums;min-width:84px}.error-banner{color:#991b1b;background:#fff1f2;border:1px solid #fecaca;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding:18px 20px;display:flex}.error-banner p{margin:4px 0 0}.error-banner button,.empty-panel button{color:#fff;background:#b42318;padding:0 18px}.loading-panel,.empty-panel{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:24px;align-content:center;place-items:center;gap:18px;min-height:360px;padding:40px;display:grid}.loading-mark{border:4px solid #dbe5f1;border-top-color:#17375e;border-radius:50%;width:42px;height:42px;animation:.9s linear infinite spin}.empty-panel h2,.empty-panel p,.loading-panel p,.empty-message{margin:0}.empty-message{color:#64748b;padding:42px 28px}footer{color:#718096;justify-content:space-between;gap:20px;padding:22px 4px 0;font-size:.8rem;display:flex}footer p{margin:0}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=820px){.summary-grid{grid-template-columns:1fr 1fr}.summary-card--primary{grid-column:1/-1}.status-code{display:none}}@media (width<=600px){.app-shell{width:min(100% - 28px,1120px);padding-top:26px}.site-header{align-items:flex-start}.header-actions{flex-direction:column-reverse;align-items:flex-end;gap:8px}.updated-at{font-size:.75rem}.refresh-button{padding:0 14px}.refresh-button span{display:none}.status-panel{border-radius:22px;min-height:190px;padding:28px 24px}.status-value{font-size:clamp(2.2rem,12vw,3.2rem)}.status-note{margin-left:0}.summary-grid{grid-template-columns:1fr}.summary-card--primary{grid-column:auto}.summary-card{min-height:auto}.history-header,.event-item{padding-left:20px;padding-right:20px}.event-item{grid-template-columns:10px 1fr;gap:14px}.event-main{flex-direction:column;align-items:flex-start;gap:3px}.event-lux{text-align:left;grid-column:2;min-width:0}.error-banner{flex-direction:column;align-items:stretch}}
