:root {
    color-scheme: dark;
    --bg: #090b10;
    --panel: rgba(12, 18, 32, 0.82);
    --panel-strong: rgba(8, 12, 22, 0.94);
    --panel-head: rgba(64, 77, 111, 0.72);
    --text: #f7f8fb;
    --muted: #aab3c4;
    --line: rgba(255, 255, 255, 0.12);
    --blue: #1399ff;
    --cyan: #2ad7d2;
    --green: #34d46b;
    --amber: #ffbf3d;
    --red: #ff5067;
    --violet: #a978ff;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
    --deep-shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--text);
    background: #111318;
}

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

button,
input,
select {
    font: inherit;
}

.landing-page,
.auth-page,
.dashboard-page {
    background:
        linear-gradient(145deg, rgba(0, 145, 255, 0.92) 0 28%, transparent 28%),
        linear-gradient(225deg, rgba(12, 30, 137, 0.95) 0 38%, transparent 38%),
        linear-gradient(115deg, #0579c5 0%, #06177d 48%, #050030 100%);
    background-attachment: fixed;
}

.landing-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-topbar,
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 56px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(18, 23, 35, 0.66);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 750;
}

.brand-cloud {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(160deg, #21b1ff, #153bff 55%, #23d6a2);
    color: white;
    font-weight: 900;
}

.public-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
}

.pill-action,
.primary-button,
.secondary-button,
.passkey-button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    cursor: pointer;
    font-weight: 750;
}

.primary-button {
    background: #ffffff;
    color: #111827;
}

