/* Topic-specific layouts only; shared components live in components.css. */
.equip-card{background: var(--white);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      padding: 18px 20px 16px;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border);
      transition: transform 0.15s ease, box-shadow 0.15s ease;}
.equip-card:hover{transform: translateY(-2px);
      box-shadow: 0 4px 14px rgba(0,0,0,0.08);}
.equip-card::before{content: '';
      position: absolute;
      top: 0; left: 0; bottom: 0;
      width: 3px;}
.equip-card.army{background: linear-gradient(160deg, #ffffff 45%, rgba(92,107,46,0.12) 100%);
      border-color: rgba(92,107,46,0.15);}
.equip-card.army::before{background: linear-gradient(180deg, rgba(46,56,18,0.9), rgba(92,107,46,0.75));}
.equip-card.navy{background: linear-gradient(160deg, #ffffff 45%, rgba(13,43,82,0.12) 100%);
      border-color: rgba(13,43,82,0.14);}
.equip-card.navy::before{background: linear-gradient(180deg, rgba(4,12,30,0.9), rgba(13,43,82,0.75));}
.equip-card.raf{background: linear-gradient(160deg, #ffffff 45%, rgba(155,27,48,0.11) 100%);
      border-color: rgba(155,27,48,0.13);}
.equip-card.raf::before{background: linear-gradient(180deg, rgba(61,5,16,0.9), rgba(155,27,48,0.75));}
.equip-label{font-family: var(--font-head);
      font-size:12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: var(--text-muted);
      margin-bottom: 6px;
      padding-left: 10px;}
.equip-value-row{display: flex;
      align-items: baseline;
      gap: 6px;
      padding-left: 10px;}
.equip-value{font-family: var(--font-head);
      font-size:28px;
      font-weight: 800;
      line-height: 1;
      letter-spacing: -.04em;
      color: var(--text-primary);}
.equip-delta{font-family: var(--font-head);
      font-size:12px;
      font-weight: 700;
      letter-spacing: -.01em;
      line-height: 1;}
.equip-delta.down{color: var(--red);}
.equip-delta.up{color: var(--green);}
.equip-delta.flat{color: var(--text-muted);}
.service-header{display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
      margin-top: 8px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border-light);}
.service-header-title{font-family: var(--font-head);
      font-size:12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--text-secondary);}
.mil-asym{display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto auto; gap: 20px; align-items: start;min-width:0;}
.mil-asym>.chart-card{width:100%;min-width:0;}
@media (max-width: 900px){.mil-asym{display: flex; flex-direction: column;}}
.nato-bar-wrap{padding: 16px 20px 14px;}
.nato-bar-label{font-family: var(--font-head); font-size:12px; font-weight: 700; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px;}
.nato-country-row{display: flex; align-items: center; gap: 10px; margin-bottom: 7px;}
.nato-country-name{font-family: var(--font-head); font-size:12px; font-weight: 700; color: var(--text-secondary); width: 56px; flex-shrink: 0; text-align: right;}
.nato-bar-track{flex: 1; background: var(--off-white); border-radius: 3px; height: 16px; overflow: hidden; position: relative;}
.nato-bar-fill{height: 100%; border-radius: 3px; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; transition: width .8s cubic-bezier(.4,0,.2,1);}
.nato-bar-pct{font-family: var(--font-mono); font-size:12px; font-weight: 500; color: #fff; white-space: nowrap;}
.nato-2pct-line{position: absolute; top: 0; bottom: 0; width: 2px; border-left: 2px dashed rgba(220,38,38,0.65); background: transparent;}
.branch-grid{display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 14px;}
.branch-card{background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 18px 20px; position: relative; overflow: hidden;}
.branch-name{font-family: var(--font-head); font-size:12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px;}
.branch-name.rn{color: var(--mil-navy);}
.branch-name.army{color: var(--mil-khaki);}
.branch-name.raf{color: var(--mil-red);}
.branch-strength{font-family: var(--font-head); font-size:30px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--text-primary); margin-bottom: 4px;}
.branch-meta{font-size:12px; color: var(--text-muted); font-weight: 500;}
.branch-bar{margin-top: 10px;}
.branch-bar-label{display: flex; justify-content: space-between; font-family: var(--font-mono); font-size:12px; color: var(--text-muted); margin-bottom: 4px;}
.branch-bar-track{background: var(--off-white); border-radius: 3px; height: 6px; overflow: hidden;}
.branch-bar-fill{height: 100%; border-radius: 3px;}
.branch-card.rn .branch-bar-fill{background: linear-gradient(90deg, var(--mil-navy), #1a5276);}
.branch-card.army .branch-bar-fill{background: linear-gradient(90deg, var(--mil-khaki), #8fa14b);}
.branch-card.raf .branch-bar-fill{background: linear-gradient(90deg, var(--mil-red), #c0392b);}
.spend-grid{display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px 18px;}
.spend-item{text-align: center; padding: 12px 8px; background: var(--off-white); border-radius: var(--radius-md);}
.spend-item-pct{font-family: var(--font-head); font-size:22px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 4px;}
.spend-item-label{font-family: var(--font-head); font-size:12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted);}
#news-feed-wrap{background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      overflow: hidden;}
.news-item{display: grid;
      grid-template-columns: 40px 1fr;
      gap: 0 14px;
      padding: 12px 18px;
      border-bottom: 1px solid var(--border-light);
      align-items: center;
      position: relative;
      transition: background 0.12s;
      cursor: pointer;}
.news-item:last-child{border-bottom: none;}
.news-item:hover{background: var(--off-white);}
.news-item-title::after{content: "";
      position: absolute;
      inset: 0;}
.news-item-icon{width: 32px;
      height: 32px;
      border-radius: 7px;
      background: var(--accent-light);
      border: 1px solid rgba(0,53,138,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;}
.news-item-icon svg{width: 14px; height: 14px; opacity: 0.55;}
.news-item-org{font-family: var(--font-head);
      font-size:12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--text-muted);
      margin-bottom: 3px;}
.news-item-title{font-family: var(--font-head);
      font-size:13.5px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.4;
      text-decoration: none;
      display: block;
      margin-bottom: 5px;}
.news-item-title:hover{color: var(--accent);}
.news-item-footer{display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;}
.news-item-date{font-family: var(--font-mono);
      font-size:12px;
      color: var(--text-muted);}
.news-item-tag{font-family: var(--font-head);
      font-size:12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .06em;
      color: var(--accent-mid);
      background: var(--accent-light);
      border: 1px solid rgba(0,53,138,0.18);
      border-radius: 4px;
      padding: 2px 7px;}
@media (max-width: 900px){.branch-grid{grid-template-columns: repeat(2,1fr);}
.spend-grid{grid-template-columns: repeat(2,1fr);}}
@media (max-width: 900px){.branch-grid > .branch-card:last-child:nth-child(odd){grid-column: 1 / -1; justify-self: center; width: 100%; max-width: calc(50% - 7px);}}

/* Service inventory is read as a compact comparison, not twelve repeated tiles. */
.inventory-date{font-size:12px;color:var(--text-muted)}.inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.inventory-service{min-width:0;background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.inventory-service h3{font-size:15px;padding:17px 18px;border-bottom:1px solid var(--border-light)}.inventory-service table{border-collapse:collapse;width:100%;font-size:12px}.inventory-service th,.inventory-service td{padding:11px 12px;text-align:right;border-bottom:1px solid var(--border-light)}.inventory-service th:first-child{text-align:left;padding-left:18px}.inventory-service thead th{font-size:10px;font-weight:500;color:var(--text-muted)}.inventory-service tbody th{font-weight:500}.inventory-service td:nth-child(2){font-family:var(--font-head);font-weight:700;white-space:nowrap}.inventory-service td:last-child{font-size:11px;white-space:nowrap;color:var(--text-muted)}.inventory-service tr:last-child>*{border-bottom:0}.inventory-notes{margin-top:10px;font-size:12px;color:var(--text-secondary)}.inventory-notes>summary{padding:8px 0;cursor:pointer}.inventory-notes p{max-width:900px;line-height:1.75;margin:8px 0}
#news-feed{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.mod-news-item{display:grid;grid-template-columns:100px minmax(0,1fr);gap:18px;padding:17px 20px;border-bottom:1px solid var(--border-light)}.mod-news-item:last-child{border-bottom:0}.mod-news-item time{font-size:11px;color:var(--text-muted);padding-top:2px}.mod-news-item a{font:600 14px/1.6 var(--font-body);color:var(--text-primary);text-decoration:none}.mod-news-item a:hover{color:var(--accent);text-decoration:underline}.mod-news-type{display:block;margin-top:5px;font-size:11px;color:var(--text-muted)}.mod-news .section-link{font-size:12px}.mod-news #news-error{font-size:13px;color:var(--text-muted);padding:20px 0}
@media(max-width:1000px){.inventory-grid{grid-template-columns:1fr}.inventory-service table{font-size:13px}.inventory-service th:first-child{width:65%}}
@media(max-width:600px){.mod-news-item{grid-template-columns:1fr;gap:5px;padding:15px 16px}.mod-news-item a{font-size:13px}.mod-news-type{display:inline;margin-left:10px}.inventory-service th:first-child{width:auto}}
.mil-asym>.chart-module{width:100%;min-width:0}.mil-asym .chart-head>div{min-width:0}
@media(max-width:600px){#cat-legend{grid-template-columns:1fr!important}}
:root{--mil-navy:#16456e;--mil-khaki:#4a643a;--mil-red:#923e47}

.inventory-service td.inventory-increase{color:var(--green);font-weight:700}
.inventory-service td.inventory-decrease{color:var(--red);font-weight:700}
#news-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.mod-news-item{display:flex;flex-direction:column;gap:4px;padding:13px 16px;border-bottom:1px solid var(--border-light)}
.mod-news-item:nth-child(odd){border-right:1px solid var(--border-light)}
.mod-news-item:nth-last-child(-n+2){border-bottom:0}
.mod-news-meta{display:flex;flex-wrap:wrap;gap:3px 10px;font:500 12px/1.45 var(--font-body);color:var(--text-muted)}
.mod-news-item time{font:inherit;padding:0}
@media(max-width:700px){#news-feed{grid-template-columns:1fr}.mod-news-item:nth-child(odd){border-right:0}.mod-news-item:nth-last-child(2){border-bottom:1px solid var(--border-light)}}

.mod-news-item{text-decoration:none;color:var(--text-primary)}
.mod-news-headline{font:600 14px/1.5 var(--font-body)}
.mod-news-item:is(:hover,:focus-visible) .mod-news-headline{text-decoration:underline;text-underline-offset:3px}
.mod-news-item:focus-visible{outline-offset:-3px}
.mod-news.section-gap{margin-bottom:8px}
.mod-methods.section-gap{margin-top:0}
.inventory-service td:is(.inventory-increase,.inventory-decrease){font-size:12px;font-weight:800;white-space:nowrap}

.defence-category-legend{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:10px 18px 14px;font:600 12px/1.45 var(--font-body);color:var(--text-secondary)}
.defence-category-legend li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:baseline;gap:8px;padding:5px 0;border-bottom:1px solid var(--border-light)}
.defence-category-legend strong{color:var(--text-primary);font-weight:700}
@media(max-width:540px){.defence-category-legend{grid-template-columns:minmax(0,1fr);padding:8px 15px 12px}}
