body.v2-authenticated { background: #f5f8ff; }
body.v2-authenticated .v2-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
body.v2-authenticated .v2-shell > .v2-brand { display: none; }

.v2-dashboard { display: grid; min-height: 100vh; grid-template-columns: 220px minmax(0, 1fr); gap: 0; }
.v2-sidebar, .v2-dashboard-content { min-width: 0; }

.v2-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 24px 13px 18px; background: linear-gradient(180deg, #083f90, #07347a 53%, #062f6d); box-shadow: 8px 0 28px #0a397629; color: #fff; }
.v2-sidebar-brand { display: grid; gap: 4px; padding: 0 12px 24px; color: #fff; text-decoration: none; }
.v2-sidebar-brand strong { font-size: 31px; font-weight: 400; letter-spacing: -.07em; }
.v2-sidebar-brand span { color: #7ec8ff; font-size: 9px; font-weight: 800; letter-spacing: .12em; line-height: 1.25; }
.v2-sidebar-nav { display: grid; gap: 5px; }
.v2-sidebar-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.v2-sidebar-nav a:hover, .v2-sidebar-nav a.is-active { background: linear-gradient(115deg, #1668e6, #0757ce); box-shadow: 0 10px 18px #001f5d40; }
.v2-sidebar-nav i { width: 20px; color: #d8eaff; font-size: 18px; font-style: normal; text-align: center; }
.v2-sidebar-secondary { display: grid; gap: 5px; margin: 15px 11px 0; padding-top: 14px; border-top: 1px solid #ffffff24; }
.v2-sidebar-secondary a { color: #cce3ff; font-size: 12px; text-decoration: none; }
.v2-sidebar-secondary a:hover { color: #fff; }
.v2-sidebar-footer { display: grid; gap: 9px; margin-top: auto; padding: 16px 11px 0; border-top: 1px solid #ffffff24; color: #e6f1ff; font-size: 10px; }
.v2-sidebar-footer b { width: max-content; padding: 5px 8px; border-radius: 7px; background: #1765d7; color: #dcebff; font-size: 9px; letter-spacing: .08em; }
.v2-sidebar-footer small { color: #9ac7f5; font-size: 10px; }

.v2-dashboard-content { display: grid; align-content: start; gap: 20px; padding: 28px 38px 40px; background: radial-gradient(circle at 78% 2%, #dbe7ff9c, transparent 24%), linear-gradient(135deg, #f9fbff, #f3f7ff); }
.v2-dashboard-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.v2-dashboard-topbar > div > span { color: #71829b; font-size: 12px; }
.v2-profile { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 7px 6px 8px; border: 1px solid #dce6f2; border-radius: 13px; background: #fff; box-shadow: 0 6px 18px #163c700d; }
.v2-profile-avatar { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #266bd6, #7a56db); color: #fff; font-size: 13px; font-weight: 850; }
.v2-profile-copy { display: grid; min-width: 0; gap: 2px; }
.v2-profile-copy strong { max-width: 190px; overflow: hidden; color: #133873; font-size: 12px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.v2-profile-copy small { color: #72839b; font-size: 11px; text-transform: capitalize; }
.v2-profile .v2-quiet-button { min-height: 32px !important; padding: 0 10px !important; border: 0 !important; background: #f1f5fb !important; font-size: 11px !important; }

.v2-dashboard-hero { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; overflow: hidden; min-height: 118px; padding: 25px 30px; border: 1px solid #d8e5f5; border-radius: 19px; background: linear-gradient(115deg, #fff 0%, #f8fbff 53%, #eff3ff 100%); box-shadow: 0 12px 28px #143c7710; }
.v2-dashboard-hero::after { position: absolute; right: -26px; bottom: -180px; width: 330px; height: 330px; border: 42px solid #2764c414; border-radius: 50%; content: ""; }
.v2-dashboard-hero > div { position: relative; z-index: 1; max-width: 610px; }
.v2-eyebrow { margin: 0; color: #6281b3; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.v2-dashboard-hero h1 { margin: 7px 0 11px; color: #12336d; font-size: 29px; line-height: 1.04; letter-spacing: -.045em; }
.v2-dashboard-hero p:not(.v2-eyebrow) { margin: 0; color: #60728e; font-size: 13px; line-height: 1.65; }
.v2-today-card { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; min-width: 280px; padding: 14px 16px; border: 1px solid #e3eaf4; border-radius: 14px; background: #ffffffd9; }
.v2-today-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: #edf4ff; color: #1763d0; font-size: 21px; }
.v2-today-card span:not(.v2-today-icon) { display: grid; gap: 3px; }
.v2-today-card small { color: #617898; font-size: 11px; }
.v2-today-card strong { color: #234878; font-size: 12px; }
.v2-today-card b { margin-left: auto; color: #123b79; font-size: 18px; }

.v2-kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.v2-kpi { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid #e2eaf6; border-radius: 15px; background: #fff; box-shadow: 0 8px 20px #173f7c0a; }
.v2-kpi > span { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #eaf2ff; color: #1568d5; font-size: 21px; font-weight: 900; }
.v2-kpi div { display: grid; gap: 3px; }
.v2-kpi strong { color: #153d7c; font-size: 22px; line-height: 1; }
.v2-kpi small { color: #61799b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.v2-kpi--upcoming > span { background: #e8fbf2; color: #13a86c; }
.v2-kpi--files > span { background: #f1eaff; color: #8850da; }
.v2-kpi--personnel > span { background: #fff4e4; color: #ed9219; }
.v2-kpi--expenses > span { background: #ffeaf0; color: #e34867; }

.v2-dashboard-main { display: grid; grid-template-columns: minmax(0, 1fr) 308px; gap: 16px; align-items: start; }
.v2-modules-section { min-width: 0; padding: 19px; border: 1px solid #e3eaf4; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px #173f7c0a; }
.v2-module-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
.v2-module-heading h2, .v2-side-heading h2 { margin: 4px 0 0; color: #14366f; font-size: 18px; letter-spacing: -.035em; }
.v2-module-heading > span { display: none; }
.v2-module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 13px; }
.v2-module-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; min-height: 130px; padding: 16px; overflow: hidden; border: 0; border-radius: 13px; background: linear-gradient(135deg, #1d7bed, #36a1ff); box-shadow: none; color: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.v2-module-card::after { position: absolute; right: -32px; bottom: -48px; width: 102px; height: 102px; border-radius: 50%; background: #ffffff18; content: ""; }
.v2-module-card:hover { box-shadow: 0 14px 25px #1b60c42b; transform: translateY(-3px); }
.v2-module-icon { position: relative; z-index: 1; display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; background: #ffffff24; color: #fff; font-size: 18px; font-weight: 900; line-height: 1; }
.v2-module-copy { position: relative; z-index: 1; display: grid; align-content: start; gap: 7px; min-width: 0; }
.v2-module-copy strong { color: #fff; font-size: 14px; letter-spacing: -.025em; }
.v2-module-copy small { color: #ffffffde; font-size: 11px; line-height: 1.45; }
.v2-module-card { align-content: start; padding: 20px 18px; }
.v2-module-card:focus-visible { outline: 3px solid #14366f; outline-offset: 4px; }
.v2-module-copy strong { line-height: 1.35; overflow-wrap: anywhere; }
.v2-module-card--checklists { background: linear-gradient(135deg, #9564e9, #ce91ed); }
.v2-module-card--budget { background: linear-gradient(135deg, #12a963, #4ad58a); }
.v2-module-card--photos { background: linear-gradient(135deg, #0aa3b2, #3bd0d6); }
.v2-module-card--personnel { background: linear-gradient(135deg, #fc9219, #ffc247); }
.v2-module-card--offers { background: linear-gradient(135deg, #f94f64, #ff7a76); }
.v2-module-card--presentations { background: linear-gradient(135deg, #4d54c9, #8072e4); }
.v2-module-card--notifications { background: linear-gradient(135deg, #f6a00b, #ffc84b); }
.v2-module-card--ai { grid-column: auto; min-height: 130px; background: linear-gradient(135deg, #1b79e7, #41c7d7); }

.v2-dashboard-side { display: grid; gap: 16px; }
.v2-side-panel { padding: 18px; border: 1px solid #e3eaf4; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px #173f7c0a; }
.v2-side-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.v2-side-heading > a { padding-top: 4px; color: #1764cf; font-size: 11px; font-weight: 850; text-decoration: none; }
.v2-upcoming-list { display: grid; }
.v2-upcoming-event { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid #ecf0f6; text-decoration: none; }
.v2-upcoming-event:first-child { padding-top: 0; border-top: 0; }
.v2-upcoming-date { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: #edf4ff; color: #2565b8; text-align: center; }
.v2-upcoming-date strong { font-size: 15px; line-height: 1; }
.v2-upcoming-date span { font-size: 9px; font-weight: 850; text-transform: uppercase; }
.v2-upcoming-copy { display: grid; gap: 3px; min-width: 0; }
.v2-upcoming-copy strong, .v2-upcoming-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-upcoming-copy strong { color: #1c3d70; font-size: 12px; }
.v2-upcoming-copy span { color: #74849b; font-size: 11px; }
.v2-side-empty { margin: 0; padding: 14px 0; color: #7a8aa0; font-size: 12px; line-height: 1.5; }
.v2-notification-panel { min-height: 202px; }
.v2-dashboard-notifications { display: grid; }
.v2-dashboard-notification { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 9px; align-items: center; padding: 11px 0; border-top: 1px solid #ecf0f6; color: #244877; text-decoration: none; }
.v2-dashboard-notification:first-child { padding-top: 0; border-top: 0; }
.v2-dashboard-notification > span:first-child { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #e9f2ff; color: #1764cf; font-size: 13px; font-weight: 900; }
.v2-dashboard-notification--critical > span:first-child { background: #ffe9ed; color: #e5455e; }
.v2-dashboard-notification--warning > span:first-child { background: #fff3dd; color: #e79a15; }
.v2-dashboard-notification--success > span:first-child { background: #e7faf1; color: #13a567; }
.v2-dashboard-notification > span:last-child { display: grid; gap: 3px; min-width: 0; }
.v2-dashboard-notification strong, .v2-dashboard-notification small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-dashboard-notification strong { font-size: 11px; }
.v2-dashboard-notification small { color: #74859c; font-size: 10px; }
.v2-readonly-note { display: none; }

@media (max-width: 1280px) { .v2-module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v2-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1020px) { .v2-dashboard { grid-template-columns: 190px minmax(0, 1fr); } .v2-dashboard-content { padding: 20px; } .v2-dashboard-main { grid-template-columns: 1fr; } .v2-dashboard-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .v2-dashboard { grid-template-columns: minmax(0, 1fr); } .v2-sidebar { position: relative; height: auto; min-height: 0; padding: 16px 14px; } .v2-sidebar-brand { padding: 0 6px 13px; } .v2-sidebar-brand strong { font-size: 25px; } .v2-sidebar-nav { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; } .v2-sidebar-nav::-webkit-scrollbar { display: none; } .v2-sidebar-nav a { flex: 0 0 auto; padding: 8px 10px; font-size: 12px; } .v2-sidebar-nav i { width: auto; font-size: 15px; } .v2-sidebar-secondary { display: flex; gap: 5px; overflow-x: auto; margin: 7px 0 0; padding: 8px 0 0; border-top-color: #ffffff24; -ms-overflow-style: none; scrollbar-width: none; } .v2-sidebar-secondary::-webkit-scrollbar { display: none; } .v2-sidebar-secondary a { flex: 0 0 auto; padding: 7px 10px; border-radius: 8px; background: #ffffff12; color: #dcebff; } .v2-sidebar-footer { display: none; } .v2-dashboard-content { padding: 17px 14px 28px; } .v2-dashboard-topbar > div:first-child { display: block; } .v2-dashboard-hero { display: grid; min-height: 0; padding: 22px; } .v2-dashboard-hero h1 { font-size: 27px; } .v2-today-card { min-width: 0; } .v2-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .v2-kpi { padding: 13px; } .v2-kpi > span { width: 35px; height: 35px; font-size: 17px; } .v2-kpi strong { font-size: 19px; } .v2-dashboard-side { grid-template-columns: 1fr; } .v2-side-panel { padding: 16px; } }
@media (max-width: 420px) { .v2-dashboard-topbar { align-items: flex-start; } .v2-profile-copy { display: none; } .v2-profile { margin-left: auto; } .v2-kpi--expenses { display: none; } .v2-module-grid { grid-template-columns: 1fr; } .v2-module-card { min-height: 116px; } }