.secondary-button,
.passkey-button,
.pill-action {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero {
    min-height: calc(100vh - 56px);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 28px;
    text-align: center;
    padding: 64px 20px;
}

.product-orbit {
    position: relative;
    width: 220px;
    height: 190px;
}

.orbit-icon {
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 850;
    background: linear-gradient(160deg, rgba(34, 39, 52, 0.98), rgba(7, 10, 18, 0.98));
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-main {
    width: 106px;
    height: 106px;
    left: 57px;
    top: 42px;
    font-size: 34px;
    background: linear-gradient(160deg, #33b8ff, #0b34c9 60%, #00d184);
}

.orbit-a { left: 22px; top: 28px; color: var(--green); }
.orbit-b { right: 10px; top: 42px; color: var(--cyan); }
.orbit-c { left: 8px; bottom: 20px; color: var(--amber); }
.orbit-d { right: 34px; bottom: 4px; color: var(--red); }
.orbit-e { left: 86px; top: 0; color: var(--violet); }

.hero h1 {
    margin: 0;
    font-size: clamp(68px, 10vw, 140px);
    letter-spacing: 0;
    line-height: 0.9;
}

.hero p {
    margin: 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(24px, 3vw, 44px);
    line-height: 1.16;
    font-weight: 760;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.info-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px 140px;
    background: #16181d;
}

.info-panels article,
.auth-card,
.widget,
.settings-card,
.settings-hero,
.pwa-card,
.pwa-card-grid article {
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(62, 73, 104, 0.62), rgba(62, 73, 104, 0.18) 76px, rgba(4, 8, 18, 0.9) 76px),
        var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--deep-shadow);
    backdrop-filter: blur(24px);
}

.info-panels article {
    min-height: 430px;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-panels h2 {
    font-size: clamp(30px, 3.4vw, 52px);
    line-height: 1.08;
    margin: 28px 0;
}

.info-panels p,
.auth-card p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 17px;
}

.panel-icons {
    display: grid;
    grid-template-columns: repeat(4, 58px);
    gap: 12px;
}

.panel-icons span,
.app-icon,
.metric-cloud {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #111827;
    color: white;
    font-weight: 850;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-cloud {
    width: 170px;
    height: 110px;
    font-size: 34px;
    color: var(--green);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.auth-brand {
    position: fixed;
    left: 22px;
    top: 16px;
}

.auth-card {
    width: min(460px, 100%);
    padding: 34px;
    background: rgba(9, 12, 20, 0.9);
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 42px;
}

.auth-card label {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    color: var(--muted);
    font-weight: 700;
}

.auth-card input,
.auth-card select,
.context-selectors select,
.modal input,
.modal select {
    min-height: 44px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 0 12px;
}

.auth-card .primary-button,
.auth-card .passkey-button {
    width: 100%;
    margin-top: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-note {
    font-size: 14px;
}

.alert {
    background: rgba(255, 80, 103, 0.16);
    border: 1px solid rgba(255, 80, 103, 0.35);
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
}

.app-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(145deg, rgba(5, 141, 224, 0.95) 0 30%, transparent 30%),
        linear-gradient(235deg, rgba(5, 12, 125, 0.98) 0 44%, transparent 44%),
        linear-gradient(115deg, #0586db 0%, #051ba5 47%, #060026 100%);
}

.dashboard-shell {
    min-height: 100vh;
}

.context-selectors {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: min(560px, 44vw);
}

.topbar-actions {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
}

.toast {
    position: fixed;
    z-index: 90;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(560px, calc(100% - 24px));
    padding: 12px 18px;
    border-radius: 8px;
    background: rgba(20, 26, 42, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
}

.inline-toast {
    position: static;
    transform: none;
    margin-bottom: 16px;
}

.icon-button,
.avatar-button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
}

.grid-button {
    letter-spacing: 2px;
    font-size: 18px;
}

.avatar-button {
    background: linear-gradient(160deg, #2ad7d2, #6b56ff);
}

.floating-menu {
    position: fixed;
    z-index: 80;
    top: 64px;
    right: 74px;
    width: 280px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(10, 10, 16, 0.94);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
}

#profile-menu {
    right: 18px;
}

.floating-menu h3 {
    margin: 0 0 10px;
}

.floating-menu button,
.floating-menu a {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: white;
    border-radius: 8px;
    padding: 0 10px;
    cursor: pointer;
}

.floating-menu button:hover,
.floating-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.danger-link {
    color: var(--red) !important;
}

.apps-menu {
    width: 390px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.apps-grid a {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
    min-height: 94px;
}

.apps-grid span {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #15203d, #050711);
    color: var(--cyan);
    font-weight: 850;
}

.widget-board {
    width: min(1180px, calc(100% - 32px));
    margin: 70px auto 120px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.widget {
    position: relative;
    min-height: 250px;
    grid-column: span 2;
    padding: 92px 22px 22px;
    overflow: hidden;
    transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.widget::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 76px;
    background: rgba(68, 80, 112, 0.56);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.widget.is-dragging {
    opacity: 0.68;
    transform: scale(0.985);
}

.wide-widget {
    grid-column: span 3;
}

.profile-widget {
    min-height: 320px;
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(160deg, rgba(0, 103, 190, 0.55), rgba(4, 10, 24, 0.92)),
        var(--panel);
}

.profile-widget::before {
    display: none;
}

.drag-handle {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    cursor: grab;
    font-weight: 900;
    letter-spacing: 2px;
}

.drag-handle:active {
    cursor: grabbing;
}

.profile-cloud {
    width: 118px;
    height: 118px;
    border-radius: 8px;
    margin-bottom: 26px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #2ad7d2, #0647d8);
    font-size: 36px;
    font-weight: 900;
}

.profile-widget h1 {
    margin: 0;
    font-size: 40px;
}

.profile-widget p,
.profile-widget strong {
    color: var(--muted);
}

.widget-title {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.widget-title h2 {
    margin: 0;
    font-size: 26px;
}

.widget-title p,
.widget p {
    margin: 4px 0 0;
    color: var(--muted);
}

.app-icon.green { color: var(--green); }
.app-icon.blue { color: var(--blue); }
.app-icon.red { color: var(--red); }
.app-icon.violet { color: var(--violet); }
.app-icon.amber { color: var(--amber); }
.app-icon.cyan { color: var(--cyan); }
.app-icon.small {
    width: 36px;
    height: 36px;
    font-size: 12px;
}

.big-metric {
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 850;
    margin: 12px 0 20px;
}

.metric-list {
    display: grid;
    gap: 10px;
}

.metric-list div,
.connections-list div {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.inline-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 14px;
    padding: 0 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 750;
}

.metric-list span,
.connections-list em {
    color: var(--muted);
    font-style: normal;
}

.connections-list {
    display: grid;
    gap: 8px;
}

.connections-list div {
    grid-template-columns: 42px 1fr 1fr auto;
    display: grid;
}

.modal {
    width: min(460px, calc(100% - 24px));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(10, 13, 22, 0.98);
    color: white;
    box-shadow: var(--shadow);
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
}

.modal form {
    display: grid;
    gap: 14px;
}

.modal h2 {
    margin: 0 42px 6px 0;
}

.modal label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    cursor: pointer;
}

.pwa-page {
    background: #070a12;
}

.pwa-shell {
    min-height: 100vh;
    padding: calc(env(safe-area-inset-top) + 18px) 16px calc(env(safe-area-inset-bottom) + 88px);
    background:
        linear-gradient(145deg, rgba(13, 142, 226, 0.48) 0 28%, transparent 28%),
        linear-gradient(225deg, rgba(6, 26, 143, 0.9) 0 42%, transparent 42%),
        #070a12;
}

.pwa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pwa-header div {
    display: grid;
    gap: 3px;
}

.pwa-header span {
    color: var(--muted);
}

.pwa-header strong {
    font-size: 22px;
}

.pwa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #2ad7d2, #6b56ff);
    font-weight: 850;
}

.pwa-context p,
.pwa-context h1 {
    margin: 0;
}

.pwa-context p {
    color: var(--muted);
}

.pwa-context h1 {
    font-size: 34px;
    margin-top: 4px;
}

.pwa-card {
    padding: 18px;
    margin-top: 16px;
}

.pwa-card.highlight {
    min-height: 178px;
    display: grid;
    align-content: center;
    background: linear-gradient(160deg, rgba(42, 215, 210, 0.18), rgba(19, 153, 255, 0.15)), var(--panel);
}

.pwa-card span,
.pwa-card-grid span {
    color: var(--muted);
}

.pwa-card strong {
    font-size: 46px;
}

.pwa-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.pwa-card-grid article {
    padding: 16px;
    min-height: 132px;
}

.pwa-card-grid strong {
    display: block;
    font-size: 24px;
    margin: 12px 0 4px;
}

.pwa-row {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
}

.pwa-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 8px;
    background: rgba(9, 12, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
}

.pwa-nav a {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.pwa-nav .active {
    color: white;
}

.settings-nav {
    display: flex;
    gap: 16px;
    align-items: center;
    color: var(--muted);
    font-weight: 700;
}

.settings-board {
    width: min(1180px, calc(100% - 32px));
    margin: 70px auto 120px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.settings-hero,
.settings-card {
    padding: 92px 26px 26px;
    position: relative;
}

.settings-hero {
    grid-column: 1 / -1;
    min-height: 260px;
}

.settings-card.full {
    grid-column: 1 / -1;
}

.settings-hero h1,
.settings-card h2 {
    margin: 0 0 10px;
}

.settings-hero h1 {
    font-size: clamp(44px, 7vw, 92px);
    line-height: 0.95;
}

.settings-hero p,
.settings-card p {
    color: var(--muted);
    line-height: 1.55;
}

.settings-form {
    display: grid;
    gap: 12px;
}

.settings-form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 750;
}

.technical-table {
    display: grid;
    gap: 4px;
    overflow-x: auto;
}

.table-row {
    min-width: 820px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1.4fr;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.table-head {
    color: var(--muted);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
}

code {
    color: #bfe7ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.landing-page {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 22%),
        #1d1d20;
}

.landing-page .public-topbar {
    position: fixed;
    left: 0;
    right: 0;
    background: rgba(29, 29, 32, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.landing-page .brand-cloud,
.auth-brand .brand-cloud {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-login {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 720;
}

.nav-more {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-size: 24px;
    letter-spacing: 2px;
    cursor: pointer;
}

.landing-page .hero {
    min-height: 100vh;
    padding-top: 108px;
    padding-bottom: 72px;
    gap: 24px;
}

.landing-page .product-orbit {
    width: 280px;
    height: 220px;
    filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.54));
}

.landing-page .orbit-icon {
    width: 70px;
    height: 70px;
    color: #f8fbff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02)),
        #242529;
    border-color: rgba(255, 255, 255, 0.06);
}

.landing-page .orbit-main {
    width: 128px;
    height: 128px;
    left: 76px;
    top: 52px;
    border-radius: 50%;
    color: #0a1017;
    background: radial-gradient(circle at 42% 34%, #effff2, #a9f0c8 58%, #33bcff);
}

.landing-page .orbit-a { left: 82px; top: 0; color: var(--green); }
.landing-page .orbit-b { right: 12px; top: 58px; color: var(--cyan); }
.landing-page .orbit-c { left: 20px; top: 70px; color: var(--amber); }
.landing-page .orbit-d { right: 76px; bottom: 0; color: var(--red); }
.landing-page .orbit-e { left: 28px; bottom: 26px; color: var(--violet); }

.landing-page .hero h1 {
    font-size: clamp(76px, 10vw, 148px);
    font-weight: 780;
}

.hero-login {
    min-width: 182px;
    border-radius: 999px;
    min-height: 52px;
    font-size: 18px;
}

.landing-page .hero p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(28px, 3.1vw, 46px);
    line-height: 1.12;
}

.landing-page .secondary-button {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.landing-page .info-panels {
    max-width: none;
    padding: 116px max(24px, calc((100vw - 1440px) / 2)) 126px;
    background: #1f1f22;
}

.landing-page .info-panels article {
    min-height: 500px;
    background: #1b1b1e;
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42);
}

.landing-page .panel-icons {
    grid-template-columns: repeat(4, 64px);
    gap: 18px;
    margin: 0 auto 22px;
}

.landing-page .panel-icons span {
    width: 64px;
    height: 64px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
        #2b2c31;
}

.metric-cloud {
    width: 230px;
    height: 150px;
    align-content: center;
    gap: 6px;
    margin: 0 auto;
    background:
        radial-gradient(circle at 25% 70%, rgba(42, 215, 210, 0.65), transparent 32%),
        radial-gradient(circle at 68% 38%, rgba(19, 153, 255, 0.95), transparent 48%),
        #2d98ff;
}

.metric-cloud span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
}

.metric-cloud strong {
    font-size: 44px;
    color: white;
}

.public-footer {
    min-height: 72px;
    padding: 0 max(24px, calc((100vw - 1220px) / 2));
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    background: #2b2b2e;
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
}

.public-footer span {
    margin-left: auto;
}

.dashboard-page {
    background: #050b1d;
}

.topbar {
    background: rgba(38, 55, 91, 0.72);
    height: 62px;
}

.topbar .brand-mark {
    font-size: 24px;
}

.context-selectors select {
    min-height: 36px;
    background: rgba(10, 13, 24, 0.36);
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-button,
.avatar-button {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
}

.widget-board {
    width: min(1220px, calc(100% - 32px));
    gap: 22px;
    padding-bottom: 10px;
}

.widget {
    min-height: 266px;
    background:
        linear-gradient(180deg, rgba(61, 73, 105, 0.74), rgba(61, 73, 105, 0.26) 76px, rgba(4, 8, 18, 0.94) 76px),
        rgba(7, 12, 24, 0.82);
    border-color: rgba(255, 255, 255, 0.085);
}

.widget:hover {
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.56);
}

.profile-widget {
    background:
        radial-gradient(circle at 54% 43%, rgba(18, 83, 150, 0.84) 0 18%, transparent 19%),
        linear-gradient(150deg, rgba(6, 80, 145, 0.72), rgba(4, 10, 24, 0.93));
}

.profile-cloud {
    border-radius: 50%;
    background:
        radial-gradient(circle at 45% 35%, #eafff1, #74d9ff 48%, #073982 76%);
    color: #08111d;
}

.ghost-link {
    margin-top: 14px;
    display: inline-flex;
    width: max-content;
    color: white;
    font-weight: 760;
    opacity: 0.88;
}

.metric-list a,
.metric-list div,
.connections-list div {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.metric-list a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding-inline: 10px;
    margin-inline: -10px;
}

.connections-list div {
    display: grid;
    grid-template-columns: 42px 1fr 1fr auto;
}

.mini-bars {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 86px;
    height: 74px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    opacity: 0.92;
}

.mini-bars i {
    flex: 1;
    min-height: 18px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #42ff78, #069e38);
}

.ratio-meter {
    height: 12px;
    margin-top: 20px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.ratio-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--amber), var(--red));
}

.app-launcher-widget {
    min-height: 286px;
    padding: 24px 18px 52px;
    background: rgba(9, 15, 28, 0.58);
}

.app-launcher-widget::before {
    display: none;
}

.launcher-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 12px;
}

.launcher-grid a {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.launcher-grid em {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desktop-summary {
    min-height: 280px;
    padding: 78px max(28px, calc((100vw - 1220px) / 2)) 96px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
    background: #1e1e21;
}

.desktop-summary a {
    display: grid;
    gap: 10px;
}

.desktop-summary strong {
    font-size: clamp(28px, 3vw, 42px);
}

.desktop-summary span {
    font-size: 21px;
    font-weight: 760;
}

.desktop-summary em {
    color: var(--muted);
    font-style: normal;
}

.pwa-page {
    background: #061022;
}

.pwa-shell {
    min-height: 100dvh;
    max-width: 460px;
    margin: 0 auto;
    padding: calc(env(safe-area-inset-top) + 18px) 14px calc(env(safe-area-inset-bottom) + 92px);
    background:
        linear-gradient(145deg, rgba(16, 142, 226, 0.62) 0 30%, transparent 30%),
        linear-gradient(225deg, rgba(6, 26, 143, 0.96) 0 43%, transparent 43%),
        linear-gradient(160deg, #0586db, #071d83 52%, #070a12);
}

.pwa-switcher {
    display: grid;
    grid-template-columns: 1fr 0.74fr;
    gap: 8px;
    margin-bottom: 22px;
}

.pwa-switcher select {
    min-width: 0;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 11, 22, 0.54);
    color: white;
    padding: 0 12px;
}

.pwa-context h1 {
    font-size: 36px;
    line-height: 1.02;
}

.pwa-card,
.pwa-card-grid article {
    background:
        linear-gradient(180deg, rgba(69, 81, 112, 0.66), rgba(69, 81, 112, 0.22) 70px, rgba(5, 9, 19, 0.93) 70px),
        rgba(7, 12, 24, 0.82);
}

.pwa-card.highlight {
    min-height: 190px;
    background:
        linear-gradient(160deg, rgba(42, 215, 210, 0.25), rgba(19, 153, 255, 0.16)),
        rgba(7, 12, 24, 0.88);
}

.ratio-meter.compact {
    margin-top: 8px;
}

.pwa-card-grid article {
    position: relative;
    padding-top: 82px;
}

.pwa-card-grid article .app-icon {
    position: absolute;
    left: 16px;
    top: 16px;
    font-style: normal;
}

.pwa-products div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
}

.pwa-products a {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-width: 0;
}

.pwa-products em {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-size: 12px;
}

.pwa-nav {
    left: 50%;
    right: auto;
    width: min(432px, calc(100% - 24px));
    max-width: 432px;
    margin: 0 auto;
    transform: translateX(-50%);
}

.pwa-nav a {
    gap: 2px;
}

.pwa-nav span {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 980px) {
    .info-panels,
    .widget-board,
    .settings-board,
    .desktop-summary {
        grid-template-columns: 1fr;
    }

    .widget,
    .wide-widget,
    .settings-hero,
    .settings-card,
    .settings-card.full {
        grid-column: span 1;
    }

    .topbar {
        height: auto;
        min-height: 64px;
        gap: 12px;
        flex-wrap: wrap;
        padding: 10px 14px;
    }

    .context-selectors {
        order: 3;
        width: 100%;
        min-width: 100%;
    }

    .settings-nav {
        order: 2;
        width: 100%;
        justify-content: space-between;
    }

    .floating-menu,
    .apps-menu,
    #profile-menu {
        left: 12px;
        right: 12px;
        top: 118px;
        width: auto;
    }
}

@media (max-width: 640px) {
    .public-topbar {
        padding: 0 14px;
    }

    .public-actions a:first-child {
        display: none;
    }

    .hero {
        min-height: 86vh;
        padding-top: 48px;
    }

    .product-orbit {
        transform: scale(0.82);
    }

    .info-panels {
        padding: 36px 14px 80px;
        gap: 16px;
    }

    .info-panels article,
    .auth-card {
        padding: 24px;
    }

    .form-grid,
    .pwa-card-grid {
        grid-template-columns: 1fr;
    }

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

    .widget-board {
        width: calc(100% - 24px);
        margin-top: 24px;
    }

    .widget {
        padding: 86px 18px 18px;
    }

    .profile-widget {
        padding-top: 18px;
    }

    .app-launcher-widget {
        padding: 24px 18px 52px;
    }

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

    .public-footer span {
        margin-left: 0;
    }

    .connections-list div {
        grid-template-columns: 36px 1fr auto;
    }

    .connections-list em {
        display: none;
    }
}

/* cloudIQ polished desktop and PWA skin */
:root {
    --icloud-black: #1c1c1f;
    --icloud-card: rgba(8, 12, 24, 0.88);
    --icloud-head: rgba(61, 72, 104, 0.76);
    --icloud-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
    font-family: var(--icloud-font);
}

body {
    font-family: var(--icloud-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.landing-page,
.auth-page {
    background: var(--icloud-black);
}

.landing-page .public-topbar {
    height: 58px;
    padding: 0 25px;
    background: rgba(28, 28, 31, 0.72);
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.025);
}

.public-topbar .brand-mark,
.auth-brand {
    font-size: 25px;
    font-weight: 760;
    letter-spacing: 0;
}

.brand-cloud {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 15px;
    text-transform: lowercase;
}

.landing-page .brand-cloud,
.auth-brand .brand-cloud {
    color: #f5f5f7;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.nav-more {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
}

.nav-more:hover {
    background: rgba(255, 255, 255, 0.08);
}

.landing-page .hero {
    min-height: 100vh;
    padding: 100px 22px 58px;
    gap: 22px;
}

.landing-page .product-orbit {
    width: 294px;
    height: 236px;
    margin-bottom: 4px;
}

.landing-page .orbit-icon {
    width: 76px;
    height: 76px;
    font-size: 22px;
    border-radius: 50%;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42);
}

.landing-page .orbit-main {
    width: 136px;
    height: 136px;
    left: 79px;
    top: 55px;
    z-index: 2;
    font-size: 42px;
    color: #102033;
    background:
        radial-gradient(circle at 44% 34%, #f1fff4 0 28%, #d6ffe1 29% 56%, #38bdff 57% 100%);
}

.landing-page .orbit-main span {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
}

.landing-page .orbit-a {
    left: 101px;
    top: 0;
    color: #00ef4d;
}

.landing-page .orbit-b {
    right: 9px;
    top: 68px;
    color: #54c8ff;
}

.landing-page .orbit-c {
    left: 12px;
    top: 84px;
    color: #ffab19;
}

.landing-page .orbit-d {
    right: 77px;
    bottom: 0;
    color: #ff453a;
}

.landing-page .orbit-e {
    left: 31px;
    bottom: 27px;
    color: #32d74b;
}

.landing-page .hero h1 {
    font-size: clamp(84px, 10.5vw, 152px);
    font-weight: 760;
    line-height: 0.86;
}

.hero-login {
    min-width: 178px;
    min-height: 50px;
    font-size: 18px;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.landing-page .hero p {
    max-width: 740px;
    margin-top: 22px;
    font-size: clamp(30px, 3.05vw, 48px);
    font-weight: 760;
    line-height: 1.1;
}

.landing-page .hero-actions {
    margin-top: 2px;
}

.landing-page .info-panels {
    min-height: 780px;
    align-content: center;
    gap: 48px;
    padding-top: 126px;
    padding-bottom: 134px;
    background: #202022;
}

.landing-page .info-panels article {
    min-height: 520px;
    padding: clamp(32px, 5vw, 70px);
    background: #1b1b1d;
    border: 0;
    box-shadow: 0 25px 72px rgba(0, 0, 0, 0.44);
}

.landing-page .panel-icons {
    grid-template-columns: repeat(4, 66px);
    justify-content: center;
    gap: 18px;
}

.panel-icons span,
.launcher-grid .app-icon,
.apps-grid span {
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.13),
        inset 0 -8px 18px rgba(0, 0, 0, 0.28),
        0 10px 22px rgba(0, 0, 0, 0.22);
}

.panel-icons .green,
.app-icon.green {
    background: linear-gradient(180deg, #22242a, #101116);
    color: #32d74b;
}

.panel-icons .blue,
.app-icon.blue {
    background: linear-gradient(180deg, #1d2a3f, #091020);
    color: #0a84ff;
}

.panel-icons .amber,
.app-icon.amber,
.app-icon.yellow-note {
    background: linear-gradient(180deg, #ffd84d 0 22%, #252525 22% 100%);
    color: #f5f5f7;
}

.panel-icons .cyan,
.app-icon.cyan {
    background: linear-gradient(180deg, #1b2d3d, #07101a);
    color: #5ac8fa;
}

.panel-icons .violet,
.app-icon.violet {
    background: linear-gradient(180deg, #292033, #121018);
    color: #bf5af2;
}

.panel-icons .red,
.app-icon.red {
    background: linear-gradient(180deg, #3a1b22, #130b0e);
    color: #ff453a;
}

.metric-cloud {
    border-radius: 50px;
}

.auth-shell {
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.05), transparent 22%),
        #1c1c1f;
}

.auth-orbit {
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, 58px);
    gap: 14px;
    opacity: 0.9;
}

.auth-card {
    width: min(438px, calc(100% - 28px));
    margin-top: 88px;
    border: 0;
    background: #1b1b1d;
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.48);
}

.auth-card h1 {
    font-size: 44px;
    letter-spacing: 0;
}

.auth-card input {
    background: rgba(255, 255, 255, 0.075);
}

.dashboard-page {
    background: #050918;
}

.app-background {
    background:
        linear-gradient(148deg, rgba(3, 131, 221, 0.96) 0 30%, transparent 30.2%),
        linear-gradient(235deg, rgba(6, 33, 162, 0.98) 0 42%, transparent 42.2%),
        linear-gradient(116deg, #0076d6 0%, #0641c2 47%, #08002d 100%);
}

.topbar {
    height: 58px;
    padding: 0 24px;
    background: rgba(43, 60, 98, 0.68);
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.06);
}

.topbar .brand-mark {
    font-size: 25px;
    font-weight: 780;
}

.topbar .brand-cloud {
    color: #fff;
    background: transparent;
    border: 0;
}

.context-selectors {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, 42vw);
}

.context-selectors select {
    height: 36px;
    min-height: 36px;
    border-radius: 999px;
    text-align: center;
    background: rgba(6, 9, 17, 0.28);
    color: rgba(255, 255, 255, 0.9);
}

.topbar-actions {
    gap: 12px;
}

.icon-button,
.avatar-button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: transparent;
    font-size: 24px;
}

.icon-button:hover,
.avatar-button:hover {
    background: rgba(255, 255, 255, 0.13);
}

.grid-button {
    width: 38px;
    height: 38px;
    font-size: 19px;
    letter-spacing: 1.5px;
}

.avatar-button {
    background: radial-gradient(circle at 42% 36%, #f6f8ff, #46c8ff 52%, #1e3f8a);
    color: #101827;
    font-size: 15px;
}

.floating-menu {
    top: 66px;
    right: 82px;
    width: 294px;
    padding: 14px;
    background: rgba(20, 20, 22, 0.92);
    border: 0;
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.48);
}

.floating-menu button,
.floating-menu a {
    min-height: 42px;
    font-size: 16px;
}

.apps-menu {
    width: 400px;
}

.apps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 10px;
}

.apps-grid a {
    min-height: 92px;
    font-size: 14px;
}

.apps-grid span {
    width: 58px;
    height: 58px;
    border-radius: 12px;
}

.desktop-hero-note {
    position: fixed;
    inset: 58px 0 auto;
    height: 140px;
    display: grid;
    place-items: center;
    pointer-events: none;
    overflow: hidden;
}

.desktop-hero-note span {
    color: rgba(255, 255, 255, 0.08);
    font-size: clamp(72px, 9vw, 132px);
    font-weight: 760;
    filter: blur(0.2px);
}

.widget-board {
    width: min(1180px, calc(100% - 36px));
    margin-top: 72px;
    gap: 22px;
}

.widget,
.settings-card,
.settings-hero {
    border: 0;
    background:
        linear-gradient(180deg, rgba(62, 73, 104, 0.82), rgba(54, 66, 98, 0.74) 76px, rgba(3, 7, 18, 0.92) 76px),
        rgba(7, 12, 24, 0.86);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.45);
}

.widget {
    min-height: 260px;
    padding: 94px 24px 24px;
}

.wide-widget {
    min-height: 286px;
}

.profile-widget {
    min-height: 318px;
    padding: 26px 30px 30px;
    background:
        radial-gradient(circle at 53% 40%, rgba(9, 73, 138, 0.88) 0 21%, transparent 21.4%),
        linear-gradient(145deg, rgba(0, 93, 173, 0.7), rgba(2, 16, 40, 0.93));
}

.profile-cloud {
    width: 126px;
    height: 126px;
    margin-bottom: 22px;
    font-size: 34px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.profile-widget h1 {
    font-size: 39px;
    line-height: 1;
}

.widget-title {
    top: 18px;
    left: 24px;
    right: 24px;
}

.widget-title h2 {
    font-size: 29px;
    line-height: 1;
}

.widget-title p {
    font-size: 16px;
}

.app-icon,
.calendar-icon,
.folder-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 850;
    font-style: normal;
    flex: 0 0 auto;
}

.calendar-icon {
    color: white;
    background:
        linear-gradient(180deg, #ff453a 0 28%, #1f2025 28% 100%);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 10px 22px rgba(0, 0, 0, 0.25);
}

.calendar-icon em {
    margin-top: 12px;
    font-size: 29px;
    font-style: normal;
    line-height: 1;
}

.folder-icon {
    position: relative;
    background: linear-gradient(180deg, #14a8ff 0 36%, #0671e8 37% 100%);
}

.folder-icon::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 10px;
    width: 22px;
    height: 9px;
    border-radius: 5px 5px 0 0;
    background: #73d7ff;
}

.bars-glyph {
    width: 32px;
    height: 38px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.bars-glyph b {
    width: 7px;
    border-radius: 4px 4px 2px 2px;
    background: #32d74b;
}

.bars-glyph b:nth-child(1) { height: 17px; }
.bars-glyph b:nth-child(2) { height: 29px; }
.bars-glyph b:nth-child(3) { height: 38px; }

.split-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 30px;
}

.split-list a,
.note-list a,
.metric-list a,
.metric-list div,
.connections-list div {
    min-height: 58px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.095);
}

.split-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.split-list span,
.note-list a {
    display: grid;
    gap: 3px;
}

.split-list strong,
.note-list strong {
    font-size: 18px;
}

.split-list em,
.note-list span {
    color: var(--muted);
    font-style: normal;
    font-size: 14px;
}

.note-list {
    display: grid;
}

.note-list a:first-child {
    min-height: 64px;
    padding: 0 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.11);
}

.calendar-widget {
    min-height: 260px;
}

.drive-widget {
    min-height: 296px;
}

.connections-list {
    gap: 0;
}

.connections-list div {
    min-height: 56px;
}

.connections-list strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.app-launcher-widget {
    padding: 26px 20px 50px;
    background: rgba(8, 13, 25, 0.54);
}

.launcher-grid {
    gap: 18px 12px;
}

.launcher-grid .app-icon {
    width: 62px;
    height: 62px;
}

.launcher-grid em {
    font-size: 14px;
}

.desktop-summary {
    min-height: 322px;
    background: #202022;
}

.pwa-page {
    background: #020813;
}

.pwa-shell {
    max-width: 430px;
    min-height: 100dvh;
    background:
        linear-gradient(148deg, rgba(0, 126, 220, 0.94) 0 31%, transparent 31.2%),
        linear-gradient(235deg, rgba(5, 25, 143, 0.95) 0 43%, transparent 43.2%),
        linear-gradient(118deg, #0076d6 0%, #053cc0 48%, #070028 100%);
}

.pwa-header {
    min-height: 54px;
    margin-bottom: 16px;
}

.pwa-header strong {
    font-size: 25px;
    line-height: 1;
}

.pwa-switcher select {
    height: 40px;
    border-radius: 999px;
    background: rgba(4, 8, 18, 0.46);
}

.pwa-context h1 {
    font-size: 37px;
    letter-spacing: 0;
}

.pwa-card,
.pwa-card-grid article {
    border: 0;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.pwa-card.highlight {
    min-height: 184px;
}

.pwa-card strong {
    font-size: 48px;
    line-height: 1;
}

.pwa-products .app-icon.small {
    width: 48px;
    height: 48px;
}

.pwa-nav {
    min-height: 66px;
    border-radius: 22px;
    background: rgba(12, 16, 28, 0.82);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

@media (max-width: 980px) {
    .context-selectors {
        position: static;
        transform: none;
        width: 100%;
    }

    .desktop-hero-note {
        display: none;
    }
}

@media (max-width: 640px) {
    .landing-page .public-topbar {
        height: 54px;
    }

    .landing-page .hero {
        min-height: 100svh;
        padding-top: 86px;
    }

    .landing-page .product-orbit {
        transform: scale(0.78);
        margin-bottom: -20px;
    }

    .landing-page .hero h1 {
        font-size: clamp(68px, 19vw, 88px);
    }

    .landing-page .hero p {
        font-size: clamp(25px, 8vw, 34px);
    }

    .landing-page .info-panels {
        padding-top: 54px;
        min-height: auto;
    }

    .landing-page .info-panels article {
        min-height: 390px;
    }

    .landing-page .panel-icons {
        grid-template-columns: repeat(4, 54px);
    }

    .landing-page .panel-icons span {
        width: 54px;
        height: 54px;
    }

    .auth-orbit {
        top: 78px;
        grid-template-columns: repeat(4, 48px);
    }

    .auth-orbit .app-icon {
        width: 48px;
        height: 48px;
        font-size: 13px;
    }

    .auth-card {
        margin-top: 72px;
    }

    .topbar .brand-mark {
        font-size: 23px;
    }

    .widget {
        min-height: 244px;
    }

    .split-list {
        grid-template-columns: 1fr;
    }

    .launcher-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px 8px;
    }

    .launcher-grid .app-icon {
        width: 54px;
        height: 54px;
    }

    .launcher-grid em {
        font-size: 12px;
    }

    .desktop-summary {
        padding-top: 52px;
        padding-bottom: 62px;
        gap: 32px;
    }

    .pwa-shell {
        max-width: none;
    }
}

/* Screenshot-matched cloud desktop top bar */
.dashboard-page .topbar {
    position: sticky;
    top: 0;
    z-index: 70;
    height: 52px;
    min-height: 52px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(36, 75, 118, 0.96) 0%, rgba(39, 61, 113, 0.96) 54%, rgba(43, 31, 122, 0.96) 100%);
    border: 0;
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.07),
        inset 0 -1px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(28px) saturate(1.35);
}

.dashboard-page .topbar .brand-mark {
    height: 52px;
    gap: 4px;
    color: #fff;
    font-size: 27px;
    font-weight: 760;
    line-height: 1;
}

.dashboard-page .topbar .brand-cloud {
    position: relative;
    width: 25px;
    height: 20px;
    margin-right: 0;
    overflow: visible;
    color: transparent;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.dashboard-page .topbar .brand-cloud::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 21px;
    height: 11px;
    border-radius: 10px;
    background: #fff;
}

.dashboard-page .topbar .brand-cloud::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 100% 100%, transparent 0 4px, #fff 4.5px),
        #fff;
    box-shadow: 7px 4px 0 -1px #fff;
}

.dashboard-page .context-selectors {
    position: absolute;
    width: 1px;
    height: 1px;
    left: -9999px;
    transform: none;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.dashboard-page .topbar-actions {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-page .icon-button,
.dashboard-page .avatar-button {
    position: relative;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.96);
    background: transparent;
    box-shadow: none;
    line-height: 1;
}

.dashboard-page .icon-button {
    font-size: 28px;
    font-weight: 350;
    padding-bottom: 3px;
}

.dashboard-page .icon-button:hover,
.dashboard-page .avatar-button:hover,
.dashboard-page .icon-button.is-active,
.dashboard-page .avatar-button.is-active {
    background: rgba(82, 82, 86, 0.62);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.09),
        0 1px 5px rgba(0, 0, 0, 0.22);
}

.dashboard-page .grid-button {
    width: 38px;
    height: 38px;
    color: transparent;
    font-size: 0;
    letter-spacing: 0;
}

.dashboard-page .grid-button::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow:
        9px 0 #fff,
        18px 0 #fff,
        0 9px #fff,
        9px 9px #fff,
        18px 9px #fff,
        0 18px #fff,
        9px 18px #fff,
        18px 18px #fff;
    transform: translate(-9px, -9px);
}

.dashboard-page .avatar-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #102033;
    font-size: 0;
    background:
        radial-gradient(circle at 50% 30%, #ffe2bd 0 16%, transparent 16.5%),
        radial-gradient(circle at 50% 52%, #17314f 0 31%, transparent 31.5%),
        radial-gradient(circle at 43% 38%, #f6d1aa 0 34%, #bd7c42 35% 48%, #183657 49% 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.dashboard-page .avatar-button::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.dashboard-page .floating-menu {
    top: 52px;
    right: 108px;
    width: 222px;
    padding: 12px 10px;
    border-radius: 8px;
    background: rgba(29, 29, 31, 0.96);
    border: 0;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(30px) saturate(1.4);
}

.dashboard-page #apps-menu {
    right: 60px;
    width: 374px;
    padding: 20px 18px;
}

.dashboard-page #profile-menu {
    right: 12px;
    width: 284px;
}

.dashboard-page .floating-menu h3 {
    margin: 0 6px 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 760;
}

.dashboard-page .floating-menu p {
    margin: -2px 6px 10px;
    color: rgba(255, 255, 255, 0.58);
}

.dashboard-page .floating-menu button,
.dashboard-page .floating-menu a {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    font-weight: 500;
}

.dashboard-page .floating-menu button:hover,
.dashboard-page .floating-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-page .apps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 12px;
}

.dashboard-page .apps-grid a {
    min-height: 94px;
    gap: 9px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.dashboard-page .apps-grid span {
    width: 58px;
    height: 58px;
    border-radius: 12px;
}

.dashboard-page .widget-board {
    margin-top: 66px;
}

@media (max-width: 980px) {
    .dashboard-page .topbar {
        height: 56px;
        min-height: 56px;
        flex-wrap: nowrap;
        padding: 0 12px;
    }

    .dashboard-page .topbar .brand-mark {
        height: 56px;
        font-size: 24px;
    }

    .dashboard-page .topbar-actions {
        height: 56px;
        gap: 7px;
    }

    .dashboard-page .floating-menu,
    .dashboard-page #apps-menu,
    .dashboard-page #profile-menu {
        top: 58px;
        left: auto;
        right: 10px;
        width: min(374px, calc(100vw - 20px));
    }
}

/* Pixel-tuned top bar pass based on the provided reference */
.dashboard-page .topbar {
    height: 51px !important;
    min-height: 51px !important;
    padding: 0 14px !important;
    background:
        linear-gradient(90deg, rgba(38, 70, 107, 0.98) 0%, rgba(40, 59, 105, 0.98) 53%, rgba(43, 38, 112, 0.98) 100%) !important;
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.045),
        inset 0 -1px rgba(0, 0, 0, 0.28) !important;
}

