@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #0e0c15;
    --bg-sidebar: #13101f;
    --bg-card: #1a1728;
    --bg-card-hover: #221e32;
    --primary: #8B5CF6;
    --primary-hover: #7c3aed;
    --primary-glow: rgba(139,92,246,0.25);
    --accent-pink: #d946ef;
    --text-main: #f1f0f5;
    --text-muted: #7c7a8e;
    --border: #2a263d;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #6366f1;

    --tag-health-fg: #10b981; --tag-health-bg: rgba(16,185,129,0.12);
    --tag-work-fg: #6366f1;   --tag-work-bg: rgba(99,102,241,0.12);
    --tag-personal-fg: #f59e0b; --tag-personal-bg: rgba(245,158,11,0.12);
    --tag-general-fg: #94a3b8;  --tag-general-bg: rgba(148,163,184,0.1);
}

*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif;}

html, body {height:100%; overflow:hidden;}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    display: flex;
}

::-webkit-scrollbar{width:5px;}
::-webkit-scrollbar-track{background:transparent;}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px;}

.sidebar {
    width: 230px;
    min-width: 230px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    padding: 2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100vh;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.5px;
}

.logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
    box-shadow: 0 0 14px var(--primary-glow);
}

.nav-links {list-style:none; display:flex; flex-direction:column; gap:.4rem; flex:1;}

.nav-item a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all .2s;
}

.nav-item a i { font-size: 1.1rem; }

.nav-item a:hover {
    background: rgba(139,92,246,.08);
    color: var(--text-main);
}

.nav-item.active a {
    background: rgba(139,92,246,.15);
    color: var(--primary);
    box-shadow: inset 3px 0 0 var(--primary);
}

.sidebar-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: .78rem;
    color: var(--text-muted);
    text-align: center;
}

.main-content {
    flex: 1;
    padding: 2rem 3rem;
    overflow-y: auto;
    height: 100vh;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.greeting h1 { font-size: 1.7rem; font-weight: 700; margin-bottom: 3px; }
.greeting p  { color: var(--text-muted); font-size: .9rem; }

.profile-pic {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    overflow: hidden;
    box-shadow: 0 0 10px var(--primary-glow);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    transition: transform .2s, box-shadow .2s;
}

.card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.3); }

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title span { font-size:.8rem; color:var(--text-muted); font-weight:400; cursor:pointer; }

.progress-card {
    background: linear-gradient(135deg, #1a1728 0%, #221532 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
    box-shadow: 0 4px 24px rgba(139,92,246,.08);
}

.progress-info h2 { font-size: 1rem; color: var(--text-muted); margin-bottom: 8px; }
.progress-stats   { font-size: 2.4rem; font-weight: 700; }
.progress-stats small { font-size: 1rem; color: var(--text-muted); font-weight: 500; }

.progress-bar-wrap {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-bar-bg {
    width: 100%; height: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 4px; overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent-pink));
    border-radius: 4px;
    transition: width .6s ease;
}

.progress-pct {
    text-align: right;
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
}

.task-list { display: flex; flex-direction: column; gap: .8rem; }

.task-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .2s;
}

.task-card:hover { background: var(--bg-card-hover); transform: translateX(4px); }

.task-left { display: flex; align-items: center; gap: 14px; }

.check-btn {
    width: 26px; height: 26px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    color: transparent;
    font-size: .75rem;
    transition: all .2s;
    flex-shrink: 0;
}

.check-btn:hover { border-color: var(--primary); color: var(--primary); }

.task-card.completed .check-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.task-title { font-weight: 600; font-size: .95rem; }
.task-time  { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }

.task-card.completed .task-title {
    text-decoration: line-through;
    color: var(--text-muted);
}

