/* Végső, egységes interakciók és kiemelések. */
header .brand {
  color: #facc15;
}

.restriction-contact-minimal {
  border-left: 4px solid #facc15;
}

.hero .weather-quick-card {
  background:
    linear-gradient(115deg, rgba(9, 23, 39, .96), rgba(13, 27, 45, .76)),
    url('/static/module-weather-v2.webp') center / cover no-repeat;
}

.hero .weather-quick-card,
.hero .location-card,
.hero .mydronespace-card,
.modules .module {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hero .weather-quick-card:hover,
.hero .location-card:hover,
.hero .mydronespace-card:hover,
.modules .module:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34), 0 0 26px rgba(56, 189, 248, .14);
}

.hero .weather-quick-card:focus-within,
.hero .location-card:focus-within,
.hero .mydronespace-card:focus-visible,
.modules .module:focus-visible {
  border-color: #38bdf8;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34), 0 0 26px rgba(56, 189, 248, .14);
  outline: none;
}

.preview-page { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 28px; }
.preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.preview-heading .eyebrow { margin: 0 0 2px !important; }
.preview-heading h1 { margin: 0; font-size: clamp(24px, 2.3vw, 32px); }
.preview-heading > p { margin: 0; color: #9ca9c4; font-size: 12px; }
.compact-preview { max-width: none; margin: 0; padding: 18px; border-top: 3px solid #facc15; }
.preview-subject { margin-bottom: 12px; }
.preview-subject input { margin-top: 4px; padding: 9px 11px; font-size: 12px; }
.letter-preview { max-height: calc(100vh - 315px); min-height: 310px; padding: 20px 24px; overflow: auto; border: 1px solid #3a4968; border-radius: 10px; background: #f8fafc; color: #172033; font: 400 13px/1.45 Arial, sans-serif; }
.letter-preview p { margin: 0 0 10px; }
.letter-preview strong { color: #07101f; font-weight: 800; }
.letter-data-group { margin: 14px 0; }
.letter-data-group p { margin: 3px 0; }
.letter-signature { margin-top: 3px; }
.letter-signature p { margin: 1px 0; }
.letter-signature .signature-name { font-weight: 800; }
.gmail-copy-status { min-height: 18px; margin: 7px 0 0; color: #fde68a; font-size: 10px; }
.preview-actions { margin-top: 6px; align-items: center; }
.preview-actions form { margin: 0; }
.preview-actions .button { min-height: 40px; }

@media (max-width: 700px) {
  .preview-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .compact-preview { padding: 12px; }
  .letter-preview { max-height: none; padding: 16px; }
  .preview-actions, .preview-actions form, .preview-actions .button { width: 100%; }
}

/* Az alsó három főoldali modulkártya egységes tipográfiája. */
.modules .module h2,
.modules .module .flight-management-head h2 {
  max-width: 100%;
  margin: 0 0 10px;
  overflow: hidden;
  color: #fff;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modules .module > p {
  width: 64%;
  max-width: 64%;
  min-height: 58px;
  margin: 8px 0 14px;
  color: #b6c2d8;
  font-size: 13px;
  line-height: 1.45;
}

.modules .module > span:not(.management-open),
.modules .module > .management-open {
  margin-top: auto;
  padding: 0 44px 0 0;
  color: #38bdf8;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

@media (max-width: 700px) {
  .modules .module h2,
  .modules .module .flight-management-head h2 { font-size: clamp(16px, 5vw, 20px); }
  .modules .module > p { font-size: 12px; }
}

/* A felső három főoldali kártya közös szerkezete. */
.hero .weather-quick-card,
.hero .location-card,
.hero .mydronespace-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 28px 116px 22px;
  gap: 7px;
  padding: 12px 14px;
}

.hero .home-card-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero .home-card-head > strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(10px, 1vw, 14px);
  line-height: 1.1;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px #000;
  white-space: nowrap;
}

.hero .home-card-head > span {
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .04em;
  white-space: nowrap;
}

.hero .weather-quick-card .home-card-head > span {
  border: 1px solid #207747;
  background: #123c2d;
  color: #86efac;
}

.hero .location-card .home-card-head > span {
  border: 1px solid #983f48;
  background: #3b1920;
  color: #fca5a5;
}

.hero .mydronespace-card .home-card-head > span {
  border: 1px solid #64748b;
  background: #273244;
  color: #cbd5e1;
}

.hero .home-card-content,
.hero .weather-quick-card iframe,
.hero .home-location-mini-map,
.hero .mydronespace-logo {
  grid-column: 1;
  width: 100%;
  height: 116px;
  min-height: 116px;
  max-height: 116px;
  margin: 0;
  border: 1px solid #3b4c66;
  border-radius: 10px;
  overflow: hidden;
}

.hero .mydronespace-logo {
  display: block;
  background-color: #f8fafc;
  background-size: contain;
  box-shadow: 0 7px 18px #0006;
}

.hero .home-location-mini-map > code {
  position: absolute;
  z-index: 510;
  top: 8px;
  left: 8px;
  margin: 0;
  padding: 4px 7px;
  border: 1px solid rgba(56, 189, 248, .35);
  border-radius: 6px;
  background: rgba(8, 18, 33, .88);
  color: #fef08a;
  font: 800 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.hero .home-card-open,
.hero .location-card .home-card-open {
  align-self: end;
  justify-self: start;
  margin: 0;
  padding: 0 30px 0 0;
  border: 0;
  color: #38bdf8;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transform: translateY(-3px);
}

.hero .home-card-number,
.modules .module > b {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 12px;
  color: #71809d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.hero .location-foot {
  margin: 0;
  padding: 0;
  border: 0;
  align-items: end;
  justify-content: flex-start;
}

@media (max-width: 700px) {
  .hero .home-card-head > strong { font-size: 12px; }
}

/* Adminisztrációs témakörök füles navigációja. */
.admin-pagehead {
  width: min(1406px, calc(100% - 32px));
  max-width: none;
  padding: 18px 0 12px;
}

.admin-pagehead .eyebrow {
  margin: 0 0 3px !important;
  font-size: 10px !important;
  line-height: 1.2;
}

.admin-pagehead h1 {
  margin: 0 0 4px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.admin-pagehead > p:last-child {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.admin-tabs {
  position: sticky;
  z-index: 8;
  top: 72px;
  width: min(1406px, calc(100% - 32px));
  margin: 0 auto 10px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid #2f4567;
  border-radius: 12px;
  background: rgba(10, 19, 34, .96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.admin-tabs a {
  min-width: 0;
  padding: 8px 9px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #9fb0c8;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .18s, border-color .18s, background .18s;
}

.admin-tabs a:hover { color: #fff; border-color: #315579; background: #12243a; }
.admin-tabs a.active { color: #fef08a; border-color: #8a6818; background: linear-gradient(135deg, #30280f, #182132); box-shadow: inset 0 2px 0 #facc15; }
.admin-tabs a:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
.admin-tab-stage { width: 100%; }
.admin-tab-panel[hidden] { display: none !important; }
.admin-tab-panel { animation: admin-tab-in .18s ease-out; }
@keyframes admin-tab-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.user-permissions-admin { width: min(1406px, calc(100% - 32px)); margin: 0 auto 40px; padding: 18px; border: 1px solid #2f4567; border-top: 3px solid #facc15; border-radius: 16px; background: rgba(18,26,46,.96); box-shadow: 0 14px 35px #0002; }
.user-permissions-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.user-permissions-head h2 { margin: 2px 0 3px; font-size: 21px; }
.user-permissions-head p { margin: 0; color: #9ca9c4; font-size: 11px; }
.user-permissions-head > span { padding: 5px 9px; border: 1px solid #315579; border-radius: 99px; color: #bae6fd; background: #122b47; font-size: 9px; font-weight: 850; white-space: nowrap; }
.user-permission-list { display: grid; gap: 9px; }
.user-permission-row { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(600px, 2.5fr) auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid #293953; border-radius: 12px; background: #0d192c; }
.permission-user strong, .permission-user span { display: block; }
.permission-user strong { color: #fff; font-size: 13px; }
.permission-user span { margin-top: 2px; color: #8598b6; font-size: 9px; }
.permission-switches { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 7px; }
.module-switch { min-width: 0; margin: 0; padding: 8px 9px; display: grid; grid-template-columns: 31px minmax(0, 1fr); align-items: center; gap: 8px; border: 1px solid #2c3d5a; border-radius: 9px; background: #121f34; cursor: pointer; }
.module-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.module-switch > span { position: relative; width: 31px; height: 17px; border-radius: 99px; background: #38445a; transition: background .18s; }
.module-switch > span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; transition: transform .18s, background .18s; }
.module-switch input:checked + span { background: #075f80; box-shadow: inset 0 0 0 1px #38bdf8; }
.module-switch input:checked + span::after { transform: translateX(14px); background: #fff; }
.module-switch input:focus-visible + span { outline: 2px solid #facc15; outline-offset: 2px; }
.module-switch b { overflow: hidden; color: #b9c6da; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; }
.module-switch:has(input:checked) b { color: #eaf6ff; }
.permission-save { min-width: 154px; padding: 10px 12px; font-size: 10px; }

@media (max-width: 1100px) {
  .user-permission-row { grid-template-columns: 1fr auto; }
  .permission-switches { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 700px) {
  .user-permission-row { grid-template-columns: 1fr; }
  .permission-switches { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .permission-save { width: 100%; }
}

@media (max-width: 450px) { .permission-switches { grid-template-columns: 1fr; } }

.demo-login { margin-top: 18px; padding-top: 15px; border-top: 1px solid #2b3857; text-align: center; }
.demo-login span { display: block; margin-bottom: 6px; color: #8496b2; font-size: 10px; }
.demo-login form { margin: 0; }
.demo-login button { border: 0; background: transparent; color: #7dd3fc; font-size: 12px; font-weight: 850; cursor: pointer; }
.demo-login button:hover { color: #fff; }
.demo-badge { padding: 5px 9px; border: 1px solid #8a6818; border-radius: 99px; background: #30280f; color: #fef08a; font-size: 9px; font-weight: 900; letter-spacing: .06em; white-space: nowrap; }
.demo-mode input:disabled,.demo-mode select:disabled,.demo-mode textarea:disabled { opacity: 1; border-color: #566071; background: #cbd1da; color: #5b6472; cursor: not-allowed; }
.demo-mode button:disabled { opacity: .48; filter: grayscale(.6); cursor: not-allowed; }
.demo-mode .location-map,.demo-mode .airspace-map,.demo-mode #restrictionMap { background: radial-gradient(circle at 42% 45%,#2a3d55 0 3px,transparent 4px),linear-gradient(135deg,#18283c,#101a2b); }
.demo-mode .location-map::after,.demo-mode .airspace-map::after { content: 'INTERAKTÍV DEMÓTÉRKÉP · A JELÖLŐ MOZGATHATÓ'; position: absolute; z-index: 400; left: 50%; top: 16px; transform: translateX(-50%); padding: 6px 10px; border: 1px solid #53657d; border-radius: 99px; background: #101b2ddd; color: #aebdd3; font-size: 9px; font-weight: 900; letter-spacing: .06em; white-space: nowrap; pointer-events: none; }
.demo-mode .leaflet-container { background: linear-gradient(135deg,#18283c,#101a2b); }

@media (max-width: 850px) {
  .admin-tabs { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-pagehead { width: calc(100% - 32px); padding-top: 15px; }
}

@media (max-width: 480px) {
  .admin-tabs { width: calc(100% - 20px); grid-template-columns: 1fr; }
  .admin-tabs a:last-child { grid-column: auto; }
}

.admin-tabs.organization-admin-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-tabs.platform-admin-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.platform-admin-panel { width: min(1406px, calc(100% - 32px)); margin: 0 auto 32px; box-sizing: border-box; }
.global-list-head, .global-sources-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.global-list-head h2, .global-sources-head h2 { margin: 2px 0 4px; }
.global-list-head > strong { padding: 5px 9px; border: 1px solid #315579; border-radius: 999px; color: #bae6fd; background: #122b47; font-size: 9px; white-space: nowrap; }
.global-data-warning { grid-column: 1 / -1; padding: 10px 12px; border-left: 3px solid #facc15; border-radius: 7px; background: #30280f; color: #fde68a; font-size: 10px; line-height: 1.45; }
.airport-admin > .archive-panel { grid-column: 1 / -1; margin-top: 0; }
.global-sources-admin { width: min(1406px, calc(100% - 32px)); margin: 0 auto 32px; padding: 18px; border: 1px solid #2f4567; border-top: 3px solid #38bdf8; border-radius: 16px; background: rgba(18,26,46,.96); box-shadow: 0 14px 35px #0002; box-sizing: border-box; }
.global-sources-head p { margin: 3px 0 0; color: #9ca9c4; font-size: 11px; }
.global-source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.global-source-card { min-width: 0; padding: 13px; border: 1px solid #2c3e5d; border-radius: 12px; background: #0d192c; }
.global-source-card > div > span { color: #38bdf8; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.global-source-card h3 { min-height: 40px; margin: 5px 0 9px; font-size: 14px; line-height: 1.3; }
.global-source-card > strong { display: inline-flex; padding: 4px 7px; border: 1px solid #315579; border-radius: 999px; color: #dbeafe; font-size: 9px; }
.global-source-card > p { margin: 9px 0 0; color: #94a3b8; font-size: 10px; }
.global-source-note { margin-top: 12px; padding: 13px 15px; border-left: 3px solid #a78bfa; border-radius: 9px; background: #15172d; color: #aebbd0; font-size: 10px; line-height: 1.55; }
.global-source-note strong { color: #e9d5ff; font-size: 12px; }
.global-source-note p { margin: 5px 0 0; }
@media (max-width: 1050px) {
  .global-source-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 850px) {
  .admin-tabs.organization-admin-tabs, .admin-tabs.platform-admin-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .platform-admin-panel, .global-sources-admin { width: calc(100% - 20px); }
  .global-source-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .admin-tabs.organization-admin-tabs, .admin-tabs.platform-admin-tabs { grid-template-columns: 1fr; }
}

/* Platformtudás és fejlesztési napló */
.platform-knowledge-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:14px; }
.platform-knowledge-head h2 { margin:3px 0 4px; font-size:23px; }
.platform-knowledge-head p { margin:0; color:#9ca9c4; font-size:11px; }
.development-admin,.system-operation-admin { padding:18px; border:1px solid #2f4567; border-top:3px solid #facc15; border-radius:16px; background:rgba(18,26,46,.96); box-shadow:0 14px 35px #0002; }
.development-admin.platform-admin-panel { width:calc(100% - 16px); max-width:none; margin:0 8px 20px; padding:12px; }
.development-page { display:flex; flex-direction:column; gap:8px; width:calc(100% - 16px); height:100%; margin:0 auto; padding:8px 0 10px; box-sizing:border-box; }
.development-page-shell { display:flex; flex:1; min-height:0; flex-direction:column; width:100%; margin:0; padding:12px; box-sizing:border-box; }
.development-page .development-workspace { flex:1; min-height:0; }
.development-page .development-list-wrap { display:flex; min-height:0; flex-direction:column; }
.development-page .development-records { flex:1; min-height:0; max-height:none; }
.development-page-notice { flex:0 0 auto; margin:0; }
.development-head-actions { display:flex; align-items:flex-start; justify-content:flex-end; gap:10px; }
.development-platform-back { min-height:34px; display:inline-flex; align-items:center; white-space:nowrap; }
.platform-standalone-link span { color:#38bdf8; font-size:12px; }
body:has(.development-page) main { height:calc(100dvh - 72px); min-height:0; overflow:hidden; }
.development-admin .platform-knowledge-head { margin-bottom:8px; }
.development-workspace { display:grid; grid-template-columns:minmax(300px,350px) minmax(0,1fr); gap:10px; }
.development-create,.development-list-wrap { min-width:0; padding:11px; border:1px solid #2c3e5d; border-radius:13px; background:#0d192c; }
.development-create { display:grid; grid-template-columns:1fr 1fr; gap:7px 8px; align-content:start; }
.development-create-head,.development-field-full { grid-column:1/-1; }
.development-create-head { display:flex; align-items:baseline; gap:10px; }
.development-create h3 { margin:0 0 2px; font-size:17px; }
.development-create label,.development-actions label,.development-filters label { display:grid; gap:4px; color:#b8c7dc; font-size:9px; font-weight:800; }
.development-create input,.development-create select,.development-create textarea,.development-actions input,.development-actions select,.development-actions textarea,.development-filters input,.development-filters select { width:100%; box-sizing:border-box; }
.development-create input,.development-create select { min-height:36px; padding-top:7px; padding-bottom:7px; }
.development-create textarea { min-height:64px; padding-top:8px; padding-bottom:8px; resize:vertical; }
.development-text-pair { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.development-form-pair { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.development-counter,.catalog-coverage { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.development-counter span,.catalog-coverage span { display:grid; min-width:68px; padding:7px 9px; border:1px solid #304765; border-radius:10px; color:#9fb0ca; font-size:8px; text-align:center; }
.development-counter b,.catalog-coverage b { color:#fff; font-size:14px; }
.development-counter .status-planned { border-color:#b72b3a; background:#35131b; color:#fca5a5; }
.development-counter .status-in_progress { border-color:#b58b08; background:#30280c; color:#fde047; }
.development-counter .status-done { border-color:#168250; background:#092c23; }
.development-counter .status-partial { border-color:#c65d13; background:#321d11; color:#fdba74; }
.development-filters { display:grid; grid-template-columns:minmax(150px,1.4fr) repeat(3,minmax(105px,1fr)) auto; gap:8px; align-items:end; margin-bottom:10px; }
.development-records { display:grid; grid-auto-rows:max-content; align-content:start; gap:8px; max-height:calc(100dvh - 286px); overflow:auto; padding-right:3px; }
.development-record { min-height:0; border:1px solid #2d4262; border-left:4px solid #38bdf8; border-radius:11px; background:#111d31; overflow:hidden; }
.development-record.priority-critical { border-left-color:#ef4444; }.development-record.priority-high { border-left-color:#f97316; }.development-record.priority-low { border-left-color:#64748b; }.development-record.status-done { opacity:.78; border-left-color:#22c55e; }
.development-record-toggle { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:12px; width:100%; min-height:56px; padding:9px 12px; border:0; background:transparent; color:#eef5ff; text-align:left; cursor:pointer; }
.development-record-toggle:hover { background:#152641; }.development-record-toggle:focus-visible { outline:2px solid #38bdf8; outline-offset:-3px; }
.development-record-key { display:flex; align-items:center; gap:7px; }
.development-record-id { padding:5px 7px; border:1px solid #1676a8; border-radius:7px; color:#7dd3fc; font:800 9px/1 monospace; }
.development-record-title { display:grid; gap:3px; min-width:0; }.development-record-title strong { overflow:hidden; color:#eef5ff; font-size:14px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }.development-record-title small { color:#8ca0bd; font-size:9px; line-height:1.2; }
.development-record-chevron { display:grid; place-items:center; width:25px; height:25px; border:1px solid #46617f; border-radius:50%; color:#9ddcff; font:900 18px/1 system-ui,sans-serif; transition:transform .18s ease,border-color .18s ease,background .18s ease; }
.development-record.is-open { border-color:#3c5f84; box-shadow:0 10px 28px rgba(0,0,0,.2); }.development-record.is-open .development-record-toggle { border-bottom:1px solid #293f5e; background:#14243d; }.development-record.is-open .development-record-chevron { transform:rotate(180deg); border-color:#38bdf8; background:#0c3049; }
.development-record-details[hidden] { display:none!important; }.development-record-details { padding-top:10px; animation:development-record-open .18s ease-out; }
@keyframes development-record-open { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.development-priority-indicator,.development-status-indicator { display:inline-flex; align-items:center; gap:6px; min-height:28px; padding:3px 9px 3px 4px; border:1px solid currentColor; border-radius:999px; font-size:9px; font-weight:900; line-height:1; white-space:nowrap; box-shadow:0 0 16px color-mix(in srgb,currentColor 20%,transparent); }
.development-priority-indicator i,.development-status-indicator i { display:grid; place-items:center; flex:0 0 22px; width:22px; height:22px; border-radius:50%; color:#07111f; background:currentColor; font:900 12px/1 system-ui,sans-serif; font-style:normal; }
.development-priority-indicator.priority-critical { color:#ff4d5e; background:#35131b; }.development-priority-indicator.priority-high { color:#fb923c; background:#321d11; }.development-priority-indicator.priority-normal { color:#38bdf8; background:#0c293a; }.development-priority-indicator.priority-low { color:#94a3b8; background:#192334; }
.development-status-indicator.status-planned { color:#ff4d5e; background:#35131b; }.development-status-indicator.status-in_progress { color:#facc15; background:#30280c; }.development-status-indicator.status-partial { color:#fb923c; background:#321d11; }.development-status-indicator.status-done { color:#22c55e; background:#0b2d22; }
.development-description { margin:0 12px 10px; padding:8px 10px; border-left:3px solid #ffe11a; border-radius:7px; background:linear-gradient(90deg,rgba(250,204,21,.15),rgba(250,204,21,.035)); color:#ffe11a; font-size:12px; font-weight:900; line-height:1.45; letter-spacing:.012em; text-shadow:0 0 14px rgba(255,225,26,.34); white-space:pre-line; }
.development-note { margin:0 12px 9px; padding:8px 10px; border-left:3px solid #22c55e; border-radius:7px; background:#10251f; }.development-note strong { color:#86efac; font-size:9px; }.development-note p { margin:4px 0 0; color:#86efac; font-size:10px; line-height:1.45; white-space:pre-line; }
.development-file-field { padding:8px 9px; border:1px dashed #3d5779; border-radius:9px; background:#0a1628; }
.development-file-field>span { color:#7f92ae; font-size:8px; font-weight:700; }
.development-file-field>small { color:#7f92ae; font-size:8px; font-weight:600; }
.development-create input[type=file],.development-edit-form input[type=file] { min-height:34px; padding:5px; border-color:#385271; background:#111f34; color:#bfdbfe; font-size:9px; }
.development-attachments { margin:0 12px 9px; padding:8px 10px; border-left:3px solid #38bdf8; border-radius:7px; background:#0c2037; }
.development-attachments>strong { color:#7dd3fc; font-size:9px; }
.development-attachments>div { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.development-attachments a { display:grid; grid-template-columns:auto minmax(0,1fr); gap:1px 7px; min-width:210px; padding:6px 8px; border:1px solid #315374; border-radius:7px; color:#e0f2fe; text-decoration:none; background:#102a45; }
.development-attachments a>span { grid-row:1/3; align-self:center; color:#38bdf8; font-size:16px; }.development-attachments a b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:9px; }.development-attachments a small { color:#7f96b4; font:7px/1.2 monospace; }
.development-attachments a:hover,.development-attachments a:focus-visible { border-color:#38bdf8; background:#123454; outline:none; }
.development-record-details>footer { display:flex; flex-wrap:wrap; gap:12px; padding:7px 12px; border-top:1px solid #263957; color:#7f92ae; font-size:8px; }
.development-actions { display:flex; flex-wrap:wrap; align-items:flex-start; gap:7px; padding:7px 12px 9px; }.development-actions>details { flex:1; min-width:220px; }.development-actions>details>summary { width:max-content; cursor:pointer; list-style:none; }.development-actions>details[open]>summary { margin-bottom:7px; }.development-actions>details>form { display:grid; gap:7px; padding:9px; border:1px solid #314664; border-radius:9px; background:#0a1527; }.development-actions>details>form.development-edit-form { grid-template-columns:minmax(210px,.7fr) minmax(170px,.55fr) minmax(240px,1fr) minmax(240px,1fr); align-items:end; }.development-edit-title { grid-column:3/-1; }.development-edit-form textarea { min-height:58px; resize:vertical; }.development-edit-save { min-height:38px; align-self:end; }.development-actions form { margin:0; }.development-done { border-color:#178a53!important; color:#86efac!important; background:#0a3428!important; }
.knowledge-empty { padding:30px; border:1px dashed #38506f; border-radius:10px; color:#94a3b8; text-align:center; font-size:11px; }
.catalog-note { display:flex; gap:9px; align-items:center; padding:9px 11px; border-left:3px solid #38bdf8; border-radius:8px; background:#10233b; color:#aebdd2; font-size:10px; }.catalog-note strong { color:#7dd3fc; white-space:nowrap; }
.system-doc-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; margin:12px 0; padding:5px; border:1px solid #2f4567; border-radius:11px; background:#0a1527; }
.system-doc-tabs button { min-height:38px; border:1px solid transparent; border-radius:8px; background:transparent; color:#a8b5c9; font-size:10px; font-weight:900; cursor:pointer; }.system-doc-tabs button:hover,.system-doc-tabs button.active { border-color:#179bd0; background:#102d49; color:#e0f2fe; }
.system-doc-stage>[data-system-doc-panel] { min-height:430px; }
.catalog-overview-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.catalog-overview-grid article,.module-doc-card,.source-doc-grid article { padding:14px; border:1px solid #2d4262; border-radius:11px; background:#0d192c; }.catalog-overview-grid h3 { margin:4px 0 9px; font-size:16px; }.catalog-overview-grid ul,.module-doc-card ul { margin:0; padding-left:18px; color:#b8c5d8; font-size:10px; line-height:1.55; }
.module-doc-grid,.source-doc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }.module-doc-card>header,.source-doc-grid article>header { display:flex; justify-content:space-between; gap:8px; align-items:flex-start; }.module-doc-card h3,.source-doc-grid h3 { margin:3px 0 0; font-size:14px; }.module-doc-card code,.source-doc-grid code { color:#38bdf8; font-size:8px; }.module-doc-card header>span { color:#86efac; font-size:8px; font-weight:900; }.module-doc-card.documentation-missing { border-color:#9f3c3c; }.module-doc-card.documentation-missing header>span { color:#fca5a5; }.module-doc-card>p,.source-doc-grid article>p { min-height:45px; margin:10px 0; color:#b8c5d8; font-size:10px; line-height:1.45; }.module-doc-card dl,.source-doc-grid dl { display:grid; grid-template-columns:80px minmax(0,1fr); gap:5px 8px; margin:0 0 9px; font-size:9px; }.module-doc-card dt,.source-doc-grid dt { color:#7f92ae; }.module-doc-card dd,.source-doc-grid dd { margin:0; color:#d9e2ef; overflow-wrap:anywhere; }.source-doc-grid article>a { color:#38bdf8; font-size:9px; font-weight:800; }
.module-doc-card { display:block; color:inherit; text-decoration:none; cursor:pointer; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.module-doc-card:hover,.module-doc-card:focus-visible { transform:translateY(-3px); border-color:#38bdf8; box-shadow:0 12px 28px #0005,0 0 0 1px #38bdf844; outline:none; }
.module-detail-shell { width:min(1440px,calc(100% - 32px)); margin:18px auto 34px; }
.module-detail-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; padding:18px 20px; border:1px solid #304666; border-top:3px solid #38bdf8; border-radius:15px; background:#111d31; }
.module-detail-head h1 { margin:4px 0 5px; font-size:28px; }.module-detail-head p { margin:0; color:#aebbd0; font-size:11px; }.module-detail-back { white-space:nowrap; }
.module-detail-live { margin:10px 0; padding:9px 12px; border-left:3px solid #22c55e; border-radius:8px; background:#0c2a25; color:#a7f3d0; font-size:10px; }
.module-detail-summary { display:grid; grid-template-columns:1.15fr .85fr; gap:10px; margin-bottom:10px; }
.module-detail-card { padding:14px; border:1px solid #2d4262; border-radius:12px; background:#0d192c; min-width:0; }
.module-detail-card .source-doc-grid { grid-template-columns:1fr; }
.module-detail-card h2 { margin:4px 0 9px; font-size:17px; }.module-detail-card h3 { margin:0 0 6px; font-size:13px; }.module-detail-card p,.module-detail-card li { color:#bdc9da; font-size:10px; line-height:1.55; }.module-detail-card ol,.module-detail-card ul { margin:0; padding-left:19px; }
.module-detail-sections { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.module-detail-wide { grid-column:1/-1; }
.module-table-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.module-table-card { padding:10px; border:1px solid #293d5b; border-radius:9px; background:#101d31; }.module-table-card header { display:flex; justify-content:space-between; gap:8px; }.module-table-card code { color:#7dd3fc; }.module-columns { display:flex; flex-wrap:wrap; gap:4px; margin-top:8px; }.module-columns span { padding:3px 5px; border:1px solid #314968; border-radius:5px; color:#b9c7da; font:8px/1.25 monospace; }.module-columns span.primary { border-color:#b8860b; color:#fde68a; }
.module-related-list { display:grid; gap:6px; }.module-related-list a { display:flex; justify-content:space-between; gap:10px; padding:8px; border:1px solid #2b405e; border-radius:8px; color:#dbeafe; text-decoration:none; font-size:10px; }.module-related-list a:hover { border-color:#38bdf8; }.module-related-list small { color:#8294af; }
.module-endpoint-table { width:100%; border-collapse:collapse; font-size:9px; }.module-endpoint-table th,.module-endpoint-table td { padding:7px 8px; border-top:1px solid #283b59; text-align:left; }.module-endpoint-table th { color:#8fa4c2; }.module-endpoint-table code { color:#7dd3fc; overflow-wrap:anywhere; }
@media (max-width:900px) { .module-detail-summary,.module-detail-sections,.module-table-cards { grid-template-columns:1fr; }.module-detail-wide { grid-column:auto; }.module-detail-head { align-items:flex-start; flex-direction:column; } }
.catalog-table-wrap { max-height:570px; overflow:auto; border:1px solid #2d4262; border-radius:11px; }.catalog-table { width:100%; border-collapse:collapse; background:#0d192c; font-size:10px; }.catalog-table th { position:sticky; top:0; z-index:1; padding:10px; background:#15243a; color:#9fb4d3; text-align:left; }.catalog-table td { padding:9px 10px; border-top:1px solid #283b59; color:#c5d0e0; }.catalog-table code { color:#7dd3fc; }.catalog-state { display:inline-flex; padding:4px 7px; border:1px solid #42607f; border-radius:99px; font-size:8px; font-weight:900; white-space:nowrap; }.catalog-state.configured,.catalog-state.available { border-color:#168250; background:#092c23; color:#86efac; }.catalog-state.missing { border-color:#a63b3b; background:#32151c; color:#fca5a5; }
@media (max-width:1350px) { .development-actions>details>form.development-edit-form { grid-template-columns:1fr 1fr; }.development-edit-title { grid-column:auto; }.development-edit-save { grid-column:2; } }
@media (max-width:1100px) { body:has(.development-page) main { height:auto; min-height:calc(100dvh - 72px); overflow:visible; }.development-page { height:auto; }.development-workspace { grid-template-columns:1fr; }.development-records { max-height:none; }.development-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }.module-doc-grid,.source-doc-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:720px) { .platform-knowledge-head,.catalog-note { align-items:stretch; flex-direction:column; }.development-head-actions { align-items:stretch; flex-direction:column; }.development-platform-back { justify-content:center; }.development-counter,.catalog-coverage { justify-content:flex-start; }.development-create,.development-text-pair,.development-actions>details>form.development-edit-form,.development-filters,.development-form-pair,.catalog-overview-grid,.module-doc-grid,.source-doc-grid,.system-doc-tabs { grid-template-columns:1fr; }.development-field-full,.development-edit-save { grid-column:auto; }.development-record-toggle { grid-template-columns:minmax(0,1fr) auto; gap:7px; }.development-record-key { grid-column:1/-1; }.development-status-indicator { grid-column:1; grid-row:3; justify-self:start; }.development-record-chevron { grid-column:2; grid-row:2/4; }.catalog-table-wrap { overflow-x:auto; }.catalog-table { min-width:760px; } }

.settlement-admin {
  width: min(1406px, calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 18px;
  border: 1px solid #2f4567;
  border-top: 3px solid #facc15;
  border-radius: 16px;
  background: rgba(18, 26, 46, .96);
  box-shadow: 0 14px 35px #0002;
}

.settlement-admin-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.settlement-admin-head h2 { margin: 2px 0 0; }
.settlement-admin-head p { margin: 3px 0 0; color: #9ca9c4; font-size: 11px; }
.settlement-admin-head label { width: min(360px, 42%); margin: 0; font-size: 10px; }
.settlement-admin-head input { margin-top: 4px; padding: 9px 10px; }
.settlement-server-search { width: min(450px, 48%); display: flex; align-items: end; gap: 8px; }
.settlement-server-search label { width: 100%; }
.settlement-server-search .button { min-height: 39px; padding: 8px 13px; }
.settlement-records { max-height: 58vh; overflow: auto; border: 1px solid #293953; border-radius: 11px; }
.settlement-admin-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(180px, 1.2fr) 120px 120px auto auto; gap: 8px; align-items: end; padding: 9px 10px; border-top: 1px solid #293953; }
.settlement-admin-row:first-child { border-top: 0; }
.settlement-admin-row[hidden] { display: none; }
.settlement-admin-row label { margin: 0; font-size: 9px; }
.settlement-admin-row input { margin-top: 3px; padding: 7px 8px; font-size: 10px; }
.settlement-admin-row .button { min-height: 34px; padding: 7px 10px; font-size: 9px; white-space: nowrap; }
.settlement-admin-row .map-check-button { border: 1px solid #315579; background: #122b47; color: #bae6fd; }
.settlement-admin > .archive-panel { margin-top: 14px; }
.settlement-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: #9ca9c4; font-size: 10px; }
.settlement-pagination > div { display: flex; gap: 8px; }
.settlement-pagination .button { padding: 7px 11px; font-size: 9px; }

.settlement-map-dialog { width: min(820px, calc(100% - 28px)); padding: 16px; border: 1px solid #315579; border-top: 3px solid #facc15; border-radius: 16px; background: #101b2d; color: #eef3ff; box-shadow: 0 28px 90px #000c; }
.settlement-map-dialog::backdrop { background: rgba(3, 8, 18, .82); backdrop-filter: blur(4px); }
.settlement-map-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.settlement-map-dialog-head h2 { margin: 2px 0 0; font-size: 19px; }
.settlement-map-dialog .dialog-close { width: 36px; height: 36px; border: 1px solid #3b4f6c; border-radius: 9px; background: #24324d; color: #fff; font-size: 22px; cursor: pointer; }
.settlement-admin-map { width: 100%; height: min(58vh, 480px); border: 1px solid #3a4968; border-radius: 12px; overflow: hidden; }
.settlement-map-dialog > p { margin: 9px 1px; color: #aebbd0; font-size: 10px; }
.settlement-map-actions { display: flex; justify-content: flex-end; gap: 9px; }
.settlement-map-pin-wrap { border: 0; background: transparent; }
.settlement-map-pin-wrap span { position: relative; display: block; width: 30px; height: 30px; border: 4px solid #fff; border-radius: 50% 50% 50% 6px; background: #facc15; box-shadow: 0 5px 16px #0009; transform: rotate(-45deg); cursor: grab; }
.settlement-map-pin-wrap span::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #111827; }

@media (max-width: 1050px) {
  .settlement-admin-row { grid-template-columns: 1fr 1fr 110px 110px; }
  .settlement-admin-row .button { width: 100%; }
}

@media (max-width: 650px) {
  .settlement-admin { width: calc(100% - 20px); padding: 12px; }
  .settlement-admin-head { align-items: stretch; flex-direction: column; }
  .settlement-admin-head label, .settlement-server-search { width: 100%; }
  .settlement-admin-row { grid-template-columns: 1fr 1fr; }
  .settlement-admin-row label:nth-of-type(-n+2) { grid-column: 1 / -1; }
  .settlement-map-actions { flex-direction: column; }
  .settlement-map-actions > * { width: 100%; }
  .settlement-pagination { align-items: stretch; flex-direction: column; }
}

/* Végső főoldali teljesítmény-felülírások. */
.hero .weather-quick-card {
  background:
    linear-gradient(115deg, rgba(9, 23, 39, .96), rgba(13, 27, 45, .76)),
    url('/static/module-weather-v2.webp') center / cover no-repeat;
}
.weather-module::before { background-image: url('/static/module-weather-v2.webp'); }
.restriction-module::before { background-image: url('/static/module-restriction-v2.webp'); }
.log-module::before, .management-module::before { background-image: url('/static/module-log-v2.webp'); }
.mydronespace-card {
  background-image:
    linear-gradient(90deg, rgba(10, 17, 30, .96), rgba(10, 17, 30, .62)),
    url('/static/module-mydronespace-v3.webp');
}
.mydronespace-logo { background-image: url('/static/mydronespace-logo-mobile-v2.webp'); }
.wildfire-module{border-top-color:#f97316!important;background:radial-gradient(circle at 82% 38%,#7c2d1248,transparent 27%),linear-gradient(115deg,#0b1729f5,#111c30e8)!important;overflow:hidden}.wildfire-module::before{content:"";position:absolute;inset:0;background:repeating-radial-gradient(ellipse at 85% 58%,transparent 0 18px,#fb923c12 20px 21px,transparent 23px 34px);pointer-events:none}.wildfire-module h2,.wildfire-module p,.wildfire-module>span{position:relative;z-index:2}.wildfire-card-visual{position:absolute;z-index:1;right:7%;top:29%;width:92px;height:92px;border:1px solid #f9731655;border-radius:50%;background:radial-gradient(circle,#fb923c30,transparent 62%)}.wildfire-card-visual i{position:absolute;left:50%;bottom:17px;width:26px;height:42px;border-radius:55% 45% 60% 40%;background:linear-gradient(#facc15,#f97316 58%,#dc2626);transform:translateX(-50%) rotate(5deg);filter:drop-shadow(0 0 10px #f9731688)}.wildfire-card-visual i:nth-child(2){bottom:18px;width:13px;height:27px;background:#fff7b0;transform:translateX(-45%) rotate(-12deg)}.wildfire-card-visual em{position:absolute;left:16px;right:16px;bottom:11px;height:2px;background:#fb923c;box-shadow:0 8px 0 #fb923c66}
.home-card-minimize { width: 32px !important; height: 32px !important; top: 6px !important; right: 6px !important; }
.home-card-slot .home-card-open { display: inline-flex; align-items: center; min-height: 28px; }
.home-move-handle { min-height: 28px; display: inline-flex !important; align-items: center; }
.military-no-fly-shell{display:grid!important;width:38px!important;height:38px!important;place-items:center;background:transparent!important;border:0!important}.military-no-fly-icon{display:grid;width:30px;height:30px;place-items:center;border:2px solid #fff;border-radius:50%;background:#dc2626;color:#fff;font:900 22px/1 Arial,sans-serif;box-shadow:0 0 0 3px #ef444480,0 5px 14px #000b,0 0 14px #ef444466;text-shadow:0 1px 2px #0008;transform:scale(1);transform-origin:center;transition:transform .18s ease}.military-icons-regional .military-no-fly-icon{transform:scale(.72)}.military-icons-overview .military-no-fly-icon{transform:scale(.5)}.military-airspace-warning{display:block;margin-top:8px;color:#f87171;line-height:1.35}

/* A hosszú fejlécfelirat kis képernyőn zsugorodhat; nem növelheti meg a
   dokumentum szélességét. */
@media(max-width:1500px){body>header{gap:14px}.brand{min-width:0;gap:10px}.brand-home-link{min-width:0}.brand-home-link span{overflow:hidden;font-size:12px;text-overflow:ellipsis}.account-links{margin-right:0}.admin-header-link{padding:7px 9px;font-size:11px}.support-header-link{padding:7px 8px;font-size:10px}body>header>form[action="/logout"]{min-width:0;max-width:190px}body>header>form[action="/logout"] .linkbtn{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:1180px) and (min-width:901px){.brand-home-link span{display:none}.support-header-link span{display:none}body>header>form[action="/logout"]{max-width:145px}}
@media(max-width:560px){.brand{min-width:0;max-width:calc(100vw - 36px);flex:1 1 auto;overflow:hidden}.brand-logo-link{flex:0 0 auto}.brand-home-link{min-width:0;flex:1 1 auto;overflow:hidden}.brand-home-link span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