.dashboard-page .topbar .brand-mark {
    height: 51px !important;
    gap: 3px !important;
    font-size: 25px !important;
    font-weight: 760 !important;
    transform: translateY(-1px);
}

.dashboard-page .topbar .brand-cloud {
    width: 22px !important;
    height: 18px !important;
}

.dashboard-page .topbar .brand-cloud::before {
    left: 1px !important;
    top: 8px !important;
    width: 20px !important;
    height: 10px !important;
}

.dashboard-page .topbar .brand-cloud::after {
    left: 5px !important;
    top: 4px !important;
    width: 10px !important;
    height: 10px !important;
    box-shadow: 7px 4px 0 -1px #fff !important;
}

.dashboard-page .topbar-actions {
    height: 51px !important;
    gap: 10px !important;
}

.dashboard-page .icon-button,
.dashboard-page .avatar-button {
    width: 39px !important;
    height: 39px !important;
    border-radius: 9px !important;
}

.dashboard-page .icon-button {
    font-size: 25px !important;
    font-weight: 360 !important;
    padding: 0 0 3px !important;
}

.dashboard-page .icon-button.is-active,
.dashboard-page .icon-button:hover {
    background: rgba(73, 73, 75, 0.74) !important;
}

.dashboard-page .grid-button::before {
    width: 4px !important;
    height: 4px !important;
    box-shadow:
        8px 0 #fff,
        16px 0 #fff,
        0 8px #fff,
        8px 8px #fff,
        16px 8px #fff,
        0 16px #fff,
        8px 16px #fff,
        16px 16px #fff !important;
    transform: translate(-8px, -8px) !important;
}

