:root {
    /* CURSOR reference palette */
    --tp-bg: #07111f;
    --tp-bg-2: #0b1728;
    --tp-sidebar: #050d18;
    --tp-card: rgba(17, 31, 51, .88);
    --tp-card-strong: rgba(22, 39, 62, .88);
    --tp-line: rgba(117,159,218,.26);
    --tp-line-soft: rgba(117,159,218,.14);
    --tp-text: #f4f8ff;
    --tp-soft: #d8e2f0;
    --tp-muted: #9fb1c8;
    --tp-dim: #6f829b;
    --tp-green: #4af08c;
    --tp-green-2: #2ccf77;
    --tp-cyan: #58e6d9;
    --tp-blue: #78b8ff;
    --tp-purple: #a66cff;
    --tp-orange: #ffb33e;
    --tp-red: #ff4d68;
    --tp-pink: #ff4fc7;
    --tp-radius: 18px;
    --tp-radius-lg: 24px;
    --tp-shadow: 0 20px 60px rgba(0,0,0,.32);
    --tp-sidebar-w: 260px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--tp-bg); }

body {
    color: var(--tp-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 0%, rgba(43,214,137,.10), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(83,123,255,.10), transparent 34%),
        linear-gradient(135deg, #06101d 0%, #081320 45%, #101a35 100%);
    overflow: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.tp-app { min-height: 100vh; }

.tp-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--tp-sidebar-w);
    padding: 14px;
    background: linear-gradient(180deg, rgba(5,13,24,.99), rgba(4,10,19,.98));
    border-right: 1px solid rgba(117,159,218,.18);
    z-index: 10;
    overflow: hidden;
}

.tp-sidebar-brand {
    height: 96px;
    padding: 16px 14px 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.tp-sidebar-brand img {
    width: 150px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(255,255,255,.06));
}

.tp-nav { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.tp-nav-inner { height: 100%; overflow: hidden; padding-right: 0; }

.tp-nav a, .tp-nav button {
    min-height: 44px; width: 100%; display: flex; align-items: center; gap: 10px;
    padding: 0 12px; border-radius: 11px; border: 0; background: transparent;
    color: var(--tp-soft); font-size: 15px; cursor: pointer;
}
.tp-nav a.active, .tp-nav a:hover, .tp-nav button:hover {
    color: var(--tp-green);
    background: linear-gradient(90deg, rgba(42, 219, 123, .22), rgba(42, 219, 123, .08));
}
.tp-nav .chev { margin-left: auto; color: var(--tp-green); }
.tp-subnav { margin-left: 18px; display: flex; flex-direction: column; gap: 2px; }
.tp-subnav a { min-height: 30px; font-size: 13px; }

/* removed: tp-plan-card */
.tp-sidebar footer { position: absolute; left: 14px; bottom: 12px; color: #728198; font-size: 11px; line-height: 1.35; }

.tp-main {
    margin-left: var(--tp-sidebar-w);
    width: calc(100% - var(--tp-sidebar-w));
    height: 100vh;
    padding: 16px 18px 22px;
    overflow-y: auto;
    overflow-x: hidden;
}
.tp-shell { max-width: 1680px; margin: 0 auto; }

.tp-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.tp-title h1 { margin: 0; font-size: 25px; line-height: 1.1; letter-spacing: -.3px; }
.tp-title p { margin: 5px 0 0; color: var(--tp-muted); font-size: 13px; }
.tp-top-actions { display: flex; align-items: center; gap: 12px; }

.tp-date-pill {
    min-width: 250px; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 0 16px; border-radius: 14px; border: 1px solid rgba(122, 158, 208, .22);
    background: rgba(7, 15, 28, .78); color: var(--tp-text); font-weight: 700;
}
.tp-bell {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(122, 158, 208, .22); background: rgba(7, 15, 28, .72); position: relative;
}
.tp-badge {
    position: absolute; top: -5px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
    display: grid; place-items: center; border-radius: 50%; background: var(--tp-red);
    color: white; font-size: 11px; font-weight: 900;
}
.tp-profile {
    display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    border-radius: 14px; background: rgba(7, 15, 28, .55); border: 1px solid rgba(122, 158, 208, .16);
}
.tp-avatar, .tp-avatar-sm {
    border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(145deg, rgba(72, 238, 134, .88), rgba(39, 108, 74, .9));
    color: white; font-weight: 900;
}
.tp-avatar { width: 38px; height: 38px; }
.tp-avatar-sm { width: 34px; height: 34px; font-size: 12px; }
.tp-profile small { display: block; color: var(--tp-muted); margin-top: 2px; }

.tp-card.tp-panel,
.tp-panel.tp-card {
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
}

.tp-panel > .tp-card-pad:only-child {
    padding: 18px;
}

.tp-card-header {
    padding: 18px 18px 0;
    margin-bottom: 14px;
}

.tp-card-pad {
    padding: 0 18px 18px;
}

.tp-card, .tp-panel:not(.tp-card), .glass-card {
    border-radius: var(--tp-radius); padding: 16px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, .055), transparent 35%),
        linear-gradient(145deg, var(--tp-card), var(--tp-card-strong));
    border: 1px solid var(--tp-line);
    box-shadow: var(--tp-shadow);
}

