/* Settlement Security panel (/security) — NPC threat system (task-26 / T-35).
   Mobile-first command console built on the project tokens and game-skin surfaces.
   CSP-safe: no inline styles are required by the markup; server values are text.
   Layout: tabs (Overview / Factions / Readiness / Reports / Negotiate) with a
   battle stage driven by persisted server waves. */
.security-main {
  display: block;
  width: min(100% - 1.5rem, 80rem);
  margin: 0 auto;
  padding: clamp(0.75rem, 2vw, 1.5rem) clamp(0.25rem, 1vw, 0.5rem) 2rem;
  min-width: 0;
}
.sec-boot { color: var(--text-secondary); padding: 1.5rem 0; }
.sec-shell { display: grid; gap: 1rem; min-width: 0; }
.sec-intro { padding: .25rem 0 .5rem; border-bottom: 1px solid rgba(153,178,174,.24); }
.sec-kicker { margin: 0 0 .4rem; color: var(--color-amber); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 750; }
.sec-intro h1, .sec-intro h2 { margin: 0 0 .45rem; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.15; letter-spacing: .01em; }
.sec-intro .sec-title { font-weight: 650; }
.sec-lede { margin: 0; max-width: 72ch; color: #b8c8c3; font-size: .88rem; line-height: 1.55; }
.sec-live { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sec-live:not(:empty) {
  position: relative; left: 0; width: auto; height: auto; overflow: visible; margin: 0;
  padding: .55rem .8rem; border: 1px solid var(--status-growth); border-left-width: 4px;
  border-radius: 3px; background: rgba(154,201,152,.1); color: var(--color-warm-white); font-size: .84rem;
}
.sec-live--error { position: absolute; left: -9999px; }
.sec-live--error:not(:empty) { border-color: var(--status-danger); background: rgba(255,154,145,.1); }

/* Toolbar + tabs */
.sec-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; }
.sec-tabs {
  display: flex; flex-wrap: nowrap; gap: .35rem; overflow-x: auto; scrollbar-width: thin;
  position: sticky; top: 0; z-index: 6; padding: .45rem 0;
  background: linear-gradient(180deg, rgba(12,23,29,.98), rgba(12,23,29,.92));
  border-bottom: 1px solid rgba(153,178,174,.22);
}
.sec-tab {
  flex: none; min-height: 2.75rem; padding: .45rem .85rem;
  border: 1px solid rgba(153,178,174,.34); border-radius: 999px;
  background: rgba(4,17,23,.55); color: #d7e2dc; letter-spacing: .03em;
  white-space: nowrap; cursor: pointer;
}
/* The shared token rule `.waz-theme button { font: inherit }` is more specific than
   `.sec-tab`, so the tab type scale is set with a scoped selector. */
.security-main .sec-tab { font-family: inherit; font-size: .78rem; font-weight: 650; line-height: 1.2; }
.sec-tab:hover { border-color: rgba(223,183,119,.6); color: #f0eee5; }
.sec-tab[aria-selected="true"] {
  border-color: var(--color-amber); color: #f6e4c4;
  background: rgba(214,163,84,.16); box-shadow: inset 0 0 0 1px rgba(223,183,119,.35);
}
.sec-panels { display: grid; gap: .9rem; min-width: 0; }
.sec-panel { display: grid; gap: .9rem; min-width: 0; }
.sec-panel[hidden] { display: none !important; }

/* Cards and generic content */
.sec-card {
  position: relative; min-width: 0; padding: .9rem clamp(.8rem, 2vw, 1.2rem);
  border: 1px solid rgba(153,178,174,.24); border-radius: 4px;
  background: linear-gradient(150deg, rgba(24,49,54,.92), rgba(10,26,33,.96));
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}
.sec-card::before { content: ""; position: absolute; left: .9rem; top: 0; width: 3.2rem; height: 2px; background: linear-gradient(90deg, var(--color-amber), transparent); }
.sec-card h2 { margin: 0 0 .5rem; font-size: 1.02rem; color: var(--color-warm-white); }
.sec-card h3 { margin: .2rem 0 .4rem; font-size: .86rem; color: var(--color-warm-white); }
.sec-hint { margin: .2rem 0; color: #b8c8c3; font-size: .74rem; line-height: 1.45; }
.sec-empty { margin: .3rem 0; color: #a9bbb6; font-size: .82rem; }
.sec-dash { margin: .4rem 0; color: #d9cbaa; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.sec-banner { margin: .4rem 0; padding: .45rem .6rem; border-left: 3px solid var(--status-warning); background: rgba(239,202,119,.08); color: var(--status-warning); font-size: .78rem; }
.sec-banner--danger { border-color: var(--status-danger); background: rgba(255,154,145,.1); color: var(--status-danger); }
.sec-banner--ok { border-color: var(--status-growth); background: rgba(154,201,152,.1); color: var(--status-growth); }
.sec-block { min-width: 0; padding-top: .35rem; border-top: 1px solid rgba(153,178,174,.16); }
.sec-block:first-of-type { border-top: 0; padding-top: 0; }

/* Threat gauge */
.sec-gauge { border-left-width: 4px; }
.sec-band-label { display: flex; align-items: center; gap: .4rem; margin: .15rem 0 .45rem; font-size: .78rem; font-weight: 750; letter-spacing: .14em; color: #f0dbab; }
.sec-band-mark { font-size: 1.15rem; line-height: 1; }
.sec-band-label--calm { color: var(--status-growth); }
.sec-band-label--uneasy { color: var(--status-info); }
.sec-band-label--threatened { color: var(--status-warning); }
.sec-band-label--critical { color: #f0a05c; }
.sec-band-label--siege { color: var(--status-danger); }
.sec-band-label--unknown { color: var(--status-locked); }
.sec-gauge .sec-meter { width: 100%; height: 1rem; margin: .4rem 0 .3rem; accent-color: var(--color-amber); }
.sec-gauge__value { display: flex; align-items: baseline; gap: .35rem; margin: .2rem 0; color: #d7e2dc; font-size: .82rem; }
.sec-gauge__value strong { color: #f0eee5; font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1; }
.sec-band--calm { border-left-color: var(--status-growth); }
.sec-band--uneasy { border-left-color: var(--status-info); }
.sec-band--threatened { border-left-color: var(--status-warning); }
.sec-band--critical { border-left-color: #f0a05c; }
.sec-band--siege { border-left-color: var(--status-danger); }
.sec-band--unknown { border-left-color: var(--status-locked); }

/* Threat factors (compact one-line rows; the full list folds on phones) */
.sec-fold { margin: .1rem 0 0; }
.sec-fold > summary { min-height: 2.75rem; display: flex; align-items: center; color: var(--color-amber); font-size: .8rem; cursor: pointer; }
.sec-factors { list-style: none; display: grid; gap: .3rem; margin: .2rem 0 0; padding: 0; }
.sec-factor { display: grid; grid-template-columns: minmax(0, 1fr) auto 6rem; grid-template-rows: auto auto; gap: .1rem .5rem; align-items: center; padding: .35rem .5rem; border: 1px solid rgba(153,178,174,.18); border-left: 3px solid rgba(223,183,119,.55); border-radius: 3px; background: rgba(4,17,23,.34); min-width: 0; }
.sec-factor__label { grid-column: 1; font-size: .76rem; color: #e6ece4; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-factor__values { grid-column: 2; font-size: .68rem; color: #d9cbaa; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sec-factor__bar { grid-column: 3; width: 100%; height: .45rem; accent-color: var(--status-warning); }
.sec-factor__detail { grid-column: 1 / -1; color: #a9bbb6; font-size: .68rem; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Generic lists and stats */
.sec-list { list-style: none; display: grid; gap: .4rem; margin: .3rem 0 0; padding: 0; min-width: 0; }
.sec-list--columns { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.sec-row { display: grid; gap: .2rem; padding: .5rem .6rem; border: 1px solid rgba(153,178,174,.18); border-radius: 3px; background: rgba(4,17,23,.3); min-width: 0; font-size: .78rem; color: #cfdad5; }
.sec-row strong { color: #f0eee5; font-size: .82rem; overflow-wrap: anywhere; }
.sec-row span { overflow-wrap: anywhere; }
.sec-stats { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem .6rem; margin: .4rem 0 0; font-size: .74rem; }
.sec-stats dt { color: #a9bbb6; }
.sec-stats dd { margin: 0; color: #e6ece4; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Factions */
.sec-faction-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.sec-faction { min-width: 0; padding: .65rem .7rem; border: 1px solid rgba(153,178,174,.22); border-left: 3px solid var(--sec-faction, var(--color-amber)); border-radius: 3px; background: rgba(4,17,23,.34); display: grid; gap: .3rem; align-content: start; }
.sec-faction h3 { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.sec-glyph { display: inline-flex; width: 2.1rem; height: 2.1rem; align-items: center; justify-content: center; color: var(--sec-faction, #b7c8c6); }
.sec-glyph svg { width: 1.9rem; height: 1.9rem; }
.sec-intel { margin-top: .3rem; padding-top: .35rem; border-top: 1px dashed rgba(153,178,174,.24); }
.sec-faction--ash_raiders, .sec-negotiation.sec-faction--ash_raiders { --sec-faction: #e8a465; }
.sec-faction--scrap_jackals, .sec-negotiation.sec-faction--scrap_jackals { --sec-faction: #cdbd74; }
.sec-faction--warlord_brask, .sec-negotiation.sec-faction--warlord_brask { --sec-faction: #e08f8f; }
.sec-faction--iron_remnant, .sec-negotiation.sec-faction--iron_remnant { --sec-faction: #a8bedf; }
.sec-faction--grey_pack, .sec-negotiation.sec-faction--grey_pack { --sec-faction: #a8c8a6; }
.sec-faction--the_purge, .sec-negotiation.sec-faction--the_purge { --sec-faction: #e88aa4; }

/* Actions, buttons, forms */
.sec-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .35rem; }
.sec-button { min-height: 2.75rem; min-width: 2.75rem; padding: .45rem .8rem; border-radius: 3px; border: 1px solid rgba(153,178,174,.42); background: rgba(9,28,35,.85); color: #f0eee5; font-size: .78rem; cursor: pointer; }
.sec-button:hover:not(:disabled) { border-color: var(--color-amber); background: rgba(214,163,84,.15); }
.security-view a.sec-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.sec-button:disabled { opacity: .5; cursor: default; }
.sec-button--primary { border-color: #d9aa6b; background: linear-gradient(140deg, #c69a5d, #9c7038); color: #0c1820; font-weight: 700; }
.sec-button--danger { border-color: var(--status-danger); color: #ffe2df; background: rgba(255,154,145,.14); }
.sec-button--ghost { background: rgba(4,17,23,.5); }
.sec-select, .sec-input { min-height: 2.75rem; max-width: 100%; padding: .4rem .5rem; border: 1px solid rgba(153,178,174,.45); border-radius: 3px; background: rgba(4,17,23,.7); color: var(--color-warm-white); font: inherit; font-size: .82rem; }
.sec-option { display: grid; gap: .3rem; padding: .5rem 0; border-top: 1px solid rgba(153,178,174,.16); min-width: 0; }
.sec-option strong { font-size: .84rem; overflow-wrap: anywhere; }
.sec-option__reason { margin: 0; color: var(--status-warning); font-size: .74rem; }
.sec-negotiation { min-width: 0; padding: .55rem .65rem; border: 1px solid rgba(153,178,174,.2); border-left: 3px solid var(--sec-faction, var(--color-amber)); border-radius: 3px; background: rgba(4,17,23,.3); margin-bottom: .6rem; }
.sec-negotiation h3 { margin: 0 0 .3rem; }

/* States */
.sec-state { display: grid; gap: .5rem; justify-items: start; padding: 1rem; border: 1px dashed rgba(153,178,174,.4); border-radius: 4px; color: #b8c8c3; min-width: 0; }
.sec-state h2 { margin: 0; font-size: 1rem; color: var(--color-warm-white); }
.sec-state p { margin: 0; font-size: .84rem; line-height: 1.5; overflow-wrap: anywhere; }
.sec-state--error { border-color: var(--status-danger); }
.sec-state--locked { border-color: var(--status-info); }
.sec-state--empty { border-color: rgba(153,178,174,.3); }

/* Confirmation dialog (native <dialog>, modal: trap + Escape + focus return). */
.sec-confirm { display: grid; gap: .4rem; margin: .4rem 0 .7rem; padding: .7rem .8rem; border: 1px solid var(--status-warning); border-left-width: 4px; border-radius: 3px; background: rgba(239,202,119,.08); }
dialog.sec-confirm { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(34rem, calc(100vw - 1.5rem)); max-height: 82vh; overflow: auto; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--status-warning); border-left-width: 4px; border-radius: 4px; background: #0c1e26; color: var(--color-warm-white); box-shadow: 0 24px 70px rgba(0,0,0,.55); }
dialog.sec-confirm::backdrop { background: rgba(3,10,14,.72); }
dialog.sec-confirm > button { margin-top: .35rem; margin-right: .4rem; justify-self: start; }
.sec-confirm__title { margin: 0; font-weight: 700; color: var(--status-warning); font-size: .9rem; }

/* Battle stage */
.sec-battle { position: relative; isolation: isolate; overflow: hidden; min-width: 0; margin-top: .5rem; padding: .7rem .75rem; border: 1px solid rgba(153,178,174,.24); border-radius: 4px; background: #0d1a20; }
.sec-battle .thr-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sec-battle .thr-layer--approach { background: linear-gradient(180deg, rgba(8,20,28,.9), rgba(8,20,28,.2) 45%, transparent); }
.sec-battle .thr-layer--wall { background: linear-gradient(90deg, rgba(82,107,85,.18), transparent 55%); }
.sec-battle .thr-layer--defenders { background: radial-gradient(ellipse at 70% 60%, rgba(214,163,84,.12), transparent 60%); }
.sec-battle .thr-layer--interior { background: radial-gradient(circle at 50% 80%, rgba(148,201,237,.08), transparent 65%); }
.sec-battle .thr-layer--damage { background: radial-gradient(circle at 30% 40%, rgba(255,154,145,.1), transparent 55%); }
.sec-battle .thr-layer--result { background: linear-gradient(0deg, rgba(154,201,152,.08), transparent 55%); }
.sec-battle > * { position: relative; z-index: 1; }
.sec-battle h3 { margin: 0 0 .4rem; }
.sec-battle__caption { margin: 0 0 .45rem; color: #f0dbab; font-size: .78rem; font-variant-numeric: tabular-nums; }
.sec-battle__timeline { list-style: none; display: flex; gap: .4rem; margin: 0; padding: .2rem 0 .4rem; overflow-x: auto; scrollbar-width: thin; }
.sec-wave { flex: none; width: 9.5rem; display: grid; gap: .15rem; padding: .45rem .5rem; border: 1px solid rgba(153,178,174,.26); border-radius: 3px; background: rgba(4,17,23,.55); font-size: .7rem; min-width: 0; }
.sec-wave__label { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #a9bbb6; }
.sec-wave__detail { color: #cfdad5; overflow-wrap: anywhere; }
.sec-wave__result { color: #f0dbab; font-weight: 600; overflow-wrap: anywhere; }
.sec-wave--approach { border-left: 3px solid var(--status-info); }
.sec-wave.is-resolved { border-left: 3px solid var(--status-growth); }
.sec-wave.is-pending { border-left: 3px solid var(--status-locked); color: #9fb0ac; }
.sec-wave.is-current { border-left: 3px solid var(--status-warning); background: rgba(239,202,119,.1); animation: sec-wave-pulse 2s ease-in-out infinite; }
.sec-wave--result { border-left: 3px solid var(--color-amber); }
@keyframes sec-wave-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239,202,119,0); } 50% { box-shadow: 0 0 0 2px rgba(239,202,119,.35); } }
.sec-battle__result { margin-top: .45rem; padding: .5rem .6rem; border: 1px solid rgba(214,163,84,.4); border-radius: 3px; background: rgba(214,163,84,.08); }
.sec-battle__result h3 { margin: 0 0 .2rem; }
.sec-battle__result p { margin: 0; color: #f0eee5; font-size: .84rem; }
.sec-battle__legend { margin: .45rem 0 0; color: #a9bbb6; font-size: .68rem; line-height: 1.4; }
.sec-battle__controls { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .5rem; }
.sec-paused .sec-wave.is-current, .sec-paused .sec-battle * { animation-play-state: paused !important; }

/* Report detail */
.sec-report h3, .sec-report h4 { margin: 0 0 .3rem; }
.sec-report__tables { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin-top: .6rem; }
.sec-narrative { list-style: none; display: grid; gap: .25rem; margin: .3rem 0 0; padding: 0; font-size: .76rem; color: #cfdad5; }
.sec-narrative li { padding-left: .9rem; position: relative; }
.sec-narrative li::before { content: "\2014"; position: absolute; left: 0; color: var(--color-amber); }

/* Seven-item bottom navigation override (this file loads after strategic-nav.css).
   Security was added as the 7th quick destination; 44px targets are preserved and
   the labels shrink at very narrow widths instead of overflowing. */
@media (max-width: 768px) {
  body.waz-theme .bottom-nav { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  body.waz-theme .bottom-nav a { padding-left: .12rem; padding-right: .12rem; font-size: .52rem; gap: .15rem; }
  body.waz-theme .bottom-nav a svg { width: 1.2rem; height: 1.2rem; }
  body.waz-theme .bottom-nav a span { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  body.waz-theme .bottom-nav a { font-size: .47rem; padding-left: .06rem; padding-right: .06rem; }
  body.waz-theme .bottom-nav a svg { width: 1.05rem; height: 1.05rem; }
  .security-main { width: calc(100% - .75rem); }
}

@media (max-width: 600px) {
  .sec-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .12rem; overflow: visible; }
  .security-main .sec-tab { white-space: normal; font-size: .56rem; letter-spacing: 0; padding: .4rem .08rem; text-align: center; line-height: 1.12; min-width: 0; overflow: hidden; }
}
@media (max-width: 380px) {
  .security-main .sec-tab { font-size: .49rem; padding: .35rem .04rem; }
}

/* Wider layouts */
@media (min-width: 640px) {
  .sec-faction-grid { grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
  .sec-battle__timeline { flex-wrap: wrap; overflow: visible; }
}
@media (min-width: 1024px) {
  .sec-panel { grid-template-columns: minmax(0, 1fr); }
  .sec-battle__timeline { flex-wrap: nowrap; overflow-x: auto; }
  .sec-wave { width: 10.5rem; }
}
@media (min-width: 1200px) {
  .security-main { width: min(100% - 2rem, 82rem); }
}

/* Accessibility: reduced motion, forced colors, print */
@media (prefers-reduced-motion: reduce) {
  .security-main *, .security-main *::before, .security-main *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .sec-wave.is-current { box-shadow: none; }
}
@media (forced-colors: active) {
  .sec-card, .sec-faction, .sec-row, .sec-battle, .sec-state, .sec-tab, .sec-button, .sec-factor, .sec-wave, .sec-negotiation, .sec-confirm { border: 1px solid CanvasText; }
  .sec-tab[aria-selected="true"] { outline: 2px solid Highlight; outline-offset: -2px; background: Canvas; color: CanvasText; }
  .sec-wave.is-resolved, .sec-wave.is-current, .sec-wave.is-pending { border-left: 3px solid CanvasText; }
}
@media print {
  .sec-tabs, .sec-actions, .sec-battle__controls, .bottom-nav { display: none !important; }
  .sec-card { break-inside: avoid; box-shadow: none; }
}

/* Defense command assessment / recommendations / Purge preparation (2026-11-06). */
.sec-command__score { display: flex; align-items: baseline; gap: .35rem; margin: .35rem 0; }
.sec-command__score strong { font-size: 1.9rem; color: var(--sec-amber); }
.sec-command__score span { color: #b9cbc7; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.sec-command__components .sec-row { align-items: flex-start; }
.sec-command__recommendations { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.sec-command__recommendation { border: 1px solid rgba(153,178,174,.24); border-left: 3px solid #d9ac6c; background: rgba(6,24,30,.45); padding: .55rem .65rem; display: grid; gap: .3rem; }
.sec-command__recommendation--critical { border-left-color: #e07a6b; }
.sec-command__recommendation--high { border-left-color: #e0a35b; }
.sec-command__recommendation--medium { border-left-color: #d9c06c; }
.sec-command__recommendation--low { border-left-color: #8fb9b2; }
.sec-command__severity { font-size: .58rem; letter-spacing: .14em; color: #d9c9a8; }
.sec-command__recommendation p { margin: 0; color: #cfe0da; font-size: .75rem; line-height: 1.5; }
.sec-command__recommendation .sec-button { justify-self: start; }
@media (max-width: 600px) { .sec-command__recommendation { padding: .5rem; } }
/* Illustrated settlement defenses, using the same current art as Build. */
.security-view .sec-intro{padding:32px;border:1px solid #54778e;border-radius:12px;background:linear-gradient(90deg,#081827f5,#0a223397),url('/art/city-progression/59.webp') center 55%/cover;min-height:170px;display:flex;flex-direction:column;justify-content:center}
.security-view .sec-intro .sec-lede{color:#d7e8f4;max-width:650px}
.security-view .sec-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;background:transparent;position:static;border:0;padding:0;overflow:visible}
.security-view .sec-tab{display:flex;align-items:center;justify-content:center;gap:9px;border-radius:8px;white-space:normal;font-size:14px!important;padding:12px!important;min-height:56px}
.security-view .sec-tab .waz-icon{width:24px;height:24px;flex:none;background:none;border:0}
.sec-defense-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:18px 0}
.sec-defense-tile{overflow:hidden;padding:0 16px 16px;border:1px solid #54758b;border-radius:10px;background:linear-gradient(#1d3b52,#10273b);min-width:0}
.sec-defense-art{height:180px;display:grid;place-items:center;margin:0 -16px 14px;background:radial-gradient(ellipse,#345b6c,#112b3d 75%);overflow:hidden}
.sec-defense-art img,.sec-defense-art svg{width:100%;height:100%;max-height:180px;object-fit:contain}
.sec-defense-tile h3{font-size:18px!important;color:#e1f0ff!important}
.sec-defense-tile p{font-size:14px;line-height:1.55;color:#c8deed;margin:8px 0}
.sec-defense-tile .sec-defense-level{font-size:13px;color:#ffda94;font-weight:700}
.sec-defense-gallery>.sec-button{display:inline-flex;align-items:center;text-decoration:none;margin-top:8px}
.security-view .sec-card{border-radius:10px;background:rgba(14,35,53,.92);border-color:#486b82}
.security-view .sec-command-center{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:800px){.security-view .sec-command-center{grid-template-columns:1fr}.security-view .sec-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.security-view .sec-tab{font-size:12px!important;padding:8px!important;gap:6px}.security-view .sec-intro{padding:20px}.sec-defense-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sec-defense-art{height:130px}.sec-defense-tile{padding:0 12px 12px}.sec-defense-art{margin:0 -12px 10px}.sec-defense-tile h3{font-size:16px!important}.sec-defense-tile p{font-size:12px}}
@media(max-width:380px){.sec-defense-grid{grid-template-columns:1fr}}
