/*
 * V7.3 — visual unification, dashboard refresh, stable auth surfaces,
 * private search insights and a rebuilt roles workspace.
 */
:root,[data-bs-theme="light"]{
    --v73-ink:#0a2539;
    --v73-ink-2:#153d58;
    --v73-gold:#d4a12a;
    --v73-gold-soft:#fff6da;
    --v73-page:#f4f7fa;
    --v73-surface:#ffffff;
    --v73-surface-2:#f7f9fb;
    --v73-surface-3:#edf2f6;
    --v73-text:#182a38;
    --v73-muted:#667986;
    --v73-line:#dfe7ed;
    --v73-success:#16835f;
    --v73-danger:#b9384d;
    --v73-info:#2d6f9e;
    --v73-radius:22px;
    --v73-radius-sm:15px;
    --v73-shadow:0 18px 50px rgba(11,38,61,.08);
    --v73-shadow-soft:0 10px 30px rgba(11,38,61,.055);
}
[data-bs-theme="dark"]{
    --v73-ink:#e8f0f6;
    --v73-ink-2:#c4d8e7;
    --v73-gold:#e0b44c;
    --v73-gold-soft:#3c3116;
    --v73-page:#091119;
    --v73-surface:#111c26;
    --v73-surface-2:#17232e;
    --v73-surface-3:#21303d;
    --v73-text:#eef4f8;
    --v73-muted:#aab9c4;
    --v73-line:#2a3b48;
    --v73-success:#64d4ac;
    --v73-danger:#ff9aab;
    --v73-info:#8bc3ea;
    --v73-shadow:0 18px 52px rgba(0,0,0,.28);
    --v73-shadow-soft:0 10px 30px rgba(0,0,0,.2);
}