.dashboard-page .avatar-button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

.dashboard-page #create-menu {
    top: 51px !important;
    right: 106px !important;
    width: 226px !important;
    padding: 13px 10px 12px !important;
    border-radius: 8px !important;
    background: rgba(30, 30, 31, 0.975) !important;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.5) !important;
}

.dashboard-page #apps-menu {
    top: 51px !important;
    right: 58px !important;
}

.dashboard-page #profile-menu {
    top: 51px !important;
    right: 10px !important;
}

.dashboard-page #create-menu h3 {
    margin: 0 6px 10px !important;
    font-size: 16px !important;
    line-height: 20px !important;
    font-weight: 760 !important;
}

.dashboard-page #create-menu button,
.dashboard-page #create-menu a {
    position: relative;
    min-height: 35px !important;
    padding: 0 8px 0 42px !important;
    font-size: 16px !important;
    line-height: 35px !important;
    font-weight: 480 !important;
    color: rgba(255, 255, 255, 0.86) !important;
}

.dashboard-page #create-menu button::before,
.dashboard-page #create-menu a::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 7px;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 10px;
    font-weight: 760;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
}

.dashboard-page #create-menu .create-company::before {
    content: "F";
    background: linear-gradient(180deg, #23a8ff, #056bdc);
}

.dashboard-page #create-menu .create-location::before {
    content: "P";
    background: linear-gradient(180deg, #ffcf35 0 28%, #252525 28% 100%);
}