/* Stat cards (mobile glass) */
.metric-card,
.tp-stat {
    background:
        linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.025)),
        radial-gradient(circle at 20% 0%, rgba(88,230,217,.14), transparent 38%),
        linear-gradient(145deg, rgba(30,48,72,.82), rgba(10,22,40,.88));
    border: 1px solid rgba(124,164,220,.42);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 18px 45px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
    border-radius: 20px;
}

.tp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.tp-panel-head h2 { margin: 0; font-size: 17px; letter-spacing: -.1px; }
.tp-panel-head a, .tp-link { color: #a8caff; font-size: 13px; text-decoration: underline; }

/* Panel header layout */
.tp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.tp-card-header h3,
.tp-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -.2px;
    color: var(--tp-text);
    line-height: 1.2;
}

.tp-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tp-card-actions a {
    color: #a9cfff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.tp-card-actions a:hover {
    color: #dce8f8;
    text-decoration: underline;
}

.tp-card-link,
.tp-card-link-static {
    white-space: nowrap;
    color: #a9cfff;
    font-size: 13px;
    font-weight: 800;
}

.tp-grid { display: grid; gap: 10px; }
.tp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-dashboard-top { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 12px; }
.tp-dashboard-grid { grid-template-columns: 1.25fr 1fr 1.05fr; align-items: start; }
.tp-page-split { grid-template-columns: 1.2fr .8fr; }

.metric-card {
    min-height: 124px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    overflow: hidden;
    padding: 16px;
}
.metric-card .metric-body,
.metric-card .metric-icon {
    position: relative;
    z-index: 1;
}
.tp-stats-metrics {
    margin-bottom: 14px;
}
.tp-stats-period {
    margin: 0 0 12px;
    color: var(--tp-soft);
    font-size: 14px;
    font-weight: 800;
}
.tp-stats-panels {
    margin-top: 14px;
}
.metric-card span { font-size: 13px; font-weight: 900; }
.metric-card strong { display: block; font-size: 32px; margin: 14px 0 10px; line-height: 1; }
.metric-card small { color: var(--tp-muted); font-size: 13px; }
.metric-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255,255,255,.12), transparent 38%);
    pointer-events: none;
}

.metric-icon {
    align-self: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(88,230,217,.18), rgba(72,239,140,.10));
    border: 1px solid rgba(88,230,217,.24);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 10px 28px rgba(0,0,0,.22);
    color: #dffef8;
    opacity: .95;
}

