:root {
    --presura-bg: #f7f5ef;
    --presura-surface: #fffdfa;
    --presura-surface-muted: #f3f0e8;
    --presura-sidebar: #004b46;
    --presura-sidebar-hover: #0b5c56;
    --presura-shell-chrome: rgba(0, 75, 70, 0.88);
    --presura-shell-chrome-solid: #004b46;
    --presura-shell-chrome-border: rgba(255, 255, 255, 0.12);
    --presura-shell-chrome-surface: rgba(255, 255, 255, 0.08);
    --presura-shell-chrome-surface-strong: rgba(255, 255, 255, 0.12);
    --presura-shell-chrome-surface-hover: rgba(255, 255, 255, 0.16);
    --presura-shell-chrome-text: #eef8f5;
    --presura-shell-chrome-text-muted: rgba(238, 248, 245, 0.72);
    --presura-text: #073f3a;
    --presura-text-muted: #58716d;
    --presura-border: #c8d7d2;
    --presura-mint: #dceee8;
    --presura-teal: #21877f;
    --presura-weather-blue: #54b9dc;
    --presura-rain-blue: #159bc4;
    --presura-warning: #eba93a;
    --presura-success: #94d66f;
    --presura-danger: #d95c5c;
    --presura-shadow-soft: 0 18px 40px rgba(7, 63, 58, 0.08);
    --presura-shadow-panel: 0 18px 48px rgba(4, 23, 22, 0.12);
    --presura-radius-lg: 12px;
    --presura-radius-xl: 18px;
    --presura-sidebar-expanded: 188px;
    --presura-sidebar-collapsed: 64px;
    --presura-topbar-height: 60px;
    --presura-mobile-header: 56px;
    --presura-shell-topbar-height: 60px;
    --presura-shell-topbar-bottom: 60px;
    --presura-shell-content-width: 1248px;
    --presura-shell-z-sidebar: 2400;
    --presura-shell-z-topbar: 2450;
    --presura-shell-z-backdrop: 2600;
    --presura-shell-z-drawer: 2700;
    --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
    --font-body: "Segoe UI", system-ui, sans-serif;
}

body[data-theme="night"] {
    --presura-bg: #071716;
    --presura-surface: #0c201e;
    --presura-surface-muted: #0f2523;
    --presura-sidebar: #003f3b;
    --presura-sidebar-hover: #0b5752;
    --presura-shell-chrome: rgba(0, 63, 59, 0.9);
    --presura-shell-chrome-solid: #003f3b;
    --presura-shell-chrome-border: rgba(255, 255, 255, 0.1);
    --presura-shell-chrome-surface: rgba(255, 255, 255, 0.07);
    --presura-shell-chrome-surface-strong: rgba(255, 255, 255, 0.11);
    --presura-shell-chrome-surface-hover: rgba(255, 255, 255, 0.15);
    --presura-shell-chrome-text: #f3f7f6;
    --presura-shell-chrome-text-muted: rgba(243, 247, 246, 0.72);
    --presura-text: #f4f1e8;
    --presura-text-muted: #a8bfba;
    --presura-border: #29433f;
    --presura-mint: #173b37;
    --presura-shadow-soft: 0 20px 48px rgba(0, 0, 0, 0.26);
    --presura-shadow-panel: 0 24px 56px rgba(0, 0, 0, 0.3);
}

html,
body {
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--presura-bg);
    color: var(--presura-text);
}

.presura-shell__skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 5000;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--presura-sidebar);
    color: #fff;
    transform: translateY(-140%);
    transition: transform 0.18s ease;
}

.presura-shell__skip:focus {
    transform: translateY(0);
}

.presura-shell {
    --presura-shell-sidebar-width: var(--presura-sidebar-collapsed);
    min-height: 100dvh;
    color: var(--presura-text);
}

.presura-shell--editorial {
    display: block;
    background:
        radial-gradient(circle at 82% 12%, rgba(84, 185, 220, 0.08), transparent 18%),
        radial-gradient(circle at 12% 18%, rgba(33, 135, 127, 0.05), transparent 22%),
        var(--presura-bg);
}

.presura-shell--workspace {
    background: #071019;
}

.presura-shell.is-sidebar-expanded {
    --presura-shell-sidebar-width: var(--presura-sidebar-expanded);
}

