:root {
    color-scheme: dark;
    --bg: #040507;
    --bg-soft: #0c1016;
    --panel: rgba(12, 15, 22, 0.88);
    --panel-strong: rgba(18, 22, 32, 0.96);
    --sidebar: #05070a;
    --sidebar-deep: #0b0f15;
    --text: #eef3fb;
    --muted: #9da9bc;
    --border: rgba(141, 162, 190, 0.16);
    --accent: #2ad7c8;
    --accent-strong: #16988f;
    --highlight: #ff9a4d;
    --warning: #ffbf86;
    --success-bg: rgba(19, 72, 66, 0.35);
    --warning-bg: rgba(101, 57, 22, 0.36);
    --chip-bg: rgba(42, 215, 200, 0.14);
    --shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
    min-width: 0;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    color: var(--text);
    font-family: "Segoe UI Variable Text", "Aptos", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at 12% 16%, rgba(42, 215, 200, 0.16), transparent 18%),
        radial-gradient(circle at 88% 8%, rgba(255, 154, 77, 0.18), transparent 18%),
        radial-gradient(circle at 50% 120%, rgba(89, 111, 255, 0.12), transparent 30%),
        linear-gradient(180deg, #030406 0%, #07090d 52%, #0b0f15 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(133, 150, 177, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(133, 150, 177, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.28;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.28) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: "Aptos Display", "Georgia", "Palatino Linotype", serif;
    letter-spacing: 0.015em;
}

p {
    margin: 0;
}

pre {
    margin: 0;
    font-family: Consolas, "Courier New", monospace;
}

.app-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

.shell-sidebar {
    position: relative;
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
        linear-gradient(180deg, rgba(15, 22, 31, 0.96) 0%, rgba(6, 9, 14, 0.98) 100%);
    color: #edf3fb;
    border-bottom: 1px solid rgba(120, 143, 171, 0.14);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

.brand-block {
    display: grid;
    gap: 0.65rem;
}

.sidebar-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 0.65rem;
}