.metric-icon .tp-stat-svg { width: 22px; height: 22px; }
.tone-green span, .tone-green strong { color: var(--tp-green); }
.tone-blue span, .tone-blue strong { color: #77baff; }
.tone-purple span, .tone-purple strong { color: #d58cff; }
.tone-orange span, .tone-orange strong { color: var(--tp-orange); }
.tone-red span, .tone-red strong { color: var(--tp-red); }

.tp-btn, .tp-btn-outline {
    min-height: 44px; border-radius: 14px; padding: 0 18px;
    border: 1px solid rgba(68, 238, 140, .35);
    background: linear-gradient(135deg, var(--tp-green-2), var(--tp-green));
    color: #fff; font-weight: 900; cursor: pointer;
    box-shadow: 0 14px 32px rgba(35, 210, 111, .20);
}
.tp-btn-outline {
    background: rgba(7, 15, 28, .72); border-color: var(--tp-line);
    color: var(--tp-soft); box-shadow: none;
}

.tp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.tp-search { flex: 1; max-width: 380px; position: relative; }
.tp-search input, .tp-input, .tp-select, .tp-textarea {
    width: 100%; min-height: 50px; border-radius: 14px; padding: 0 14px;
    background: rgba(7, 15, 28, .75); color: var(--tp-text);
    border: 1px solid rgba(128, 166, 215, .32); outline: none;
}
.tp-search input { padding-left: 42px; }
.tp-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--tp-muted); font-style: normal; }
.tp-textarea { padding: 14px; min-height: 120px; resize: vertical; }
.tp-input:focus, .tp-select:focus, .tp-textarea:focus, .tp-search input:focus {
    border-color: rgba(96, 234, 216, .8); box-shadow: 0 0 0 4px rgba(96, 234, 216, .1);
}

.tp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tp-field label { display: block; color: var(--tp-soft); margin-bottom: 8px; font-weight: 700; }

.tp-table { width: 100%; border-collapse: collapse; }
.tp-table th, .tp-table td { padding: 15px 12px; border-bottom: 1px solid var(--tp-line-soft); text-align: left; }
.tp-table th { color: var(--tp-muted); font-size: 13px; font-weight: 800; }
.tp-table td { color: var(--tp-text); }
.tp-table tr:hover td { background: rgba(255, 255, 255, .025); }

.tp-amount-green { color: var(--tp-green) !important; font-weight: 900; }
.tp-amount-red { color: #ff7d8e !important; font-weight: 900; }

.tp-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px;
    border-radius: 8px; font-size: 12px; font-weight: 900;
    background: rgba(72, 238, 134, .13); color: var(--tp-green); white-space: nowrap;
}
.tp-pill.blue { background: rgba(93, 155, 255, .13); color: #8dbbff; }
.tp-pill.purple { background: rgba(173, 92, 255, .16); color: #d58cff; }
.tp-pill.orange { background: rgba(255, 179, 66, .14); color: #ffd083; }
.tp-pill.red { background: rgba(255, 82, 104, .13); color: #ff9daa; }
.tp-pill.gray { background: rgba(159, 176, 197, .13); color: #cbd7e6; }

.tp-list { display: flex; flex-direction: column; }
.tp-list-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--tp-line-soft); }
.tp-list-row:last-child { border-bottom: 0; }
.tp-list-row b { display: block; }
.tp-list-row small { color: var(--tp-muted); }

.circle-icon {
    width: 38px; height: 38px; border-radius: 12px;
    display: grid; place-items: center; font-weight: 900;
    background: rgba(72, 238, 134, .14); color: var(--tp-green);
}

.schedule-panel { min-height: 470px; }
.schedule-tabs {
    display: flex; gap: 4px; padding: 4px; flex-shrink: 0;
    border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--tp-line-soft);
}
.tp-card-actions .schedule-tabs {
    margin: 0;
}
.schedule-tabs button {
    border: 0; border-radius: 9px; padding: 8px 16px; color: var(--tp-soft);
    background: transparent; cursor: pointer; font-weight: 700;
}
.schedule-tabs button.active { background: rgba(255, 255, 255, .14); color: white; }
.timeline { height: 410px; display: grid; grid-template-columns: 52px 1fr; padding-top: 8px; }
.time-col { display: flex; flex-direction: column; justify-content: space-between; color: var(--tp-muted); font-size: 12px; }
.event-col {
    position: relative; margin-left: 12px;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 42px, rgba(255, 255, 255, .05) 43px);
    border-left: 1px solid rgba(255, 255, 255, .08);
}
.now-line { position: absolute; left: -8px; right: 0; top: 170px; height: 2px; background: var(--tp-red); }
.now-line span {
    position: absolute; left: -44px; top: -11px; padding: 5px 7px; border-radius: 12px;
    background: var(--tp-red); color: white; font-size: 11px; font-weight: 900;
}
.event-card {
    position: absolute;
    left: 18px;
    right: 16px;
    border-radius: 10px;
    padding: 8px 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    overflow: hidden;
    isolation: isolate;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .22) 100%);
    pointer-events: none;
    z-index: 0;
}
.event-card > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.event-card b,
.event-card .tp-line-text b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}
.event-card small,
.event-card .tp-line-text small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.15;
    opacity: .82;
    color: #fff;
}
.event-card em {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 700;
    opacity: .9;
    color: #fff;
}
.event-card.green {
    background: linear-gradient(135deg, rgba(62, 214, 133, .88), rgba(44, 138, 104, .82));
}
.event-card.blue {
    background: linear-gradient(135deg, rgba(88, 130, 220, .88), rgba(52, 78, 148, .82));
}
.event-card.purple {
    background: linear-gradient(135deg, rgba(149, 92, 255, .88), rgba(92, 58, 188, .82));
}
.event-card.orange {
    background: linear-gradient(135deg, rgba(210, 138, 58, .88), rgba(140, 88, 38, .82));
}