.file-link {
    font-size: .78rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.file-link:hover { text-decoration: underline; }

.task-right { display: flex; align-items: center; gap: .8rem; }

.delete-btn {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    opacity: 0;
    transition: opacity .2s, color .2s;
}

.task-card:hover .delete-btn { opacity: 1; }
.delete-btn:hover { color: var(--danger); }

.tag {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}

.tag.Health   { color: var(--tag-health-fg);   background: var(--tag-health-bg); }
.tag.Work     { color: var(--tag-work-fg);     background: var(--tag-work-bg); }
.tag.Personal { color: var(--tag-personal-fg); background: var(--tag-personal-bg); }
.tag.General  { color: var(--tag-general-fg);  background: var(--tag-general-bg); }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.8rem;
}

.add-task-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.6rem;
    height: fit-content;
    position: sticky;
    top: 0;
}

.add-task-panel h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1.4rem; }

.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 11px 13px;
    background: #0e0c15;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    outline: none;
    font-size: .9rem;
    transition: border .2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

.select-wrap { position: relative; }
.select-wrap::after {
    content: '▾';
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

option {
    background: #1a1728;
    color: var(--text-main);
}

.file-upload { position: relative; overflow: hidden; display: inline-block; width: 100%; }
.file-upload input[type=file] { position: absolute; left:0; top:0; opacity:0; cursor:pointer; width:100%; height:100%; }

.file-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 11px;
    border: 1.5px dashed var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer; font-size: .88rem;
    transition: all .2s;
}

.file-btn:hover { border-color: var(--primary); color: var(--primary); }

.btn-submit {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff; border: none; border-radius: 12px;
    font-size: .95rem; font-weight: 700;
    cursor: pointer; margin-top: .5rem;
    transition: opacity .2s, transform .1s;
    box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-submit:hover { opacity: .9; }
.btn-submit:active { transform: scale(.98); }

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}
.empty-state i { font-size: 2.5rem; margin-bottom: .8rem; display:block; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.8rem; }

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem;
    text-align: center;
}

.stat-number { font-size: 2.2rem; font-weight: 700; }
.stat-label  { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

.stat-card.green  { border-color: rgba(16,185,129,.3); }
.stat-card.green  .stat-number { color: var(--success); }
.stat-card.purple .stat-number { color: var(--primary); }
.stat-card.orange .stat-number { color: var(--warning); }

.donut-wrap { display: flex; justify-content: center; align-items: center; margin: 1rem 0; }

.donut-ring {
    width: 130px; height: 130px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--pct) * 1%), #2a263d 0);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}

.donut-ring::before {
    content: '';
    position: absolute;
    width: 90px; height: 90px;
    background: var(--bg-card);
    border-radius: 50%;
}

.donut-label {
    position: relative; z-index: 1;
    font-size: 1.2rem; font-weight: 700; color: var(--primary);
}

.cat-bar-wrap { display: flex; flex-direction: column; gap: .8rem; margin-top: 1rem; }
.cat-bar-row { display: flex; flex-direction: column; gap: 4px; }
.cat-bar-header { display: flex; justify-content: space-between; font-size: .85rem; }
.cat-bar-bg { height: 6px; background: rgba(255,255,255,.07); border-radius: 3px; overflow: hidden; }
.cat-bar-fill { height: 100%; border-radius: 3px; transition: width .6s; }
.cat-fill-health   { background: var(--tag-health-fg); }
.cat-fill-work     { background: var(--tag-work-fg); }
.cat-fill-personal { background: var(--tag-personal-fg); }
.cat-fill-general  { background: var(--tag-general-fg); }

.cal-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.8rem;
}

.cal-month-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem; font-weight: 600;
}

.cal-days {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 4px; text-align: center;
}

.cal-day-name { font-size: .75rem; color: var(--text-muted); padding: 6px 0; font-weight: 600; }

