/* ================================================== */
/* MODULES - PATIENTS / RECORDS / DISPATCH / MEDICAL  */
/* ================================================== */

.patient-hero {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 22px;
    align-items: center;
    margin: 18px 0;
    padding: 28px;
    color: white;
    border-radius: 26px;
    background:
        radial-gradient(circle at 0 0, rgba(239,51,64,.22), transparent 28%),
        radial-gradient(circle at 100% 30%, rgba(23,139,255,.22), transparent 32%),
        linear-gradient(120deg, rgba(8,23,44,.96), rgba(10,38,76,.94));
}

.photo {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #e8f3ff;
    font-size: 42px;
    background:
        radial-gradient(circle at 35% 25%, #ffffff, #65baff 25%, #0e64c9 58%, #082f65 100%);
    border: 2px solid rgba(160, 215, 255, .65);
    box-shadow:
        0 0 0 4px rgba(0,0,0,.25),
        0 0 28px rgba(23,139,255,.35),
        inset 0 10px 18px rgba(255,255,255,.35),
        inset 0 -14px 22px rgba(0,0,0,.26);
}

.tabs {
    position: sticky;
    top: 94px;
    z-index: 8;
    display: flex;
    gap: 10px;
    padding: 12px 0;
    margin: 0 0 14px;
    background: linear-gradient(180deg, rgba(2,7,19,.88), rgba(2,7,19,.62), transparent);
    backdrop-filter: blur(10px);
}

.tabs button {
    color: #eaf4ff;
    background: linear-gradient(180deg, #30445f 0%, #172a47 48%, #0c1a30 100%);
    border: 1px solid rgba(100, 165, 255, 0.24);
}

.tabs button.active {
    color: #ffffff;
    border-color: rgba(255, 120, 132, 0.58);
    background: linear-gradient(180deg, #ff6170, #d41d30 48%, #84111b);
    box-shadow:
        0 0 26px rgba(239,51,64,.24),
        inset 0 1px 0 rgba(255,255,255,.34),
        inset 0 -12px 22px rgba(0,0,0,.26);
}

.tabs button.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 3px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.46);
}

.sheet {
    padding: 26px;
    margin-bottom: 18px;
}

.sheet h3 {
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(100,165,255,.22);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px 32px;
}

.info {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 8px;
    font-size: 14px;
    color: var(--text-soft);
}

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

.info span {
    color: var(--text);
}

.record-card {
    position: relative;
    padding: 18px 18px 18px 28px;
    margin-bottom: 14px;
    border-radius: 18px;
}

.record-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    border-radius: 18px 0 0 18px;
    background: var(--green);
    box-shadow: 0 0 18px rgba(22,210,118,.38);
}

.record-card.moderate::after {
    background: var(--orange);
    box-shadow: 0 0 18px rgba(255,155,33,.38);
}

.record-card.heavy::after {
    background: var(--red);
    box-shadow: 0 0 18px rgba(239,51,64,.38);
}

.record-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(100,165,255,.20);
}

.record-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dispatch-section {
    margin-bottom: 22px;
}

.dispatch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 16px;
}

.dispatch-card {
    padding: 19px;
    border-color: rgba(239,51,64,.26);
    background:
        radial-gradient(circle at 100% 0%, rgba(239,51,64,.14), transparent 32%),
        linear-gradient(180deg, rgba(20,35,58,.94), rgba(22,11,22,.92));
}

.dispatch-card h4 {
    margin: 0 0 14px;
    font-size: 24px;
    text-shadow: 0 0 16px rgba(255,255,255,.10);
}