.presura-shell__sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: var(--presura-shell-z-sidebar);
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: var(--presura-shell-sidebar-width);
    height: 100dvh;
    min-height: 0;
    padding: 18px 12px 12px;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--presura-shell-chrome);
    color: var(--presura-shell-chrome-text);
    border-right: 1px solid var(--presura-shell-chrome-border);
    backdrop-filter: blur(18px) saturate(135%);
}

.presura-shell--workspace .presura-shell__sidebar {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.presura-shell__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 4px 4px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.presura-shell__brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.presura-shell__brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.presura-shell__brand-copy strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.presura-shell__brand-copy small {
    color: var(--presura-shell-chrome-text-muted);
    font-size: 0.76rem;
}

.presura-shell:not(.is-sidebar-expanded) .presura-shell__brand-copy,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__group-label,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-label,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__status-card strong,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__status-line,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__status-dot span {
    display: none;
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

.presura-shell.is-sidebar-expanded .presura-shell__brand-copy,
.presura-shell.is-sidebar-expanded .presura-shell__group-label,
.presura-shell.is-sidebar-expanded .presura-shell__nav-label,
.presura-shell.is-sidebar-expanded .presura-shell__status-card strong,
.presura-shell.is-sidebar-expanded .presura-shell__status-line,
.presura-shell.is-sidebar-expanded .presura-shell__status-dot span {
    display: block;
    opacity: 1;
    width: auto;
    overflow: visible;
    pointer-events: auto;
}

.presura-shell__nav {
    display: grid;
    gap: 16px;
    align-content: start;
    flex: 1 1 auto;
}

.presura-shell__nav-group {
    display: grid;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.presura-shell__group-label {
    padding: 0 8px 8px;
    color: rgba(236, 247, 244, 0.64);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.presura-shell__nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #edf7f4;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.presura-shell__nav-link:hover,
.presura-shell__nav-link:focus-visible {
    background: var(--presura-shell-chrome-surface-hover);
    outline: none;
}

.presura-shell__nav-link.is-active {
    background: rgba(84, 185, 220, 0.18);
    color: #fff;
    box-shadow: inset 2px 0 0 var(--presura-weather-blue);
}

.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]::after,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]::before {
    position: absolute;
    top: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]::after {
    content: attr(data-tooltip);
    left: calc(100% + 12px);
    transform: translate3d(-4px, -50%, 0);
    padding: 7px 10px;
    border: 1px solid var(--presura-shell-chrome-border);
    border-radius: 10px;
    background: rgba(4, 20, 19, 0.94);
    color: #f6fbfa;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    z-index: calc(var(--presura-shell-z-sidebar) + 4);
}

.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]::before {
    content: "";
    left: calc(100% + 6px);
    transform: translate3d(-4px, -50%, 0) rotate(45deg);
    width: 10px;
    height: 10px;
    border-left: 1px solid var(--presura-shell-chrome-border);
    border-top: 1px solid var(--presura-shell-chrome-border);
    background: rgba(4, 20, 19, 0.94);
    z-index: calc(var(--presura-shell-z-sidebar) + 3);
}

.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]:hover::after,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]:hover::before,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]:focus-visible::after,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]:focus-visible::before {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
}

.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]:hover::before,
.presura-shell:not(.is-sidebar-expanded) .presura-shell__nav-link[data-tooltip]:focus-visible::before {
    transform: translate3d(0, -50%, 0) rotate(45deg);
}

.presura-shell__nav-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
}

.presura-shell__nav-icon svg,
.presura-shell__utility-icon svg,
.presura-shell__mobile-toggle svg,
.presura-mobile-menu__nav-icon svg,
.presura-mobile-menu__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.presura-shell__nav-label {
    font-size: 0.92rem;
    white-space: nowrap;
}

.presura-shell__status-card {
    margin-top: auto;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.presura-shell__status-card strong {
    font-size: 0.8rem;
}

.presura-shell__status-line {
    color: rgba(236, 247, 244, 0.7);
    font-size: 0.76rem;
}

.presura-shell__status-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(236, 247, 244, 0.82);
    font-size: 0.78rem;
}

.presura-shell__status-dot i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--presura-warning);
}

.presura-shell__status-dot.is-live i {
    background: var(--presura-success);
}

.presura-shell__sidebar-toggle {
    align-self: flex-end;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--presura-shell-chrome-border);
    border-radius: 999px;
    background: var(--presura-shell-chrome-surface);
    color: #fff;
    cursor: pointer;
}