.cal-day {
    padding: 8px 4px;
    border-radius: 10px;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cal-day:hover { background: rgba(139,92,246,.1); }
.cal-day.today {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 10px var(--primary-glow);
}
.cal-day.selected {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
    background: rgba(139,92,246,.15);
    color: var(--text-main);
    font-weight: 700;
}
.cal-day.today.selected {
    background: var(--primary);
    outline: 2px solid var(--accent-pink);
}
.cal-day.other-month { color: #3a3654; pointer-events: none; }

.widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.widget-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.6rem;
    display: flex; flex-direction: column; gap: .8rem;
    transition: all .2s;
}

.widget-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }

.widget-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}

.widget-icon.purple { background: rgba(139,92,246,.15); color: var(--primary); }
.widget-icon.green  { background: rgba(16,185,129,.15);  color: var(--success); }
.widget-icon.orange { background: rgba(245,158,11,.15);  color: var(--warning); }
.widget-icon.pink   { background: rgba(217,70,239,.15);  color: var(--accent-pink); }
.widget-icon.blue   { background: rgba(99,102,241,.15);  color: var(--info); }
.widget-icon.red    { background: rgba(239,68,68,.15);   color: var(--danger); }

.widget-title { font-weight: 700; font-size: 1.05rem; }
.widget-value { font-size: 2rem; font-weight: 800; }
.widget-sub   { font-size: .82rem; color: var(--text-muted); }

.ring-wrap { display: flex; justify-content: center; }
.ring {
    width: 90px; height: 90px; border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--pct)*1%), #2a263d 0);
    display: flex; align-items: center; justify-content: center; position: relative;
}
.ring::before {
    content:''; position:absolute;
    width:66px; height:66px;
    background: var(--bg-card); border-radius:50%;
}
.ring-label { position:relative; z-index:1; font-size:.9rem; font-weight:700; color: var(--primary); }

.notif-list { display: flex; flex-direction: column; gap: .9rem; }

.notif-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    display: flex; gap: 14px; align-items: flex-start;
    transition: all .2s;
}

.notif-card:hover { background: var(--bg-card-hover); }

.notif-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}

.notif-icon.reminder { background: rgba(139,92,246,.15); color: var(--primary); }
.notif-icon.alert    { background: rgba(239,68,68,.12);  color: var(--danger); }
.notif-icon.success  { background: rgba(16,185,129,.12); color: var(--success); }
.notif-icon.info     { background: rgba(99,102,241,.12); color: var(--info); }

.notif-body { flex: 1; }
.notif-title { font-weight: 600; font-size: .9rem; }
.notif-msg   { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }
.notif-time  { font-size: .75rem; color: var(--text-muted); margin-top: 5px; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

.settings-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem; }

.settings-section h3 {
    font-size: .9rem; font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 1.2rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--border);
}

.setting-row {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: .8rem 0;
    border-bottom: 1px solid var(--border);
}

.setting-row:last-child { border-bottom: none; }
.setting-label { font-size: .9rem; font-weight: 500; }
.setting-sub   { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }

.toggle { position: relative; display: inline-block; width: 42px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer;
    inset: 0; background: #2a263d;
    border-radius: 24px; transition: .3s;
}
.toggle-slider::before {
    content: ''; position: absolute;
    width: 18px; height: 18px;
    left: 3px; bottom: 3px;
    background: #fff; border-radius: 50%;
    transition: .3s;
}
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }

.badge {
    padding: 3px 10px; border-radius: 20px;
    font-size: .75rem; font-weight: 600;
    background: rgba(139,92,246,.15); color: var(--primary);
}

.btn-sm {
    padding: 6px 14px; border-radius: 8px;
    background: rgba(139,92,246,.15); color: var(--primary);
    border: none; cursor: pointer; font-size: .82rem; font-weight: 600;
    transition: background .2s;
}
.btn-sm:hover { background: var(--primary); color: #fff; }

.btn-danger-sm {
    padding: 6px 14px; border-radius: 8px;
    background: rgba(239,68,68,.12); color: var(--danger);
    border: none; cursor: pointer; font-size: .82rem; font-weight: 600;
    transition: background .2s;
}
.btn-danger-sm:hover { background: var(--danger); color: #fff; }

/* ── CUSTOM TIME PICKER ───────────────────────────────────── */
.time-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 13px;
    background: #0e0c15;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: .9rem;
    transition: border .2s, color .2s;
    user-select: none;
}
.time-trigger:hover, .time-trigger.has-value {
    border-color: var(--primary);
    color: var(--text-main);
}

.time-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9998;
}
.time-overlay.open { display: block; }