.summary-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 18px; }
.summary-top span { color: var(--tp-muted); }
.summary-top strong { display: block; font-size: 31px; color: var(--tp-green); margin: 10px 0; }
.summary-top small { color: var(--tp-green); font-weight: 900; }
.mini-bars { display: flex; align-items: flex-end; gap: 18px; height: 98px; }
.mini-bars i, .chart-bar {
    display: block; width: 34px; border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, var(--tp-green), rgba(72, 238, 134, .20));
}
.summary-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.summary-mini div { min-height: 72px; border-radius: 10px; padding: 12px; background: rgba(6, 14, 26, .55); border: 1px solid var(--tp-line-soft); }
.summary-mini span { color: var(--tp-muted); font-size: 12px; }
.summary-mini b { display: block; font-size: 24px; margin-top: 8px; }

.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-actions button {
    min-height: 94px; border-radius: 12px; border: 1px solid var(--tp-line);
    background: rgba(13, 25, 43, .75); color: white; cursor: pointer;
}
.quick-actions i {
    display: grid; place-items: center; margin: 0 auto 10px; width: 38px; height: 38px;
    border-radius: 12px; background: rgba(72, 238, 134, .14); font-style: normal; color: var(--tp-green);
}
.quick-actions b { display: block; font-size: 12px; }