.dispatch-member {
    padding: 11px 13px;
    margin: 9px 0;
    border-radius: 15px;
    background: rgba(4, 13, 28, 0.34);
    border: 1px solid rgba(100, 165, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.dispatch-member span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.dispatch-member b {
    display: block;
    margin-top: 3px;
    color: var(--text);
}

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

.mini-vehicle {
    padding: 12px;
    border-radius: 14px;
    color: var(--text-soft);
    background: rgba(4, 13, 28, .34);
    border: 1px solid rgba(100,165,255,.18);
    font-size: 13px;
}

/* ================================================== */
/* VISITS / PPA DETAILS                               */
/* ================================================== */

.visit-detail,
.ppa-detail,
.visit-card,
.ppa-card {
    color: var(--text);
}

.visit-detail,
.ppa-detail {
    margin-top: 12px;
    padding: 26px;
    border-left: 4px solid var(--blue);
}

.visit-detail h3,
.ppa-detail h3 {
    margin-top: 0;
    color: var(--text);
}

.visit-detail h4,
.ppa-detail h4 {
    color: var(--text);
    border-top: 1px solid rgba(100,165,255,.20);
    padding-top: 14px;
}

/* ================================================== */
/* V5.1 RC FINAL PREMIUM UI - MOCKUP MATCH             */
/* ================================================== */

.app {
    background:
        radial-gradient(circle at 20% 0%, rgba(23, 139, 255, 0.16), transparent 30%),
        radial-gradient(circle at 80% 18%, rgba(23, 139, 255, 0.10), transparent 28%),
        linear-gradient(145deg, #020712 0%, #051225 48%, #07182f 100%);
}

.sidebar {
    width: 330px;
    padding: 26px 22px;
    border: 1px solid rgba(80, 155, 255, 0.34);
    border-left: 1px solid rgba(80, 155, 255, 0.34);
    border-radius: 0 28px 28px 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(239, 51, 64, 0.16), transparent 25%),
        radial-gradient(circle at 100% 100%, rgba(23, 139, 255, 0.18), transparent 35%),
        linear-gradient(180deg, rgba(5, 17, 36, 0.98), rgba(5, 18, 37, 0.96));
    box-shadow:
        0 0 0 1px rgba(255,255,255,.03),
        0 0 45px rgba(23,139,255,.16),
        24px 0 80px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.main {
    margin-left: 330px;
    margin-right: 164px;
    width: calc(100% - 494px);
    padding: 24px 34px 48px;
}

.brand {
    padding: 18px 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 12%, rgba(239,51,64,.22), transparent 30%),
        radial-gradient(circle at 90% 14%, rgba(23,139,255,.18), transparent 32%),
        linear-gradient(180deg, rgba(12,33,63,.94), rgba(6,18,38,.95));
    border-color: rgba(105, 172, 255, .34);
}

.brand-logo {
    width: 82px;
    height: 82px;
}

.brand-text h1 {
    font-size: 38px;
}

.brand-text p {
    font-size: 12px;
    line-height: 1.2;
}

.brand-text span {
    color: #ff3347;
}

.nav {
    gap: 14px;
    padding-top: 30px;
}

.nav-btn {
    min-height: 52px;
    padding: 0 18px;
    font-size: 17px;
    font-weight: 700;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    border-radius: 16px;
}

.nav-btn::before,
.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background: linear-gradient(180deg, rgba(15,41,77,.70), rgba(8,22,44,.74));
    border-color: rgba(100,165,255,.22);
    box-shadow:
        0 0 18px rgba(23,139,255,.12),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.nav-btn.active {
    background:
        radial-gradient(circle at 90% 0%, rgba(255,255,255,.40), transparent 17%),
        linear-gradient(180deg, #ff5866 0%, #c91426 48%, #700913 100%);
    border-color: rgba(255, 124, 136, .72);
    box-shadow:
        0 0 24px rgba(239,51,64,.45),
        0 0 12px rgba(23,139,255,.20),
        inset 0 1px 0 rgba(255,255,255,.42),
        inset 0 -18px 28px rgba(0,0,0,.24);
}

.profile {
    margin-top: auto;
    padding: 22px 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 100%, rgba(23,139,255,.20), transparent 38%),
        linear-gradient(180deg, rgba(11,31,60,.68), rgba(6,17,35,.75));
    border: 1px solid rgba(100,165,255,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.profile-badge {
    width: 86px;
    height: 86px;
}

/* Topbar */

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(360px, 520px) 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 74px;
    padding: 0 0 18px;
}

.topbar .page-heading {
    display: none;
}

.search-pill {
    height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-radius: 28px;
    color: #dcecff;
    background:
        linear-gradient(180deg, rgba(9,26,52,.92), rgba(4,14,31,.94));
    border: 1px solid rgba(120,178,255,.32);
    box-shadow:
        0 18px 40px rgba(0,0,0,.34),
        inset 0 1px 0 rgba(255,255,255,.10),
        inset 0 -14px 28px rgba(0,0,0,.18);
}

.search-pill span {
    font-size: 30px;
    line-height: 1;
    opacity: .86;
}

.search-pill input {
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #eaf4ff;
    font-size: 16px;
}

.top-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

.notif-btn {
    width: 54px;
    height: 54px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 24px;
    background: linear-gradient(180deg, rgba(17,40,73,.82), rgba(5,16,35,.92));
}

.notif-btn span {
    position: absolute;
    top: -5px;
    right: -6px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ef233c;
    font-size: 13px;
}

.doctor-chip {
    height: 58px;
    min-width: 280px;
    display: grid;
    grid-template-columns: 48px 1fr 20px;
    align-items: center;
    gap: 12px;
    padding: 6px 14px 6px 8px;
    border-radius: 30px;
    text-align: left;
    background: linear-gradient(180deg, rgba(15,37,70,.90), rgba(5,16,34,.92));
    border-color: rgba(120,178,255,.34);
}

.doctor-chip::before,
.doctor-chip::after {
    display: none;
}

.doctor-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #eaf4ff;
    background:
        radial-gradient(circle at 35% 20%, #ffffff, #bcd6f5 20%, #466b9e 52%, #0c244b 100%);
    border: 2px solid rgba(230,242,255,.75);
    box-shadow: 0 0 18px rgba(23,139,255,.28);
}

.doctor-avatar::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #18db62;
    border: 2px solid #071426;
}

.doctor-info b {
    display: block;
    color: #2f9bff;
    font-size: 16px;
    font-weight: 900;
}

.doctor-info small {
    display: block;
    margin-top: 2px;
    color: #b7c5d8;
    font-size: 13px;
}

.doctor-chip em {
    font-style: normal;
    color: #ffffff;
    font-size: 22px;
}

/* Welcome banner */

.welcome-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 340px 120px;
    align-items: center;
    gap: 20px;
    min-height: 112px;
    margin-bottom: 16px;
    padding: 24px 30px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(23,139,255,.18), transparent 35%),
        linear-gradient(180deg, rgba(13,35,68,.90), rgba(6,20,42,.92));
    border: 1px solid rgba(80,165,255,.42);
    box-shadow:
        0 0 32px rgba(23,139,255,.16),
        0 24px 60px rgba(0,0,0,.32),
        inset 0 1px 0 rgba(255,255,255,.10);
}