.nav-link {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(120, 143, 171, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(237, 243, 251, 0.84);
    transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(42, 215, 200, 0.14), rgba(255, 154, 77, 0.12));
    border-color: rgba(42, 215, 200, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.sidebar-footer {
    display: grid;
    gap: 0.8rem;
}

.auth-sidebar-note,
.account-summary {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.sidebar-pill,
.ghost-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.86rem;
    border: 1px solid rgba(120, 143, 171, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.ghost-chip {
    border-color: rgba(42, 215, 200, 0.16);
    background: rgba(18, 22, 32, 0.92);
    color: #9cebe5;
}

.shell-main {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
    position: relative;
}

.page-header {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0.25rem 0;
}

.page-header-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.notification-shell {
    position: relative;
}

.notification-shell summary {
    list-style: none;
    cursor: pointer;
}

.notification-shell summary::-webkit-details-marker {
    display: none;
}

.notification-summary {
    user-select: none;
}

.notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 0.32rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--highlight), #d06c26);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.notification-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    width: min(92vw, 360px);
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(141, 162, 190, 0.18);
    background: rgba(8, 11, 17, 0.98);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
    z-index: 40;
}

.notification-panel-head,
.notification-item,
.notification-toast {
    display: grid;
    gap: 0.45rem;
}

.notification-panel-head {
    padding-bottom: 0.2rem;
}

.notification-list {
    display: grid;
    gap: 0.7rem;
}

.notification-item {
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 140ms ease, border-color 140ms ease;
}

.notification-item:hover {
    transform: translateY(-1px);
    border-color: rgba(42, 215, 200, 0.2);
}

.notification-toast-stack {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: min(92vw, 360px);
    display: grid;
    gap: 0.8rem;
    z-index: 60;
    pointer-events: none;
}

.notification-toast {
    position: relative;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(42, 215, 200, 0.22);
    background: rgba(8, 11, 17, 0.96);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    transition: opacity 240ms ease, transform 240ms ease;
}

.notification-toast-priority {
    display: inline-flex;
    width: fit-content;
    padding: 0.26rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.notification-toast-priority.priority-high {
    background: rgba(255, 154, 77, 0.16);
    color: var(--warning);
}

.notification-toast-priority.priority-normal {
    background: rgba(42, 215, 200, 0.12);
    color: #a8f0ea;
}

.notification-toast-hide {
    opacity: 0;
    transform: translateY(10px);
}

.page-header-copy h2 {
    font-size: clamp(2rem, 4vw, 2.85rem);
}

.eyebrow {
    color: var(--highlight);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
}

.small-copy {
    font-size: 0.92rem;
    line-height: 1.55;
}

.status-banner {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    color: var(--text);
}

.status-banner.success {
    background: var(--success-bg);
    border-color: rgba(23, 121, 109, 0.2);
}

.status-banner.warning {
    background: var(--warning-bg);
    border-color: rgba(154, 95, 49, 0.18);
}

.hero-grid,
.stats-grid,
.content-grid,
.action-grid,
.news-grid {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.hero-grid,
.stats-grid,
.action-grid,
.news-grid,
.content-grid {
    grid-template-columns: 1fr;
}

.hero-card,
.panel,
.stat-card,
.action-card,
.article-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-card,
.panel,
.stat-card {
    padding: 1.05rem;
}

.hero-card {
    display: grid;
    gap: 1rem;
    min-height: 100%;
}

.hero-copy {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
}

.summary-list,
.stack-list,
.stack-form,
.panel-subsection,
.note-detail,
.meta-grid,
.meta-block {
    display: grid;
    gap: 0.85rem;
}

.summary-item {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(141, 162, 190, 0.12);
}

.action-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.action-card {
    padding: 1rem;
    display: grid;
    gap: 0.55rem;
    transition: transform 150ms ease, border-color 150ms ease;
}

.action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.22);
}

.action-title {
    font-weight: 700;
    font-size: 1rem;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.compact-stats {
    margin-bottom: 0.25rem;
}

.stat-card {
    display: grid;
    gap: 0.55rem;
}

.stat-card h3 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.stat-label {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.panel-header,
.toolbar,
.job-main,
.action-row,
.split-line,
.alert-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.header-inline-form {
    margin: 0;
}

.toolbar {
    align-items: end;
}

.compact-toolbar {
    margin-top: -0.5rem;
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.85rem;
}

.wide-form {
    width: 100%;
}

.grow-field {
    flex: 1 1 260px;
}

.list-card {
    padding: 0.92rem;
    border-radius: 18px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: var(--panel-strong);
    transition: transform 140ms ease, border-color 140ms ease;
    overflow-wrap: anywhere;
}

.list-card:hover,
.list-card.selected {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.2);
}

.list-card.compact {
    padding: 0.78rem 0.88rem;
}

.list-title {
    font-weight: 700;
    line-height: 1.4;
}

.meta-line {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tag-inline {
    color: var(--accent-strong);
    font-size: 0.9rem;
}

.text-link {
    color: #9cebe5;
    font-weight: 700;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.chip,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(141, 162, 190, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #dbe6f4;
    font-size: 0.86rem;
}

.chip.active {
    background: var(--chip-bg);
    border-color: rgba(42, 215, 200, 0.24);
    color: #a8f0ea;
}

.badge {
    color: #a8f0ea;
}

.badge-new {
    background: rgba(255, 154, 77, 0.16);
    border-color: rgba(255, 154, 77, 0.26);
    color: var(--warning);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 140ms ease, opacity 140ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #1aa59b 100%);
    box-shadow: 0 18px 36px rgba(12, 136, 128, 0.22);
}

.btn-secondary {
    color: #b7f4ef;
    background: rgba(17, 32, 36, 0.92);
    border-color: rgba(42, 215, 200, 0.18);
}

.btn-highlight {
    color: #fff;
    background: linear-gradient(135deg, #ff9a4d 0%, #d06c26 100%);
    box-shadow: 0 18px 36px rgba(176, 92, 30, 0.2);
}

.btn-danger {
    color: #fff;
    background: linear-gradient(135deg, #c33b49 0%, #8f2430 100%);
    box-shadow: 0 18px 36px rgba(109, 25, 36, 0.24);
}

label {
    display: grid;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.94rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(141, 162, 190, 0.16);
    background: rgba(11, 14, 21, 0.96);
    color: var(--text);
    font: inherit;
}

input::placeholder,
textarea::placeholder {
    color: rgba(157, 169, 188, 0.74);
}

textarea {
    resize: vertical;
}

.checkbox-line {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.checkbox-line input {
    width: auto;
}

.module-intro {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.module-intro-grid {
    grid-template-columns: 1fr;
}

.align-start {
    align-items: start;
}

.news-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.article-card {
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(42, 215, 200, 0.18), rgba(255, 154, 77, 0.18));
}

.article-body {
    display: grid;
    gap: 0.78rem;
    padding: 1rem;
}

.embed-frame iframe,
.document-frame {
    width: 100%;
    border: 0;
    border-radius: 18px;
    background: #090d13;
    min-height: 280px;
}

.news-video-player {
    width: 100%;
    display: block;
    border-radius: 18px;
    background: #0f1f24;
    min-height: 280px;
}

.document-preview,
.note-content {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: var(--panel-strong);
    white-space: pre-wrap;
    line-height: 1.65;
    overflow-x: auto;
}

.preview-panel {
    min-height: 0;
}

.notes-layout {
    display: grid;
    gap: 1rem;
}

.job-card {
    display: grid;
    gap: 0.9rem;
}

.jobs-board-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.job-listing-card {
    overflow: hidden;
}

.job-card-body {
    display: grid;
    gap: 0.8rem;
    align-content: start;
    min-height: 100%;
}

.job-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
}

.job-action-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    margin-top: auto;
}

.job-action-grid form,
.job-action-grid a,
.job-action-grid .btn {
    width: 100%;
}

.tool-card {
    align-self: start;
}

.tool-card-active {
    border-color: rgba(23, 121, 109, 0.26);
    box-shadow: 0 24px 48px rgba(17, 35, 41, 0.12);
}

.compact-tool-grid {
    gap: 0.85rem;
}

.tool-intro-chips {
    margin-top: 1rem;
}

.tool-download-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.tool-dock-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
}

.tool-dock-item {
    display: grid;
    gap: 0.4rem;
    justify-items: center;
    align-content: start;
    text-align: center;
    padding: 0.85rem 0.75rem;
    border-radius: 22px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: linear-gradient(180deg, rgba(20, 24, 34, 0.94), rgba(11, 14, 21, 0.98));
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
    min-height: 124px;
}

.tool-dock-item:hover,
.tool-dock-item-active {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.24);
    box-shadow: 0 22px 40px rgba(17, 35, 41, 0.1);
}

.tool-dock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(42, 215, 200, 0.16), rgba(255, 154, 77, 0.2));
    color: #b9f4ef;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tool-dock-label {
    font-weight: 700;
    line-height: 1.3;
    font-size: 0.92rem;
}

.tool-dock-meta {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
    max-width: 15ch;
}

.tool-workspace-panel {
    gap: 1rem;
}

.summary-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.meta-grid {
    grid-template-columns: 1fr;
}

.result-panel {
    align-self: start;
}

.empty-state {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}

.dashboard-hero-shell,
.dashboard-main-grid,
.dashboard-support-grid {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.dashboard-hero-panel {
    display: grid;
    gap: 1.2rem;
    padding: 1.3rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(200, 119, 50, 0.18), transparent 28%),
        linear-gradient(145deg, #17333c 0%, #12272e 100%);
    color: #f8f4ec;
    box-shadow: 0 28px 52px rgba(12, 28, 34, 0.2);
}

.dashboard-hero-kicker {
    color: rgba(248, 244, 236, 0.72);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.dashboard-hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-hero-copyblock {
    display: grid;
    gap: 0.75rem;
    max-width: 720px;
}

.dashboard-hero-copy {
    color: rgba(248, 244, 236, 0.82);
    line-height: 1.7;
}

.dashboard-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.dashboard-hero-badge {
    display: inline-flex;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8f4ec;
    font-size: 0.88rem;
}

.dashboard-brief-grid {
    display: grid;
    gap: 0.8rem;
}

.dashboard-brief-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.6;
}

.dashboard-pulse-stack {
    display: grid;
    gap: 1rem;
}

.dashboard-pulse-card {
    padding: 1rem;
    border-radius: 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.65rem;
}

.dashboard-pulse-card h4 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.dashboard-pulse-meta {
    color: var(--muted);
    line-height: 1.55;
}

.dashboard-feed-panel {
    gap: 1.1rem;
}

.dashboard-feed-list {
    display: grid;
    gap: 0.75rem;
}

.dashboard-feed-item {
    display: grid;
    gap: 0.7rem;
    padding: 0.9rem;
    border-radius: 18px;
    background: var(--panel-strong);
    border: 1px solid rgba(23, 51, 60, 0.08);
    transition: transform 140ms ease, border-color 140ms ease;
}

.dashboard-feed-item:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.18);
}

.dashboard-feed-copy {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.dashboard-feed-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-inline-link {
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 0.9rem;
}

.dashboard-launch-grid {
    display: grid;
    gap: 0.8rem;
}

.dashboard-launch-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(23, 121, 109, 0.08), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(23, 121, 109, 0.14);
    transition: transform 140ms ease, border-color 140ms ease;
}

.dashboard-launch-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.22);
}