.chart-box {
    height: 260px; display: flex; align-items: flex-end; gap: 36px;
    padding: 24px 32px 32px; border-left: 2px solid rgba(210, 225, 245, .8);
    border-bottom: 2px solid rgba(210, 225, 245, .8);
}
.chart-box.red .chart-bar { background: linear-gradient(180deg, #ff324c, rgba(255, 82, 104, .18)); }

.tp-alert-ok, .tp-alert-bad {
    border: 1px solid rgba(72, 238, 134, .55);
    color: var(--tp-green); background: rgba(72, 238, 134, .06);
    padding: 18px 22px; border-radius: 13px; font-weight: 800;
}
.tp-alert-bad { border-color: rgba(255, 82, 104, .55); color: #ff9daa; background: rgba(255, 82, 104, .06); }

.tp-empty {
    min-height: 180px; display: grid; place-items: center; text-align: center;
    color: var(--tp-muted); border: 1px dashed rgba(122, 158, 208, .26);
    border-radius: 14px; background: rgba(7, 15, 28, .35);
}
.tp-empty strong { display: block; color: var(--tp-text); margin-bottom: 6px; }

/* Custom calendar (Day / List) */
.tp-cal { display: flex; flex-direction: column; gap: 12px; }
.tp-cal-tabs { display: flex; align-items: center; gap: 10px; }
.tp-cal-tab {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(117,159,218,.22);
    background: rgba(7,17,31,.45);
    color: #f4f8ff;
    font-weight: 900;
    cursor: pointer;
}
.tp-cal-tab.active {
    background: linear-gradient(135deg, rgba(72,239,140,.32), rgba(88,230,217,.16));
    border-color: rgba(72,239,140,.45);
    color: var(--tp-green);
}
.tp-cal-daynav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tp-cal-daylabel { color: var(--tp-soft); font-weight: 900; padding: 0 6px; }
.tp-cal-navbtn {
    width: 42px; height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(117,159,218,.22);
    background: rgba(7,17,31,.65);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}
.tp-cal-today {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(117,159,218,.22);
    background: rgba(7,17,31,.65);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}
.tp-cal-day {
    --tp-hour-h: 46px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: start;
}
.tp-cal-timecol { padding-top: calc(var(--tp-hour-h) * .25); }
.tp-cal-hour {
    height: var(--tp-hour-h);
    color: #9fc4ff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-right: 6px;
}
.tp-cal-grid {
    position: relative;
    border-radius: 18px;
    background: rgba(12,25,43,.62);
    border: 1px solid rgba(160,190,230,0.10);
    overflow: hidden;
    min-height: calc(var(--tp-hour-h) * 12);
}
.tp-cal-gridlines { position: absolute; inset: 0; pointer-events: none; }
.tp-cal-gridline {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: rgba(160,190,230,0.08);
}
.tp-cal-now {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: var(--tp-red);
    box-shadow: 0 0 18px rgba(255,80,99,.55);
    z-index: 4;
    pointer-events: none;
}
.tp-cal-now span {
    position: absolute;
    left: 10px;
    top: -12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--tp-red);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}
.tp-cal-events { position: relative; height: calc(var(--tp-hour-h) * 12); }
.tp-cal-ev {
    position: absolute;
    left: 12px;
    right: 12px;
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    color: #fff;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, rgba(62, 214, 133, .88), rgba(44, 138, 104, .82));
}
.tp-cal-ev::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .22) 100%);
    pointer-events: none;
    z-index: 0;
}
.tp-cal-ev.tone-purple {
    background: linear-gradient(135deg, rgba(149, 92, 255, .88), rgba(92, 58, 188, .82));
}
.tp-cal-ev.tone-blue {
    background: linear-gradient(135deg, rgba(88, 130, 220, .88), rgba(52, 78, 148, .82));
}
.tp-cal-ev-title {
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    white-space: normal;
}
.tp-cal-ev-sub {
    position: relative;
    z-index: 1;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.15;
    opacity: .82;
    color: #fff;
    white-space: normal;
}
.tp-cal-list { padding-top: 4px; }

/* Dashboard drag & drop */
.tp-dashboard-sortable {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.tp-dashboard-widget {
    position: relative;
    min-width: 0;
}

.tp-drag-handle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: rgba(255,255,255,.34);
    font-size: 16px;
    cursor: grab;
    user-select: none;
    touch-action: none;
    transition: .18s ease;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.tp-drag-handle:hover { color: rgba(255,255,255,.92); }
.tp-drag-handle:active { cursor: grabbing; }
.tp-drag-ghost { opacity: .35; }
.tp-drag-chosen { transform: scale(.99); }
.tp-reset-layout { white-space: nowrap; }

@media (max-width: 900px) {
    .tp-drag-handle { display: none; }
}

@media (max-width: 1500px) {
    .tp-dashboard-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tp-dashboard-grid, .tp-page-split { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
    :root { --tp-sidebar-w: 76px; }
    .tp-sidebar .label, .tp-brand strong, .tp-plan-card, .tp-sidebar footer, .tp-subnav { display: none; }
    .tp-sidebar { padding: 16px 10px; }
    .tp-nav a, .tp-nav button { justify-content: center; padding: 0; }
    .tp-topbar { align-items: flex-start; flex-direction: column; }
    .tp-dashboard-top, .tp-dashboard-grid, .tp-page-split, .tp-grid-2, .tp-grid-3, .tp-grid-4, .tp-form-grid { grid-template-columns: 1fr; }
}