.dashboard-page #create-menu .create-connection::before {
    content: "N";
    background: linear-gradient(180deg, #202633, #0d111a);
    color: #32d74b;
}

.dashboard-page #create-menu .create-api::before {
    content: "API";
    background: linear-gradient(180deg, #1e3849, #08131c);
    color: #64d2ff;
    font-size: 8px;
}

.dashboard-page #create-menu .create-stat::before {
    content: "%";
    background: linear-gradient(180deg, #39212a, #170c10);
    color: #ff453a;
}

/* Final exacting topbar pass: compact, aligned, minimal */
.dashboard-page .topbar {
    height: 49px !important;
    min-height: 49px !important;
    padding: 0 13px 0 16px !important;
    background: linear-gradient(90deg, #274c78 0%, #283e75 50%, #2a2777 100%) !important;
    box-shadow: inset 0 -1px rgba(0, 0, 0, 0.18) !important;
}

.dashboard-page .topbar .brand-mark {
    height: 49px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 25px !important;
    line-height: 49px !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
    transform: none !important;
}

.dashboard-page .topbar .brand-cloud {
    display: none !important;
}

.dashboard-page .topbar .brand-mark::before {
    content: "";
    width: 22px;
    height: 16px;
    flex: 0 0 22px;
    display: block;
    background:
        radial-gradient(circle at 38% 42%, #fff 0 6px, transparent 6.4px),
        radial-gradient(circle at 62% 38%, #fff 0 7px, transparent 7.4px),
        radial-gradient(circle at 72% 62%, #fff 0 5px, transparent 5.4px),
        linear-gradient(#fff, #fff);
    background-size: 100% 100%, 100% 100%, 100% 100%, 19px 8px;
    background-position: 0 0, 0 0, 0 0, 2px 8px;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.dashboard-page .topbar-actions {
    height: 49px !important;
    gap: 12px !important;
    align-items: center !important;
}

.dashboard-page .icon-button,
.dashboard-page .avatar-button {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
}

.dashboard-page .icon-button {
    color: #fff !important;
    background: transparent !important;
    font-size: 25px !important;
    line-height: 34px !important;
    font-weight: 360 !important;
}

.dashboard-page .icon-button.is-active,
.dashboard-page .icon-button:hover {
    background: rgba(77, 77, 80, 0.72) !important;
}

.dashboard-page .grid-button {
    color: transparent !important;
    font-size: 0 !important;
    position: relative !important;
}

.dashboard-page .grid-button::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow:
        8px 0 #fff,
        16px 0 #fff,
        0 8px #fff,
        8px 8px #fff,
        16px 8px #fff,
        0 16px #fff,
        8px 16px #fff,
        16px 16px #fff !important;
    transform: translate(-10px, -10px) !important;
}

.dashboard-page .avatar-button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    background:
        radial-gradient(circle at 50% 34%, #f7d4ab 0 29%, transparent 30%),
        radial-gradient(circle at 50% 63%, #102844 0 35%, transparent 36%),
        radial-gradient(circle at 48% 48%, #e5a160 0 49%, #24577a 50% 100%) !important;
}

.dashboard-page .avatar-button:hover,
.dashboard-page .avatar-button.is-active {
    box-shadow: 0 0 0 3px rgba(77, 77, 80, 0.72) !important;
}

.dashboard-page #create-menu {
    top: 49px !important;
    right: 92px !important;
    width: 222px !important;
    padding: 12px 10px !important;
    background: #1f1f21 !important;
}

.dashboard-page #apps-menu {
    top: 49px !important;
    right: 48px !important;
}

.dashboard-page #profile-menu {
    top: 49px !important;
    right: 8px !important;
}

.dashboard-page #create-menu h3 {
    margin: 0 6px 9px !important;
    font-size: 16px !important;
    line-height: 20px !important;
}

.dashboard-page #create-menu button,
.dashboard-page #create-menu a {
    min-height: 35px !important;
    height: 35px !important;
    padding: 0 8px 0 42px !important;
    font-size: 16px !important;
    line-height: 35px !important;
}

.dashboard-page .widget-board {
    margin-top: 58px !important;
}

/* iCloud-style widget windows: tighter, glassy, and consistent */
.dashboard-page .widget-board {
    width: min(1188px, calc(100% - 34px)) !important;
    margin: 62px auto 116px !important;
    gap: 20px !important;
    align-items: start !important;
}

.dashboard-page .widget {
    min-height: 264px !important;
    padding: 88px 24px 22px !important;
    border: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, rgba(6, 10, 21, 0) 0 74px, rgba(1, 5, 15, 0.86) 74px 100%),
        rgba(6, 12, 28, 0.74) !important;
    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.46),
        inset 0 1px rgba(255, 255, 255, 0.045) !important;
    backdrop-filter: blur(30px) saturate(1.18) !important;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease !important;
}