.dashboard-launch-title,
.dashboard-mini-title {
    font-weight: 700;
}

.dashboard-mini-columns {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.dashboard-mini-section {
    display: grid;
    gap: 0.8rem;
    align-content: start;
}

.dashboard-activity-stack {
    display: grid;
    gap: 1rem;
}

.dashboard-activity-divider {
    height: 1px;
    background: rgba(23, 51, 60, 0.08);
}

.dashboard-command-grid,
.dashboard-layout-grid,
.dashboard-signal-grid,
.dashboard-summary-grid,
.dashboard-priority-stack,
.dashboard-stream-list,
.dashboard-module-grid,
.dashboard-workspace-grid,
.dashboard-rail-stack,
.dashboard-primary-column,
.dashboard-secondary-column {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.dashboard-command-grid,
.dashboard-layout-grid,
.dashboard-workspace-grid {
    grid-template-columns: 1fr;
}

.dashboard-command-panel {
    display: grid;
    gap: 1.2rem;
    padding: 1.35rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 154, 77, 0.2), transparent 22%),
        radial-gradient(circle at 8% 92%, rgba(42, 215, 200, 0.18), transparent 26%),
        linear-gradient(145deg, #111824 0%, #090d13 54%, #06080c 100%);
    color: #f8f4ec;
    border: 1px solid rgba(141, 162, 190, 0.16);
    box-shadow: 0 36px 72px rgba(0, 0, 0, 0.4);
}

.dashboard-command-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-command-copy {
    display: grid;
    gap: 0.8rem;
    max-width: 760px;
}

.dashboard-command-kicker {
    color: rgba(248, 244, 236, 0.72);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dashboard-command-text {
    color: rgba(248, 244, 236, 0.82);
    line-height: 1.72;
}

.dashboard-command-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.dashboard-command-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8f4ec;
    font-size: 0.88rem;
}

.dashboard-command-metrics {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.dashboard-command-metric {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-command-metric strong {
    font-size: 1.8rem;
    line-height: 1;
}

.dashboard-command-metric-label {
    color: rgba(248, 244, 236, 0.68);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.dashboard-command-metric-meta {
    color: rgba(237, 243, 251, 0.72);
    font-size: 0.9rem;
    line-height: 1.45;
}

.dashboard-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.dashboard-summary-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: rgba(255, 255, 255, 0.06);
    line-height: 1.6;
}

.dashboard-command-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dashboard-command-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.78rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(42, 215, 200, 0.18);
    background: rgba(9, 13, 19, 0.72);
    color: #baf4ef;
    font-weight: 700;
    transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.dashboard-command-link:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 215, 200, 0.28);
    background: rgba(17, 29, 34, 0.92);
}

.dashboard-priority-panel {
    gap: 1.1rem;
    background:
        linear-gradient(180deg, rgba(18, 22, 32, 0.94), rgba(10, 13, 19, 0.98));
}

.dashboard-priority-stack {
    gap: 0.85rem;
}

.dashboard-priority-card {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 140ms ease, border-color 140ms ease;
}

.dashboard-priority-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.2);
}