html{scroll-behavior:smooth}
body.v67-ui{background:var(--v73-page);color:var(--v73-text)}
body.v67-ui .panel{border:1px solid var(--v73-line)!important;border-radius:var(--v73-radius)!important;background:var(--v73-surface)!important;box-shadow:var(--v73-shadow-soft)!important}
body.v67-ui a{transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
body.v67-ui .btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border-radius:12px;font-weight:800}
body.v67-ui .btn-gold{border:0;background:linear-gradient(135deg,#f2d472,var(--v73-gold));color:#102c3d;box-shadow:0 10px 24px rgba(212,161,42,.23)}
body.v67-ui .btn-gold:hover{color:#102c3d;transform:translateY(-1px);box-shadow:0 14px 30px rgba(212,161,42,.31)}
body.v67-ui .form-control,body.v67-ui .form-select{min-height:46px;border:1px solid var(--v73-line);border-radius:12px;background:var(--v73-surface);color:var(--v73-text)}
body.v67-ui textarea.form-control{min-height:auto}
body.v67-ui .form-control:focus,body.v67-ui .form-select:focus{border-color:var(--v73-gold);box-shadow:0 0 0 4px color-mix(in srgb,var(--v73-gold) 15%,transparent)}
body.v67-ui .eyebrow{display:inline-flex;align-items:center;gap:.4rem;color:var(--v73-gold);font-size:.78rem;font-weight:900;letter-spacing:.01em}
body.v67-ui .table>:not(caption)>*>*{padding:.8rem .75rem}
body.v67-ui .table thead th{font-size:.76rem;color:var(--v73-muted);font-weight:800;white-space:nowrap;border-bottom-width:1px}
body.v67-ui .alert{border-radius:15px}

/* Header */
body.v67-ui .site-header-v6{padding:8px 10px;background:transparent}
body.v67-ui .site-navbar-v6{min-height:68px;border-radius:22px!important;background:linear-gradient(120deg,#071c2c 0%,#0d3048 56%,#16455e 100%)!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:0 16px 42px rgba(5,25,39,.2)!important;backdrop-filter:none!important}
body.v67-ui .site-navbar-v6 .header-center-nav>a,body.v67-ui .site-navbar-v6 .header-nav-dropdown{border-radius:10px;padding:.56rem .68rem}
body.v67-ui .site-navbar-v6 .header-center-nav>a:hover,body.v67-ui .site-navbar-v6 .header-nav-dropdown:hover{background:rgba(255,255,255,.1)}
body.v67-ui .account-chip-v6,body.v67-ui .header-icon-btn,body.v67-ui .header-search-pill{border:1px solid rgba(255,255,255,.15)!important;background:rgba(255,255,255,.075)!important}
body.v67-ui .account-chip-v6:hover,body.v67-ui .header-icon-btn:hover,body.v67-ui .header-search-pill:hover{background:rgba(255,255,255,.14)!important}

/* Generic admin hero */
.admin-shell{min-height:calc(100vh - 84px);background:linear-gradient(180deg,color-mix(in srgb,var(--v73-surface-3) 58%,transparent),transparent 270px)}
.admin-page-hero-v73{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:1.4rem;padding:1.65rem 1.75rem;border-radius:26px;background:linear-gradient(128deg,#082238 0%,#123f5d 68%,#1b526c 100%);color:#fff;box-shadow:0 22px 55px rgba(7,31,48,.18)}
.admin-page-hero-v73::before{content:"";position:absolute;inset:-30% auto auto -5%;width:260px;height:260px;border-radius:50%;background:rgba(212,161,42,.16);filter:blur(2px);z-index:-1}
.admin-page-hero-v73::after{content:"";position:absolute;inset:auto -75px -115px auto;width:250px;height:250px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025);z-index:-1}
.admin-page-hero-v73 h1{margin:.3rem 0 .45rem;color:#fff;font-size:clamp(1.75rem,2.7vw,2.65rem);font-weight:900}
.admin-page-hero-v73 p{max-width:760px;margin:0;color:rgba(255,255,255,.75);line-height:1.75}
.admin-page-hero-v73 .eyebrow{color:#f3d16d!important}
.admin-hero-status-v73{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:flex-end}
.admin-hero-status-v73>span{display:flex;flex-direction:column;min-width:116px;padding:.8rem 1rem;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.72);font-size:.72rem}
.admin-hero-status-v73 b{font-size:1.15rem;color:#fff}

/* Admin navigation */
body.v67-ui .admin-nav{position:sticky;top:88px;max-height:calc(100vh - 108px);overflow-y:auto;overscroll-behavior:contain;padding:12px!important;border-radius:20px!important;scrollbar-width:thin}
body.v67-ui .admin-nav-title{display:flex;align-items:center;gap:.7rem;padding:.7rem .65rem 1rem;margin-bottom:.45rem;border-bottom:1px solid var(--v73-line)}
body.v67-ui .admin-nav-title>i{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,var(--v73-ink),var(--v73-ink-2))!important;color:#fff!important;font-size:1.05rem}
body.v67-ui .admin-nav-title strong{display:block;color:var(--v73-text);font-size:.88rem}
body.v67-ui .admin-nav-title small{display:block;font-size:.68rem}
body.v67-ui .admin-nav>a{display:flex;align-items:center;gap:.7rem;min-height:41px;padding:.58rem .65rem;border:1px solid transparent;border-radius:11px;color:var(--v73-muted);font-size:.72rem;font-weight:700;text-decoration:none}
body.v67-ui .admin-nav>a i{width:25px;text-align:center;font-size:.93rem}
body.v67-ui .admin-nav>a:hover{background:var(--v73-surface-2);color:var(--v73-text)}
body.v67-ui .admin-nav>a.active{border-color:color-mix(in srgb,var(--v73-gold) 35%,var(--v73-line));background:var(--v73-gold-soft);color:var(--v73-ink);font-weight:900}
body.v67-ui .admin-nav>a.active i{color:var(--v73-gold)}

/* Home */
.home-hero-v73{position:relative;isolation:isolate;overflow:hidden;margin-top:-84px;padding:170px 0 92px;background:linear-gradient(125deg,#061927 0%,#0b3048 50%,#17506b 100%);color:#fff}
.home-hero-v73::before{content:"";position:absolute;inset:auto auto -240px -150px;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(212,161,42,.22),transparent 66%);z-index:-1}
.home-hero-v73::after{content:"";position:absolute;inset:-210px -150px auto auto;width:700px;height:700px;border-radius:50%;background:radial-gradient(circle,rgba(78,157,190,.22),transparent 65%);z-index:-1}
.home-hero-pattern-v73{position:absolute;inset:0;opacity:.36;background-image:linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to bottom,black,transparent 92%);z-index:-1}
.home-hero-copy-v73{max-width:760px}
.hero-badge-v73{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .78rem;border:1px solid rgba(244,210,111,.28);border-radius:999px;background:rgba(212,161,42,.11);color:#f5d97f;font-size:.78rem;font-weight:800}
.home-hero-copy-v73 h1{max-width:760px;margin:1rem 0 .9rem;font-size:clamp(2.2rem,5.2vw,4.25rem);font-weight:900;line-height:1.17;letter-spacing:-.025em;color:#fff}
.home-hero-copy-v73>p{max-width:700px;margin:0;color:rgba(238,246,251,.75);font-size:clamp(.98rem,1.35vw,1.15rem);line-height:1.95}
.home-hero-actions-v73{display:flex;align-items:stretch;gap:.8rem;margin-top:1.55rem}
.home-search-command-v73{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:.75rem;width:min(100%,540px);min-height:72px;padding:.7rem .8rem;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.095);color:#fff;text-align:right;box-shadow:0 16px 35px rgba(0,0,0,.12);backdrop-filter:blur(12px);cursor:pointer}
.home-search-command-v73:hover{border-color:rgba(244,210,111,.52);background:rgba(255,255,255,.14);transform:translateY(-2px)}
.home-search-icon-v73{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#f2d474,var(--v73-gold));color:#102b3c;font-size:1.08rem}
.home-search-command-v73>span:nth-child(2){display:flex;min-width:0;flex-direction:column}
.home-search-command-v73 strong{font-size:.92rem}
.home-search-command-v73 small{color:rgba(255,255,255,.62)!important;font-size:.7rem}
.home-library-action-v73{min-width:150px;padding-inline:1.15rem!important;border:1px solid rgba(255,255,255,.22)!important;background:#fff!important;color:#0b2c42!important}
.home-library-action-v73:hover{background:#f4f7f9!important;transform:translateY(-2px)}
.home-trust-row-v73{display:flex;flex-wrap:wrap;gap:.7rem 1rem;margin-top:1.25rem;color:rgba(255,255,255,.68);font-size:.72rem;font-weight:700}
.home-trust-row-v73 span{display:inline-flex;align-items:center;gap:.38rem}
.home-trust-row-v73 i{color:#f0cc65}
.home-discovery-v73{overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:26px;background:rgba(255,255,255,.095);box-shadow:0 28px 70px rgba(0,0,0,.18);backdrop-filter:blur(16px)}
.home-discovery-head-v73{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.2rem;border-bottom:1px solid rgba(255,255,255,.1)}
.home-discovery-head-v73>div{display:flex;flex-direction:column}
.home-discovery-head-v73 small{color:rgba(255,255,255,.58)!important;font-size:.68rem}
.home-discovery-head-v73 strong{color:#fff;font-size:.93rem}
.home-discovery-head-v73>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.11);color:#f1ce68;font-size:1.15rem}
.home-discovery-list-v73{display:grid;gap:1px;padding:.45rem}
.home-discovery-list-v73>a{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.75rem;border-radius:14px;color:#fff;text-decoration:none}
.home-discovery-list-v73>a:hover{background:rgba(255,255,255,.09);transform:translateX(-3px)}
.home-discovery-list-v73>a>span{width:45px;height:45px;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.1);color:#f1ce68}
.home-discovery-list-v73>a>div{display:flex;min-width:0;flex-direction:column}
.home-discovery-list-v73 strong{font-size:.82rem}
.home-discovery-list-v73 small{font-size:.65rem;color:rgba(255,255,255,.56)!important}
.home-discovery-list-v73>a>i{color:rgba(255,255,255,.45)}
.home-discovery-foot-v73{display:flex;align-items:center;gap:.55rem;padding:.85rem 1.2rem;border-top:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.09);color:rgba(255,255,255,.68);font-size:.7rem}
.home-discovery-foot-v73 i{color:#f2d06b}
.home-stats-v73{margin-top:-36px!important;position:relative;z-index:3}
.home-stats-v73 .stat-card-v6{display:flex;align-items:center;gap:.8rem;min-height:92px;border:1px solid var(--v73-line);background:var(--v73-surface);box-shadow:var(--v73-shadow);border-radius:18px}
.home-stats-v73 .stat-card-v6 i{background:var(--v73-gold-soft);color:#a67610}
.home-stats-v73 .stat-card-v6 strong{color:var(--v73-text)}

/* Static authentication surface — no uploaded backgrounds */
.auth-page-v73 .site-footer-v6{margin-top:0!important}
.auth-surface-v73{position:relative;min-height:calc(100vh - 84px);padding:28px 0 48px;background:linear-gradient(135deg,#f5f7f9 0%,#edf3f7 48%,#f8f5ec 100%)!important;isolation:isolate}
.auth-surface-v73::before{display:block!important;content:"";position:absolute;inset:0!important;z-index:-3!important;transform:none!important;filter:none!important;background-image:radial-gradient(circle at 12% 18%,rgba(28,94,126,.14),transparent 25%),radial-gradient(circle at 88% 80%,rgba(212,161,42,.17),transparent 25%),linear-gradient(rgba(10,37,57,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(10,37,57,.035) 1px,transparent 1px)!important;background-size:auto,auto,44px 44px,44px 44px!important;background-position:center!important}
.auth-surface-v73::after{display:block!important;content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(105deg,rgba(255,255,255,.52),rgba(255,255,255,.17),rgba(255,255,255,.5))!important}
.auth-surface-v73 .auth-experience-overlay{display:block!important;position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 48% -15%,rgba(255,255,255,.9),transparent 42%)}
.auth-surface-v73 .auth-modern-card{padding:1.65rem;border:1px solid rgba(210,222,230,.92)!important;border-radius:26px!important;background:rgba(255,255,255,.94)!important;color:#172a38!important;box-shadow:0 28px 80px rgba(9,39,59,.13)!important;backdrop-filter:blur(12px)!important}
.auth-surface-v73 .auth-login-card{width:min(100%,520px)}
.auth-surface-v73 .auth-modern-head{padding-bottom:1rem;border-bottom:1px solid #e8edf1}
.auth-surface-v73 .auth-modern-head h1,.auth-surface-v73 .form-label,.auth-surface-v73 .auth-switch{color:#172a38!important}
.auth-surface-v73 .auth-modern-head p,.auth-surface-v73 .form-text{color:#6b7b86!important}
.auth-surface-v73 .auth-modern-icon{width:54px;height:54px;border-radius:16px;box-shadow:0 10px 22px rgba(212,161,42,.2)}
.auth-surface-v73 .form-control,.auth-surface-v73 .form-select,.auth-surface-v73 .auth-input-shell-v68{border-color:#dfe7ec!important;background:#fff!important;color:#172a38!important}
.auth-surface-v73 .social-login-tile,.auth-surface-v73 .social-login-disabled-v69{border-radius:13px!important;background:#fff!important;border-color:#dfe7ec!important;color:#263a48!important;box-shadow:none!important}
.auth-surface-v73 .compact-account-type{border-color:#dfe7ec;background:#fff}
.auth-surface-v73 .compact-account-type.selected{border-color:var(--v73-gold);background:#fff9e9}
.auth-surface-v73 .conditional-section{border-color:#dfe7ec;background:#f8fafb}
[data-bs-theme="dark"] .auth-surface-v73{background:linear-gradient(135deg,#09141d,#101e29,#1d1b13)!important}
[data-bs-theme="dark"] .auth-surface-v73::before{background-image:radial-gradient(circle at 12% 18%,rgba(50,132,172,.18),transparent 25%),radial-gradient(circle at 88% 80%,rgba(212,161,42,.13),transparent 25%),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px)!important}
[data-bs-theme="dark"] .auth-surface-v73::after{background:linear-gradient(105deg,rgba(2,9,14,.3),rgba(2,9,14,.12),rgba(2,9,14,.3))!important}
[data-bs-theme="dark"] .auth-surface-v73 .auth-modern-card{background:rgba(16,27,37,.96)!important;border-color:#2a3b48!important;color:var(--v73-text)!important}
[data-bs-theme="dark"] .auth-surface-v73 .auth-modern-head{border-color:#2a3b48}
[data-bs-theme="dark"] .auth-surface-v73 .auth-modern-head h1,[data-bs-theme="dark"] .auth-surface-v73 .form-label,[data-bs-theme="dark"] .auth-surface-v73 .auth-switch{color:var(--v73-text)!important}
[data-bs-theme="dark"] .auth-surface-v73 .auth-modern-head p,[data-bs-theme="dark"] .auth-surface-v73 .form-text{color:var(--v73-muted)!important}
[data-bs-theme="dark"] .auth-surface-v73 .form-control,[data-bs-theme="dark"] .auth-surface-v73 .form-select,[data-bs-theme="dark"] .auth-surface-v73 .auth-input-shell-v68,[data-bs-theme="dark"] .auth-surface-v73 .social-login-tile,[data-bs-theme="dark"] .auth-surface-v73 .social-login-disabled-v69,[data-bs-theme="dark"] .auth-surface-v73 .compact-account-type{background:#111c26!important;border-color:#2a3b48!important;color:var(--v73-text)!important}
[data-bs-theme="dark"] .auth-surface-v73 .conditional-section{background:#17232e;border-color:#2a3b48}

/* Account dashboard */
.dashboard-layout-v73{padding:1.55rem 0 4rem;background:linear-gradient(180deg,var(--v73-surface-3),var(--v73-page) 240px)}
.dashboard-layout-v73 .dashboard-nav{position:sticky;top:88px;overflow:hidden;padding:.72rem;border-radius:20px!important}
.dashboard-layout-v73 .dashboard-nav>a{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.65rem .7rem;border-radius:11px;color:var(--v73-muted);font-size:.78rem;font-weight:700;text-decoration:none}
.dashboard-layout-v73 .dashboard-nav>a:hover{background:var(--v73-surface-2);color:var(--v73-text)}
.dashboard-layout-v73 .dashboard-nav>a.active{background:linear-gradient(135deg,var(--v73-ink),var(--v73-ink-2));color:#fff;box-shadow:0 9px 22px rgba(10,37,57,.18)}
.dashboard-layout-v73 .dashboard-nav>a i{width:28px;text-align:center;font-size:1rem}
.dashboard-layout-v73 .dashboard-nav-label{margin:.8rem .6rem .25rem;color:var(--v73-gold);font-size:.66rem;font-weight:900}
.dashboard-welcome-v73{position:relative;isolation:isolate;overflow:hidden;border:0!important;background:linear-gradient(125deg,#09263b,#164b68)!important;color:#fff!important;box-shadow:0 22px 55px rgba(8,35,53,.18)!important}
.dashboard-welcome-v73::after{content:"";position:absolute;inset:auto -90px -130px auto;width:290px;height:290px;border-radius:50%;background:radial-gradient(circle,rgba(212,161,42,.24),transparent 65%);z-index:-1}
.dashboard-welcome-v73 h1{color:#fff}
.dashboard-welcome-v73 .text-muted{color:rgba(255,255,255,.65)!important}
.dashboard-welcome-v73 .dashboard-avatar,.dashboard-welcome-v73 .profile-summary-icon{width:68px;height:68px;border:3px solid rgba(255,255,255,.22);box-shadow:0 10px 25px rgba(0,0,0,.16)}
.dashboard-eyebrow-v73{display:block;margin-bottom:.2rem;color:#f0cd68;font-size:.68rem;font-weight:900}
.dashboard-welcome-copy-v73{margin:0 0 .55rem;color:rgba(255,255,255,.68);font-size:.76rem}
.dashboard-welcome-v73 .btn-outline-dark{border-color:rgba(255,255,255,.28);color:#fff}
.dashboard-welcome-v73 .btn-outline-dark:hover{background:#fff;color:#0a2b40}
.dashboard-kpis-v73{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-kpis-v73 .dash-kpi{position:relative;overflow:hidden;min-height:125px;padding:1rem;border-radius:18px!important;box-shadow:var(--v73-shadow-soft)!important}
.dashboard-kpis-v73 .dash-kpi::after{content:"";position:absolute;inset:auto -35px -45px auto;width:100px;height:100px;border-radius:50%;background:var(--v73-surface-3);opacity:.75}
.dashboard-kpis-v73 .dash-kpi i{position:relative;z-index:1;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--v73-gold-soft);color:#a67511}
.dashboard-kpis-v73 .dash-kpi strong{position:relative;z-index:1;font-size:1.35rem;color:var(--v73-text)}
.dashboard-kpis-v73 .dash-kpi span{position:relative;z-index:1;color:var(--v73-muted);font-size:.75rem;font-weight:700}
.creator-reputation-v73{border-top:3px solid var(--v73-gold)!important}
.dashboard-insight-card-v73{border-top:3px solid color-mix(in srgb,var(--v73-gold) 75%,var(--v73-ink))!important}
.insight-card-mark-v73{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--v73-gold-soft);color:#a67511;font-size:1.15rem}
.dashboard-trend-list-v73{display:grid;gap:7px}
.dashboard-trend-list-v73>a{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.65rem .7rem;border:1px solid var(--v73-line);border-radius:12px;background:var(--v73-surface-2);color:var(--v73-text);text-decoration:none}
.dashboard-trend-list-v73>a:hover{border-color:var(--v73-gold);background:var(--v73-gold-soft)}
.dashboard-trend-list-v73 b{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:var(--v73-ink);color:var(--v73-page);font-size:.72rem}
.dashboard-trend-list-v73 span{display:flex;min-width:0;flex-direction:column}
.dashboard-trend-list-v73 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}
.dashboard-trend-list-v73 small{font-size:.65rem}

/* Admin dashboard */
.admin-dashboard-hero-v73{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:1.5rem;align-items:center;padding:1.8rem;border-radius:28px;background:linear-gradient(125deg,#071e30 0%,#123f5d 66%,#1a536d 100%);color:#fff;box-shadow:0 24px 60px rgba(7,31,48,.2)}
.admin-dashboard-hero-v73::before{content:"";position:absolute;inset:-120px auto auto -110px;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,rgba(212,161,42,.22),transparent 68%);z-index:-1}
.admin-dashboard-hero-v73 h1{margin:.35rem 0 .5rem;color:#fff;font-size:clamp(1.8rem,3vw,2.65rem);font-weight:900}
.admin-dashboard-hero-v73 p{max-width:690px;margin:0;color:rgba(255,255,255,.7);line-height:1.7}
.admin-dashboard-hero-v73 .eyebrow{color:#f2cf6c!important}
.admin-dashboard-hero-actions-v73{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.1rem}
.admin-dashboard-signal-v73{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:1rem;border:1px solid rgba(255,255,255,.15);border-radius:20px;background:rgba(255,255,255,.09);backdrop-filter:blur(10px)}
.admin-dashboard-signal-v73>i{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.12);color:#f2cf6c;font-size:1.15rem}
.admin-dashboard-signal-v73>div{display:flex;min-width:0;flex-direction:column}
.admin-dashboard-signal-v73>div strong{font-size:.84rem}
.admin-dashboard-signal-v73>div span{color:rgba(255,255,255,.58);font-size:.65rem}
.admin-dashboard-signal-v73>b{font-size:1.8rem;color:#fff}
.admin-dashboard-signal-v73>small{grid-column:2/4;color:rgba(255,255,255,.62)!important}
.admin-period-row-v73{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;border:1px solid var(--v73-line);border-radius:16px;background:var(--v73-surface);box-shadow:var(--v73-shadow-soft)}
.admin-period-row-v73>span{color:var(--v73-muted);font-size:.75rem;font-weight:800}
.admin-dashboard-page-v73 .admin-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.admin-dashboard-page-v73 .admin-stat{min-height:118px;padding:.9rem;border-radius:17px!important}
.admin-dashboard-page-v73 .admin-stat>i{width:41px;height:41px;border-radius:13px;background:var(--v73-gold-soft)!important;color:#a67511!important}
.admin-dashboard-page-v73 .admin-stat strong{font-size:1.12rem;color:var(--v73-text)}
.admin-dashboard-page-v73 .admin-stat span{font-size:.7rem;font-weight:800;color:var(--v73-text)}
.admin-dashboard-page-v73 .admin-stat small{font-size:.6rem;line-height:1.45}
.admin-dashboard-page-v73 .admin-alert-card{min-height:100px;border:1px solid var(--v73-line);background:var(--v73-surface);color:var(--v73-text)}
.admin-dashboard-page-v73 .admin-alert-card:hover{border-color:var(--v73-gold);transform:translateY(-2px)}
.admin-insights-panel-v73,.admin-opportunity-panel-v73{border-top:3px solid var(--v73-gold)!important}
.admin-trend-grid-v73{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.admin-trend-grid-v73>a{display:grid;grid-template-columns:31px minmax(0,1fr);gap:.6rem;align-items:center;padding:.68rem;border:1px solid var(--v73-line);border-radius:12px;background:var(--v73-surface-2);color:var(--v73-text);text-decoration:none}
.admin-trend-grid-v73>a:hover{border-color:var(--v73-gold);background:var(--v73-gold-soft)}
.admin-trend-grid-v73 b{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:var(--v73-ink);color:var(--v73-page);font-size:.7rem}
.admin-trend-grid-v73 span{display:flex;min-width:0;flex-direction:column}
.admin-trend-grid-v73 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem}
.admin-trend-grid-v73 small{font-size:.62rem}
.admin-opportunity-list-v73{display:grid;gap:8px;margin-top:1rem}
.admin-opportunity-list-v73>div{display:flex;align-items:center;gap:.65rem;padding:.68rem;border-radius:12px;background:var(--v73-surface-2)}
.admin-opportunity-list-v73>div>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--v73-gold-soft);color:#a67511}
.admin-opportunity-list-v73 span{display:flex;min-width:0;flex-direction:column}
.admin-opportunity-list-v73 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem}
.admin-opportunity-list-v73 small{font-size:.62rem}
.admin-dashboard-page-v73 .module-card{border:1px solid var(--v73-line);background:var(--v73-surface);color:var(--v73-text)}
.admin-dashboard-page-v73 .module-card:hover{border-color:var(--v73-gold);transform:translateY(-2px)}

/* Settings pages */
.settings-editor-v73{overflow:hidden}
.settings-editor-head-v73{display:flex;align-items:center;gap:.8rem;margin-bottom:1.2rem}
.settings-editor-head-v73>span{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:15px;background:var(--v73-gold-soft);color:#a67511;font-size:1.12rem}
.settings-editor-head-v73 h2{margin:0 0 .2rem;font-size:1.05rem;color:var(--v73-text)}
.settings-editor-head-v73 p{margin:0;color:var(--v73-muted);font-size:.74rem}
.settings-save-row-v73{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.2rem;padding-top:1rem;border-top:1px solid var(--v73-line)}
.home-admin-preview-card-v73{overflow:hidden;position:sticky;top:88px}
.home-admin-preview-head-v73{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid var(--v73-line)}
.home-admin-preview-head-v73 span{font-size:.72rem;font-weight:900;color:var(--v73-text)}
.home-admin-preview-v73{position:relative;isolation:isolate;overflow:hidden;min-height:420px;padding:2rem;background:linear-gradient(125deg,#061927,#0b3048 55%,#17506b);color:#fff}
.home-admin-preview-v73::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:38px 38px;z-index:-1}
.home-admin-preview-v73 h2{margin:.8rem 0;color:#fff;font-size:1.65rem;line-height:1.35}
.home-admin-preview-v73 p{color:rgba(255,255,255,.68);line-height:1.7}
.home-admin-note-v73{display:flex;gap:.7rem;align-items:flex-start;margin:1rem;padding:.85rem;border-radius:14px;background:var(--v73-surface-2);color:var(--v73-muted);font-size:.72rem}
.home-admin-note-v73 i{color:var(--v73-gold)}
.auth-settings-form-v73{padding-bottom:80px}
.settings-switch-list-v73{display:grid;gap:.75rem}
.setting-switch-v73,.setting-switch-card-v73{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:.8rem;align-items:center;min-height:76px;padding:.8rem;border:1px solid var(--v73-line);border-radius:15px;background:var(--v73-surface-2);cursor:pointer}
.setting-switch-v73:hover,.setting-switch-card-v73:hover{border-color:var(--v73-gold)}
.setting-switch-icon-v73{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:var(--v73-surface);color:var(--v73-gold);box-shadow:inset 0 0 0 1px var(--v73-line)}
.setting-switch-v73>span:nth-child(2),.setting-switch-card-v73>span:nth-child(2){display:flex;min-width:0;flex-direction:column}
.setting-switch-v73 strong,.setting-switch-card-v73 strong{font-size:.8rem;color:var(--v73-text)}
.setting-switch-v73 small,.setting-switch-card-v73 small{font-size:.65rem;line-height:1.45}
.auth-design-note-v73{display:flex;align-items:flex-start;gap:.85rem;padding:1.1rem;border:1px dashed color-mix(in srgb,var(--v73-gold) 48%,var(--v73-line));border-radius:17px;background:var(--v73-gold-soft)}
.auth-design-note-v73>span{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:var(--v73-surface);color:var(--v73-gold)}
.auth-design-note-v73 strong{display:block;margin-bottom:.3rem;color:var(--v73-text);font-size:.83rem}
.auth-design-note-v73 p{margin:0;color:var(--v73-muted);font-size:.7rem;line-height:1.65}
.oauth-admin-card-v73{height:100%;padding:1rem;border:1px solid var(--v73-line);border-radius:17px;background:var(--v73-surface-2)}
.oauth-admin-card-v73.is-ready{border-color:color-mix(in srgb,var(--v73-success) 45%,var(--v73-line))}
.oauth-admin-head-v73{display:flex;align-items:center;gap:.7rem;padding-bottom:.75rem;border-bottom:1px solid var(--v73-line)}
.oauth-logo-v73{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--v73-surface);border:1px solid var(--v73-line)}
.oauth-logo-v73 svg{width:22px;height:22px}
.oauth-admin-head-v73>div{display:flex;min-width:0;flex-direction:column}
.oauth-admin-head-v73 strong{font-size:.82rem}
.oauth-admin-head-v73 small{font-size:.64rem}
.copy-field-v73{display:grid;grid-template-columns:minmax(0,1fr) auto}
.copy-field-v73 .form-control{border-start-end-radius:0;border-end-end-radius:0}
.copy-field-v73 .btn{border-start-start-radius:0;border-end-start-radius:0}
.settings-sticky-save-v73{position:sticky;bottom:8px;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border:1px solid var(--v73-line);border-radius:17px;background:color-mix(in srgb,var(--v73-surface) 94%,transparent);box-shadow:0 16px 40px rgba(8,35,53,.12);backdrop-filter:blur(12px)}
.settings-sticky-save-v73>span{display:flex;align-items:center;gap:.5rem;color:var(--v73-muted);font-size:.7rem}

/* Ads */
.ads-settings-section-v73{overflow:hidden}
.ads-section-head-v73{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.2rem 1.25rem}
.ads-section-head-v73 h2{margin:.2rem 0;font-size:1.1rem;color:var(--v73-text)}
.ads-section-head-v73 p{margin:0;color:var(--v73-muted);font-size:.72rem}
.ads-provider-identity-v73{display:flex;align-items:center;gap:.8rem}
.ads-google-mark-v73{width:49px;height:49px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--v73-line);border-radius:15px;background:var(--v73-surface-2);color:#4285f4;font-size:1.5rem;font-weight:900}
.status-chip-v73{display:inline-flex;align-items:center;gap:.38rem;width:max-content;padding:.35rem .65rem;border-radius:999px;background:var(--v73-surface-3);color:var(--v73-muted);font-size:.68rem;font-weight:900;white-space:nowrap}
.status-chip-v73.is-live{background:#e6f7f0;color:#137052}
.status-chip-v73.is-off{background:#f3edf0;color:#955067}
[data-bs-theme="dark"] .status-chip-v73.is-live{background:#153d30;color:#8be1bd}
[data-bs-theme="dark"] .status-chip-v73.is-off{background:#3b222b;color:#ffb0bf}
.setting-switch-card-v73.compact-v73{min-height:46px;margin-top:28px}
.ads-provider-add-v73{display:flex;gap:.5rem;min-width:min(100%,360px)}
.ad-provider-grid-v73{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.ad-provider-tile-v73{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;gap:.7rem;align-items:center;padding:.8rem;border:1px solid var(--v73-line);border-radius:15px;background:var(--v73-surface-2)}
.ad-provider-tile-v73:hover{border-color:var(--v73-gold)}
.ad-provider-icon-v73{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:var(--v73-surface);color:var(--v73-gold);font-size:1.1rem}
.ad-provider-copy-v73{display:flex;min-width:0;flex-direction:column}
.ad-provider-copy-v73 strong{font-size:.8rem}
.ad-provider-copy-v73 small{font-size:.62rem}
.ad-provider-copy-v73 em{margin-top:.15rem;color:var(--v73-muted);font-size:.6rem;font-style:normal}
.ad-provider-switch-v73{margin:0}
.admin-table-v73 tbody tr:hover{background:var(--v73-surface-2)}

/* Private search insights */
.trends-hero-v73{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;box-shadow:0 20px 52px rgba(7,31,48,.17)}
.trends-hero-v73 h1{color:#fff}
.private-data-chip-v73{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .75rem;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font-size:.7rem;font-weight:900;white-space:nowrap}
.section-heading-v73{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.8rem;border-bottom:1px solid var(--v73-line)}
.section-heading-v73 h2{margin:.2rem 0 0;font-size:1.05rem}
.section-heading-v73>span{padding:.35rem .6rem;border-radius:999px;background:var(--v73-surface-2);color:var(--v73-muted);font-size:.66rem;font-weight:800}
.insights-privacy-v73{display:flex;align-items:flex-start;gap:.8rem;border-top:3px solid var(--v73-success)!important}
.insights-privacy-v73>i{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:#e8f7f1;color:var(--v73-success);font-size:1.1rem}
.insights-privacy-v73 h2{margin:0 0 .25rem;font-size:.9rem}
.insights-privacy-v73 p{margin:0;color:var(--v73-muted);font-size:.7rem;line-height:1.6}

/* Roles workspace */
.roles-overview-v73{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.roles-overview-v73 article{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:.75rem;align-items:center;min-height:92px;padding:.9rem 1rem;border:1px solid var(--v73-line);border-radius:18px;background:var(--v73-surface);box-shadow:var(--v73-shadow-soft)}
.roles-overview-v73 article>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--v73-gold-soft);color:#a67511;font-size:1.12rem}
.roles-overview-v73 article>div{display:flex;min-width:0;flex-direction:column}
.roles-overview-v73 strong{font-size:1.3rem;color:var(--v73-text)}
.roles-overview-v73 small{font-size:.68rem}
.roles-overview-v73 em{align-self:end;color:var(--v73-muted);font-size:.62rem;font-style:normal;white-space:nowrap}
.role-create-v73{overflow:hidden}
.role-create-head-v73{display:flex;align-items:center;gap:.8rem;padding:1.2rem}
.role-create-head-v73>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:var(--v73-gold-soft);color:#a67511}
.role-create-head-v73 h2{margin:0 0 .2rem;font-size:1.05rem}
.role-create-head-v73 p{margin:0;color:var(--v73-muted);font-size:.72rem}
.roles-list-panel-v73{position:sticky;top:88px;overflow:hidden}
.roles-list-head-v73{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1rem .75rem}
.roles-list-head-v73 h2{margin:.15rem 0 0;font-size:1rem}
.roles-list-head-v73>span{min-width:34px;height:28px;display:grid;place-items:center;padding:0 .5rem;border-radius:999px;background:var(--v73-surface-2);color:var(--v73-muted);font-size:.7rem;font-weight:900}
.role-filter-v73{position:relative;margin:0 .85rem .65rem}
.role-filter-v73 i{position:absolute;top:50%;right:13px;transform:translateY(-50%);color:var(--v73-muted)}
.role-filter-v73 input{width:100%;height:42px;padding:0 38px 0 12px;border:1px solid var(--v73-line);border-radius:12px;background:var(--v73-surface-2);color:var(--v73-text);font-size:.74rem;outline:0}
.role-filter-v73 input:focus{border-color:var(--v73-gold);box-shadow:0 0 0 3px color-mix(in srgb,var(--v73-gold) 13%,transparent)}
.roles-list-v73{display:grid;gap:4px;max-height:560px;overflow-y:auto;padding:.25rem .7rem .8rem;scrollbar-width:thin}
.role-item-v73{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;gap:.65rem;align-items:center;padding:.62rem;border:1px solid transparent;border-radius:13px;color:var(--v73-muted);text-decoration:none}
.role-item-v73:hover{background:var(--v73-surface-2);color:var(--v73-text)}
.role-item-v73.active{border-color:color-mix(in srgb,var(--v73-gold) 55%,var(--v73-line));background:var(--v73-gold-soft);color:var(--v73-text);box-shadow:inset 3px 0 0 var(--v73-gold)}
.role-item-icon-v73{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--v73-surface-3);color:var(--v73-muted)}
.role-item-v73.active .role-item-icon-v73{background:var(--v73-surface);color:#a67511}
.role-item-copy-v73{display:flex;min-width:0;flex-direction:column}
.role-item-copy-v73 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.77rem}
.role-item-copy-v73 small{font-size:.61rem}
.role-filter-empty-v73{margin:.8rem;padding:1rem;text-align:center;color:var(--v73-muted);font-size:.72rem}
.roles-list-foot-v73{display:flex;align-items:flex-start;gap:.5rem;padding:.8rem 1rem;border-top:1px solid var(--v73-line);background:var(--v73-surface-2);color:var(--v73-muted);font-size:.65rem;line-height:1.5}
.roles-list-foot-v73 i{color:var(--v73-gold)}
.permissions-editor-v73{overflow:hidden}
.permissions-editor-head-v73{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.45rem 1.55rem;background:linear-gradient(125deg,#08243a,#164b68);color:#fff}
.permissions-role-copy-v73{min-width:0}
.permissions-role-copy-v73 h2{margin:.45rem 0 .25rem;color:#fff;font-size:1.5rem}
.permissions-role-copy-v73 p{max-width:670px;margin:0;color:rgba(255,255,255,.68);font-size:.74rem;line-height:1.6}
.permissions-role-copy-v73>code{display:inline-flex;margin-top:.55rem;padding:.25rem .45rem;border-radius:7px;background:rgba(255,255,255,.09);color:rgba(255,255,255,.72);font-size:.65rem}
.role-type-chip-v73{display:inline-flex;align-items:center;gap:.38rem;padding:.34rem .6rem;border-radius:999px;background:rgba(255,255,255,.11);color:#fff;font-size:.65rem;font-weight:900}
.role-type-chip-v73.custom{background:rgba(244,204,91,.16);color:#f4d779}
.permissions-role-summary-v73{display:flex;align-items:center;gap:.8rem;min-width:250px;padding:.75rem;border:1px solid rgba(255,255,255,.13);border-radius:17px;background:rgba(255,255,255,.075)}
.permission-score-v73{position:relative;width:68px;height:68px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:conic-gradient(#f0cd67 var(--score),rgba(255,255,255,.13) 0)}
.permission-score-v73::after{content:"";position:absolute;inset:6px;border-radius:50%;background:#123d58}
.permission-score-v73>span{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}
.permission-score-v73 b{font-size:1rem;color:#fff}
.permission-score-v73 small{color:rgba(255,255,255,.62)!important;font-size:.55rem}
.permissions-role-summary-v73>div:last-child{display:flex;flex-direction:column}
.permissions-role-summary-v73>div:last-child strong{font-size:.72rem}
.permissions-role-summary-v73>div:last-child span{font-size:1.2rem;font-weight:900;color:#f2d06c}
.permissions-role-summary-v73>div:last-child small{color:rgba(255,255,255,.6)!important;font-size:.58rem}
.permissions-toolbar-v73{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.1rem;border-bottom:1px solid var(--v73-line);background:var(--v73-surface-2)}
.permissions-toolbar-copy-v73{display:flex;align-items:center;gap:.65rem}
.permissions-toolbar-copy-v73>i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--v73-surface);color:var(--v73-gold)}
.permissions-toolbar-copy-v73>span{display:flex;flex-direction:column}
.permissions-toolbar-copy-v73 strong{font-size:.76rem}
.permissions-toolbar-copy-v73 small{font-size:.6rem}
.permissions-toolbar-actions-v73{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;justify-content:flex-end}
.tech-code-switch-v73{position:relative;cursor:pointer}
.tech-code-switch-v73 input{position:absolute;opacity:0}
.tech-code-switch-v73 span{display:inline-flex;align-items:center;gap:.35rem;min-height:34px;padding:.4rem .65rem;border:1px solid var(--v73-line);border-radius:10px;background:var(--v73-surface);color:var(--v73-muted);font-size:.66rem;font-weight:800}
.tech-code-switch-v73 input:checked+span{border-color:var(--v73-gold);background:var(--v73-gold-soft);color:var(--v73-text)}
.permission-groups-v73{display:grid;gap:12px;padding:1rem;background:var(--v73-surface-2)}
.permission-group-v73{overflow:hidden;border:1px solid var(--v73-line);border-radius:17px;background:var(--v73-surface)}
.permission-group-head-v73{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border-bottom:1px solid var(--v73-line);background:var(--v73-surface)}
.permission-group-main-v73{display:grid;grid-template-columns:44px minmax(0,1fr) auto 18px;gap:.75rem;align-items:center;padding:.8rem .9rem;border:0;background:transparent;color:var(--v73-text);text-align:right}
.permission-group-main-v73:hover{background:var(--v73-surface-2)}
.permission-group-icon-v73{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--v73-line);border-radius:13px;background:var(--v73-surface-2);color:var(--v73-gold);font-size:1rem}
.permission-group-copy-v73{display:flex;min-width:0;flex-direction:column}
.permission-group-copy-v73 strong{font-size:.82rem}
.permission-group-copy-v73 small{font-size:.63rem;line-height:1.45}
.permission-group-progress-v73{display:flex;align-items:baseline;gap:.18rem;padding:.35rem .55rem;border-radius:10px;background:var(--v73-surface-2)}
.permission-group-progress-v73 b{font-size:.88rem;color:var(--v73-text)}
.permission-group-progress-v73 small{font-size:.58rem}
.permission-group-chevron-v73{transition:transform .2s}
.permission-group-main-v73[aria-expanded="false"] .permission-group-chevron-v73{transform:rotate(180deg)}
.permission-group-toggle-v73{display:flex;align-items:center;padding:0 .85rem;border-right:1px solid var(--v73-line);cursor:pointer}
.permission-group-toggle-v73 input{position:absolute;opacity:0}
.permission-group-toggle-v73 span{display:inline-flex;align-items:center;gap:.35rem;padding:.42rem .58rem;border:1px solid var(--v73-line);border-radius:10px;background:var(--v73-surface-2);color:var(--v73-muted);font-size:.63rem;font-weight:800;white-space:nowrap}
.permission-group-toggle-v73 input:checked+span{border-color:var(--v73-success);background:color-mix(in srgb,var(--v73-success) 10%,var(--v73-surface));color:var(--v73-success)}
.permission-cards-v73{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:.9rem}
.permission-card-v73{position:relative;display:flex;align-items:flex-start;gap:.65rem;min-height:70px;padding:.72rem;border:1px solid var(--v73-line);border-radius:13px;background:var(--v73-surface-2);cursor:pointer}
.permission-card-v73:hover{border-color:var(--v73-gold);background:var(--v73-gold-soft)}
.permission-card-v73 input{position:absolute;opacity:0}
.permission-check-v73{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border:2px solid #aab8c2;border-radius:9px;background:var(--v73-surface);color:transparent}
.permission-card-v73:has(input:checked){border-color:color-mix(in srgb,var(--v73-success) 42%,var(--v73-line));background:color-mix(in srgb,var(--v73-success) 6%,var(--v73-surface))}
.permission-card-v73 input:checked~.permission-check-v73{border-color:var(--v73-success);background:var(--v73-success);color:#fff}
.permission-copy-v73{display:flex;min-width:0;flex-direction:column}
.permission-copy-v73 strong{font-size:.76rem;color:var(--v73-text)}
.permission-copy-v73 small{font-size:.61rem;line-height:1.45}
.permission-tech-code-v73{width:max-content;max-width:100%;overflow:hidden;margin-top:.35rem;padding:.2rem .4rem;border-radius:7px;background:var(--v73-surface-3);color:var(--v73-info);font-size:.58rem;text-overflow:ellipsis}
.permissions-savebar-v73{position:sticky;bottom:0;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.1rem;border-top:1px solid var(--v73-line);background:color-mix(in srgb,var(--v73-surface) 95%,transparent);box-shadow:0 -12px 30px rgba(8,35,53,.06);backdrop-filter:blur(12px)}
.permissions-savebar-v73>div:first-child{display:flex;align-items:center;gap:.6rem;color:var(--v73-muted)}
.permissions-savebar-v73>div:first-child>i{color:var(--v73-gold)}
.permissions-savebar-v73>div:first-child>span{display:flex;flex-direction:column}
.permissions-savebar-v73 strong{font-size:.72rem;color:var(--v73-text)}
.permissions-savebar-v73 small{font-size:.6rem}

/* Public identity metadata */
.author-public-meta-v73{display:flex;flex-wrap:wrap;gap:.45rem .8rem;align-items:center}
.author-public-meta-v73>span{display:inline-flex;align-items:center;gap:.35rem}
.author-public-meta-v73>span+span{padding:.28rem .55rem;border-radius:999px;background:var(--v73-surface-2);border:1px solid var(--v73-line)}

/* Responsive */
@media (max-width:1399.98px){
    .admin-dashboard-page-v73 .admin-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .roles-overview-v73{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1199.98px){
    body.v67-ui .site-header-v6{padding:6px}
    body.v67-ui .site-navbar-v6{border-radius:18px!important}
    .home-hero-v73{margin-top:-78px;padding-top:145px}
    body.v67-ui .admin-nav{position:relative;top:auto;display:flex!important;max-height:none;overflow-x:auto;overflow-y:hidden;gap:.35rem;white-space:nowrap;padding:.5rem!important}
    body.v67-ui .admin-nav-title{display:none}
    body.v67-ui .admin-nav>a{flex:0 0 auto}
    .admin-dashboard-page-v73 .admin-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .dashboard-layout-v73 .dashboard-nav{position:relative;top:auto;display:flex;overflow-x:auto;gap:.35rem;white-space:nowrap;padding:.5rem}
    .dashboard-layout-v73 .dashboard-nav>a{flex:0 0 auto}
    .dashboard-layout-v73 .dashboard-nav-label{display:none}
    .roles-list-panel-v73,.home-admin-preview-card-v73{position:relative;top:auto}
}
@media (max-width:991.98px){
    .home-hero-v73{padding-bottom:72px}
    .home-discovery-v73{max-width:680px}
    .home-stats-v73{margin-top:-20px!important}
    .home-hero-actions-v73{align-items:stretch;flex-direction:column}
    .home-library-action-v73{min-height:50px}
    .admin-page-hero-v73,.trends-hero-v73{align-items:flex-start;flex-direction:column}
    .admin-hero-status-v73{justify-content:flex-start}
    .admin-dashboard-hero-v73{grid-template-columns:1fr}
    .admin-dashboard-signal-v73{max-width:480px}
    .admin-dashboard-page-v73 .admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .dashboard-kpis-v73{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ad-provider-grid-v73{grid-template-columns:1fr}
    .permissions-editor-head-v73{align-items:flex-start;flex-direction:column}
    .permissions-role-summary-v73{width:100%;min-width:0}
    .permissions-toolbar-v73{align-items:flex-start;flex-direction:column}
    .permissions-toolbar-actions-v73{justify-content:flex-start}
}
@media (max-width:767.98px){
    .home-hero-v73{padding-top:132px}
    .home-hero-copy-v73 h1{font-size:2.3rem}
    .home-search-command-v73{grid-template-columns:42px minmax(0,1fr) auto;min-height:67px}
    .home-search-icon-v73{width:42px;height:42px}
    .home-stats-v73 .stat-card-v6{min-height:78px;padding:.75rem}
    .admin-page-hero-v73,.admin-dashboard-hero-v73{padding:1.3rem;border-radius:21px}
    .admin-period-row-v73{align-items:flex-start;flex-direction:column}
    .admin-period-row-v73 .period-filter{width:100%;overflow-x:auto}
    .roles-overview-v73{grid-template-columns:1fr 1fr}
    .permission-cards-v73{grid-template-columns:1fr}
    .permission-group-head-v73{grid-template-columns:1fr}
    .permission-group-toggle-v73{justify-content:flex-end;padding:.55rem .8rem;border-top:1px solid var(--v73-line);border-right:0}
    .permissions-savebar-v73{align-items:flex-start;flex-direction:column}
    .permissions-savebar-v73>div:last-child{width:100%}
    .permissions-savebar-v73>div:last-child .btn{flex:1}
    .ads-section-head-v73{align-items:flex-start!important;flex-direction:column}
    .ads-provider-add-v73{width:100%;min-width:0}
    .ad-provider-tile-v73{grid-template-columns:42px minmax(0,1fr) auto}
    .ad-provider-tile-v73>.btn{grid-column:2/4;width:100%}
    .settings-sticky-save-v73,.settings-save-row-v73{align-items:flex-start;flex-direction:column}
    .settings-sticky-save-v73 .btn,.settings-save-row-v73 .btn{width:100%}
}
@media (max-width:575.98px){
    body.v67-ui .site-navbar-v6{border-radius:15px!important}
    .home-hero-v73{margin-top:-72px;padding:122px 0 56px}
    .home-hero-copy-v73 h1{font-size:1.95rem}
    .hero-badge-v73{font-size:.68rem}
    .home-search-command-v73 small{display:none}
    .home-trust-row-v73{gap:.5rem}
    .home-discovery-list-v73>a{grid-template-columns:41px minmax(0,1fr) auto}
    .roles-overview-v73{grid-template-columns:1fr}
    .roles-overview-v73 article{min-height:82px}
    .admin-dashboard-page-v73 .admin-stat-grid{grid-template-columns:1fr}
    .dashboard-kpis-v73{grid-template-columns:1fr 1fr}
    .dashboard-kpis-v73 .dash-kpi{min-height:112px}
    .admin-trend-grid-v73{grid-template-columns:1fr}
    .permissions-editor-head-v73{padding:1.15rem}
    .permission-group-main-v73{grid-template-columns:40px minmax(0,1fr) 16px}
    .permission-group-progress-v73{display:none}
    .permission-group-copy-v73 small{display:none}
    .permission-group-toggle-v73 span{width:100%;justify-content:center}
    .setting-switch-v73,.setting-switch-card-v73{grid-template-columns:42px minmax(0,1fr) auto;padding:.65rem}
    .setting-switch-icon-v73{width:40px;height:40px}
    .ad-provider-tile-v73{grid-template-columns:40px minmax(0,1fr) auto}
}
@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* Account identity inside the dashboard navigation */
.dashboard-nav-profile-v73{display:grid;grid-template-columns:46px minmax(0,1fr);gap:.7rem;align-items:center;margin:.15rem .1rem .75rem;padding:.65rem;border-bottom:1px solid var(--v73-line)}
.dashboard-nav-profile-v73>img,.dashboard-nav-profile-v73>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;object-fit:cover;background:linear-gradient(145deg,var(--v73-ink),var(--v73-ink-2));color:#fff;font-weight:900}
.dashboard-nav-profile-v73>div{display:flex;min-width:0;flex-direction:column}
.dashboard-nav-profile-v73 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v73-text);font-size:.78rem}
.dashboard-nav-profile-v73 small{font-size:.63rem}
.ad-provider-tile-v73.has-unsaved-change{border-color:var(--v73-gold);box-shadow:0 0 0 3px color-mix(in srgb,var(--v73-gold) 12%,transparent)}
@media(max-width:1199.98px){.dashboard-nav-profile-v73{display:none}}


/* Public identity hierarchy: the user-entered display name is always the dominant label. */
.author-profile-card h1{
    color:var(--v73-ink);
    font-size:clamp(1.65rem,2.2vw,2.35rem);
    font-weight:950;
    line-height:1.25;
    letter-spacing:-.025em;
    text-wrap:balance;
}
.author-public-meta-v73{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .75rem}
.author-public-meta-v73>span{display:inline-flex;align-items:center;gap:.35rem}
.author-public-meta-v73>span+span{padding:.32rem .65rem;border:1px solid var(--v73-line);border-radius:999px;background:var(--v73-surface-2);font-size:.72rem}
.author-card-copy-v68 h1{
    color:var(--v73-ink);
    font-size:clamp(1.55rem,2.6vw,2.15rem);
    font-weight:950;
    line-height:1.2;
    letter-spacing:-.025em;
}
.author-directory-main-v67 strong,.author-ranking-card-v67 strong{color:var(--v73-ink);font-weight:900}
[data-bs-theme="dark"] .author-profile-card h1,[data-bs-theme="dark"] .author-card-copy-v68 h1,[data-bs-theme="dark"] .author-directory-main-v67 strong,[data-bs-theme="dark"] .author-ranking-card-v67 strong{color:#f8fafc}