.dashboard-page .widget::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 0 auto 0 !important;
    height: 74px !important;
    border: 0 !important;
    background:
        linear-gradient(90deg, rgba(69, 82, 118, 0.78), rgba(61, 73, 108, 0.72) 58%, rgba(48, 55, 88, 0.8)) !important;
    box-shadow: inset 0 -1px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.07) !important;
    pointer-events: none !important;
}

.dashboard-page .widget:hover {
    transform: translateY(-1px) !important;
    box-shadow:
        0 29px 72px rgba(0, 0, 0, 0.52),
        inset 0 1px rgba(255, 255, 255, 0.055) !important;
}

.dashboard-page .wide-widget {
    grid-column: span 3 !important;
    min-height: 286px !important;
}

.dashboard-page .drive-widget {
    min-height: 292px !important;
}

.dashboard-page .calendar-widget {
    min-height: 264px !important;
}

.dashboard-page .profile-widget {
    min-height: 320px !important;
    padding: 28px 30px 30px !important;
    justify-content: flex-end !important;
    background:
        radial-gradient(circle at 56% 41%, rgba(21, 102, 178, 0.64) 0 18%, transparent 18.6%),
        radial-gradient(circle at 31% 24%, rgba(79, 223, 255, 0.12), transparent 32%),
        linear-gradient(148deg, rgba(0, 105, 189, 0.62), rgba(2, 12, 31, 0.93)) !important;
}