.dashboard-priority-card strong {
    font-size: 1.5rem;
    font-family: Georgia, "Palatino Linotype", serif;
}

.dashboard-priority-label {
    color: var(--highlight);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-signal-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dashboard-signal-card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background:
        linear-gradient(180deg, rgba(20, 24, 34, 0.92), rgba(11, 14, 21, 0.98));
    box-shadow: var(--shadow);
    transition: transform 140ms ease, border-color 140ms ease;
}

.dashboard-signal-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.18);
}

.dashboard-signal-card h3 {
    font-size: clamp(1.9rem, 5vw, 2.5rem);
}

.dashboard-signal-copy {
    font-weight: 700;
}

.dashboard-signal-meta {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.dashboard-layout-grid {
    gap: 1.1rem;
}

.dashboard-section-panel {
    gap: 1rem;
}

.dashboard-stream-list {
    gap: 0.8rem;
}

.dashboard-stream-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: start;
    padding: 0.92rem;
    border-radius: 18px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: var(--panel-strong);
    transition: transform 140ms ease, border-color 140ms ease;
}

.dashboard-stream-item:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.2);
}

.dashboard-stream-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(23, 121, 109, 0.14), rgba(200, 119, 50, 0.18));
    color: var(--accent-strong);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.dashboard-stream-marker-job {
    background: linear-gradient(135deg, rgba(200, 119, 50, 0.16), rgba(23, 121, 109, 0.12));
    color: var(--warning);
}