.time-modal {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    z-index: 9999;
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    width: 320px;
    box-shadow: 0 10px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(139,92,246,.15);
    animation: tpSlide .2s cubic-bezier(.34,1.56,.64,1);
}
.time-overlay.open + .time-modal { display: block; }
@keyframes tpSlide {
    from { opacity:0; transform:translateY(10px) scale(.95); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}
.time-modal-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .6rem;
}
.time-preview-display {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--primary-glow);
}
.time-wheels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}
.time-wheel-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}
.time-wheel-label {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.wheel-outer {
    position: relative;
    width: 100px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.03);
}
.wheel-outer::before, .wheel-outer::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 80px;
    pointer-events: none;
    z-index: 3;
}
.wheel-outer::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-card) 0%, transparent 100%);
}
.wheel-outer::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
}
.wheel-band {
    position: absolute;
    left: 6px; right: 6px;
    top: 50%; transform: translateY(-50%);
    height: 52px;
    background: rgba(139,92,246,.12);
    border: 1px solid rgba(139,92,246,.35);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}
.wheel-scroll {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.wheel-scroll::-webkit-scrollbar { display: none; }
.wheel-item {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    scroll-snap-align: center;
    color: rgba(241,240,245,.18);
    transition: color .12s, font-size .12s;
    font-variant-numeric: tabular-nums;
    user-select: none;
    cursor: pointer;
}
.wheel-item.near  { color: rgba(241,240,245,.45); font-size: 1.6rem; }
.wheel-item.sel   { color: var(--primary); font-size: 1.9rem; }
.wheel-item.empty { pointer-events: none; }
.time-sep {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    opacity: .7;
    margin-top: .8rem;
}
.time-actions {
    display: flex;
    gap: .8rem;
    margin-top: 1.6rem;
}
.btn-ghost {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: transparent;
    color: var(--text-muted);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ── WEEKLY GROUPED CHART ─────────────────────────────────── */
.week-chart-wrap {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 160px;
    padding-top: 10px;
}
.week-day-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 2px;
}
.week-bar-group {
    width: 100%;
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 130px;
    justify-content: center;
}
.week-bar {
    flex: 1;
    border-radius: 5px 5px 0 0;
    max-width: 18px;
    transition: height .7s cubic-bezier(.34,1.1,.64,1);
    min-height: 0;
}
.week-bar.comp { background: linear-gradient(180deg, #8B5CF6, #6d28d9); }
.week-bar.pend { background: linear-gradient(180deg, #f59e0b, #d97706); }
.week-day-lbl {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}
.week-day-lbl.today-lbl { color: var(--primary); }
.week-count { font-size: .65rem; color: var(--text-muted); margin-bottom: 2px; }

/* ── END-OF-WEEK/MONTH BANNER ─────────────────────────────── */
.summary-banner {
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.summary-banner.week-end  { background: rgba(139,92,246,.08);  border: 1px solid rgba(139,92,246,.25); }
.summary-banner.month-end { background: rgba(217,70,239,.08);  border: 1px solid rgba(217,70,239,.25); }
.summary-banner-icon  { font-size: 1.6rem; flex-shrink: 0; }
.summary-banner-title { font-weight: 700; margin-bottom: 3px; }
.summary-banner-sub   { font-size: .83rem; color: var(--text-muted); }

/* Demo notice (PLANIO_DEMO=1) */
.demo-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 1.25rem;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--primary-glow);
    color: var(--text-muted);
    font-size: .85rem;
}