.welcome-banner h2 {
    margin: 0;
    font-size: 26px;
    color: #ffffff;
}

.welcome-banner h2 span {
    color: #178bff;
    text-shadow: 0 0 18px rgba(23,139,255,.55);
}

.welcome-banner p {
    margin: 8px 0 0;
    color: #eef6ff;
    font-size: 17px;
}

.ecg-line {
    position: relative;

    width: 340px;
    height: 80px;

    overflow: hidden;

    opacity: 0.95;
}


/* Halo rouge en arrière-plan */
.ecg-line::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 40, 40, 0.28) 0%,
            rgba(255, 40, 40, 0.16) 35%,
            rgba(255, 40, 40, 0.06) 62%,
            transparent 88%
        );

    filter: blur(18px);

    z-index: 0;
}


/* Conteneur SVG */
.ecg-line svg {
    position: relative;

    width: 100%;
    height: 100%;

    z-index: 1;
}


/* Ligne ECG */
.ecg-path {
    fill: none;

    stroke: #ff3b3b;
    stroke-width: 4;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 900;
    stroke-dashoffset: 900;

    filter:
        drop-shadow(0 0 4px rgba(255, 59, 59, 1))
        drop-shadow(0 0 10px rgba(255, 0, 0, 0.85))
        drop-shadow(0 0 22px rgba(255, 0, 0, 0.45));

    animation: ecgDraw 2.2s linear infinite;
}