.dashboard-stream-content {
    display: grid;
    gap: 0.45rem;
}

.dashboard-stream-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    min-width: 68px;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(42, 215, 200, 0.16);
    background: rgba(17, 32, 36, 0.88);
    color: #9cebe5;
    font-size: 0.82rem;
    font-weight: 700;
}

.dashboard-module-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
}

.dashboard-module-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.95rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(42, 215, 200, 0.08), rgba(17, 20, 28, 0.92));
    border: 1px solid rgba(42, 215, 200, 0.12);
    transition: transform 140ms ease, border-color 140ms ease;
}

.dashboard-module-card:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 121, 109, 0.22);
}

.dashboard-module-title {
    font-weight: 700;
}

.dashboard-workspace-grid {
    gap: 1rem;
}

.dashboard-rail-stack {
    gap: 0.85rem;
}

.dashboard-rail-item {
    display: grid;
    gap: 0.45rem;
    padding: 0.92rem;
    border-radius: 18px;
    border: 1px solid rgba(141, 162, 190, 0.12);
    background: var(--panel-strong);
}

.login-shell {
    display: grid;
    justify-items: center;
    padding: 0.5rem 0 2rem;
}

.login-card {
    width: min(100%, 560px);
    gap: 1rem;
}

.login-meta {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 760px) {
    .hero-grid {
        grid-template-columns: 1.3fr 1fr;
    }

    .content-grid.two-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-grid.three-up {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .module-intro-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .notes-layout {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-hero-shell,
    .dashboard-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-mini-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-command-grid {
        grid-template-columns: 1.45fr 0.95fr;
    }

    .dashboard-layout-grid {
        grid-template-columns: 1.35fr 0.95fr;
    }

    .dashboard-workspace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .app-shell {
        grid-template-columns: 290px minmax(0, 1fr);
    }

    .shell-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        align-content: start;
        padding: 2rem 1.5rem;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sidebar-nav {
        grid-template-columns: 1fr;
    }

    .sidebar-footer {
        margin-top: auto;
    }

    .shell-main {
        padding: 2rem;
    }

    .page-header {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
    }

    .content-grid.three-up {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-hero-shell {
        grid-template-columns: 1.5fr 0.9fr;
        align-items: stretch;
    }

    .dashboard-support-grid {
        grid-template-columns: 1fr 1.15fr 1fr;
    }

    .dashboard-command-panel {
        padding: 1.55rem;
    }

    .dashboard-primary-column,
    .dashboard-secondary-column {
        gap: 1.1rem;
    }
}

@media (max-width: 559px) {
    .shell-sidebar,
    .shell-main {
        padding: 1rem;
    }

    .hero-card,
    .panel,
    .stat-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .action-row .btn,
    .alert-line .btn,
    .panel-header .btn {
        width: 100%;
    }

    .dashboard-stream-item {
        grid-template-columns: auto 1fr;
    }

    .dashboard-stream-state {
        grid-column: 2;
        justify-self: start;
    }

    .dashboard-command-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dashboard-command-link {
        width: 100%;
        justify-content: center;
    }

    .tool-dock-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tool-dock-item {
        min-height: 108px;
        padding: 0.75rem 0.55rem;
    }

    .tool-dock-icon {
        width: 52px;
        height: 52px;
    }

    .tool-dock-meta {
        display: none;
    }

    .notification-panel {
        right: auto;
        left: 0;
    }
}
