/* Jethub
   Typografi, ikoner og stylingretning baseret på Viborg Miniby-projektet */

/* =========================================================
   Design tokens og reset
   ========================================================= */
:root{
  --sw:274px;
  --bg:#eef3fa;
  --surf:#ffffff;
  --surf2:#f7f9fd;
  --bdr:#d8e1ee;
  --bdr2:#e7edf6;
  --sb:#173153;
  --sbh:#22426c;
  --sba:#2f63a8;
  --sbt:rgba(255,255,255,.78);
  --sbta:#fff;
  --sbl:#8eb5ea;
  --pri:#2f63a8;
  --prid:#234d83;
  --pril:#eaf1fb;
  --acc:#77a6e6;
  --acc2:#18375d;
  --ok:#0c8a55;
  --warn:#b26a14;
  --danger:#b53c44;
  --tx:#172033;
  --tx2:#4a5d79;
  --txm:#7b8da9;
  --r:10px;
  --rl:14px;
  --rxl:20px;
  --sh0:0 1px 4px rgba(12,27,56,.08);
  --sh:0 10px 32px rgba(21,40,78,.08);
  --shl:0 14px 40px rgba(17,40,84,.14);
  --overview-mobile-bottom-gap:12px;
  --fd:'Libre Baskerville',Georgia,serif;
  --fb:'Source Sans 3',system-ui,sans-serif;
  --t:.18s ease;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{font-size:18px}
body{
  font-family:var(--fb);
  background:
    radial-gradient(circle at top right, rgba(119,166,230,.18), transparent 28%),
    radial-gradient(circle at top left, rgba(177,209,246,.16), transparent 30%),
    linear-gradient(180deg,#fafdff 0%, #eef6ff 54%, #eaf3ff 100%);
  color:var(--tx);
  min-height:100vh;
}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
a{color:var(--pri)}
[hidden]{display:none!important}

/* =========================================================
   App shell, topbar og global navigation
   ========================================================= */
.app-shell{display:flex;flex-direction:column;min-height:100vh}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.content{padding:24px;display:flex;flex-direction:column;gap:22px}

.top-menubar{
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:"brand nav actions";
  align-items:center;
  gap:18px;
  padding:14px 24px;
  background:linear-gradient(180deg,#173153 0%,#143a67 100%);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.12);
  position:sticky;
  top:0;
  z-index:40;
  box-shadow:0 10px 28px rgba(16,31,58,.16)
}
.brand-block{grid-area:brand;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:0;border:none;background:transparent;border-radius:0;text-decoration:none;color:inherit;transition:none;min-width:0}
.brand-block:hover{background:transparent;border-color:transparent}
.brand-block:focus-visible{outline:2px solid rgba(255,255,255,.42);outline-offset:4px;border-radius:16px}
.brand-logo-link{max-width:min(520px,42vw)}
.brand-mark{display:flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:18px;background:transparent}
.brand-logo{display:block;width:auto;height:auto;max-width:94px;max-height:60px;object-fit:contain;filter:drop-shadow(0 10px 22px rgba(0,0,0,0));transition:transform .22s ease, filter .22s ease}
.brand-mark:hover .brand-logo,.brand-mark:focus-visible .brand-logo{transform:translateY(-1px) scale(1.04);filter:drop-shadow(0 10px 18px rgba(255,255,255,.18))}
.brand-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;font-family:var(--fb)}
.brand-title{display:block;font-size:1.02rem;line-height:1;font-weight:700;letter-spacing:.12em;color:#e03434;font-family:var(--fb)}
.brand-subtitle{display:block;margin-top:4px;font-size:.72rem;line-height:1.15;font-weight:600;color:rgba(255,255,255,.92);font-family:var(--fb)}

.nav{grid-area:nav;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-width:0}
.nav-link{
  border:none;
  background:none;
  color:var(--sbt);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:auto;
  padding:11px 14px;
  border-radius:12px;
  text-align:center;
  transition:var(--t);
  font-size:.9rem;
  font-weight:600;
  white-space:nowrap
}
.nav-link:hover{background:var(--sbh);color:#fff}
.nav-link.active{background:var(--sba);color:var(--sbta)}

.menu-toggle{
  grid-area:toggle;
  display:none;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:700;
  transition:var(--t)
}
.menu-toggle:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.24)}
.menu-toggle:focus-visible{outline:2px solid rgba(255,255,255,.42);outline-offset:2px}
.menubar-actions{grid-area:actions;justify-self:end;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.topbar-icon-btn{flex:0 0 auto}
.mobile-nav-action{display:none}

body.is-guest .auth-only,
body.is-guest .admin-only,
body.is-auth .guest-only,
body:not(.is-admin) .admin-only{display:none!important}

/* =========================================================
   Knapper, hjælpetekster og små fælles UI-elementer
   ========================================================= */
.small-muted{font-size:.74rem;color:var(--txm)}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.66rem;
  font-weight:700;
  color:var(--pri);
  margin-bottom:6px
}
.month-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--surf2);
  border:1px solid var(--bdr);
  padding:11px 16px;
  border-radius:12px;
  font-weight:700;
  color:var(--acc2);
  min-width:150px;
  min-height:42px;
  text-align:center
}
.icon-btn,.btn{border-radius:12px;border:1px solid transparent;transition:var(--t);box-shadow:none}
.icon-btn:disabled,.btn:disabled{opacity:.56;cursor:not-allowed}
.icon-btn{width:42px;height:42px;display:grid;place-items:center;background:var(--surf);border-color:var(--bdr);color:var(--tx2)}
.icon-btn:hover{background:var(--surf2);border-color:#c3d0e1}
.btn{padding:11px 16px;font-weight:700}
.btn.primary{background:var(--pri);color:#fff}
.btn.primary:hover{background:var(--prid)}
.btn.secondary{background:var(--surf);border-color:var(--bdr);color:var(--acc2)}
.btn.secondary:hover,.btn.ghost:hover{background:var(--surf2)}
.btn.ghost{background:transparent;border-color:var(--bdr);color:var(--acc2)}
.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff}
.btn.danger:hover{background:#9b2436;border-color:#9b2436}
.btn.success{background:var(--ok);border-color:var(--ok);color:#fff}
.btn.success:hover{background:#0a774a;border-color:#0a774a}
.top-menubar .btn.ghost{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);color:#fff}
.top-menubar .btn.ghost:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.24)}
.top-menubar .btn.primary{background:#fff;color:var(--prid);border-color:rgba(255,255,255,.16)}
.top-menubar .btn.primary:hover{background:#eef4ff;color:var(--prid)}
.top-menubar .topbar-icon-btn{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);color:#fff}
.top-menubar .topbar-icon-btn:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.24)}

.pill{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-weight:700;font-size:.78rem}
.pill.blue{background:var(--pril);color:var(--pri)}
.pill.green{background:#e9f7f0;color:var(--ok)}
.pill.orange{background:#fff3e5;color:var(--warn)}

.view{display:none}
.view.active{display:block;animation:fadeIn .18s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes dayBadgePulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(47,99,168,.0)}
  50%{transform:scale(1.08);box-shadow:0 0 0 6px rgba(47,99,168,.08)}
}

/* =========================================================
   Kort, sektioner og generelle indholdsområder
   ========================================================= */
.hero-card,.card{background:rgba(255,255,255,.92);border:1px solid var(--bdr);border-radius:22px;box-shadow:var(--sh)}
.card-head{padding:20px 22px;border-bottom:1px solid var(--bdr2);display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.card-head h3,.card-head h2{margin:0;font-family:var(--fd)}
.card-head-month{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px}
.overview-airfields-card{margin-top:18px}
.overview-airfields-card-head{cursor:pointer;transition:background .18s ease,border-color .18s ease}
.overview-airfields-card-head:hover{background:rgba(232,241,252,.72)}
.overview-airfields-card-head:focus-visible{outline:2px solid rgba(47,99,168,.34);outline-offset:2px}
.overview-airfields-card-head .month-nav,.overview-airfields-card-head .month-nav *{cursor:auto}
.card-head-block{min-width:0}
.card-head-note{justify-self:end;text-align:right}
.overview-airfields-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.overview-airfields-collapse{flex:0 0 auto}
.overview-airfields-collapse i{transition:transform .24s ease}
.admin-width-pill-wrap{display:flex;justify-content:flex-end;align-items:center}
.admin-width-pill{white-space:nowrap}
.month-nav{display:flex;align-items:center;justify-content:center;gap:10px;width:100%}
.month-nav--compact{gap:8px;width:auto}
.month-nav--compact .icon-btn{width:42px;height:42px}
.month-nav--compact .month-chip{display:flex;align-items:center;justify-content:center;min-width:150px;height:42px;min-height:42px;padding:11px 16px}
.card-body{padding:20px 22px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.section-head h2{margin:0;font-family:var(--fd)}
.section-actions,.inline-actions,.pane-actions{display:flex;gap:10px;flex-wrap:wrap}
.pane-actions{margin-bottom:12px}
.pane-actions-split{align-items:center;justify-content:space-between}
.activity-arrangement-filter-toggle{padding:10px 14px;border:1px solid rgba(23,49,83,.10);border-radius:14px;background:linear-gradient(180deg,#fafdff 0%,#edf5fd 100%);box-shadow:0 10px 24px rgba(15,33,61,.05)}
.stack{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;align-content:start}
.two-col{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:18px;align-items:start}
.divider{height:1px;background:var(--bdr2);margin:6px 0}

/* =========================================================
   Hero / landing-sektion
   ========================================================= */
.hero-card{
  padding:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.96) 0%,rgba(237,243,251,.92) 100%);
}
.hero-overview-shell{height:var(--hero-overview-height,720px);max-height:960px}
.hero-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:0;align-items:stretch;height:100%}
.overview-layout-divider{position:relative;display:flex;align-items:center;justify-content:center;align-self:stretch;cursor:col-resize;touch-action:none;user-select:none;-webkit-user-select:none}
.overview-layout-divider-track{width:2px;height:100%;border-radius:999px;background:linear-gradient(180deg,rgba(118,150,199,.18) 0%,rgba(118,150,199,.5) 14%,rgba(118,150,199,.5) 86%,rgba(118,150,199,.18) 100%)}
.overview-layout-divider-grip{position:absolute;display:inline-flex;align-items:center;justify-content:center;width:18px;height:88px;border-radius:999px;border:1px solid rgba(118,150,199,.28);background:rgba(255,255,255,.96);box-shadow:0 16px 32px -24px rgba(14,35,68,.38);color:#2f63a8;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease}
.overview-layout-divider:hover .overview-layout-divider-grip,.overview-layout-divider:focus-visible .overview-layout-divider-grip,.overview-layout-divider.is-dragging .overview-layout-divider-grip{transform:scale(1.04);border-color:rgba(47,99,168,.42);box-shadow:0 22px 36px -24px rgba(14,35,68,.44);background:#fff}
.overview-layout-divider:focus-visible{outline:none}
.overview-layout-divider.is-dragging .overview-layout-divider-grip{transform:scale(1.06)}
body.is-overview-split-dragging{cursor:col-resize}
.hero-copy{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  min-height:0;
  min-width:0;
  height:100%;
  background:#dfeefc;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)
}
.hero-copy::before,
.hero-copy::after{display:none}
.hero-copy > *{position:relative;z-index:1}
.hero-copy-layout{position:relative;min-height:0;min-width:0;height:100%;padding:0}
.hero-copy-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  min-width:0;
  min-height:0;
  height:100%;
  padding:26px 28px;
  width:min(680px,100%);
  pointer-events:none
}
.hero-copy-content .hero-actions,
.hero-copy-content .hero-actions .btn{pointer-events:auto}
.hero-denmark-map{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
  border-radius:18px;
  overflow:hidden;
  border:none;
  box-shadow:none;
  background:linear-gradient(180deg,#dfeefc 0%,#edf6ff 100%);
  z-index:1
}
.hero-copy .eyebrow{color:#000;text-shadow:none}
.hero-denmark-map .leaflet-tile,
.leaflet-container .leaflet-tile{
  outline:1px solid transparent;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.hero-denmark-map .leaflet-pane,
.hero-denmark-map .leaflet-tile-container{
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
}
.hero-copy-content--map-only{justify-content:space-between}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:0}
.hero-copy .btn.secondary{background:rgba(255,255,255,.92);border-color:rgba(17,37,61,.18);color:#000}
.hero-copy .btn.secondary:hover{background:#fff;border-color:rgba(17,37,61,.28)}

.overview-page-header{width:100%;margin-bottom:18px}
.overview-page-header .hero-combined-head-main{padding:16px 18px;border-color:#cfe1f7;background:linear-gradient(180deg,#f4faff 0%,#e8f2ff 100%)}
.overview-page-header.hero-combined-head h3{color:#c12a2a}
.hero-map-admin-zoom{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:24;display:flex;align-items:center;justify-content:center;width:min(320px,calc(100% - 28px));padding:10px 14px;border-radius:18px;background:rgba(255,255,255,.92);border:1px solid rgba(17,37,61,.12);box-shadow:0 20px 38px -24px rgba(17,37,61,.26);backdrop-filter:blur(10px)}
.hero-map-admin-zoom[hidden]{display:none!important}
.hero-map-zoom-range{width:100%;margin:0}
.hero-map-day-nav{position:absolute;left:50%;right:auto;bottom:14px;transform:translateX(-50%);z-index:24;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:18px;background:transparent;border:none;box-shadow:none;backdrop-filter:none;text-align:center}
.hero-map-base-toggle{position:absolute;top:14px;right:14px;z-index:24;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border-radius:18px;border:1px solid rgba(17,37,61,.12);background:rgba(255,255,255,.92);color:#11253d;box-shadow:0 20px 38px -24px rgba(17,37,61,.26);backdrop-filter:blur(10px);font:inherit;font-weight:700;cursor:pointer;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}
.hero-map-base-toggle:hover{background:#fff;border-color:rgba(17,37,61,.22)}
.hero-map-base-toggle:focus-visible{outline:2px solid rgba(17,37,61,.28);outline-offset:2px}
.hero-map-base-toggle i{font-size:.95rem}
.hero-map-base-toggle[data-mode="satellite"]{background:rgba(17,37,61,.92);border-color:rgba(255,255,255,.18);color:#fff}
.hero-map-day-chip{display:flex;align-items:center;justify-content:center;min-width:0;width:auto;max-width:calc(100vw - 140px);white-space:nowrap;flex:0 1 auto;background:rgba(255,255,255,.98)}
.hero-map-day-nav .icon-btn{width:42px;height:42px;min-height:42px;flex:0 0 42px}
.hero-map-hover-card{position:absolute;z-index:24;min-width:220px;max-width:min(320px,calc(100% - 28px));pointer-events:auto}
.hero-map-hover-card[hidden]{display:none!important}
.push-bell-hover-card{position:fixed;z-index:9999;min-width:220px;max-width:min(320px,calc(100vw - 28px));pointer-events:auto}
.push-bell-hover-card .map-popup{margin:0}
.push-bell-popup{gap:8px}
.push-bell-popup-status{font-weight:700}
@media (hover: none) and (any-hover: none){
  .push-bell-hover-card{display:none!important;pointer-events:none!important}
}
.webapp-help{display:flex;flex-direction:column;gap:16px;color:var(--tx)}
.webapp-help p{margin:0;line-height:1.6}
.webapp-help-section{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.45);border:1px solid rgba(17,37,61,.08)}
.webapp-help-section h4{margin:0;font-family:var(--fd);font-size:1rem;color:#11253d}
.webapp-help-section ol{margin:0;padding-left:20px;display:grid;gap:8px}
.hero-map-airfield-overlay{position:absolute;inset:0;z-index:4;padding:0;display:flex}
.hero-map-airfield-overlay[hidden]{display:none!important}
.hero-copy-layout.is-overlay-active .hero-copy-content,
.hero-copy-layout.is-overlay-active .hero-map-admin-zoom,
.hero-copy-layout.is-overlay-active .hero-map-base-toggle,
.hero-copy-layout.is-overlay-active .hero-map-hover-card{opacity:0;pointer-events:none}
.airfield-card--map-overlay{width:100%;height:100%;border-radius:18px;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}
.airfield-card--map-overlay .airfield-content{min-height:0;overflow:auto}
.airfield-visual-top-actions{position:absolute;top:10px;left:10px;z-index:3;display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:calc(100% - 20px)}
.airfield-visual-toolbar{display:none}
.airfield-visual-month-nav{display:none}
.airfield-overlay-back,.airfield-visual-top-btn{position:relative;z-index:3;display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.94);border-color:rgba(17,37,61,.14);color:#173153}
.airfield-overlay-back:hover,.airfield-visual-top-btn:hover{background:#fff}
.airfield-visual-top-btn.is-active{background:#173153;border-color:#173153;color:#fff;box-shadow:0 14px 28px -20px rgba(17,37,61,.42)}
.airfield-visual-top-btn.is-active:hover{background:#0f2f56;border-color:#0f2f56}
.airfield-card--map-overlay .calendar-widget{align-content:start}
.hero-combined-calendar-card{background:var(--surf2);border:1px solid var(--bdr);border-radius:18px;box-shadow:var(--sh0);padding:0;display:flex;flex-direction:column;gap:0;min-height:0;height:100%;min-width:0;overflow:hidden}
.hero-combined-head{display:flex;flex-direction:column;gap:12px}
.hero-combined-head-main{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0;padding:14px 16px;border:1px solid #d4e7fb;border-radius:16px;background:linear-gradient(180deg,#f5faff 0%,#eaf4ff 100%)}
.hero-combined-title-block{display:flex;flex-direction:column;gap:6px;min-width:0}
.hero-combined-head h3{margin:0;font-family:var(--fd);color:#173153}
.hero-combined-subtitle{margin:0;color:var(--tx2);font-size:.96rem;line-height:1.6;max-width:62ch}
.hero-combined-logo-wrap{display:flex;align-items:flex-start;justify-content:flex-end;flex:0 0 auto}
.hero-combined-logo{display:block;width:min(132px,18vw);height:auto;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(21,49,94,.16))}
.hero-combined-controls{display:none}.hero-combined-controls:empty{display:none}
.combined-calendar-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.combined-calendar-quick-actions--compact{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
.combined-quick-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;padding:8px 12px}
.combined-quick-btn i{font-size:.92rem;line-height:1;flex:0 0 auto}
.combined-quick-btn span{line-height:1.1}
.combined-quick-btn.is-selected{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.combined-quick-btn.is-inactive{background:rgba(236,240,245,.96)!important;border-color:rgba(108,120,140,.28)!important;color:#6d788a!important;box-shadow:none!important}
.combined-create-btn{min-width:0}
.combined-bulk-btn{min-width:0}
.input-color{min-height:48px;padding:6px 8px}
.input-range{padding:0;min-height:48px}
.combined-color-preview{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border-radius:16px;border:1px solid var(--combined-border, rgba(47,99,168,.22));background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,251,255,.88));box-shadow:0 12px 24px -20px rgba(16,34,61,.18)}
.combined-color-preview-chip,.combined-color-preview-badge,.combined-color-preview-marker{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:800;line-height:1;color:var(--combined-text, #173153)}
.combined-color-preview-chip{padding:9px 14px;background:var(--combined-bg, rgba(47,99,168,.14));border:1px solid var(--combined-border, rgba(47,99,168,.22))}
.combined-color-preview-badge{min-width:30px;height:30px;padding:0 10px;background:var(--combined-bg, rgba(47,99,168,.14));border:1px solid var(--combined-border, rgba(47,99,168,.22))}
.combined-color-preview-marker{width:34px;height:34px;color:var(--combined-solid, #2f63a8);font-size:1.28rem}
.hero-combined-calendar-wrap{display:flex;flex:1 1 auto;min-height:0}
.combined-calendar-shell{display:grid;grid-template-rows:auto minmax(0,1fr);flex:1 1 auto;min-height:0;height:100%}
.combined-calendar-visual{height:140px;min-height:140px;align-items:center;justify-content:center;padding:14px 18px}
.combined-calendar-visual::after{background:linear-gradient(180deg,rgba(8,21,39,.04),rgba(8,21,39,.22))}
.combined-calendar-visual-copy{display:flex;align-items:flex-end;justify-content:flex-start;width:100%;max-width:none;gap:14px;flex-wrap:wrap}
.combined-calendar-visual-headline{margin:0;color:#fff;font-family:var(--fb);font-size:1.43rem;font-weight:700;line-height:1.15;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.combined-calendar-month-nav{justify-self:center;margin:0 auto 14px}
.combined-calendar-content .month-nav{width:auto;max-width:100%;margin:0 auto}
.combined-calendar-content .month-chip{background:rgba(255,255,255,.98);border-color:rgba(17,37,61,.12);box-shadow:0 12px 22px -18px rgba(8,21,39,.16)}
.combined-calendar-content .icon-btn{background:rgba(255,255,255,.98);border-color:rgba(17,37,61,.14);color:#173153}
.combined-calendar-content .icon-btn:hover{background:#fff;border-color:rgba(17,37,61,.24)}
.combined-calendar-content{min-height:0;padding-top:16px}
.combined-calendar-content--list{padding-top:18px}
.combined-calendar-actions{margin-bottom:0}
.combined-calendar-grid-wrap{display:flex;flex-direction:column;gap:10px;flex:1 1 auto;min-height:0;overflow:hidden}
.combined-weekdays,.combined-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.combined-weekdays{flex:0 0 auto}
.combined-month-grid{flex:1 1 auto;min-height:0;height:100%;grid-template-rows:repeat(var(--combined-calendar-rows, 6), minmax(0,1fr));align-content:stretch}
.combined-day-cell{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;min-height:0;height:100%;padding:8px;border:1px solid var(--bdr);border-radius:14px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);text-align:left;overflow:hidden;transition:transform .26s ease, box-shadow .26s ease, border-color .26s ease, background .26s ease;animation:combinedDayIntro .32s ease both;animation-delay:calc(var(--combined-day-index, 0) * 14ms);box-shadow:0 10px 22px -20px rgba(16,34,61,.18);box-sizing:border-box}
.combined-day-cell::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg, rgba(76,138,224,.14) 0%, rgba(76,138,224,.06) 42%, rgba(76,138,224,0) 100%);opacity:.42;transition:opacity .26s ease, transform .26s ease;background-size:100% 140%;background-position:0 100%;pointer-events:none}
.combined-day-cell::after{content:"";position:absolute;inset:auto -12% -40% auto;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle, rgba(61,122,214,.24) 0%, rgba(61,122,214,.12) 34%, rgba(61,122,214,0) 74%);opacity:.38;transform:scale(.76);transition:opacity .26s ease, transform .26s ease;pointer-events:none}
.combined-day-cell:not(:disabled){cursor:pointer}
.combined-day-cell:not(.is-empty):hover,.combined-day-cell:not(.is-empty):focus-visible{transform:translateY(-4px) scale(1.01);border-color:#77a4dd;box-shadow:0 24px 42px -24px rgba(16,34,61,.34), 0 0 0 1px rgba(122,171,235,.22);background:linear-gradient(180deg,#fff 0%,#f4f9ff 100%)}
.combined-day-cell:not(.is-empty):hover::before,.combined-day-cell:not(.is-empty):focus-visible::before{opacity:.92;transform:translateY(-2px)}
.combined-day-cell:not(.is-empty):hover::after,.combined-day-cell:not(.is-empty):focus-visible::after{opacity:.88;transform:scale(1.08)}
.combined-day-cell.is-empty{background:transparent;border-style:dashed;min-height:0;animation:none;box-shadow:none}
.combined-day-cell:disabled{cursor:default;opacity:.92}
.combined-day-cell.has-activity{border-color:var(--activity-day-border, #2f9d18);background:var(--activity-day-bg, #40CC1D);box-shadow:0 18px 32px -24px var(--activity-day-shadow, rgba(43,128,24,.34))}
.combined-day-cell.is-today{border:var(--combined-day-today-border-width, 3px) solid var(--activity-day-today-border, #23543a);box-shadow:0 16px 32px -22px rgba(35,84,58,.18)}
.combined-day-cell.is-today::before{opacity:0}
.combined-day-cell.is-today .combined-day-number,.combined-day-cell.has-activity .combined-day-number{color:var(--activity-day-text, #173153)}
.combined-day-cell.is-today:not(.is-empty):hover,.combined-day-cell.is-today:not(.is-empty):focus-visible{background:#fff;border-color:var(--activity-day-today-border, #23543a)}
.combined-day-cell.has-activity.is-today,.combined-day-cell.has-activity.is-today:not(.is-empty):hover,.combined-day-cell.has-activity.is-today:not(.is-empty):focus-visible{background:var(--activity-day-bg, #40CC1D);border-color:var(--activity-day-today-border, #23543a)}
.combined-day-cell.has-activity:not(.is-today):not(.is-empty):hover,.combined-day-cell.has-activity:not(.is-today):not(.is-empty):focus-visible{background:var(--activity-day-hover, #40CC1D);border-color:var(--activity-day-border, #2f9d18);box-shadow:0 24px 38px -24px var(--activity-day-shadow, rgba(43,128,24,.34))}
.combined-day-top{display:flex;align-items:center;justify-content:space-between;align-self:flex-start;gap:8px;flex:0 0 auto;width:100%;max-width:100%}
.combined-day-number{font-weight:800;color:#173153;font-size:.84rem}
.combined-day-badge{display:none;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--pril);color:var(--pri);font-size:.72rem;font-weight:800;box-shadow:0 10px 18px -14px rgba(17,49,94,.42)}
.combined-day-cell.use-aggregate-badge .combined-day-badge{display:inline-flex}
.combined-day-layers{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;align-content:flex-start;gap:5px;min-width:0;min-height:0;overflow:auto;padding-right:1px;margin-top:auto}
.combined-day-cell.use-aggregate-badge .combined-day-layers{display:none}
.activity-date-badge{display:none}
.activity-date-badge-head{display:block;text-align:center}
.activity-date-badge-body{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1 1 auto}

.day-cell.has-date-badge,.combined-day-cell.has-date-badge{padding:0;align-items:stretch;justify-content:stretch;overflow:hidden;background:linear-gradient(180deg,#e5edf8 0%,#d8e2f1 100%);border:1px solid #9db2d1;box-shadow:0 18px 30px -24px rgba(49,85,142,.32)}
.day-cell.has-date-badge::before,.day-cell.has-date-badge::after,.combined-day-cell.has-date-badge::before,.combined-day-cell.has-date-badge::after{display:none}
.day-cell.has-date-badge:hover,.day-cell.has-date-badge:focus-visible,.combined-day-cell.has-date-badge:hover,.combined-day-cell.has-date-badge:focus-visible{transform:translateY(-4px) scale(1.02);background:linear-gradient(180deg,#e7eef9 0%,#dbe4f3 100%);border-color:#889fc3;box-shadow:0 24px 36px -24px rgba(49,85,142,.36)}
.day-cell.has-date-badge .day-top--default,.combined-day-cell.has-date-badge .combined-day-top--default{display:none}
.day-cell.has-date-badge .activity-date-badge,.combined-day-cell.has-date-badge .activity-date-badge{display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;width:100%;height:100%;min-height:100%;background:linear-gradient(180deg,#e4ebf7 0%,#d8e2f1 100%);border-radius:inherit;overflow:hidden}
.day-cell.has-date-badge .activity-date-badge-head,.combined-day-cell.has-date-badge .activity-date-badge-head{display:flex;align-items:center;justify-content:center;min-height:28px;padding:6px 8px;background:linear-gradient(180deg,#4b69d7 0%,#395fc9 100%);color:#fff;font-size:.82rem;font-weight:800;letter-spacing:.16em;line-height:1;text-transform:uppercase}
.day-cell.has-date-badge .activity-date-badge-body,.combined-day-cell.has-date-badge .activity-date-badge-body{padding:8px 8px 10px;background:linear-gradient(180deg,#e2ebf7 0%,#d3dff0 100%)}
.day-cell.has-date-badge .activity-date-badge-number,.combined-day-cell.has-date-badge .activity-date-badge-number{font-family:var(--fb);font-size:clamp(1.7rem,1.75vw,2.15rem);font-weight:800;line-height:1;color:#3553c1}
.day-cell.has-date-badge .activity-date-badge-month,.combined-day-cell.has-date-badge .activity-date-badge-month{margin-top:4px;font-size:.84rem;font-weight:800;letter-spacing:.16em;line-height:1;color:#4b64af;text-transform:uppercase}
.day-cell.has-date-badge .day-stat{right:6px;bottom:6px;z-index:4;min-width:24px;height:24px;padding:0 7px;border:1px solid rgba(57,95,201,.18);background:#fff;color:#3553c1;box-shadow:0 12px 18px -14px rgba(49,85,142,.36)}
.day-cell.has-date-badge .day-stat--combined{background:transparent;border:none;padding:0;box-shadow:none}
.day-cell.has-date-badge .day-stat--combined .combined-layer-user-badge{box-shadow:0 12px 18px -14px rgba(49,85,142,.32)}
.combined-day-cell.has-date-badge{position:relative}
.combined-day-cell.has-date-badge .activity-date-badge{padding-bottom:34px}
.combined-day-cell.has-date-badge .combined-day-layers{position:absolute;left:6px;right:6px;bottom:6px;z-index:4;justify-content:flex-end;gap:4px;overflow:hidden;padding-right:0;margin-top:0}
.combined-day-cell.has-date-badge .combined-day-badge{position:absolute;right:6px;bottom:6px;z-index:5;display:none;background:#fff;color:#3553c1;border:1px solid rgba(57,95,201,.18);box-shadow:0 12px 18px -14px rgba(49,85,142,.32)}
.combined-day-cell.has-date-badge.use-aggregate-badge .combined-day-badge{display:inline-flex}
.combined-day-cell.has-date-badge.use-aggregate-badge .combined-day-layers{display:none}
.combined-day-cell.has-date-badge .combined-layer-user-badge{box-shadow:0 12px 18px -14px rgba(49,85,142,.24)}
.day-cell.has-date-badge.is-today,.combined-day-cell.has-date-badge.is-today{box-shadow:0 18px 32px -22px rgba(35,84,58,.22)}
.day-cell.has-date-badge:not(.has-activity),.combined-day-cell.has-date-badge:not(.has-activity){background:linear-gradient(180deg,#fcfdfe 0%,#f4f7fb 100%);border-color:#dbe3ee;box-shadow:0 10px 18px -22px rgba(89,114,153,.10)}
.day-cell.has-date-badge:not(.has-activity):hover,.day-cell.has-date-badge:not(.has-activity):focus-visible,.combined-day-cell.has-date-badge:not(.has-activity):hover,.combined-day-cell.has-date-badge:not(.has-activity):focus-visible{background:linear-gradient(180deg,#ffffff 0%,#f6f8fc 100%);border-color:#d0d9e6;box-shadow:0 14px 22px -22px rgba(89,114,153,.14)}
.day-cell.has-date-badge:not(.has-activity) .activity-date-badge,.combined-day-cell.has-date-badge:not(.has-activity) .activity-date-badge{background:linear-gradient(180deg,#fbfcfe 0%,#f3f6fb 100%)}
.day-cell.has-date-badge:not(.has-activity) .activity-date-badge-head,.combined-day-cell.has-date-badge:not(.has-activity) .activity-date-badge-head{background:linear-gradient(180deg,#dee5ef 0%,#d0d9e6 100%);color:#78859c}
.day-cell.has-date-badge:not(.has-activity) .activity-date-badge-body,.combined-day-cell.has-date-badge:not(.has-activity) .activity-date-badge-body{background:linear-gradient(180deg,#fafbfd 0%,#f1f5fa 100%)}
.day-cell.has-date-badge:not(.has-activity) .activity-date-badge-number,.combined-day-cell.has-date-badge:not(.has-activity) .activity-date-badge-number{color:#97a3b7}
.day-cell.has-date-badge:not(.has-activity) .activity-date-badge-month,.combined-day-cell.has-date-badge:not(.has-activity) .activity-date-badge-month{color:#a8b3c4}
.day-cell.has-date-badge:not(.has-activity).is-today,.combined-day-cell.has-date-badge:not(.has-activity).is-today{border-color:var(--activity-day-today-border, #23543a);box-shadow:0 18px 32px -22px rgba(35,84,58,.22)}
.combined-layer-pill{display:inline-flex;align-items:center;justify-content:center;min-width:0;padding:0;border-radius:999px;background:transparent;border:none;color:var(--combined-text, #173153);box-shadow:none}
.combined-pill-tooltip,.airfield-day-tooltip{pointer-events:none;max-width:280px;transition:opacity .15s ease;opacity:1}
.combined-pill-tooltip[style*="display: none"],.airfield-day-tooltip[style*="display: none"]{opacity:0}
.pill-tip-activity{display:flex;align-items:center;gap:5px}
.pill-tip-pilots{font-size:.82rem;color:#475569;line-height:1.4;padding-left:2px}
.pill-tip-pilot{padding:1px 0}
.combined-layer-user-badge{display:inline-flex;align-items:center;justify-content:center;min-width:var(--combined-badge-min-width, 22px);height:var(--combined-badge-height, 22px);padding:0 var(--combined-badge-pad-x, 7px);border-radius:999px;background:var(--combined-bg, rgba(47,99,168,.14));border:1px solid var(--combined-border, rgba(47,99,168,.22));color:var(--combined-text, #173153);font-size:var(--combined-badge-font-size, .7rem);font-weight:800;line-height:1;box-shadow:0 10px 18px -16px rgba(16,34,61,.18)}
.combined-calendar-empty{display:grid;place-items:center;width:100%;min-height:240px;padding:20px;border:1px dashed var(--bdr);border-radius:16px;background:#f9fbff;color:var(--tx2);text-align:center}
@keyframes combinedDayIntro{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

.overview-airfields-card{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;transition:grid-template-rows .28s ease, box-shadow .18s ease, border-color .18s ease}
.overview-airfields-card-body{min-height:0;overflow:hidden;transition:opacity .22s ease, transform .22s ease}
.overview-airfields-card.is-collapsed{grid-template-rows:auto 0fr}
.overview-airfields-card.is-collapsed .overview-airfields-card-body{opacity:0;transform:translateY(-8px);pointer-events:none}
.overview-airfields-card.is-collapsed .overview-airfields-collapse i{transform:rotate(0deg)}

/* =========================================================
   Flyvepladser, kortgrid og drag/drop
   ========================================================= */
#overview-airfield-grid,.airfield-grid{display:grid;gap:18px;grid-template-columns:repeat(4,minmax(0,1fr))}
.airfield-card{background:var(--surf2);border:1px solid var(--bdr);border-radius:18px;overflow:hidden;box-shadow:var(--sh0);display:flex;flex-direction:column}
#overview-airfield-grid.is-reorder-enabled .airfield-card{transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease}
#overview-airfield-grid.is-reorder-enabled .airfield-card:hover{box-shadow:0 22px 36px -30px rgba(16,34,61,.28);border-color:#9db8dd}
#overview-airfield-grid.is-dragging-active .airfield-card{transition:none!important}
#overview-airfield-grid.is-dragging-active .airfield-card:hover{box-shadow:var(--sh0);border-color:var(--bdr)}
.airfield-card.is-dragging{
  position:fixed;
  z-index:1200;
  overflow:visible;
  pointer-events:none;
  cursor:grabbing;
  transform:scale(1.02) rotate(.65deg);
  box-shadow:0 34px 64px -34px rgba(8,22,43,.48), 0 18px 36px -26px rgba(13,31,58,.38);
}
.airfield-card.is-settling{transform:scale(1.01) rotate(.15deg)}
body.is-airfield-reordering{user-select:none;cursor:grabbing}
.airfield-drop-slot{
  min-height:0;
  border-radius:18px;
  border:2px dashed rgba(47,99,168,.5);
  background:linear-gradient(180deg, rgba(231,241,255,.96) 0%, rgba(244,249,255,.98) 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.72), 0 22px 34px -30px rgba(47,99,168,.28);
  position:relative;
}
.airfield-drop-slot::before{
  content:"Slip kortet her";
  position:absolute;
  inset:18px auto auto 18px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(47,99,168,.1);
  border:1px solid rgba(47,99,168,.18);
  color:#234b80;
  font-weight:800;
  font-size:.78rem;
  letter-spacing:.02em
}
.airfield-drop-slot::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 42%, rgba(47,99,168,.06) 100%);
}
.airfield-visual{position:relative;isolation:isolate;overflow:hidden;height:140px;min-height:140px;border-bottom:1px solid var(--bdr2);display:flex;align-items:flex-end;justify-content:space-between;padding:14px 18px;gap:16px}
#overview-airfield-grid.is-reorder-enabled .airfield-visual.is-draggable{cursor:grab;touch-action:none}
#overview-airfield-grid.is-reorder-enabled .airfield-visual.is-draggable:hover,
#overview-airfield-grid.is-reorder-enabled .airfield-visual.is-draggable.is-active{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
#overview-airfield-grid.is-reorder-enabled .airfield-visual.is-draggable:active{cursor:grabbing}
.airfield-visual::before{content:"";position:absolute;inset:0;z-index:-2}
.airfield-visual::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,21,39,.04),rgba(8,21,39,.22))}
.airfield-visual.visual-sound::before{background:radial-gradient(circle at 78% 28%, rgba(255,255,255,.58), transparent 18%),radial-gradient(circle at 82% 38%, rgba(255,255,255,.26), transparent 12%),repeating-radial-gradient(circle at 84% 42%, rgba(255,255,255,.22) 0 6px, rgba(255,255,255,0) 7px 15px),linear-gradient(135deg,#8fb7ef 0%,#5a8ed8 46%,#2d5b9b 100%)}
.airfield-visual.visual-castle::before{background:linear-gradient(180deg, rgba(255,255,255,.38), transparent 42%),radial-gradient(circle at 78% 26%, rgba(255,255,255,.3), transparent 20%),linear-gradient(135deg,#b4c9ec 0%,#7da0d8 45%,#3f679f 100%)}
.airfield-visual.visual-dunes::before{background:radial-gradient(circle at 80% 24%, rgba(255,255,255,.42), transparent 18%),linear-gradient(180deg, rgba(255,255,255,.26), transparent 40%),linear-gradient(160deg,#d8e8fb 0%,#8eb8ea 40%,#4d7ab7 100%)}
.airfield-visual.visual-aviation::before{background:radial-gradient(circle at 78% 24%, rgba(255,255,255,.42), transparent 18%),linear-gradient(135deg,#b8d0f1 0%,#7ea8dd 40%,#3f679f 100%)}
.airfield-visual.visual-bridge::before{background:radial-gradient(circle at 80% 24%, rgba(255,255,255,.38), transparent 18%),linear-gradient(180deg, rgba(255,255,255,.18), transparent 40%),linear-gradient(135deg,#c3d6f5 0%,#88a9dd 42%,#4f72a7 100%)}
.airfield-visual.visual-harbor::before{background:radial-gradient(circle at 78% 24%, rgba(255,255,255,.4), transparent 18%),linear-gradient(180deg, rgba(255,255,255,.18), transparent 38%),linear-gradient(135deg,#b7d8ef 0%,#6aa5d1 46%,#2f648f 100%)}
.airfield-visual.visual-forest::before{background:radial-gradient(circle at 78% 24%, rgba(255,255,255,.34), transparent 18%),linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%),linear-gradient(135deg,#c8dfd2 0%,#7db09a 42%,#3d6b58 100%)}
.airfield-visual.visual-tower::before{background:radial-gradient(circle at 78% 24%, rgba(255,255,255,.36), transparent 18%),linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%),linear-gradient(135deg,#d7d9e8 0%,#98a2cf 42%,#5c6599 100%)}
.airfield-visual.airfield-visual--solid::before{background:radial-gradient(circle at 62% 24%, rgba(255,255,255,.36), transparent 18%),radial-gradient(circle at 68% 36%, rgba(255,255,255,.16), transparent 11%),linear-gradient(180deg, rgba(255,255,255,.20), transparent 42%),var(--airfield-visual-color, #5a8ed8)}
.airfield-visual-copy{display:flex;flex-direction:column;justify-content:flex-end;gap:12px;min-width:0;max-width:72%;flex:1 1 auto}
.airfield-visual-side{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:flex-end;align-self:stretch;flex:0 0 auto;min-width:0}
.airfield-logo-link{display:flex;align-items:flex-end;justify-content:flex-end;align-self:flex-end;border-radius:999px;text-decoration:none;cursor:pointer}
.airfield-logo-link:focus-visible{outline:2px solid rgba(255,255,255,.96);outline-offset:4px}
.airfield-logo-frame{display:flex;align-items:center;justify-content:center;align-self:flex-end;max-width:min(42%,180px);min-width:120px;height:120px;min-height:120px;padding:0;border-radius:999px;background:transparent;border:none;box-shadow:none;backdrop-filter:none}
.airfield-logo-frame.is-empty{display:none}
.airfield-logo-image{display:block;max-width:100%;max-height:120px;width:auto;height:120px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(8,21,39,.28))}
.airfield-logo-frame--preview{display:flex}
.visual-copy-block{display:flex;flex-direction:column;gap:4px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.airfield-visual .airfield-name{margin:0;font-family:var(--fb);font-size:1.43rem;font-weight:700;line-height:1.2;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.airfield-content{padding:18px;display:flex;flex-direction:column;gap:14px;flex:1 1 auto;min-height:0}.airfield-content .month-nav{width:auto;max-width:100%;margin:0 auto}.airfield-content .calendar-head{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}.airfield-content .calendar-head .small-muted{text-align:center}
#view-profile .card,#view-profile .subscriptions-preferences-card,#airfields-admin .card,#airfields-admin .overview-airfields-card{width:100%;max-width:none}
#airfields-admin #overview-airfield-grid .airfield-content{background:linear-gradient(180deg,#e8f2ff 0%,#dfeeff 100%);box-shadow:inset 0 0 0 1px rgba(132,169,220,.18)}
.airfield-content .airfield-name{margin:0;font-family:var(--fd);font-size:1.06rem}
.airfield-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%}
.airfield-action-btn{width:100%;justify-content:center;text-align:center}

/* =========================================================
   Kalender, dage og begivenheder
   ========================================================= */
.calendar-widget{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;flex:1 1 auto;min-height:0;height:100%}
.calendar-head{display:flex;justify-content:space-between;align-items:center}
.calendar-label{font-weight:700;color:var(--acc2);font-size:.84rem}
.combined-calendar-title,.combined-calendar-subtitle{font-weight:700;font-size:1.08rem;color:#c12a2a;line-height:1.2}
.weekdays,.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.month-grid{flex:1 1 auto;min-height:0;height:100%;grid-template-rows:repeat(var(--calendar-rows, 6), minmax(0,1fr));align-content:stretch}
.weekday{font-size:.72rem;font-weight:700;text-transform:uppercase;color:var(--txm);text-align:center}
.day-cell{position:relative;overflow:hidden;min-height:0;height:100%;background:#fff;border:1px solid var(--bdr);border-radius:14px;padding:8px 8px 26px;display:flex;flex-direction:column;gap:8px;cursor:pointer;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease}
.day-cell::after{content:"";position:absolute;inset:auto -18% -42% auto;width:72px;height:72px;border-radius:50%;background:radial-gradient(circle, rgba(47,99,168,.16) 0%, rgba(47,99,168,0) 68%);opacity:0;transition:opacity .18s ease, transform .18s ease;transform:scale(.82)}
.day-cell:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 24px 36px -28px rgba(16,34,61,.42);border-color:#8fb0da;background:#fdfefe}
.day-cell:hover::after{opacity:1;transform:scale(1)}
.day-cell.empty{background:transparent;border-style:dashed;cursor:default;padding-bottom:8px}
.day-cell.empty:hover{transform:none;box-shadow:none;border-color:var(--bdr)}
.day-cell.is-today{border:3px solid #23543a;background:#fff;box-shadow:0 14px 28px -22px rgba(35,84,58,.18);box-sizing:border-box}
.day-cell.is-today:hover{border-color:#23543a;background:#fff}
.day-top{display:flex;align-items:flex-start;justify-content:flex-start;gap:4px}
.day-number{font-weight:700;color:var(--acc2);font-size:.84rem}
.day-stat{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--pril);color:var(--pri);font-size:.7rem;font-weight:800;line-height:1;z-index:2}
.day-stat.green{background:var(--activity-badge-bg, #40CC1D);color:var(--activity-badge-text, #111111)}
.day-stat--combined{min-width:0;height:auto;padding:0;background:transparent;border:none;color:var(--combined-text, #173153);box-shadow:none}
.day-stat--combined .combined-layer-user-badge{box-shadow:0 10px 18px -16px rgba(16,34,61,.18)}
.day-names{display:flex;flex-direction:column;gap:2px;font-size:.67rem;color:var(--tx2);line-height:1.3;padding-right:2px}
.day-cell.has-activity{border-color:var(--activity-day-border, #2f9d18);background:var(--activity-day-bg, #40CC1D);box-shadow:0 18px 32px -24px var(--activity-day-shadow, rgba(43,128,24,.34))}
.day-cell.has-activity .day-number{color:var(--activity-day-text, #173153);text-shadow:none}
.day-cell.has-activity .day-stat{background:var(--activity-badge-bg, #40CC1D);color:var(--activity-badge-text, #111111);box-shadow:0 12px 22px -16px var(--activity-day-badge-shadow, rgba(3,66,18,.24))}
.day-cell.has-activity .day-stat--combined{background:transparent;color:var(--combined-text, #173153);box-shadow:none}
.day-cell.has-activity .day-names{color:var(--activity-day-today-border, #23543a);font-weight:600}
.day-cell.has-activity::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,0) 38%,rgba(0,0,0,.04) 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.20)}
.day-cell.has-activity::after{opacity:.4;transform:scale(1.05);background:radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 72%)}
.day-cell.has-activity:hover{border-color:var(--activity-day-border, #2a9415);background:var(--activity-day-hover, #40CC1D);box-shadow:0 24px 38px -24px var(--activity-day-shadow, rgba(43,128,24,.34))}
.day-cell.is-today,.day-cell.has-activity.is-today{border:var(--combined-day-today-border-width, 3px) solid var(--activity-day-today-border, #23543a);box-shadow:0 14px 28px -22px rgba(35,84,58,.18);box-sizing:border-box}
.day-cell.is-today:hover,.day-cell.has-activity.is-today:hover{border-color:var(--activity-day-today-border, #23543a)}
.event-list{display:flex;flex-direction:column;gap:12px}
.event-card{padding:14px;border:1px solid var(--bdr);border-radius:16px;background:#fff;display:flex;flex-direction:column;gap:8px}
.event-card h4{margin:0;font-size:1rem;color:#142b49}
.event-card .meta{font-size:.83rem;color:var(--tx2);display:flex;flex-wrap:wrap;gap:8px 14px}
.names-inline{font-size:.83rem;color:var(--tx2)}
.upcoming-events-shell{display:flex;flex-direction:column;gap:14px;flex:1 1 auto;min-height:0;height:100%}
.upcoming-events-shell--empty{justify-content:flex-start}
.upcoming-events-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid rgba(23,49,83,.10);border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f5faff 100%);box-shadow:0 14px 28px -24px rgba(16,34,61,.18)}
.upcoming-events-summary-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.upcoming-events-summary-copy strong{font-family:var(--fd);font-size:1rem;color:#173153}
.upcoming-events-summary-copy span{color:var(--tx2);line-height:1.5}
.upcoming-events-scroll{display:flex;flex-direction:column;gap:16px;flex:1 1 auto;min-height:0;overflow:auto;padding-right:4px}
.combined-tooltip-section{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(17,37,61,.10)}
.combined-tooltip-section.is-first{margin-top:0;padding-top:0;border-top:none}
.upcoming-events-month-group{display:flex;flex-direction:column;gap:12px}
.upcoming-events-month-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(23,49,83,.10);border-radius:14px;background:rgba(164,208,252,.96);backdrop-filter:blur(10px);box-shadow:0 12px 22px -20px rgba(16,34,61,.18)}
.upcoming-events-month-title{font-family:var(--fd);font-size:1rem;color:#173153}
.upcoming-events-month-count{font-size:.82rem;font-weight:800;letter-spacing:.03em;color:#4b678d}
.upcoming-events-grid{display:flex;flex-direction:column;gap:12px}
.upcoming-event-card{width:100%;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid rgba(23,49,83,.12);border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);text-align:left;cursor:pointer;box-shadow:0 18px 34px -28px rgba(16,34,61,.22);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease}
.upcoming-event-card:hover,.upcoming-event-card:focus-visible{transform:translateY(-3px);border-color:#7aa9df;box-shadow:0 24px 40px -28px rgba(16,34,61,.30);background:linear-gradient(180deg,#ffffff 0%,#f3f8ff 100%)}
.upcoming-event-card:focus-visible{outline:2px solid rgba(47,99,168,.26);outline-offset:2px}
.upcoming-event-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.upcoming-event-club-chip{display:inline-flex;align-items:center;gap:10px;min-width:0;max-width:100%;padding:5px 9px;border-radius:999px;background:var(--combined-bg, rgba(47,99,168,.14));border:1px solid var(--combined-border, rgba(47,99,168,.24));color:var(--combined-text, #173153)}
.upcoming-event-club-logo{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;border-radius:50%;overflow:hidden;background:rgba(255,255,255,.96);box-shadow:inset 0 0 0 1px rgba(17,37,61,.08)}
.upcoming-event-club-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:4px}
.upcoming-event-club-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}
.upcoming-event-signups{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:9px 12px;border-radius:999px;background:#eef5ff;color:#173153;font-size:.82rem;font-weight:800}
.upcoming-event-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.upcoming-event-title-row h4{margin:0;flex:1 1 auto;min-width:0;font-size:1.04rem;line-height:1.35;color:#142b49}
.upcoming-event-schedule{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;flex-wrap:nowrap;color:var(--tx2);font-size:.84rem;line-height:1.5}
.upcoming-event-schedule span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;flex:0 0 auto}
.upcoming-events-empty{display:flex;align-items:center;gap:14px;padding:18px;border:1px dashed #c1d9f2;border-radius:18px;background:linear-gradient(180deg,#f7fbff 0%,#eff6ff 100%);color:#173153}
.upcoming-events-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;background:rgba(47,99,168,.12);color:#1f4f8d;font-size:1.22rem;flex:0 0 auto}
.upcoming-events-empty-copy{display:flex;flex-direction:column;gap:4px}
.upcoming-events-empty-copy strong{font-family:var(--fd);font-size:1rem;color:#173153}
.upcoming-events-empty-copy span{color:var(--tx2);line-height:1.5}

/* =========================================================
   Indstillinger, formularer og checkbox-/præferencelister
   ========================================================= */
.toggle-row{margin-bottom:14px}
.check-row{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--tx2)}
.check-row input{width:18px;height:18px;accent-color:var(--pri)}
.check-row.is-disabled{opacity:.45}
.check-row input:disabled{cursor:not-allowed}

.pref-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch;width:100%}
.pref-item{display:flex;flex-direction:column;gap:0;overflow:hidden;min-width:0;height:100%;width:100%;border:1px solid rgba(23,49,83,.12);border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);box-shadow:0 20px 44px rgba(15,33,61,.08)}
.pref-item-visual-wrap{border-bottom:1px solid rgba(23,49,83,.10)}
.pref-airfield-visual{height:auto;min-height:128px;padding:16px 18px}
.pref-airfield-visual .airfield-logo-frame{max-width:min(40vw,160px);padding:0;border-radius:999px;background:transparent;border:none;box-shadow:none;backdrop-filter:none}
.pref-airfield-visual .airfield-name{font-size:1.28rem}
.pref-airfield-visual .airfield-visual-side,.pref-airfield-visual .airfield-logo-link{justify-content:flex-end}
.pref-airfield-visual .airfield-logo-link{width:100%}
.pref-item-body{display:flex;flex-direction:column;gap:18px;flex:1 1 auto;padding:18px;background:linear-gradient(180deg,#e8f2ff 0%,#dfeeff 100%)}
.pref-item-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.pref-item-name{display:flex;align-items:flex-start;gap:12px;color:var(--tx1)}
.pref-item-name-copy{display:flex;flex-direction:column;gap:4px}
.pref-item-name strong{font-size:1.02rem;line-height:1.3}
.pref-item-subtitle{font-size:.9rem;line-height:1.45;color:var(--tx3);font-weight:500}
.pref-delivery-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.pref-delivery-card{display:flex;flex-direction:column;gap:12px;padding:16px 18px;border:1px solid rgba(23,49,83,.10);border-radius:18px;background:#fff}
.pref-delivery-card--mail{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.pref-delivery-card--push{background:linear-gradient(180deg,#ffffff 0%,#f5faff 100%)}
.pref-delivery-card-head{display:flex;align-items:flex-start;gap:12px}
.pref-delivery-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:rgba(47,99,168,.10);color:#1f4f8d;font-size:1rem;flex:0 0 auto}
.pref-delivery-label{font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#47678f}
.pref-delivery-copy{margin-top:2px;line-height:1.45}
.pref-mail-row,.pref-push-row{padding-left:2px}
.pref-item.mail-disabled .pref-mail-row span,.pref-item.push-disabled .pref-push-row span{color:var(--tx3)}

.subscriptions-card-head{align-items:stretch}
.subscriptions-card-head--stacked{display:flex;flex-direction:column;gap:18px}
.subscriptions-card-head-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.subscriptions-head-copy{display:flex;flex-direction:column;gap:6px}
.subscriptions-head-intro{max-width:820px;line-height:1.6}
.subscriptions-head-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}
.subscriptions-summary-panel{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid rgba(23,49,83,.10);border-radius:18px;background:linear-gradient(180deg,#e8f2ff 0%,#dfeeff 100%)}
.subscriptions-summary-panel--push{background:linear-gradient(180deg,#e6f1ff 0%,#d9ebff 100%)}
.subscriptions-summary-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;background:rgba(47,99,168,.10);color:#1f4f8d;font-size:1rem;flex:0 0 auto}
.subscriptions-summary-copy{display:flex;flex-direction:column;gap:10px;min-width:0;flex:1 1 auto}
.subscriptions-summary-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.subscriptions-summary-label{font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#47678f}
.subscriptions-summary-check{color:var(--tx1)}
.subscriptions-summary-check--push{align-items:center;justify-content:flex-start;flex-wrap:wrap;row-gap:8px;column-gap:10px}
.subscriptions-summary-check-label{display:flex;align-items:center;gap:10px;color:var(--tx1);font-weight:600}
.subscriptions-push-actions{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}
.subscriptions-push-actions--stacked{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px}
.subscriptions-push-help{line-height:1.55}
.subscriptions-bell-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:96px;height:96px;border:none;border-radius:28px;background:rgba(239,68,68,.12);color:#c62828;cursor:pointer;box-shadow:0 12px 28px rgba(15,33,61,.10);transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;flex:0 0 auto}
.subscriptions-bell-toggle-icon{display:block;width:2.55rem;height:2.55rem;flex:0 0 auto;color:currentColor}
.subscriptions-bell-toggle-icon svg{display:block;width:100%;height:100%;fill:currentColor}
.subscriptions-bell-toggle:hover,.subscriptions-bell-toggle:focus-visible{transform:translateY(-1px);box-shadow:0 16px 32px rgba(15,33,61,.14)}
.subscriptions-bell-toggle:focus-visible{outline:2px solid rgba(47,99,168,.24);outline-offset:3px}
.subscriptions-bell-toggle[data-state="active"]{background:rgba(16,185,129,.16);color:#0f766e}
.subscriptions-bell-toggle[data-state="inactive"],.subscriptions-bell-toggle[data-state="denied"],.subscriptions-bell-toggle[data-state="unsupported"]{background:rgba(239,68,68,.12);color:#c62828}
.subscriptions-bell-toggle[data-state="loading"]{background:rgba(245,158,11,.16);color:#9a6700;cursor:progress}
.subscriptions-bell-toggle.is-disabled{opacity:.72;cursor:not-allowed}
.subscriptions-bell-toggle[aria-disabled="true"]{cursor:not-allowed}
.subscriptions-bell-toggle--visual{background:#fff;color:#c62828;box-shadow:0 12px 28px rgba(15,33,61,.12);backdrop-filter:none}
.subscriptions-bell-toggle--visual:hover,.subscriptions-bell-toggle--visual:focus-visible{background:#fff;box-shadow:0 16px 32px rgba(15,33,61,.16)}
.subscriptions-bell-toggle--visual[data-state="active"]{background:#fff;color:#0f766e}
.subscriptions-bell-toggle--visual[data-state="inactive"],.subscriptions-bell-toggle--visual[data-state="denied"],.subscriptions-bell-toggle--visual[data-state="unsupported"]{background:#fff;color:#c62828}
.subscriptions-bell-toggle--visual[data-state="loading"]{background:#fff;color:#9a6700}
.combined-calendar-visual .airfield-visual-side{align-self:center;align-items:center;justify-content:center;flex:0 0 100px;width:100px;height:100px;min-width:100px;padding:0}
.combined-calendar-visual .subscriptions-bell-toggle--visual{width:100px;height:100px;border-radius:28px}
.combined-calendar-visual .subscriptions-bell-toggle--visual .subscriptions-bell-toggle-icon{width:3.2rem;height:3.2rem}
.push-install-guide{display:grid;gap:14px}
.push-install-guide-card{display:grid;gap:10px;padding:16px 18px;border:1px solid rgba(23,49,83,.10);border-radius:18px;background:linear-gradient(180deg,#f6fbff 0%,#eef6ff 100%)}
.push-install-guide-head{display:flex;align-items:center;gap:10px;color:#173153;font-weight:800}
.push-install-guide-head i{font-size:1.05rem;color:#1f4f8d}
.push-install-guide-list{margin:0;padding-left:20px;display:grid;gap:8px;color:var(--tx2)}
.subscriptions-layout{grid-template-columns:minmax(0,860px) minmax(0,1fr);column-gap:18px;row-gap:18px;align-items:start}
.subscriptions-side-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-content:start;min-width:0}
.subscriptions-preferences-card{width:100%;max-width:none;height:auto;justify-self:stretch}
.subscriptions-card-body{display:flex;flex-direction:column;align-items:stretch;width:100%;max-width:none;min-height:0;margin:0}
#preferences-list,.pref-list{width:100%;max-width:100%}
.subscriptions-side-stack>.card,.subscriptions-account-card{width:100%;max-width:none}
.subscriptions-account-card .card-body{width:100%;max-width:none;margin:0}
.profile-account-card{width:100%;max-width:none}
.profile-account-card-body{display:flex;flex-direction:column;gap:18px;padding:18px;background:#fff}
.profile-account-form{display:flex;flex-direction:column;gap:18px}
.profile-account-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.profile-panel-section{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid rgba(23,49,83,.10);border-radius:18px;background:linear-gradient(180deg,#e8f2ff 0%,#dfeeff 100%);box-shadow:0 14px 32px rgba(15,33,61,.05);min-width:0}
.profile-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:nowrap}
.profile-panel-head h4{margin:0;color:#173153;font-size:1.02rem}
.profile-panel-head .small-muted{margin:0;max-width:520px;line-height:1.55}
.profile-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-form-grid--stacked{grid-template-columns:minmax(0,1fr)}
.profile-account-panels .field,.profile-account-panels .input,.profile-account-panels select{min-width:0;max-width:100%}
.profile-account-panels .input-action-field{min-width:0}
.profile-account-panels .input-with-action{min-width:0;padding-right:102px}
.profile-account-actions{justify-content:flex-start;padding-top:2px}
.profile-save-btn{width:auto;min-width:0;display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;flex:0 0 auto}
.profile-news-card{position:relative;overflow:hidden;border:5px solid #c92121;background:#fff;box-shadow:0 14px 32px rgba(15,33,61,.05)}
.profile-news-card.is-active{border-color:#c92121;box-shadow:0 14px 32px rgba(15,33,61,.05)}
.profile-news-card.is-editing{border-color:#c92121;box-shadow:0 14px 32px rgba(15,33,61,.05)}
.profile-news-card-body{position:relative;padding-left:22px;display:flex;flex-direction:column;gap:16px}
.profile-news-head-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.profile-news-head-copy h3{margin:0}
.profile-news-head-intro{margin:0;max-width:780px;line-height:1.6}
.profile-news-display{display:flex;flex-direction:column;border:1px solid rgba(17,49,83,.08);border-radius:18px;background:rgba(255,255,255,.86);padding:18px 20px;box-shadow:0 16px 30px rgba(15,33,61,.05);overflow:hidden}
.profile-news-display-content{min-width:0;max-width:100%}
.profile-news-display-content.ql-editor{padding:0;min-height:0;color:var(--tx);font-family:inherit;font-size:1rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.profile-news-display-content.ql-editor > *:first-child{margin-top:0}
.profile-news-display-content.ql-editor > *:last-child{margin-bottom:0}
.profile-news-display-content.ql-editor p{margin:0 0 1em}
.profile-news-display-content.ql-editor ul,.profile-news-display-content.ql-editor ol{margin:.35em 0 1em;padding-left:1.5em}
.profile-news-display-content.ql-editor li{margin:.2em 0}
.profile-news-display-content.ql-editor h1,.profile-news-display-content.ql-editor h2,.profile-news-display-content.ql-editor h3,.profile-news-display-content.ql-editor h4{color:#173153;line-height:1.2}
.profile-news-display-content.ql-editor img{max-width:100%;height:auto;border-radius:14px;display:block;box-shadow:0 18px 34px -26px rgba(17,49,83,.34)}
.profile-news-display-content.ql-editor a{color:var(--pri);font-weight:700;word-break:break-word}
.profile-news-display-content.ql-editor blockquote{margin:0 0 1em;padding:14px 16px;border-left:4px solid rgba(39,118,245,.4);background:rgba(39,118,245,.06);border-radius:0 14px 14px 0;color:#173153}
.profile-news-display-content.ql-editor pre,.profile-news-display-content.ql-editor code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.profile-news-display-content.ql-editor pre{padding:14px 16px;border-radius:14px;background:#10233d;color:#f8fbff;overflow:auto;white-space:pre-wrap}
.profile-news-admin-form{display:flex;flex-direction:column;gap:16px}
.profile-news-admin-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.profile-news-admin-topline .check-row{margin:0}
.profile-news-editor-shell{display:flex;flex-direction:column;gap:0;border:1px solid rgba(17,49,83,.10);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 18px 34px rgba(15,33,61,.06)}
.profile-news-editor-shell .ql-toolbar.ql-snow{border:0;border-bottom:1px solid rgba(17,49,83,.10);background:linear-gradient(180deg,#fafdff 0%,#eff5fd 100%);padding:10px 12px}
.profile-news-editor-shell .ql-container.ql-snow{border:0;font-family:inherit}
.profile-news-editor-shell .ql-editor{min-height:300px;font-family:inherit;font-size:1rem;line-height:1.7;color:var(--tx);padding:18px 18px 20px}
.profile-news-editor-shell .ql-editor.ql-blank::before{left:18px;right:18px;color:#6c7f96;font-style:normal}
.profile-news-editor-shell .ql-formats{margin-right:10px}
.profile-news-editor-shell .ql-snow .ql-picker{color:#173153}
.profile-news-editor-shell .ql-snow .ql-stroke{stroke:#173153}
.profile-news-editor-shell .ql-snow .ql-fill{fill:#173153}
.profile-news-editor-shell .ql-snow button:hover,.profile-news-editor-shell .ql-snow button:focus,.profile-news-editor-shell .ql-snow .ql-picker-label:hover,.profile-news-editor-shell .ql-snow .ql-picker-label.ql-active,.profile-news-editor-shell .ql-snow .ql-picker-item:hover,.profile-news-editor-shell .ql-snow .ql-picker-item.ql-selected{color:var(--pri)}
.profile-news-editor-shell .ql-snow button:hover .ql-stroke,.profile-news-editor-shell .ql-snow button:focus .ql-stroke,.profile-news-editor-shell .ql-snow button.ql-active .ql-stroke,.profile-news-editor-shell .ql-snow .ql-picker-label:hover .ql-stroke,.profile-news-editor-shell .ql-snow .ql-picker-label.ql-active .ql-stroke{stroke:var(--pri)}
.profile-news-editor-shell .ql-snow button:hover .ql-fill,.profile-news-editor-shell .ql-snow button:focus .ql-fill,.profile-news-editor-shell .ql-snow button.ql-active .ql-fill,.profile-news-editor-shell .ql-snow .ql-picker-label:hover .ql-fill,.profile-news-editor-shell .ql-snow .ql-picker-label.ql-active .ql-fill{fill:var(--pri)}
.profile-news-editor-fallback{min-height:280px;resize:vertical;border:0;border-radius:0;background:#fff}
.profile-news-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.profile-news-empty-note{padding:16px 18px;border-radius:16px;border:1px dashed rgba(39,118,245,.24);background:rgba(255,255,255,.68);color:#425569}
.profile-news-admin-note{line-height:1.55}
.profile-news-actions{justify-content:flex-start;padding-top:4px}
.profile-news-actions .btn{display:inline-flex;align-items:center;gap:8px}
.input-action-field{position:relative;display:flex;align-items:center;width:100%}
.input-with-action{padding-right:102px}
.input-action-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);min-height:36px;padding:8px 12px;border-radius:10px;font-size:.86rem;line-height:1;box-shadow:none}
.profile-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-content:start;max-width:none;width:100%}
.profile-stack>.card{width:100%;max-width:none}
.subscriptions-save-actions{margin-top:0px;padding-top:18px;justify-content:flex-start}

.copy-field{display:flex;gap:10px}
.copy-field input{flex:1}

.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-size:.82rem;font-weight:700;color:var(--acc2)}
.input,.textarea{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--bdr);background:#fff;color:var(--tx);outline:none;transition:var(--t)}
#user-form input[type="email"],#user-form input[type="password"]{background:#fff;color:var(--tx);-webkit-text-fill-color:var(--tx);box-shadow:inset 0 0 0 1000px #fff}
#user-form input[type="email"]:-webkit-autofill,#user-form input[type="email"]:-webkit-autofill:hover,#user-form input[type="email"]:-webkit-autofill:focus,#user-form input[type="password"]:-webkit-autofill,#user-form input[type="password"]:-webkit-autofill:hover,#user-form input[type="password"]:-webkit-autofill:focus{background:#fff;-webkit-text-fill-color:var(--tx);box-shadow:0 0 0 1000px #fff inset;caret-color:var(--tx)}
.input:focus,.textarea:focus{border-color:#7ea8dd;box-shadow:0 0 0 4px rgba(47,99,168,.08)}
.textarea{resize:vertical;min-height:110px}
.field.span-2{grid-column:span 2}
.field.span-3{grid-column:1/-1}
.field.field-compact{gap:4px}
.field-active-toggle{justify-content:flex-end}
.field-active-toggle .check-row{min-height:48px;justify-content:flex-end}

/* =========================================================
   Administration: editor, tabs og tabeller
   ========================================================= */
.modal.modal-airfield-admin{width:min(1280px,94vw);max-height:min(94vh,1040px);overflow:hidden}
.modal.modal-airfield-admin .modal-head{padding:14px 18px}
.modal.modal-airfield-admin .modal-body{padding:14px 18px 16px;overflow:auto}
.airfield-editor{display:flex;flex-direction:column;gap:14px;min-height:100%}
.airfield-editor-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px;align-items:start}
.editor-card{padding:14px;gap:12px;min-height:100%}
.editor-card .detail-card-head{align-items:flex-start;gap:10px}
.editor-card h4{font-size:.96rem}
.admin-toggle-inline{margin-left:auto;white-space:nowrap}
.editor-fields{display:flex;flex-direction:column;gap:10px}
.field-row-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.editor-card .input,
.editor-card .textarea{padding:10px 12px;border-radius:12px}
.textarea-compact{min-height:76px;resize:none}
.editor-card .small-muted{margin-top:2px;font-size:.74rem;line-height:1.35}
.airfield-form-actions{position:sticky;bottom:0;z-index:1;margin-top:auto;padding:14px 0 0;justify-content:flex-end;background:linear-gradient(180deg,rgba(223,240,255,0) 0%,rgba(223,240,255,.94) 20%,#dff0ff 100%);border-top:1px solid rgba(200,222,246,.78)}

.admin-tabs{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px;margin-bottom:18px}
.tab-btn{
  border:1px solid #c9ddf3;
  background:linear-gradient(180deg,#fafdff 0%,#edf5fd 100%);
  padding:14px 12px;
  border-radius:20px;
  font-weight:700;
  color:var(--acc2);
  min-height:92px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  box-shadow:0 10px 22px rgba(39,118,245,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease
}
.tab-btn:hover{transform:translateY(-1px);border-color:#9fc3e6;box-shadow:0 16px 30px rgba(39,118,245,.12)}
.admin-tab-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(39,118,245,.1);color:var(--pri);font-size:1.15rem}
.admin-tab-text{display:block;font-size:.83rem;line-height:1.2}
.tab-btn.active{background:linear-gradient(180deg,#2776f5 0%,#1b56b5 100%);border-color:#1f60ca;color:#fff;box-shadow:0 18px 34px rgba(39,118,245,.24)}
.tab-btn.active .admin-tab-icon{background:rgba(255,255,255,.18);color:#fff}
.admin-pane{display:none}
.admin-pane.active{display:block}

.table-card{overflow:hidden}
.table-wrap{overflow:auto}
.data-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.84rem}
.data-table th,.data-table td{padding:12px 14px;border-bottom:1px solid var(--bdr2);text-align:left;vertical-align:top;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.data-table tbody tr:hover td{background:#fbfdff}
.data-table tbody tr.admin-row-clickable{cursor:pointer}
.data-table tbody tr.admin-row-clickable td:first-child{position:relative}
.data-table tbody tr.admin-row-clickable:hover td{background:#f5faff}
.data-table th{position:relative;background:var(--surf2);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--txm);user-select:none}
.data-table th.sortable{cursor:pointer}
.data-table th.sortable:hover{color:var(--pri)}
.data-table th.sort-asc::after{content:' ↑';color:var(--pri)}
.data-table th.sort-desc::after{content:' ↓';color:var(--pri)}
.data-table td.actions-cell{white-space:normal}
.actions-row{display:flex;gap:8px;flex-wrap:wrap}
.link-btn{border:none;background:none;color:var(--pri);font-weight:700;padding:0}
.link-btn.danger{color:var(--danger)}
.col-resizer{position:absolute;right:0;top:0;width:10px;height:100%;cursor:col-resize}
.col-resizer::after{content:'';position:absolute;left:4px;top:18%;bottom:18%;width:2px;border-radius:2px;background:rgba(0,0,0,.1)}

/* =========================================================
   Modaler, toast og bekræftelser
   ========================================================= */
html.modal-open,body.modal-open{overflow:hidden;overscroll-behavior:none}
body.modal-open{position:fixed;left:0;right:0;width:100%}
.modal-backdrop{position:fixed;inset:0;background:rgba(10,23,45,.52);display:grid;place-items:center;padding:20px;z-index:50;overflow:hidden}
.modal{width:min(720px,100%);max-height:min(90vh,860px);display:flex;flex-direction:column;overflow:hidden;background:#eaf5ff;border-radius:22px;border:1px solid #c8def6;box-shadow:var(--shl)}
.modal.modal-login{width:min(504px,100%)}
.modal.modal-activity{overflow:hidden}
.modal.modal-activity .modal-body{overflow-x:hidden;overscroll-behavior-x:none}
.modal.modal-activity .form-grid,.modal.modal-activity .field{min-width:0}
.modal.modal-activity .input,.modal.modal-activity .textarea,.modal.modal-activity select{max-width:100%;min-width:0}
.modal.modal-activity .temporal-input-shell{display:flex;align-items:stretch;width:100%;max-width:100%;min-width:0;min-height:48px;padding:0;border-radius:12px;border:1px solid var(--bdr);background:#fff;color:var(--tx);outline:none;overflow:hidden;transition:var(--t)}
.modal.modal-activity .temporal-input-shell:focus-within{border-color:#7ea8dd;box-shadow:0 0 0 4px rgba(47,99,168,.08)}
.modal.modal-activity .temporal-input{display:block;flex:1 1 auto;inline-size:100%;width:100%;max-width:100%;min-width:0;min-inline-size:0;min-height:46px;height:100%;padding:12px 14px;margin:0;border:0;border-radius:12px;background:transparent;color:inherit;font:inherit;line-height:normal;outline:none;box-shadow:none}
.modal.modal-activity .temporal-input::-webkit-date-and-time-value{text-align:left}
.modal.modal-activity .temporal-input::-webkit-datetime-edit{display:flex;align-items:center;min-height:22px;padding:0}
.modal.modal-activity .temporal-input::-webkit-datetime-edit-fields-wrapper{display:flex;align-items:center}
.modal.modal-activity .temporal-input::-webkit-calendar-picker-indicator{margin:0 0 0 8px;cursor:pointer}
.modal-head{position:sticky;top:0;background:#dff0ff;border-bottom:1px solid #c8def6;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;z-index:2;flex:0 0 auto}
.modal-head-actions{display:flex;gap:8px;margin-left:auto;margin-right:12px}
.modal-head-actions .btn-sm{padding:7px 14px;font-size:.82rem;border-radius:10px}
.modal-head h3{margin:0;font-family:var(--fd)}
.modal-body{padding:20px 22px;background:#dff0ff;overflow:auto;flex:1 1 auto;min-height:0;-webkit-overflow-scrolling:touch}
.close-btn{border:none;background:none;font-size:1rem;color:var(--txm)}
.close-btn:hover{color:var(--tx)}
.confirm-copy{font-size:1rem;line-height:1.7;color:var(--tx)}
.confirm-actions{justify-content:flex-end}
.toast-wrap{position:fixed;right:18px;bottom:18px;display:flex;flex-direction:column;gap:10px;z-index:60}
.toast{background:#11253d;color:#fff;padding:12px 14px;border-radius:14px;box-shadow:var(--sh);min-width:240px}
.toast.error{background:#8b2333}
.toast.success{background:#11633d}

/* =========================================================
   Detaljekort og informationsvisninger
   ========================================================= */
.detail-stack{display:flex;flex-direction:column;gap:14px}
.detail-card{padding:16px;border:1px solid #c1d9f2;border-radius:16px;background:#dff0ff;display:flex;flex-direction:column;gap:10px}
.detail-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.detail-card-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0}
.detail-card h4{margin:0;font-size:1.02rem;color:#142b49}
.detail-kicker{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--pri)}
.detail-meta{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:.83rem;color:var(--tx2)}
.detail-copy{font-size:.9rem;line-height:1.6;color:var(--tx2)}
.detail-section{display:flex;flex-direction:column;gap:8px}
.detail-label{font-size:.8rem;font-weight:700;color:var(--acc2)}
.detail-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.detail-list li{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:12px;background:#f3f9ff;border:1px solid #cadef5;font-size:.86rem;color:var(--tx2)}
.detail-list li strong{color:#142b49}
.detail-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.detail-list-head-main{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
.detail-list-inline-time{font-size:.83rem;color:var(--tx2)}
.detail-list-head .inline-actions{margin-left:auto;justify-content:flex-end}
.detail-list-head .btn{padding:6px 10px;font-size:.78rem}
.detail-list li em{font-style:normal;color:var(--txm)}
.modal.modal-activity-info{width:min(760px,100%)}
.activity-info-modal-stack{display:flex;flex-direction:column;gap:16px}
.activity-info-hero-card{gap:12px;background:linear-gradient(180deg,#f8fbff 0%,#e8f2ff 100%)}
.activity-info-summary-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.activity-info-stat-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid rgba(23,49,83,.10);border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#eef6ff 100%);box-shadow:0 16px 30px rgba(15,33,61,.05)}
.activity-info-stat-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;background:rgba(47,99,168,.10);color:#1f4f8d;font-size:1.05rem;flex:0 0 auto}
.activity-info-stat-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.activity-info-stat-label{font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#47678f}
.activity-info-stat-value{font-size:1.9rem;line-height:1;color:#173153}
.activity-info-attendees-section{gap:10px}
.activity-info-attendee-list li{background:#f9fcff}
.combined-airfield-day-card-list{display:flex;flex-direction:column;gap:14px}
.combined-airfield-day-card{padding:0;overflow:hidden}
.combined-airfield-day-card .combined-airfield-day-visual{border-bottom:1px solid #c1d9f2}
.combined-airfield-day-card-body{padding:16px;display:flex;flex-direction:column;gap:14px}
.combined-airfield-day-card .detail-stack{gap:14px}
.combined-airfield-day-card--spotlight{border-color:#77a4dd;box-shadow:0 22px 38px -28px rgba(16,34,61,.28),0 0 0 1px rgba(122,169,223,.22)}
.modal.modal-combined-day{width:min(820px,100%)}
.modal.modal-combined-day .modal-body{overflow-x:hidden}
.combined-day-pager{display:flex;flex-direction:column;gap:14px;min-width:0;outline:none}
.combined-day-pager-viewport{overflow:hidden;min-width:0;border-radius:18px;touch-action:pan-y}
.combined-day-pager-track{display:flex;width:100%;transition:transform .28s ease;will-change:transform}
.combined-day-slide{flex:0 0 100%;min-width:0;padding:0 1px}
.combined-day-slide .combined-airfield-day-card{height:100%}
.combined-day-pager-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:2px}
.combined-day-pager-btn{min-width:112px;justify-content:center}
.combined-day-pager-btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.combined-day-pager-dots{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;flex-wrap:wrap}
.combined-day-pager-dot{width:10px;height:10px;padding:0;border-radius:999px;border:1px solid rgba(47,99,168,.45);background:#f3f9ff;box-shadow:0 1px 4px rgba(15,33,61,.08);cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease,width .18s ease}
.combined-day-pager-dot.is-active{width:24px;background:var(--pri);border-color:var(--pri);transform:translateY(-1px)}
.combined-day-pager-counter{text-align:center;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#47678f}

.detail-card--spotlight{border-color:#77a4dd;box-shadow:0 20px 34px -26px rgba(16,34,61,.26),0 0 0 1px rgba(122,169,223,.22);background:linear-gradient(180deg,#e9f5ff 0%,#dff0ff 100%)}
.detail-empty{padding:16px;border:1px dashed #c1d9f2;border-radius:16px;background:#f3f9ff;color:var(--tx2)}
.detail-actions{justify-content:flex-end}

/* =========================================================
   Kort / Leaflet / popup-visninger
   ========================================================= */
.leaflet-popup-content-wrapper,.leaflet-popup-tip{box-shadow:var(--sh)}
.leaflet-container a.leaflet-popup-close-button{color:#35598a}
.jethub-map-marker-icon{background:transparent;border:none}
.hero-denmark-map .leaflet-top.leaflet-right{top:12px;right:12px}
.hero-denmark-map .leaflet-top.leaflet-left{display:none}
.hero-denmark-map .leaflet-control-zoom{border:none;box-shadow:0 14px 28px -18px rgba(11,31,58,.34)}
.hero-denmark-map .leaflet-control-zoom a{width:38px;height:38px;line-height:38px;background:rgba(255,255,255,.96);color:#173153;border-bottom-color:rgba(23,49,83,.12)}
.hero-denmark-map .leaflet-control-attribution{background:rgba(255,255,255,.88)}

.map-popup{min-width:220px;display:flex;flex-direction:column;gap:6px;font-size:.86rem;line-height:1.45;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.96);border:1px solid rgba(17,37,61,.12);box-shadow:0 20px 38px -24px rgba(17,37,61,.38);backdrop-filter:blur(8px)}
.map-popup strong{font-family:var(--fd);font-size:1rem;color:#11253d}
.map-popup a{font-weight:700}
.hero-map-hover-card .map-popup{margin:0}
.jethub-map-tooltip{background:transparent;border:none;box-shadow:none}
.jethub-map-tooltip .leaflet-tooltip-content{margin:0;padding:0;background:transparent;border:none;box-shadow:none}
.jethub-map-tooltip .leaflet-tooltip-tip{display:none}
.jethub-map-tooltip .map-popup{margin:0}

/* =========================================================
   Om Jethub / About
   ========================================================= */
.about-layout{display:flex;flex-direction:column;gap:18px}
.about-hero-card{overflow:hidden;background:radial-gradient(circle at top right, rgba(119,166,230,.18), transparent 26%),linear-gradient(135deg,#fbfdff 0%,#eef5fd 48%,#e5f0fc 100%)}
.about-hero-body{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.9fr);gap:18px;align-items:stretch}
.about-hero-copy{display:flex;flex-direction:column;justify-content:center;gap:14px;min-width:0}
.about-hero-copy h3{margin:0;font-family:var(--fd);font-size:1.7rem;line-height:1.22;color:#173153}
.about-hero-copy p{margin:0;color:var(--tx2);line-height:1.7}
.about-pill-row{display:flex;flex-wrap:wrap;gap:10px}
.about-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;border:1px solid rgba(39,118,245,.14);background:rgba(255,255,255,.78);color:#173153;font-weight:700;box-shadow:0 8px 20px rgba(18,42,78,.06)}
.about-hero-panel{display:grid;gap:12px;background:transparent}
.about-panel-card{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.84);border:1px solid rgba(39,118,245,.12);box-shadow:0 12px 26px rgba(16,31,58,.06)}
.about-panel-card strong{display:block;margin-bottom:4px;color:#173153}
.about-panel-card p{margin:0;color:var(--tx2);line-height:1.55}
.about-panel-icon,
.about-feature-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(180deg,#2776f5 0%,#1b56b5 100%);color:#fff;box-shadow:0 14px 26px rgba(39,118,245,.24)}
.about-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.about-feature-card{background:rgba(255,255,255,.94)}
.about-feature-card .card-body{display:flex;flex-direction:column;gap:12px}
.about-feature-card h3,
.about-story-card h3{margin:0;font-family:var(--fd);color:#173153}
.about-feature-card p{margin:0;color:var(--tx2);line-height:1.65}
.about-story-card{overflow:hidden}
.about-steps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.about-step{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,#fafdff 0%,#eff6fe 100%);border:1px solid rgba(141,177,226,.26)}
.about-step-no{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#173153;color:#fff;font-family:var(--fd);font-weight:700}
.about-step strong{display:block;margin-bottom:4px;color:#173153}
.about-step p{margin:0;color:var(--tx2);line-height:1.6}
.about-logo-panel{align-items:stretch;justify-items:end}
.about-logo-frame{min-height:100%;display:grid;place-items:center end;padding:0;border-radius:24px;background:transparent;border:0;box-shadow:none}
.about-logo-image{display:block;width:min(100%,340px);margin-left:auto;height:auto;object-fit:contain;filter:drop-shadow(0 18px 34px rgba(21,49,94,.18))}

/* =========================================================
   Konto- og kontaktvisninger
   ========================================================= */

@media (prefers-reduced-motion: reduce){
  .day-cell,.day-cell::after,.day-cell.has-activity .day-stat,
  .airfield-card,.airfield-card.is-dragging,.airfield-visual,.airfield-drop-slot{transition:none;animation:none}
}

/* =========================================================
   Responsive regler samlet
   Desktop -> laptop -> tablet -> mobil
   ========================================================= */

/* Store desktopskærme */
@media (max-width: 2040px){
  #overview-airfield-grid,.airfield-grid,.pref-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width: 1280px){
  #overview-airfield-grid,.airfield-grid,.pref-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .airfield-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-tabs{grid-template-columns:repeat(3,minmax(120px,1fr))}
  .hero-combined-head-main{flex-wrap:wrap}
  .overview-page-header{margin-bottom:16px}
  .hero-combined-logo{width:min(132px,34vw)}
  .hero-map-admin-zoom{left:50%;right:auto;width:min(320px,calc(100% - 28px))}
  .combined-calendar-headline{grid-template-columns:1fr;justify-items:start}
  .combined-calendar-headside--right{text-align:left}
  .combined-calendar-month-nav{justify-self:start}
  .combined-calendar-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .two-col{grid-template-columns:1fr}
  .about-hero-body,
  .about-feature-grid,
  .about-steps-grid{grid-template-columns:1fr}
}

@media (max-width: 1180px){
  .profile-account-panels{grid-template-columns:1fr}
}

@media (max-width: 980px){
  .hero-overview-shell{height:auto;max-height:none}
  .hero-overview-grid{grid-template-columns:1fr;gap:18px;height:auto}
  .overview-layout-divider{display:none}
  .hero-copy-content{height:auto}
  .hero-copy,.hero-copy-layout,.hero-denmark-map{min-height:var(--hero-overview-mobile-map-height,100vh);min-height:var(--hero-overview-mobile-map-height,100dvh);height:var(--hero-overview-mobile-map-height,100dvh);max-height:var(--hero-overview-mobile-map-height,100dvh)}
  .hero-combined-calendar-card,
  #combined-calendar-wrap,
  .hero-combined-calendar-wrap,
  .combined-calendar-shell{height:auto;max-height:none!important;overflow:hidden}
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height,
  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height{
    min-height:var(--overview-mobile-card-height, auto);
    height:var(--overview-mobile-card-height, auto);
    max-height:var(--overview-mobile-card-height, none)!important;
  }
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height #combined-calendar-wrap,
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height .hero-combined-calendar-wrap,
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height .combined-calendar-shell,
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height .combined-calendar-content,
  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height .airfield-content,
  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height .calendar-widget{
    min-height:0;
    height:100%;
    max-height:100%;
  }
}

@media (max-width: 980px){
  #overview-airfield-grid,.airfield-grid,.pref-list{grid-template-columns:1fr}
  .subscriptions-card-head-top{flex-direction:column;align-items:stretch}
  .subscriptions-bell-toggle{align-self:flex-end}
  .subscriptions-head-panels{grid-template-columns:1fr}
  #view-profile .subscriptions-card-head-top > .subscriptions-bell-toggle{display:none!important}
  .top-menubar{grid-template-columns:1fr auto auto;grid-template-areas:"brand actions toggle" "nav nav nav";justify-items:stretch;align-items:center;padding:16px}
  .menu-toggle{display:inline-flex;justify-self:end}
  .nav{display:none;grid-template-columns:1fr;justify-content:stretch;gap:8px;padding-top:4px}
  .top-menubar.menu-open .nav{display:grid}
  .nav-link{width:100%;justify-content:flex-start}
  .nav-link.mobile-nav-action{display:flex}
  .mobile-nav-register{order:90}
  .mobile-nav-auth{order:100}
  #mobile-btn-login,
  #mobile-btn-logout{margin-top:6px;padding-top:12px;border-top:1px solid rgba(255,255,255,.15)}
  .menubar-actions{justify-self:end}
  .menubar-actions #btn-login,
  .menubar-actions #btn-logout,
  .menubar-actions #btn-register,
  .menubar-actions #btn-contact-admin{display:none!important}
  .content{padding:16px}
  .form-grid{grid-template-columns:1fr}
  .airfield-editor-grid{grid-template-columns:1fr}
  .admin-toggle-inline{margin-left:0}
  .pane-actions-split{align-items:flex-start}
  .field-row-2{grid-template-columns:1fr}
  .copy-field{flex-direction:column}
  .card-head-month{grid-template-columns:1fr;justify-items:start}
  .month-nav{justify-content:flex-start}
  .combined-calendar-visual-copy{align-items:flex-start}
  .combined-calendar-visual-headline{width:100%}
  .card-head-note{justify-self:start;text-align:left}
  .overview-airfields-head-actions{justify-content:flex-start;flex-wrap:wrap}
  .admin-width-pill-wrap{justify-content:flex-start}
  .detail-card-head{flex-direction:column}
  .detail-actions{justify-content:stretch}
  .about-hero-copy h3{font-size:1.45rem}
}



@media (min-width: 701px){
  .combined-calendar-visual .airfield-visual-side{flex:0 0 64px;width:64px;height:64px;min-width:64px;margin-right:20px}
  .combined-calendar-visual .subscriptions-bell-toggle--visual{width:64px;height:64px;border-radius:20px}
  .combined-calendar-visual .subscriptions-bell-toggle--visual .subscriptions-bell-toggle-icon{width:3.2rem;height:3.2rem}
}

/* Mobil */
@media (max-width: 700px){
  .modal.modal-activity{width:min(100%,100%);max-height:min(92vh,860px)}
  .modal.modal-activity .modal-head{padding:14px 16px}
  .modal.modal-activity .modal-body{padding:14px 16px;overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y}
  .modal.modal-activity #event-form{grid-template-columns:1fr}
  .modal.modal-activity .field,.modal.modal-activity .field.full{grid-column:1/-1;min-width:0}
  .modal.modal-activity .input,.modal.modal-activity .textarea,.modal.modal-activity select{max-width:100%;min-width:0}
  .modal.modal-activity .temporal-input{font-size:16px}
  .modal.modal-combined-day{width:min(100%,100%);max-height:min(92vh,860px)}
  .modal.modal-combined-day .modal-head{padding:14px 16px}
  .modal.modal-combined-day .modal-body{padding:14px 16px;overflow-x:hidden}
  .combined-day-pager{gap:12px}
  .combined-day-pager-viewport{border-radius:16px}
  .combined-day-pager-controls{grid-template-columns:auto minmax(0,1fr) auto;gap:6px;align-items:center}
  .combined-day-pager-btn{width:auto;min-width:74px;padding:7px 9px;font-size:.78rem;line-height:1.1;white-space:nowrap}
  .combined-day-pager-dots{order:0;gap:6px}
  .combined-day-pager-dot{width:9px;height:9px}
  .combined-day-pager-dot.is-active{width:22px}
  .combined-day-slide .combined-airfield-day-card-body{padding:12px}
  .combined-day-slide .detail-card{padding:13px;gap:9px}
  .combined-day-slide .detail-card-head{flex-direction:column;align-items:stretch}
  .combined-day-slide .detail-card-head-actions{justify-content:flex-start}
  html{font-size:17px}
  #view-about .about-logo-panel,
  #view-about .about-logo-frame,
  #view-about .about-logo-image{display:none!important}
  .admin-tabs{grid-template-columns:repeat(2,minmax(120px,1fr))}
  .top-menubar{padding:14px;gap:12px}
  .brand-block{width:100%}
  .brand-logo-link{max-width:100%}
  .brand-logo{max-width:76px;max-height:52px}
  .brand-title{font-size:.92rem;letter-spacing:.1em}
  .brand-subtitle{font-size:.64rem;line-height:1.1}
  .menu-toggle{width:auto}
  .menubar-actions{width:100%;grid-column:1 / 3;justify-self:start}
  .month-nav{width:100%}
  .hero-map-base-toggle{top:12px;right:12px;min-height:38px;padding:9px 12px;border-radius:16px;font-size:.86rem}
  .month-chip{min-width:0;flex:1}
  .month-nav--compact{width:100%}
  .month-nav--compact .icon-btn{height:42px}
  .month-nav--compact .month-chip{min-width:0;flex:1;height:42px;min-height:42px}
  .hero-copy,.hero-copy-layout{min-height:var(--hero-overview-mobile-map-height,100vh);min-height:var(--hero-overview-mobile-map-height,100dvh);height:var(--hero-overview-mobile-map-height,100dvh);max-height:var(--hero-overview-mobile-map-height,100dvh)}
  .hero-copy-content{display:none;padding:18px 18px 20px;width:min(100%,560px);min-height:var(--hero-overview-mobile-map-height,100vh);min-height:var(--hero-overview-mobile-map-height,100dvh);max-height:var(--hero-overview-mobile-map-height,100dvh)}
  .hero-denmark-map{min-height:var(--hero-overview-mobile-map-height,100vh);min-height:var(--hero-overview-mobile-map-height,100dvh);height:var(--hero-overview-mobile-map-height,100dvh);max-height:var(--hero-overview-mobile-map-height,100dvh)}
  .hero-copy h2{font-size:1.4rem}
  .combined-day-cell,.combined-day-cell.is-empty{min-height:0}
  .combined-layer-name{font-size:.68rem}
  .combined-layer-copy{font-size:.64rem}
  .airfield-visual{height:140px;min-height:140px;flex-direction:row;align-items:flex-end}
  .airfield-visual-copy{max-width:100%}
  .airfield-visual-side{width:auto;justify-content:flex-end;align-items:flex-end}
  .airfield-visual-top-actions{gap:8px}
  .airfield-overlay-back,
  .airfield-visual-top-btn{min-width:42px;padding:10px;justify-content:center;gap:0}
  .airfield-overlay-back span,
  .airfield-visual-top-btn span{display:none}
  .combined-calendar-visual .airfield-visual-side{width:100px;height:100px;min-width:100px;align-self:center;align-items:center;justify-content:center;padding:0}
  .combined-calendar-visual .subscriptions-bell-toggle--visual{width:100px;height:100px;border-radius:28px}
  .combined-calendar-visual .subscriptions-bell-toggle--visual .subscriptions-bell-toggle-icon{width:3.2rem;height:3.2rem}
  .airfield-logo-frame{max-width:min(58%,180px)}
  .pref-item-body{padding:16px}
  .pref-airfield-visual{min-height:118px;padding:14px 16px}
  .subscriptions-summary-panel,.pref-delivery-card{padding:14px 16px}
  .subscriptions-bell-toggle{width:96px;height:96px;border-radius:28px}
  .subscriptions-bell-toggle .subscriptions-bell-toggle-icon{width:2.55rem;height:2.55rem}
  .subscriptions-push-actions{align-items:flex-start;justify-content:flex-start}
  .hero-combined-calendar-card,
  #combined-calendar-wrap,
  .hero-combined-calendar-wrap,
  .combined-calendar-shell{overflow:hidden}
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height,
  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height{
    min-height:var(--overview-mobile-card-height, auto);
    height:var(--overview-mobile-card-height, auto);
    max-height:var(--overview-mobile-card-height, none)!important;
    overflow:hidden;
  }
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height #combined-calendar-wrap,
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height .hero-combined-calendar-wrap,
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height .combined-calendar-shell,
  #view-overview .hero-combined-calendar-card.overview-mobile-calendar-card-height .combined-calendar-content,
  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height .airfield-content,
  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height .calendar-widget{
    min-height:0;
    height:100%;
    max-height:100%;
  }
  .combined-day-cell{padding:8px}
  .profile-account-panels{grid-template-columns:1fr}
  .profile-panel-section{padding:16px}
  .profile-panel-head{flex-direction:column;align-items:flex-start}
  .profile-form-grid{grid-template-columns:1fr}
  .profile-news-card-body{padding-left:22px}
  .profile-news-admin-topline,.profile-news-meta{flex-direction:column;align-items:flex-start}
  .profile-news-editor-shell .ql-editor{min-height:240px}
  .copy-field{flex-direction:column}
  .copy-field .btn{width:auto;align-self:flex-start}
  .input-with-action{padding-right:96px}
  .input-action-btn{right:6px;padding:8px 10px}
  .weekdays,.month-grid,.combined-weekdays,.combined-month-grid{gap:6px}
  .day-cell{min-height:0;padding:8px 8px 26px}
  .admin-tabs{grid-template-columns:1fr}
  .settings-grid,.settings-grid--single{grid-template-columns:1fr}
  .settings-calendar-layout{grid-template-columns:1fr}
  .settings-calendar-controls{order:1}
  .settings-calendar-preview-col{order:2}
  .settings-calendar-preview-panel{padding:16px}
  .upcoming-events-summary,.upcoming-events-empty{padding:14px 16px}
  .airfield-content,.combined-calendar-content--list,.upcoming-events-shell,.upcoming-events-scroll,.upcoming-events-grid,.upcoming-event-card{touch-action:pan-y}
  .upcoming-events-scroll{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
  .upcoming-events-month-head{padding:9px 10px}
  .upcoming-event-card{padding:14px}
  .upcoming-event-card-top,.upcoming-event-title-row{flex-direction:column;align-items:flex-start}
  .upcoming-event-signups{align-self:flex-start}
  .upcoming-event-club-chip{max-width:100%}
  .upcoming-event-schedule{align-items:flex-start}
  #table-airfields th:nth-child(2),
  #table-airfields th:nth-child(3),
  #table-airfields th:nth-child(4),
  #table-airfields th:nth-child(5),
  #table-airfields td:nth-child(2),
  #table-airfields td:nth-child(3),
  #table-airfields td:nth-child(4),
  #table-airfields td:nth-child(5),
  #table-users th:nth-child(2),
  #table-users th:nth-child(3),
  #table-users th:nth-child(4),
  #table-users th:nth-child(5),
  #table-users th:nth-child(6),
  #table-users th:nth-child(7),
  #table-users td:nth-child(2),
  #table-users td:nth-child(3),
  #table-users td:nth-child(4),
  #table-users td:nth-child(5),
  #table-users td:nth-child(6),
  #table-users td:nth-child(7),
  #table-admins th:nth-child(2),
  #table-admins th:nth-child(3),
  #table-admins th:nth-child(4),
  #table-admins th:nth-child(5),
  #table-admins th:nth-child(6),
  #table-admins td:nth-child(2),
  #table-admins td:nth-child(3),
  #table-admins td:nth-child(4),
  #table-admins td:nth-child(5),
  #table-admins td:nth-child(6),
  #table-activities th:nth-child(2),
  #table-activities th:nth-child(3),
  #table-activities th:nth-child(4),
  #table-activities th:nth-child(5),
  #table-activities td:nth-child(2),
  #table-activities td:nth-child(3),
  #table-activities td:nth-child(4),
  #table-activities td:nth-child(5){display:none}
  #table-airfields,
  #table-users,
  #table-admins,
  #table-activities{table-layout:auto}
  #table-airfields th,
  #table-airfields td,
  #table-users th,
  #table-users td,
  #table-admins th,
  #table-admins td,
  #table-activities th,
  #table-activities td{white-space:normal}
  #table-airfields th:last-child,
  #table-airfields td:last-child,
  #table-users th:last-child,
  #table-users td:last-child,
  #table-admins th:last-child,
  #table-admins td:last-child,
  #table-activities th:last-child,
  #table-activities td:last-child{width:1%;text-align:right;white-space:nowrap}
  #table-airfields .actions-cell,
  #table-users .actions-cell,
  #table-admins .actions-cell,
  #table-activities .actions-cell{white-space:nowrap}
  #table-airfields .actions-row,
  #table-users .actions-row,
  #table-admins .actions-row,
  #table-activities .actions-row{display:inline-flex;justify-content:flex-end;flex-wrap:nowrap;align-items:center}
  .tab-btn{min-height:82px}
  .combined-calendar-visual-copy{gap:0px}
  .hero-card{padding:0px}
  .hero-combined-calendar-card{padding:0px}
  .hero-overview-grid{gap:18px}

  .hero-overview-shell,
  .hero-overview-grid,
  .hero-combined-calendar-wrap,
  .combined-calendar-shell,
  .combined-calendar-content,
  .airfield-content{
    background:transparent !important;
    box-shadow:none !important;
    border-color:transparent !important;
  }

  .combined-calendar-visual{
    position:relative;
    align-items:stretch;
    justify-content:flex-end;
  }

  .combined-calendar-visual .combined-calendar-visual-copy{
    position:absolute;
    left:18px;
    right:60px;
    bottom:14px;
    width:auto;
    max-width:calc(100% - 78px);
    align-items:flex-end;
    justify-content:flex-start;
  }

  .combined-calendar-visual .combined-calendar-visual-headline{
    width:auto;
    max-width:100%;
  }

  .combined-calendar-visual .airfield-visual-side{
    position:static;
    width:0;
    min-width:0;
    height:0;
    min-height:0;
    align-self:auto;
    display:block;
    padding:0;
    z-index:3;
    flex:0 0 auto;
  }

  .combined-calendar-visual .subscriptions-bell-toggle--visual{
    position:absolute !important;
    right:12px !important;
    bottom:12px !important;
    left:auto !important;
    top:auto !important;
    display:inline-flex;
    width:auto;
    max-width:none;
    height:auto;
    min-height:0;
    flex:0 0 auto;
    margin:0;
    padding:0;
    border-radius:0;
    z-index:4;
  }

  .subscriptions-bell-toggle{
    display:flex;
    width:100%;
    max-width:none;
    height:96px;
    flex:1 1 auto;
  }

  .combined-calendar-visual .subscriptions-bell-toggle--visual,
  .combined-calendar-visual .subscriptions-bell-toggle--visual:hover,
  .combined-calendar-visual .subscriptions-bell-toggle--visual:focus-visible{
    background:transparent !important;
    box-shadow:none !important;
  }

  .combined-calendar-visual .subscriptions-bell-toggle--visual .subscriptions-bell-toggle-icon{
    width:2.2rem;
    height:2.2rem;
  }

  .combined-calendar-visual .subscriptions-bell-toggle--visual[data-state="active"],
  .subscriptions-bell-toggle[data-state="active"]{
    color:#00FF00;
  }

  .combined-calendar-visual .subscriptions-bell-toggle--visual[data-state="inactive"],
  .combined-calendar-visual .subscriptions-bell-toggle--visual[data-state="denied"],
  .combined-calendar-visual .subscriptions-bell-toggle--visual[data-state="unsupported"],
  .subscriptions-bell-toggle[data-state="inactive"],
  .subscriptions-bell-toggle[data-state="denied"],
  .subscriptions-bell-toggle[data-state="unsupported"]{
    color:#FF0000;
  }

  .hero-combined-calendar-card.combined-calendar-list-mobile-flow,
  .hero-combined-calendar-wrap.combined-calendar-list-mobile-flow,
  #combined-calendar-wrap.combined-calendar-list-mobile-flow,
  #combined-calendar-wrap.combined-calendar-list-mobile-flow .combined-calendar-shell,
  #combined-calendar-wrap.combined-calendar-list-mobile-flow .combined-calendar-content,
  #combined-calendar-wrap.combined-calendar-list-mobile-flow .combined-calendar-content--list,
  #combined-calendar-wrap.combined-calendar-list-mobile-flow .upcoming-events-shell,
  #combined-calendar-wrap.combined-calendar-list-mobile-flow .upcoming-events-scroll{
    min-height:0;
    height:auto;
    max-height:none !important;
    overflow:visible;
  }

  #combined-calendar-wrap.combined-calendar-list-mobile-flow .upcoming-events-scroll{
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:auto;
    padding-right:0;
  }

  /* Mobiloptimering af dagskort: hold dato/maaned inde i kortet og skjul tilmeldingsbadges */
  .day-cell.has-date-badge .activity-date-badge-head,
  .combined-day-cell.has-date-badge .activity-date-badge-head{
    min-height:21px;
    padding:3px 4px;
    font-size:.64rem;
    letter-spacing:.10em;
  }

  .day-cell.has-date-badge .activity-date-badge-body,
  .combined-day-cell.has-date-badge .activity-date-badge-body{
    min-height:0;
    padding:4px 4px 5px;
  }

  .day-cell.has-date-badge .activity-date-badge-number,
  .combined-day-cell.has-date-badge .activity-date-badge-number{
    font-size:clamp(1rem, 5.2vw, 1.28rem);
  }

  .day-cell.has-date-badge .activity-date-badge-month,
  .combined-day-cell.has-date-badge .activity-date-badge-month{
    margin-top:1px;
    font-size:.58rem;
    letter-spacing:.10em;
  }

  .day-cell.has-date-badge .day-stat,
  .combined-day-cell.has-date-badge .combined-day-badge,
  .combined-day-cell.has-date-badge .combined-day-layers{
    display:none !important;
  }

  .combined-day-cell.has-date-badge .activity-date-badge{
    padding-bottom:0;
  }

}

.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.settings-grid--single{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.settings-calendar-card-body{padding:18px}
.settings-calendar-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.82fr);gap:18px;align-items:stretch}
.settings-calendar-preview-col{display:flex;flex-direction:column;gap:10px;min-width:0}
.settings-calendar-preview-copy{margin:0;line-height:1.45}
.settings-calendar-preview{min-width:0}
.settings-calendar-preview-panel{padding:18px;border-radius:22px;background:linear-gradient(180deg,#e8f2ff 0%,#dfeeff 100%);box-shadow:inset 0 0 0 1px rgba(132,169,220,.18)}
.settings-calendar-preview-panel .calendar-widget{min-height:100%;height:auto}
.settings-calendar-preview-panel .calendar-head{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}
.settings-calendar-preview-panel .calendar-head .small-muted{text-align:center}
.settings-calendar-preview-panel .month-nav{width:auto;max-width:100%;margin:0 auto}
.settings-calendar-preview-panel .weekdays,.settings-calendar-preview-panel .month-grid{gap:6px}
.settings-calendar-preview-panel .day-cell--preview,.settings-calendar-preview-panel .month-nav,.settings-calendar-preview-panel .month-chip{pointer-events:none}
.settings-calendar-preview-panel .day-cell--preview{cursor:default}
.settings-calendar-preview-panel .day-cell--preview:hover{transform:none;box-shadow:none}
.settings-calendar-controls{display:flex;flex-direction:column;gap:12px;align-content:start;min-height:100%}
.settings-calendar-control-field{padding:12px 14px;border:1px solid rgba(23,49,83,.10);border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%)}
.settings-calendar-control-field .small-muted{line-height:1.45}
.settings-calendar-input-color{min-height:42px;padding:4px 6px}
.settings-calendar-controls .storage-actions{margin-top:auto;padding-top:4px}
.storage-actions{display:flex;justify-content:flex-end}
.storage-actions .btn{width:fit-content;min-width:0;flex:0 0 auto;align-self:flex-end;display:inline-flex;align-items:center;gap:8px}

@media (max-width: 700px){
  #settings-admin .settings-grid,
  #settings-admin .settings-grid--single{grid-template-columns:1fr}
  #settings-admin .settings-calendar-layout{grid-template-columns:1fr}
  #settings-admin .settings-calendar-controls{order:1}
  #settings-admin .settings-calendar-preview-col{order:2}
  #settings-admin .settings-calendar-preview-panel{padding:16px}
}
.jethub-map-marker{position:relative;display:grid;place-items:center;width:42px;height:52px;color:var(--marker-solid, #1d4f89);filter:drop-shadow(0 10px 18px rgba(15,33,61, calc(.18 + (var(--marker-opacity, .22) * .28))))}
.jethub-map-marker::before{content:"";position:absolute;left:50%;top:46%;width:28px;height:28px;transform:translate(-50%,-50%);border-radius:999px;background:var(--marker-bg, rgba(47,99,168,.14));border:1px solid var(--marker-border, rgba(47,99,168,.22));box-shadow:0 8px 18px rgba(14,35,68,.1)}
.jethub-map-marker i{position:relative;z-index:1;font-size:2.4rem;line-height:1;color:var(--marker-solid, #2f63a8)}
.jethub-map-marker-count{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%);min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.96);color:#173153;border:1px solid rgba(17,37,61,.14);display:inline-flex;align-items:center;justify-content:center;font-size:.74rem;font-weight:800;line-height:1;box-shadow:0 8px 18px rgba(14,35,68,.18);z-index:2;pointer-events:none}



/* Small laptop / compact desktop */
@media (min-width: 981px) and (max-height: 920px){
  .top-menubar{padding:10px 18px;gap:14px}
  .brand-logo{max-width:82px;max-height:52px}
  .brand-title{font-size:.95rem;letter-spacing:.11em}
  .brand-subtitle{margin-top:2px;font-size:.64rem;line-height:1.05}
  .nav{gap:6px}
  .nav-link{padding:9px 12px;border-radius:10px;font-size:.85rem}
  .top-menubar .btn,
  .top-menubar .icon-btn,
  .top-menubar .topbar-icon-btn{min-height:38px;height:38px;padding:8px 12px}
  .content{padding:18px;gap:16px}
  .hero-card{padding:14px;border-radius:20px}
  .hero-overview-grid{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}
  .overview-layout-divider-grip{width:16px;height:76px}
  .hero-copy,
  .hero-denmark-map,
  .hero-combined-calendar-card{border-radius:16px}
  .hero-copy-content{padding:18px 20px;width:min(620px,100%)}
  .hero-map-admin-zoom{top:10px;padding:8px 12px;border-radius:14px}
  .hero-map-base-toggle{top:10px;right:10px;min-height:36px;padding:8px 11px;border-radius:14px;font-size:.82rem}
  .hero-map-day-nav{bottom:10px;gap:6px;padding:6px 10px}
  .hero-map-day-nav .icon-btn{width:34px;height:34px;min-height:34px;flex-basis:34px}
  .hero-map-day-chip{min-height:34px;padding:7px 12px;font-size:.84rem}
  #view-overview .airfield-card > .airfield-visual,
  .combined-calendar-visual{height:102px;min-height:102px;padding:11px 13px;gap:11px}
  #view-overview .airfield-card > .airfield-visual .airfield-visual-copy{gap:8px;max-width:calc(100% - 68px)}
  #view-overview .airfield-card > .airfield-visual .airfield-name{font-size:1.12rem;line-height:1.06}
  #view-overview .airfield-card > .airfield-visual .airfield-visual-side{flex:0 0 56px;width:56px;height:56px;min-width:56px;align-self:center;align-items:center;justify-content:center}
  #view-overview .airfield-card > .airfield-visual .airfield-logo-link{align-self:center;justify-content:center}
  #view-overview .airfield-card > .airfield-visual .airfield-logo-frame{width:56px;min-width:56px;max-width:56px;height:56px;min-height:56px}
  #view-overview .airfield-card > .airfield-visual .airfield-logo-image{max-height:56px;height:56px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-top-actions{display:none}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar{position:absolute;top:8px;left:8px;right:8px;z-index:3;display:flex;align-items:center;gap:6px;flex-wrap:nowrap;min-width:0;max-width:calc(100% - 16px)}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar .airfield-visual-top-actions{position:static;left:auto;top:auto;z-index:auto;max-width:none;flex:0 0 auto;gap:6px;flex-wrap:nowrap}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar .airfield-visual-month-nav{display:flex;align-items:center;justify-content:flex-start;gap:6px;flex:0 1 auto;min-width:0;width:auto;max-width:100%;margin:0}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar .airfield-visual-month-nav .icon-btn{width:36px;height:34px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar .airfield-visual-month-nav .month-chip{display:flex;align-items:center;justify-content:center;min-width:124px;height:34px;min-height:34px;padding:7px 10px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-copy{padding-top:20px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-content .calendar-head{display:none}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-content{padding:8px 8px 10px;overflow:hidden}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-content > .calendar-widget{grid-template-rows:auto minmax(0,1fr);gap:6px;align-content:stretch;height:100%;min-height:0}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-content > .calendar-widget .month-grid{height:100%;min-height:0}
  .airfield-visual-top-actions{top:8px;left:8px;gap:6px;max-width:calc(100% - 16px)}
  .airfield-overlay-back,
  .airfield-visual-top-btn{gap:6px;min-height:34px;padding:7px 10px;font-size:.8rem}
  .hero-combined-head-main{padding:12px 14px;gap:12px;border-radius:14px}
  .combined-calendar-visual > .airfield-visual-top-actions{display:none}
  .combined-calendar-visual > .combined-calendar-visual-toolbar{position:absolute;top:8px;left:8px;right:8px;z-index:3;display:flex;align-items:center;gap:6px;flex-wrap:nowrap;min-width:0;max-width:calc(100% - 16px)}
  .combined-calendar-visual > .combined-calendar-visual-toolbar .airfield-visual-top-actions{position:static;left:auto;top:auto;z-index:auto;max-width:none;flex:0 0 auto;gap:6px;flex-wrap:nowrap}
  .combined-calendar-visual > .combined-calendar-visual-toolbar .airfield-visual-month-nav{display:flex;align-items:center;justify-content:flex-start;gap:6px;flex:0 0 auto;min-width:0;width:auto;max-width:100%;margin:0}
  .combined-calendar-visual > .combined-calendar-visual-toolbar .airfield-visual-month-nav .icon-btn{width:36px;height:34px}
  .combined-calendar-visual > .combined-calendar-visual-toolbar .airfield-visual-month-nav .month-chip{display:flex;align-items:center;justify-content:center;min-width:124px;height:34px;min-height:34px;padding:7px 10px}
  .combined-calendar-visual-copy{gap:8px;max-width:calc(100% - 68px);padding-top:20px}
  .combined-calendar-visual-headline{font-size:1.12rem;line-height:1.06}
  .combined-calendar-visual .airfield-visual-side{flex:0 0 56px;width:56px;height:56px;min-width:56px;margin-right:0}
  .combined-calendar-visual .subscriptions-bell-toggle--visual{width:56px;height:56px;border-radius:18px}
  .combined-calendar-visual .subscriptions-bell-toggle--visual .subscriptions-bell-toggle-icon{width:2.1rem;height:2.1rem}
  .combined-calendar-content:not(.combined-calendar-content--list){padding:8px 8px 10px}
  .combined-calendar-content--list{padding-top:12px}
  .combined-calendar-content:not(.combined-calendar-content--list) .combined-calendar-month-nav{display:none}
  .combined-calendar-month-nav{margin:0 auto 10px}
  .month-nav--compact{gap:6px}
  .month-nav--compact .icon-btn{width:38px;height:34px}
  .month-nav--compact .month-chip{min-width:132px;height:34px;min-height:34px;padding:8px 12px}
  .combined-calendar-grid-wrap{gap:8px}
  .combined-weekdays,.combined-month-grid{gap:4px}
  .weekday{font-size:.67rem}
  .combined-day-cell{gap:4px;padding:6px;border-radius:11px;box-shadow:0 8px 16px -18px rgba(16,34,61,.18)}
  .combined-day-top{gap:5px}
  .combined-day-number{font-size:.74rem}
  .combined-day-badge{min-width:20px;height:20px;padding:0 6px;font-size:.64rem}
  .combined-day-layers{gap:3px}
  .combined-layer-user-badge{--combined-badge-min-width:20px;--combined-badge-height:20px;--combined-badge-pad-x:6px;--combined-badge-font-size:.64rem}
  .day-cell.has-date-badge:hover,
  .day-cell.has-date-badge:focus-visible,
  .combined-day-cell:not(.is-empty):hover,
  .combined-day-cell:not(.is-empty):focus-visible,
  .combined-day-cell.has-date-badge:hover,
  .combined-day-cell.has-date-badge:focus-visible{transform:translateY(-1px) scale(1.005)}
  .day-cell.has-date-badge .activity-date-badge-head,
  .combined-day-cell.has-date-badge .activity-date-badge-head{min-height:24px;padding:4px 6px;font-size:.72rem}
  .day-cell.has-date-badge .activity-date-badge-body,
  .combined-day-cell.has-date-badge .activity-date-badge-body{padding:6px 6px 8px}
  .day-cell.has-date-badge .activity-date-badge-number,
  .combined-day-cell.has-date-badge .activity-date-badge-number{font-size:clamp(1.25rem,1.35vw,1.65rem)}
  .day-cell.has-date-badge .activity-date-badge-month,
  .combined-day-cell.has-date-badge .activity-date-badge-month{margin-top:2px;font-size:.72rem}
  .combined-day-cell.has-date-badge .activity-date-badge{padding-bottom:28px}
  .combined-day-cell.has-date-badge .combined-day-layers{left:5px;right:5px;bottom:5px;gap:3px}
  .combined-day-cell.has-date-badge .combined-day-badge{right:5px;bottom:5px;min-width:20px;height:20px;padding:0 6px;font-size:.64rem}
}

@media (min-width: 981px) and (max-height: 840px){
  .brand-subtitle{display:none}
  .top-menubar{padding:9px 16px}
  .content{padding:14px;gap:14px}
  .hero-card{padding:12px}
  .hero-copy-content{padding:16px 18px}
  .hero-map-day-nav{bottom:8px;padding:5px 8px}
  .hero-map-day-nav .icon-btn{width:32px;height:32px;min-height:32px;flex-basis:32px}
  .hero-map-day-chip{min-height:32px;padding:6px 10px;font-size:.8rem}
  #view-overview .airfield-card > .airfield-visual,
  .combined-calendar-visual{height:90px;min-height:90px;padding:9px 11px;gap:10px}
  #view-overview .airfield-card > .airfield-visual .airfield-visual-copy{max-width:calc(100% - 62px)}
  #view-overview .airfield-card > .airfield-visual .airfield-name{font-size:1rem;line-height:1.04}
  #view-overview .airfield-card > .airfield-visual .airfield-visual-side{flex-basis:50px;width:50px;height:50px;min-width:50px}
  #view-overview .airfield-card > .airfield-visual .airfield-logo-frame{width:50px;min-width:50px;max-width:50px;height:50px;min-height:50px}
  #view-overview .airfield-card > .airfield-visual .airfield-logo-image{max-height:50px;height:50px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar{top:7px;left:7px;right:7px;gap:5px;max-width:calc(100% - 14px)}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar .airfield-visual-top-actions{gap:5px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar .airfield-visual-month-nav .icon-btn{width:34px;height:32px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-toolbar .airfield-visual-month-nav .month-chip{min-width:116px;height:32px;min-height:32px;padding:6px 9px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-visual > .airfield-visual-copy{padding-top:18px}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-content{padding:7px 7px 8px;overflow:hidden}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-content > .calendar-widget{grid-template-rows:auto minmax(0,1fr);gap:5px;align-content:stretch;height:100%;min-height:0}
  #view-overview .airfield-card.has-visual-month-nav > .airfield-content > .calendar-widget .month-grid{height:100%;min-height:0}
  .airfield-visual-top-actions{top:7px;left:7px;gap:5px;max-width:calc(100% - 14px)}
  .airfield-overlay-back,
  .airfield-visual-top-btn{min-height:32px;padding:6px 9px;font-size:.77rem}
  .combined-calendar-visual > .combined-calendar-visual-toolbar{top:7px;left:7px;right:7px;gap:5px;max-width:calc(100% - 14px)}
  .combined-calendar-visual > .combined-calendar-visual-toolbar .airfield-visual-top-actions{gap:5px}
  .combined-calendar-visual > .combined-calendar-visual-toolbar .airfield-visual-month-nav .icon-btn{width:34px;height:32px}
  .combined-calendar-visual > .combined-calendar-visual-toolbar .airfield-visual-month-nav .month-chip{min-width:116px;height:32px;min-height:32px;padding:6px 9px}
  .combined-calendar-visual-copy{padding-top:18px}
  .combined-calendar-visual-headline{font-size:1rem;line-height:1.04}
  .combined-calendar-visual .airfield-visual-side{flex-basis:50px;width:50px;height:50px;min-width:50px}
  .combined-calendar-visual .subscriptions-bell-toggle--visual{width:50px;height:50px;border-radius:16px}
  .combined-calendar-visual .subscriptions-bell-toggle--visual .subscriptions-bell-toggle-icon{width:1.85rem;height:1.85rem}
  .combined-calendar-content:not(.combined-calendar-content--list){padding:7px 7px 8px}
  .combined-calendar-month-nav{margin:0 auto 8px}
  .month-nav--compact .icon-btn{width:36px;height:32px}
  .month-nav--compact .month-chip{height:32px;min-height:32px;padding:7px 10px}
  .combined-calendar-grid-wrap{gap:6px}
  .weekday{font-size:.64rem}
  .combined-day-cell{padding:5px;border-radius:10px}
  .combined-day-number{font-size:.7rem}
  .combined-day-badge{min-width:18px;height:18px;padding:0 5px;font-size:.6rem}
  .combined-layer-user-badge{--combined-badge-min-width:18px;--combined-badge-height:18px;--combined-badge-pad-x:5px;--combined-badge-font-size:.6rem}
  .day-cell.has-date-badge .activity-date-badge-head,
  .combined-day-cell.has-date-badge .activity-date-badge-head{min-height:22px;font-size:.67rem}
  .day-cell.has-date-badge .activity-date-badge-number,
  .combined-day-cell.has-date-badge .activity-date-badge-number{font-size:clamp(1.15rem,1.25vw,1.48rem)}
  .day-cell.has-date-badge .activity-date-badge-month,
  .combined-day-cell.has-date-badge .activity-date-badge-month{font-size:.67rem}
  .combined-day-cell.has-date-badge .activity-date-badge{padding-bottom:24px}
}

.overview-mobile-pager-dots{display:none}

@media (max-width: 700px){
  #view-overview .hero-overview-shell{
    position:relative;
    width:100%;
    overflow:hidden;
    padding-bottom:38px;
  }

  #view-overview .hero-overview-grid{
    display:flex;
    grid-template-columns:none!important;
    gap:0!important;
    width:100%;
    height:auto;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    overscroll-behavior-x:contain;
  }

  #view-overview .hero-overview-grid::-webkit-scrollbar{display:none}

  #view-overview .hero-copy,
  #view-overview .hero-combined-calendar-card{
    flex:0 0 100%;
    width:100%;
    min-width:100%;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  #view-overview .overview-layout-divider{display:none!important}

  #view-overview .hero-combined-calendar-card{
    min-height:var(--overview-mobile-card-height,var(--hero-overview-mobile-map-height,100dvh));
    height:var(--overview-mobile-card-height,var(--hero-overview-mobile-map-height,100dvh));
    max-height:var(--overview-mobile-card-height,var(--hero-overview-mobile-map-height,100dvh))!important;
    overflow:hidden;
  }

  #view-overview .hero-combined-calendar-card #combined-calendar-wrap,
  #view-overview .hero-combined-calendar-card .hero-combined-calendar-wrap,
  #view-overview .hero-combined-calendar-card .combined-calendar-shell,
  #view-overview .hero-combined-calendar-card .combined-calendar-content{
    min-height:0;
    height:100%;
    max-height:100%;
  }

  .overview-mobile-pager-dots{
    position:fixed;
    left:50%;
    bottom:calc(10px + env(safe-area-inset-bottom,0px));
    transform:translateX(-50%);
    z-index:1500;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:8px 11px;
    border:1px solid rgba(15,23,42,.14);
    border-radius:999px;
    background:rgba(255,255,255,.86);
    box-shadow:0 10px 28px rgba(15,23,42,.16);
    backdrop-filter:blur(12px);
  }

  .overview-mobile-pager-dot{
    width:8px;
    height:8px;
    min-width:8px;
    min-height:8px;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(15,23,42,.28);
    cursor:pointer;
  }

  .overview-mobile-pager-dot.is-active{
    width:22px;
    background:rgba(15,23,42,.78);
  }

  #view-overview #overview-combined-calendar-card .combined-calendar-content,
  #view-overview #overview-combined-calendar-card .airfield-content,
  #view-overview #overview-combined-calendar-card .combined-month-grid,
  #view-overview #overview-combined-calendar-card .month-grid{
    touch-action:pan-x pan-y;
    overscroll-behavior-x:contain;
  }
}

@media (max-width: 700px){
  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height{
    display:flex;
    flex-direction:column;
  }

  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height > .airfield-visual{
    flex:0 0 auto;
  }

  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height > .airfield-content{
    flex:1 1 auto;
    min-height:0;
    height:auto;
    max-height:none!important;
    overflow:hidden;
  }

  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height > .airfield-content > .calendar-widget{
    min-height:0;
    height:100%;
    max-height:100%;
  }
}

/* Mobile overview: airfield cards must fit their fixed viewport card height.
   The month grid is placed in a 1fr row below the weekday row; height:100%
   on that grid makes it use the full calendar-widget height and overflow below
   the card. Keep combined-calendar unchanged and let only airfield month grids
   stretch inside their allocated grid row. */
@media (max-width: 700px){
  #view-overview #overview-airfield-grid > .airfield-card.overview-mobile-calendar-card-height > .airfield-content > .calendar-widget .month-grid{
    min-height:0 !important;
    height:auto !important;
    max-height:100% !important;
    align-self:stretch;
  }
}
