/* Hotspot Checker: phone-first, system fonts only, no external requests. */
:root{--ink:#0b1220;--body:#2d3748;--muted:#4a5568;--line:#d6dce8;--soft:#eef1f6;--panel:#f3f5f9;--blue:#1f4fbf;--yes:#0b6b40;--check-bg:#ffe2a3;--check-ink:#3d2800;--none:#1b2433;--hot:#e4572e}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;line-height:1.4}
a{color:var(--blue)}
[hidden]{display:none!important}
button,input{font:inherit}
button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible,.field-input:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.app-shell{width:100%;max-width:560px;margin:0 auto;padding:0 16px calc(28px + env(safe-area-inset-bottom,0px))}
.app-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;border-bottom:1px solid #e3e7ee}
.brand-mark{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:17px;font-weight:700;letter-spacing:-.01em;color:var(--ink);text-decoration:none}
.brand-dot{width:10px;height:10px;border-radius:50%;background:var(--hot)}
.topbar-actions form{margin:0}
.topbar-link{min-height:44px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:14px;font-weight:600;cursor:pointer}
.page-frame{display:flex;flex-direction:column;gap:14px;padding-top:12px}
.field{display:flex;flex-direction:column;gap:6px}
.field-label{display:block;font-size:13px;font-weight:700;color:var(--muted)}
.search-form:not(.advanced-form){display:flex;flex-direction:column;gap:6px}
.search-box{display:flex;align-items:center;gap:6px;height:56px;padding:0 6px 0 14px;border:2px solid var(--ink);border-radius:14px;background:#fff}
.search-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px #dce6fb}
.search-input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:19px;font-weight:600;-webkit-appearance:none;appearance:none}
.search-input::placeholder{color:#7b8798;font-weight:500}
.search-input::-webkit-search-cancel-button{display:none}
.search-clear,.search-go{flex-shrink:0;height:44px;border:0;border-radius:10px;cursor:pointer}
.search-clear{width:44px;display:flex;align-items:center;justify-content:center;background:var(--soft);color:var(--ink)}
.search-go{padding:0 14px;background:var(--ink);color:#fff;font-size:15px;font-weight:700}
.js .search-go{display:none}
.result-panel{display:flex;flex-direction:column;gap:12px}
#search-status:empty{display:none}
#search-status{font-size:15px;font-weight:600;color:var(--muted)}
#search-results{display:flex;flex-direction:column;gap:12px}
#search-results:empty{display:none}
#search-results[aria-busy=true]{opacity:.5}
.verdict{display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:18px}
.verdict-icon{flex-shrink:0;width:52px;height:52px}
.verdict-word{font-size:40px;line-height:1;font-weight:800;letter-spacing:.02em}
.verdict-word-long{font-size:32px}
.verdict-line{margin-top:3px;font-size:16px;font-weight:600}
.verdict-yes{background:var(--yes);color:#fff}
.verdict-yes .verdict-word{font-size:46px}
.verdict-check{background:var(--check-bg);color:var(--check-ink)}
.verdict-none{background:var(--none);color:#fff}
.person-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;overflow-wrap:anywhere}
.person-name{font-size:22px;line-height:1.2;font-weight:700}
.person-street{font-size:17px;font-weight:500;color:var(--body)}
.person-file{margin-top:6px;padding-top:8px;border-top:1px solid #e3e7ee;font-size:14px;color:var(--muted)}
.person-note{font-size:14px;font-weight:600;color:var(--check-ink)}
.result-stack{display:flex;flex-direction:column;gap:8px}
.person-row{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:10px 14px}
.person-row .person-name{font-size:18px}
.person-row .person-street{font-size:15px}
.person-row-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.status-chip{flex-shrink:0;padding:6px 10px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}
.status-chip-accent{background:var(--yes);color:#fff}
.status-chip-warning,.status-chip-danger{background:var(--check-bg);color:var(--check-ink)}
.tip{margin:0;padding:12px 14px;border-radius:14px;background:var(--panel);font-size:15px;font-weight:500}
.tip-plain{padding:0;background:transparent;color:var(--body)}
.retry-stack{display:flex;flex-direction:column;gap:8px}
.retry-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:8px 14px;border:1px solid var(--ink);border-radius:14px;background:#fff;color:var(--ink);font-size:16px;font-weight:600;text-align:left;cursor:pointer}
.retry-button b{font-weight:800}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 18px;border:1px solid transparent;border-radius:14px;font-size:17px;font-weight:700;text-decoration:none;cursor:pointer}
.button-primary{background:var(--ink);color:#fff}
.button-secondary{background:#fff;color:var(--ink);border-color:var(--ink)}
.button-block{width:100%}
.alert{margin:0;padding:12px 14px;border-radius:14px;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.alert p{margin:4px 0 0}
.alert-info{background:var(--panel);color:var(--ink)}
.alert-error{background:#fde8e8;color:#7a1414}
.filter-alert{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:10px}
.start-help{display:flex;flex-direction:column;gap:12px;padding-top:4px}
.start-title{margin:0;font-size:22px;line-height:1.2;font-weight:700}
.example-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.example-list li{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:14px}
.example-q{font-size:17px;font-weight:700}
.example-d{font-size:14px;font-weight:500;color:var(--muted)}
.start-foot{margin:0;font-size:13px;font-weight:500;color:var(--muted)}
.detail-toggle-filters{margin-top:8px;border-top:1px solid #e3e7ee}
.filter-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer;font-size:14px;font-weight:600;color:var(--muted);list-style:none}
.filter-summary::-webkit-details-marker{display:none}
.filter-summary-state{font-size:12px}
.advanced-form{display:flex;flex-direction:column;gap:14px;padding-bottom:8px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.field-input{width:100%;height:52px;padding:0 14px;border:2px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);font-size:17px;font-weight:600}
.action-row{display:flex;gap:10px}
.action-row .button{flex:1;min-height:48px;font-size:15px}
.login-panel,.plain-panel{display:flex;flex-direction:column;gap:14px;padding-top:28px}
.login-title{margin:0;font-size:30px;line-height:1.15;font-weight:700}
.login-help{margin:-8px 0 0;font-size:15px;font-weight:500;color:var(--muted)}
.login-form{display:flex;flex-direction:column;gap:16px}
.login-form .field-input{height:56px;font-size:18px}
.password-row{position:relative}
.password-row .field-input{padding-right:84px}
.password-toggle{position:absolute;top:6px;right:6px;height:44px;padding:0 12px;border:0;border-radius:10px;background:var(--soft);color:var(--ink);font-size:14px;font-weight:700;cursor:pointer}
.program-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.program-link{display:flex;align-items:center;min-height:56px;padding:0 14px;border:1px solid var(--ink);border-radius:14px;color:var(--ink);font-size:17px;font-weight:600;text-decoration:none}
@media(max-width:359px){.form-grid{grid-template-columns:1fr}.verdict{gap:12px;padding:14px}.verdict-icon{width:44px;height:44px}}