.presura-shell__viewport {
    min-width: 0;
    width: calc(100% - var(--presura-shell-sidebar-width));
    margin-left: var(--presura-shell-sidebar-width);
    overflow-x: clip;
}

.presura-shell--workspace .presura-shell__viewport {
    min-height: 100dvh;
}

.presura-shell--editorial .presura-shell__viewport {
    display: grid;
    grid-template-rows: var(--presura-topbar-height) minmax(0, 1fr);
}

.presura-shell__topbar {
    z-index: var(--presura-shell-z-topbar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--presura-topbar-height);
    padding: 0 24px;
    background: var(--presura-shell-chrome);
    color: var(--presura-shell-chrome-text);
    border-bottom: 1px solid var(--presura-shell-chrome-border);
    backdrop-filter: blur(18px) saturate(135%);
}

body[data-theme="night"] .presura-shell__topbar {
    background: var(--presura-shell-chrome);
}

.presura-shell--workspace .presura-shell__topbar {
    position: fixed;
    top: 0;
    left: var(--presura-shell-sidebar-width);
    right: 0;
    padding-inline: 20px 24px;
    min-height: var(--presura-topbar-height);
    background: var(--presura-shell-chrome);
    box-shadow: 0 12px 28px rgba(3, 26, 24, 0.18);
}

body[data-theme="night"] .presura-shell--workspace .presura-shell__topbar {
    background: var(--presura-shell-chrome);
}

.presura-shell__topbar-left,
.presura-shell__topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.presura-shell__mobile-toggle,
.presura-shell__mobile-brand {
    display: none;
}

.presura-shell__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--presura-shell-chrome-text-muted);
    font-size: 0.9rem;
}

.presura-shell__breadcrumb span[aria-hidden="true"] {
    font-size: 0;
}

.presura-shell__breadcrumb span[aria-hidden="true"]::before {
    content: "\203A";
    font-size: 0.9rem;
}

.presura-shell__breadcrumb strong {
    color: var(--presura-shell-chrome-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.presura-shell__workspace-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.presura-shell__workspace-controls label {
    display: grid;
    gap: 4px;
    min-width: 132px;
}

.presura-shell__workspace-controls span {
    color: var(--presura-shell-chrome-text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.presura-shell__topbar .presura-shell__workspace-controls select,
.presura-shell__topbar .presura-mobile-menu__field select {
    border-color: var(--presura-shell-chrome-border);
    background: var(--presura-shell-chrome-surface);
    color: var(--presura-shell-chrome-text);
}

.presura-shell__workspace-controls select,
.presura-mobile-menu__field select {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--presura-border);
    border-radius: 10px;
    background: var(--presura-surface);
    color: var(--presura-text);
    color-scheme: dark;
    font: inherit;
}

.presura-shell__workspace-controls select option,
.presura-shell__workspace-controls select optgroup,
.presura-mobile-menu__field select option,
.presura-mobile-menu__field select optgroup {
    background: #0b171f;
    color: #eef8f5;
}

.presura-shell__utility,
.presura-shell__utility summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--presura-shell-chrome-border);
    border-radius: 999px;
    background: var(--presura-shell-chrome-surface);
    color: var(--presura-shell-chrome-text);
    cursor: pointer;
}

.presura-shell__utility:hover,
.presura-shell__utility:focus-visible,
.presura-shell__utility summary:hover,
.presura-shell__utility summary:focus-visible {
    background: var(--presura-shell-chrome-surface-hover);
    outline: none;
}

.presura-shell__utility {
    text-decoration: none;
}

.presura-shell__utility summary {
    list-style: none;
}

.presura-shell__utility summary::-webkit-details-marker {
    display: none;
}

.presura-shell__weather-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
    line-height: 1.05;
}

.presura-shell__weather-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--presura-shell-chrome-text);
    white-space: nowrap;
}

.presura-shell__weather-place {
    max-width: 11ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(233, 243, 240, 0.72);
}

.presura-shell__utility-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.presura-shell__utility-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 132px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--presura-shell-chrome-border);
    border-radius: 12px;
    background: rgba(4, 20, 19, 0.96);
    color: var(--presura-shell-chrome-text);
    box-shadow: var(--presura-shadow-panel);
}

.presura-shell__utility--language {
    position: relative;
}

