/* MrGold Signature UI 5.2 — scoped presentation enhancement.
   No routes, tenant filters, monetary calculations or authorization changes. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root {
 --bg:#f7f8f9; --canvas:#f7f8f9; --canvas2:#fff; --panel:#fff;
 --ink:#1b2940; --muted:#758397; --line:#e8edf1; --gold:#a87732;
 --gold-light:#fff7e9; --nav:#0d1b2f; --nav-text:#b3c1d5;
 --shadow:0 5px 22px rgba(20,39,58,.045),0 1px 3px rgba(20,39,58,.023);
 --gold-grad:linear-gradient(118deg,#f7db9f 0%,#dbaf60 52%,#bf8d41 100%);
 --radius:18px;
}
*, *::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth}
body {font-family:'Manrope','DM Sans','Segoe UI',sans-serif;font-size:13px;line-height:1.55;letter-spacing:0;background:var(--bg);-webkit-font-smoothing:antialiased;color:var(--ink)}
body.dark {--bg:#0d1625;--canvas:#0d1625;--canvas2:#162238;--panel:#162238;--ink:#f0f3f8;--muted:#a4b2c5;--line:#2a3a4c;--gold:#e5bb78;--gold-light:#352e25;--shadow:0 5px 22px rgba(0,0,0,.16)}
h1,h2,h3,h4,.brand b,.kpi strong,.workspace-hero h3 {font-family:'Manrope','DM Sans',sans-serif}
a,button,summary { -webkit-tap-highlight-color:transparent }
:focus-visible {outline:2px solid #c99543;outline-offset:3px}
/* SIDEBAR: editorial navigation, visible groups, high legibility */
.layout {grid-template-columns:270px minmax(0,1fr)}
.sidebar {background:radial-gradient(ellipse 112% 42% at -10% -15%,#344661 0%,transparent 80%),linear-gradient(170deg,#13243b 0%,#101e31 50%,#0c1729 100%);border-right:1px solid rgba(242,211,150,.12);box-shadow:8px 0 28px rgba(11,24,43,.025);padding:24px 15px 20px;gap:0;position:sticky;top:0;height:100vh;overflow-y:auto;overscroll-behavior:contain}
.sidebar .brand {min-height:66px;padding:2px 10px 22px;gap:11px;margin-bottom:14px;border-color:rgba(255,255,255,.12)}
.brand-icon {width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:var(--gold-grad);border-color:rgba(255,236,185,.55);box-shadow:0 9px 25px rgba(202,148,62,.16);}
.brand b {font-size:24px;line-height:1.05;font-weight:800;letter-spacing:-1.4px}
.brand small {font-size:8.5px;line-height:1.8;font-weight:750;color:#91a7bf;letter-spacing:1.9px;margin-top:4px}
.sidebar-identity {display:flex;flex-direction:column;min-width:0;gap:3px;padding:14px 15px 15px;margin:1px 3px 13px;border:1px solid rgba(242,218,180,.16);border-radius:14px;background:linear-gradient(140deg,rgba(228,182,109,.14),rgba(240,207,148,.025));box-shadow:inset 0 1px rgba(255,255,255,.035)}
.identity-kicker {font-size:9px;letter-spacing:1.65px;color:#c6a570;font-weight:800}
.sidebar-identity strong {font-size:13px;line-height:1.45;color:#fff;font-weight:750;overflow-wrap:anywhere;max-height:58px;overflow:hidden}
.identity-status {color:#aebfd0;font-size:10px;font-weight:600;display:flex;gap:9px;align-items:center;margin-top:7px}
.identity-status .status-dot {display:inline-block;width:7px;height:7px;border-radius:50%;background:#66c69c;box-shadow:0 0 0 4px rgba(102,198,156,.11)}
.sidebar .nav {display:flex;flex-direction:column;gap:3px;padding:0 3px}
.sidebar .nav-tag {font-size:9px;letter-spacing:1.5px;text-transform:uppercase;margin:20px 12px 7px;color:#7990ab;font-weight:800}
.sidebar .nav-tag:first-child {margin-top:9px}
.sidebar .nav a {display:flex;align-items:center;min-height:41px;padding:9px 12px;gap:12px;border:1px solid transparent;border-radius:11px;transition:background .15s ease,border-color .15s ease,color .15s ease;color:#b8c7d9;font-size:11.8px;font-weight:650}
.sidebar .nav a .nav-label {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar .nav a .glyph {width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;opacity:.9}
.sidebar .nav a .glyph svg {width:18px;height:18px;stroke-width:1.8}
.sidebar .nav a:hover {color:#fff;background:rgba(255,255,255,.075);transform:none}
.sidebar .nav a.active {background:linear-gradient(100deg,rgba(230,190,123,.2),rgba(199,151,76,.07));color:#ffe5b2;border-color:rgba(231,198,139,.17);box-shadow:inset 3px 0 #dbb372;font-weight:800}
.sidebar .nav a.active:after {right:12px;width:5px;height:5px;background:#e6c17e}
.sidebar .sidebar-footer {border-color:rgba(255,255,255,.11);margin-top:23px;padding:17px 12px 7px;color:#7f95b0;font-size:10px}
.sidebar .sidebar-footer strong {font-size:9px;letter-spacing:1.5px;color:#ceb07f}
.sidebar .sidebar-footnote {padding:10px;border-radius:11px;margin-bottom:13px;font-size:10px;background:rgba(255,255,255,.045);color:#b1c1d4;border-color:rgba(255,255,255,.1)}
/* TOP BAR: strong hierarchy & spacious actions */
.content {padding:0 clamp(19px,2.5vw,39px) 28px;max-width:1940px;min-width:0}
.v31-topbar {position:sticky;top:14px;z-index:22;min-height:82px;height:auto;margin-top:14px;padding:13px 17px 13px 20px;background:color-mix(in srgb,var(--panel) 96%,transparent);border:1px solid var(--line);border-radius:19px;box-shadow:0 6px 25px rgba(30,49,74,.042),0 1px 2px rgba(21,36,55,.02);backdrop-filter:blur(16px);gap:17px}
.v31-topbar .topbar-main {min-width:0;display:flex;align-items:center;gap:11px}
.v31-topbar .topbar-title {min-width:0;gap:3px}
.v31-topbar .topbar .eyebrow,.v31-topbar .eyebrow {color:#9b794d;font-size:10px;font-weight:740;letter-spacing:.05px;text-transform:none;max-width:230px}
.v31-topbar .topbar-title h1 {font-size:clamp(17px,1.55vw,23px);font-weight:800;letter-spacing:-.85px;line-height:1.3}
.v31-tools {display:flex;align-items:center;gap:9px;flex-wrap:nowrap}
.branch-switch {min-height:51px;height:auto;padding:6px 7px 6px 9px;border-radius:13px;background:var(--bg);border:1px solid var(--line);box-shadow:none;gap:7px;max-width:240px}
.branch-symbol {width:33px;height:33px;flex:0 0 33px;border-radius:10px;background:var(--gold-light);font-size:19px;font-weight:800;color:var(--gold)}
.branch-caption {font-size:9px;font-weight:800;letter-spacing:1.15px;color:var(--muted)}
.branch-input-wrap {min-width:0}
.branch-input-wrap select {font-size:11.5px;font-weight:800;max-width:140px;color:var(--ink)}
.branch-apply {border-radius:9px;height:33px;width:31px;flex:0 0 31px;background:var(--panel);border:1px solid var(--line);color:var(--gold);font-size:18px}
.branch-apply:hover {background:var(--gold-light)}
.topbar-market {display:inline-flex;align-items:center;gap:6px;background:var(--panel);border-color:var(--line);padding:12px 13px;color:var(--ink);font-weight:750;font-size:11px;border-radius:12px;white-space:nowrap}
.topbar-market:hover {color:#9c6d28;background:var(--gold-light)}
.gold-action {background:var(--gold-grad)!important;border:0!important;padding:12px 16px!important;min-height:41px!important;border-radius:11px!important;font-size:12px!important;letter-spacing:0;box-shadow:0 5px 15px rgba(180,130,58,.17)!important;color:#263249!important}
.top-theme {width:41px;min-width:41px;height:41px;border-radius:12px;display:grid;place-items:center;background:var(--panel);box-shadow:none;font-size:17px}
.profile-trigger {min-height:47px;height:auto;display:flex;gap:9px;align-items:center;max-width:185px;background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:5px 9px 5px 5px;box-shadow:none}
.profile-trigger .avatar {width:34px;height:34px;flex:0 0 34px;border:0;background:#f0dfbd;color:#755020;box-shadow:none;border-radius:11px}
.profile-trigger .profile-name {min-width:0}
.profile-name strong {font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:105px;display:block}
.profile-name small {font-size:9px;color:var(--muted)}
.profile-chevron {color:var(--muted)}
.top-dropdown nav {border-radius:14px;border:1px solid var(--line);box-shadow:0 17px 55px rgba(20,34,53,.15)}
/* Page title and hero */
.title-row {margin:30px 0 21px}
.title-row h2 {font-size:clamp(21px,1.65vw,28px);font-weight:800;letter-spacing:-1.05px;line-height:1.3}
.title-row p {font-size:12px;margin-top:6px;color:var(--muted)}
.workspace-hero {position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;background:radial-gradient(circle at 82% 5%,rgba(239,208,148,.17),transparent 34%),linear-gradient(112deg,#172e47 0%,#12233a 66%,#233c52 100%);border:1px solid #30465c;border-radius:21px;padding:30px 33px;margin-top:20px;margin-bottom:24px;box-shadow:0 11px 26px rgba(16,37,60,.12);overflow:hidden}
.workspace-hero:before {content:'';position:absolute;width:200px;height:200px;right:65px;top:-83px;border:1px solid rgba(243,207,136,.16);transform:rotate(45deg);border-radius:36px;pointer-events:none}
.workspace-hero:after {height:280px;width:280px;right:6%;top:-100px;border-color:rgba(243,207,136,.16);box-shadow:0 0 0 40px rgba(220,181,112,.027),0 0 0 85px rgba(220,181,112,.016)}
.workspace-hero .eyebrow {color:#edc989;font-size:9.5px;letter-spacing:2.1px;font-weight:800}
.workspace-hero h3 {font-size:clamp(24px,2.05vw,31px);line-height:1.32;margin:10px 0 11px;font-weight:800;letter-spacing:-1.4px;max-width:680px}
.workspace-hero p {font-size:12px;color:#c5d2de;line-height:1.8;max-width:540px}
.hero-actions {gap:8px}
.hero-actions a {min-height:43px;font-size:11px;font-weight:800;border-radius:11px;padding:12px 16px}
.hero-actions a:first-child {box-shadow:0 7px 18px rgba(12,21,35,.17)}
/* Dashboard section labels */
.section-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:18px 0 13px}
.section-kicker {font-size:9px;color:var(--gold);font-weight:800;letter-spacing:1.8px}
.section-heading h3 {margin:2px 0 0;font-size:17px;letter-spacing:-.55px;font-weight:800;color:var(--ink)}
.section-side {color:var(--muted);font-size:11px;font-weight:650;padding-bottom:3px}
.performance-title {margin-top:29px}
/* Metric cards: clear title - value - secondary detail hierarchy */
.kpis {gap:14px;grid-template-columns:repeat(4,minmax(0,1fr))}
.kpi {position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:159px;padding:21px 20px 19px;border-radius:17px;border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;overflow:hidden}
.kpi:before {content:none!important}
.kpi:after {content:none}
.kpi:hover {transform:translateY(-3px);border-color:#e1d4c0;box-shadow:0 15px 34px rgba(26,42,64,.09)}
.kpi-top {display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.kpi .kpi-top label {font-size:11px;line-height:1.55;color:var(--muted);font-weight:750;letter-spacing:0;max-width:calc(100% - 47px);padding-top:3px}
.kpi .icon {float:none;display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;margin:0;border-radius:12px;padding:9px;background:#fff5e3;color:#b18440;box-shadow:none}
.kpi .icon svg {width:20px;height:20px}
.kpi-body {display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:3px;padding-top:19px}
.kpi strong {display:block;font-size:clamp(18px,1.65vw,25px);line-height:1.18;color:var(--ink);letter-spacing:-.85px;font-weight:800;margin:0;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;font-variant-numeric:tabular-nums}
.kpi small {display:block;color:var(--muted);font-size:10.5px;line-height:1.65;margin:4px 0 0;min-width:0}
.snapshot-kpis .kpi:nth-child(1) {background:linear-gradient(142deg,#fffcf7,#fff 62%);border-color:#eee3d4}
.snapshot-kpis .kpi:nth-child(1) .icon {background:#faedd4}
.snapshot-kpis .kpi:nth-child(2) .icon {background:#e7f5f0;color:#267b70}
.snapshot-kpis .kpi:nth-child(3) .icon {background:#eaf0fa;color:#5273a1}
.snapshot-kpis .kpi:nth-child(4) .icon {background:#fff1ee;color:#c47765}
.performance-kpis .kpi:nth-child(2) .icon {background:#e8f5ef;color:#2b9875}
.performance-kpis .kpi:nth-child(3) .icon {background:#fff2e9;color:#b87244}
.performance-kpis .kpi:nth-child(4) {background:linear-gradient(135deg,#1c354c,#15263b);border-color:#284057;box-shadow:0 13px 32px rgba(16,35,53,.15)}
.performance-kpis .kpi:nth-child(4) label {color:#bdcdd9}
.performance-kpis .kpi:nth-child(4) strong {color:#f8e3b8}
.performance-kpis .kpi:nth-child(4) small {color:#aabccf}
.performance-kpis .kpi:nth-child(4) .icon {background:rgba(224,180,104,.16);color:#efc880}
.performance-kpis .kpi:nth-child(4):hover {border-color:#4a6070}
/* PANELS / FORMS / TABLES / REPORTS — systemwide */
.grid {gap:17px}
.two {grid-template-columns:minmax(0,1.4fr) minmax(330px,1fr)}
.panel {background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:23px 24px;box-shadow:var(--shadow)}
.panel header {margin-bottom:17px;padding-bottom:14px;min-height:34px;border-bottom:1px solid var(--line)}
.panel h3 {font-size:15px;letter-spacing:-.4px;font-weight:800;color:var(--ink)}
.panel p {font-size:12px}
.table-wrap {border:1px solid var(--line);border-radius:13px;overflow-x:auto}
.table th {font-size:10px;font-weight:800;letter-spacing:.75px;padding:13px 12px;color:var(--muted);background:color-mix(in srgb,var(--bg) 60%,var(--panel))}
.table td {font-size:11.5px;padding:14px 12px;color:var(--ink)}
.table tbody tr:hover {background:rgba(219,174,100,.06)}
.table .muted {color:var(--muted)}
.field {gap:7px}.field label {font-size:11px;font-weight:750;color:var(--ink)}
.field input,.field select,.field textarea {font-size:12px;min-height:46px;border-radius:11px;background:var(--bg);border:1px solid var(--line);padding:12px 13px;box-shadow:inset 0 1px 1px rgba(15,39,67,.009)}
.field input:focus,.field select:focus,.field textarea:focus {border-color:#d0a25b;box-shadow:0 0 0 3px rgba(218,174,102,.12)}
.field input::placeholder {color:#a0aebb}
.btn {font-size:11.5px;font-weight:800;min-height:40px;border-radius:11px}
.btn.primary {background:var(--gold-grad);border-color:transparent;color:#243047}
.note {border-radius:12px;font-size:11.5px;border-color:#eedfbd;background:color-mix(in srgb,var(--gold-light) 70%,var(--panel))}
.pill {border-radius:8px}
.report-links a {border-radius:10px;font-size:11px}
.chart-bars {border-radius:12px}
.footer {font-size:10px;color:var(--muted);margin-top:36px}
/* Sign-in carries the signature typography without changing authorization */
.login-screen {background:var(--bg)}
.login-left {background:radial-gradient(circle at 75% 26%,rgba(217,170,99,.12),transparent 36%),linear-gradient(151deg,#102038,#0e1c31 55%,#1b3248)}
.login-kicker {color:#e9c381}
.login-promo h2 {font-family:'Manrope',sans-serif;font-weight:800;letter-spacing:-2.3px}
.login-promo h2 em {color:#e7bf79}
.login-right {background:var(--bg)}
.login-card {border:1px solid var(--line);box-shadow:0 24px 70px rgba(25,38,57,.065);border-radius:23px}
.login-card h1 {font-weight:800;letter-spacing:-1.5px}
/* dark mode details */
body.dark .v31-topbar {border-color:var(--line);background:color-mix(in srgb,var(--panel) 94%,transparent)}
body.dark .branch-switch {background:#1d2b40;border-color:var(--line)}
body.dark .profile-trigger .avatar {background:#3f3527;color:#efc985}
body.dark .snapshot-kpis .kpi:nth-child(1) {background:var(--panel);border-color:var(--line)}
body.dark .kpi .icon {background:#3a3125;color:#e6ba70}
body.dark .snapshot-kpis .kpi:nth-child(2) .icon {background:#203d3e;color:#70cfb2}
body.dark .snapshot-kpis .kpi:nth-child(3) .icon {background:#253452;color:#aac5f3}
body.dark .snapshot-kpis .kpi:nth-child(4) .icon {background:#412d30;color:#f1ab9f}
body.dark .performance-kpis .kpi:nth-child(2) .icon {background:#203d36;color:#83dbb4}
body.dark .performance-kpis .kpi:nth-child(3) .icon {background:#423128;color:#e8b189}
body.dark .performance-kpis .kpi:nth-child(4) {background:linear-gradient(140deg,#24415c,#1b3046);border-color:#3d5670}
body.dark .performance-kpis .kpi:nth-child(4) .icon {background:#3e3b36;color:#f2cc8c}
body.dark .table th {background:#1a2b3e}
body.dark .note {border-color:#51452f}
body.dark .login-right {background:var(--bg)}
/* Tablet and responsive refinements */
@media(max-width:1500px) {
 .layout {grid-template-columns:252px minmax(0,1fr)}
 .v31-topbar {padding:12px 14px}
 .content {padding-left:24px;padding-right:24px}
 .v31-tools {gap:6px}
 .branch-switch {max-width:205px}
 .branch-input-wrap select {max-width:100px}
 .topbar-market {padding:10px}
 .profile-trigger {max-width:160px}
 .profile-name strong {max-width:70px}
 .kpi strong {font-size:20px}
}
@media(max-width:1250px) {
 .topbar-market span {display:none}
 .v31-topbar .topbar-title h1 {font-size:19px}
 .kpis {grid-template-columns:repeat(2,minmax(0,1fr))}
 .kpi strong {font-size:23px}
 .two {grid-template-columns:minmax(0,1fr)}
 .profile-trigger .profile-name {display:none}
 .profile-chevron {display:none}
}
@media(max-width:950px) {
 .layout {grid-template-columns:1fr}
 .sidebar {position:fixed;transform:translateX(-104%);width:270px;top:0;left:0;bottom:0;height:100dvh;z-index:50;transition:transform .24s ease}
 body.sidebar-open .sidebar {transform:translateX(0)}
 .content {padding:0 18px 28px}
 .v31-topbar {top:10px;margin-top:10px}
 .mobile-menu-btn {display:inline-flex;align-items:center;justify-content:center;flex:0 0 39px}
 .mobile-scrim {display:block}
 .workspace-hero {padding:26px 26px}
}
@media(max-width:690px) {
 .content {padding:0 12px 25px}
 .v31-topbar {gap:8px;display:flex;align-items:center;flex-wrap:wrap;padding:11px 12px;min-height:0;border-radius:15px}
 .v31-topbar .topbar-main {width:100%;justify-content:flex-start}
 .v31-topbar .topbar-title h1 {font-size:18px}
 .v31-topbar .eyebrow {font-size:9.5px;max-width:none}
 .v31-tools {width:100%;display:flex;justify-content:space-between;gap:5px;min-width:0}
 .branch-switch {flex:1 1 auto;max-width:none;min-width:0;min-height:45px}
 .branch-input-wrap {flex:1 1 auto;min-width:0}
 .branch-input-wrap select {max-width:100%;min-width:0;width:100%}
 .branch-symbol {width:28px;height:28px;flex-basis:28px}
 .branch-apply {height:29px;width:28px;flex-basis:28px}
 .topbar-market {display:none}
 .gold-action {min-height:37px!important;padding:10px 11px!important}
 .top-theme {height:38px;width:37px;min-width:37px}
 .profile-trigger {min-height:38px;padding:4px}
 .profile-trigger .avatar {width:29px;height:29px;flex-basis:29px}
 .title-row {margin:24px 0 15px}
 .title-row h2 {font-size:23px}
 .workspace-hero {margin-top:15px;padding:23px 20px;border-radius:17px;flex-direction:column;align-items:flex-start}
 .workspace-hero h3 {font-size:23px;letter-spacing:-1px}
 .workspace-hero p {font-size:11px}
 .hero-actions {width:100%;flex-wrap:wrap}
 .hero-actions a {flex:1;min-width:100px;padding:10px 11px;font-size:10px}
 .section-heading {margin:20px 0 11px}
 .section-heading h3 {font-size:15px}
 .section-side {display:none}
 .kpis {gap:10px}
 .kpi {min-height:146px;padding:15px 14px 13px;border-radius:14px}
 .kpi .kpi-top label {font-size:10px;max-width:calc(100% - 36px)}
 .kpi .icon {height:31px;width:31px;flex-basis:31px;border-radius:9px;padding:7px}
 .kpi .icon svg {height:17px;width:17px}
 .kpi-body {padding-top:18px}
 .kpi strong {font-size:clamp(14px,3.7vw,20px);letter-spacing:-.5px}
 .kpi small {font-size:9.5px}
 .panel {padding:18px 15px;border-radius:15px}
 .panel h3 {font-size:14px}
 .table td {font-size:11px}
}
@media(max-width:375px) {
 .kpis {grid-template-columns:1fr}
 .kpi {min-height:112px}
 .kpi-body {padding-top:10px}
 .kpi strong {font-size:19px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after {scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* SIGNATURE 5.3 — Notifications + user profile photo */
.notification-menu {position:relative;flex:0 0 auto}
.notification-trigger {position:relative;display:flex;align-items:center;justify-content:center;width:43px;height:43px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);list-style:none;cursor:pointer;transition:background .18s,border-color .18s}
.notification-trigger::-webkit-details-marker{display:none}
.notification-trigger:hover,.notification-menu[open]>.notification-trigger{background:var(--gold-light);border-color:rgba(185,132,64,.36);color:var(--gold)}
.notification-trigger svg{width:20px;height:20px}
.notification-count{position:absolute;top:-6px;right:-7px;min-width:19px;height:19px;padding:1px 4px;border:2px solid var(--panel);border-radius:20px;background:#d85b53;color:#fff;font-size:9px;font-weight:800;line-height:14px;text-align:center;font-variant-numeric:tabular-nums}
.notification-popover{position:absolute;z-index:100;right:0;top:calc(100% + 13px);width:min(370px,calc(100vw - 30px));padding:0;background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 25px 75px rgba(10,32,56,.21);color:var(--ink);overflow:hidden}
.notification-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:19px 19px 15px;border-bottom:1px solid var(--line)}
.notification-head>div{display:flex;flex-direction:column;gap:2px}.notification-head strong{font-size:15px;font-weight:800;letter-spacing:-.35px}.notification-head small{font-size:10px;color:var(--muted)}
.notification-unread-pill{font-size:10px;padding:5px 8px;color:#986826;background:var(--gold-light);border-radius:18px;white-space:nowrap;font-weight:800}
.notification-list{max-height:390px;overflow-y:auto;overscroll-behavior:contain}
.notification-item{display:flex;align-items:flex-start;gap:11px;padding:13px 17px;border-bottom:1px solid var(--line);text-decoration:none!important;color:var(--ink)!important;transition:background .15s}
.notification-item:hover{background:var(--gold-light)}.notification-item.is-unread{background:color-mix(in srgb,var(--gold-light) 60%,var(--panel))}
.notification-activity-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;background:var(--gold-light);color:var(--gold);border-radius:10px;font-size:14px}
.notification-copy{display:flex;flex-direction:column;min-width:0;gap:4px;flex:1}.notification-copy strong{font-size:11.5px;font-weight:800;line-height:1.4}.notification-copy small{font-size:10px;color:var(--muted);line-height:1.4}
.notification-new-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#d09a4c;margin:7px 0 0}
.notification-empty{font-size:11.5px;line-height:1.75;color:var(--muted);text-align:center;padding:27px 22px!important;margin:0}
.notification-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding:11px 16px}
.notification-actions button{border:0;background:transparent;color:var(--gold);font:700 11px 'Manrope',sans-serif;cursor:pointer;padding:7px}.notification-actions button:disabled{opacity:.45;cursor:default}
.photo-avatar{display:grid;place-items:center;overflow:hidden;background:#ecdfc7!important;padding:0!important}.photo-avatar img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;display:block;border-radius:inherit}
.profile-settings{width:min(100%,900px);margin:8px auto 40px;background:var(--panel);border:1px solid var(--line);border-radius:21px;overflow:hidden;box-shadow:var(--shadow)}
.profile-cover{background:radial-gradient(circle at 85% 0%,rgba(223,184,113,.2),transparent 35%),linear-gradient(130deg,#172f49,#10223a);padding:30px 35px 62px;display:flex;flex-direction:column;gap:8px;color:#fff}
.profile-cover span{color:#e7be78;font-size:10px;letter-spacing:1.6px;font-weight:800}.profile-cover strong{font-size:24px;line-height:1.35;letter-spacing:-.8px;font-weight:800}.profile-cover small{color:#b5c8da;font-size:11px}
.profile-inner{padding:0 34px 32px}.profile-photo-line{display:flex;align-items:flex-end;gap:16px;margin-top:-41px;position:relative}.profile-large-avatar{display:grid;place-items:center;overflow:hidden;width:94px;height:94px;flex:0 0 94px;border:5px solid var(--panel);border-radius:27px;background:var(--gold-grad);color:#714a20;font-size:32px;font-weight:800;box-shadow:0 6px 20px rgba(15,32,56,.1)}.profile-photo-line>div{display:flex;flex-direction:column;gap:4px;padding-bottom:6px}.profile-photo-line>div strong{font-size:17px;font-weight:800;line-height:1.3}.profile-photo-line>div span{font-size:11px;color:var(--muted)}
.profile-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:28px 0 24px}.profile-details>div{display:flex;flex-direction:column;gap:6px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:15px;min-width:0}.profile-details small{font-size:9px;color:var(--muted);font-weight:800;letter-spacing:.9px}.profile-details strong{font-size:12px;font-weight:750;overflow-wrap:anywhere}
.profile-picture-form{display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding:22px 0;border-top:1px solid var(--line)}.profile-picture-form .field{flex:1 1 260px}.profile-picture-form .field input{min-height:51px;background:var(--bg);padding:10px}.profile-picture-form .field small{font-size:10px;color:var(--muted)}.profile-picture-form>.btn{white-space:nowrap;min-height:45px}
.profile-security-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--line)}.profile-security-link>span{font-size:11px;color:var(--muted)}
body.dark .notification-count{border-color:var(--panel)}body.dark .profile-large-avatar{border-color:var(--panel)}
@media(max-width:690px){.notification-trigger{height:38px;width:37px;border-radius:10px}.notification-trigger svg{width:18px;height:18px}.notification-popover{position:fixed;right:12px;top:132px;width:calc(100vw - 24px);max-width:370px}.profile-inner{padding:0 20px 21px}.profile-cover{padding:25px 22px 60px}.profile-cover strong{font-size:21px}.profile-details{grid-template-columns:1fr}.profile-photo-line>div strong{font-size:15px}}
@media(max-width:410px){.v31-tools{gap:4px}.gold-action{font-size:10px!important}.notification-trigger{width:34px}.top-theme{width:34px;min-width:34px}.profile-trigger .avatar{width:27px;height:27px;flex-basis:27px}.profile-security-link{flex-direction:column;align-items:start}}