.dashboard-page .profile-widget::before,
.dashboard-page .app-launcher-widget::before {
    display: none !important;
}

.dashboard-page .profile-cloud {
    width: 116px !important;
    height: 116px !important;
    margin-bottom: 24px !important;
    border-radius: 50% !important;
    background:
        radial-gradient(circle at 39% 33%, #efffff 0 10%, #c6fbff 28%, #6ed8ff 50%, #1163bd 72%, #05275c 100%) !important;
    color: #06101b !important;
    font-size: 34px !important;
    line-height: 1 !important;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
}

.dashboard-page .profile-widget h1 {
    font-size: 38px !important;
    line-height: 1 !important;
    font-weight: 760 !important;
}

.dashboard-page .profile-widget p,
.dashboard-page .profile-widget strong {
    font-size: 18px !important;
    line-height: 1.18 !important;
}

.dashboard-page .ghost-link {
    margin-top: 16px !important;
    font-size: 17px !important;
}

.dashboard-page .widget-title {
    z-index: 1 !important;
    top: 16px !important;
    left: 24px !important;
    right: 24px !important;
    min-height: 52px !important;
    gap: 14px !important;
    align-items: center !important;
}

.dashboard-page .widget-title h2 {
    font-size: 29px !important;
    line-height: 1 !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
}

.dashboard-page .widget-title p {
    margin-top: 4px !important;
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
}

.dashboard-page .app-icon,
.dashboard-page .calendar-icon,
.dashboard-page .folder-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
    box-shadow: 0 11px 23px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.15) !important;
}

.dashboard-page .bars-glyph {
    width: 30px !important;
    height: 36px !important;
    gap: 5px !important;
}

.dashboard-page .bars-glyph b {
    width: 7px !important;
}

.dashboard-page .split-list {
    position: relative !important;
    z-index: 1 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 28px !important;
}

.dashboard-page .note-list,
.dashboard-page .metric-list,
.dashboard-page .connections-list {
    position: relative !important;
    z-index: 1 !important;
}

.dashboard-page .split-list a,
.dashboard-page .note-list a,
.dashboard-page .metric-list a,
.dashboard-page .metric-list div,
.dashboard-page .connections-list div {
    min-height: 56px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.082) !important;
}

.dashboard-page .split-list a {
    gap: 18px !important;
}

.dashboard-page .split-list strong,
.dashboard-page .note-list strong {
    font-size: 18px !important;
    line-height: 1.08 !important;
    font-weight: 720 !important;
}

.dashboard-page .split-list a > strong {
    font-size: 20px !important;
    white-space: nowrap !important;
}

.dashboard-page .split-list em,
.dashboard-page .note-list span,
.dashboard-page .metric-list span,
.dashboard-page .connections-list em {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
}

.dashboard-page .note-list a:first-child {
    min-height: 60px !important;
    margin: 0 0 1px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    border-bottom: 0 !important;
    background: rgba(255, 255, 255, 0.115) !important;
}

.dashboard-page .ratio-meter {
    height: 11px !important;
    margin-top: 22px !important;
    background: rgba(255, 255, 255, 0.14) !important;
}

.dashboard-page .big-metric {
    position: relative !important;
    z-index: 1 !important;
    margin: 14px 0 24px !important;
    font-size: clamp(48px, 5vw, 68px) !important;
    line-height: 1 !important;
    font-weight: 780 !important;
}

.dashboard-page .app-launcher-widget {
    min-height: 306px !important;
    padding: 30px 22px 50px !important;
    background:
        linear-gradient(180deg, rgba(2, 6, 17, 0.18), rgba(3, 7, 17, 0.78)),
        rgba(7, 12, 25, 0.58) !important;
}

.dashboard-page .launcher-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px 14px !important;
}

.dashboard-page .launcher-grid a {
    min-height: 86px !important;
    gap: 8px !important;
}

.dashboard-page .launcher-grid .app-icon {
    width: 58px !important;
    height: 58px !important;
}

.dashboard-page .launcher-grid em {
    max-width: 74px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 14px !important;
}

.dashboard-page .drag-handle {
    right: 13px !important;
    bottom: 13px !important;
    width: 38px !important;
    height: 28px !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.76) !important;
    background: transparent !important;
}

