:root{--bg: #f4f2ee;--surface: #ffffff;--surface-2: #faf9f6;--line: #e4e0d8;--line-strong: #d3cdc2;--text: #1d2327;--muted: #6b7378;--brand: #0f3b4c;--brand-accent: #ffb547;--brand-soft: #e3eef1;--focus: #1a73a8;--ok-bg: #e6f4ea;--ok-text: #1e6b3a;--err-bg: #fdecea;--err-text: #a12a1f;--warn-bg: #fff4e0;--warn-text: #8a5300;--sev-minor: #9aa5ab;--sev-light: #5b9e3c;--sev-moderate: #e0a020;--sev-strong: #e8681e;--sev-major: #c42b1c;--sev-unknown: #b7bcc0;--st-new: #2f6fb0;--st-monitoring: #6a5bc2;--st-follow_up: #c47d0e;--st-escalated: #c42b1c;--st-closed: #5d6b72;--st-no_action: #8c979c;--radius: 10px;--shadow: 0 1px 2px rgba(20, 30, 35, .06), 0 1px 1px rgba(20, 30, 35, .04);--shadow-lg: 0 12px 40px rgba(20, 30, 35, .18);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.45;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.muted{color:var(--muted)}.cap{text-transform:capitalize}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 14px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);font-weight:550;cursor:pointer;white-space:nowrap}.btn:hover:not(:disabled){background:var(--surface-2)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn-primary:hover:not(:disabled){background:#15506a}.btn-danger{background:var(--sev-major);border-color:var(--sev-major);color:#fff}.btn-danger:hover:not(:disabled){background:#a32215}.btn-ghost{background:transparent;border-color:transparent}.btn-ghost:hover:not(:disabled){background:#0f3b4c12}.btn-lg{height:44px;padding:0 28px;font-size:15px}.icon-btn{width:32px;height:32px;border:0;border-radius:8px;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:var(--muted)}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.splash{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:radial-gradient(1200px 500px at 50% -10%,#dbe8ec 0%,var(--bg) 60%)}.splash-card{width:min(440px,100%);padding:36px 32px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;align-items:flex-start;gap:18px}.splash-lead{margin:0;color:var(--muted);font-size:15px}.splash-error{margin:0;padding:12px 14px;background:var(--err-bg);color:var(--err-text);border-radius:8px}.splash-foot{margin-top:18px;color:var(--muted);font-size:12px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;letter-spacing:-.01em;color:var(--brand);white-space:nowrap}.brand-lg{font-size:22px}.brand-sub{font-weight:450;font-size:13px;color:var(--muted);padding-left:10px;border-left:1px solid var(--line)}.app{min-height:100vh;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px;background:var(--surface);border-bottom:1px solid var(--line)}.topbar-right{display:flex;align-items:center;gap:8px}.live{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--muted);margin-right:4px}.live-dot{width:8px;height:8px;border-radius:50%;background:var(--sev-light);box-shadow:0 0 0 3px #5b9e3c2e}.live-busy .live-dot{background:var(--sev-moderate);animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{opacity:.35}}.user{display:flex;align-items:center;gap:8px;padding-left:12px;margin-left:4px;border-left:1px solid var(--line)}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-weight:700;font-size:11.5px}.user-name{font-weight:550}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:16px 24px 0}.field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);font-weight:550}.field input,.field select,.form input,.form select,.form textarea{height:36px;padding:0 10px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);font-size:14px;font-weight:450;color:var(--text)}.form textarea{height:auto;padding:8px 10px;resize:vertical}.field-search{flex:1 1 340px}.field-search input{width:100%;padding-left:34px;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7378' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") no-repeat 11px center}.banner{margin:12px 24px 0;padding:10px 14px;border-radius:8px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.banner-error{background:var(--err-bg);color:var(--err-text)}.banner-ok{background:var(--ok-bg);color:var(--ok-text);font-weight:550}.panel .banner{display:block;margin:12px 0 0}.kpis{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) minmax(240px,2fr) minmax(280px,2.4fr);gap:12px;padding:16px 24px}.kpi{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;box-shadow:var(--shadow);min-width:0}.kpi-label{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.kpi-value{margin-top:4px;font-size:26px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.kpi-sub{font-size:12px;color:var(--muted)}.kpi-warn .kpi-value{color:var(--st-follow_up)}.kpi-alert .kpi-value{color:var(--sev-major)}.sevbar{display:flex;gap:2px;height:10px;margin:10px 0 8px;border-radius:5px;overflow:hidden;background:var(--surface-2)}.sevbar-seg{min-width:4px}.legend,.status-list{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:var(--muted);text-transform:capitalize}.status-list{margin-top:8px;gap:6px}.legend b,.status-pill b{color:var(--text);font-variant-numeric:tabular-nums}.legend-item{display:inline-flex;align-items:center;gap:5px}.legend-dot{width:8px;height:8px;border-radius:2px}.sev-minor{background:var(--sev-minor)}.sev-light{background:var(--sev-light)}.sev-moderate{background:var(--sev-moderate)}.sev-strong{background:var(--sev-strong)}.sev-major{background:var(--sev-major)}.sev-unknown{background:var(--sev-unknown)}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:550;background:var(--surface-2);border:1px solid var(--line);text-transform:none}.status-pill:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--muted)}.status-new:before{background:var(--st-new)}.status-monitoring:before{background:var(--st-monitoring)}.status-follow_up:before{background:var(--st-follow_up)}.status-escalated:before{background:var(--st-escalated)}.status-closed:before{background:var(--st-closed)}.status-no_action:before{background:var(--st-no_action)}.board{flex:1;display:grid;grid-template-columns:repeat(5,minmax(250px,1fr));gap:14px;padding:0 24px 24px;overflow-x:auto;align-items:start}.column{background:#ebe8e2;border-radius:12px;border-top:3px solid var(--muted);display:flex;flex-direction:column;max-height:calc(100vh - 290px);min-height:240px}.column-new{border-top-color:var(--st-new)}.column-monitoring{border-top-color:var(--st-monitoring)}.column-follow_up{border-top-color:var(--st-follow_up)}.column-escalated{border-top-color:var(--st-escalated)}.column-closed{border-top-color:var(--st-closed)}.column-head{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 12px 8px}.column-head h2{margin:0;font-size:14px;font-weight:700}.column-head p{margin:0;font-size:12px;color:var(--muted)}.count{min-width:28px;padding:1px 8px;border-radius:999px;background:var(--surface);font-weight:700;font-size:12.5px;text-align:center;font-variant-numeric:tabular-nums}.column-body{overflow-y:auto;padding:0 8px 10px;display:flex;flex-direction:column;gap:8px}.empty{margin:8px 4px 16px;color:var(--muted);font-size:13px;text-align:center}.load-more{width:100%;font-size:13px}.card{display:flex;gap:10px;width:100%;padding:10px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);cursor:pointer;transition:border-color .12s,box-shadow .12s,transform .12s}.card:hover{border-color:var(--line-strong);box-shadow:0 4px 12px #141e2314;transform:translateY(-1px)}.card-active{border-color:var(--brand);box-shadow:0 0 0 2px #0f3b4c2e}.card-flash{animation:flash 1.6s ease-out 2}@keyframes flash{0%{box-shadow:0 0 0 4px #ffb547d9}to{box-shadow:0 0 #ffb54700}}.card-skeleton{height:74px;background:linear-gradient(90deg,var(--surface) 0%,var(--surface-2) 50%,var(--surface) 100%);cursor:default}.card-main{min-width:0;flex:1}.card-place{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-meta{font-size:12.5px;color:var(--muted);display:flex;gap:5px}.card-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.card-tags:empty{display:none}.mag{flex:none;display:inline-flex;align-items:baseline;justify-content:center;min-width:48px;height:30px;padding:5px 7px 0;border-radius:8px;color:#fff;font-weight:750;font-size:15px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.mag.sev-moderate{color:#3d2a00}.mag-m{font-size:10px;font-weight:650;opacity:.8;margin-right:1px}.mag-lg{min-width:64px;height:44px;font-size:22px;padding-top:8px}.tag{display:inline-flex;align-items:center;padding:1px 7px;border-radius:5px;font-size:11.5px;font-weight:600;background:var(--surface-2);border:1px solid var(--line);color:var(--muted)}.tag-tsunami{background:#e3f0fb;border-color:#b9d8f2;color:#12528a}.tag-tsunami:before{content:"≋";margin-right:4px}.tag-alert{text-transform:capitalize}.tag-alert-green{background:#e6f4ea;color:#1e6b3a;border-color:#bfe0c9}.tag-alert-yellow{background:#fff7d6;color:#7a5d00;border-color:#f0dd8a}.tag-alert-orange{background:#ffe9d6;color:#8a3d00;border-color:#f5c08f}.tag-alert-red{background:var(--err-bg);color:var(--err-text);border-color:#f2b8b1}.tag-assignee{color:var(--brand);background:var(--brand-soft);border-color:#c7dde3}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#141e232e;z-index:10}.panel{position:fixed;top:0;right:0;bottom:0;z-index:11;width:min(460px,100vw);background:var(--surface);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;animation:slide-in .16s ease-out}@keyframes slide-in{0%{transform:translate(24px);opacity:0}}.panel-head{display:flex;gap:12px;align-items:flex-start;padding:18px 18px 14px;border-bottom:1px solid var(--line)}.panel-title{flex:1;min-width:0}.panel-title h2{margin:0;font-size:17px;line-height:1.3}.panel-sub{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;font-size:12.5px;color:var(--muted)}.panel-body{flex:1;overflow-y:auto;padding:4px 18px 24px}.panel-section{padding:14px 0;border-bottom:1px solid var(--line)}.panel-section:last-child{border-bottom:0}.panel-section h3{margin:0 0 10px;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.facts{display:grid;grid-template-columns:120px 1fr;gap:6px 12px;margin:0}.facts dt{color:var(--muted)}.facts dd{margin:0;min-width:0;overflow-wrap:anywhere}.ext-link{display:inline-block;margin-top:12px;color:var(--focus);font-weight:600;text-decoration:none}.ext-link:hover{text-decoration:underline}.country{padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}.country-name{font-weight:700;font-size:15px}.country-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.stat-value{font-weight:700;font-size:18px;font-variant-numeric:tabular-nums}.stat-label{font-size:11.5px;color:var(--muted)}.notes{margin:10px 0 0;padding:8px 12px;border-left:3px solid var(--line-strong);background:var(--surface-2);white-space:pre-wrap}.tabs{display:flex;gap:4px;padding:3px;background:var(--surface-2);border:1px solid var(--line);border-radius:9px;margin-bottom:12px}.tab{flex:1;height:30px;border:0;border-radius:7px;background:transparent;font-weight:600;color:var(--muted);cursor:pointer}.tab-active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.form{display:flex;flex-direction:column;gap:10px}.form label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:600;color:var(--muted)}.form .btn{align-self:flex-start}.hint{margin:0 0 10px;font-size:13px;color:var(--muted)}.hint-warn{padding:8px 10px;border-radius:8px;background:var(--warn-bg);color:var(--warn-text)}@media(max-width:1280px){.kpis{grid-template-columns:repeat(5,minmax(110px,1fr))}.kpi-wide{grid-column:span 5}}@media(max-width:760px){.topbar,.toolbar,.kpis,.board{padding-left:16px;padding-right:16px}.brand-sub,.user-name,.live{display:none}.kpis{grid-template-columns:repeat(2,1fr)}.kpi-wide{grid-column:span 2}.board{grid-template-columns:repeat(5,82vw)}.column{max-height:none}}