.presura-shell__utility-menu a {
    padding: 8px 10px;
    border-radius: 8px;
}

.presura-shell__utility-menu a:hover,
.presura-shell__utility-menu a:focus-visible {
    background: var(--presura-shell-chrome-surface-hover);
    outline: none;
}

.presura-shell__notifications {
    position: relative;
}

.presura-shell__notifications > summary {
    position: relative;
    list-style: none;
}

.presura-shell__notifications > summary::-webkit-details-marker {
    display: none;
}

.presura-shell__notification-badge,
.presura-mobile-menu__notification-badge {
    display: inline-grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding: 0 5px;
    border: 2px solid var(--presura-shell-chrome);
    border-radius: 999px;
    background: #e64949;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
}

.presura-shell__notification-badge {
    position: absolute;
    top: -7px;
    right: -7px;
}

.presura-mobile-menu__notification-badge {
    margin-left: auto;
}

.presura-shell__notification-badge[hidden],
.presura-mobile-menu__notification-badge[hidden] {
    display: none;
}

.presura-shell__notification-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(390px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid var(--presura-shell-chrome-border);
    border-radius: 14px;
    background: rgba(6, 27, 26, 0.98);
    color: #edf7f4;
    box-shadow: 0 22px 55px rgba(2, 14, 14, 0.34);
    backdrop-filter: blur(20px) saturate(135%);
}

.presura-shell__notification-header,
.presura-shell__notification-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.presura-shell__notification-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.presura-shell__notification-header > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.presura-shell__notification-header strong {
    color: #fff;
    font-size: 0.92rem;
}

.presura-shell__notification-header span {
    overflow: hidden;
    color: rgba(237, 247, 244, 0.68);
    font-size: 0.74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.presura-shell__notification-count {
    flex: 0 0 auto;
    min-width: 28px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(84, 185, 220, 0.15);
    color: #a8e3f5 !important;
    font-weight: 800;
    text-align: center;
}

.presura-shell__notification-list {
    max-height: min(420px, 55vh);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.presura-shell__notification-state {
    margin: 0;
    padding: 24px 16px;
    color: rgba(237, 247, 244, 0.72);
    font-size: 0.84rem;
    text-align: center;
}

.presura-shell__notification-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 16px;
    color: inherit;
    text-decoration: none;
}

.presura-shell__notification-item + .presura-shell__notification-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.presura-shell__notification-item:hover,
.presura-shell__notification-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.presura-shell__notification-tone {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 999px;
    background: #f4c343;
    box-shadow: 0 0 0 4px rgba(244, 195, 67, 0.12);
}

.presura-shell__notification-item[data-severity="severe"] .presura-shell__notification-tone {
    background: #f28c28;
    box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.14);
}

.presura-shell__notification-item[data-severity="extreme"] .presura-shell__notification-tone {
    background: #e64949;
    box-shadow: 0 0 0 4px rgba(230, 73, 73, 0.14);
}