/* Animation du tracé */
@keyframes ecgDraw {
    0% {
        stroke-dashoffset: 900;
        opacity: 0.15;
    }

    12% {
        opacity: 1;
    }

    70% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -900;
        opacity: 0.15;
    }
}

.ems-watermark {
    position: absolute;
    right: 42px;
    top: 50%;

    transform: translateY(-50%);

    width: 118px;
    height: 118px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 90px;
    font-weight: 900;
    line-height: 1;

    color: rgba(80, 170, 255, 0.72);

    text-shadow:
        0 0 8px rgba(120, 200, 255, 0.95),
        0 0 18px rgba(0, 132, 255, 0.75),
        0 0 36px rgba(0, 132, 255, 0.45);

    background:
        radial-gradient(
            circle,
            rgba(0, 132, 255, 0.22) 0%,
            rgba(0, 132, 255, 0.10) 42%,
            transparent 72%
        );

    filter:
        drop-shadow(0 0 14px rgba(0, 132, 255, 0.75))
        drop-shadow(0 0 34px rgba(0, 132, 255, 0.35));

    opacity: 0.95;

    animation:
        emsPulse 2.6s ease-in-out infinite,
        emsFloat 6s ease-in-out infinite;
}

.ems-watermark::before {
    content: "";

    position: absolute;
    inset: 8px;

    border-radius: 50%;

    border: 1px solid rgba(130, 210, 255, 0.28);

    box-shadow:
        inset 0 0 22px rgba(0, 132, 255, 0.28),
        0 0 24px rgba(0, 132, 255, 0.32);

    animation: emsRing 3.5s linear infinite;
}

.ems-watermark::after {
    content: "";

    position: absolute;
    inset: -14px;

    border-radius: 50%;

    background:
        conic-gradient(
            from 0deg,
            transparent 0deg,
            rgba(0, 132, 255, 0.0) 60deg,
            rgba(80, 180, 255, 0.35) 95deg,
            transparent 130deg,
            transparent 360deg
        );

    filter: blur(8px);

    animation: emsRotate 4.8s linear infinite;

    z-index: -1;
}


/* Animation respiration lumineuse */
@keyframes emsPulse {
    0%,
    100% {
        opacity: 0.72;
        transform: translateY(-50%) scale(0.96);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.04);
    }
}


/* Animation flottement léger */
@keyframes emsFloat {
    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -4px;
    }
}


/* Anneau lumineux */
@keyframes emsRing {
    0% {
        box-shadow:
            inset 0 0 18px rgba(0, 132, 255, 0.22),
            0 0 18px rgba(0, 132, 255, 0.22);
    }

    50% {
        box-shadow:
            inset 0 0 30px rgba(0, 132, 255, 0.42),
            0 0 34px rgba(0, 132, 255, 0.42);
    }

    100% {
        box-shadow:
            inset 0 0 18px rgba(0, 132, 255, 0.22),
            0 0 18px rgba(0, 132, 255, 0.22);
    }
}


/* Halo tournant */
@keyframes emsRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* Stats */

.premium-stats {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.stat {
    min-height: 132px;
    display: grid;
    grid-template-columns: 72px 1fr 38px;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 10%, rgba(53,215,255,.24), transparent 30%),
        linear-gradient(180deg, #0b55c5 0%, #072b75 46%, #031733 100%);
    border: 1px solid rgba(65, 179, 255, .58);
    box-shadow:
        0 0 28px rgba(23,139,255,.30),
        0 18px 50px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.24),
        inset 0 -18px 35px rgba(0,0,0,.22);
}

.stat-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 38px;
    text-shadow: 0 0 18px rgba(255,255,255,.80);
    filter: drop-shadow(0 0 14px rgba(147,215,255,.75));
}

.stat-content span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.stat-content b {
    margin: 2px 0 0;
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
    font-weight: 500;
}

.stat-content small {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.82);
    font-size: 12px;
}

.stat-arrow {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    font-size: 18px;
}

/* Dashboard grid */

.premium-dashboard {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel {
    padding: 16px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 0 0, rgba(23,139,255,.12), transparent 35%),
        linear-gradient(180deg, rgba(10,31,60,.92), rgba(4,17,36,.92));
    border-color: rgba(73,155,255,.32);
}