@media (max-width: 980px) {
    .dashboard-page .widget-board {
        width: min(720px, calc(100% - 24px)) !important;
        margin-top: 24px !important;
        gap: 16px !important;
    }

    .dashboard-page .widget,
    .dashboard-page .wide-widget {
        min-height: 246px !important;
        padding: 84px 18px 20px !important;
    }

    .dashboard-page .profile-widget {
        min-height: 286px !important;
        padding: 22px 24px 26px !important;
    }

    .dashboard-page .split-list {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

@media (max-width: 640px) {
    .dashboard-page .widget-board {
        width: calc(100% - 18px) !important;
        margin-top: 18px !important;
        gap: 14px !important;
    }

    .dashboard-page .widget,
    .dashboard-page .wide-widget {
        border-radius: 8px !important;
        min-height: 232px !important;
        padding: 82px 16px 18px !important;
    }

    .dashboard-page .widget::before {
        height: 68px !important;
    }

    .dashboard-page .widget-title {
        top: 13px !important;
        left: 16px !important;
        right: 16px !important;
    }

    .dashboard-page .widget-title h2 {
        font-size: 25px !important;
    }

    .dashboard-page .widget-title p {
        font-size: 14px !important;
    }

    .dashboard-page .app-icon,
    .dashboard-page .calendar-icon,
    .dashboard-page .folder-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .dashboard-page .profile-widget {
        min-height: 272px !important;
        padding: 20px 22px 24px !important;
    }

    .dashboard-page .profile-cloud {
        width: 104px !important;
        height: 104px !important;
        margin-bottom: 20px !important;
    }

    .dashboard-page .profile-widget h1 {
        font-size: 34px !important;
    }

    .dashboard-page .app-launcher-widget {
        padding: 24px 16px 46px !important;
    }

    .dashboard-page .launcher-grid {
        gap: 15px 8px !important;
    }

    .dashboard-page .launcher-grid .app-icon {
        width: 52px !important;
        height: 52px !important;
    }
}

/* Prevent tablet/side-panel layouts from creating tiny implicit grid columns. */
@media (min-width: 761px) and (max-width: 1180px) {
    .dashboard-page .widget-board {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-auto-columns: minmax(0, 1fr) !important;
        width: min(1040px, calc(100% - 34px)) !important;
        gap: 18px !important;
        margin-top: 60px !important;
    }

    .dashboard-page .widget,
    .dashboard-page .profile-widget,
    .dashboard-page .notes-widget,
    .dashboard-page .calendar-widget,
    .dashboard-page .app-launcher-widget {
        grid-column: span 1 !important;
        width: auto !important;
        min-width: 0 !important;
    }

    .dashboard-page .wide-widget,
    .dashboard-page .drive-widget {
        grid-column: span 2 !important;
        width: auto !important;
        min-width: 0 !important;
    }

    .dashboard-page .split-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 20px !important;
    }

    .dashboard-page .app-launcher-widget .launcher-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px 10px !important;
    }

    .dashboard-page .app-launcher-widget .launcher-grid .app-icon {
        width: 52px !important;
        height: 52px !important;
    }

    .dashboard-page .app-launcher-widget .launcher-grid em {
        max-width: 68px !important;
        font-size: 13px !important;
    }
}

/* Reference-window pass: stronger iCloud-like proportions and glass color. */
.dashboard-page {
    background:
        linear-gradient(145deg, rgba(0, 124, 213, 0.96) 0 30%, transparent 30.2%),
        linear-gradient(232deg, rgba(8, 28, 151, 0.98) 0 43%, transparent 43.2%),
        linear-gradient(120deg, #0077cf 0%, #0647b8 45%, #080040 100%) !important;
}

.dashboard-page .desktop-hero-note {
    display: none !important;
}

.dashboard-page .widget-board {
    width: min(1168px, calc(100% - 40px)) !important;
    margin: 64px auto 128px !important;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.dashboard-page .widget {
    grid-column: span 2 !important;
    min-height: 362px !important;
    padding: 92px 26px 24px !important;
    border-radius: 8px !important;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0 74px, rgba(2, 7, 18, 0.88) 74px 100%),
        linear-gradient(120deg, rgba(12, 24, 48, 0.56), rgba(4, 8, 20, 0.74)) !important;
    box-shadow:
        0 26px 66px rgba(0, 0, 0, 0.44),
        inset 0 1px rgba(255, 255, 255, 0.055) !important;
}

.dashboard-page .widget::before {
    height: 74px !important;
    background:
        linear-gradient(90deg, rgba(75, 88, 124, 0.82), rgba(65, 78, 114, 0.76) 58%, rgba(54, 62, 96, 0.84)) !important;
}

.dashboard-page [data-widget-id="revenue"],
.dashboard-page [data-widget-id="products"],
.dashboard-page [data-widget-id="api-clients"] {
    grid-column: span 4 !important;
}

.dashboard-page .profile-widget {
    grid-column: span 2 !important;
    min-height: 362px !important;
    padding: 28px 34px 30px !important;
    background:
        radial-gradient(circle at 54% 42%, rgba(20, 100, 180, 0.64) 0 19%, transparent 19.5%),
        linear-gradient(150deg, rgba(0, 93, 168, 0.68), rgba(2, 16, 43, 0.94)) !important;
}

.dashboard-page .profile-cloud {
    width: 122px !important;
    height: 122px !important;
    margin-bottom: 26px !important;
}

.dashboard-page .profile-widget h1 {
    font-size: 38px !important;
}

.dashboard-page .widget-title {
    top: 16px !important;
    left: 26px !important;
    right: 26px !important;
}

.dashboard-page .widget-title h2 {
    font-size: 28px !important;
}

.dashboard-page .widget-title p {
    font-size: 16px !important;
}

.dashboard-page .app-icon,
.dashboard-page .calendar-icon,
.dashboard-page .folder-icon {
    width: 54px !important;
    height: 54px !important;
}

.dashboard-page .split-list {
    gap: 0 34px !important;
}

.dashboard-page .split-list a,
.dashboard-page .note-list a,
.dashboard-page .metric-list a,
.dashboard-page .metric-list div,
.dashboard-page .connections-list div {
    min-height: 58px !important;
}

.dashboard-page .split-list strong,
.dashboard-page .note-list strong {
    font-size: 18px !important;
}

.dashboard-page .split-list a > strong {
    font-size: 21px !important;
}

.dashboard-page .big-metric {
    font-size: 58px !important;
}

.dashboard-page .app-launcher-widget {
    min-height: 362px !important;
    padding: 44px 26px 50px !important;
}

.dashboard-page .app-launcher-widget .launcher-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
}

.dashboard-page .app-launcher-widget .launcher-grid .app-icon {
    width: 58px !important;
    height: 58px !important;
}

.dashboard-page .drag-handle {
    right: 18px !important;
    bottom: 16px !important;
}

@media (min-width: 761px) and (max-width: 1180px) {
    .dashboard-page .widget-board {
        width: min(940px, calc(100% - 34px)) !important;
        grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.35fr) !important;
        gap: 18px !important;
        margin-top: 58px !important;
    }

    .dashboard-page .widget,
    .dashboard-page .profile-widget,
    .dashboard-page [data-widget-id="revenue"],
    .dashboard-page [data-widget-id="products"],
    .dashboard-page [data-widget-id="api-clients"],
    .dashboard-page .wide-widget,
    .dashboard-page .drive-widget {
        grid-column: span 1 !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .dashboard-page .profile-widget {
        min-height: 342px !important;
    }

    .dashboard-page [data-widget-id="revenue"] {
        min-height: 342px !important;
    }

    .dashboard-page [data-widget-id="products"],
    .dashboard-page [data-widget-id="api-clients"] {
        grid-column: span 2 !important;
    }

    .dashboard-page .widget {
        min-height: 304px !important;
        padding: 88px 22px 22px !important;
    }

    .dashboard-page .split-list {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .dashboard-page .app-launcher-widget .launcher-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .dashboard-page .widget-board {
        grid-template-columns: 1fr !important;
        width: calc(100% - 18px) !important;
    }

    .dashboard-page .widget,
    .dashboard-page .profile-widget,
    .dashboard-page [data-widget-id="revenue"],
    .dashboard-page [data-widget-id="products"],
    .dashboard-page [data-widget-id="api-clients"] {
        grid-column: span 1 !important;
        min-height: 292px !important;
    }
}