.presura-shell__notification-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.presura-shell__notification-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.presura-shell__notification-copy span {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(237, 247, 244, 0.68);
    font-size: 0.74rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.presura-shell__notification-footer {
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.presura-shell__notification-footer a {
    color: #9edcf0;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.presura-shell__notification-footer a:hover,
.presura-shell__notification-footer a:focus-visible {
    color: #fff;
    outline: none;
}

.presura-shell__content {
    min-width: 0;
}

.presura-shell--editorial .presura-shell__content {
    width: 100%;
    max-width: 100%;
    padding: 28px 32px 44px;
}

.presura-shell__content-main {
    width: min(var(--presura-shell-content-width), 100%);
    margin: 0 auto;
}

.presura-shell--editorial .presura-shell__content .shell {
    width: min(var(--presura-shell-content-width), 100%);
}

.presura-shell--editorial .hero__card,
.presura-shell--editorial .panel,
.presura-shell--editorial .project-card,
.presura-shell--editorial .tile,
.presura-shell--editorial .stack-item {
    border-radius: var(--presura-radius-lg);
    border-color: var(--presura-border);
}

.presura-shell--workspace .presura-shell__content {
    padding-top: var(--presura-topbar-height);
    min-height: 100dvh;
}

.presura-shell--workspace .presura-startbase {
    min-height: calc(100dvh - var(--presura-topbar-height));
}

.presura-shell--workspace .presura-startbase__map-shell {
    min-height: calc(100dvh - var(--presura-topbar-height));
}

.presura-shell--workspace .presura-startbase__map {
    height: calc(100dvh - var(--presura-topbar-height));
}

.presura-shell--workspace .map-powered-by--landing.presura-startbase__credits {
    left: calc(var(--presura-shell-sidebar-width) + 16px);
    right: auto;
    bottom: calc(var(--presura-desktop-timeline-clearance) + 22px);
    z-index: 1320;
}

.presura-shell--workspace .presura-startbase__legend-panel {
    left: calc(var(--presura-shell-sidebar-width) + 16px);
    bottom: calc(var(--presura-desktop-timeline-clearance) + 86px);
}

.presura-shell--workspace .presura-startbase__locate,
.presura-shell--workspace .presura-startbase__home,
.presura-shell--workspace .presura-startbase__station-focus {
    left: auto;
    right: clamp(14px, 1.4vw, 24px);
}

.presura-shell--workspace .presura-startbase__locate {
    top: 92px;
}

.presura-shell--workspace .presura-startbase__home {
    top: 136px;
}

.presura-shell--workspace .presura-startbase__station-focus {
    top: 176px;
}

.presura-shell--workspace .presura-startbase__timeline {
    left: var(--presura-shell-sidebar-width);
    width: auto;
}

.presura-shell--workspace .presura-startbase__map .leaflet-top.leaflet-left {
    left: auto;
    right: clamp(14px, 1.4vw, 24px);
}

.presura-shell--workspace .presura-startbase__map .leaflet-control-zoom {
    margin-top: 224px;
    margin-right: 0;
    margin-left: 0;
}

.presura-shell__backdrop,
.presura-mobile-menu {
    display: none;
}

.presura-mobile-menu__nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1599px) {
    .presura-shell__utility--labeled > span:last-child {
        display: none;
    }
}

@media (max-width: 1279px) {
    .presura-shell--editorial:not(.is-sidebar-expanded) .presura-shell__brand-copy,
    .presura-shell--editorial:not(.is-sidebar-expanded) .presura-shell__group-label,
    .presura-shell--editorial:not(.is-sidebar-expanded) .presura-shell__nav-label,
    .presura-shell--editorial:not(.is-sidebar-expanded) .presura-shell__status-card strong,
    .presura-shell--editorial:not(.is-sidebar-expanded) .presura-shell__status-line,
    .presura-shell--editorial:not(.is-sidebar-expanded) .presura-shell__status-dot span {
        opacity: 0;
        width: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .presura-shell--editorial.is-sidebar-expanded .presura-shell__brand-copy,
    .presura-shell--editorial.is-sidebar-expanded .presura-shell__group-label,
    .presura-shell--editorial.is-sidebar-expanded .presura-shell__nav-label,
    .presura-shell--editorial.is-sidebar-expanded .presura-shell__status-card strong,
    .presura-shell--editorial.is-sidebar-expanded .presura-shell__status-line,
    .presura-shell--editorial.is-sidebar-expanded .presura-shell__status-dot span {
        opacity: 1;
        width: auto;
        overflow: visible;
        pointer-events: auto;
    }

    .presura-shell__workspace-controls {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --presura-shell-mobile-edge: clamp(8px, 2.2vw, 12px);
        --presura-shell-mobile-top-offset: calc(env(safe-area-inset-top, 0px) + clamp(6px, 1.4dvh, 10px));
        --presura-shell-mobile-toggle-size: clamp(40px, 10.5vw, 44px);
        --presura-shell-mobile-drawer-gap: clamp(10px, 2vw, 14px);
    }

    .presura-shell {
        display: block;
    }

    .presura-shell__sidebar {
        display: none;
    }

    .presura-shell__topbar,
    .presura-shell--workspace .presura-shell__topbar {
        position: fixed;
        top: var(--presura-shell-mobile-top-offset);
        left: var(--presura-shell-mobile-edge);
        right: var(--presura-shell-mobile-edge);
        min-height: auto;
        padding: 7px 10px;
        z-index: 2200;
        border: 1px solid var(--presura-shell-chrome-border);
        border-radius: 15px;
        background: var(--presura-shell-chrome);
        box-shadow: 0 14px 28px rgba(3, 26, 24, 0.18);
    }

    .presura-shell__topbar-left {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .presura-shell__topbar-right,
    .presura-shell--workspace .presura-shell__workspace-controls {
        display: none;
    }

    .presura-shell__mobile-toggle,
    .presura-shell__mobile-brand {
        display: inline-flex;
    }

    .presura-shell__mobile-toggle {
        width: var(--presura-shell-mobile-toggle-size);
        height: var(--presura-shell-mobile-toggle-size);
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
        color: #f4f6fb;
        flex: 0 0 var(--presura-shell-mobile-toggle-size);
        order: 2;
        margin-left: auto;
    }

    .presura-shell__mobile-toggle:hover,
    .presura-shell__mobile-toggle:focus-visible {
        background: rgba(255, 255, 255, 0.1);
        outline: none;
    }

    .presura-shell__mobile-brand {
        align-items: center;
        gap: 8px;
        flex: 1 1 auto;
        min-width: 0;
    }

    .presura-shell__mobile-brand-mark {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.96);
        color: var(--presura-sidebar);
        font-family: var(--font-display);
    }

    .presura-shell__mobile-brand-copy {
        display: grid;
        gap: 2px;
    }

    .presura-shell__mobile-brand-copy strong {
        font-size: 0.88rem;
        color: #f5f2ea;
    }
    .presura-shell__mobile-brand-copy small,
    .presura-shell__breadcrumb {
        display: none;
    }

    .presura-shell__utility--weather {
        gap: 6px;
        padding-inline: 10px;
    }

    .presura-shell__weather-copy {
        display: flex;
        align-items: baseline;
        gap: 4px;
    }

    .presura-shell__weather-value {
        font-size: 0.82rem;
    }

    .presura-shell__weather-place {
        max-width: 9ch;
        font-size: 0.62rem;
    }

    .presura-shell__mobile-brand-copy small {
        display: block;
        color: rgba(236, 247, 244, 0.72);
        font-size: 0.58rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .presura-shell--editorial .presura-shell__content {
        padding-top: calc(var(--presura-shell-topbar-bottom, 72px) + 14px);
        padding-inline: 16px;
        padding-bottom: 28px;
    }

    .presura-shell--workspace .presura-shell__content {
        padding-top: 0;
    }

    .presura-shell--workspace .presura-shell__viewport {
        margin-left: 0;
        width: 100%;
    }

    .presura-shell--editorial .presura-shell__viewport {
        margin-left: 0;
        width: 100%;
    }

    .presura-shell--workspace .presura-startbase,
    .presura-shell--workspace .presura-startbase__map-shell,
    .presura-shell--workspace .presura-startbase__map {
        min-height: 100dvh;
        height: 100dvh;
    }

    .presura-shell__backdrop {
        position: fixed;
        inset: 0;
        background: rgba(2, 9, 11, 0.4);
        backdrop-filter: blur(3px);
        z-index: var(--presura-shell-z-backdrop);
    }

    .presura-shell__backdrop.is-visible {
        display: block;
    }

    .presura-mobile-menu {
        display: block;
        position: fixed;
        top: calc(var(--presura-shell-topbar-bottom, 72px) + 12px);
        bottom: calc(env(safe-area-inset-bottom, 0px) + var(--presura-shell-mobile-drawer-gap));
        left: var(--presura-shell-mobile-edge);
        right: auto;
        width: min(340px, calc(100vw - (var(--presura-shell-mobile-edge) * 2)));
        max-height: calc(100dvh - var(--presura-shell-topbar-bottom, 72px) - env(safe-area-inset-bottom, 0px) - (var(--presura-shell-mobile-drawer-gap) * 2));
        padding: 16px 16px calc(env(safe-area-inset-bottom, 0px) + 20px);
        background: var(--presura-sidebar);
        color: #edf7f4;
        z-index: var(--presura-shell-z-drawer);
        overflow-y: auto;
        transform: translateX(calc(-100% - 18px));
        transition: transform 0.22s ease;
        overscroll-behavior: contain;
    }

    .presura-mobile-menu[data-open="true"] {
        transform: translateX(0);
    }

    .presura-mobile-menu__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 14px;
        margin-bottom: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .presura-mobile-menu__close {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .presura-mobile-menu__nav {
        display: grid;
        gap: 6px;
    }

    .presura-mobile-menu__nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 12px;
        color: #edf7f4;
        background: rgba(255, 255, 255, 0.04);
    }

    .presura-mobile-menu__nav a[aria-current="page"] {
        background: rgba(84, 185, 220, 0.16);
    }

    .presura-mobile-menu__about,
    .presura-mobile-menu__settings,
    .presura-mobile-menu__utilities {
        display: grid;
        gap: 10px;
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .presura-mobile-menu__control-grid {
        display: grid;
        gap: 12px;
    }

    .presura-mobile-menu__field {
        display: grid;
        gap: 6px;
    }

    .presura-mobile-menu__field span,
    .presura-mobile-menu__section-title {
        font-size: 0.78rem;
        color: rgba(236, 247, 244, 0.72);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .presura-mobile-menu__utility-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .presura-mobile-menu__utility-btn,
    .presura-mobile-menu__utility-chip {
        min-height: 44px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        color: #edf7f4;
        text-decoration: none;
    }

    .presura-mobile-menu__utility-btn {
        cursor: pointer;
        font: inherit;
        text-align: left;
    }

    .presura-mobile-menu__utility-btn:hover,
    .presura-mobile-menu__utility-btn:focus-visible {
        background: rgba(255, 255, 255, 0.08);
        outline: none;
    }

    .presura-mobile-menu__utility-chip {
        color: rgba(236, 247, 244, 0.82);
    }

    .presura-mobile-menu__language-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .presura-shell--workspace .map-powered-by--landing.presura-startbase__credits {
        left: auto;
        right: var(--presura-shell-mobile-edge);
        bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
        max-width: min(26vw, 112px);
    }

    .presura-shell--workspace .presura-startbase__timeline {
        left: var(--presura-shell-mobile-edge);
        right: var(--presura-shell-mobile-edge);
        width: auto;
    }

    .presura-shell--workspace .presura-startbase__locate,
    .presura-shell--workspace .presura-startbase__home,
    .presura-shell--workspace .presura-startbase__station-focus {
        left: auto;
        right: var(--presura-shell-mobile-edge);
    }

    .presura-shell--workspace .presura-startbase__locate {
        top: calc(var(--presura-shell-topbar-bottom, calc(72px + env(safe-area-inset-top, 0px))) + var(--presura-workspace-mobile-gap, 12px));
    }

    .presura-shell--workspace .presura-startbase__home {
        top: calc(var(--presura-shell-topbar-bottom, calc(72px + env(safe-area-inset-top, 0px))) + var(--presura-workspace-mobile-gap, 12px) + var(--presura-workspace-mobile-control-step, 54px));
    }

    .presura-shell--workspace .presura-startbase__station-focus {
        top: calc(var(--presura-shell-topbar-bottom, calc(72px + env(safe-area-inset-top, 0px))) + var(--presura-workspace-mobile-gap, 12px) + (var(--presura-workspace-mobile-control-step, 54px) * 2));
    }

    .presura-shell--workspace .presura-startbase__map .leaflet-top.leaflet-left {
        top: calc(var(--presura-shell-topbar-bottom, calc(72px + env(safe-area-inset-top, 0px))) + var(--presura-workspace-mobile-gap, 12px) + (var(--presura-workspace-mobile-control-step, 54px) * 3));
        right: var(--presura-shell-mobile-edge);
        left: auto;
    }
}

@media (max-width: 479px) {
    .presura-shell__topbar,
    .presura-shell--workspace .presura-shell__topbar {
        left: var(--presura-shell-mobile-edge);
        right: var(--presura-shell-mobile-edge);
        padding: 8px 9px;
    }

    .presura-shell--editorial .presura-shell__content {
        padding-inline: 12px;
    }

    .presura-shell__mobile-brand-copy strong {
        font-size: 0.82rem;
    }

    .presura-shell__mobile-brand-copy small {
        font-size: 0.54rem;
    }

    .presura-mobile-menu {
        left: var(--presura-shell-mobile-edge);
        width: min(340px, calc(100vw - (var(--presura-shell-mobile-edge) * 2)));
    }

    .presura-mobile-menu__utility-grid,
    .presura-mobile-menu__language-grid {
        grid-template-columns: 1fr 1fr;
    }

    .presura-shell--workspace .presura-startbase__timeline {
        left: var(--presura-shell-mobile-edge);
        right: var(--presura-shell-mobile-edge);
        width: auto;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .presura-shell--workspace .presura-startbase__timeline {
        left: var(--presura-shell-mobile-edge);
        right: var(--presura-shell-mobile-edge);
        width: auto;
    }
}