.panel-red {
    background:
        radial-gradient(circle at 0 0, rgba(239,51,64,.25), transparent 34%),
        linear-gradient(180deg, rgba(34,14,28,.94), rgba(5,16,34,.92));
    border-color: rgba(239,51,64,.42);
    box-shadow: var(--shadow-deep), 0 0 28px rgba(239,51,64,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.panel-blue {
    box-shadow: var(--shadow-deep), 0 0 28px rgba(23,139,255,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.panel-head h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

.panel-head h3 span {
    font-size: 28px;
    color: #ffffff;
    filter: drop-shadow(0 0 12px currentColor);
}

.mini-btn {
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 13px;
    background: linear-gradient(180deg, rgba(39,57,87,.90), rgba(7,22,43,.96));
}

.compact-list {
    gap: 4px;
}

.dash-row {
    display: grid;
    grid-template-columns: 42px 1fr auto auto;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 9px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(11,31,58,.62), rgba(5,17,35,.55));
    border: 1px solid rgba(100,165,255,.10);
    box-shadow: none;
    cursor: pointer;
}

.row-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 20%, #ffffff, #6ebaff 24%, #0c56ba 70%, #06275a 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 12px rgba(23,139,255,.35);
}

.row-main b,
.row-main small {
    display: block;
}

.row-main small,
.row-date {
    color: #c9d8ea;
    font-size: 12px;
}

.row-date {
    text-align: right;
}

.wide-action {
    display: block;
    width: 46%;
    margin: 10px auto 0;
    padding: 10px;
}

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

.operation-card {
    position: relative;
    min-height: 160px;
    padding: 14px;
    border-radius: 13px;
    background:
        radial-gradient(circle at 0 0, rgba(239,51,64,.18), transparent 36%),
        linear-gradient(180deg, rgba(80,24,35,.72), rgba(12,15,32,.86));
    border: 1px solid rgba(239,51,64,.28);
}

.status-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #21d75b;
    box-shadow: 0 0 12px rgba(33,215,91,.75);
}

.status-dot.orange {
    background: #ff9b21;
    box-shadow: 0 0 12px rgba(255,155,33,.75);
}

.status-dot.red-dot {
    background: #ff213c;
    box-shadow: 0 0 12px rgba(255,33,60,.75);
}

.operation-card b,
.operation-card strong,
.operation-card small {
    display: block;
}

.operation-card b {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 19px;
}

.operation-card small {
    margin-top: 8px;
    color: #b8c5d8;
}

.operation-card strong {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 500;
}

.activity-row {
    display: grid;
    grid-template-columns: 26px 1fr 1.1fr auto;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.activity-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    font-size: 12px;
    background: linear-gradient(180deg, #a855f7, #5b21b6);
}

.activity-row b,
.activity-row span,
.activity-row small {
    font-size: 12px;
}

/* Right quick rail */

.quick-rail {
    top: 114px;
    right: 28px;
    width: 132px;
    padding: 22px 12px;
    gap: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(7,25,49,.88), rgba(4,15,32,.92));
}

.orb-action {
    width: 100%;
    min-height: 116px;
}

.orb-action span {
    width: 82px;
    height: 82px;
    font-size: 42px;
}

.orb-action.purple span {
    background: radial-gradient(circle at 38% 22%, #f2d6ff 0%, #b56aff 20%, #7c28d6 54%, #3a0d6b 100%);
    border-color: rgba(216,165,255,.85);
    box-shadow: 0 0 0 4px rgba(0,0,0,.36), 0 0 28px rgba(168,85,247,.65), inset 0 9px 14px rgba(255,255,255,.34), inset 0 -12px 20px rgba(0,0,0,.34);
}

.orb-action.red span {
    background: radial-gradient(circle at 38% 22%, #ffe6e8 0%, #ff7480 20%, #ef3340 54%, #7a0711 100%);
    border-color: rgba(255,150,160,.85);
}

/* General pages keep readable on premium dark */

.row {
    border-radius: 16px;
}

