*{box-sizing:border-box}html,body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#26292d;background:#f6f5f3}button,input,select{font:inherit}button{cursor:pointer}.app{display:grid;grid-template-columns:270px 1fr;min-height:100vh}aside{position:fixed;inset:0 auto 0 0;width:270px;background:linear-gradient(180deg,#202327,#181b1f 65%,#171a1e);color:#dee0e3;padding:18px 16px;overflow:auto;z-index:20}.side-brand{height:58px;display:flex;align-items:center;gap:13px;padding:0 8px 14px;border-bottom:1px solid #36393d}.brandmark,.header-avatar,.table-avatar,.big-avatar{display:grid;place-items:center;color:white;font-weight:800;background:linear-gradient(135deg,#526273,#526273);box-shadow:0 8px 20px #52627344}.brandmark{width:46px;height:46px;border-radius:12px;font-size:24px}.side-brand b{font-size:20px;color:#fff}.side-brand small{display:block;font-size:10px;letter-spacing:1.4px;color:#526273}.collapse-btn{margin-left:auto;border:0;background:#2a2d31;color:#526273;border-radius:50%;width:34px;height:34px;color:white}.nav-label{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#526273;margin:24px 12px 10px}.nav-label.sub{padding-top:18px;border-top:1px solid #313438}nav a{display:flex;align-items:center;gap:13px;color:#526273;text-decoration:none;padding:12px 13px;margin:3px 0;border-radius:9px;font-size:14px;position:relative}nav a:hover{background:#292c30;color:white}nav a.on{background:linear-gradient(90deg,#526273,#526273);color:white;box-shadow:0 8px 22px #52627345}.ico{font-style:normal;width:24px;text-align:center;font-size:19px;color:#526273}.ico.gold{color:#ffc62d}.ico.cyan{color:#26d9e7}.ico.green{color:#5ce0b1}.ico.pink{color:#ff6c9f}.notify{margin-left:auto;background:#ff365a;color:#fff;border-radius:20px;padding:2px 7px;font-size:10px}.side-health{position:sticky;bottom:0;margin-top:26px;padding:13px;border:1px solid #393c40;background:#23262a;border-radius:11px}.side-health span{display:block;color:#dddfe2;font-weight:700;font-size:12px}.side-health span i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#23dca0;box-shadow:0 0 12px #23dca0;margin-right:7px}.side-health small{display:block;color:#526273;font-size:10px;margin-top:5px}.content{grid-column:2;min-width:0}header{height:74px;background:linear-gradient(90deg,#2e3135,#1f2226);display:flex;align-items:center;justify-content:space-between;padding:0 24px;color:#f1efea;position:sticky;top:0;z-index:15;box-shadow:0 2px 14px #1d20241c}.top-search{width:460px;height:42px;border:1px solid #7a6b40;background:#3f4246;border-radius:10px;display:flex;align-items:center;padding:0 13px;color:#526273}.top-search input{flex:1;background:transparent;border:0;outline:0;color:white;padding:0 10px}.top-search kbd{font-size:11px;border:1px solid #526273;border-radius:5px;padding:3px 7px}.header-actions{display:flex;align-items:center;gap:11px}.head-btn,.theme-switch,.chev{border:0;background:#2f3236;color:#f1efea;border-radius:10px;height:38px;min-width:38px;position:relative}.bubble{position:absolute;right:-3px;top:-5px;background:#ff3159;border-radius:12px;font-size:9px;padding:2px 5px}.header-avatar{width:40px;height:40px;border-radius:10px;text-decoration:none}.head-user{min-width:120px}.head-user b{display:block;font-size:12px;color:#fff}.head-user small{font-size:9px;color:#526273}.profile-menu{display:none;position:fixed;right:20px;top:68px;background:white;padding:10px;border-radius:10px;box-shadow:0 16px 40px #1d202430;z-index:40}.profile-menu.show{display:block}.profile-menu a,.profile-menu button{display:block;padding:10px 18px;border:0;background:none;text-decoration:none;color:#272a2e}.page{padding:22px 30px 45px;max-width:1700px;margin:auto}.crumbline{font-size:12px;color:#526273;margin-bottom:14px}.crumbline span{padding:0 8px}.user-titlebar{display:flex;align-items:center;gap:17px;margin-bottom:18px}.title-icon{width:58px;height:58px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#526273,#526273);color:#fff;font-size:27px;box-shadow:0 10px 24px #52627345}.user-titlebar h1{font-size:29px;margin:0 0 2px;color:#222529}.user-titlebar p{margin:0;color:#526273;font-size:14px}.title-actions{margin-left:auto;display:flex;gap:10px}.title-actions button,.filter-panel button{border:1px solid #ebe9e3;background:#fff;color:#393c40;padding:11px 18px;border-radius:9px;font-weight:700}.primary{background:#c3c5c8!important;color:#292a27!important;border:0!important;box-shadow:0 8px 18px #52627330}.stat-grid.six{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid #efede7;border-radius:13px;min-height:108px;padding:17px;display:flex;align-items:flex-start;gap:12px;box-shadow:0 4px 16px #2e313508}.sicon{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;font-style:normal;font-size:22px}.sicon.blue{background:#f6f5f2;color:#526273}.sicon.green{background:#dcf9eb;color:#13b972}.sicon.orange{background:#edeff2;color:#ff8a31}.sicon.purple{background:#f4f3ef;color:#526273}.sicon.cyan{background:#ddfafa;color:#08bec7}.sicon.pink{background:#ffe4ee;color:#f13f74}.stat-card span{font-size:12px;font-weight:700;color:#526273}.stat-card strong{font-size:25px;display:block;margin-top:4px}.stat-card small{font-size:9px;color:#526273}.filter-panel{background:#fff;border:1px solid #edebe6;border-radius:13px;padding:18px;margin-bottom:16px}.searchrow{display:flex;gap:12px}.searchbox{height:44px;border:1px solid #e0e2e5;border-radius:9px;display:flex;align-items:center;padding:0 13px;flex:1;color:#526273}.searchbox input{border:0;outline:0;flex:1;padding-left:9px}.search-btn{background:linear-gradient(135deg,#526273,#526273)!important;color:white!important;width:100px}.filterrow{display:grid;grid-template-columns:1fr 1fr 1fr 120px 170px;gap:12px;margin-top:14px;align-items:end}.filterrow label{font-size:11px;font-weight:700;color:#474a4e}.filterrow select{display:block;width:100%;height:42px;border:1px solid #e1e3e6;border-radius:8px;background:white;margin-top:7px;padding:0 12px;color:#474a4e}.user-workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}.user-table-card,.detail-side{background:#fff;border:1px solid #edebe6;border-radius:13px;box-shadow:0 5px 18px #282b2f09}.bulkbar{min-height:58px;display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid #efeee9;font-size:11px;color:#526273}.bulkbar button{border:0;border-radius:7px;padding:8px 11px;background:#f8f7f5;color:#ab965c;font-weight:700;font-size:10px}.bulkbar button.ok{background:#dff8e9;color:#149759}.bulkbar button.bad{background:#ffe7eb;color:#e43858}.bulkbar i{height:28px;border-left:1px solid #e3e5e8}.perpage{margin-left:auto}.perpage select{border:1px solid #e4e6e9;border-radius:7px;padding:6px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}th{padding:13px 10px;text-align:left;color:#526273;background:#fdfdfd;font-size:9px}td{padding:11px 10px;border-top:1px solid #f4f3ef;color:#585b5f}.user-cell{display:flex;align-items:center;gap:9px;color:#282b2f}.table-avatar{width:31px;height:31px;border-radius:9px}.role-badge,.status-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:7px;font-weight:800;font-size:9px}.role-badge.superadmin,.role-badge.admin{background:#f6f4f1;color:#526273}.role-badge.member{background:#dcf8e9;color:#15985c}.status-pill.active{background:#dcf8e9;color:#15985c}.status-pill.inactive{background:#ffe7eb;color:#ef3d5e}.status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.device{display:block;color:#526273}.row-actions{display:flex;gap:5px}.row-actions form{display:inline}.row-actions button{width:28px;height:28px;border:0;border-radius:7px;background:#f8f7f4;color:#526273}.row-actions .trash{background:#ffe7eb;color:#f13b5b}.table-footer{padding:14px 16px;display:flex;justify-content:space-between;color:#526273;font-size:10px}.pagination{display:flex;gap:5px}.pagination button{border:1px solid #e4e6e9;background:#fff;border-radius:7px;min-width:31px;height:31px}.pagination button.on{background:#526273;color:white;border:0}.detail-side{padding:17px;position:relative;min-height:430px}.side-close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:24px;color:#526273}.detail-side>h3{margin:0 0 20px}.detail-profile{display:flex;align-items:center;gap:12px;margin-top:8px}.big-avatar{width:54px;height:54px;border-radius:50%;font-size:22px}.detail-profile h3{margin:0;font-size:15px}.detail-profile p{font-size:10px;color:#526273}.detail-tabs{display:flex;justify-content:space-between;margin:20px -17px 0;border-bottom:1px solid #eeece7;padding:0 17px}.detail-tabs>*{padding:10px 4px;font-size:10px}.detail-tabs b{color:#526273;border-bottom:2px solid #526273}dl{font-size:10px}dl div{}dt,dd{display:inline-block;margin:0;padding:10px 0;border-bottom:1px solid #f4f2ee}dt{width:43%;color:#526273}dd{width:55%;text-align:right;color:#383b3f}.detail-buttons{display:grid;gap:8px;margin-top:15px}.detail-buttons button{width:100%;border:0;border-radius:8px;background:#526273;color:white;padding:10px;font-weight:700}.detail-buttons .outline-danger{background:white;color:#ef3659;border:1px solid #ef3659}.detail-empty{color:#526273;text-align:center;padding:120px 20px 0}.premium-dialog{border:0;border-radius:16px;padding:0;width:min(620px,92vw);box-shadow:0 28px 90px #23262a55}.premium-dialog::backdrop{background:#20232799;backdrop-filter:blur(4px)}.premium-dialog form{padding:24px}.modal-head{display:flex;align-items:center;gap:13px;margin-bottom:20px}.modal-head h2{margin:0}.modal-head p{margin:3px 0;color:#526273}.modal-head>button{margin-left:auto;border:0;background:#f7f6f4;border-radius:8px;width:34px;height:34px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.premium-dialog label{display:block;font-size:12px;font-weight:700;margin:10px 0;color:#595c60}.premium-dialog input,.premium-dialog select{width:100%;height:42px;border:1px solid #e1e3e6;border-radius:8px;padding:0 12px;margin-top:6px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.modal-actions button{border:1px solid #e3e5e8;background:white;padding:10px 18px;border-radius:8px}.toast{position:fixed;right:25px;top:85px;background:#282b2f;color:white;padding:11px 16px;border-radius:9px;transform:translateY(-20px);opacity:0;pointer-events:none;transition:.2s;z-index:100}.toast.show{opacity:1;transform:none}.dark{filter:none}.sidebar-mini{grid-template-columns:86px 1fr}.sidebar-mini aside{width:86px}.sidebar-mini .side-brand>div:not(.brandmark),.sidebar-mini nav span,.sidebar-mini .nav-label,.sidebar-mini .side-health,.sidebar-mini nav em{display:none}.sidebar-mini nav a{justify-content:center}.sidebar-mini .content{grid-column:2}@media(max-width:1250px){.stat-grid.six{grid-template-columns:repeat(3,1fr)}.user-workspace{grid-template-columns:1fr}.detail-side{display:none}.filterrow{grid-template-columns:repeat(3,1fr)}}@media(max-width:850px){.app{display:block}.content{display:block}.app aside{transform:translateX(-100%)}.page{padding:18px}.top-search{display:none}.stat-grid.six{grid-template-columns:repeat(2,1fr)}.title-actions button:not(.primary){display:none}.user-titlebar{align-items:flex-start}.title-actions{margin-left:auto}.filterrow{grid-template-columns:1fr 1fr}.head-user{display:none}}

/* V5.1 LOGIN HOTFIX */
.login-body{margin:0;min-height:100vh;background:#1a1a18;overflow-x:hidden;color:#272a2e}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)}.login-brand{position:relative;overflow:hidden;padding:55px clamp(45px,7vw,110px);color:#fff;background:radial-gradient(circle at 25% 15%,#4a4d51 0,transparent 35%),linear-gradient(145deg,#191917,#1e2125);display:flex;flex-direction:column;justify-content:center}.login-brand:before,.login-brand:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.login-brand:before{width:500px;height:500px;background:#5262731c;right:-190px;top:-150px}.login-brand:after{width:380px;height:380px;border:1px solid #ffffff0c;right:60px;bottom:-230px}.login-brand-top{display:flex;align-items:center;gap:13px;position:absolute;top:50px;left:clamp(45px,7vw,110px);z-index:2}.login-brand-top b{display:block;font-size:16px}.login-brand-top small{display:block;color:#526273;font-size:9px;letter-spacing:.16em;margin-top:3px}.login-copy{position:relative;z-index:1}.secure-chip{display:inline-flex;padding:8px 11px;border:1px solid #ffffff12;background:#ffffff08;border-radius:999px;color:#526273;font-size:9px;font-weight:900;letter-spacing:.14em;margin-bottom:25px}.login-copy h1{font-size:clamp(42px,4.4vw,68px);line-height:1.04;letter-spacing:-.045em;max-width:700px;margin:0 0 22px}.login-copy h1 em{font-style:normal;color:#526273}.login-copy>p{max-width:600px;color:#526273;font-size:17px;line-height:1.7}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:35px;max-width:600px}.feature-grid>div{display:grid;grid-template-columns:28px 1fr;column-gap:9px;align-items:center;padding:13px 14px;border:1px solid #ffffff0d;background:#ffffff06;border-radius:13px}.feature-grid span{grid-row:1/3;width:26px;height:26px;border-radius:8px;background:#5262731f;color:#526273;display:grid;place-items:center;font-size:11px}.feature-grid b{font-size:11px}.feature-grid small{color:#526273;font-size:9px}.login-brand-foot{position:absolute;bottom:36px;left:clamp(45px,7vw,110px);right:clamp(45px,7vw,110px);display:flex;justify-content:space-between;color:#526273;font-size:9px;letter-spacing:.08em}.login-card{background:#fdfdfd;padding:40px clamp(34px,7vw,100px);display:flex;flex-direction:column;justify-content:center}.login-card-inner{width:min(450px,100%);margin:auto}.mobile-logo{display:none}.login-icon{width:52px;height:52px;border-radius:16px;background:#f8f7f5;color:#526273;padding:14px;margin-bottom:25px}.login-icon svg,.login-trust svg,.input-icon>svg,.eye svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-icon svg{width:100%;height:100%}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.16em;color:#526273;margin:0 0 10px}.login-card h2{font-size:36px;letter-spacing:-.03em;margin:0 0 8px}.muted{color:#526273}.login-sub{margin:0 0 30px}.login-form label{display:block;font-size:12px;font-weight:800;margin:17px 0 8px}.label-row{display:flex;justify-content:space-between;align-items:end}.label-row label{margin-bottom:8px}.label-row span{font-size:9px;color:#526273;margin-bottom:8px}.input-icon{position:relative}.input-icon>svg{position:absolute;width:18px;height:18px;left:15px;top:50%;transform:translateY(-50%);color:#526273}.input-icon input{width:100%;height:52px;border:1px solid #e4e6e9;border-radius:13px;background:#fff;outline:0;color:#222529;padding:14px 46px 14px 45px}.input-icon input:focus{border-color:#526273;box-shadow:0 0 0 3px #52627318}.eye{position:absolute;right:8px;top:8px;width:36px;height:36px;padding:9px;border:0;background:transparent;color:#526273}.eye svg{width:100%;height:100%}.login-submit{width:100%;height:52px;border:0;border-radius:11px;background:linear-gradient(135deg,#526273,#526273);color:#fff;font-weight:800;padding:14px 18px;cursor:pointer;box-shadow:0 8px 24px #52627330;display:flex;justify-content:space-between;align-items:center;margin-top:22px}.login-submit b{font-size:19px}.alert{padding:12px 14px;border-radius:10px;background:#fff0f1;color:#b62e3b;border:1px solid #ffd7db;margin-top:18px}.login-trust{display:flex;align-items:center;gap:12px;margin-top:25px;padding:14px;border-radius:13px;background:#f8f8f6;border:1px solid #f1efeb}.login-trust svg{width:22px;height:22px;color:#2a9b68}.login-trust b{display:block;font-size:10px}.login-trust small{display:block;color:#526273;font-size:9px;margin-top:3px}.login-card .foot{text-align:center;color:#526273;font-size:11px;margin-top:30px}@media(max-width:950px){.login-shell{grid-template-columns:1fr}.login-brand{display:none}.login-card{min-height:100vh}.mobile-logo{display:flex;gap:12px;align-items:center;font-weight:900;margin-bottom:60px}}@media(max-width:600px){.login-card{padding:40px 25px}.login-card h2{font-size:32px}}

/* V5.2 COMPLETE INNER-PAGE UI */
.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px;padding:4px 2px}.hero h1{margin:2px 0 7px;font-size:31px;line-height:1.15;letter-spacing:-.035em;color:#212428}.hero>div>p:not(.eyebrow){margin:0;color:#526273;font-size:14px}.hero-actions{display:flex;align-items:center;gap:10px}.date-chip{display:inline-flex;align-items:center;min-height:38px;padding:0 13px;border:1px solid #e6e8eb;border-radius:9px;background:#fff;color:#526273;font-size:12px;font-weight:700}.primary.compact{display:inline-flex;align-items:center;min-height:38px;padding:0 15px;border-radius:9px;text-decoration:none;font-size:12px;font-weight:800}
.stats.premium-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.premium-stats article{position:relative;overflow:hidden;min-height:142px;padding:18px 18px 15px;background:#fff;border:1px solid #edebe6;border-radius:14px;box-shadow:0 7px 22px rgba(26,42,79,.055)}.premium-stats article:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-36px;top:-36px;background:rgba(102,75,244,.055)}.stat-icon{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;margin-bottom:13px;background:#f7f6f3;color:#526273;font-size:19px;font-weight:900}.premium-stats article:nth-child(2) .stat-icon{background:#dff8ec;color:#10a866}.premium-stats article:nth-child(3) .stat-icon{background:#edeff2;color:#ed8b28}.premium-stats article:nth-child(4) .stat-icon{background:#dff8fb;color:#0baab7}.premium-stats span{display:block;color:#526273;font-size:11px;font-weight:800}.premium-stats strong{display:block;margin:2px 0 2px;color:#23262a;font-size:28px;letter-spacing:-.04em}.premium-stats small{display:block;color:#526273;font-size:10px}.meter{height:4px;background:#f4f3f0;border-radius:99px;overflow:hidden;margin-top:13px}.meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#526273,#526273)}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr);gap:16px;align-items:start}.panel{background:#fff;border:1px solid #edebe6;border-radius:14px;box-shadow:0 6px 20px rgba(22,39,75,.045);padding:18px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding-bottom:14px;border-bottom:1px solid #f4f2ee}.panel-head h3,.panel-title h3{margin:2px 0 4px;color:#26292d;font-size:17px}.panel-head p:not(.eyebrow),.panel-title p{margin:0;color:#526273;font-size:11px}.panel-head>a{font-size:11px;font-weight:800;color:#526273;text-decoration:none}.activity-list{padding-top:4px}.activity-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid #f4f3f0}.activity-item:last-child{border-bottom:0}.activity-symbol{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#f8f7f5;color:#526273;font-weight:900;font-size:12px}.activity-item b{display:block;color:#3a3d41;font-size:11px}.activity-item small{display:block;margin-top:3px;color:#526273;font-size:10px}.activity-item time{color:#526273;font-size:10px}.empty-state{text-align:center;padding:45px 15px;color:#526273;font-size:12px}.right-stack{display:grid;gap:16px}.quick-panel{padding:0;overflow:hidden}.quick-panel .panel-head{padding:17px}.quick-panel>a{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:13px 17px;border-bottom:1px solid #f4f3f0;color:#4b4e52;text-decoration:none;font-size:18px}.quick-panel>a:last-child{border-bottom:0}.quick-panel>a:hover{background:#fdfdfc}.quick-panel>a span b{display:block;font-size:11px;color:#3a3d41}.quick-panel>a span small{display:block;margin-top:2px;font-size:9px;color:#526273}.quick-panel>a em{font-style:normal;color:#526273;font-size:13px}.security-card{display:flex;gap:14px;align-items:flex-start;background:linear-gradient(145deg,#25282c,#1e2125);border-color:#3e4145;color:#f0efea}.security-card .shield{flex:0 0 42px;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#20c9901f;color:#37e4aa;border:1px solid #36dca83b;font-size:20px}.security-card h3{margin:2px 0 7px;color:#fff;font-size:15px}.security-card p:not(.eyebrow){margin:0;color:#526273;font-size:10px;line-height:1.6}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-grid .panel{min-height:150px}.settings-grid h3{margin:0 0 8px;font-size:17px}.muted{color:#526273;line-height:1.65}.success-box{margin-bottom:15px;padding:12px 15px;border:1px solid #bfead5;background:#e9f9f1;color:#16875a;border-radius:10px;font-size:12px;font-weight:800}.profile-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px;align-items:start}.profile-grid>div{display:grid;gap:16px}.profile-card{text-align:center;padding:28px 20px}.profile-card .big-avatar{width:72px;height:72px;margin:0 auto 13px;font-size:27px}.profile-card h2{margin:0 0 7px;font-size:20px}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:7px;background:#f6f5f2;color:#526273;font-size:9px;font-weight:900}.profile-card>p{color:#526273;font-size:11px}.mini-info{margin-top:22px;text-align:left;border-top:1px solid #f4f2ee}.mini-info span{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #f4f2ee;color:#526273;font-size:10px}.mini-info b{color:#474a4e}.green{color:#13a86b!important}.panel-title{padding-bottom:13px;margin-bottom:5px;border-bottom:1px solid #f4f2ee}.profile-grid label{display:block;margin-top:13px;color:#5a5d61;font-size:11px;font-weight:800}.profile-grid input,.profile-grid textarea{width:100%;margin-top:6px;border:1px solid #e3e5e8;border-radius:9px;background:#fff;color:#383b3f;outline:none}.profile-grid input{height:42px;padding:0 12px}.profile-grid textarea{min-height:100px;padding:12px;resize:vertical}.profile-grid input:focus,.profile-grid textarea:focus{border-color:#526273;box-shadow:0 0 0 3px #52627315}.save-row{display:flex;justify-content:flex-end;margin-top:17px}.save-row button{border-radius:9px;padding:11px 17px;font-size:11px;font-weight:800}.security-panel{margin-top:0}
body.ui-dark{background:#15181c;color:#efede7}body.ui-dark .page{color:#efede7}body.ui-dark .hero h1,body.ui-dark .premium-stats strong,body.ui-dark .panel h3,body.ui-dark .activity-item b,body.ui-dark .quick-panel>a span b{color:#f8f7f5}body.ui-dark .panel,body.ui-dark .premium-stats article,body.ui-dark .date-chip,body.ui-dark .filter-panel,body.ui-dark .user-table-card,body.ui-dark .detail-side{background:#202327;border-color:#393c40}body.ui-dark .activity-item,body.ui-dark .panel-head,body.ui-dark .quick-panel>a,body.ui-dark .mini-info span,body.ui-dark .mini-info,body.ui-dark .panel-title{border-color:#393c40}body.ui-dark .quick-panel>a{color:#dadcdf}body.ui-dark .quick-panel>a:hover{background:#272a2e}body.ui-dark .profile-grid input,body.ui-dark .profile-grid textarea{background:#1b1e22;border-color:#3f4246;color:#f6f4f1}
@media(max-width:1100px){.stats.premium-stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.profile-grid{grid-template-columns:1fr}.profile-card{text-align:left}.profile-card .big-avatar{margin-left:0}.settings-grid{grid-template-columns:1fr}}@media(max-width:600px){.stats.premium-stats{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column}.hero-actions{width:100%;flex-wrap:wrap}.activity-item{grid-template-columns:38px 1fr}.activity-item time{grid-column:2}.grid2{grid-template-columns:1fr}}

/* V5.3 interaction + polish */
html{scrollbar-width:thin;scrollbar-color:#526273 #f2f0ec}body::-webkit-scrollbar,aside::-webkit-scrollbar,.table-wrap::-webkit-scrollbar,.page::-webkit-scrollbar{width:9px;height:9px}body::-webkit-scrollbar-track,aside::-webkit-scrollbar-track,.table-wrap::-webkit-scrollbar-track{background:#f2f0ec;border-radius:20px}aside::-webkit-scrollbar-track{background:#1b1e22}.table-wrap::-webkit-scrollbar-track{background:#f6f5f3}body::-webkit-scrollbar-thumb,aside::-webkit-scrollbar-thumb,.table-wrap::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#526273,#526273);border-radius:20px;border:2px solid transparent;background-clip:padding-box}.table-wrap::-webkit-scrollbar-thumb{background:#526273;border:2px solid #f6f5f3;background-clip:padding-box}
.page{min-height:calc(100vh - 74px)}.user-titlebar,.filter-panel,.user-table-card,.detail-side,.stat-card{transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px #393c4012}.head-btn,.theme-switch,.chev{display:grid;place-items:center;transition:.18s ease}.head-btn:hover,.theme-switch:hover,.chev:hover{background:#45484c;transform:translateY(-1px)}.profile-menu.top{min-width:180px;border:1px solid #eeece7;padding:7px}.profile-menu.top a,.profile-menu.top button{width:100%;text-align:left;border-radius:7px;font-size:13px}.profile-menu.top a:hover,.profile-menu.top button:hover{background:#f8f8f6}.profile-menu.top form{margin:0}.title-actions button,.search-btn,.reset-btn,.advanced-btn,.bulkbar button,.row-actions button{transition:.16s ease}.title-actions button:hover,.reset-btn:hover,.advanced-btn:hover,.bulkbar button:hover,.row-actions button:hover{transform:translateY(-1px);box-shadow:0 5px 14px #2e313514}.advanced-box{display:none;margin-top:13px;padding:13px;border:1px dashed #dfe1e4;border-radius:10px;background:#fdfcfb;color:#526273;font-size:11px}.advanced-box.show{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.advanced-box label{font-weight:700}.advanced-box input,.advanced-box select{display:block;width:100%;height:38px;margin-top:6px;border:1px solid #e2e4e7;border-radius:8px;padding:0 10px;background:#fff}.bulkbar .bulk-count{font-weight:800;color:#3a3d41}.bulkbar button:disabled{opacity:.42;cursor:not-allowed;transform:none;box-shadow:none}.check-cell{width:16px;height:16px;accent-color:#526273}.detail-side{position:sticky;top:92px;max-height:calc(100vh - 115px);overflow:auto}.detail-side.open{box-shadow:0 14px 35px #393c4018}.import-input{display:none}.top-search input::placeholder{color:#526273}.toast{position:fixed;right:24px;top:88px;z-index:100;background:#2b2e32;color:white;padding:11px 15px;border-radius:9px;box-shadow:0 15px 35px #171a1e33;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}.notification-panel{display:none;position:fixed;right:240px;top:66px;width:300px;background:#fff;border:1px solid #edebe6;border-radius:12px;box-shadow:0 18px 45px #2124282c;z-index:50;padding:10px}.notification-panel.show{display:block}.notification-panel h4{margin:6px 8px 10px}.notification-item{padding:10px;border-radius:8px;font-size:11px;color:#526273}.notification-item:hover{background:#faf9f7}.notification-item b{display:block;color:#3a3d41;margin-bottom:2px}
body.dark{background:#080808;color:#ececec}body.dark .page{color:#ececec}body.dark .stat-card,body.dark .filter-panel,body.dark .user-table-card,body.dark .detail-side,body.dark .profile-menu,body.dark .notification-panel{background:#111111;border-color:#222222}body.dark .user-titlebar h1,body.dark .stat-card strong,body.dark .detail-side h3{color:#f7f7f7}body.dark .filter-panel input,body.dark .filter-panel select,body.dark .advanced-box,body.dark .advanced-box input,body.dark .advanced-box select{background:#111111;border-color:#222222;color:#f4f4f4}body.dark .profile-menu.top a,body.dark .profile-menu.top button,body.dark .notification-item b{color:#f4f4f4}body.dark .profile-menu.top a:hover,body.dark .profile-menu.top button:hover,body.dark .notification-item:hover{background:#171717}body.dark th{background:#111111;color:#c3c3c3}body.dark td{border-color:#222222;color:#dcdcdc}body.dark .table-wrap::-webkit-scrollbar-track{background:#111111}
@media(max-width:1250px){.detail-side{display:block;position:fixed;right:18px;top:90px;width:min(360px,calc(100vw - 36px));max-height:calc(100vh - 110px);z-index:45;transform:translateX(calc(100% + 35px));transition:.22s ease}.detail-side.open{transform:translateX(0)}.user-workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:850px){body{overflow-x:hidden}.app aside{width:250px;transform:translateX(-100%);transition:.22s ease}.app.mobile-nav aside{transform:translateX(0);box-shadow:20px 0 50px #171a1e55}.content{width:100%;min-width:0}.page{padding:16px 14px}.user-titlebar{flex-wrap:wrap}.title-actions{width:100%;margin-left:0;overflow-x:auto;padding-bottom:4px}.title-actions button{white-space:nowrap}.stat-grid.six{grid-template-columns:1fr 1fr}.filterrow{grid-template-columns:1fr 1fr}.bulkbar{overflow-x:auto}.table-wrap{max-width:100%;overflow:auto}.header-actions{margin-left:auto}.header-avatar{display:none}.chev{display:none}.mobile-menu-btn{display:grid!important}}
@media(min-width:851px){.mobile-menu-btn{display:none!important}}

/* V5.4 refined controls, compact scrollbars, richer menus */
:root{--ui-purple:#526273;--ui-line:#efede8;--ui-muted:#526273}
*{scrollbar-width:thin;scrollbar-color:#526273 transparent}
*::-webkit-scrollbar{width:5px;height:5px}
*::-webkit-scrollbar-button{display:none;width:0;height:0}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:#526273;border-radius:999px;border:0}
aside::-webkit-scrollbar{width:4px}aside::-webkit-scrollbar-thumb{background:#526273}.table-wrap::-webkit-scrollbar{height:5px}.table-wrap::-webkit-scrollbar-thumb{background:#526273}
.filter-panel{padding:16px}.searchrow{align-items:center}.search-btn{width:auto;min-width:112px;height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.filterrow{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(170px,1fr) auto auto}.reset-btn,.advanced-btn{height:42px;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;white-space:nowrap;padding:0 16px!important}.advanced-btn{min-width:158px}.ui-icon{width:17px;height:17px;display:inline-block;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.ui-icon.sm{width:15px;height:15px}.ui-icon.lg{width:20px;height:20px}.head-btn .ui-icon,.theme-switch .ui-icon,.chev .ui-icon{display:block;margin:auto}.theme-switch{display:flex!important;gap:4px;align-items:center;justify-content:center;padding:0 10px}.theme-switch .moon{opacity:.5}.profile-menu.top{right:18px;top:66px;width:238px;padding:8px;border-radius:14px;box-shadow:0 22px 55px #1d202435}.profile-menu .menu-user{display:flex;align-items:center;gap:10px;padding:9px 10px 12px;border-bottom:1px solid #f4f2ee;margin-bottom:5px}.profile-menu .menu-avatar{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:800;background:linear-gradient(135deg,#526273,#526273)}.profile-menu .menu-user b{display:block;font-size:12px}.profile-menu .menu-user small{font-size:9px;color:#526273}.profile-menu.top a,.profile-menu.top button{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;font-size:12px}.profile-menu.top .danger{color:#e3405f}.profile-menu .menu-sep{height:1px;background:#f4f2ee;margin:5px 4px}.notification-panel{right:205px;top:66px;width:340px;padding:0;border-radius:15px;overflow:hidden}.notif-head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid #f4f2ee}.notif-head h4{margin:0!important;font-size:14px}.notif-head button{border:0;background:#f8f7f4;color:#526273;border-radius:8px;padding:6px 8px;font-size:10px;font-weight:800}.notification-item{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:12px 15px!important;border-radius:0!important;border-bottom:1px solid #f5f4f1}.notification-item:last-child{border-bottom:0}.notif-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#f6f5f3;color:#526273}.notif-icon.green{background:#e2f9ee;color:#11a86b}.notif-icon.orange{background:#eef0f3;color:#ef8a27}.notification-item b{font-size:11px}.notification-item span{display:block;font-size:10px;color:#526273;margin-top:2px}.row-actions button{display:inline-grid;place-items:center}.row-actions button .ui-icon{width:14px;height:14px}.row-menu{position:relative}.row-menu-pop{display:none;position:absolute;right:0;top:34px;width:165px;background:#fff;border:1px solid #eeece7;border-radius:10px;padding:6px;box-shadow:0 14px 35px #272a2e26;z-index:20}.row-menu.open .row-menu-pop{display:block}.row-menu-pop button,.row-menu-pop a{width:100%!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px;padding:8px!important;background:transparent!important;color:#46494d!important;text-decoration:none;border-radius:7px!important;font-size:10px}.row-menu-pop button:hover,.row-menu-pop a:hover{background:#f9f8f6!important}.table-wrap{scrollbar-gutter:auto}.table-footer{align-items:center}.pagination button{display:grid;place-items:center}.pagination button:disabled{opacity:.4;cursor:not-allowed}.pagination .on{box-shadow:0 5px 12px #5262732e}.advanced-box.show{animation:uiDrop .16s ease}@keyframes uiDrop{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:1150px){.filterrow{grid-template-columns:1fr 1fr 1fr}.filterrow .reset-btn,.filterrow .advanced-btn{width:100%}}

/* === V5.5 VISUAL REFINEMENT === */
:root{--violet:#526273;--violet2:#526273;--ink:#282b2f;--muted:#526273;--line:#efede7;--surface:#fff;--canvas:#f9f8f6}
html{scrollbar-width:thin;scrollbar-color:#526273 transparent}*{scrollbar-width:thin;scrollbar-color:#526273 transparent}*::-webkit-scrollbar{width:4px;height:4px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#526273;border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:#526273}*::-webkit-scrollbar-button{display:none;width:0;height:0}
.page{background:radial-gradient(circle at 90% 0,#f8f7f5 0,transparent 26%),#f9f8f6}.user-titlebar{padding:4px 2px}.title-icon{box-shadow:0 10px 28px #52627332}.stat-card{transition:.2s ease;box-shadow:0 8px 25px #3e41450a}.stat-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px #3e414514}.filter-panel,.user-table-card,.detail-side{box-shadow:0 10px 30px #3033370b}
.search-btn,.advanced-btn,.reset-btn{height:44px;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;white-space:nowrap}.ui-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.ui-icon.sm{width:15px;height:15px}.advanced-btn svg,.reset-btn svg,.search-btn svg{flex:0 0 18px}.advanced-btn span,.reset-btn span,.search-btn span{line-height:1!important}
/* clean compact sidebar */
.sidebar-mini{grid-template-columns:76px 1fr}.sidebar-mini aside{width:76px;padding:18px 10px}.sidebar-mini .side-brand{padding:0 0 14px;justify-content:center}.sidebar-mini .brandmark{width:42px;height:42px;font-size:0}.sidebar-mini .brandmark:after{content:'M';font-size:21px}.sidebar-mini .collapse-btn{position:absolute;left:57px;top:24px;width:27px;height:27px;border:2px solid #202327;background:#3e4145;box-shadow:0 4px 12px #17171555}.sidebar-mini nav a{width:48px;height:48px;padding:0;margin:5px auto;justify-content:center;border-radius:12px}.sidebar-mini nav .ico{width:auto;font-size:20px}.sidebar-mini nav a.on{box-shadow:0 9px 22px #5262733b}.sidebar-mini .nav-label,.sidebar-mini .side-health,.sidebar-mini nav span,.sidebar-mini nav em{display:none}.sidebar-mini .nav-label.sub{border:0;margin:8px 0;padding:0}.sidebar-mini .content{grid-column:2}
/* menus */
.profile-menu.top,.notification-panel{border:1px solid #efeee9;border-radius:16px;box-shadow:0 24px 70px #1d20242e;overflow:hidden}.profile-menu.top{padding:10px;width:292px}.profile-menu.top .menu-user{padding:10px 10px 14px;margin-bottom:6px;border-bottom:1px solid #f4f3ef}.profile-menu.top a,.profile-menu.top button{border-radius:10px;padding:11px 12px;display:flex;align-items:center;gap:12px;font-size:13px}.profile-menu.top a:hover,.profile-menu.top button:hover{background:#fafaf9;color:#526273}.profile-menu.top .danger{color:#e94464}.notification-panel{width:390px}.notif-head{padding:16px 18px}.notif-head h4{color:#282b2f}.notification-item{padding:14px 18px}.notification-item span{line-height:1.5}
/* row action menu: floating, no tiny internal scroll */
.row-menu-pop{position:fixed!important;top:auto;right:auto;width:190px;padding:7px;border-radius:12px;z-index:9999;overflow:visible!important;max-height:none!important;box-shadow:0 18px 48px #24272b35}.row-menu-pop button,.row-menu-pop a{font-size:12px!important;padding:10px!important;gap:10px!important}.row-menu-pop .ui-icon{width:16px;height:16px}
.table-wrap{overflow:auto;scrollbar-gutter:stable}.table-wrap::-webkit-scrollbar{height:4px}.table-wrap::-webkit-scrollbar-thumb{background:#526273}.pagination button{transition:.18s}.pagination button:hover:not(:disabled){border-color:#526273;color:#526273;background:#f9f9f7}
/* premium modal */
.premium-dialog{width:min(680px,calc(100vw - 32px));border-radius:22px;background:#fff;color:#282b2f;overflow:hidden;box-shadow:0 35px 110px #171a1e66}.premium-dialog::backdrop{background:#1f2226a8;backdrop-filter:blur(7px)}.premium-dialog form{padding:0}.modal-head{padding:24px 26px 19px;margin:0;border-bottom:1px solid #f4f3ef;background:linear-gradient(135deg,#fdfdfd,#fbfaf9)}.modal-head .title-icon{width:52px;height:52px;border-radius:15px;font-size:23px}.modal-head h2{font-size:21px;color:#282b2f}.modal-head p{font-size:12px}.modal-head>button{width:36px;height:36px;border-radius:10px;color:#526273;font-size:18px}.premium-dialog .grid2{padding:22px 26px 0}.premium-dialog>form>label{display:block;margin:15px 26px 0}.premium-dialog label{font-size:11px;font-weight:750;color:#575a5e}.premium-dialog input,.premium-dialog select{height:46px;margin-top:7px;border:1px solid #e4e6e9;border-radius:11px;background:#fdfdfd;color:#2e3135;padding:0 13px;outline:none;transition:.18s;width:100%}.premium-dialog input:focus,.premium-dialog select:focus{border-color:#526273;box-shadow:0 0 0 4px #52627312;background:#fff}.modal-actions{margin-top:24px;padding:17px 26px 22px;border-top:1px solid #f4f3ef;background:#fdfcfb;display:flex;justify-content:flex-end;gap:10px}.modal-actions button{min-height:42px;border-radius:10px;padding:0 18px;border:1px solid #ebe9e3;background:#fff;color:#4b4e52;font-weight:700}.modal-actions .primary{min-width:135px}
/* improved dark: readable navy instead of near-black */
body.dark{background:#111111;color:#f2f2f2}body.dark .page{background:radial-gradient(circle at 88% 0,#171717 0,transparent 28%),#111111}body.dark .stat-card,body.dark .filter-panel,body.dark .user-table-card,body.dark .detail-side{background:#111111;border-color:#222222;box-shadow:0 10px 30px #070a0e28}body.dark .stat-card span,body.dark .stat-card small,body.dark .user-titlebar p,body.dark .detail-empty,body.dark .table-footer{color:#526273}body.dark .user-titlebar h1,body.dark .stat-card strong,body.dark .detail-side h3,body.dark .bulkbar b{color:#f9f9f9}body.dark .searchbox,body.dark .filter-panel input,body.dark .filter-panel select,body.dark .advanced-box,body.dark .advanced-box input,body.dark .advanced-box select{background:#111111;border-color:#2b2b2b;color:#f7f7f7}body.dark .searchbox input{background:transparent;color:#f7f7f7}body.dark .searchbox input::placeholder{color:#526273}body.dark .filterrow label{color:#cbcbcb}body.dark .filter-panel button:not(.search-btn){background:#171717;border-color:#2b2b2b;color:#ececec}body.dark .bulkbar{border-color:#222222;color:#c0c0c0}body.dark th{background:#111111;color:#526273}body.dark td{color:#e6e6e6;border-color:#222222}body.dark .user-cell{color:#f6f6f6}body.dark .profile-menu.top,body.dark .notification-panel{background:#111111;border-color:#2b2b2b}body.dark .menu-user b,body.dark .notif-head h4,body.dark .notification-item b{color:#f8f8f8}body.dark .menu-user small,body.dark .notification-item span{color:#526273}body.dark .profile-menu.top a,body.dark .profile-menu.top button{color:#e9e9e9}body.dark .profile-menu.top a:hover,body.dark .profile-menu.top button:hover,body.dark .notification-item:hover{background:#222222}body.dark .row-menu-pop{background:#171717;border-color:#2b2b2b}body.dark .row-menu-pop button,body.dark .row-menu-pop a{color:#e9e9e9!important}body.dark .row-menu-pop button:hover,body.dark .row-menu-pop a:hover{background:#222222!important}body.dark .premium-dialog{background:#111111;color:#f6f6f6}body.dark .modal-head{background:linear-gradient(135deg,#171717,#111111);border-color:#222222}body.dark .modal-head h2{color:#fafafa}body.dark .premium-dialog label{color:#cccccc}body.dark .premium-dialog input,body.dark .premium-dialog select{background:#111111;border-color:#2b2b2b;color:#f7f7f7}body.dark .modal-actions{background:#111111;border-color:#222222}body.dark .modal-actions button:not(.primary){background:#c3c5c8!important;border-color:#c3c5c8!important;color:#111111!important}
@media(max-width:850px){.sidebar-mini aside{width:270px}.premium-dialog .grid2{grid-template-columns:1fr}.profile-menu.top{right:12px;width:min(292px,calc(100vw - 24px))}.notification-panel{right:12px;width:min(390px,calc(100vw - 24px))}}

/* V5.6 — compact navigation, clean detail drawer, stronger text contrast */
.app,aside,.content,nav a,.side-brand,.collapse-btn{transition:width .28s cubic-bezier(.2,.8,.2,1),grid-template-columns .28s cubic-bezier(.2,.8,.2,1),padding .28s ease,transform .28s cubic-bezier(.2,.8,.2,1),border-radius .2s ease,background .2s ease}
aside{scrollbar-width:thin;scrollbar-color:#526273 transparent}aside::-webkit-scrollbar{width:4px}aside::-webkit-scrollbar-thumb{background:#526273;border-radius:999px}aside::-webkit-scrollbar-track{background:transparent}
.nav-label{margin:18px 12px 8px}.nav-label.sub{padding-top:14px;margin-top:14px}nav a{min-height:44px;padding:9px 13px;margin:2px 0;border-radius:10px}nav a .ico{font-size:18px}.side-health{margin-top:16px}.side-brand{height:54px}
.sidebar-mini{grid-template-columns:82px 1fr}.sidebar-mini aside{width:82px;padding:16px 11px}.sidebar-mini .side-brand{height:58px;padding:0 0 12px;justify-content:center}.sidebar-mini .brandmark{width:44px;height:44px;border-radius:12px}.sidebar-mini .collapse-btn{left:62px;top:25px}.sidebar-mini nav a{width:48px;height:46px;min-height:46px;margin:3px auto;border-radius:12px}.sidebar-mini nav a.on{background:linear-gradient(135deg,#526273,#526273);box-shadow:0 8px 22px #52627342}.sidebar-mini nav{animation:miniNavIn .28s ease both}@keyframes miniNavIn{from{opacity:.55;transform:translateX(-4px)}to{opacity:1;transform:none}}
.user-workspace{grid-template-columns:minmax(0,1fr)}.detail-side{display:none!important;opacity:0;transform:translateX(18px)}.user-workspace.detail-open{grid-template-columns:minmax(0,1fr) 330px}.user-workspace.detail-open .detail-side.open{display:block!important;opacity:1;transform:none;animation:detailIn .24s cubic-bezier(.2,.8,.2,1)}@keyframes detailIn{from{opacity:0;transform:translateX(22px) scale(.985)}to{opacity:1;transform:none}}
.profile-menu.top .menu-user b{color:#26292d!important}.profile-menu.top .menu-user small{color:#526273!important}.profile-menu.top a,.profile-menu.top button{color:#2e3135!important}.profile-menu.top a span,.profile-menu.top button span{color:inherit!important}.profile-menu.top .menu-avatar{color:#fff!important}.notification-panel h4{color:#272a2e!important}.notification-item b{color:#2e3135!important}.notification-item span{color:#526273!important}
body.dark .profile-menu.top .menu-user b,body.dark .profile-menu.top a,body.dark .profile-menu.top button,body.dark .notification-panel h4,body.dark .notification-item b{color:#f9f9f9!important}body.dark .profile-menu.top .menu-user small,body.dark .notification-item span{color:#bebebe!important}
@media(max-width:1250px){.user-workspace.detail-open{grid-template-columns:minmax(0,1fr)}.user-workspace.detail-open .detail-side.open{display:block!important;position:fixed;right:18px;top:90px;width:min(360px,calc(100vw - 36px));z-index:45}}
/* V5.7 permission center + polished responsive navigation */
.collapse-btn{font-size:0!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important}.collapse-btn:after{content:'‹';font-size:24px;font-weight:800;line-height:1;color:#f1efea;transition:transform .3s cubic-bezier(.2,.8,.2,1)}.sidebar-mini .collapse-btn{left:59px!important;background:#526273!important;border-color:#526273!important;box-shadow:0 8px 24px #52627366!important}.sidebar-mini .collapse-btn:after{content:'›';transform:translateX(1px)}
.permission-hero{position:relative;display:flex;align-items:center;gap:18px;padding:22px 24px;margin-bottom:18px;border:1px solid #eeece6;border-radius:20px;background:linear-gradient(135deg,#fff 55%,#f9f8f6);overflow:hidden}.permission-hero:after{content:'';position:absolute;width:210px;height:210px;border-radius:50%;right:-65px;top:-120px;background:linear-gradient(135deg,#52627322,#52627318)}.perm-hero-icon{width:60px;height:60px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(135deg,#526273,#526273);color:white;font-size:30px;box-shadow:0 14px 30px #52627346}.permission-hero span{font-size:10px;letter-spacing:2px;font-weight:900;color:#526273}.permission-hero h1{margin:3px 0 2px;font-size:27px;color:#24272b}.permission-hero p{margin:0;color:#526273}.perm-secure{margin-left:auto;padding:9px 12px;border-radius:999px;background:#f6f5f3;color:#526273;font-size:10px;font-weight:900;z-index:1}.success-banner{padding:12px 15px;margin-bottom:15px;border-radius:12px;background:#e9fbf2;color:#128454;font-weight:800}.permission-shell{display:grid;grid-template-columns:285px minmax(0,1fr);gap:16px;align-items:start}.perm-users,.perm-editor{border:1px solid #eeece6;background:#fff;border-radius:18px;box-shadow:0 12px 34px #373a3e0b}.perm-users{padding:14px;position:sticky;top:90px}.perm-side-title{display:flex;justify-content:space-between;padding:5px 5px 12px;color:#282b2f}.perm-side-title span{font-size:11px;color:#526273}.perm-search{height:40px;border:1px solid #eceae4;border-radius:11px;display:flex;align-items:center;gap:7px;padding:0 11px;margin-bottom:10px;color:#526273}.perm-search input{border:0;outline:0;width:100%;background:transparent}.perm-user{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:9px;border-radius:12px;text-align:left;color:#2e3135;cursor:pointer;transition:.18s}.perm-user:hover{background:#fbfaf9}.perm-user.active{background:linear-gradient(135deg,#f7f6f4,#f8f7f5);box-shadow:inset 0 0 0 1px #efede7}.perm-user>i,.perm-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#526273,#526273);color:#fff;font-style:normal;font-weight:900;box-shadow:0 7px 18px #5262732e}.perm-user span{min-width:0;flex:1}.perm-user b,.perm-user small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.perm-user small{font-size:10px;color:#526273;margin-top:2px}.perm-user em{font-style:normal;font-size:9px;font-weight:900;color:#526273;background:#f6f5f3;padding:5px 7px;border-radius:8px}.perm-editor{padding:20px}.perm-form{display:none}.perm-form.active{display:block;animation:permIn .25s ease}@keyframes permIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.perm-head{display:flex;align-items:center;gap:13px;padding-bottom:18px;border-bottom:1px solid #f4f3ef}.perm-avatar{width:50px;height:50px;font-size:19px}.perm-head>div:nth-child(2){flex:1}.perm-head span:first-child{font-size:9px;letter-spacing:1.6px;font-weight:900;color:#526273}.perm-head h2{margin:2px 0;font-size:20px;color:#282b2f}.perm-head p{margin:0;color:#526273;font-size:11px}.super-lock{margin-top:18px;padding:22px;border-radius:16px;background:linear-gradient(135deg,#f8f8f6,#f8f7f4);border:1px solid #f1efea}.super-lock b{color:#526273;font-size:16px}.super-lock p{margin:6px 0 0;color:#526273}.perm-toolbar{display:flex;align-items:center;gap:8px;padding:18px 0 13px}.perm-toolbar>div{flex:1}.perm-toolbar b,.perm-toolbar span{display:block}.perm-toolbar b{color:#2e3135}.perm-toolbar span{font-size:10px;color:#526273;margin-top:2px}.perm-toolbar button{border:1px solid #ebe9e3;background:#fff;border-radius:9px;padding:8px 10px;color:#526273;font-weight:700}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.perm-card{position:relative;display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #eeece6;border-radius:14px;background:#fdfdfd;cursor:pointer;transition:.18s}.perm-card:hover{transform:translateY(-1px);border-color:#e1e3e6;box-shadow:0 8px 20px #52627310}.perm-card input{position:absolute;opacity:0}.perm-card>i{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f6f5f3;color:#526273;font-style:normal;font-size:17px}.perm-card>span{flex:1}.perm-card b,.perm-card small{display:block}.perm-card b{font-size:12px;color:#36393d}.perm-card small{font-size:9px;color:#526273;margin-top:2px}.switch{width:35px;height:20px;border-radius:20px;background:#ebe9e3;padding:3px;transition:.2s}.switch u{display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #34373b22;transition:.2s}.perm-card input:checked~.switch{background:#526273}.perm-card input:checked~.switch u{transform:translateX(15px)}.perm-card:has(input:checked){border-color:#e6e8eb;background:#fcfbfa}.perm-save{display:flex;align-items:center;gap:15px;margin-top:18px;padding-top:16px;border-top:1px solid #f4f3ef}.perm-save span{flex:1;color:#526273;font-size:10px}.perm-save .primary{border:0;border-radius:11px;padding:12px 17px;background:#c3c5c8!important;color:#292a27!important;font-weight:850;box-shadow:0 9px 22px #52627338}
.coming-page{min-height:calc(100vh - 150px);display:grid;place-items:center;position:relative;overflow:hidden;border-radius:24px;background:radial-gradient(circle at 50% 30%,#f9f9f7,#f6f5f3 58%,#f4f2ee)}.coming-3d{text-align:center;position:relative;z-index:2;padding:50px 25px}.coming-cube{width:105px;height:105px;margin:0 auto 28px;position:relative;transform-style:preserve-3d;transform:rotateX(-18deg) rotateY(32deg);animation:floatCube 4s ease-in-out infinite}.coming-cube span{position:absolute;inset:0;border-radius:22px;background:linear-gradient(145deg,#526273,#526273);box-shadow:inset 0 0 28px #ffffff2e,0 30px 55px #5262733b}.coming-cube span:nth-child(2){transform:translate(17px,-17px);opacity:.28}.coming-cube span:nth-child(3){transform:translate(34px,-34px);opacity:.12}@keyframes floatCube{50%{transform:translateY(-10px) rotateX(-12deg) rotateY(42deg)}}.coming-badge{display:inline-block;padding:7px 11px;border-radius:999px;background:#f4f2ee;color:#526273;font-size:9px;font-weight:900;letter-spacing:1.5px}.coming-3d h1{font-size:34px;margin:12px 0 7px;color:#25282c}.coming-3d p{max-width:520px;margin:0 auto;color:#526273}.coming-line{display:flex;align-items:center;justify-content:center;gap:12px;margin:25px 0 18px;color:#526273;font-size:11px;font-weight:900;letter-spacing:2px}.coming-line i{width:55px;height:1px;background:#e1e3e6}.coming-3d>a{display:inline-flex;padding:11px 16px;border-radius:11px;background:#fff;border:1px solid #eceae4;color:#3a3d41;text-decoration:none;font-weight:800;box-shadow:0 9px 24px #34373b10}.orb{position:absolute;border-radius:50%;filter:blur(2px)}.orb-a{width:230px;height:230px;background:#52627316;left:-50px;top:-40px}.orb-b{width:300px;height:300px;background:#52627312;right:-70px;bottom:-100px}
body.dark .permission-hero,body.dark .perm-users,body.dark .perm-editor{background:#111111;border-color:#222222}body.dark .permission-hero h1,body.dark .perm-side-title,body.dark .perm-head h2,body.dark .perm-toolbar b,body.dark .perm-card b{color:#f8f8f8}body.dark .permission-hero p,body.dark .perm-head p,body.dark .perm-toolbar span,body.dark .perm-card small{color:#526273}body.dark .perm-search,body.dark .perm-toolbar button{background:#111111;border-color:#2b2b2b;color:#ececec}body.dark .perm-search input{color:#f7f7f7}body.dark .perm-user{color:#eeeeee}body.dark .perm-user:hover,body.dark .perm-user.active{background:#222222}body.dark .perm-card{background:#111111;border-color:#2b2b2b}body.dark .perm-card:has(input:checked){background:#171717;border-color:#a79156}body.dark .coming-page{background:radial-gradient(circle at 50% 30%,#171717,#111111 60%,#080808)}body.dark .coming-3d h1{color:#f9f9f9}body.dark .coming-3d p{color:#b4b4b4}body.dark .coming-3d>a{background:#111111;border-color:#2b2b2b;color:#f0f0f0}
@media(max-width:850px){.permission-hero{padding:16px}.permission-hero .perm-secure{display:none}.permission-shell{grid-template-columns:1fr}.perm-users{position:static;display:flex;overflow-x:auto;gap:8px;padding:10px}.perm-side-title,.perm-search{display:none}.perm-user{min-width:190px}.permission-grid{grid-template-columns:1fr}.perm-toolbar{flex-wrap:wrap}.perm-toolbar>div{flex-basis:100%}.perm-save{align-items:stretch;flex-direction:column}.perm-save .primary{width:100%}.coming-page{min-height:calc(100vh - 90px);border-radius:16px}.coming-3d h1{font-size:27px}.mobile-menu-btn{display:grid!important}.app:not(.sidebar-mini) aside{box-shadow:14px 0 45px #15181c44}.sidebar-mini .collapse-btn{display:none!important}}

/* ===== V5.8 PREMIUM ROLE + NAV + DARK/MOBILE ===== */
.ui-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block}.ui-icon.sm{width:16px;height:16px}.ui-icon.xs{width:14px;height:14px}.ui-icon.lg{width:26px;height:26px}
aside{scrollbar-width:thin;scrollbar-color:#7a6b43 transparent}aside::-webkit-scrollbar{width:5px}aside::-webkit-scrollbar-track{background:transparent}aside::-webkit-scrollbar-thumb{background:#7a6b43;border-radius:20px}aside::-webkit-scrollbar-button{display:none}
.collapse-btn{position:relative!important;left:auto!important;top:auto!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:12px!important;border:1px solid #424549!important;background:#2c2f33!important;transition:transform .28s ease,background .28s ease,box-shadow .28s ease!important}.collapse-btn:after{display:none!important}.collapse-btn:hover{background:#526273!important;box-shadow:0 8px 24px #52627355!important;transform:translateY(-1px)}.sidebar-mini .collapse-btn{position:absolute!important;left:66px!important;top:24px!important;background:#526273!important}.sidebar-mini .collapse-btn svg{transform:rotate(90deg);transition:transform .3s ease}
nav a{min-height:43px;padding:10px 13px;margin:2px 0;border-radius:11px;transition:background .2s ease,transform .2s ease,color .2s ease}nav a:hover{transform:translateX(2px)}nav .ico{width:22px;min-width:22px;height:22px;display:grid;place-items:center}.nav-label{margin:18px 12px 8px}.nav-label.sub{padding-top:15px;margin-top:14px}.sidebar-mini nav a{padding:0!important}.sidebar-mini nav .ico{width:22px;height:22px}.app,.content,aside{transition:grid-template-columns .32s cubic-bezier(.22,1,.36,1),width .32s cubic-bezier(.22,1,.36,1),margin-left .32s cubic-bezier(.22,1,.36,1)}
.role-permission-shell{display:grid;grid-template-columns:285px minmax(0,1fr);gap:18px;align-items:start}.role-tabs,.role-editor{background:#fff;border:1px solid #e7e9ec;border-radius:20px;box-shadow:0 14px 40px #3f42460b}.role-tabs{padding:14px;position:sticky;top:92px}.role-tabs-title{padding:6px 7px 14px}.role-tabs-title span,.role-editor-head span{display:block;font-size:10px;letter-spacing:1.8px;color:#526273;font-weight:900}.role-tabs-title b{display:block;font-size:18px;margin:4px 0;color:#272a2e}.role-tabs-title small{display:block;color:#526273;line-height:1.5}.role-tab{width:100%;display:flex;align-items:center;gap:11px;border:1px solid transparent;background:transparent;padding:11px;border-radius:14px;color:#36393d;text-align:left;transition:.2s}.role-tab:hover{background:#fbfbfa}.role-tab.active{background:linear-gradient(135deg,#f8f7f4,#f8f7f4);border-color:#eeece7;box-shadow:0 8px 24px #52627314}.role-tab-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f6f5f3;color:#526273}.role-tab span{flex:1}.role-tab b,.role-tab small{display:block}.role-tab small{font-size:10px;color:#526273;margin-top:3px}.role-tab em{color:#526273}.super-role-note{display:flex;gap:10px;margin-top:12px;padding:13px;border-radius:13px;background:#fbfaf9;color:#526273}.super-role-note svg{color:#526273;flex:0 0 auto}.super-role-note b,.super-role-note small{display:block}.super-role-note b{font-size:12px;color:#36393d}.super-role-note small{font-size:9px;line-height:1.45;margin-top:3px}.role-editor{padding:21px}.role-perm-form{display:none}.role-perm-form.active{display:block;animation:roleSlide .28s cubic-bezier(.22,1,.36,1)}@keyframes roleSlide{from{opacity:0;transform:translateY(7px) scale(.995)}to{opacity:1;transform:none}}.role-editor-head{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid #f4f3ef}.role-editor-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#526273,#526273);color:#fff;box-shadow:0 12px 28px #5262733b}.role-editor-head>div:nth-child(2){flex:1}.role-editor-head h2{margin:3px 0;font-size:22px;color:#272a2e}.role-editor-head p{margin:0;color:#526273;font-size:11px}.role-editor-head strong{padding:8px 10px;border-radius:10px;background:#f6f5f3;color:#526273;font-size:10px}.perm-save .primary{display:inline-flex;align-items:center;gap:8px}.success-banner{display:flex;align-items:center;gap:8px}
.coming-cube{width:112px;height:112px}.coming-cube:before{content:'';position:absolute;inset:18px;border:2px solid #ffffff88;border-radius:18px;transform:translateZ(20px)}.coming-page{box-shadow:inset 0 0 0 1px #edebe5,0 20px 55px #3d40440d}.coming-3d>a{transition:.2s}.coming-3d>a:hover{transform:translateY(-2px);box-shadow:0 14px 30px #45484c18}
body.dark{background:#080808;color:#ebebeb}body.dark .page{background:#080808!important}body.dark header{background:#111111!important;border-color:#222222!important}body.dark .card,body.dark .stat-card,body.dark .activity-card,body.dark .quick-card,body.dark .filter-panel,body.dark .table-card,body.dark .detail-side,body.dark dialog,body.dark .profile-card,body.dark .settings-card,body.dark .role-tabs,body.dark .role-editor{background:#111111!important;border-color:#222222!important;color:#f3f3f3!important;box-shadow:0 18px 45px #00000022!important}body.dark h1,body.dark h2,body.dark h3,body.dark h4,body.dark b,body.dark label,body.dark .role-tabs-title b,body.dark .role-editor-head h2,body.dark .role-tab,body.dark .super-role-note b{color:#f7f7f7!important}body.dark p,body.dark small,body.dark .crumbline,body.dark .role-editor-head p,body.dark .role-tab small,body.dark .super-role-note small{color:#b4b4b4!important}body.dark input,body.dark select,body.dark textarea,body.dark .searchbox,body.dark .advanced-box{background:#080808!important;color:#f3f3f3!important;border-color:#2b2b2b!important}body.dark .role-tab:hover,body.dark .super-role-note{background:#171717!important}body.dark .role-tab.active{background:linear-gradient(135deg,#222222,#171717)!important;border-color:#a28d53!important}body.dark .role-tab-icon{background:#222222!important;color:#cdcdcd!important}body.dark .role-editor-head strong{background:#222222;color:#d3d3d3}body.dark .permission-hero{background:linear-gradient(135deg,#111111,#111111)!important}body.dark .coming-page{box-shadow:inset 0 0 0 1px #222222,0 20px 60px #0005}
@media(max-width:850px){.role-permission-shell{grid-template-columns:1fr}.role-tabs{position:static;display:flex;gap:8px;overflow-x:auto;padding:10px}.role-tabs-title,.super-role-note{display:none}.role-tab{min-width:190px}.role-editor{padding:14px}.role-editor-head{align-items:flex-start}.role-editor-head strong{margin-left:auto}.permission-grid{grid-template-columns:1fr}.collapse-btn{display:none!important}aside{width:min(86vw,310px)!important;transform:translateX(-105%);transition:transform .32s cubic-bezier(.22,1,.36,1)!important;box-shadow:20px 0 55px #15181c55}.app.mobile-nav aside{transform:translateX(0)}.content{margin-left:0!important}.app{grid-template-columns:1fr!important}.mobile-menu-btn{display:grid!important}.page{padding:16px!important}.permission-hero{border-radius:16px}.role-editor-head p{max-width:210px}}


/* ===== V5.9 VISIBILITY + RESPONSIVE POLISH ===== */
.top-search{overflow:hidden;isolation:isolate}.top-search input,.top-search input:focus,.top-search input:active{-webkit-appearance:none!important;appearance:none!important;background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;outline:0!important;color:#f9f9f7!important;-webkit-text-fill-color:#f9f9f7!important;caret-color:#526273!important;color-scheme:dark!important;min-width:0}.top-search input::selection{background:#526273!important;color:#fff!important}.top-search input::placeholder{color:#526273!important;-webkit-text-fill-color:#526273!important;opacity:1}.top-search kbd{flex:0 0 auto}.top-search:focus-within{border-color:#526273;box-shadow:0 0 0 3px #5262731f}
/* collapsed toggle must stay completely visible */
.sidebar-mini .collapse-btn{left:42px!important;top:25px!important;width:34px!important;height:34px!important;z-index:40!important;overflow:visible!important}.sidebar-mini .side-brand{overflow:visible!important}.sidebar-mini aside{overflow-x:visible!important}
/* real icon for coming soon - local inline SVG, no CDN */
.coming-icon-stack{width:126px;height:126px;position:relative;margin:0 auto 18px;perspective:700px;filter:drop-shadow(0 22px 30px #52627335)}.coming-icon-stack>span,.coming-icon-face{position:absolute;width:82px;height:82px;left:22px;top:20px;border-radius:22px;transform:rotate(-8deg);background:linear-gradient(145deg,#526273,#526273);border:1px solid #ffffff38}.coming-icon-stack>span:first-child{transform:translate(18px,-14px) rotate(9deg);opacity:.18}.coming-icon-stack>span:nth-child(2){transform:translate(9px,-7px) rotate(2deg);opacity:.35}.coming-icon-face{display:grid;place-items:center;box-shadow:inset 0 1px 0 #ffffff55,0 18px 40px #5262734d;animation:comingFloat 3.8s ease-in-out infinite}.coming-icon-face .ui-icon{width:38px;height:38px;color:#fff;stroke-width:1.7}.coming-icon-face:after{content:"";position:absolute;inset:10px;border:1px solid #ffffff38;border-radius:16px}@keyframes comingFloat{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-8px) rotate(-4deg)}}.coming-3d>a{display:inline-flex!important;align-items:center;gap:8px}.coming-3d>a .ui-icon{transform:rotate(180deg)}
body.dark .coming-icon-face{box-shadow:inset 0 1px 0 #ffffff44,0 22px 50px #5262733d}
/* improve role page at medium widths */
@media(max-width:1150px){.role-permission-shell{grid-template-columns:240px minmax(0,1fr)}.permission-grid{grid-template-columns:1fr}.top-search{width:min(440px,48vw)}}
@media(max-width:900px){.app{display:block!important;grid-template-columns:1fr!important}.content{display:block!important;grid-column:auto!important;margin-left:0!important}.app aside,.sidebar-mini aside{width:min(86vw,310px)!important;transform:translateX(-105%);transition:transform .32s cubic-bezier(.22,1,.36,1)!important;box-shadow:20px 0 55px #15181c66;overflow-y:auto!important;overflow-x:hidden!important}.app.mobile-nav aside{transform:translateX(0)!important}.sidebar-mini .collapse-btn,.collapse-btn{display:none!important}.mobile-menu-btn{display:grid!important}.top-search{display:none!important}.role-permission-shell{grid-template-columns:1fr!important}.role-tabs{position:static!important;display:flex!important;gap:9px;overflow-x:auto;padding:10px!important;scrollbar-width:none}.role-tabs::-webkit-scrollbar{display:none}.role-tabs-title,.super-role-note{display:none!important}.role-tab{min-width:185px}.role-editor{padding:14px!important}.permission-grid{grid-template-columns:1fr!important}.page{padding:15px!important;overflow-x:hidden}.coming-page{min-height:calc(100dvh - 105px)!important;padding:30px 18px!important}.coming-icon-stack{transform:scale(.88);margin-bottom:5px}.coming-3d h1{font-size:28px!important}}

/* ===== V5.10 TOP SEARCH FINAL FIX ===== */
/* Keep the header search as one continuous navy control in every theme.
   This rule intentionally comes last and is more specific than the global dark input rule. */
body .top-search,
body.dark .top-search{
  background:#222222!important;
  border:1px solid #7e6e41!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
  overflow:hidden!important;
}
body .top-search input,
body .top-search input:hover,
body .top-search input:focus,
body .top-search input:active,
body.dark .top-search input,
body.dark .top-search input:hover,
body.dark .top-search input:focus,
body.dark .top-search input:active{
  background:#222222!important;
  background-color:#222222!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  color:#eeeeee!important;
  -webkit-text-fill-color:#eeeeee!important;
  caret-color:#c9c9c9!important;
  color-scheme:dark!important;
}
body .top-search input:-webkit-autofill,
body .top-search input:-webkit-autofill:hover,
body .top-search input:-webkit-autofill:focus,
body.dark .top-search input:-webkit-autofill,
body.dark .top-search input:-webkit-autofill:hover,
body.dark .top-search input:-webkit-autofill:focus{
  -webkit-text-fill-color:#eeeeee!important;
  -webkit-box-shadow:0 0 0 1000px #222222 inset!important;
  box-shadow:0 0 0 1000px #222222 inset!important;
  transition:background-color 99999s ease-out 0s!important;
}
body .top-search input::placeholder,
body.dark .top-search input::placeholder{
  color:#c3c3c3!important;
  -webkit-text-fill-color:#c3c3c3!important;
  opacity:1!important;
}
body .top-search:focus-within,
body.dark .top-search:focus-within{
  border-color:#526273!important;
  box-shadow:0 0 0 3px rgba(98,116,170,.14)!important;
}


/* ===== V5.11 SIDEBAR TOGGLE ICON - NO SVG/CDN ===== */
.collapse-btn,.mobile-menu-btn{color:#f6f5f3!important}
.hamburger-icon{width:18px;height:14px;display:flex!important;flex-direction:column;justify-content:space-between;align-items:stretch;position:relative;z-index:3;pointer-events:none}
.hamburger-icon i{display:block!important;width:100%;height:2px!important;min-height:2px;border-radius:999px;background:currentColor!important;box-shadow:0 0 0 1px transparent;opacity:1!important;visibility:visible!important;transform-origin:center;transition:transform .28s cubic-bezier(.22,1,.36,1),width .28s ease,opacity .2s ease}
.collapse-btn:hover .hamburger-icon i{background:#fff!important}
/* Expanded: clear 3-line menu. Collapsed: animated right chevron so unhide direction is obvious. */
.sidebar-mini .collapse-btn .hamburger-icon{width:17px;height:17px;justify-content:center;gap:0}
.sidebar-mini .collapse-btn .hamburger-icon i{position:absolute;left:3px;width:11px;height:2px!important;background:#fff!important}
.sidebar-mini .collapse-btn .hamburger-icon i:nth-child(1){transform:translateY(-3.5px) rotate(45deg)}
.sidebar-mini .collapse-btn .hamburger-icon i:nth-child(2){opacity:0!important;width:0}
.sidebar-mini .collapse-btn .hamburger-icon i:nth-child(3){transform:translateY(3.5px) rotate(-45deg)}
.sidebar-mini .collapse-btn{display:grid!important;place-items:center!important;left:64px!important;top:25px!important;width:36px!important;height:36px!important;border-radius:12px!important;background:linear-gradient(135deg,#526273,#526273)!important;border:1px solid #526273!important;box-shadow:0 8px 24px #52627366!important}
.sidebar-mini .collapse-btn:hover{transform:translateX(2px)!important;box-shadow:0 10px 28px #52627388!important}
.header-hamburger{width:18px;height:14px;color:#f6f5f3}
.mobile-menu-btn{place-items:center!important}
@media(max-width:900px){.collapse-btn{display:none!important}.mobile-menu-btn{display:grid!important}.mobile-menu-btn .hamburger-icon{display:flex!important}}


/* ===== V5.12 FINAL SIDEBAR TOGGLE + PREMIUM ACCOUNT PILL ===== */
/* Toggle is fixed to viewport, so the sidebar scrollbar can NEVER cover/crop it. */
.collapse-btn{
  position:fixed!important;
  left:244px!important;
  top:24px!important;
  z-index:120!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  border:1px solid rgba(128,155,211,.28)!important;
  border-radius:13px!important;
  background:#2f3236!important;
  box-shadow:0 10px 26px rgba(3,12,31,.25)!important;
  overflow:visible!important;
}
.sidebar-mini .collapse-btn{
  position:fixed!important;
  left:84px!important;
  top:24px!important;
  width:42px!important;
  height:42px!important;
  z-index:120!important;
  background:linear-gradient(145deg,#526273,#526273)!important;
  border:1px solid rgba(173,163,255,.78)!important;
  box-shadow:0 10px 30px rgba(82,76,255,.55)!important;
}
.sidebar-mini aside{overflow-y:auto!important;overflow-x:hidden!important}
.sidebar-mini .collapse-btn .hamburger-icon{
  width:18px!important;height:18px!important;display:block!important;position:relative!important;
}
.sidebar-mini .collapse-btn .hamburger-icon i{
  position:absolute!important;left:3px!important;width:12px!important;height:2.5px!important;
  background:#fff!important;border-radius:10px!important;
}
.sidebar-mini .collapse-btn .hamburger-icon i:nth-child(1){top:4px!important;transform:rotate(45deg)!important}
.sidebar-mini .collapse-btn .hamburger-icon i:nth-child(2){display:none!important}
.sidebar-mini .collapse-btn .hamburger-icon i:nth-child(3){top:12px!important;transform:rotate(-45deg)!important}
.collapse-btn:hover{transform:translateY(-1px)!important;background:#3f4246!important}
.sidebar-mini .collapse-btn:hover{transform:translateX(3px)!important}

/* Premium user control inspired by the supplied reference, fully local icons. */
.account-pill{
  min-width:330px;height:58px;padding:7px 8px 7px 9px;
  display:flex;align-items:center;gap:11px;
  border:1px solid rgba(83,139,255,.72);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(31,72,148,.72),rgba(8,31,70,.92));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px rgba(52,105,255,.12),0 10px 30px rgba(0,29,83,.26);
}
.account-pill .header-avatar{
  flex:0 0 43px;width:43px;height:43px;border-radius:13px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 7px 18px rgba(67,83,255,.34)
}
.account-pill .head-user{min-width:0;flex:1}
.account-name{display:flex;align-items:center;gap:6px;white-space:nowrap}
.account-name b{font-size:13px!important;color:#fff!important;overflow:hidden;text-overflow:ellipsis}
.account-crown{width:16px!important;height:16px!important;color:#ffd02f!important;stroke:#ffd02f!important;filter:drop-shadow(0 2px 5px rgba(255,195,0,.25))}
.account-meta{display:flex;align-items:center;gap:8px;margin-top:4px}
.account-role{
  padding:3px 7px;border-radius:7px;background:rgba(101,79,255,.26);
  color:#e0e2e5;font-size:8px;font-weight:800;letter-spacing:.55px
}
.account-meta>i{height:13px;width:1px;background:rgba(152,177,224,.28)}
.account-online{display:flex;align-items:center;gap:5px;color:#4ce6a4;font-size:9px;font-weight:700}
.account-online em{width:7px;height:7px;border-radius:50%;background:#27e59b;box-shadow:0 0 10px rgba(39,229,155,.75)}
.account-divider{width:1px;height:34px;background:rgba(143,172,224,.25)}
.account-pill .chev{
  flex:0 0 42px;width:42px;height:42px;border-radius:50%!important;
  border:1px solid rgba(70,137,255,.62)!important;
  background:radial-gradient(circle at 35% 25%,#7f6f42,#323539 70%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 5px 18px rgba(0,27,80,.35)!important;
}
.account-pill .chev .ui-icon{width:18px!important;height:18px!important;color:#fff!important;stroke:#fff!important}
.account-pill .chev:hover{background:radial-gradient(circle at 35% 25%,#98844e,#424549 70%)!important;transform:translateY(-1px)}

/* Dropdown now lines up with the premium account pill. */
.profile-menu.top{
  right:24px!important;top:70px!important;width:330px!important;
  border-radius:18px!important;padding:11px!important;
  border:1px solid #edebe6!important;
  box-shadow:0 26px 70px rgba(7,20,49,.25)!important
}
body.dark .profile-menu.top{border-color:#2b2b2b!important}

/* Keep header usable on narrower desktop widths. */
@media(max-width:1250px){
  .account-pill{min-width:250px}
  .account-online,.account-meta>i{display:none}
  .top-search{width:min(410px,34vw)}
}
@media(max-width:1000px){
  .account-pill{min-width:auto;padding:6px}
  .account-pill .head-user,.account-divider{display:none}
}
@media(max-width:900px){
  .collapse-btn{display:none!important}
  .account-pill{height:48px;border-radius:15px}
  .account-pill .header-avatar{width:36px;height:36px;flex-basis:36px}
  .account-pill .chev{width:36px;height:36px;flex-basis:36px}
}

/* ===== V6 REFERENCE DASHBOARD ===== */
.dash-v6{max-width:1600px;margin:0 auto}.dash-hero-v6{height:158px;border-radius:18px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.25fr 1fr 260px;align-items:center;padding:24px 28px;color:#fff;background:radial-gradient(circle at 55% 25%,#ab965c 0,#424549 34%,#272a2e 68%,#222529 100%);box-shadow:0 18px 45px #6c5e3822,inset 0 0 0 1px #ffffff20}.hero-copy-v6{position:relative;z-index:2}.hero-copy-v6 .eyebrow{color:#526273;margin:0 0 8px;font-weight:900;letter-spacing:2px}.hero-copy-v6 h1{margin:0;color:#fff;font-size:34px;line-height:1.05}.hero-copy-v6 h1 span{color:#fbfaf9}.hero-copy-v6>p:last-child{margin:10px 0 0;color:#eeece7;font-size:15px}.hero-art-v6{height:100%;position:relative;display:grid;place-items:center}.hero-orbit-v6{position:absolute;width:310px;height:94px;border:2px solid #526273;border-radius:50%;transform:rotate(-7deg);box-shadow:0 0 28px #526273}.hero-shield-v6{width:92px;height:102px;display:grid;place-items:center;border-radius:30px 30px 42px 42px;background:linear-gradient(145deg,#fcfbfa,#526273);color:#ae9a63;box-shadow:0 0 0 9px #52627355,0 22px 45px #3e4145}.hero-shield-v6 .ui-icon{width:58px;height:58px;stroke-width:2}.hero-art-v6>i{position:absolute;width:65px;height:88px;border-radius:10px;background:linear-gradient(145deg,#52627355,#52627322);border:1px solid #52627355;box-shadow:0 12px 30px #35383c}.hero-art-v6>i:nth-of-type(1){left:10%;transform:rotate(-9deg)}.hero-art-v6>i:nth-of-type(2){right:10%;transform:rotate(8deg)}.hero-art-v6>i:nth-of-type(3){right:26%;width:48px;height:68px;transform:translateY(-22px)}.hero-clock-v6{height:112px;border-left:1px solid #ffffff24;display:flex;align-items:flex-start;gap:14px;padding:12px 0 0 24px;position:relative;z-index:2}.calendar-v6{width:42px;height:42px;border-radius:12px;background:#ffffff12;display:grid;place-items:center;font-size:20px}.hero-clock-v6 small,.hero-clock-v6 strong,.hero-clock-v6 span{display:block}.hero-clock-v6 small{font-size:11px;color:#f4f3f0;margin:4px 0 5px}.hero-clock-v6 strong{font-size:29px}.hero-clock-v6 span{font-size:11px;color:#22e5a2;margin-top:8px;font-weight:800}.hero-clock-v6 span em{display:inline-block;width:9px;height:9px;border-radius:50%;background:#18dda0;box-shadow:0 0 14px #18dda0;margin-right:7px}
.dash-stats-v6{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:14px 0}.dash-stats-v6 article,.dash-bottom-v6 article,.dv6-card{background:#fff;border:1px solid #efede8;box-shadow:0 9px 25px #373a3e0a}.dash-stats-v6 article{min-height:132px;border-radius:16px;padding:16px;display:grid;grid-template-columns:52px 1fr;gap:12px;position:relative}.dash-stats-v6 article>div:nth-child(2) b,.dash-stats-v6 article strong,.dash-stats-v6 article small{display:block}.dash-stats-v6 article b{font-size:12px;color:#484b4f}.dash-stats-v6 article strong{font-size:27px;color:#1f2226;margin:3px 0}.dash-stats-v6 article small{font-size:10px;color:#526273}.dv6-icon,.dv6-title-icon,.qicon{display:grid;place-items:center}.dv6-icon{width:50px;height:50px;border-radius:13px}.dv6-icon .ui-icon,.dv6-title-icon .ui-icon,.qicon .ui-icon{width:25px;height:25px}.purple{background:#f6f5f2;color:#526273}.green{background:#dcf8ec;color:#0fb874}.orange{background:#edeff2;color:#ff8500}.violet{background:#f4f3f0;color:#526273}.cyan{background:#ddf8fb;color:#a08b52}.blue{background:#f4f3f0;color:#ab965b}.pink{background:#ffe6ef;color:#ed1c63}.dv6-meter{position:absolute!important;left:16px;right:16px;bottom:12px;height:5px!important;background:#f3f2ee;border-radius:10px;display:block!important}.dv6-meter i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#526273,#526273)}.dv6-meter span{position:absolute;right:0;bottom:-2px;transform:translateY(100%);font-size:9px;color:#817042;font-weight:800}
.dash-main-v6{display:grid;grid-template-columns:1.55fr 1fr .92fr;gap:12px}.dv6-card{border-radius:16px;overflow:hidden}.dv6-head{min-height:68px;padding:14px 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #f1f0ec}.dv6-title-icon{width:42px;height:42px;border-radius:12px;flex:0 0 auto}.dv6-head h3{margin:0;color:#1f2226;font-size:17px}.dv6-head p{margin:3px 0 0;color:#526273;font-size:10px}.dv6-head>a{margin-left:auto;text-decoration:none;font-size:10px;font-weight:900;color:#526273}.activity-list-v6{padding:0 16px}.activity-row-v6{min-height:52px;display:grid;grid-template-columns:36px 1fr auto 20px;gap:10px;align-items:center;border-bottom:1px solid #f4f3f0}.activity-row-v6:last-child{border-bottom:0}.act-icon-v6{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#f6f5f3;color:#526273}.act-icon-v6 .ui-icon{width:17px;height:17px}.act-copy-v6 b,.act-copy-v6 small{display:block}.act-copy-v6 b{font-size:10px;color:#292c30}.act-copy-v6 small{font-size:9px;color:#526273;margin-top:2px}.activity-row-v6 time{font-size:9px;color:#526273}.act-device-v6{width:14px;height:14px;color:#526273}.quick-grid-v6{padding:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-grid-v6 a{min-height:82px;border-radius:13px;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#36393d;background:#fbfbfa;border:1px solid #f4f3f0;transition:.2s}.quick-grid-v6 a:hover{transform:translateY(-3px);box-shadow:0 12px 22px #71623a15}.qicon{width:36px;height:36px;border-radius:11px;font-size:28px}.quick-grid-v6 b{font-size:9px;text-align:center}.dv6-side-v6{display:grid;gap:12px}.system-v6 .dv6-head,.admin-v6 .dv6-head{min-height:58px}.service-v6{height:27px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#414448}.service-v6 b{color:#07995f;background:#dff8ec;border-radius:20px;padding:4px 10px}.admin-profile-v6{display:flex;gap:12px;align-items:center;padding:13px 16px 8px}.admin-profile-v6 .big-avatar{width:48px;height:48px;border-radius:14px;font-size:20px}.admin-profile-v6 h4{margin:0 0 5px;font-size:12px}.admin-profile-v6 span{font-size:9px;background:#dff8e9;color:#07985d;padding:4px 10px;border-radius:20px;font-weight:900}.admin-v6 dl{display:grid;grid-template-columns:18px 1fr;margin:0;padding:3px 16px 12px;gap:8px 5px;font-size:9px;color:#4b4e52}.admin-v6 dt,.admin-v6 dd{margin:0}.admin-v6 dd{display:flex;justify-content:space-between}.dash-bottom-v6{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}.dash-bottom-v6 article{border-radius:14px;padding:10px 16px;min-height:72px;display:flex;align-items:center;gap:12px}.dash-bottom-v6 small,.dash-bottom-v6 strong,.dash-bottom-v6 p{display:block;margin:0}.dash-bottom-v6 small{font-size:9px;color:#9f8c56}.dash-bottom-v6 strong{font-size:17px;color:#222529}.dash-bottom-v6 p{font-size:9px;color:#526273}.dash-bottom-v6 p.ok{color:#08a963;font-weight:800}.scorebar{margin-left:auto;width:130px;height:7px;background:#f0eee9;border-radius:20px}.scorebar i{display:block;width:98%;height:100%;border-radius:20px;background:#12bd72}
body.dark .dash-stats-v6 article,body.dark .dash-bottom-v6 article,body.dark .dv6-card{background:#111111;border-color:#222222}body.dark .dash-stats-v6 article b,body.dark .dash-stats-v6 article strong,body.dark .dv6-head h3,body.dark .act-copy-v6 b,body.dark .admin-profile-v6 h4,body.dark .dash-bottom-v6 strong{color:#f9f9f9!important}body.dark .dash-stats-v6 article small,body.dark .dv6-head p,body.dark .act-copy-v6 small,body.dark .activity-row-v6 time,body.dark .dash-bottom-v6 small,body.dark .dash-bottom-v6 p{color:#526273!important}body.dark .dv6-head,body.dark .activity-row-v6{border-color:#222222}body.dark .quick-grid-v6 a{background:#171717;border-color:#222222;color:#f4f4f4}body.dark .service-v6,body.dark .admin-v6 dl{color:#cccccc}
@media(max-width:1250px){.dash-hero-v6{grid-template-columns:1.2fr .8fr 220px}.dash-stats-v6{grid-template-columns:repeat(3,1fr)}.dash-main-v6{grid-template-columns:1.3fr 1fr}.dv6-side-v6{grid-column:1/-1;grid-template-columns:1fr 1fr}.dash-bottom-v6{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.dash-hero-v6{height:auto;min-height:185px;grid-template-columns:1fr;padding:22px}.hero-copy-v6 h1{font-size:27px}.hero-art-v6{position:absolute;right:-45px;top:15px;width:220px;opacity:.38}.hero-clock-v6{border-left:0;border-top:1px solid #ffffff20;margin-top:18px;padding:13px 0 0;height:auto}.dash-stats-v6{grid-template-columns:repeat(2,1fr)}.dash-main-v6{grid-template-columns:1fr}.dv6-side-v6{grid-column:auto;grid-template-columns:1fr}.dash-bottom-v6{grid-template-columns:1fr 1fr}.activity-row-v6{grid-template-columns:34px 1fr}.activity-row-v6 time,.act-device-v6{display:none}.quick-grid-v6{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.dash-stats-v6{grid-template-columns:1fr}.dash-bottom-v6{grid-template-columns:1fr}.hero-art-v6{display:none}.dash-hero-v6{min-height:210px}.quick-grid-v6{grid-template-columns:repeat(2,1fr)}}

/* ===== V6.1 COMING SOON LAYOUT FIX ===== */
.coming-page-v61{min-height:calc(100vh - 142px)!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;overflow:hidden!important;padding:42px 24px!important;border:1px solid #edebe5!important;border-radius:26px!important;background:radial-gradient(circle at 50% 22%,#fbfaf9 0,#f8f8f6 44%,#f4f3ef 100%)!important;isolation:isolate}
.coming-panel-v61{width:min(650px,100%)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;position:relative!important;z-index:3!important;padding:24px 20px!important}
.coming-art-v61{width:150px!important;height:128px!important;display:block!important;position:relative!important;flex:0 0 128px!important;margin:0 auto 18px!important;overflow:visible!important}
.coming-layer,.coming-icon-v61{position:absolute!important;width:88px!important;height:88px!important;left:31px!important;top:20px!important;border-radius:25px!important;background:linear-gradient(145deg,#526273,#526273)!important;border:1px solid #ffffff4d!important}
.coming-layer.layer-3{transform:translate(23px,-17px) rotate(10deg)!important;opacity:.13!important}.coming-layer.layer-2{transform:translate(13px,-9px) rotate(5deg)!important;opacity:.25!important}.coming-layer.layer-1{transform:translate(5px,-3px) rotate(-1deg)!important;opacity:.38!important}
.coming-icon-v61{display:grid!important;place-items:center!important;transform:rotate(-7deg)!important;box-shadow:inset 0 1px 0 #ffffff66,0 20px 50px #5262734d!important;animation:comingV61Float 3.8s ease-in-out infinite!important}.coming-icon-v61:after{content:"";position:absolute;inset:12px;border:1.5px solid #ffffff59;border-radius:18px}.coming-icon-v61 .ui-icon{width:40px!important;height:40px!important;color:#fff!important;stroke:currentColor!important;position:relative;z-index:2}
@keyframes comingV61Float{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-8px) rotate(-3deg)}}
.coming-badge-v61{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:100%!important;margin:0 auto 14px!important;padding:7px 13px!important;border-radius:999px!important;background:#f5f4f1!important;color:#526273!important;font-size:10px!important;line-height:1!important;font-weight:900!important;letter-spacing:1.8px!important;white-space:nowrap!important}
.coming-title-v61{position:static!important;display:block!important;margin:0 0 9px!important;font-size:clamp(30px,3vw,42px)!important;line-height:1.1!important;color:#24272b!important;font-weight:850!important;letter-spacing:-1.2px!important}.coming-desc-v61{position:static!important;margin:0!important;max-width:560px!important;color:#526273!important;font-size:16px!important;line-height:1.6!important}
.coming-divider-v61{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;width:100%!important;margin:25px 0 18px!important;color:#526273!important}.coming-divider-v61 i{display:block!important;width:64px!important;height:1px!important;background:linear-gradient(90deg,transparent,#526273)!important}.coming-divider-v61 i:last-child{transform:scaleX(-1)}.coming-divider-v61 strong{font-size:11px!important;letter-spacing:2.2px!important;white-space:nowrap!important}
.coming-back-v61{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:13px 19px!important;border:1px solid #e5e7ea!important;border-radius:13px!important;background:#fff!important;color:#34373b!important;text-decoration:none!important;font-weight:800!important;box-shadow:0 12px 28px #3f424612!important;transition:transform .2s ease,box-shadow .2s ease!important}.coming-back-v61:hover{transform:translateY(-2px)!important;box-shadow:0 17px 35px #3f42461c!important}.coming-back-v61 .ui-icon{transform:rotate(180deg)!important}
.coming-glow{position:absolute!important;border-radius:50%!important;pointer-events:none!important;z-index:0!important}.coming-glow-a{width:300px;height:300px;left:-95px;top:-100px;background:#52627312}.coming-glow-b{width:390px;height:390px;right:-135px;bottom:-175px;background:#52627312}
body.dark .coming-page-v61{border-color:#222222!important;background:radial-gradient(circle at 50% 20%,#171717 0,#111111 48%,#080808 100%)!important}body.dark .coming-title-v61{color:#fafafa!important}body.dark .coming-desc-v61{color:#b1b1b1!important}body.dark .coming-badge-v61{background:#222222!important;color:#d5d5d5!important}body.dark .coming-back-v61{background:#171717!important;border-color:#2b2b2b!important;color:#f6f6f6!important}
@media(max-width:850px){.coming-page-v61{min-height:calc(100dvh - 95px)!important;padding:30px 16px!important;border-radius:18px!important}.coming-panel-v61{padding:10px 6px!important}.coming-art-v61{transform:scale(.88)!important;margin-bottom:7px!important}.coming-title-v61{font-size:30px!important}.coming-desc-v61{font-size:14px!important}.coming-divider-v61{margin-top:21px!important}.coming-divider-v61 i{width:38px!important}}

/* === V6.2 dashboard statistic-card spacing fix === */
.dash-stats-v6{align-items:stretch!important;margin:16px 0 18px!important;gap:14px!important}
.dash-stats-v6 article{
  min-height:154px!important;
  height:154px!important;
  padding:17px 17px 38px!important;
  align-content:start!important;
  overflow:hidden!important;
}
.dash-stats-v6 article>div:nth-child(2){min-width:0;padding-top:2px!important}
.dv6-meter{
  left:17px!important;
  right:17px!important;
  bottom:25px!important;
  height:5px!important;
  overflow:visible!important;
  background:#f3f1ed!important;
}
.dv6-meter i{height:5px!important;min-width:0!important}
.dv6-meter span{
  right:0!important;
  top:10px!important;
  bottom:auto!important;
  transform:none!important;
  line-height:1!important;
  font-size:9px!important;
  white-space:nowrap!important;
}
.dash-main-v6{margin-top:0!important}
body.dark .dv6-meter{background:#222222!important}
@media(max-width:1250px){.dash-stats-v6 article{height:154px!important;min-height:154px!important}}
@media(max-width:560px){.dash-stats-v6 article{height:148px!important;min-height:148px!important}}

/* ===== V6.3 PREMIUM ADMIN INFORMATION CARD ===== */
.admin-card-v63{background:linear-gradient(180deg,#fff 0%,#fdfdfd 100%);border:1px solid #eeece6!important;box-shadow:0 14px 34px rgba(33,66,120,.08);overflow:hidden}
.admin-head-v63{padding:13px 15px!important;min-height:62px!important}.admin-head-v63 .dv6-title-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#f8f7f4;color:#aa9459}.admin-head-v63 .dv6-title-icon .ui-icon{width:19px;height:19px}.admin-head-v63 h3{font-size:15px!important;letter-spacing:-.2px}.admin-head-v63 p{font-size:9px!important}.admin-edit-v63{display:inline-flex!important;align-items:center;gap:5px;padding:8px 10px;border-radius:10px;background:#faf9f7;color:#9b8750!important;font-size:9px!important;font-weight:900!important;transition:.2s}.admin-edit-v63:hover{transform:translateY(-1px);background:#f6f4f1}.admin-edit-v63 .ui-icon{width:13px;height:13px}
.admin-profile-v63{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:start;padding:13px 15px 11px}.admin-profile-v63 .big-avatar{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#526273,#526273);color:#fff;font-size:21px;font-weight:900;box-shadow:0 9px 22px rgba(83,74,255,.24)}.admin-ident-v63{min-width:0}.admin-name-v63{display:flex;align-items:center;gap:5px;min-width:0}.admin-name-v63 h4{margin:1px 0 5px!important;font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#272a2e}.admin-crown-v63{width:14px!important;height:14px!important;color:#ff9d00;flex:0 0 auto}.admin-active-v63{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;background:#dff8e9;color:#07985d;font-size:8px;font-weight:900}.admin-active-v63 i{width:5px;height:5px;border-radius:50%;background:#10c779;box-shadow:0 0 0 3px rgba(16,199,121,.1)}.admin-email-v63{display:flex;align-items:center;gap:7px;margin-top:9px;color:#4a4d51;font-size:8.5px;min-width:0}.admin-email-v63 .ui-icon{width:13px;height:13px;color:#9c8850;flex:0 0 auto}.admin-email-v63 span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-info-v63{padding:0 15px 10px}.admin-info-row-v63{min-height:38px;display:grid;grid-template-columns:28px minmax(68px,.8fr) minmax(0,1.2fr);gap:7px;align-items:center;border-top:1px solid #f3f1ed;color:#4a4d51;font-size:8.5px}.admin-row-icon{width:25px;height:25px;border-radius:8px;display:grid;place-items:center}.admin-row-icon .ui-icon{width:13px;height:13px}.admin-row-icon.violet{background:#f7f6f3;color:#526273}.admin-row-icon.blue{background:#f6f5f3;color:#a48f55}.admin-row-icon.cyan{background:#f5f4f1;color:#837244}.admin-row-label{color:#526273}.admin-info-row-v63>b{justify-self:end;color:#272a2e;font-size:8.5px;text-align:right;white-space:nowrap}.admin-role-v63{padding:5px 9px;border-radius:999px;background:#f6f5f2;color:#526273!important;font-size:8px!important}.admin-login-total-v63{display:flex;align-items:center;gap:5px}.admin-login-total-v63 .ui-icon{width:11px;height:11px;color:#9c8850}
body.dark .admin-card-v63{background:linear-gradient(180deg,#111111,#111111);border-color:#222222!important}body.dark .admin-head-v63{border-color:#222222}body.dark .admin-head-v63 .dv6-title-icon{background:#222222;color:#526273}body.dark .admin-edit-v63{background:#171717;color:#c9c9c9!important}body.dark .admin-name-v63 h4,body.dark .admin-info-row-v63>b{color:#fafafa!important}body.dark .admin-email-v63,body.dark .admin-row-label{color:#526273}body.dark .admin-info-row-v63{border-color:#222222}body.dark .admin-row-icon.violet{background:#222222}body.dark .admin-row-icon.blue{background:#222222}body.dark .admin-row-icon.cyan{background:#171717}
@media(max-width:560px){.admin-profile-v63{grid-template-columns:48px minmax(0,1fr)}.admin-profile-v63 .big-avatar{width:48px;height:48px}.admin-info-row-v63{grid-template-columns:28px 92px minmax(0,1fr)}.admin-head-v63 p{display:none}}

/* ===== V6.4 ROLE & PERMISSION PREMIUM ===== */
.rp-breadcrumb{font-size:12px;color:#526273;margin:0 0 12px}.rp-breadcrumb span{margin:0 9px}.rp-hero{min-height:116px;border:1px solid #edebe6;border-radius:19px;margin-bottom:18px;padding:18px 22px;display:flex;align-items:center;position:relative;overflow:hidden;background:linear-gradient(110deg,#fff 0%,#fbfaf9 55%,#f6f4f1 100%);box-shadow:0 10px 28px #393c400a}.rp-hero:after{content:"";position:absolute;right:-30px;top:-70px;width:260px;height:200px;background:linear-gradient(135deg,#52627310,#ab965b16);transform:skewX(-25deg)}.rp-hero-copy{display:flex;align-items:center;gap:18px;min-width:0;z-index:2}.rp-hero-icon{width:68px;height:68px;border-radius:17px;background:linear-gradient(145deg,#526273,#526273);display:grid;place-items:center;color:#fff;box-shadow:0 14px 30px #52627342}.rp-hero-copy span,.rp-side-head>span,.rp-main-head>div>span,.rp-stat-box>span{font-size:10px;letter-spacing:1.8px;font-weight:900;color:#526273}.rp-hero-copy h1{font-size:27px;margin:3px 0 1px;color:#212428}.rp-hero-copy p{margin:0;color:#526273;font-size:12px}.rp-hero-art{position:absolute;left:53%;top:-25px;width:240px;height:160px;display:grid;place-items:center;pointer-events:none}.rp-shield{width:100px;height:112px;clip-path:polygon(50% 0,90% 15%,86% 66%,50% 100%,14% 66%,10% 15%);background:linear-gradient(145deg,#526273,#526273);display:grid;place-items:center;color:white;filter:drop-shadow(0 16px 20px #52627350);transform:rotate(4deg)}.rp-shield .ui-icon{width:38px;height:38px}.rp-hero-art i{position:absolute;width:145px;height:60px;border:2px solid #52627333;border-radius:50%;transform:rotate(-10deg)}.rp-hero-art i:last-child{width:190px;height:85px;transform:rotate(10deg)}.rp-hero-stats{margin-left:auto;display:grid;grid-template-columns:repeat(3,110px);z-index:3;background:#ffffffb8;backdrop-filter:blur(12px);border:1px solid #ffffffb0;border-radius:14px;padding:14px 8px;box-shadow:0 12px 30px #7d6d4110}.rp-hero-stats>div{padding:0 15px;border-left:1px solid #eceae4}.rp-hero-stats>div:first-child{border:0}.rp-hero-stats small,.rp-hero-stats strong{display:block}.rp-hero-stats small{color:#526273;font-size:10px}.rp-hero-stats strong{font-size:20px;margin-top:5px;color:#25282c}.rp-hero-stats em{display:inline-block;width:8px;height:8px;border-radius:50%;background:#16c47f;margin-right:7px}.rp-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;align-items:start}.rp-left,.rp-main{background:#fff;border:1px solid #e7e9ec;border-radius:17px;box-shadow:0 10px 30px #373a3e0a}.rp-left{padding:14px;position:sticky;top:90px}.rp-side-head{padding:2px 0 10px}.rp-side-head h3{font-size:18px;margin:4px 0;color:#25282c}.rp-side-head p{font-size:11px;line-height:1.5;color:#526273;margin:0}.rp-role{width:100%;border:1px solid transparent;background:#fcfcfb;border-radius:13px;display:flex;align-items:center;gap:10px;padding:10px;margin:6px 0;text-align:left;color:#282b2f;transition:.2s}.rp-role:hover{transform:translateX(2px);background:#fafaf9}.rp-role.active{border-color:#e7e9ec;background:linear-gradient(135deg,#f9f8f6,#fafaf8);box-shadow:0 7px 18px #52627312}.rp-role>i{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#f6f5f3;color:#526273}.rp-role>span{flex:1;min-width:0}.rp-role b,.rp-role small{display:block}.rp-role b{font-size:13px}.rp-role small{font-size:9px;color:#526273;margin-top:2px}.rp-role .arrow{color:#526273}.rp-add-role{width:100%;height:43px;border:0;border-radius:10px;background:linear-gradient(135deg,#526273,#526273);color:#fff;font-weight:800;box-shadow:0 8px 18px #52627334}.rp-add-role b{font-size:19px;margin-right:6px}.rp-stat-box{margin-top:14px;padding-top:13px;border-top:1px solid #f4f3ef}.rp-stat-box>div{display:flex;align-items:center;gap:9px;padding:9px 2px}.rp-stat-box i{width:34px;height:34px;border-radius:9px;background:#f6f4f1;color:#526273;display:grid;place-items:center}.rp-stat-box i.green{background:#e4faef;color:#16ae70}.rp-stat-box p{flex:1;margin:0}.rp-stat-box b,.rp-stat-box small{display:block}.rp-stat-box b{font-size:10px}.rp-stat-box small{font-size:8px;color:#526273;margin-top:2px}.rp-stat-box strong{font-size:15px}.rp-main{padding:14px}.rp-role-panel{display:none}.rp-role-panel.active{display:block;animation:roleSlide .25s ease}.rp-main-head{display:flex;align-items:center;gap:12px;padding:4px 2px 14px}.rp-main-head>div:first-child{flex:1}.rp-main-head h2{font-size:20px;margin:3px 0;color:#25282c}.rp-main-head h2 small{font-size:8px;color:#1aa76d;background:#dff8ec;border-radius:999px;padding:5px 8px;vertical-align:middle}.rp-main-head p{margin:0;color:#526273;font-size:10px}.rp-head-actions{display:flex;gap:8px}.rp-head-actions button,.rp-access-head>button{border:1px solid #ebe9e3;background:#fcfbfa;color:#3a3d41;border-radius:9px;padding:9px 12px;font-size:10px;font-weight:800;display:flex;align-items:center;gap:6px}.rp-head-actions .danger-lite{color:#f0475f;background:#fff0f3;border-color:#ffe1e6}.rp-tabs{display:grid;grid-template-columns:repeat(5,1fr);background:#f8f7f4;border-radius:11px;overflow:hidden;margin-bottom:12px}.rp-tabs button{border:0;background:transparent;padding:11px 7px;color:#46494d;font-size:10px;font-weight:800;display:flex;justify-content:center;align-items:center;gap:7px}.rp-tabs button+button{border-left:1px solid #eeece7}.rp-tabs button.active{background:linear-gradient(135deg,#526273,#526273);color:#fff;box-shadow:0 7px 16px #5262733b}.rp-tab-content{display:none}.rp-tab-content.active{display:block}.rp-access-head{display:flex;align-items:center;gap:8px;padding:10px 2px}.rp-access-head>div{flex:1}.rp-access-head h3{font-size:16px;margin:0;color:#25282c}.rp-access-head p{font-size:9px;color:#526273;margin:2px 0 0}.rp-search{width:270px;height:38px;border:1px solid #e4e6e9;border-radius:9px;display:flex;align-items:center;padding:0 10px;color:#526273}.rp-search input{border:0!important;outline:0!important;background:transparent!important;width:100%;font-size:10px;color:inherit}.rp-access-head .rp-all{background:linear-gradient(135deg,#526273,#526273);color:white;border:0}.rp-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.rp-menu-item{min-height:55px;border:1px solid #e7e9ec;border-radius:11px;display:flex;align-items:center;gap:9px;padding:7px 10px;transition:.18s;background:#fff}.rp-menu-item:hover{border-color:#e2e4e7;box-shadow:0 6px 16px #5262730d}.rp-menu-item>i{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#f6f5f2;color:#526273}.rp-menu-item>i.tone-1{background:#ffe9ef;color:#ff4d6d}.rp-menu-item>i.tone-2{background:#eceef1;color:#f49b24}.rp-menu-item>i.tone-3{background:#f6f5f2;color:#526273}.rp-menu-item>i.tone-4{background:#e2f9ef;color:#0aa66c}.rp-menu-item>i.tone-5{background:#f4f3ef;color:#9d8951}.rp-menu-item>span{flex:1;min-width:0}.rp-menu-item b,.rp-menu-item small{display:block}.rp-menu-item b{font-size:10px;color:#2c2f33}.rp-menu-item small{font-size:8px;color:#526273;margin-top:2px}.rp-menu-item>a{font-size:8px;text-decoration:none;color:#526273;font-weight:800;white-space:nowrap}.rp-menu-item>input{position:absolute;opacity:0;pointer-events:none}.rp-switch{width:34px;height:20px;border-radius:20px;background:#e4e6e9;padding:2px;transition:.2s}.rp-switch u{display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0002;transition:.2s}.rp-menu-item input:checked~.rp-switch{background:#22c88b}.rp-menu-item input:checked~.rp-switch u{transform:translateX(14px)}.row-chevron{color:#526273}.rp-savebar{margin-top:12px;border-top:1px solid #f4f3ef;padding:12px 2px 0;display:flex;align-items:center;justify-content:space-between;color:#526273;font-size:9px}.rp-savebar>span{display:flex;align-items:center;gap:6px}.rp-savebar button{display:flex;align-items:center;gap:7px;padding:9px 13px;border-radius:9px}.rp-placeholder{min-height:330px;display:grid;place-items:center;align-content:center;text-align:center;color:#526273}.rp-placeholder>.ui-icon{width:42px;height:42px;color:#526273;margin-bottom:10px}.rp-placeholder h3{margin:4px 0;color:#292c30}.rp-placeholder strong{font-size:28px;color:#526273}.rp-placeholder p{max-width:420px;font-size:11px}.rp-log-list h3{font-size:16px}.rp-log-list>div:not(.rp-empty){display:flex;align-items:center;gap:10px;border-top:1px solid #f4f3ef;padding:11px}.rp-log-list i{width:34px;height:34px;border-radius:9px;background:#f6f5f3;color:#526273;display:grid;place-items:center}.rp-log-list span{flex:1}.rp-log-list b,.rp-log-list small{display:block}.rp-log-list b{font-size:10px}.rp-log-list small,.rp-log-list time{font-size:8px;color:#526273}.rp-empty{padding:30px;text-align:center;color:#526273}.rp-access-head button:disabled{opacity:.45;cursor:not-allowed}
body.dark .rp-hero{background:linear-gradient(110deg,#111111,#111111 60%,#111111);border-color:#222222}body.dark .rp-hero-copy h1,body.dark .rp-hero-stats strong,body.dark .rp-side-head h3,body.dark .rp-main-head h2,body.dark .rp-access-head h3,body.dark .rp-menu-item b{color:#f8f8f8!important}body.dark .rp-hero-copy p,body.dark .rp-side-head p,body.dark .rp-main-head p,body.dark .rp-access-head p{color:#526273!important}body.dark .rp-hero-stats{background:#1b1e22c9;border-color:#222222}body.dark .rp-hero-stats>div{border-color:#2b2b2b}body.dark .rp-left,body.dark .rp-main,body.dark .rp-menu-item{background:#111111;border-color:#222222}body.dark .rp-role{background:#111111;color:#f3f3f3}body.dark .rp-role.active{background:linear-gradient(135deg,#222222,#171717);border-color:#a08c53}body.dark .rp-stat-box{border-color:#222222}body.dark .rp-tabs{background:#080808}body.dark .rp-tabs button{color:#d6d6d6}body.dark .rp-tabs button+button{border-color:#222222}body.dark .rp-search,body.dark .rp-head-actions button,body.dark .rp-access-head>button{background:#080808;border-color:#2b2b2b;color:#e9e9e9}body.dark .rp-menu-item:hover{border-color:#ab965d}body.dark .rp-savebar{border-color:#222222}
@media(max-width:1100px){.rp-hero-art{display:none}.rp-hero-stats{grid-template-columns:repeat(3,90px)}.rp-layout{grid-template-columns:230px minmax(0,1fr)}.rp-menu-grid{grid-template-columns:1fr}.rp-search{width:210px}.rp-tabs button{font-size:9px}}
@media(max-width:850px){.rp-breadcrumb{margin-top:3px}.rp-hero{padding:15px;display:block}.rp-hero-copy{align-items:flex-start}.rp-hero-icon{width:52px;height:52px}.rp-hero-copy h1{font-size:22px}.rp-hero-copy p{font-size:10px}.rp-hero-stats{margin:14px 0 0;grid-template-columns:repeat(3,1fr);width:100%}.rp-layout{grid-template-columns:1fr}.rp-left{position:static}.rp-role-list{display:flex;overflow-x:auto;gap:7px}.rp-role{min-width:190px}.rp-add-role,.rp-stat-box{display:none}.rp-main{padding:10px}.rp-main-head{align-items:flex-start}.rp-head-actions{display:none}.rp-tabs{display:flex;overflow-x:auto}.rp-tabs button{min-width:130px}.rp-access-head{flex-wrap:wrap}.rp-access-head>div{width:100%;flex-basis:100%}.rp-search{width:100%;order:2}.rp-access-head>button{order:3}.rp-menu-grid{grid-template-columns:1fr}.rp-menu-item>a{display:none}.rp-savebar{position:sticky;bottom:8px;background:inherit;border:1px solid #ebe9e3;border-radius:11px;padding:9px;z-index:3;box-shadow:0 8px 30px #2e31351c}.rp-savebar>span{display:none}.rp-savebar button{width:100%;justify-content:center}.rp-hero-stats small{font-size:8px}.rp-hero-stats strong{font-size:16px}}
/* ===== V6.5 PREMIUM LOGIN ===== */
.login-v65-body{background:#171a1e;overflow:auto}.login-v65{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.62fr) minmax(520px,.9fr);background:#171a1e}.login-v65-visual{position:relative;overflow:hidden;min-height:850px;padding:46px 4.3vw;color:#fff;background:radial-gradient(circle at 76% 16%,#a8935770 0,transparent 26%),radial-gradient(circle at 55% 80%,#9e8a524a 0,transparent 34%),linear-gradient(145deg,#171715,#222529 62%,#23262a)}.login-v65-visual:after{content:"";position:absolute;left:-8%;right:-5%;bottom:-28%;height:55%;border-radius:50%;border:1px solid #52627366;box-shadow:0 -20px 90px #52627338,inset 0 0 80px #52627328;background:radial-gradient(circle at 50% 0,#3f4246,#16191d 58%)}.lv-brand{display:flex;align-items:center;gap:14px;position:relative;z-index:5}.lv-brand .brandmark,.lv-login-logo .brandmark{width:52px;height:52px;border-radius:13px;background:linear-gradient(145deg,#526273,#526273);display:grid;place-items:center;color:#fff;font-size:27px;font-weight:900;box-shadow:0 10px 30px #52627344}.lv-brand b,.lv-login-logo b{display:block;font-size:23px}.lv-brand small,.lv-login-logo small{display:block;font-size:9px;letter-spacing:.2em;color:#d6d8db;margin-top:3px}.lv-brand>span{margin-left:55px;border:1px solid #c68d364f;background:#261e183d;padding:9px 14px;border-radius:999px;color:#ffd58e;font-size:11px;font-weight:800}.lv-copy{position:relative;z-index:4;margin-top:70px;max-width:700px}.lv-copy h1{font-size:clamp(48px,4.4vw,76px);line-height:1.02;letter-spacing:-.045em;margin:0}.lv-copy h1 em{font-style:normal;background:linear-gradient(90deg,#526273,#526273);-webkit-background-clip:text;color:transparent}.lv-copy p{font-size:18px;line-height:1.6;color:#dfe1e4;max-width:650px}.lv-console{position:absolute;z-index:2;width:46%;height:52%;right:2%;top:8%;transform:perspective(900px) rotateY(-13deg) rotateX(3deg);filter:drop-shadow(0 30px 50px #0008)}.lv-screen{position:absolute;inset:8% 5% 16%;border:2px solid #526273;background:linear-gradient(145deg,#2f3236e8,#1b1e22e8);border-radius:22px;padding:28px;color:#e5e7ea;box-shadow:inset 0 0 40px #52627330,0 0 60px #52627330}.lv-screen-brand{display:flex;gap:9px;align-items:center;font-size:10px}.lv-screen-brand>b{background:#526273;padding:9px;border-radius:8px}.lv-screen-brand small{font-size:6px}.lv-screen-search{height:22px;width:48%;border-radius:7px;background:#44474b;margin:18px 0}.lv-screen h3{font-size:20px}.lv-screen h3 i{color:#526273}.lv-mini-cards{display:flex;gap:12px}.lv-mini-cards span{background:#393c40;padding:14px;border-radius:11px;min-width:120px}.lv-mini-cards b,.lv-mini-cards small{display:block}.lv-mini-cards b{font-size:20px;color:#fff}.lv-mini-cards small{font-size:8px}.lv-lines{margin-top:20px}.lv-lines i{display:block;height:10px;border-radius:5px;background:#35383c;margin:8px;width:85%}.lv-lines i:nth-child(2){width:70%}.lv-lines i:nth-child(3){width:92%}.lv-lines i:nth-child(4){width:60%}.lv-float{position:absolute;width:65px;height:65px;border:1px solid #526273;background:linear-gradient(145deg,#526273cc,#52627399);border-radius:14px;display:grid;place-items:center;font-size:30px;box-shadow:0 0 35px #52627388}.f1{left:-5%;top:17%}.f2{left:-2%;top:50%}.f3{right:-4%;bottom:16%}.lv-shield{position:absolute;width:145px;height:145px;left:28%;bottom:-2%;border-radius:28px;background:linear-gradient(145deg,#526273,#526273);border:2px solid #dadcdf;display:grid;place-items:center;font-size:75px;color:#fff;box-shadow:0 0 50px #526273}.lv-feature-grid{position:relative;z-index:6;margin-top:35px;display:grid;grid-template-columns:repeat(2,minmax(220px,310px));gap:14px}.lv-feature-grid article{display:flex;gap:14px;align-items:center;padding:15px;border:1px solid #52627366;border-radius:14px;background:#2c2f33a8;backdrop-filter:blur(10px)}.lv-feature-grid i{width:48px;height:48px;border-radius:12px;background:linear-gradient(145deg,#526273,#526273);display:grid;place-items:center;font-size:24px;font-style:normal}.lv-feature-grid b,.lv-feature-grid small{display:block}.lv-feature-grid b{font-size:13px}.lv-feature-grid small{font-size:10px;color:#526273;margin-top:4px;line-height:1.45}.lv-bottom{position:absolute;z-index:6;bottom:28px;left:4.3vw;right:4.3vw;display:flex;gap:18px}.lv-bottom>span{min-width:180px;padding:13px 17px;border:1px solid #9e8a52;border-radius:13px;background:#292c30ba}.lv-bottom b,.lv-bottom small{display:block;margin-left:28px}.lv-bottom b{margin-top:-18px;font-size:11px}.lv-bottom small{font-size:9px;color:#526273;margin-top:3px}.login-v65-side{background:radial-gradient(circle at 90% 10%,#f4f3f0,transparent 28%),linear-gradient(145deg,#fafaf9,#fff);padding:38px;display:grid;place-items:center}.lv-login-card{width:min(540px,100%);background:#ffffffd9;border:1px solid #fff;border-radius:26px;padding:30px 38px;box-shadow:0 30px 80px #7d6e4420;backdrop-filter:blur(20px)}.lv-login-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.lv-login-logo{display:flex;align-items:center;gap:13px}.lv-login-logo b{color:#25282c;font-size:20px}.lv-login-logo small{color:#526273}.lv-language{border:1px solid #ebe9e3;background:#fff;border-radius:10px;padding:10px 12px;color:#46494d;font-weight:700}.lv-secure{display:inline-block;background:#f6f5f2;color:#526273;border-radius:999px;padding:7px 13px;font-size:10px;font-weight:900;letter-spacing:.14em}.lv-login-card h2{font-size:38px;letter-spacing:-.035em;margin:15px 0 5px;color:#1f2226}.lv-login-card>p{color:#526273;line-height:1.55;margin:0 0 20px}.lv-form label{font-size:12px;font-weight:800;color:#25282c}.lv-input{position:relative;margin:8px 0 17px}.lv-input>svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:#526273;stroke-width:1.7}.lv-input input{width:100%;height:52px;border:1px solid #dadcdf;border-radius:10px;background:#fff;padding:0 45px;color:#25282c;outline:0}.lv-input input:focus{border-color:#526273;box-shadow:0 0 0 3px #52627318}.lv-eye{position:absolute;right:7px;top:7px;width:38px;height:38px;border:0;background:transparent;color:#526273}.lv-label-row,.lv-remember{display:flex;align-items:center;justify-content:space-between}.lv-label-row button{border:0;background:transparent;color:#526273;font-weight:800;font-size:11px}.lv-remember label{display:flex;align-items:center;gap:7px}.lv-remember input{display:none}.lv-remember label>span{width:19px;height:19px;border:1px solid #d8dadd;border-radius:5px;display:grid;place-items:center;color:transparent}.lv-remember input:checked+span{background:#526273;border-color:#526273;color:#fff}.lv-remember small{color:#526273;font-size:10px}.lv-submit{width:100%;height:56px;border:0;border-radius:11px;margin-top:20px;background:linear-gradient(90deg,#526273,#526273);color:#fff;font-weight:900;font-size:15px;box-shadow:0 12px 28px #5262733d}.lv-submit span{margin-right:10px;font-size:20px}.lv-divider{height:40px;display:flex;align-items:center;justify-content:center;position:relative}.lv-divider:before{content:"";position:absolute;left:0;right:0;height:1px;background:#e5e7ea}.lv-divider span{position:relative;background:#fff;padding:0 13px;font-size:10px;color:#526273}.lv-social{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.lv-social button{height:46px;border:1px solid #e3e5e8;border-radius:9px;background:#fff;color:#36393d;font-weight:800}.lv-social b{margin-right:6px;color:#526273}.lv-trust{display:flex;gap:11px;align-items:center;margin-top:15px;padding:12px 14px;border-radius:10px;background:#e9fbf5;border:1px solid #c9f1e2}.lv-trust i{font-style:normal;color:#0fbf79;font-size:24px}.lv-trust b,.lv-trust small{display:block}.lv-trust b{font-size:10px}.lv-trust small{font-size:8px;color:#526273;margin-top:2px}.lv-footer{text-align:center;margin-top:22px}.lv-footer>span{font-size:8px;color:#526273}.lv-footer nav{margin-top:13px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.lv-footer a{font-size:9px;color:#526273;text-decoration:none}.lv-footer b{color:#526273}.lv-help{position:fixed;inset:0;background:#14171b99;backdrop-filter:blur(6px);display:none;place-items:center;z-index:999}.lv-help.show{display:grid}.lv-help>div{width:min(390px,calc(100% - 30px));background:#fff;border-radius:20px;padding:30px;text-align:center;position:relative;box-shadow:0 30px 80px #0004}.lv-help>div>button:first-child{position:absolute;right:14px;top:12px;border:0;background:#f5f4f1;border-radius:50%;width:32px;height:32px}.lv-help>div>span{font-size:42px}.lv-help h3{font-size:22px}.lv-help p{color:#526273}.lv-help-ok{border:0;background:#526273;color:#fff;border-radius:10px;padding:11px 24px;font-weight:800}
@media(max-width:1200px){.login-v65{grid-template-columns:1fr}.login-v65-visual{display:none}.login-v65-side{min-height:100vh}.lv-login-card{max-width:560px}}@media(max-width:600px){.login-v65-side{padding:14px}.lv-login-card{padding:24px 19px;border-radius:19px}.lv-login-card h2{font-size:31px}.lv-language{font-size:0;padding:10px}.lv-language:first-letter{font-size:16px}.lv-social{grid-template-columns:1fr}.lv-login-top{margin-bottom:32px}}
/* V6.6 premium login - self contained, no icon CDN */
.login-v66-body{margin:0;background:#191917;overflow-x:hidden}.login-v66{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(500px,.88fr);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.lv66-visual{position:relative;overflow:hidden;min-height:100vh;padding:42px 4.4vw 30px;color:#fff;background:radial-gradient(circle at 77% 31%,#9e8a5266 0,transparent 27%),radial-gradient(circle at 44% 100%,#6e5f3866 0,transparent 38%),linear-gradient(145deg,#101317 0,#181b1f 42%,#2a2d31 100%)}.lv66-visual:after{content:"";position:absolute;left:-15%;right:-10%;bottom:-42%;height:58%;border-radius:50%;border:1px solid #52627377;box-shadow:0 -25px 100px #a08b5244}.lv66-brand,.lv66-logo{display:flex;align-items:center;gap:14px;position:relative;z-index:5}.lv66-mark{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;font-size:29px;font-weight:900;background:linear-gradient(145deg,#526273,#526273);box-shadow:0 10px 30px #52627355;color:white}.lv66-brand b,.lv66-logo b{display:block;font-size:23px}.lv66-brand small,.lv66-logo small{display:block;margin-top:3px;font-size:9px;letter-spacing:.22em;color:#526273}.lv66-copy{position:relative;z-index:4;margin-top:54px;width:52%}.lv66-private{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:999px;background:#9a864f55;color:#526273;font-size:10px;font-weight:900;letter-spacing:.12em}.lv66-private svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}.lv66-copy h1{font-size:clamp(46px,4.2vw,70px);line-height:1.01;letter-spacing:-.045em;margin:24px 0 18px}.lv66-copy h1 em{font-style:normal;background:linear-gradient(90deg,#526273,#526273);-webkit-background-clip:text;color:transparent}.lv66-copy p{max-width:580px;font-size:16px;line-height:1.6;color:#526273}.lv66-art{position:absolute;z-index:2;right:1.5%;top:5%;width:48%;height:58%;filter:drop-shadow(0 35px 45px #0008)}.art-trust{position:absolute;right:4%;top:0;display:grid;grid-template-columns:30px 1fr;column-gap:8px;z-index:7}.art-trust span{grid-row:1/3;width:30px;height:30px;border-radius:9px;background:#1bd493;display:grid;place-items:center}.art-trust b{font-size:11px}.art-trust small{font-size:8px;color:#526273}.art-laptop{position:absolute;left:9%;right:4%;top:16%;bottom:6%;transform:perspective(900px) rotateY(-12deg) rotateX(5deg)}.art-screen{height:75%;border:3px solid #526273;border-radius:20px;background:linear-gradient(145deg,#33363a,#1b1e22);box-shadow:inset 0 0 45px #52627344,0 0 45px #52627355;display:flex;padding:17px}.as-side{width:27%;border-right:1px solid #ffffff14}.as-side b{display:inline-grid;place-items:center;width:30px;height:30px;background:#526273;border-radius:8px}.as-side i{display:block;width:70%;height:12px;margin:15px 0;border-radius:5px;background:#3b3e42}.as-main{flex:1;padding:12px 18px}.as-main>span{display:inline-block;padding:9px 20px;border-radius:7px;background:#a69055;font-size:10px}.as-chart{height:55%;margin-top:25px;border-radius:10px;background:#282b2f;display:flex;align-items:end;gap:9px;padding:16px}.as-chart i{width:16%;background:linear-gradient(#526273,#526273);border-radius:5px 5px 0 0}.as-chart i:nth-child(1){height:28%}.as-chart i:nth-child(2){height:52%}.as-chart i:nth-child(3){height:40%}.as-chart i:nth-child(4){height:75%}.as-chart i:nth-child(5){height:62%}.art-base{width:110%;height:20%;margin-left:-5%;background:linear-gradient(#45484c,#1a1a18);clip-path:polygon(8% 0,92% 0,100% 70%,85% 100%,15% 100%,0 70%);box-shadow:0 20px 50px #000}.art-stat,.art-security,.art-online{position:absolute;z-index:6;border:1px solid #526273aa;background:#393c40d9;backdrop-filter:blur(8px);box-shadow:0 0 30px #52627366}.art-stat{left:-2%;top:30%;padding:16px 20px;border-radius:14px}.art-stat small,.art-stat strong,.art-stat em{display:block}.art-stat strong{font-size:25px}.art-stat em{font-style:normal;color:#16dc92;font-size:10px}.art-security{right:1%;bottom:10%;padding:16px 23px;border-radius:15px;background:linear-gradient(135deg,#526273e8,#ab965be8)}.art-security div{font-size:30px}.art-security b,.art-security small{display:block}.art-online{right:0;bottom:-2%;display:flex;gap:10px;align-items:center;padding:12px 16px;border-radius:14px}.art-online>span{width:28px;height:28px;border-radius:50%;background:#12ca84;display:grid;place-items:center}.art-online b,.art-online small{display:block}.art-online small{font-size:8px;color:#526273}.lv66-features{position:relative;z-index:6;width:56%;display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:11px;margin-top:25px}.lv66-features article{display:flex;gap:12px;align-items:center;padding:13px;border:1px solid #52627366;border-radius:13px;background:#2b2e32a6}.lv66-features i{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-style:normal;font-size:20px}.lv66-features .blue{background:#526273}.lv66-features .pink{background:#df2d74}.lv66-features .green{background:#00ad76}.lv66-features .violet{background:#526273}.lv66-features .orange{background:#f58a13}.lv66-features .cyan{background:#8f7d4a}.lv66-features b,.lv66-features small{display:block}.lv66-features b{font-size:11px}.lv66-features small{font-size:9px;color:#526273;margin-top:3px;line-height:1.4}.lv66-bottom{position:absolute;z-index:6;left:4.4vw;right:3vw;bottom:27px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.lv66-bottom span{font-size:17px;color:#526273}.lv66-bottom b,.lv66-bottom small{display:block;margin-left:28px}.lv66-bottom b{margin-top:-21px;font-size:10px;color:#fff}.lv66-bottom small{font-size:8px;color:#526273;margin-top:3px}.lv66-side{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 70% 12%,#f5f4f0,transparent 25%),linear-gradient(145deg,#fafaf9,#fff)}.lv66-card{width:min(510px,100%);background:#ffffffdc;border:1px solid #fff;border-radius:25px;padding:30px 36px;box-shadow:0 30px 80px #7d6e4420;backdrop-filter:blur(18px)}.lv66-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px}.lv66-logo b{color:#25282c;font-size:20px}.lv66-logo small{color:#526273}.lv66-lang{position:relative}.lv66-lang>button{height:42px;padding:0 12px;border:1px solid #e3e5e8;border-radius:11px;background:#fff;display:flex;align-items:center;gap:7px;color:#393c40}.lv66-lang #langMenu{display:none;position:absolute;right:0;top:48px;width:150px;padding:6px;background:#fff;border:1px solid #ebe9e3;border-radius:11px;box-shadow:0 15px 35px #393c4022;z-index:20}.lv66-lang #langMenu.show{display:block}.lv66-lang #langMenu button{width:100%;padding:9px;border:0;background:transparent;text-align:left;border-radius:7px}.lv66-lang #langMenu button:hover{background:#faf9f7}.lv66-secure{display:inline-block;padding:7px 13px;border-radius:999px;background:#f6f5f2;color:#526273;font-size:9px;font-weight:900;letter-spacing:.15em}.lv66-card h2{font-size:37px;letter-spacing:-.035em;color:#1e2125;margin:14px 0 5px}.lv66-card>p{color:#526273;line-height:1.55;margin:0 0 20px}.lv66-form label{font-size:11px;font-weight:900;color:#26292d}.lv66-label,.lv66-remember{display:flex;justify-content:space-between;align-items:center}.lv66-label button{border:0;background:none;color:#526273;font-weight:800;font-size:10px}.lv66-input{position:relative;margin:8px 0 17px}.lv66-input>svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:#526273;stroke-width:1.7}.lv66-input input{width:100%;height:51px;border:1px solid #dadcdf;border-radius:10px;background:#fff;padding:0 47px;color:#25282c;outline:0}.lv66-input input:focus{border-color:#526273;box-shadow:0 0 0 3px #52627318}.lv66-eye{position:absolute;right:6px;top:6px;width:39px;height:39px;border:0;background:transparent;color:#526273}.lv66-eye svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}.lv66-remember label{display:flex;align-items:center;gap:7px}.lv66-remember input{display:none}.lv66-remember label>span{width:18px;height:18px;border:1px solid #d8dadd;border-radius:5px;display:grid;place-items:center;color:transparent}.lv66-remember input:checked+span{background:#526273;border-color:#526273;color:#fff}.lv66-remember small{font-size:9px;color:#526273}.lv66-submit{width:100%;height:55px;border:0;border-radius:11px;margin-top:19px;background:linear-gradient(90deg,#526273,#526273);color:#fff;font-size:15px;font-weight:900;box-shadow:0 12px 28px #5262733d;cursor:pointer}.lv66-divider{height:42px;display:flex;align-items:center;justify-content:center;position:relative}.lv66-divider:before{content:"";position:absolute;left:0;right:0;height:1px;background:#e3e5e8}.lv66-divider span{position:relative;background:#fff;padding:0 13px;font-size:9px;color:#526273}.lv66-social{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.lv66-social button{height:47px;border:1px solid #e1e3e6;border-radius:9px;background:#fff;color:#36393d;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.lv66-social button:hover{border-color:#526273;background:#fdfcfb;transform:translateY(-1px)}.lv66-social svg{width:19px;height:19px}.lv66-trust{margin-top:15px;padding:12px 14px;border:1px solid #c8efdf;border-radius:10px;background:#e9fbf4;display:flex;align-items:center;gap:10px}.lv66-trust>span{width:28px;height:28px;border-radius:50%;background:#14bf7b;color:#fff;display:grid;place-items:center}.lv66-trust b,.lv66-trust small{display:block}.lv66-trust b{font-size:9px}.lv66-trust small{font-size:8px;color:#526273}.lv66-foot{text-align:center;margin-top:20px;color:#526273;font-size:8px}.lv66-modal{position:fixed;inset:0;z-index:9999;display:none;place-items:center;background:#17171599;backdrop-filter:blur(7px)}.lv66-modal.show{display:grid}.lv66-modal>div{width:min(390px,calc(100% - 30px));background:#fff;border-radius:20px;padding:29px;text-align:center;position:relative;box-shadow:0 30px 80px #0005}.lv66-modal .x{position:absolute;right:12px;top:12px;width:32px;height:32px;border:0;border-radius:50%;background:#f5f4f1}.lv66-modal .mi{font-size:38px}.lv66-modal h3{font-size:21px}.lv66-modal p{color:#526273;line-height:1.5}.lv66-modal .ok{border:0;border-radius:9px;background:#526273;color:#fff;padding:11px 25px;font-weight:800}.alert{padding:11px 13px;border-radius:10px;background:#fff0f1;color:#b62e3b;border:1px solid #ffd7db;margin:12px 0}
@media(max-width:1250px){.login-v66{grid-template-columns:1fr}.lv66-visual{display:none}.lv66-side{min-height:100vh}.lv66-card{max-width:560px}}@media(max-width:600px){.lv66-side{padding:14px}.lv66-card{padding:23px 18px;border-radius:19px}.lv66-card h2{font-size:31px}.lv66-social{grid-template-columns:1fr}.lv66-top{margin-bottom:30px}.lv66-lang>button b{display:none}}

/* ===== V6.7 LOGIN REFERENCE MATCH / BACKGROUND ART FIX ===== */
.login-v66{min-height:100dvh;height:100dvh;overflow:hidden;grid-template-columns:minmax(0,1.45fr) minmax(500px,.72fr)}
.lv66-visual{min-height:100dvh;height:100dvh;padding:38px clamp(42px,4.4vw,76px) 30px;background:#181b1f;isolation:isolate;display:flex;flex-direction:column;overflow:hidden}
.lv66-visual:before{content:"";position:absolute;z-index:0;inset:0;background:linear-gradient(90deg,#181b1f 0%,#1c1f23 37%,rgba(5,20,45,.72) 55%,rgba(4,15,37,.05) 100%),url('/login-security-bg.png') 67% center/cover no-repeat;opacity:1}
.lv66-visual:after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:31%;background:linear-gradient(0deg,#181b1f 12%,rgba(6,22,47,.78) 56%,transparent 100%);pointer-events:none}
.lv66-brand,.lv66-copy,.lv66-features,.lv66-bottom{position:relative;z-index:4}.lv66-brand{position:relative;top:auto;left:auto}.lv66-copy{margin-top:46px;width:52%;max-width:650px}.lv66-copy h1{font-size:clamp(44px,3.65vw,67px);margin:20px 0 14px}.lv66-copy p{font-size:15px;max-width:560px}
.lv66-features{width:55%;max-width:610px;margin-top:20px;gap:10px}.lv66-features article{min-height:64px;padding:10px 12px;background:rgba(10,35,77,.78);border-color:rgba(85,127,219,.42);box-shadow:inset 0 1px rgba(255,255,255,.035);backdrop-filter:blur(7px)}.lv66-features i{width:40px;height:40px;flex:0 0 40px}.lv66-features i svg{width:21px;height:21px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.lv66-features b{font-size:11px}.lv66-features small{font-size:8px}
.lv66-bottom{position:relative;left:auto;right:auto;bottom:auto;margin-top:auto;padding-top:17px;border-top:1px solid rgba(108,150,227,.2);width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.lv66-bottom span{position:relative;padding-left:29px;font-size:0;min-width:0}.lv66-bottom span:before{position:absolute;left:0;top:0;width:22px;height:22px;display:grid;place-items:center;color:#526273;font-size:16px}.lv66-bottom span:nth-child(1):before{content:"◆"}.lv66-bottom span:nth-child(2):before{content:"☁"}.lv66-bottom span:nth-child(3):before{content:"▤"}.lv66-bottom span:nth-child(4):before{content:"◉"}.lv66-bottom b,.lv66-bottom small{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lv66-bottom b{font-size:10px}.lv66-bottom small{font-size:7.5px;margin-top:3px}
.lv66-side{min-height:100dvh;height:100dvh;padding:22px 30px;overflow:auto;background:radial-gradient(circle at 70% 12%,#f4f3f0 0,transparent 27%),linear-gradient(145deg,#faf9f7,#fff 65%)}.lv66-card{width:min(500px,100%);padding:25px 32px 22px;border-radius:24px}.lv66-top{margin-bottom:20px}.lv66-logo{display:flex;align-items:center;gap:12px}.lv66-logo .lv66-mark{width:50px;height:50px;font-size:26px}.lv66-secure{padding:6px 12px}.lv66-card h2{font-size:35px;margin:12px 0 5px}.lv66-card>p{font-size:14px;margin-bottom:16px}.lv66-input{margin:7px 0 14px}.lv66-input input{height:49px}.lv66-submit{height:52px;margin-top:16px}.lv66-divider{height:38px}.lv66-social button{height:46px}.lv66-trust{margin-top:13px}.lv66-foot{margin-top:15px}
.lv66-lang{z-index:100}.lv66-lang>button{min-width:134px;height:42px;padding:0 11px;border-color:#e1e3e6;box-shadow:0 4px 14px rgba(36,58,99,.05);cursor:pointer}.lang-flag{width:23px;height:16px;display:inline-block;flex:0 0 23px;border-radius:3px;box-shadow:0 0 0 1px rgba(20,34,60,.12);overflow:hidden}.flag-id{background:linear-gradient(#e52231 0 50%,#fff 50% 100%)}.flag-gb{background:#6e5f38;position:relative}.flag-gb:before{content:"✚";display:grid;place-items:center;width:100%;height:100%;color:#fff;font-size:16px;line-height:16px;text-shadow:1px 0 #e52838,-1px 0 #e52838,0 1px #e52838,0 -1px #e52838}.lang-chevron{width:16px;height:16px;margin-left:auto;fill:none;stroke:#526273;stroke-width:2;transition:.2s}.lv66-lang>button[aria-expanded="true"] .lang-chevron{transform:rotate(180deg)}
.lv66-lang #langMenu{top:49px;width:205px;padding:7px;border-radius:13px;box-shadow:0 18px 45px rgba(23,38,68,.18)}.lv66-lang #langMenu button{display:grid;grid-template-columns:25px 1fr 18px;gap:10px;align-items:center;padding:10px 9px;color:#2e3135}.lv66-lang #langMenu button>span:nth-child(2) b,.lv66-lang #langMenu button>span:nth-child(2) small{display:block}.lv66-lang #langMenu button>span:nth-child(2) b{font-size:11px}.lv66-lang #langMenu button>span:nth-child(2) small{font-size:8px;color:#526273;margin-top:2px}.lv66-lang #langMenu button i{font-style:normal;color:#526273;font-weight:900;text-align:center}
@media(max-height:820px) and (min-width:1251px){.lv66-visual{padding-top:24px;padding-bottom:20px}.lv66-brand .lv66-mark{width:46px;height:46px;font-size:25px}.lv66-brand b{font-size:20px}.lv66-copy{margin-top:25px}.lv66-copy h1{font-size:clamp(40px,3.25vw,58px);margin:15px 0 10px}.lv66-copy p{font-size:13px}.lv66-private{padding:7px 12px}.lv66-features{margin-top:14px}.lv66-features article{min-height:55px;padding:8px 10px}.lv66-features i{width:36px;height:36px;flex-basis:36px}.lv66-bottom{padding-top:11px}.lv66-card{padding-top:20px;padding-bottom:18px}.lv66-top{margin-bottom:14px}.lv66-card h2{font-size:31px;margin-top:9px}.lv66-card>p{font-size:12px;margin-bottom:12px}.lv66-input{margin-bottom:10px}.lv66-input input{height:45px}.lv66-submit{height:48px;margin-top:12px}.lv66-divider{height:33px}.lv66-social button{height:42px}.lv66-trust{padding:9px 12px;margin-top:10px}.lv66-foot{margin-top:10px}}
@media(max-width:1250px){.login-v66{height:auto;min-height:100dvh;grid-template-columns:1fr}.lv66-visual{display:none}.lv66-side{height:auto;min-height:100dvh}.lv66-card{max-width:560px}}
@media(max-width:600px){.lv66-side{padding:14px}.lv66-card{padding:22px 18px}.lv66-lang>button{min-width:auto}.lv66-lang>button b{display:none}.lv66-lang #langMenu{right:0}.lv66-social{grid-template-columns:1fr}.lv66-card h2{font-size:30px}}

/* ===== V6.8 PROFILE & SECURITY + LOGIN SCALE FIX ===== */
@media(min-width:1251px){.login-v66{grid-template-columns:minmax(0,60%) minmax(480px,40%)}.lv66-visual{padding-left:clamp(34px,4vw,62px);padding-right:clamp(28px,3.2vw,52px)}.lv66-visual:before{background:linear-gradient(90deg,#181b1f 0%,#1c1f23 27%,rgba(5,20,45,.48) 48%,rgba(4,15,37,.02) 100%),url('/login-security-bg.png') 63% center/cover no-repeat}.lv66-copy{width:50%;margin-top:34px}.lv66-copy h1{font-size:clamp(39px,3.25vw,58px)}.lv66-copy p{font-size:13px}.lv66-features{width:52%;max-width:530px}.lv66-features article{min-height:57px}.lv66-side{padding:20px 24px}.lv66-card{width:min(480px,100%);padding:23px 30px}}
.ps-page{max-width:1540px;margin:0 auto;display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.ps-success{grid-column:1/-1;margin:0}.ps-profile-card,.ps-card,.ps-tabs{background:#fff;border:1px solid #edebe5;box-shadow:0 12px 35px rgba(31,65,112,.07)}.ps-profile-card{border-radius:18px;padding:24px 18px 20px;text-align:center;position:sticky;top:86px}.ps-online{margin-left:auto;width:max-content;padding:6px 10px;border-radius:999px;background:#ddf8e9;color:#079c5f;font-size:10px;font-weight:900}.ps-online i,.ps-meta .active i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#14c878;margin-right:5px;box-shadow:0 0 0 4px #d7f7e8}.ps-avatar-wrap{position:relative;width:112px;margin:7px auto 12px}.ps-avatar{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#526273,#526273);color:#fff;font-size:45px;font-weight:900;box-shadow:0 16px 35px #52627335}.ps-camera{position:absolute;right:1px;bottom:4px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#f6f5f2;border:4px solid #fff;color:#424549}.ps-camera .ui-icon{width:15px;height:15px}.ps-profile-card h2{font-size:18px;margin:8px 0 7px;color:#222529}.ps-profile-card h2 span{color:#ffab00}.ps-role{display:inline-block;padding:5px 12px;border-radius:999px;background:#f5f4f1;color:#526273;font-size:9px}.ps-profile-card>p{font-size:11px;color:#526273;margin:10px 0 3px}.ps-profile-card>small{font-size:10px;color:#526273}.ps-photo-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0 17px}.ps-photo-actions button{height:64px;border:0;border-radius:12px;background:#faf9f7;color:#af9b63;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:9px}.ps-photo-actions button:nth-child(2){background:#f8f8f6;color:#526273}.ps-photo-actions button.danger{background:#fff0f2;color:#f13b55}.ps-photo-actions .ui-icon{width:19px;height:19px}.ps-photo-actions .trash{font-size:20px}.ps-meta{border-top:1px solid #f1f0ec}.ps-meta>div{min-height:43px;display:grid;grid-template-columns:92px 1fr;align-items:center;text-align:left;border-bottom:1px solid #f1f0ec;font-size:10px}.ps-meta span{color:#526273}.ps-meta b{color:#3d4044}.ps-meta b.active{color:#15975e}.ps-workspace{min-width:0}.ps-tabs{height:58px;border-radius:17px 17px 0 0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0 12px;overflow-x:auto}.ps-tabs button{border:0;background:transparent;color:#7d6d41;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;position:relative}.ps-tabs button:after{content:"";position:absolute;left:10%;right:10%;bottom:0;height:3px;border-radius:4px;background:transparent}.ps-tabs button.active{color:#526273}.ps-tabs button.active:after{background:#526273}.ps-tabs .ui-icon{width:17px;height:17px}.ps-tab-panel{display:none}.ps-tab-panel.active{display:block}.ps-card{border-radius:17px;padding:18px;margin-top:12px}.ps-card-head{min-height:58px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #f2f0ec;padding-bottom:13px;margin-bottom:14px}.ps-head-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:#f6f5f3;color:#526273;flex:0 0 auto}.ps-head-icon.violet{background:#f6f5f2;color:#526273}.ps-head-icon .ui-icon{width:21px;height:21px}.ps-card-head h3,.ps-info h3{margin:0;color:#272a2e;font-size:16px}.ps-card-head p,.ps-info>p{margin:3px 0 0;color:#526273;font-size:10px}.ps-edit,.ps-last-pass{margin-left:auto}.ps-edit{height:35px;border:0;border-radius:9px;padding:0 15px;background:linear-gradient(90deg,#526273,#526273);color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;gap:7px}.ps-edit .ui-icon{width:14px;height:14px}.ps-last-pass{border:1px solid #e7e9ec;border-radius:999px;padding:7px 11px;font-size:8px;color:#837243}.ps-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.ps-form-grid label,.ps-bio{font-size:10px;font-weight:800;color:#3b3e42}.ps-field{height:39px;border:1px solid #e2e4e7;border-radius:8px;margin-top:6px;display:flex;align-items:center;padding:0 10px;gap:9px;background:#fff}.ps-field:focus-within{border-color:#526273;box-shadow:0 0 0 3px #52627312}.ps-field .ui-icon{width:16px;height:16px;color:#526273}.ps-field>span{color:#526273;font-size:16px}.ps-field input{height:100%;width:100%;border:0!important;outline:0;background:transparent!important;padding:0!important;color:#414448}.ps-field input[readonly]{cursor:default}.ps-field button{border:0;background:transparent;color:#526273}.ps-field button .ui-icon{width:17px;height:17px}.ps-bio{display:block;margin-top:13px;position:relative}.ps-bio textarea{display:block;width:100%;height:64px;resize:vertical;border:1px solid #e2e4e7;border-radius:8px;margin-top:6px;padding:10px;color:#414448;font:inherit;font-size:11px;background:#fff}.ps-bio small{position:absolute;right:10px;bottom:8px;color:#526273;font-weight:500}.ps-save-row{display:flex;justify-content:flex-end;margin-top:11px}.ps-card .primary{border:0;border-radius:9px;min-height:38px;padding:0 17px;background:#c3c5c8!important;color:#292a27!important;font-size:10px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:7px;box-shadow:0 8px 18px #52627326}.ps-card .primary:disabled{opacity:.45;cursor:not-allowed}.ps-card .primary .ui-icon{width:15px;height:15px}.ps-password{margin-bottom:20px}.ps-pass-bottom{display:flex;justify-content:space-between;align-items:end;margin-top:12px}.ps-pass-bottom>b,.ps-pass-bottom div>b{font-size:9px}.ps-pass-bottom p{display:flex;gap:16px;flex-wrap:wrap;margin:6px 0 0;color:#918052;font-size:8px}.ps-pass-bottom p span{color:#918052}.ps-pass-bottom p span::first-letter{color:#13b96f}.ps-info{min-height:280px}.ps-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.ps-info-grid article{padding:17px;border:1px solid #eeece7;border-radius:12px;background:#fdfcfb}.ps-info-grid b,.ps-info-grid span{display:block}.ps-info-grid b{font-size:11px;color:#393c40}.ps-info-grid span{font-size:9px;color:#526273;margin-top:5px}.ps-toggle-list{margin-top:18px}.ps-toggle-list label{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f2f0ec}.ps-toggle-list b,.ps-toggle-list small{display:block}.ps-toggle-list b{font-size:11px}.ps-toggle-list small{font-size:9px;color:#526273;margin-top:3px}.ps-toggle-list input{display:none}.ps-toggle-list i{width:42px;height:23px;border-radius:20px;background:#e2e4e7;position:relative}.ps-toggle-list i:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 6px #0002;transition:.2s}.ps-toggle-list input:checked+i{background:#19c77d}.ps-toggle-list input:checked+i:after{left:22px}.ps-pref-actions{display:flex;gap:12px;margin-top:20px}.ps-pref-actions button{border:1px solid #e5e7ea;background:#fcfcfb;border-radius:11px;padding:13px 18px;font-weight:800;color:#494c50}.ps-session{display:flex;align-items:center;gap:13px;margin-top:18px;padding:15px;border:1px solid #edebe5;border-radius:13px}.ps-session b,.ps-session small{display:block}.ps-session b{font-size:11px}.ps-session small{font-size:9px;color:#526273;margin-top:3px}.ps-session em{margin-left:auto;font-style:normal;font-size:8px;font-weight:900;color:#09965b;background:#def8ea;padding:6px 10px;border-radius:999px}.ps-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#526273;gap:7px;text-align:center}.ps-empty .ui-icon{width:34px;height:34px;color:#526273}.ps-empty b{color:#3d4044}.ps-empty span{font-size:10px}.ps-empty a{font-size:10px;color:#526273;text-decoration:none;font-weight:800}.ps-activity-list{margin-top:15px}.ps-activity-list>div{display:grid;grid-template-columns:170px 1fr auto;gap:12px;padding:12px 4px;border-bottom:1px solid #f2f0ec;font-size:10px}.ps-activity-list span{font-weight:900;color:#404347}.ps-activity-list small,.ps-activity-list time{color:#526273;font-size:9px}
body.dark .ps-profile-card,body.dark .ps-card,body.dark .ps-tabs{background:#111111;border-color:#222222}body.dark .ps-profile-card h2,body.dark .ps-card h3,body.dark .ps-info h3,body.dark .ps-meta b,body.dark .ps-form-grid label,body.dark .ps-bio,body.dark .ps-toggle-list b,body.dark .ps-session b,body.dark .ps-empty b{color:#f6f6f6!important}body.dark .ps-field,body.dark .ps-bio textarea,body.dark .ps-info-grid article,body.dark .ps-pref-actions button{background:#111111!important;border-color:#2b2b2b!important;color:#f5f5f5!important}body.dark .ps-field input,body.dark .ps-bio textarea{color:#f5f5f5!important}body.dark .ps-card-head,body.dark .ps-meta,body.dark .ps-meta>div,body.dark .ps-toggle-list label,body.dark .ps-activity-list>div{border-color:#222222}
@media(max-width:1150px){.ps-page{grid-template-columns:240px minmax(0,1fr)}.ps-tabs{grid-template-columns:repeat(7,130px)}.ps-form-grid{grid-template-columns:1fr}.ps-last-pass{display:none}}@media(max-width:850px){.ps-page{grid-template-columns:1fr}.ps-profile-card{position:relative;top:auto}.ps-tabs{border-radius:17px}.ps-pass-bottom{align-items:stretch;flex-direction:column;gap:14px}.ps-pass-bottom .primary{align-self:flex-end}}@media(max-width:560px){.ps-page{gap:10px}.ps-card{padding:14px}.ps-card-head{align-items:flex-start;flex-wrap:wrap}.ps-edit{margin-left:0}.ps-info-grid{grid-template-columns:1fr}.ps-activity-list>div{grid-template-columns:1fr}.ps-activity-list time{margin-top:-7px}}


/* V6.9 PROFILE + DARK MODE + CLEAN SIDEBAR ICON FIX */
#sidebar nav a .ico{width:24px!important;height:24px!important;min-width:24px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#sidebar nav a .ico .ui-icon{width:19px!important;height:19px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:currentColor!important;stroke:currentColor!important;fill:none!important}
#sidebar nav a .ico:before,#sidebar nav a .ico:after{display:none!important}
.ps-avatar{overflow:hidden}.ps-avatar img{width:100%;height:100%;object-fit:cover;display:block}.ps-avatar-form{display:none}.ps-photo-actions form{margin:0}.ps-photo-actions form button{width:100%}
body.dark{background:#080808!important;color:#ececec!important}body.dark .content{background:linear-gradient(180deg,#080808,#080808)!important}body.dark .page{background:transparent!important}
body.dark .ps-profile-card,body.dark .ps-card,body.dark .ps-tabs{background:#111111!important;border-color:#222222!important;box-shadow:0 16px 40px rgba(0,0,0,.16)!important}
body.dark .ps-tabs button{color:#526273!important}body.dark .ps-tabs button.active{color:#526273!important}
body.dark .ps-profile-card h2,body.dark .ps-card h3,body.dark .ps-info h3,body.dark .ps-meta b,body.dark .ps-form-grid label,body.dark .ps-bio,body.dark .ps-toggle-list b,body.dark .ps-session b,body.dark .ps-empty b{color:#f9f9f9!important}
body.dark .ps-profile-card>p,body.dark .ps-profile-card>small,body.dark .ps-meta span,body.dark .ps-card-head p,body.dark .ps-info>p,body.dark .ps-toggle-list small,body.dark .ps-session small,body.dark .ps-activity-list small,body.dark .ps-activity-list time{color:#526273!important}
body.dark .ps-field,body.dark .ps-bio textarea,body.dark .ps-info-grid article,body.dark .ps-pref-actions button,body.dark .ps-session{background:#080808!important;border-color:#2b2b2b!important;color:#f7f7f7!important}
body.dark .ps-field input,body.dark .ps-field input::placeholder,body.dark .ps-bio textarea{color:#f7f7f7!important}body.dark .ps-field input::placeholder{color:#526273!important}
body.dark .ps-card-head,body.dark .ps-meta,body.dark .ps-meta>div,body.dark .ps-toggle-list label,body.dark .ps-activity-list>div{border-color:#222222!important}
body.dark .ps-last-pass{border-color:#6e5f38!important;color:#c2c2c2!important;background:#111111!important}
body.dark .ps-photo-actions button{background:#171717!important}body.dark .ps-photo-actions button:nth-child(2){background:#171717!important}body.dark .ps-photo-actions button.danger{background:#111111!important}
body.dark .profile-menu{background:#111111!important;border:1px solid #222222!important}body.dark .profile-menu a,body.dark .profile-menu button{color:#f5f5f5!important}
@media(min-width:1200px){.ps-page{max-width:1500px!important;grid-template-columns:280px minmax(0,1fr)!important;gap:18px!important}.ps-profile-card{padding-left:17px!important;padding-right:17px!important}}

/* V7.0 AVATAR CROP STUDIO */
body.crop-open{overflow:hidden}.crop-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:24px}.crop-modal.open{display:flex}.crop-backdrop{position:absolute;inset:0;background:rgba(3,10,25,.72);backdrop-filter:blur(8px)}.crop-dialog{position:relative;width:min(900px,96vw);max-height:92vh;overflow:auto;background:#fff;border:1px solid #edebe6;border-radius:24px;box-shadow:0 35px 90px rgba(0,0,0,.32);color:#272a2e}.crop-dialog header{display:flex;justify-content:space-between;gap:20px;padding:22px 24px 18px;border-bottom:1px solid #f2f1ed}.crop-kicker{font-size:9px;font-weight:900;letter-spacing:2px;color:#526273}.crop-dialog h3{margin:4px 0;font-size:22px}.crop-dialog header p{margin:0;color:#526273;font-size:11px}.crop-close{width:38px;height:38px;border:1px solid #e5e7ea;border-radius:11px;background:#fbfaf9;color:#786940;font-size:24px}.crop-body{display:grid;grid-template-columns:minmax(320px,1fr) 280px;gap:22px;padding:24px}.crop-stage{position:relative;aspect-ratio:1;border-radius:20px;overflow:hidden;background:radial-gradient(circle at center,#494c50,#171a1e 72%);box-shadow:inset 0 0 0 1px #ffffff14}.crop-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.crop-stage canvas:active{cursor:grabbing}.crop-ring{pointer-events:none;position:absolute;inset:10%;border:3px solid rgba(255,255,255,.96);border-radius:50%;box-shadow:0 0 0 999px rgba(2,10,26,.42),0 0 30px #52627366}.crop-grid{pointer-events:none;position:absolute;inset:10%;border-radius:50%;opacity:.25;background:linear-gradient(90deg,transparent 33%,#fff 33%,#fff 33.4%,transparent 33.4%,transparent 66%,#fff 66%,#fff 66.4%,transparent 66.4%),linear-gradient(0deg,transparent 33%,#fff 33%,#fff 33.4%,transparent 33.4%,transparent 66%,#fff 66%,#fff 66.4%,transparent 66.4%)}.crop-tools{display:flex;flex-direction:column;gap:17px}.crop-preview{display:flex;align-items:center;gap:13px;padding:12px;border:1px solid #eeece6;border-radius:15px;background:#fcfcfb}.crop-preview canvas{width:68px;height:68px;border-radius:50%;background:#f4f3f0}.crop-preview b,.crop-preview small{display:block}.crop-preview b{font-size:12px}.crop-preview small{font-size:9px;color:#526273;margin-top:3px}.crop-tools label{font-size:10px;font-weight:900;color:#4f5256}.crop-tools output{float:right;color:#526273}.crop-tools input[type=range]{width:100%;margin-top:10px;accent-color:#526273}.crop-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.crop-tool-grid button{height:62px;border:1px solid #e7e9ec;border-radius:12px;background:#fcfcfb;color:#526273;font-size:20px;font-weight:800}.crop-tool-grid span{display:block;margin-top:3px;font-size:8px;color:#526273}.crop-hint{padding:12px;border-radius:11px;background:#f8f7f5;color:#526273;font-size:9px;line-height:1.5}.crop-dialog footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px 22px;border-top:1px solid #f2f1ed}.crop-dialog footer button{height:40px;padding:0 20px;border-radius:10px;font-size:10px;font-weight:900}.crop-secondary{border:1px solid #e5e7ea;background:#fff;color:#77683e}.crop-primary{border:0;background:linear-gradient(90deg,#526273,#526273);color:#fff;box-shadow:0 10px 22px #52627338}.crop-primary:disabled{opacity:.6}
body.dark .crop-dialog{background:#111111;border-color:#222222;color:#f9f9f9}body.dark .crop-dialog header,body.dark .crop-dialog footer{border-color:#222222}body.dark .crop-close,body.dark .crop-tool-grid button,body.dark .crop-preview{background:#111111;border-color:#2b2b2b;color:#c7c7c7}body.dark .crop-tool-grid span,body.dark .crop-preview small,body.dark .crop-dialog header p{color:#526273}body.dark .crop-tools label{color:#ececec}body.dark .crop-hint{background:#171717;color:#526273}body.dark .crop-secondary{background:#111111;border-color:#2b2b2b;color:#ececec}
@media(max-width:760px){.crop-modal{padding:10px}.crop-dialog{border-radius:18px}.crop-body{grid-template-columns:1fr;padding:15px}.crop-tools{gap:12px}.crop-preview{display:none}.crop-dialog header{padding:17px}.crop-dialog footer{padding:13px 17px 17px}}

/* V7.1 PREMIUM AVATAR CROP - reference matched */
.crop-v71 .crop-backdrop{background:rgba(3,10,24,.78);backdrop-filter:blur(12px)}
.crop-v71 .crop-dialog{width:min(1540px,96vw);max-height:94vh;border-radius:24px;background:linear-gradient(135deg,#2b2e32,#1c1c1a);border:1px solid #75663d;color:#fcfbfa;box-shadow:0 35px 100px #0009,0 0 55px #52627324;overflow:auto}
.crop-v71 .crop-head{padding:24px 30px;display:flex;align-items:center;border-bottom:0!important;background:linear-gradient(90deg,#282b2f,#35383c 55%,#272a2e)}
.crop-title-icon{width:80px;height:80px;border-radius:18px;display:grid;place-items:center;font-size:34px;background:linear-gradient(145deg,#526273,#526273);box-shadow:0 15px 35px #52627355}.crop-title-copy{margin-left:20px}.crop-v71 .crop-title-copy h3{font-size:28px;margin:0 0 5px}.crop-v71 .crop-title-copy p{font-size:15px;color:#526273;margin:0}.crop-v71 .crop-close{margin-left:auto;background:#2d3034;border:1px solid #968555;color:#edebe6;width:46px;height:46px;border-radius:12px}
.crop-pro-layout{display:grid!important;grid-template-columns:370px minmax(500px,680px) 370px!important;gap:26px!important;padding:18px 30px 30px!important;align-items:stretch}.crop-left-tools,.crop-right-tools{display:flex;flex-direction:column;gap:12px}.crop-control-card,.crop-side-card{background:linear-gradient(145deg,#313438,#272a2e);border:1px solid #74653c;border-radius:16px;padding:17px 18px;box-shadow:inset 0 1px #ffffff08}.crop-control-card>b,.crop-control-title b,.crop-side-title b{font-size:15px}.crop-control-title{display:flex;justify-content:space-between;align-items:center}.crop-control-title output{color:#fff;font-weight:800}.crop-zoom-row{display:grid;grid-template-columns:44px 1fr 44px;gap:12px;align-items:center;margin-top:13px}.crop-zoom-row button{height:44px;border:1px solid #948252;border-radius:10px;background:#34373b;color:#fff;font-size:25px}.crop-zoom-row input{width:100%;accent-color:#526273}.crop-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.crop-two button,.crop-reset{min-height:78px;border:1px solid #827143;border-radius:11px;background:#35383c;color:#fff;font-weight:700}.crop-two strong,.crop-reset strong{display:block;color:#526273;font-size:28px;line-height:1}.crop-two span,.crop-reset span{display:block;margin-top:9px;font-size:13px}.crop-reset{width:100%;min-height:56px;margin-top:13px;display:flex;align-items:center;justify-content:center;gap:16px}.crop-reset strong,.crop-reset span{display:inline;margin:0}.crop-tip{display:flex;gap:16px;padding:15px 18px;border-radius:15px;border:1px solid #526273;background:linear-gradient(135deg,#3c3f43,#4d5054);box-shadow:0 0 24px #52627322}.crop-tip>span{font-size:25px}.crop-tip b{color:#e3e5e8}.crop-tip p{margin:5px 0 0;font-size:12px;line-height:1.55;color:#e1e3e6}
.crop-center{position:relative;background:linear-gradient(180deg,#282b2f,#101317);border-radius:18px;padding:80px 70px 70px;display:flex;align-items:center;justify-content:center;overflow:hidden}.crop-v71 .crop-stage{width:min(100%,580px);aspect-ratio:1;background:#161614;border-radius:12px;overflow:visible}.crop-v71 .crop-ring{inset:0;border:3px solid #fff;box-shadow:0 0 0 999px rgba(3,10,20,.30),0 0 24px #526273;border-radius:50%}.crop-v71 .crop-grid{inset:0;border-radius:50%;opacity:.24}.crop-aspect{position:absolute;right:24px;top:20px;padding:11px 17px;border:1px solid #526273;border-radius:999px;background:#2d3034;font-size:13px;font-weight:800;color:#fafaf8;display:flex;gap:8px}.crop-handle{position:absolute;width:13px;height:13px;border-radius:50%;background:#fff;z-index:4;box-shadow:0 0 5px #0006}.crop-handle.h1{left:-6px;top:-6px}.crop-handle.h2{right:-6px;top:-6px}.crop-handle.h3{left:-6px;bottom:-6px}.crop-handle.h4{right:-6px;bottom:-6px}
.crop-side-title{display:flex;align-items:center;gap:10px;border-bottom:1px solid #4b4e52;padding-bottom:12px;margin-bottom:12px}.crop-side-title>span{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#526273,#526273);color:white}.crop-side-title div b,.crop-side-title div small{display:block}.crop-side-title small{font-size:11px;color:#526273;margin-top:2px}.crop-side-card>#cropPreview{display:block;width:145px;height:145px;margin:10px auto 0;border-radius:50%;border:2px solid #fff;box-shadow:0 0 18px #526273}.crop-sizes{display:flex;align-items:end;justify-content:space-between;gap:10px}.crop-sizes div{text-align:center}.crop-sizes canvas{display:block;border-radius:50%;border:1px solid #fff;box-shadow:0 0 10px #526273;margin:auto;object-fit:cover}.crop-sizes div:nth-child(1) canvas{width:74px;height:74px}.crop-sizes div:nth-child(2) canvas{width:58px;height:58px}.crop-sizes div:nth-child(3) canvas{width:48px;height:48px}.crop-sizes div:nth-child(4) canvas{width:36px;height:36px}.crop-sizes small{display:block;margin-top:7px;color:#526273}.crop-pick{width:100%;min-height:76px;border:1px dashed #526273;border-radius:12px;background:#2a2d31;color:#fff;display:flex;align-items:center;justify-content:center;gap:14px}.crop-pick strong{font-size:28px}.crop-pick span{font-weight:800}.crop-pick small{display:block;font-weight:500;color:#526273;margin-top:3px}.crop-actions{display:grid;grid-template-columns:128px 1fr;gap:12px;margin-top:auto}.crop-v71 .crop-actions button{height:60px;border-radius:12px;font-size:14px;font-weight:900}.crop-v71 .crop-secondary{background:#2a2d31;border:1px solid #907f52;color:#fff}.crop-v71 .crop-primary{background:linear-gradient(90deg,#526273,#526273);border:0;color:#fff;box-shadow:0 12px 28px #52627344}
body.dark .crop-v71 .crop-dialog{background:linear-gradient(135deg,#171717,#080808);border-color:#75663d}.crop-v71 .crop-tool-grid{display:none}
@media(max-width:1250px){.crop-pro-layout{grid-template-columns:290px minmax(430px,1fr) 300px!important}.crop-center{padding:75px 40px 50px}}
@media(max-width:980px){.crop-v71 .crop-dialog{width:96vw}.crop-pro-layout{grid-template-columns:1fr!important}.crop-center{order:-1;padding:70px 35px 40px}.crop-left-tools{display:grid;grid-template-columns:1fr 1fr}.crop-tip{grid-column:1/-1}.crop-actions{margin-top:0}}
@media(max-width:620px){.crop-v71 .crop-head{padding:16px}.crop-title-icon{width:52px;height:52px;font-size:23px}.crop-v71 .crop-title-copy h3{font-size:20px}.crop-v71 .crop-title-copy p{font-size:11px}.crop-pro-layout{padding:12px!important}.crop-left-tools{display:flex}.crop-center{padding:65px 22px 28px}.crop-actions{grid-template-columns:1fr 1.5fr}}

/* V7.2 FIX: crop studio must never inherit the application's fixed sidebar rules */
.crop-v71 .crop-dialog aside.crop-left-tools,
.crop-v71 .crop-dialog aside.crop-right-tools{
  position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:visible!important;z-index:auto!important;
  background:none!important;color:inherit!important;border:0!important;box-shadow:none!important;
}
.crop-v71{padding:18px!important;overflow:auto!important}
.crop-v71 .crop-dialog{margin:auto!important;flex:0 0 auto!important;max-width:1540px!important;min-width:0!important}
.crop-v71 .crop-pro-layout{width:100%!important;min-width:0!important}
.crop-v71 .crop-left-tools,.crop-v71 .crop-center,.crop-v71 .crop-right-tools{min-width:0!important}
.crop-v71 .crop-center{min-height:660px!important}
.crop-v71 .crop-stage{max-width:580px!important;max-height:580px!important}
.crop-v71 .crop-stage canvas{max-width:100%!important}
@media(max-width:1450px){
 .crop-v71 .crop-dialog{width:min(1320px,96vw)!important}
 .crop-pro-layout{grid-template-columns:300px minmax(440px,1fr) 310px!important;gap:18px!important;padding:18px 22px 24px!important}
 .crop-v71 .crop-center{min-height:570px!important;padding:70px 38px 45px!important}
 .crop-v71 .crop-stage{max-width:500px!important}
}
@media(max-width:1100px){
 .crop-pro-layout{grid-template-columns:260px minmax(390px,1fr) 270px!important}
 .crop-v71 .crop-center{min-height:500px!important;padding:65px 28px 35px!important}
}
@media(max-width:980px){
 .crop-v71 .crop-dialog aside.crop-left-tools,.crop-v71 .crop-dialog aside.crop-right-tools{display:flex!important;position:static!important;width:auto!important}
 .crop-pro-layout{grid-template-columns:1fr!important}
 .crop-v71 .crop-center{min-height:auto!important}
}

/* V7.3 unified SVG icon system for Avatar Crop Studio */
.crop-v71 .crop-svg{width:1em;height:1em;display:block;overflow:visible;pointer-events:none}
.crop-v71 .crop-title-icon{font-size:0;color:#fff}
.crop-v71 .crop-title-icon .crop-svg{width:39px;height:39px;filter:drop-shadow(0 3px 8px rgba(0,0,0,.18))}
.crop-v71 .crop-two strong,.crop-v71 .crop-reset strong{font-size:0;display:flex;align-items:center;justify-content:center;color:#526273}
.crop-v71 .crop-two strong .crop-svg{width:28px;height:28px}
.crop-v71 .crop-reset strong .crop-svg{width:24px;height:24px}
.crop-v71 .crop-tip>span{width:40px;height:40px;flex:0 0 40px;border-radius:12px;display:grid;place-items:center;background:rgba(117,72,255,.22);color:#e1e3e6;box-shadow:inset 0 0 0 1px rgba(178,150,255,.18)}
.crop-v71 .crop-tip>span .crop-svg{width:24px;height:24px}
.crop-v71 .crop-side-title>span{font-size:0}.crop-v71 .crop-side-title>span .crop-svg{width:20px;height:20px}
.crop-v71 .crop-aspect .crop-svg{width:18px;height:18px;color:#e2e4e7}.crop-v71 .crop-chevron{margin-left:2px;color:#526273}
.crop-v71 .crop-pick strong{font-size:0;color:#fff}.crop-v71 .crop-pick strong .crop-svg{width:30px;height:30px}
.crop-v71 .crop-primary{display:flex;align-items:center;justify-content:center;gap:9px}.crop-v71 .crop-primary>.crop-svg{width:20px;height:20px}.crop-v71 .crop-primary>span{display:inline-block}
.crop-v71 .crop-close{display:grid;place-items:center;font-family:Arial,sans-serif;line-height:1}

/* ===== V7.4 VIEWPORT FIT + LOGIN ART COMPOSITION ===== */
/* Login: keep the supplied security artwork fully composed inside the left panel. */
.login-v66{width:100%;min-height:100dvh;overflow:hidden;grid-template-columns:minmax(0,66%) minmax(420px,34%)}
.lv66-visual{min-width:0;min-height:100dvh;isolation:isolate;padding:38px clamp(34px,4vw,66px) 28px!important;background:#181b1f!important}
.lv66-visual:before{inset:0!important;background-image:linear-gradient(90deg,rgba(5,18,42,.94) 0%,rgba(5,18,42,.82) 29%,rgba(5,18,42,.32) 53%,rgba(5,18,42,.02) 100%),url('/login-security-bg.png')!important;background-size:100% 100%!important;background-position:center center!important;background-repeat:no-repeat!important}
.lv66-visual:after{display:none!important}
.lv66-copy{width:48%!important;max-width:560px;margin-top:42px!important}.lv66-copy h1{font-size:clamp(42px,3.55vw,62px)!important}.lv66-copy p{max-width:520px}
.lv66-features{width:50%!important;max-width:560px!important;margin-top:24px!important}.lv66-bottom{left:clamp(34px,4vw,66px)!important;right:clamp(28px,3vw,52px)!important;bottom:22px!important}
.lv66-side{min-width:0;padding:22px!important}.lv66-card{width:min(470px,100%)!important;padding:25px 30px!important}
@media(max-width:1350px){.login-v66{grid-template-columns:minmax(0,64%) minmax(420px,36%)}.lv66-copy h1{font-size:clamp(38px,3.3vw,52px)!important}.lv66-features{width:56%!important}.lv66-card{padding:22px 25px!important}}
@media(max-width:1050px){.login-v66{grid-template-columns:1fr}.lv66-visual{display:none}.lv66-side{min-height:100dvh}}

/* Crop Studio: always stay inside the browser viewport; no clipped left/right columns. */
body.crop-open{overflow:hidden!important}
.crop-v71{inset:0!important;width:100vw!important;height:100dvh!important;padding:16px!important;overflow:hidden!important;align-items:center!important;justify-content:center!important}
.crop-v71 .crop-dialog{width:min(1380px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;height:auto!important;max-height:calc(100dvh - 32px)!important;margin:0!important;overflow:hidden!important;border-radius:22px!important;display:flex!important;flex-direction:column!important}
.crop-v71 .crop-head{flex:0 0 auto;padding:18px 22px!important;min-width:0!important}.crop-v71 .crop-title-icon{width:68px!important;height:68px!important;flex:0 0 68px!important}.crop-v71 .crop-title-icon .crop-svg{width:34px!important;height:34px!important}.crop-v71 .crop-title-copy{min-width:0!important;margin-left:16px!important}.crop-v71 .crop-title-copy h3{font-size:26px!important;white-space:normal!important}.crop-v71 .crop-title-copy p{font-size:13px!important;white-space:normal!important;overflow:visible!important}.crop-v71 .crop-close{flex:0 0 44px!important}
.crop-v71 .crop-pro-layout{flex:1 1 auto!important;min-height:0!important;width:100%!important;grid-template-columns:minmax(245px,285px) minmax(390px,1fr) minmax(245px,285px)!important;gap:16px!important;padding:16px 20px 20px!important;overflow:auto!important;align-items:stretch!important}
.crop-v71 .crop-left-tools,.crop-v71 .crop-right-tools{min-width:0!important;gap:10px!important}.crop-v71 .crop-control-card,.crop-v71 .crop-side-card{padding:14px 15px!important}.crop-v71 .crop-center{min-width:0!important;min-height:520px!important;padding:64px 34px 34px!important}.crop-v71 .crop-stage{width:min(100%,500px)!important;max-width:500px!important;max-height:500px!important}.crop-v71 .crop-aspect{right:16px!important;top:15px!important}.crop-v71 .crop-two button{min-height:70px!important}.crop-v71 .crop-tip{padding:13px!important}.crop-v71 .crop-actions{gap:10px!important}
@media(max-width:1180px){.crop-v71 .crop-dialog{width:min(1080px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}.crop-v71 .crop-pro-layout{grid-template-columns:230px minmax(360px,1fr) 245px!important;gap:12px!important;padding:12px 14px 16px!important}.crop-v71 .crop-center{min-height:470px!important;padding:58px 24px 28px!important}.crop-v71 .crop-stage{max-width:430px!important}.crop-v71 .crop-title-icon{width:58px!important;height:58px!important;flex-basis:58px!important}.crop-v71 .crop-title-copy h3{font-size:23px!important}}
@media(max-width:920px){.crop-v71{overflow:auto!important;padding:10px!important}.crop-v71 .crop-dialog{max-height:none!important;overflow:visible!important;margin:auto!important}.crop-v71 .crop-pro-layout{grid-template-columns:1fr!important;overflow:visible!important}.crop-v71 .crop-center{order:-1;min-height:420px!important}.crop-v71 .crop-left-tools,.crop-v71 .crop-right-tools{display:grid!important;grid-template-columns:1fr 1fr!important}.crop-v71 .crop-tip,.crop-v71 .crop-actions{grid-column:1/-1!important}}
@media(max-width:620px){.crop-v71 .crop-left-tools,.crop-v71 .crop-right-tools{grid-template-columns:1fr!important}.crop-v71 .crop-tip,.crop-v71 .crop-actions{grid-column:auto!important}.crop-v71 .crop-head{padding:14px!important}.crop-v71 .crop-title-copy p{font-size:11px!important}.crop-v71 .crop-center{min-height:340px!important;padding:55px 18px 22px!important}}

/* V7.5 CROP STUDIO COMPACT HEADER + NO CLIPPING */
.crop-v71 .crop-dialog{max-height:calc(100dvh - 20px)!important;}
.crop-v71 .crop-head{padding:12px 18px!important;min-height:74px!important;}
.crop-v71 .crop-title-icon{width:50px!important;height:50px!important;flex:0 0 50px!important;border-radius:14px!important;}
.crop-v71 .crop-title-icon .crop-svg{width:25px!important;height:25px!important;}
.crop-v71 .crop-title-copy{margin-left:13px!important;}
.crop-v71 .crop-title-copy h3{font-size:22px!important;line-height:1.12!important;margin:0 0 4px!important;}
.crop-v71 .crop-title-copy p{font-size:12px!important;line-height:1.35!important;}
.crop-v71 .crop-close{width:38px!important;height:38px!important;flex-basis:38px!important;}
.crop-v71 .crop-pro-layout{padding:12px 18px 18px!important;gap:14px!important;overflow-y:auto!important;overflow-x:hidden!important;}
.crop-v71 .crop-left-tools,.crop-v71 .crop-right-tools{align-self:start!important;}
.crop-v71 .crop-control-card,.crop-v71 .crop-side-card{padding:12px 14px!important;}
.crop-v71 .crop-two button{min-height:64px!important;}
.crop-v71 .crop-reset{min-height:50px!important;}
.crop-v71 .crop-tip{flex:0 0 auto!important;min-height:auto!important;padding:12px 14px!important;margin-bottom:2px!important;overflow:visible!important;}
.crop-v71 .crop-tip>span{flex:0 0 30px!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important;}
.crop-v71 .crop-tip>span .crop-svg{width:21px!important;height:21px!important;}
.crop-v71 .crop-tip b{font-size:14px!important;}
.crop-v71 .crop-tip p{font-size:11px!important;line-height:1.45!important;margin:4px 0 0!important;}
.crop-v71 .crop-center{min-height:480px!important;padding:54px 28px 28px!important;align-self:start!important;}
.crop-v71 .crop-stage{width:min(100%,460px)!important;max-width:460px!important;max-height:460px!important;}
@media (max-height:800px) and (min-width:921px){
 .crop-v71 .crop-dialog{max-height:calc(100dvh - 12px)!important;}
 .crop-v71 .crop-head{padding:9px 16px!important;min-height:62px!important;}
 .crop-v71 .crop-title-icon{width:44px!important;height:44px!important;flex-basis:44px!important;}
 .crop-v71 .crop-title-icon .crop-svg{width:22px!important;height:22px!important;}
 .crop-v71 .crop-title-copy h3{font-size:20px!important;}
 .crop-v71 .crop-title-copy p{font-size:11px!important;}
 .crop-v71 .crop-pro-layout{padding:9px 14px 14px!important;gap:10px!important;}
 .crop-v71 .crop-control-card,.crop-v71 .crop-side-card{padding:9px 11px!important;}
 .crop-v71 .crop-two button{min-height:56px!important;}
 .crop-v71 .crop-tip{padding:9px 11px!important;}
 .crop-v71 .crop-center{min-height:410px!important;padding:48px 20px 22px!important;}
 .crop-v71 .crop-stage{max-width:390px!important;}
}

/* V7.5 CROP STUDIO COMPACT HEADER + NO CLIPPING */
.crop-v71 .crop-dialog{max-height:calc(100dvh - 20px)!important}
.crop-v71 .crop-head{padding:12px 18px!important;min-height:74px!important}
.crop-v71 .crop-title-icon{width:50px!important;height:50px!important;flex:0 0 50px!important;border-radius:14px!important}
.crop-v71 .crop-title-icon .crop-svg{width:25px!important;height:25px!important}
.crop-v71 .crop-title-copy{margin-left:13px!important}.crop-v71 .crop-title-copy h3{font-size:22px!important;line-height:1.12!important;margin:0 0 4px!important}.crop-v71 .crop-title-copy p{font-size:12px!important;line-height:1.35!important}
.crop-v71 .crop-close{width:38px!important;height:38px!important;flex-basis:38px!important}
.crop-v71 .crop-pro-layout{padding:12px 18px 18px!important;gap:14px!important;overflow-y:auto!important;overflow-x:hidden!important}
.crop-v71 .crop-left-tools,.crop-v71 .crop-right-tools{align-self:start!important}.crop-v71 .crop-control-card,.crop-v71 .crop-side-card{padding:12px 14px!important}.crop-v71 .crop-two button{min-height:64px!important}.crop-v71 .crop-reset{min-height:50px!important}
.crop-v71 .crop-tip{flex:0 0 auto!important;min-height:auto!important;padding:12px 14px!important;margin-bottom:2px!important;overflow:visible!important}.crop-v71 .crop-tip>span{flex:0 0 30px!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important}.crop-v71 .crop-tip>span .crop-svg{width:21px!important;height:21px!important}.crop-v71 .crop-tip b{font-size:14px!important}.crop-v71 .crop-tip p{font-size:11px!important;line-height:1.45!important;margin:4px 0 0!important}
.crop-v71 .crop-center{min-height:480px!important;padding:54px 28px 28px!important;align-self:start!important}.crop-v71 .crop-stage{width:min(100%,460px)!important;max-width:460px!important;max-height:460px!important}
@media (max-height:800px) and (min-width:921px){.crop-v71 .crop-dialog{max-height:calc(100dvh - 12px)!important}.crop-v71 .crop-head{padding:9px 16px!important;min-height:62px!important}.crop-v71 .crop-title-icon{width:44px!important;height:44px!important;flex-basis:44px!important}.crop-v71 .crop-title-icon .crop-svg{width:22px!important;height:22px!important}.crop-v71 .crop-title-copy h3{font-size:20px!important}.crop-v71 .crop-title-copy p{font-size:11px!important}.crop-v71 .crop-pro-layout{padding:9px 14px 14px!important;gap:10px!important}.crop-v71 .crop-control-card,.crop-v71 .crop-side-card{padding:9px 11px!important}.crop-v71 .crop-two button{min-height:56px!important}.crop-v71 .crop-tip{padding:9px 11px!important}.crop-v71 .crop-center{min-height:410px!important;padding:48px 20px 22px!important}.crop-v71 .crop-stage{max-width:390px!important}}

/* ===== V7.6 BALANCED CROP + UNDISTORTED LOGIN ART ===== */
/* Desktop crop studio: use the available height instead of leaving a large dead area. */
@media (min-width:921px){
  .crop-v71 .crop-dialog{width:min(1480px,calc(100vw - 28px))!important;max-height:calc(100dvh - 18px)!important}
  .crop-v71 .crop-pro-layout{grid-template-columns:minmax(285px,315px) minmax(540px,1fr) minmax(285px,315px)!important;gap:16px!important;padding:14px 16px 16px!important;align-items:stretch!important}
  .crop-v71 .crop-left-tools,.crop-v71 .crop-right-tools{height:100%!important;align-self:stretch!important}
  .crop-v71 .crop-control-card,.crop-v71 .crop-side-card{padding:14px 15px!important}
  .crop-v71 .crop-center{height:100%!important;min-height:610px!important;padding:56px 28px 28px!important;align-self:stretch!important}
  .crop-v71 .crop-stage{width:min(100%,540px)!important;max-width:540px!important;max-height:540px!important}
  .crop-v71 .crop-tip{margin-top:auto!important}
}
@media (min-width:921px) and (max-height:850px){
  .crop-v71 .crop-pro-layout{grid-template-columns:285px minmax(500px,1fr) 285px!important;padding:10px 14px 14px!important;gap:12px!important}
  .crop-v71 .crop-center{min-height:540px!important;padding:48px 24px 24px!important}
  .crop-v71 .crop-stage{max-width:485px!important;max-height:485px!important}
  .crop-v71 .crop-control-card,.crop-v71 .crop-side-card{padding:11px 13px!important}
  .crop-v71 .crop-two button{min-height:62px!important}
}

/* Login artwork: preserve its original 16:9 proportions. Do not squeeze it horizontally. */
.lv66-visual{background:#181b1f!important;overflow:hidden!important}
.lv66-visual:before{
  background-image:linear-gradient(90deg,rgba(5,18,42,.93) 0%,rgba(5,18,42,.74) 31%,rgba(5,18,42,.24) 56%,rgba(5,18,42,.03) 100%),url('/login-security-bg.png')!important;
  background-size:contain!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
@media (min-width:1051px){
  .login-v66{grid-template-columns:minmax(0,70%) minmax(420px,30%)!important}
  .lv66-side{padding:18px!important}
  .lv66-card{width:min(455px,100%)!important}
}
@media (min-width:1051px) and (max-width:1450px){
  .login-v66{grid-template-columns:minmax(0,68%) minmax(420px,32%)!important}
}

/* ===== V7.7 SYSTEM SETTINGS + LIVE LOGIN BACKGROUND ===== */
.lv66-visual:before{background-image:linear-gradient(90deg,rgba(5,18,42,.92) 0%,rgba(5,18,42,.68) 30%,rgba(5,18,42,.16) 58%,rgba(5,18,42,.02) 100%),var(--login-bg,url('/login-security-bg.png'))!important;background-size:var(--login-bg-size,cover)!important;background-position:var(--login-bg-pos,center center)!important;background-repeat:no-repeat!important}
.login-preview-mode{overflow:hidden!important}.login-preview-mode .login-v66{transform-origin:top left}
.settings-hero{margin-bottom:18px}.settings-success{padding:13px 16px;border:1px solid #8be5b8;background:#eafff3;color:#087a45;border-radius:14px;margin-bottom:16px;font-weight:700}.settings-login-grid{display:grid;grid-template-columns:minmax(390px,.8fr) minmax(520px,1.2fr);gap:18px;align-items:start}.login-config-card,.login-preview-card{padding:20px!important}.settings-card-head{display:flex;gap:13px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line,#e5e7ea)}.settings-card-head h3{margin:0 0 4px}.settings-card-head p{margin:0}.settings-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#526273,#526273);color:#fff}.settings-icon .ui-icon{width:21px;height:21px}.login-bg-form{display:grid;gap:15px;margin-top:16px}.bg-upload{display:flex;align-items:center;gap:13px;padding:15px;border:1.5px dashed #526273;border-radius:15px;background:#fcfbfa;cursor:pointer}.bg-upload input{display:none}.bg-upload-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f5f4f1;color:#526273;font-size:22px;font-weight:900}.bg-upload div:nth-child(2){display:grid;gap:2px}.bg-upload small,.bg-upload span{font-size:11px;color:#526273}.bg-upload span{color:#526273}.settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-fields label{display:grid;gap:7px;font-weight:700;font-size:12px}.settings-fields select{height:43px;border:1px solid #e0e2e5;border-radius:11px;padding:0 12px;background:#fff;color:#272a2e}.settings-actions{display:flex;gap:10px}.settings-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}.settings-actions .ui-icon{width:16px;height:16px}.settings-reset{border:0;background:transparent;color:#e64c65;font-weight:700;padding:6px 0;cursor:pointer}.settings-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.settings-mini-grid>div{padding:13px;border:1px solid #edebe6;border-radius:12px;display:grid;gap:4px}.settings-mini-grid span{font-size:11px;color:#526273}.preview-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.preview-head>div{display:grid;grid-template-columns:auto 1fr;column-gap:7px}.preview-head small{grid-column:2;font-size:11px;color:#526273}.preview-head a{text-decoration:none;font-size:12px;font-weight:700;color:#526273}.live-dot{width:8px;height:8px;border-radius:50%;background:#17cc7b;box-shadow:0 0 0 5px #dff9ed;margin-top:5px}.login-preview-frame{height:min(610px,68vh);border-radius:16px;overflow:hidden;border:1px solid #e5e7ea;background:#1c1c1a}.login-preview-frame iframe{width:1440px;height:900px;border:0;transform:scale(.55);transform-origin:top left}.login-preview-card{overflow:hidden}
body.dark .settings-success{background:#111111;color:#8ff0c0;border-color:#246c55}body.dark .bg-upload{background:#111111;border-color:#8b7948}body.dark .settings-fields select{background:#111111;color:#f4f4f4;border-color:#2b2b2b}body.dark .settings-mini-grid>div{border-color:#2b2b2b}
@media(max-width:1200px){.settings-login-grid{grid-template-columns:1fr}.login-preview-frame{height:560px}}
@media(max-width:650px){.settings-fields,.settings-mini-grid{grid-template-columns:1fr}.settings-actions{flex-direction:column}.login-preview-frame{height:440px}}

/* V7.7 crop: slightly smaller and keep bottom actions visible */
@media (min-width:921px){.crop-v71 .crop-dialog{width:min(1430px,calc(100vw - 36px))!important;max-height:calc(100dvh - 30px)!important}.crop-v71 .crop-pro-layout{grid-template-columns:minmax(270px,300px) minmax(500px,1fr) minmax(270px,300px)!important;padding:10px 14px 12px!important;gap:12px!important}.crop-v71 .crop-center{min-height:500px!important;padding:45px 22px 20px!important}.crop-v71 .crop-stage{max-width:455px!important;max-height:455px!important}.crop-v71 .crop-control-card,.crop-v71 .crop-side-card{padding:10px 12px!important}.crop-v71 .crop-two button{min-height:56px!important}.crop-v71 .crop-actions{position:sticky!important;bottom:0!important;z-index:5!important;padding-top:8px!important;background:#2a2d31!important}.crop-v71 .crop-tip{margin-top:0!important}}
@media (min-width:921px) and (max-height:800px){.crop-v71 .crop-stage{max-width:390px!important;max-height:390px!important}.crop-v71 .crop-center{min-height:430px!important}.crop-v71 .crop-dialog{max-height:calc(100dvh - 18px)!important}}

/* V7.8 — Crop action bar moved to top-right, no clipped bottom buttons */
@media (min-width:921px){
  .crop-v71 .crop-dialog{position:relative!important}
  .crop-v71 .crop-head{padding-right:390px!important}
  .crop-v71 .crop-close{position:absolute!important;right:18px!important;top:50%!important;transform:translateY(-50%)!important;z-index:12!important}
  .crop-v71 .crop-actions{
    position:absolute!important;top:13px!important;right:76px!important;bottom:auto!important;
    z-index:11!important;width:300px!important;display:grid!important;
    grid-template-columns:112px 1fr!important;gap:9px!important;margin:0!important;padding:0!important;
    background:transparent!important
  }
  .crop-v71 .crop-actions button{height:48px!important;min-height:48px!important;border-radius:11px!important;font-size:12px!important}
  .crop-v71 .crop-primary .crop-svg{width:17px!important;height:17px!important}
  .crop-v71 .crop-right-tools{padding-bottom:0!important}
}
@media (min-width:921px) and (max-width:1180px){
  .crop-v71 .crop-head{padding-right:335px!important}
  .crop-v71 .crop-actions{width:255px!important;grid-template-columns:92px 1fr!important;right:70px!important}
}
@media (max-width:920px){
  .crop-v71 .crop-actions{position:static!important;width:auto!important;padding:0!important;background:transparent!important}
}

/* V7.9 alignment */
.crop-v71 .crop-head{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important}.crop-v71 .crop-title-icon{order:1!important;margin:0!important}.crop-v71 .crop-title-copy{order:2!important;margin-left:13px!important;margin-right:22px!important;flex:1 1 auto!important;max-width:none!important;text-align:left!important}.crop-v71 .crop-title-copy h3,.crop-v71 .crop-title-copy p{text-align:left!important}.crop-v71 .crop-actions{order:3!important;margin-left:auto!important;display:flex!important;align-items:center!important;gap:9px!important;flex:0 0 auto!important}.crop-v71 .crop-close{order:4!important;margin-left:9px!important;flex:0 0 auto!important}.crop-v71 .crop-actions button{height:42px!important;min-height:42px!important;padding:0 17px!important;white-space:nowrap!important}.crop-v71 .crop-primary{min-width:176px!important}.crop-v71 .crop-secondary{min-width:92px!important}
.content>header{justify-content:flex-start!important;padding-left:30px!important;gap:12px!important;z-index:25!important}.content>header .mobile-menu-btn{position:static!important;margin:0!important;flex:0 0 44px!important;width:44px!important;height:44px!important;border:1px solid #78693e!important;background:#313438!important;border-radius:11px!important;display:grid!important;place-items:center!important}.content>header .top-search{margin:0!important;flex:0 1 460px!important}.content>header .header-actions{margin-left:auto!important}
.lv66-features{margin-top:34px!important}.lv66-features i{color:#fff!important}.lv66-features i svg{width:21px!important;height:21px!important;display:block!important;fill:none!important;stroke:#fff!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important}.lv66-bottom{transform:translateY(8px)!important}
@media(max-height:820px) and (min-width:1251px){.lv66-features{margin-top:24px!important}.lv66-bottom{transform:translateY(5px)!important}}@media(max-width:1180px){.crop-v71 .crop-title-copy p{max-width:360px!important}.crop-v71 .crop-actions button{padding:0 12px!important}.crop-v71 .crop-primary{min-width:150px!important}}@media(max-width:920px){.crop-v71 .crop-head{flex-wrap:wrap!important}.crop-v71 .crop-title-copy{margin-right:8px!important}.crop-v71 .crop-actions{order:5!important;width:100%!important;margin:10px 0 0!important}.crop-v71 .crop-actions button{flex:1!important}}


/* ===== V7.10 FINAL UI POLISH ===== */

/* 1. Crop header: title left, actions vertically centered with X. */
.crop-v71 .crop-head{
  min-height:82px!important;
  display:grid!important;
  grid-template-columns:auto minmax(260px,1fr) auto auto!important;
  align-items:center!important;
  column-gap:14px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.crop-v71 .crop-title-icon{grid-column:1!important;align-self:center!important}
.crop-v71 .crop-title-copy{
  grid-column:2!important;align-self:center!important;
  margin:0!important;max-width:650px!important;
}
.crop-v71 .crop-actions{
  grid-column:3!important;align-self:center!important;
  margin:0!important;gap:10px!important;
}
.crop-v71 .crop-close{
  grid-column:4!important;align-self:center!important;
  margin:0 0 0 4px!important;
}
.crop-v71 .crop-actions button,.crop-v71 .crop-close{
  transform:none!important;top:auto!important;bottom:auto!important;
}
.crop-v71 .crop-secondary{min-width:104px!important}
.crop-v71 .crop-primary{min-width:196px!important}

/* 2. Only one hamburger, immediately left of search. */
.sidebar > .mobile-menu-btn,
.sidebar .sidebar-toggle,
.sidebar .hamburger,
.sidebar [data-sidebar-toggle],
header .mobile-menu-btn + .mobile-menu-btn{
  display:none!important;
}
.content>header{
  display:flex!important;align-items:center!important;
  gap:12px!important;padding-left:22px!important;
}
.content>header>.mobile-menu-btn{
  display:grid!important;position:static!important;
  flex:0 0 44px!important;width:44px!important;height:44px!important;
  margin:0!important;place-items:center!important;
}
.content>header .top-search{flex:0 1 440px!important;margin:0!important}
.content>header .header-actions{margin-left:auto!important}

/* 3. Profile top-right user card: slightly narrower / less empty. */
.user-menu,.profile-menu,.header-profile,.top-user,.user-dropdown-trigger{
  max-width:360px;
}
.header-actions .profile-trigger,
.header-actions .user-profile,
.header-actions .user-menu{
  min-width:0!important;
}
.header-actions .profile-trigger{width:auto!important;padding-left:12px!important;padding-right:10px!important}

/* 4. Remove bottom sidebar service card completely. */
.sidebar-status{display:none!important}
.sidebar{padding-bottom:18px!important}

/* 5. Login: move feature text area further down while preserving bottom strip. */
.lv66-features{
  margin-top:48px!important;
  transform:translateY(8px)!important;
}
.lv66-bottom{transform:translateY(14px)!important}
@media(max-height:850px) and (min-width:1251px){
  .lv66-features{margin-top:36px!important;transform:translateY(7px)!important}
  .lv66-bottom{transform:translateY(10px)!important}
}

/* 6. Keep SVG feature icons bright and readable. */
.lv66-features i svg{
  stroke:#fff!important;opacity:1!important;
  width:21px!important;height:21px!important;
}

/* responsive crop header */
@media(max-width:1050px){
  .crop-v71 .crop-head{
    grid-template-columns:auto minmax(180px,1fr) auto!important;
  }
  .crop-v71 .crop-actions{grid-column:3!important}
  .crop-v71 .crop-close{grid-column:3!important;grid-row:1!important;justify-self:end!important;margin-right:0!important}
  .crop-v71 .crop-actions{margin-right:54px!important}
}
@media(max-width:820px){
  .crop-v71 .crop-head{display:flex!important;flex-wrap:wrap!important}
  .crop-v71 .crop-title-copy{flex:1 1 220px!important}
  .crop-v71 .crop-close{margin-left:auto!important}
  .crop-v71 .crop-actions{
    order:5!important;width:100%!important;margin:8px 0 0!important;
  }
  .crop-v71 .crop-actions button{flex:1!important}
}

/* ===== V7.11 HARD OVERRIDES: requested screenshot fixes ===== */
/* one hamburger only: header button directly before search */
.collapse-btn{display:none!important}
.content>header{padding-left:18px!important;gap:10px!important}
.content>header>.mobile-menu-btn{display:grid!important;position:static!important;left:auto!important;top:auto!important;margin:0!important;flex:0 0 44px!important;width:44px!important;height:44px!important;place-items:center!important}
.content>header>.top-search{margin:0!important;flex:0 1 460px!important}

/* remove service status card from sidebar */
.side-health{display:none!important}
aside#sidebar{padding-bottom:18px!important}

/* compact account card on the right */
.account-pill{min-width:285px!important;width:285px!important;height:54px!important;border-radius:17px!important;gap:9px!important}
.account-pill .header-avatar{width:39px!important;height:39px!important;flex-basis:39px!important}
.account-pill .chev{width:38px!important;height:38px!important;flex-basis:38px!important}
.account-divider{height:30px!important}

/* Crop header: actions and X share exactly the same vertical center. */
.crop-v71 .crop-head{
  position:relative!important;display:flex!important;align-items:center!important;
  min-height:82px!important;padding:10px 16px!important;gap:12px!important;
}
.crop-v71 .crop-title-icon{order:1!important;margin:0!important;align-self:center!important}
.crop-v71 .crop-title-copy{order:2!important;margin:0 18px 0 0!important;flex:1 1 auto!important;align-self:center!important}
.crop-v71 .crop-actions{
  position:static!important;order:3!important;width:auto!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;align-self:center!important;gap:10px!important;
  background:transparent!important;transform:none!important;
}
.crop-v71 .crop-close{
  position:static!important;order:4!important;margin:0!important;align-self:center!important;
  width:44px!important;height:44px!important;flex:0 0 44px!important;transform:none!important;top:auto!important;right:auto!important;
}
.crop-v71 .crop-actions button{height:44px!important;min-height:44px!important;margin:0!important;transform:none!important}
.crop-v71 .crop-secondary{min-width:102px!important}.crop-v71 .crop-primary{min-width:198px!important}

/* Login: cards + lower trust row go farther down, but stay visible. */
.lv66-features{margin-top:54px!important;transform:translateY(14px)!important}
.lv66-bottom{bottom:10px!important;transform:none!important}
@media(max-height:850px) and (min-width:1251px){
 .lv66-features{margin-top:43px!important;transform:translateY(12px)!important}
 .lv66-bottom{bottom:8px!important;transform:none!important}
}
@media(max-width:920px){
 .crop-v71 .crop-head{flex-wrap:wrap!important}
 .crop-v71 .crop-actions{order:5!important;width:100%!important;margin-top:8px!important}
 .crop-v71 .crop-actions button{flex:1!important}
}

/* ===== V7.12 SCREENSHOT FIXES ===== */
/* Crop action buttons: move to the far right, aligned with X. */
@media (min-width:921px){
  .crop-v71 .crop-head{position:relative!important;padding-right:16px!important}
  .crop-v71 .crop-title-copy{max-width:560px!important}
  .crop-v71 .crop-actions{
    position:absolute!important;right:72px!important;top:50%!important;
    transform:translateY(-50%)!important;margin:0!important;
    display:flex!important;align-items:center!important;gap:10px!important;
  }
  .crop-v71 .crop-close{
    position:absolute!important;right:16px!important;top:50%!important;
    transform:translateY(-50%)!important;margin:0!important;
  }
}

/* Login: six feature cards directly below the intro paragraph.
   IMPORTANT: lv66-bottom trust/support row is intentionally untouched. */
.lv66-features{
  margin-top:18px!important;
  transform:none!important;
}
@media(max-height:850px) and (min-width:1251px){
  .lv66-features{margin-top:14px!important;transform:none!important}
}

/* Collapsed sidebar must only collapse the navigation, never drag/crop page content. */
html,body{overflow-x:hidden!important}
.app,.content,.page{min-width:0!important}
.sidebar-mini{grid-template-columns:82px minmax(0,1fr)!important}
.sidebar-mini aside#sidebar{width:82px!important}
.sidebar-mini .content{grid-column:2!important;width:auto!important;margin-left:0!important;min-width:0!important}
.sidebar-mini .page{width:100%!important;max-width:none!important;margin:0!important;padding-left:28px!important;padding-right:28px!important}
.sidebar-mini .ps-page{width:100%!important;max-width:1500px!important;margin:0 auto!important;transform:none!important}
.sidebar-mini .ps-profile-card{left:auto!important;right:auto!important;transform:none!important}
@media(min-width:1160px){
  .sidebar-mini .ps-page{grid-template-columns:280px minmax(0,1fr)!important;gap:18px!important}
}

/* V7.13 — profile/sidebar/preview hard layout fix */
/* Brand tetap terlihat saat sidebar di-scroll */
aside#sidebar .side-brand{
  position:sticky!important;
  top:-18px!important;
  z-index:35!important;
  margin:-18px -16px 10px!important;
  padding:18px 24px 14px!important;
  height:86px!important;
  background:linear-gradient(180deg,#202327 0%,#202327 82%,rgba(16,25,54,.97) 100%)!important;
  border-bottom:1px solid #36393d!important;
}
.sidebar-mini aside#sidebar .side-brand{
  margin:-16px -11px 10px!important;
  padding:16px 11px 12px!important;
  height:82px!important;
}

/* Profile tidak ikut menyempit/terpotong ketika sidebar di-hide */
.ps-page{
  width:100%!important;
  max-width:1500px!important;
  margin:0 auto!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:18px!important;
  overflow:visible!important;
}
.ps-profile-card{width:300px!important;min-width:300px!important;max-width:300px!important;left:auto!important;right:auto!important;transform:none!important}
.ps-main{min-width:0!important;width:100%!important}
.sidebar-mini .ps-page{grid-template-columns:300px minmax(0,1fr)!important;gap:18px!important}
.sidebar-mini .ps-profile-card{width:300px!important;min-width:300px!important;max-width:300px!important}
@media(max-width:1180px) and (min-width:901px){
  .ps-page,.sidebar-mini .ps-page{grid-template-columns:270px minmax(0,1fr)!important;gap:14px!important}
  .ps-profile-card,.sidebar-mini .ps-profile-card{width:270px!important;min-width:270px!important;max-width:270px!important}
  .ps-fields{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  .ps-page,.sidebar-mini .ps-page{grid-template-columns:1fr!important}
  .ps-profile-card,.sidebar-mini .ps-profile-card{width:100%!important;min-width:0!important;max-width:none!important;position:relative!important;top:auto!important}
}

/* Live preview: frame mengikuti rasio halaman login penuh, bukan crop */
.login-preview-frame{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1648/927!important;
  position:relative!important;
  overflow:hidden!important;
  border-radius:16px!important;
  background:#1c1c1a!important;
}
.login-preview-frame iframe{
  position:absolute!important;
  left:0!important;top:0!important;
  width:1648px!important;
  height:927px!important;
  border:0!important;
  transform-origin:top left!important;
}

/* V7.14 — premium settings + audit UI */
.v714-title{display:flex;align-items:center;gap:18px;margin-bottom:18px}.v714-title h1,.v714-audit-title h1{margin:2px 0 2px;font-size:30px;color:#222529}.v714-title p,.v714-audit-title p{margin:0;color:#526273}.v714-crumb{font-size:11px;color:#526273}.v714-crumb span{padding:0 6px}.v714-title-icon{width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,#526273,#526273);color:#fff;display:grid;place-items:center;font-size:25px;box-shadow:0 10px 22px #52627342}.v714-title-icon .ui-icon{width:25px;height:25px}.v714-banner{margin-left:auto;width:min(570px,44%);min-height:84px;border:1px solid #efede7;border-radius:18px;background:linear-gradient(110deg,#f8f7f5,#f6f4f1 70%,#526273);display:flex;align-items:center;gap:14px;padding:14px 20px;overflow:hidden}.v714-banner-icon{width:50px;height:50px;border-radius:14px;background:linear-gradient(145deg,#526273,#526273);display:grid;place-items:center;color:#fff;font-size:24px}.v714-banner b,.v714-banner small{display:block}.v714-banner small{color:#526273;margin-top:4px}.v714-stack{margin-left:auto;font-size:52px;color:#526273;opacity:.5}.v714-settings-grid{display:grid;grid-template-columns:minmax(450px,.85fr) minmax(620px,1.45fr);gap:18px;align-items:start}.v714-config,.v714-preview{padding:0!important;overflow:hidden}.v714-card-title{display:flex;gap:13px;align-items:center;padding:20px 20px 16px}.v714-card-title h3{margin:0 0 5px;font-size:19px}.v714-card-title p{margin:0;color:#526273;font-size:12px}.v714-tabs{display:grid;grid-template-columns:repeat(5,1fr);padding:0 16px 12px;border-bottom:1px solid #f0eee9;gap:3px}.v714-tabs button{border:0;background:#f9f8f6;border-radius:8px;padding:10px 5px;font-size:10px;color:#526273;white-space:nowrap}.v714-tabs button.active{background:linear-gradient(135deg,#526273,#526273);color:#fff;box-shadow:0 7px 15px #52627335}.v714-config .login-bg-form{padding:0 18px 18px;margin-top:15px}.v714-upload{display:grid;grid-template-columns:50px 1fr;align-items:center;gap:12px;padding:15px;border:1.5px dashed #526273;border-radius:14px;background:#fdfdfd}.v714-upload input{display:none}.v714-upload-icon{grid-row:1/3;width:48px;height:48px;border-radius:13px;background:#f6f5f2;color:#526273;display:grid;place-items:center;font-size:23px}.v714-upload div:nth-child(2){display:grid}.v714-upload b{font-size:13px}.v714-upload small,.v714-upload span{font-size:10px;color:#526273}.v714-upload strong{grid-column:1/3;background:linear-gradient(135deg,#526273,#526273);color:#fff;text-align:center;border-radius:9px;padding:11px;font-size:11px}.v714-template-label{font-size:11px;font-weight:800;margin-top:2px}.v714-templates{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.v714-templates button,.v714-templates label{height:76px;border:1px solid #ebe9e3;border-radius:10px;padding:0;background:#1c1f23;position:relative;overflow:hidden}.v714-templates button i{position:absolute;inset:0;background:radial-gradient(circle at 70% 30%,#526273,#1c1f23 50%),linear-gradient(135deg,#2b2e32,#877545)}.v714-templates button:nth-child(2) i{background:linear-gradient(145deg,#f7a56c,#4b4e52 45%,#292c30)}.v714-templates button:nth-child(3) i{background:linear-gradient(145deg,#94814c,#202327 45%,#101317)}.v714-templates button:nth-child(4) i{background:linear-gradient(145deg,#313438,#827143,#191917)}.v714-templates button.selected{outline:2px solid #526273}.v714-templates button em{position:absolute;right:5px;top:5px;width:20px;height:20px;border-radius:50%;background:#526273;color:white;font-style:normal;display:grid;place-items:center}.v714-templates label{display:grid;place-items:center;background:white;border-style:dashed;color:#526273;cursor:pointer}.v714-templates label b{font-size:28px;line-height:20px}.v714-templates label span{position:absolute;bottom:7px;font-size:9px;color:#526273}.v714-overlay{border:1px solid #eeece7;background:#fcfcfb;border-radius:12px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between}.v714-overlay>div{display:grid;grid-template-columns:28px 1fr;column-gap:8px}.v714-overlay i{grid-row:1/3;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#526273,#526273)}.v714-overlay b{font-size:11px}.v714-overlay small{font-size:9px;color:#526273}.v714-switch{width:42px;height:23px;border-radius:20px;background:#526273;position:relative}.v714-switch:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:white;right:3px;top:3px}.v714-opacity>div{display:flex;justify-content:space-between;font-size:11px}.v714-opacity input{width:100%;accent-color:#526273}.v714-opacity output{background:#f6f5f3;border-radius:7px;padding:4px 8px}.v714-config .settings-actions{display:grid;grid-template-columns:1fr 1fr 1.15fr}.v714-config .settings-actions .btn{font-size:10px;padding:11px 7px}.v714-preview{padding:16px!important}.v714-preview .preview-head{margin-bottom:14px}.v714-preview-actions{display:flex;gap:8px;align-items:center}.v714-preview-actions button,.v714-preview-actions a{height:38px;border:1px solid #e4e6e9;border-radius:9px;background:#fff;padding:0 14px;display:flex;align-items:center;text-decoration:none;color:#3a3d41;font-size:10px;font-weight:800}.v714-preview-actions a{background:linear-gradient(135deg,#526273,#526273);color:#fff;border:0}.v714-preview .login-preview-frame{border-radius:16px;box-shadow:inset 0 0 0 1px #eae8e2}.v714-audit-head{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#fff,#f9f9f7);border:1px solid #eeece7;border-radius:18px;padding:20px;margin-bottom:14px}.v714-audit-title{display:flex;gap:16px;align-items:center}.v714-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.v714-stats>div{background:#fff;border:1px solid #eeece7;border-radius:15px;padding:17px;display:grid;grid-template-columns:50px 1fr;column-gap:13px;box-shadow:0 5px 16px #373a3e08}.v714-stats i{grid-row:1/4;width:50px;height:50px;border-radius:14px;background:#f6f5f2;color:#526273;display:grid;place-items:center;font-style:normal;font-size:22px}.v714-stats>div:nth-child(2) i{background:#e2faef;color:#0fb976}.v714-stats>div:nth-child(3) i{background:#ffe6eb;color:#ee4562}.v714-stats>div:nth-child(4) i{background:#f4f3f0;color:#ae9a63}.v714-stats strong{font-size:22px}.v714-stats span{font-size:11px;color:#526273}.v714-stats small{font-size:9px;color:#17b873}.v714-filter{display:grid;grid-template-columns:1fr auto;gap:14px;padding:16px!important;margin-bottom:14px}.v714-filter>div:first-child b,.v714-filter>div:first-child small{display:block}.v714-filter>div:first-child small{color:#526273;font-size:10px;margin-top:3px}.v714-filter-row{grid-column:1/3;display:grid;grid-template-columns:1fr 240px 180px;gap:10px}.v714-filter-row input,.v714-filter-row select,.v714-log select{height:42px;border:1px solid #e1e3e6;border-radius:9px;background:#fff;padding:0 12px;color:#526273}.v714-log{padding:16px!important}.v714-log-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.v714-log-head b,.v714-log-head small{display:block}.v714-log-head small{font-size:10px;color:#526273}.v714-log-head>div:last-child{display:flex;align-items:center;gap:12px}.v714-auto{font-size:10px;font-weight:700}.v714-auto i{display:inline-block;width:25px;height:14px;border-radius:10px;background:#526273;vertical-align:middle;margin-right:5px}.v714-log table{font-size:10px}.v714-actor{display:flex;align-items:center;gap:7px}.v714-actor i{width:25px;height:25px;border-radius:8px;background:linear-gradient(135deg,#526273,#526273);color:#fff;display:grid;place-items:center;font-style:normal}.v714-actor b small{display:block;color:#526273;font-weight:400}.v714-action{background:#f6f5f2;color:#526273;border-radius:7px;padding:5px 8px;font-weight:800;font-size:9px}.v714-ok{background:#dcfae9;color:#08a75e;border-radius:8px;padding:5px 8px;font-weight:800}.v714-pager{display:flex;justify-content:space-between;align-items:center;padding-top:13px;color:#526273;font-size:10px}.v714-pager button{width:31px;height:31px;border:1px solid #e4e6e9;border-radius:8px;background:white;margin-left:5px}.v714-pager button.on{background:#526273;color:white;border-color:#526273}
@media(max-width:1200px){.v714-settings-grid{grid-template-columns:1fr}.v714-banner{display:none}.v714-stats{grid-template-columns:1fr 1fr}}@media(max-width:720px){.v714-tabs{grid-template-columns:1fr 1fr}.v714-tabs button span{display:inline}.v714-config .settings-actions,.v714-filter-row{grid-template-columns:1fr}.v714-filter-row{grid-column:1/3}.v714-stats{grid-template-columns:1fr}.v714-title{align-items:flex-start}}
/* V7.15 — reference-matched Audit + Settings polish */
.v715-audit-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;margin-bottom:14px;border:1px solid #eeece6;border-radius:20px;background:linear-gradient(120deg,#fff 45%,#faf9f7);box-shadow:0 8px 28px rgba(40,65,120,.05)}
.v715-head-actions{display:flex;gap:12px;align-items:center}.v715-datebox{height:42px;padding:0 14px;border:1px solid #e5e7ea;border-radius:10px;background:#fff;display:flex;align-items:center;gap:8px;color:#526273;font-weight:700}.v715-datebox input{border:0;outline:0;color:#484b4f;font:inherit}.v715-export{height:42px;border:0;border-radius:10px;padding:0 18px;background:linear-gradient(135deg,#526273,#526273);color:#fff;font-weight:800;box-shadow:0 9px 20px #52627338;display:flex;gap:9px;align-items:center}
.v715-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.v715-stats>div{height:92px;background:#fff;border:1px solid #edebe5;border-radius:17px;padding:15px 17px;display:flex;align-items:center;gap:14px;position:relative;overflow:hidden}.v715-stats i{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;font-style:normal;font-size:23px}.v715-stats section{display:flex;flex-direction:column}.v715-stats strong{font-size:23px;line-height:1}.v715-stats span{font-size:11px;color:#526273;margin-top:5px}.v715-stats small{font-size:9px;color:#19b76e;margin-top:3px}.v715-stats em{margin-left:auto;font-style:normal;font-size:32px;opacity:.7}.v715-stats .purple i{background:#f6f5f2;color:#526273}.v715-stats .purple em{color:#526273}.v715-stats .green i{background:#dff9ed;color:#0bbd75}.v715-stats .green em{color:#18c98a}.v715-stats .red i{background:#ffe4e9;color:#f04462}.v715-stats .red em{color:#ff5b78}.v715-stats .red small{color:#f04462}.v715-stats .blue i{background:#f3f2ee;color:#526273}.v715-stats .blue em{color:#526273}
.v715-filter{padding:18px!important;margin-bottom:14px}.v715-section-title{display:flex;align-items:center;justify-content:space-between}.v715-section-title b{font-size:15px;color:#2a2d31;display:flex;align-items:center;gap:8px}.v715-section-title b .ui-icon{width:18px;height:18px;color:#526273}.v715-section-title small{display:block;color:#526273;font-size:10px;margin-top:3px}.v715-reset{height:36px;border:1px solid #e4e6e9;background:#fff;border-radius:9px;padding:0 13px;color:#756741;font-weight:700}.v715-filter-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:15px}.v715-filter-grid label>span{display:block;font-size:10px;font-weight:800;color:#46494d;margin:0 0 6px}.v715-filter-grid input,.v715-filter-grid select{width:100%;height:40px;border:1px solid #e2e4e7;border-radius:9px;background:#fff;padding:0 11px;color:#526273}.v715-search-row{display:grid;grid-template-columns:1fr 180px;gap:12px;margin-top:12px}.v715-search{height:42px;border:1px solid #e2e4e7;border-radius:9px;display:flex;align-items:center;padding:0 12px;background:#fff}.v715-search .ui-icon{width:17px;height:17px;color:#526273}.v715-search input{border:0;outline:0;width:100%;padding-left:9px;color:#484b4f}.v715-search-row .btn{border-radius:9px;display:flex;align-items:center;justify-content:center;gap:8px}.v715-search-row .ui-icon{width:16px;height:16px}
.v715-log{padding:18px!important}.v715-log-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.v715-table-tools{display:flex;align-items:center;gap:12px}.v715-table-tools select{height:38px;border:1px solid #e4e6e9;border-radius:9px;background:#fff;padding:0 12px}.v715-table-tools>button,.v715-more{width:38px;height:38px;border:1px solid #e4e6e9;border-radius:9px;background:#fff;color:#526273;font-weight:900}.v715-auto{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800}.v715-auto input{display:none}.v715-auto i{width:28px;height:16px;border-radius:20px;background:#526273;position:relative}.v715-auto i:after{content:"";position:absolute;width:12px;height:12px;right:2px;top:2px;border-radius:50%;background:#fff}.v715-auto input:not(:checked)+i{background:#526273}.v715-auto input:not(:checked)+i:after{right:14px}.v715-log .table-wrap{border-top:1px solid #f4f3f0}.v715-log table{width:100%;min-width:1180px;font-size:10px}.v715-log th{background:#fcfcfb;color:#526273;padding:12px 10px}.v715-log td{padding:10px;border-bottom:1px solid #f4f3ef;color:#526273}.v715-ip{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#806f42}.v715-bad{background:#ffe3e9;color:#dc3555;border-radius:8px;padding:5px 8px;font-weight:800}.v715-more{width:31px;height:28px}
/* settings closer to reference */
.v714-settings-grid{grid-template-columns:minmax(470px,.92fr) minmax(690px,1.58fr);gap:16px}.v714-config,.v714-preview{border-radius:18px!important;box-shadow:0 8px 26px rgba(37,57,100,.05)!important}.v714-preview{padding:18px!important}.v714-card-title{padding:20px}.v714-tabs{gap:5px}.v714-tabs button{font-weight:700}.v714-upload{padding:16px}.v714-template-label{margin:14px 0 8px}.v714-templates{margin-bottom:14px}.settings-fields{gap:12px}.v714-preview .preview-head{display:flex!important;align-items:center!important;justify-content:space-between!important}.v714-preview .preview-head>div:first-child{display:grid;grid-template-columns:14px 1fr;column-gap:7px}.v714-preview .preview-head .live-dot{grid-row:1/3}.v714-preview .preview-head b{font-size:15px}.v714-preview .preview-head small{display:block;color:#526273;font-size:10px}.settings-success{border-radius:12px}
@media(max-width:1350px){.v715-filter-grid{grid-template-columns:repeat(3,1fr)}.v714-settings-grid{grid-template-columns:1fr}.v715-stats{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.v715-audit-head{align-items:flex-start;gap:14px}.v715-head-actions{flex-direction:column}.v715-filter-grid{grid-template-columns:1fr 1fr}.v715-search-row{grid-template-columns:1fr}.v715-stats{grid-template-columns:1fr}.v715-audit-head{flex-direction:column}.v715-filter-grid{grid-template-columns:1fr}}
/* ===== V7.16 PREMIUM SETTINGS ===== */
.v716-pagehead{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px;padding:4px 4px 0}.v716-heading{display:flex;align-items:center;gap:16px}.v716-title-icon,.v716-cardicon,.v716-hero-icon{display:grid;place-items:center;background:linear-gradient(135deg,#526273,#526273);color:#fff;box-shadow:0 10px 22px #52627338}.v716-title-icon{width:52px;height:52px;border-radius:15px}.v716-title-icon .ui-icon,.v716-cardicon .ui-icon,.v716-hero-icon .ui-icon{width:25px;height:25px}.v716-crumb{font-size:10px;color:#526273;margin-bottom:5px}.v716-crumb span{margin:0 7px}.v716-heading h1{margin:0;font-size:27px;color:#25282c}.v716-heading p{margin:3px 0 0;color:#526273;font-size:13px}.v716-hero{width:520px;min-height:86px;border:1px solid #eeece7;border-radius:18px;background:linear-gradient(120deg,#f9f9f7,#f2f0ec 65%,#526273);display:flex;align-items:center;padding:15px 20px;gap:15px;overflow:hidden}.v716-hero-icon{width:52px;height:52px;border-radius:14px;flex:none}.v716-hero b,.v716-hero span{display:block}.v716-hero b{font-size:14px;color:#292c30}.v716-hero span{font-size:11px;color:#526273;margin-top:4px}.v716-hero>i{margin-left:auto;font-style:normal;font-size:55px;color:#52627366;transform:rotate(8deg)}
.v716-grid{display:grid;grid-template-columns:minmax(470px,.92fr) minmax(700px,1.55fr);gap:16px;align-items:start}.v716-editor,.v716-preview{border:1px solid #eceae4!important;border-radius:19px!important;background:#fff!important;box-shadow:0 10px 32px rgba(35,55,100,.055)!important;overflow:hidden}.v716-editor{padding:0!important}.v716-cardhead{display:flex;align-items:center;gap:13px;padding:18px 20px 14px}.v716-cardicon{width:46px;height:46px;border-radius:13px}.v716-cardhead h2{font-size:18px;margin:0;color:#26292d}.v716-cardhead p{font-size:11px;color:#526273;margin:4px 0 0}.v716-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:0 16px 12px;border-bottom:1px solid #f2f0ec}.v716-tabs button{height:34px;border:0;border-radius:8px;background:#f8f7f4;color:#526273;font-size:10px;font-weight:800;white-space:nowrap}.v716-tabs button.active{background:linear-gradient(135deg,#526273,#526273);color:#fff;box-shadow:0 6px 14px #52627335}.v716-pane{display:none;padding:15px 18px 2px}.v716-pane.active{display:block}.v716-upload{border:1.5px dashed #526273;border-radius:13px;padding:14px;display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;cursor:pointer;background:#fdfdfd}.v716-upload input{display:none}.v716-upload-icon{width:48px;height:48px;border-radius:13px;background:#f6f5f3;color:#526273;display:grid;place-items:center;font-size:21px}.v716-upload b,.v716-upload small,.v716-upload span{display:block}.v716-upload b{font-size:13px;color:#292c30}.v716-upload small,.v716-upload span{font-size:9px;color:#526273;margin-top:2px}.v716-upload strong{grid-column:1/3;height:38px;border-radius:8px;background:linear-gradient(90deg,#526273,#526273);display:grid;place-items:center;color:#fff;font-size:11px}.v716-label{display:block;font-size:11px;margin:14px 0 8px}.v716-templates{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.v716-templates button,.v716-templates label{height:72px;border-radius:10px;border:1px solid #e3e5e8;background:#fff;position:relative;overflow:hidden;padding:3px}.v716-templates i{display:block;width:100%;height:100%;border-radius:7px}.v716-templates .t1{background:radial-gradient(circle at 60% 40%,#526273,#1b1e22 45%)}.v716-templates .t2{background:linear-gradient(135deg,#ff9d73,#3e4145)}.v716-templates .t3{background:linear-gradient(135deg,#393c40,#14171b)}.v716-templates .t4{background:linear-gradient(135deg,#2a2d31,#867545)}.v716-templates button.selected{border:2px solid #526273}.v716-templates em{position:absolute;right:6px;top:6px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#526273;color:#fff;font-style:normal}.v716-templates label{display:flex;flex-direction:column;align-items:center;justify-content:center;border-style:dashed;color:#526273;cursor:pointer}.v716-templates label b{font-size:22px}.v716-templates label span{font-size:9px;color:#526273}.v716-two,.v716-formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.v716-two label>span,.v716-formgrid label>span{display:block;font-size:10px;font-weight:800;color:#3a3d41;margin-bottom:6px}.v716-two select,.v716-formgrid input,.v716-formgrid textarea{width:100%;border:1px solid #e2e4e7;border-radius:9px;background:#fff;color:#484b4f;padding:0 11px}.v716-two select,.v716-formgrid input{height:40px}.v716-formgrid textarea{height:76px;padding-top:10px;resize:vertical}.v716-formgrid .wide{grid-column:1/3}.v716-toggle{display:flex;align-items:center;gap:10px;border:1px solid #eceae4;background:#fdfcfb;border-radius:12px;padding:11px 12px;margin-top:13px}.v716-toggle input[type=checkbox]{display:none}.v716-toggle>div{flex:1}.v716-toggle b,.v716-toggle small{display:block}.v716-toggle b{font-size:11px}.v716-toggle small{font-size:9px;color:#526273;margin-top:2px}.v716-orb{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#526273,#526273)}.v716-toggle i{width:42px;height:24px;border-radius:20px;background:#526273;position:relative}.v716-toggle i:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 5px #0002}.v716-toggle input:checked+i{background:#526273}.v716-toggle input:checked+i:after{left:21px}.v716-range{margin-top:13px}.v716-range>div{display:flex;justify-content:space-between;font-size:10px}.v716-range output{background:#f8f7f4;border-radius:7px;padding:4px 7px;color:#494c50}.v716-range input{width:100%;accent-color:#526273}.v716-actions{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:8px;padding:14px 18px 18px}.v716-actions .btn{height:40px;font-size:10px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:6px}.v716-color{display:grid;grid-template-columns:42px 1fr;gap:7px}.v716-color input[type=color]{padding:3px}.v716-palette b{font-size:10px}.v716-palette>div{display:flex;gap:8px;margin-top:10px}.v716-palette button{width:30px;height:30px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #e0e2e5}.v716-brand-preview{border:1px solid #e4e6e9;border-radius:12px;display:flex;align-items:center;gap:10px;padding:10px}.v716-brand-preview>span{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#526273,#526273);display:grid;place-items:center;color:#fff;font-weight:900}.v716-brand-preview small{display:block;color:#526273;font-size:8px;letter-spacing:1px}.v716-layout-demo{height:120px;border:1px solid #e4e6e9;border-radius:12px;margin-top:15px;display:grid;grid-template-columns:2fr 1fr;overflow:hidden;position:relative}.v716-layout-demo div{background:linear-gradient(135deg,#1a1d21,#494c50)}.v716-layout-demo .v716-layout-panel{background:#fff}.v716-layout-demo span{position:absolute;left:12px;bottom:10px;color:#fff;font-size:9px}
.v716-preview{padding:16px!important}.v716-previewhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.v716-previewhead>div{display:flex;gap:8px;align-items:flex-start}.v716-previewhead section b,.v716-previewhead section small{display:block}.v716-previewhead section b{font-size:15px}.v716-previewhead section small{font-size:9px;color:#526273;margin-top:2px}.v716-preview-actions{display:flex;gap:9px;position:static!important;inset:auto!important;width:auto!important;background:transparent!important;color:inherit!important;padding:0!important;overflow:visible!important;z-index:auto!important}.v716-preview-actions select,.v716-preview-actions a{height:38px;border-radius:9px;border:1px solid #e4e6e9;background:#fff;padding:0 13px;font-size:10px;font-weight:800;color:#3d4044}.v716-preview-actions a{display:flex;align-items:center;background:linear-gradient(135deg,#526273,#526273);color:#fff;border:0;text-decoration:none;padding:0 18px}.v716-stage{background:#f6f5f3;border:1px solid #e4e6e9;border-radius:14px;overflow:hidden;display:flex;justify-content:center;transition:.2s}.v716-stage.desktop .login-preview-frame{width:100%}.v716-stage.tablet .login-preview-frame{width:72%}.v716-stage.mobile .login-preview-frame{width:42%}.login-preview-frame{overflow:hidden;background:#181b1f;transition:.2s}.login-preview-frame iframe{width:1648px;height:927px;border:0;transform-origin:top left;display:block}.live-dot{width:11px;height:11px;border-radius:50%;background:#20cc83;box-shadow:0 0 0 5px #dcf9ed;margin-top:3px}
@media(max-width:1350px){.v716-grid{grid-template-columns:1fr}.v716-hero{display:none}}@media(max-width:760px){.v716-tabs{grid-template-columns:1fr 1fr}.v716-two,.v716-formgrid,.v716-actions{grid-template-columns:1fr}.v716-formgrid .wide{grid-column:auto}.v716-pagehead{align-items:flex-start}.v716-heading h1{font-size:23px}}
/* V7.16 login settings variables */
.login-v66-body .login-v66{grid-template-columns:minmax(0,calc(100% - var(--login-panel,30%))) minmax(420px,var(--login-panel,30%))}.login-v66-body .lv66-visual:after{content:"";position:absolute;inset:0;background:rgba(2,10,28,var(--login-overlay,0));pointer-events:none;z-index:0}.login-v66-body .lv66-visual>*{position:relative;z-index:1}.login-v66-body .lv66-mark,.login-v66-body .lv66-submit{background:linear-gradient(135deg,var(--login-accent,#526273),#526273)}

/* V7.16.2 SETTINGS SIDEBAR SAFETY */
.v716-previewhead .v716-preview-actions{position:static!important;display:flex!important;align-items:center!important;flex:0 0 auto!important}.v716-layout-panel{position:static!important;inset:auto!important;width:auto!important;padding:0!important;overflow:hidden!important}.v716-previewhead{min-width:0}.v716-previewhead>div:first-child{min-width:0}.v716-preview{min-width:0}

/* ===== V7.17 PREMIUM AUDIT LOG ===== */
body:has(.v715-audit-head) .page{padding:26px 28px 34px;background:radial-gradient(circle at 85% 0,#f8f7f4 0,transparent 28%),#faf9f7}
.v715-audit-head{min-height:112px;padding:22px 26px!important;border-radius:20px!important;background:linear-gradient(118deg,#fff 52%,#f9f8f6 100%)!important;box-shadow:0 12px 34px rgba(33,55,102,.065)!important}
.v715-audit-head .v714-title-icon{width:56px;height:56px;border-radius:15px}.v715-audit-head .v714-audit-title h1{font-size:30px;letter-spacing:-.7px}.v715-audit-head .v714-audit-title p{font-size:13px;margin-top:5px}.v715-audit-head .v714-crumb{margin-bottom:3px}
.v715-head-actions{gap:12px}.v715-datebox{height:44px!important;min-width:300px;justify-content:center;box-shadow:0 4px 14px #42454910}.v715-datebox .ui-icon{width:16px;height:16px}.v715-datebox input{width:112px;font-size:11px}.v715-datebox span{color:#526273}.v715-export{height:44px!important;padding:0 20px!important}
.v715-stats{gap:16px!important;margin-bottom:16px!important}.v715-stats>div{height:96px!important;border-radius:17px!important;padding:16px 18px!important;box-shadow:0 7px 22px rgba(31,52,96,.045)}.v715-stats i{width:52px!important;height:52px!important}.v715-stats strong{font-size:24px!important}.v715-stats em{font-size:36px!important;font-weight:700;transform:rotate(-5deg)}
.v715-filter,.v715-log{border-radius:18px!important;border:1px solid #eceae4!important;box-shadow:0 8px 26px rgba(32,52,96,.045)!important}.v715-filter{padding:19px 20px!important;margin-bottom:16px!important}.v715-section-title b{font-size:16px!important}.v715-section-title small{font-size:10.5px!important}.v715-reset{height:38px!important;padding:0 15px!important}
.v715-filter-grid{grid-template-columns:1.2fr 1fr 1fr 1fr 1fr!important;gap:14px!important}.v715-filter-grid input,.v715-filter-grid select{height:42px!important}.v717-date-range>div{display:grid;grid-template-columns:1fr auto 1fr;gap:5px;align-items:center}.v717-date-range b{font-weight:500;color:#526273}.v715-search-row{grid-template-columns:1fr 190px!important;gap:14px!important}.v715-search{height:44px!important}.v715-search-row .btn{height:44px!important;box-shadow:0 8px 18px #52627325}
.v715-log{padding:18px 20px 14px!important}.v715-log-head{margin-bottom:14px!important}.v715-table-tools select{min-width:132px}.v715-log .table-wrap{overflow:auto;border:1px solid #f4f3f0;border-radius:11px}.v715-log table{min-width:1220px!important;border-collapse:separate;border-spacing:0}.v715-log th{height:42px;background:#fbfaf9!important;font-size:9.5px!important;text-transform:none;white-space:nowrap}.v715-log td{height:47px;padding:8px 10px!important;font-size:10px!important;white-space:nowrap}.v715-log tbody tr:hover td{background:#fdfdfc}.v715-log th:first-child,.v715-log td:first-child{text-align:center;width:38px}.v715-log th:last-child,.v715-log td:last-child{text-align:center}.v714-actor i{width:28px!important;height:28px!important}.v714-action{font-size:8.5px!important}.v715-ip{display:inline-flex;align-items:center;min-height:26px;padding:0 7px;border-radius:7px;background:#f9f8f6;color:#77673d!important}.v714-ok,.v715-bad{display:inline-flex;align-items:center;gap:3px}.v714-pager{padding:14px 1px 0!important;font-size:10.5px!important}.v714-pager #auditPages{display:flex;align-items:center}.v714-pager #auditPages span{padding:0 4px}.v714-pager button{height:32px!important;width:32px!important}
@media(max-width:1450px){.v715-filter-grid{grid-template-columns:repeat(3,1fr)!important}.v715-datebox{min-width:260px}.v715-audit-head .v714-audit-title p{max-width:620px}}
@media(max-width:900px){body:has(.v715-audit-head) .page{padding:18px}.v715-filter-grid{grid-template-columns:1fr 1fr!important}.v715-datebox{min-width:0}.v715-head-actions{width:100%;flex-wrap:wrap}.v715-search-row{grid-template-columns:1fr!important}}
/* V7.18 functional premium audit */
.v715-export{text-decoration:none}.v715-datebox b{color:#526273}.v715-reset{text-decoration:none;display:inline-flex;align-items:center}.v714-pager #auditPages a{width:32px;height:32px;border:1px solid #e4e6e9;border-radius:8px;background:#fff;color:#526273;text-decoration:none;display:grid;place-items:center;font-weight:800;margin-left:5px}.v714-pager #auditPages a.on{background:linear-gradient(135deg,#526273,#526273);color:#fff;border-color:transparent;box-shadow:0 6px 14px #52627330}.v718-empty{text-align:center!important;padding:35px!important;color:#526273!important}.v718-modal[hidden]{display:none}.v718-modal{position:fixed;inset:0;background:#1a1a1888;backdrop-filter:blur(4px);z-index:9999;display:grid;place-items:center;padding:20px}.v718-modal-card{width:min(560px,94vw);background:#fff;border-radius:20px;padding:25px;box-shadow:0 30px 80px #1a1a1855;position:relative}.v718-close{position:absolute;right:16px;top:14px;width:34px;height:34px;border:0;border-radius:10px;background:#f8f7f4;font-size:22px;color:#526273}.v718-modal-icon{width:48px;height:48px;border-radius:14px;background:#f6f5f2;color:#526273;display:grid;place-items:center;font-size:22px}.v718-modal-card h3{font-size:21px;margin:12px 0 2px;color:#2a2d31}.v718-modal-card>p{margin:0 0 18px;color:#526273;font-size:12px}.v718-detail-grid{display:grid;grid-template-columns:115px 1fr;border:1px solid #efede8;border-radius:13px;overflow:hidden}.v718-detail-grid span,.v718-detail-grid b{padding:11px 13px;border-bottom:1px solid #f4f3ef;font-size:11px}.v718-detail-grid span{background:#fcfcfb;color:#526273}.v718-detail-grid b{color:#484b4f;overflow-wrap:anywhere}.v718-detail-grid span:nth-last-child(-n+2),.v718-detail-grid b:nth-last-child(-n+2){border-bottom:0}

/* ===== V7.20 REAL IP + I18N + FREEZE NAV ===== */
@media(min-width:901px){#sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;height:100vh!important;overflow-y:auto!important;z-index:60!important}.content{margin-left:290px!important;width:calc(100% - 290px)!important}.sidebar-mini .content{margin-left:86px!important;width:calc(100% - 86px)!important}.content>header{position:sticky!important;top:0!important;z-index:55!important}}
.admin-language{height:40px;border:1px solid #7c6c40;border-radius:10px;background:#2e3135;color:#f8f7f5;padding:0 10px;font-weight:700;outline:0}.admin-language option{background:#fff;color:#272a2e}body.dark .admin-language{background:#111111}.sidebar-mini #sidebar{width:86px!important}

/* V7.21 — hard freeze navigation/header */
@media (min-width:901px){
  aside#sidebar{position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:290px!important;height:100vh!important;overflow-y:auto!important;overscroll-behavior:contain!important;z-index:100!important}
  aside#sidebar .side-brand{position:sticky!important;top:-18px!important;z-index:110!important;background:#202327!important}
  .content{margin-left:290px!important;width:calc(100% - 290px)!important;padding-top:74px!important;grid-column:auto!important}
  .content>header{position:fixed!important;left:290px!important;right:0!important;top:0!important;width:auto!important;height:74px!important;z-index:99!important}
  .sidebar-mini aside#sidebar{width:86px!important}
  .sidebar-mini .content{margin-left:86px!important;width:calc(100% - 86px)!important}
  .sidebar-mini .content>header{left:86px!important}
}

/* ===== V7.22 LAYOUT HOTFIX — prevent grid + fixed sidebar double offset ===== */
@media (min-width:901px){
  .app{display:block!important;min-height:100vh!important}
  aside#sidebar{width:290px!important}
  .content{display:block!important;margin-left:290px!important;width:calc(100% - 290px)!important;min-width:0!important;padding-top:74px!important}
  .content>header{left:290px!important;right:0!important;width:auto!important}
  .content>.page{width:100%!important;max-width:1700px!important;margin:0 auto!important;min-width:0!important}
  .sidebar-mini aside#sidebar{width:86px!important}
  .sidebar-mini .content{margin-left:86px!important;width:calc(100% - 86px)!important}
  .sidebar-mini .content>header{left:86px!important}
}
@media (max-width:900px){
  .app{display:block!important}
  .content{margin-left:0!important;width:100%!important;padding-top:0!important}
  .content>header{position:sticky!important;left:auto!important;right:auto!important;top:0!important;width:100%!important}
}

/* ===== V7.26 ADMIN THEME GALLERY ===== */
.theme-settings-card{margin-bottom:20px;padding:20px;border-radius:20px;background:#fff;border:1px solid #e7e9ec;box-shadow:0 12px 34px #2e31350b}.theme-settings-head{display:flex;align-items:center;gap:13px;margin-bottom:18px}.theme-settings-head h2{margin:0;color:#282b2f;font-size:20px}.theme-settings-head p{margin:3px 0 0;color:#526273;font-size:12px}.theme-live-badge{margin-left:auto;background:#e4faef;color:#0e9f63;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.theme-option{position:relative;text-align:left;border:1px solid #e5e7ea;background:#fff;border-radius:15px;padding:9px;overflow:hidden;transition:.18s}.theme-option:hover{transform:translateY(-2px);box-shadow:0 12px 26px #2e313516}.theme-option.selected{border:2px solid #526273;padding:8px;box-shadow:0 0 0 4px #52627310}.theme-check{display:none;position:absolute;right:10px;top:10px;width:25px;height:25px;border-radius:50%;background:#526273;color:#fff;place-items:center;font-weight:900}.theme-option.selected .theme-check{display:grid}.theme-thumb{height:112px;border-radius:10px;position:relative;overflow:hidden;background:#f6f5f3}.theme-thumb:before{content:'';position:absolute;left:0;top:0;bottom:0;width:22%;background:#2c2f33}.theme-thumb:after{content:'';position:absolute;left:27%;right:7%;top:12%;height:18%;border-radius:6px;background:#fff;box-shadow:0 28px 0 #fff,0 56px 0 #fff}.theme-thumb i{position:absolute;z-index:2;left:30%;right:10%;bottom:12%;height:5px;border-radius:9px;background:linear-gradient(90deg,#526273,#526273)}.theme-thumb.dark-mode{background:#111111}.theme-thumb.dark-mode:before{background:#080808}.theme-thumb.dark-mode:after{background:#171717;box-shadow:0 28px 0 #171717,0 56px 0 #171717}.theme-thumb.red-gold{background:#21070a}.theme-thumb.red-gold:before{background:#120305}.theme-thumb.red-gold:after{background:#451015;box-shadow:0 28px 0 #451015,0 56px 0 #451015}.theme-thumb.red-gold i{background:linear-gradient(90deg,#d71920,#f3b83f)}.theme-thumb.purple{background:#1c1c1a}.theme-thumb.purple:before{background:#0f0f0e}.theme-thumb.purple:after{background:#35383c;box-shadow:0 28px 0 #35383c,0 56px 0 #35383c}.theme-thumb.purple i{background:linear-gradient(90deg,#ad9860,#526273)}.theme-thumb.green{background:#062a1c}.theme-thumb.green:before{background:#031a11}.theme-thumb.green:after{background:#0d5136;box-shadow:0 28px 0 #0d5136,0 56px 0 #0d5136}.theme-thumb.green i{background:linear-gradient(90deg,#00a86b,#35e39a)}.theme-thumb.orange{background:#301606}.theme-thumb.orange:before{background:#1b0b02}.theme-thumb.orange:after{background:#5b2a09;box-shadow:0 28px 0 #5b2a09,0 56px 0 #5b2a09}.theme-thumb.orange i{background:linear-gradient(90deg,#ff7a00,#ffb13b)}.theme-thumb.black-gold{background:#111}.theme-thumb.black-gold:before{background:#050505}.theme-thumb.black-gold:after{background:#1e2125;box-shadow:0 28px 0 #1e2125,0 56px 0 #1e2125}.theme-thumb.black-gold i{background:linear-gradient(90deg,#9b741c,#f3c75f)}.theme-thumb.light-minimal{background:#fbfaf9}.theme-thumb.light-minimal:before{background:#fff;border-right:1px solid #efeee9}.theme-thumb.light-minimal:after{background:#fff;box-shadow:0 28px 0 #fff,0 56px 0 #fff;border:1px solid #f4f2ee}.theme-thumb.custom{background:linear-gradient(135deg,#f8f8f6,#dff9f7)}.theme-thumb.custom:before{background:linear-gradient(#526273,#19c7ba)}.theme-meta{padding:9px 4px 3px}.theme-meta strong{display:block;color:#282b2f;font-size:12px}.theme-meta small{display:block;color:#526273;font-size:10px;margin:3px 0 7px}.theme-dots{display:flex;gap:5px}.theme-dots i{width:9px;height:9px;border-radius:50%;background:#526273}.theme-dots i:nth-child(2){opacity:.8}.theme-dots i:nth-child(3){opacity:.6}.theme-dots i:nth-child(4){opacity:.4}.theme-dots i:nth-child(5){opacity:.25}.custom-theme-panel{margin-top:15px;padding:14px;border:1px solid #edebe6;border-radius:14px;background:#fcfcfb;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.custom-theme-panel[hidden]{display:none}.custom-theme-panel>div{margin-right:auto}.custom-theme-panel b,.custom-theme-panel small{display:block}.custom-theme-panel small{font-size:10px;color:#526273}.custom-theme-panel label{font-size:10px;font-weight:800;color:#526273}.custom-theme-panel input{display:block;width:54px;height:34px;border:0;background:transparent;padding:0}.theme-save-status{margin-top:12px;font-size:10px;color:#526273}
/* Theme engine */
body[data-admin-theme="dark-mode"]{background:#080808}body[data-admin-theme="dark-mode"] .page{background:#111111}body[data-admin-theme="red-gold"]{--theme-primary:#d71920;--theme-secondary:#f1b83d;--theme-bg:#1b080b}body[data-admin-theme="purple"]{--theme-primary:#ad9860;--theme-secondary:#526273;--theme-bg:#1b1b19}body[data-admin-theme="green"]{--theme-primary:#00a86b;--theme-secondary:#35d998;--theme-bg:#eaf8f1}body[data-admin-theme="orange"]{--theme-primary:#ff7a00;--theme-secondary:#ffb13b;--theme-bg:#f2f4f7}body[data-admin-theme="black-gold"]{--theme-primary:#c89b32;--theme-secondary:#f0c85d;--theme-bg:#0c0f13}body[data-admin-theme="light-minimal"]{--theme-primary:#526273;--theme-secondary:#526273;--theme-bg:#fcfcfb}body[data-admin-theme="custom"]{--theme-primary:#526273;--theme-secondary:#526273;--theme-bg:#f9f8f6}
body[data-admin-theme]:not([data-admin-theme="default-blue"]):not([data-admin-theme="dark-mode"]) .page{background:var(--theme-bg)!important}body[data-admin-theme]:not([data-admin-theme="default-blue"]):not([data-admin-theme="dark-mode"]) nav a.on,body[data-admin-theme]:not([data-admin-theme="default-blue"]):not([data-admin-theme="dark-mode"]) .primary{background:#c3c5c8!important}body[data-admin-theme]:not([data-admin-theme="default-blue"]):not([data-admin-theme="dark-mode"]) .brandmark,body[data-admin-theme]:not([data-admin-theme="default-blue"]):not([data-admin-theme="dark-mode"]) .header-avatar,body[data-admin-theme]:not([data-admin-theme="default-blue"]):not([data-admin-theme="dark-mode"]) .table-avatar{background:linear-gradient(135deg,var(--theme-primary),var(--theme-secondary))!important}
body[data-admin-theme="red-gold"] .stat-card,body[data-admin-theme="purple"] .stat-card,body[data-admin-theme="black-gold"] .stat-card,body[data-admin-theme="red-gold"] .panel,body[data-admin-theme="purple"] .panel,body[data-admin-theme="black-gold"] .panel{background:#15181c;color:#f0f2f5;border-color:#3a3131}body[data-admin-theme="red-gold"] .page h1,body[data-admin-theme="purple"] .page h1,body[data-admin-theme="black-gold"] .page h1{color:#fff}
@media(max-width:1050px){.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.theme-grid{grid-template-columns:1fr}.theme-settings-head{align-items:flex-start}.theme-live-badge{display:none}}

/* ===== V7.28 UNIFIED DARK MODE — full admin surface ===== */
body[data-admin-theme="dark-mode"]{
  --dm-bg:#080808;--dm-bg2:#080808;--dm-side:#080808;--dm-top:#111111;
  --dm-card:#111111;--dm-card2:#171717;--dm-soft:#171717;--dm-line:#222222;
  --dm-text:#fafafa;--dm-muted:#526273;--dm-primary:#526273;--dm-primary2:#526273;
  --dm-input:#111111;--dm-green:#2ed49b;--dm-red:#ff6680;--dm-gold:#ffc857;
  background:var(--dm-bg)!important;color:var(--dm-text)!important;color-scheme:dark;
}
body[data-admin-theme="dark-mode"] .content,
body[data-admin-theme="dark-mode"] .page{background:linear-gradient(180deg,var(--dm-bg2),var(--dm-bg))!important;color:var(--dm-text)!important}
body[data-admin-theme="dark-mode"] aside#sidebar{background:linear-gradient(180deg,#111111,#080808 72%,#080808)!important;border-right:1px solid var(--dm-line)!important}
body[data-admin-theme="dark-mode"] aside#sidebar .side-brand{background:#111111!important;border-color:var(--dm-line)!important}
body[data-admin-theme="dark-mode"] .content>header{background:linear-gradient(90deg,#171717,#111111)!important;border-bottom:1px solid var(--dm-line)!important;box-shadow:0 10px 30px #0005!important}
body[data-admin-theme="dark-mode"] nav a{color:#d0d0d0!important}body[data-admin-theme="dark-mode"] nav a:hover{background:#171717!important;color:#ffffff!important}body[data-admin-theme="dark-mode"] nav a.on{background:linear-gradient(135deg,var(--dm-primary),var(--dm-primary2))!important;color:#ffffff!important;box-shadow:0 10px 26px #52627333!important}
body[data-admin-theme="dark-mode"] .nav-label,body[data-admin-theme="dark-mode"] .crumbline{color:#526273!important}
body[data-admin-theme="dark-mode"] .top-search,body[data-admin-theme="dark-mode"] .admin-language,body[data-admin-theme="dark-mode"] .head-btn,body[data-admin-theme="dark-mode"] .theme-switch,body[data-admin-theme="dark-mode"] .chev{background:#111111!important;border-color:#2b2b2b!important;color:#f5f5f5!important}
body[data-admin-theme="dark-mode"] .top-search input{color:#ffffff!important}body[data-admin-theme="dark-mode"] .top-search input::placeholder{color:#526273!important}
body[data-admin-theme="dark-mode"] .profile-menu{background:var(--dm-card)!important;border:1px solid var(--dm-line)!important}body[data-admin-theme="dark-mode"] .profile-menu a,body[data-admin-theme="dark-mode"] .profile-menu button{color:var(--dm-text)!important}

/* every major white surface */
body[data-admin-theme="dark-mode"] :is(.panel,.stat-card,.filter-panel,.user-table-card,.detail-side,.theme-settings-card,.theme-option,.custom-theme-panel,.audit-hero,.audit-card,.settings-card,.v716-card,.dash-card,.quick-card,.system-card,.profile-card,.role-card,.permission-card,.role-panel,.permission-panel){background:var(--dm-card)!important;border-color:var(--dm-line)!important;color:var(--dm-text)!important;box-shadow:0 12px 30px #0002!important}
body[data-admin-theme="dark-mode"] .theme-option:hover{background:var(--dm-card2)!important;border-color:#8b7948!important}body[data-admin-theme="dark-mode"] .theme-option.selected{border-color:var(--dm-primary)!important;box-shadow:0 0 0 3px #52627325!important}
body[data-admin-theme="dark-mode"] .theme-thumb{border:1px solid #2b2b2b!important}

/* typography — eliminate white-on-white / black-on-dark */
body[data-admin-theme="dark-mode"] .page :is(h1,h2,h3,h4,h5,h6,strong,b,.theme-meta strong,.theme-settings-head h2,.user-titlebar h1){color:var(--dm-text)!important}
body[data-admin-theme="dark-mode"] .page :is(p,small,.muted,.theme-meta small,.theme-settings-head p,.user-titlebar p,.theme-save-status){color:var(--dm-muted)!important}
body[data-admin-theme="dark-mode"] .page :is(label,dt,dd,span){border-color:var(--dm-line)}

/* forms, filters and search */
body[data-admin-theme="dark-mode"] .page :is(input:not([type="color"]),select,textarea,.searchbox){background:var(--dm-input)!important;color:var(--dm-text)!important;border-color:#2b2b2b!important;box-shadow:none!important}
body[data-admin-theme="dark-mode"] .page :is(input,textarea)::placeholder{color:#526273!important}
body[data-admin-theme="dark-mode"] .page select option{background:#111111!important;color:#f7f7f7!important}
body[data-admin-theme="dark-mode"] .title-actions button,body[data-admin-theme="dark-mode"] .filter-panel button:not(.primary),body[data-admin-theme="dark-mode"] .pagination button{background:#c3c5c8!important;color:#111111!important;border-color:#c3c5c8!important}
body[data-admin-theme="dark-mode"] .primary,body[data-admin-theme="dark-mode"] .search-btn{background:#c3c5c8!important;color:#111111!important}

/* tables */
body[data-admin-theme="dark-mode"] table{background:transparent!important}body[data-admin-theme="dark-mode"] th{background:#111111!important;color:#526273!important;border-color:var(--dm-line)!important}body[data-admin-theme="dark-mode"] td{background:var(--dm-card)!important;color:#e7e7e7!important;border-color:#222222!important}body[data-admin-theme="dark-mode"] tbody tr:hover td{background:#171717!important}body[data-admin-theme="dark-mode"] .user-cell{color:#f9f9f9!important}body[data-admin-theme="dark-mode"] .table-footer,body[data-admin-theme="dark-mode"] .bulkbar{background:#111111!important;color:#526273!important;border-color:var(--dm-line)!important}

/* dashboard / audit / roles special surfaces */
body[data-admin-theme="dark-mode"] .stat-card span{color:#526273!important}body[data-admin-theme="dark-mode"] .stat-card strong{color:#ffffff!important}body[data-admin-theme="dark-mode"] .stat-card small{color:#526273!important}
body[data-admin-theme="dark-mode"] .detail-tabs,body[data-admin-theme="dark-mode"] dt,body[data-admin-theme="dark-mode"] dd{border-color:var(--dm-line)!important}
body[data-admin-theme="dark-mode"] .detail-buttons .outline-danger{background:#111111!important}
body[data-admin-theme="dark-mode"] .role-badge.superadmin,body[data-admin-theme="dark-mode"] .role-badge.admin{background:#222222!important;color:#d5d5d5!important}
body[data-admin-theme="dark-mode"] .status-pill.active{background:#123b32!important;color:#63e5b5!important}body[data-admin-theme="dark-mode"] .status-pill.inactive{background:#171717!important;color:#ff8ba0!important}
body[data-admin-theme="dark-mode"] .theme-live-badge{background:#123b32!important;color:#63e5b5!important}
body[data-admin-theme="dark-mode"] .custom-theme-panel{background:#111111!important}

/* dialogs */
body[data-admin-theme="dark-mode"] .premium-dialog,body[data-admin-theme="dark-mode"] dialog{background:var(--dm-card)!important;color:var(--dm-text)!important;border:1px solid var(--dm-line)!important}body[data-admin-theme="dark-mode"] .modal-head>button{background:#171717!important;color:#ffffff!important}

/* keep semantic colored icon tiles readable, but harmonize neutral containers */
body[data-admin-theme="dark-mode"] .sicon.blue{background:#222222!important;color:#c2c2c2!important}body[data-admin-theme="dark-mode"] .sicon.green{background:#123b32!important;color:#4ee0ad!important}body[data-admin-theme="dark-mode"] .sicon.orange{background:#432b15!important;color:#ffb35e!important}body[data-admin-theme="dark-mode"] .sicon.purple{background:#222222!important;color:#c8c8c8!important}body[data-admin-theme="dark-mode"] .sicon.cyan{background:#111111!important;color:#57d9e7!important}body[data-admin-theme="dark-mode"] .sicon.pink{background:#171717!important;color:#ff8fba!important}

/* settings gallery remains dark and readable */
body[data-admin-theme="dark-mode"] .theme-dots i{background:#526273!important}body[data-admin-theme="dark-mode"] .theme-check{background:linear-gradient(135deg,var(--dm-primary),var(--dm-primary2))!important}

/* Native scrollbar */
body[data-admin-theme="dark-mode"] *{scrollbar-color:#6e6039 #080808}

/* ===== V7.29 TRUE UNIFIED DARK MODE - component coverage ===== */
body[data-admin-theme="dark-mode"]{--dm-bg:#080808;--dm-bg2:#080808;--dm-card:#111111;--dm-card2:#111111;--dm-line:#222222;--dm-text:#f6f6f6;--dm-muted:#526273;--dm-input:#080808;--dm-primary:#526273;--dm-primary2:#526273}
body[data-admin-theme="dark-mode"] :is(.v715-audit-head,.v715-stats>div,.v715-filter,.v715-log,.v718-modal-card,.v714-pager,.rp-hero,.rp-left,.rp-main,.rp-menu-item,.dv6-card,.dash-stats-v6>article,.dash-bottom-v6>article,.admin-card-v63,.theme-settings-card,.theme-option,.custom-theme-panel){background:var(--dm-card)!important;border-color:var(--dm-line)!important;color:var(--dm-text)!important;box-shadow:0 14px 34px #0003!important}
body[data-admin-theme="dark-mode"] .v715-audit-head{background:linear-gradient(135deg,#111111,#111111)!important}
body[data-admin-theme="dark-mode"] :is(.v714-audit-title h1,.v715-section-title b,.v715-stats strong,.v715-stats span,.v715-log-head b,.rp-hero h1,.rp-main h2,.rp-left h3,.dv6-head h3){color:var(--dm-text)!important}
body[data-admin-theme="dark-mode"] :is(.v714-audit-title p,.v714-crumb,.v715-section-title small,.v715-stats small,.v715-log-head small,.rp-hero p,.rp-main p,.rp-left p,.dv6-head p){color:var(--dm-muted)!important}
body[data-admin-theme="dark-mode"] .v715-stats>div>i{box-shadow:none!important}
body[data-admin-theme="dark-mode"] .v715-stats>.purple>i{background:#222222!important;color:#cfcfcf!important}body[data-admin-theme="dark-mode"] .v715-stats>.green>i{background:#123c32!important;color:#55e0b1!important}body[data-admin-theme="dark-mode"] .v715-stats>.red>i{background:#171717!important;color:#ff849b!important}body[data-admin-theme="dark-mode"] .v715-stats>.blue>i{background:#222222!important;color:#526273!important}
body[data-admin-theme="dark-mode"] :is(.v715-filter input,.v715-filter select,.v715-search,.v715-table-tools select,.v715-table-tools button){background:var(--dm-input)!important;color:var(--dm-text)!important;border-color:#2b2b2b!important}
body[data-admin-theme="dark-mode"] .v715-search input{background:transparent!important;border:0!important;color:var(--dm-text)!important}body[data-admin-theme="dark-mode"] .v715-search input::placeholder{color:#526273!important}
body[data-admin-theme="dark-mode"] .v715-reset{background:#171717!important;color:#ebebeb!important;border-color:#2b2b2b!important}
body[data-admin-theme="dark-mode"] .v715-log .table-wrap{background:var(--dm-card)!important;border-color:var(--dm-line)!important}body[data-admin-theme="dark-mode"] .v715-log table{background:var(--dm-card)!important}body[data-admin-theme="dark-mode"] .v715-log thead th{background:#080808!important;color:#526273!important;border-color:var(--dm-line)!important}body[data-admin-theme="dark-mode"] .v715-log tbody td{background:var(--dm-card)!important;color:#ebebeb!important;border-color:#222222!important}body[data-admin-theme="dark-mode"] .v715-log tbody tr:hover td{background:#171717!important}
body[data-admin-theme="dark-mode"] :is(.v714-actor b,.v714-actor small){color:inherit!important}body[data-admin-theme="dark-mode"] .v714-actor small{color:var(--dm-muted)!important}body[data-admin-theme="dark-mode"] .v715-ip{background:#171717!important;color:#cbcbcb!important}body[data-admin-theme="dark-mode"] .v714-action{background:#222222!important;color:#d5d5d5!important}
body[data-admin-theme="dark-mode"] .v714-pager{background:transparent!important;box-shadow:none!important}body[data-admin-theme="dark-mode"] .v714-pager span{color:var(--dm-muted)!important}body[data-admin-theme="dark-mode"] .v714-pager a{background:#171717!important;color:#ececec!important;border-color:#2b2b2b!important}body[data-admin-theme="dark-mode"] .v714-pager a.on{background:linear-gradient(135deg,var(--dm-primary),var(--dm-primary2))!important;color:#ffffff!important}
body[data-admin-theme="dark-mode"] :is(.rp-role,.rp-search,.rp-menu-item,.rp-stat-box){background:#111111!important;border-color:var(--dm-line)!important;color:var(--dm-text)!important}body[data-admin-theme="dark-mode"] .rp-role.active{background:linear-gradient(135deg,#222222,#171717)!important;border-color:#526273!important}
body[data-admin-theme="dark-mode"] :is(.quick-grid-v6 a,.service-v6,.admin-v6 dl){background:#111111!important;border-color:var(--dm-line)!important;color:var(--dm-text)!important}
body[data-admin-theme="dark-mode"] .theme-settings-head{background:#111111!important;border-color:var(--dm-line)!important}body[data-admin-theme="dark-mode"] .theme-settings-head :is(h2,p){color:var(--dm-text)!important}body[data-admin-theme="dark-mode"] .theme-settings-head p{color:var(--dm-muted)!important}
/* ===== V7.29 TRUE UNIFIED DARK MODE ===== */
body[data-admin-theme="dark-mode"] :is(.v715-audit-head,.v715-stats>div,.v715-filter,.v715-log,.v718-modal-card,.rp-hero,.rp-left,.rp-main,.rp-menu-item,.dv6-card,.dash-stats-v6>article,.dash-bottom-v6>article,.admin-card-v63,.theme-settings-card,.theme-option,.custom-theme-panel){background:#111111!important;border-color:#222222!important;color:#f6f6f6!important;box-shadow:0 14px 34px #0003!important}
body[data-admin-theme="dark-mode"] .v715-audit-head{background:linear-gradient(135deg,#111111,#111111)!important}body[data-admin-theme="dark-mode"] :is(.v714-audit-title h1,.v715-section-title b,.v715-stats strong,.v715-stats span,.v715-log-head b){color:#f6f6f6!important}body[data-admin-theme="dark-mode"] :is(.v714-audit-title p,.v714-crumb,.v715-section-title small,.v715-stats small,.v715-log-head small){color:#526273!important}
body[data-admin-theme="dark-mode"] :is(.v715-filter input,.v715-filter select,.v715-search,.v715-table-tools select,.v715-table-tools button){background:#080808!important;color:#f6f6f6!important;border-color:#2b2b2b!important}body[data-admin-theme="dark-mode"] .v715-search input{background:transparent!important;border:0!important;color:#f6f6f6!important}body[data-admin-theme="dark-mode"] .v715-search input::placeholder{color:#526273!important}body[data-admin-theme="dark-mode"] .v715-reset{background:#171717!important;color:#ebebeb!important;border-color:#2b2b2b!important}
body[data-admin-theme="dark-mode"] .v715-log .table-wrap,body[data-admin-theme="dark-mode"] .v715-log table{background:#111111!important}body[data-admin-theme="dark-mode"] .v715-log thead th{background:#080808!important;color:#526273!important;border-color:#222222!important}body[data-admin-theme="dark-mode"] .v715-log tbody td{background:#111111!important;color:#ebebeb!important;border-color:#222222!important}body[data-admin-theme="dark-mode"] .v715-log tbody tr:hover td{background:#171717!important}body[data-admin-theme="dark-mode"] .v714-actor b{color:#f6f6f6!important}body[data-admin-theme="dark-mode"] .v714-actor small{color:#526273!important}body[data-admin-theme="dark-mode"] .v715-ip{background:#171717!important;color:#cbcbcb!important}body[data-admin-theme="dark-mode"] .v714-action{background:#222222!important;color:#d5d5d5!important}
body[data-admin-theme="dark-mode"] .v714-pager span{color:#526273!important}body[data-admin-theme="dark-mode"] .v714-pager a{background:#171717!important;color:#ececec!important;border-color:#2b2b2b!important}body[data-admin-theme="dark-mode"] .v714-pager a.on{background:linear-gradient(135deg,#526273,#526273)!important;color:#ffffff!important}
body[data-admin-theme="dark-mode"] :is(.rp-role,.rp-search,.rp-menu-item,.rp-stat-box){background:#111111!important;border-color:#222222!important;color:#f6f6f6!important}body[data-admin-theme="dark-mode"] :is(.quick-grid-v6 a,.service-v6,.admin-v6 dl){background:#111111!important;border-color:#222222!important;color:#f6f6f6!important}

/* ===== V7.34 PREMIUM ACCOUNT SETTINGS DRAWER ===== */
.account-pill{cursor:pointer}.account-drawer-backdrop{position:fixed;inset:0;background:rgba(2,10,28,.28);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.22s;z-index:1900}.account-drawer-backdrop.show{opacity:1;visibility:visible}.account-drawer{position:fixed;left:258px;top:18px;bottom:18px;width:390px;z-index:1901;padding:20px 16px 16px;border:1px solid #494c50;border-radius:0 22px 22px 0;background:linear-gradient(180deg,#181b1f 0%,#1d2024 55%,#191c20 100%);box-shadow:0 28px 80px rgba(1,8,25,.48);color:#fbfaf9;overflow:auto;transform:translateX(-112%);opacity:0;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s}.account-drawer.show{transform:translateX(0);opacity:1}.account-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;padding:2px 6px 16px}.account-drawer-head h2{margin:0 0 5px;font-size:20px}.account-drawer-head p{margin:0;color:#526273;font-size:12px}.account-drawer-head button{width:36px;height:36px;border:0;border-radius:50%;background:#2e3135;color:#526273;font-size:24px;cursor:pointer}.account-identity{display:grid;grid-template-columns:62px 1fr 18px;gap:14px;align-items:center;padding:16px;border:1px solid #404347;border-radius:15px;background:linear-gradient(135deg,#26292d,#1f2226);color:#fff;text-decoration:none;margin-bottom:13px}.account-photo{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ff263e,#526273);font-size:22px;font-weight:900;position:relative;overflow:visible}.account-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover}.account-photo span{position:absolute;right:-3px;bottom:-3px;width:23px;height:23px;border-radius:8px;background:#f1efea;color:#313438;display:grid;place-items:center;font-size:13px;border:2px solid #26292d}.account-identity b{display:block;font-size:14px}.account-identity small{display:block;color:#526273;margin:3px 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.account-identity em{display:inline-flex;padding:5px 10px;border-radius:999px;background:#a08b52;color:#dee0e3;font-size:10px;font-style:normal;font-weight:800}.account-identity>.ui-icon,.account-drawer-list .arrow{width:16px;height:16px;color:#526273}.account-drawer-list{border:1px solid #3d4044;border-radius:14px;overflow:hidden;background:rgba(12,31,58,.72)}.account-drawer-list>a,.account-drawer-list>button{width:100%;display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center;padding:11px 13px;border:0;border-bottom:1px solid #36393d;background:transparent;color:#fff;text-decoration:none;text-align:left;cursor:pointer;font:inherit}.account-drawer-list>*:last-child{border-bottom:0}.account-drawer-list>a:hover,.account-drawer-list>button:hover{background:#2d3034}.account-drawer-list b{display:block;font-size:12px;margin-bottom:3px}.account-drawer-list small{display:block;color:#526273;font-size:10px;line-height:1.35}.ad-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center}.ad-icon .ui-icon{width:18px;height:18px}.ad-icon.blue{background:linear-gradient(135deg,#526273,#526273)}.ad-icon.green{background:linear-gradient(135deg,#13b982,#4bd5a7)}.ad-icon.pink{background:linear-gradient(135deg,#ff547d,#ff7998)}.ad-icon.violet{background:linear-gradient(135deg,#526273,#526273)}.ad-icon.slate{background:linear-gradient(135deg,#7c6c40,#494c50)}.ad-glyph{font-size:18px;font-weight:900}.account-drawer-label{padding:17px 3px 8px;color:#526273;font-size:10px;font-weight:900;letter-spacing:1.8px}.platforms{color:#526273;letter-spacing:5px;font-size:14px}.account-drawer-logout{margin-top:14px}.account-drawer-logout button{width:100%;height:46px;border-radius:10px;border:1px solid #ff3d70;background:rgba(111,15,53,.28);color:#ff527e;font-weight:900;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}.account-drawer-logout .ui-icon{width:18px;height:18px}.shortcut-modal{position:fixed;inset:0;z-index:2000;background:rgba(2,10,25,.5);display:none;place-items:center}.shortcut-modal.show{display:grid}.shortcut-modal>div{width:min(440px,calc(100vw - 32px));background:#fff;border-radius:18px;padding:24px;box-shadow:0 30px 90px #171a1e55;position:relative}.shortcut-modal h3{margin:0 0 5px;color:#24272b}.shortcut-modal p{margin:0 0 20px;color:#526273}.shortcut-modal section{display:flex;align-items:center;gap:7px;padding:12px 0;border-top:1px solid #f2f0ec;color:#404347}.shortcut-modal section span{margin-right:auto}.shortcut-modal kbd{padding:5px 8px;border:1px solid #dadcdf;border-bottom-width:2px;border-radius:7px;background:#fafaf9}.shortcut-close{position:absolute;right:15px;top:15px;border:0;background:#f6f5f3;border-radius:50%;width:32px;height:32px;font-size:20px;cursor:pointer}@media(max-width:900px){.account-drawer{left:10px;right:10px;top:10px;bottom:10px;width:auto;border-radius:20px;transform:translateX(-110%)}}body[data-admin-theme="dark-mode"] .shortcut-modal>div{background:#111111;color:#f6f6f6}body[data-admin-theme="dark-mode"] .shortcut-modal h3{color:#f6f6f6}body[data-admin-theme="dark-mode"] .shortcut-modal section{color:#ebebeb;border-color:#222222}body[data-admin-theme="dark-mode"] .shortcut-modal kbd{background:#171717;border-color:#2b2b2b;color:#ffffff}


/* ===== V7.35 ACCOUNT DRAWER + COMPLETE SIDEBAR ===== */
.sidebar-signout{margin:2px 0 18px}.sidebar-signout button{width:100%;min-height:43px;padding:10px 13px;border:0;border-radius:11px;background:transparent;color:#526273;display:flex;align-items:center;gap:13px;text-align:left}.sidebar-signout button:hover{background:#292c30;color:#fff}.sidebar-signout .ui-icon{width:20px;height:20px}.sidebar-mini .sidebar-signout button{width:48px;height:46px;padding:0;justify-content:center;margin:auto}.sidebar-mini .sidebar-signout span{display:none}
.account-pill{cursor:default}.account-pill .header-avatar,.account-pill .head-user{cursor:default}.account-pill .chev{cursor:pointer;transition:.2s}.account-pill .chev:hover{background:#484b4f;box-shadow:inset 0 0 0 1px #9e8951}.account-drawer-backdrop{background:rgba(3,10,26,.42);backdrop-filter:blur(4px)}
.account-drawer{left:282px!important;top:86px!important;bottom:18px!important;width:370px!important;border-radius:20px!important;padding:18px 14px 14px!important;transform:translateX(-24px) scale(.985)!important;transform-origin:top left;pointer-events:none;visibility:hidden;opacity:0!important;box-shadow:0 30px 90px rgba(1,8,25,.52),0 0 0 1px rgba(95,125,180,.15)!important;overflow-y:auto!important;overflow-x:hidden!important}
.account-drawer.show{transform:translateX(0) scale(1)!important;opacity:1!important;visibility:visible;pointer-events:auto}.account-drawer-head{position:sticky;top:-18px;z-index:3;margin:-18px -14px 10px;padding:20px 20px 15px;background:linear-gradient(180deg,#181b1f 80%,rgba(7,22,46,.92));border-bottom:1px solid #3a3d41}.account-drawer-head h2{font-size:19px}.account-drawer-list>a,.account-drawer-list>button{min-height:67px;padding:10px 12px}.account-drawer-list b{font-size:12px}.account-drawer-list small{font-size:10px}.account-identity{padding:14px;margin-bottom:12px}.account-drawer-logout{position:sticky;bottom:-14px;background:#191c20;padding:12px 0 2px;margin-top:12px}
@media(max-width:900px){.account-drawer{left:10px!important;right:10px!important;top:84px!important;bottom:10px!important;width:auto!important;transform:translateY(-12px) scale(.985)!important}.account-drawer.show{transform:none!important}}

/* ===== V7.36 DRAWER TOP VISIBILITY FIX ===== */
.account-drawer{top:108px!important;bottom:16px!important;scroll-behavior:auto!important;overscroll-behavior:contain}
.account-drawer-head{top:-18px!important}
.account-drawer.show{scroll-margin-top:0}
@media(max-width:900px){.account-drawer{top:92px!important;bottom:10px!important}}
/* V7.37 - account drawer reference layout */
@media(min-width:901px){
.account-drawer{left:258px!important;top:8px!important;bottom:8px!important;width:360px!important;border-radius:18px!important;padding:16px 14px 12px!important;transform:translateX(-18px) scale(.99)!important;overflow-y:auto!important;}
.account-drawer.show{transform:translateX(0) scale(1)!important}
.account-drawer-head{position:relative!important;top:auto!important;margin:0!important;padding:2px 6px 14px!important;background:transparent!important;border-bottom:0!important}
.account-drawer-head h2{font-size:18px!important;margin:0 0 5px!important}.account-drawer-head p{font-size:10px!important}
.account-drawer-head button{width:32px!important;height:32px!important;font-size:20px!important}
.account-identity{grid-template-columns:54px 1fr 16px!important;gap:12px!important;padding:13px!important;border-radius:13px!important;margin-bottom:10px!important}
.account-photo{width:52px!important;height:52px!important}.account-identity b{font-size:13px!important}.account-identity small{font-size:10px!important;margin:2px 0 6px!important}.account-identity em{font-size:9px!important;padding:4px 9px!important}
.account-drawer-list{border-radius:12px!important}.account-drawer-list>a,.account-drawer-list>button{min-height:55px!important;padding:8px 11px!important;grid-template-columns:34px 1fr auto!important;gap:10px!important}.ad-icon{width:34px!important;height:34px!important}.account-drawer-list b{font-size:11px!important;margin-bottom:2px!important}.account-drawer-list small{font-size:9px!important}.account-drawer-label{padding:13px 3px 7px!important;font-size:9px!important}.account-drawer-logout{position:relative!important;bottom:auto!important;background:transparent!important;padding:0!important;margin-top:10px!important}.account-drawer-logout button{height:40px!important}
}


/* ===== V7.38 DRAWER VIEWPORT / NO-CROP FIX ===== */
@media(min-width:901px){
  .account-drawer{
    left:258px!important;
    top:10px!important;
    bottom:10px!important;
    height:auto!important;
    max-height:calc(100dvh - 20px)!important;
    width:360px!important;
    box-sizing:border-box!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border-radius:18px!important;
  }
  .account-drawer-head{
    flex:0 0 auto!important;
    padding:18px 18px 13px!important;
    margin:0!important;
    border-bottom:1px solid #3a3d41!important;
    background:#181b1f!important;
  }
  .account-drawer-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:12px 13px 8px!important;
    scrollbar-width:thin;
    scrollbar-color:#8f7c49 transparent;
  }
  .account-drawer-scroll::-webkit-scrollbar{width:5px}
  .account-drawer-scroll::-webkit-scrollbar-track{background:transparent}
  .account-drawer-scroll::-webkit-scrollbar-thumb{background:#8f7c49;border-radius:10px}
  .account-identity{margin-bottom:10px!important;padding:11px 12px!important;grid-template-columns:50px 1fr 16px!important}
  .account-photo{width:48px!important;height:48px!important}
  .account-drawer-list>a,.account-drawer-list>button{min-height:51px!important;padding:7px 10px!important}
  .account-drawer-label{padding:11px 3px 6px!important}
  .account-drawer-logout{
    flex:0 0 auto!important;
    margin:0!important;
    padding:10px 13px 12px!important;
    background:#191c20!important;
    border-top:1px solid #3a3d41!important;
  }
  .account-drawer-logout button{height:40px!important}
}
@media(max-width:900px){
  .account-drawer{top:8px!important;bottom:8px!important;max-height:calc(100dvh - 16px)!important;padding:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
  .account-drawer-head{flex:0 0 auto!important;margin:0!important;padding:16px!important;position:relative!important;top:auto!important}
  .account-drawer-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 12px!important}
  .account-drawer-logout{flex:0 0 auto!important;position:relative!important;bottom:auto!important;margin:0!important;padding:10px 12px!important;background:#191c20!important}
}


/* ===== V7.39 DRAWER ROOT-LAYER FIX =====
   Drawer dipindahkan keluar dari <header> agar tidak terpotong oleh containing/stacking context. */
@media(min-width:901px){
  #accountDrawer.account-drawer{
    position:fixed!important;
    inset:8px auto 8px 270px!important;
    left:270px!important;
    right:auto!important;
    top:8px!important;
    bottom:8px!important;
    width:372px!important;
    height:calc(100dvh - 16px)!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    z-index:10001!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    border-radius:0 18px 18px 0!important;
    transform:translateX(-16px)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  #accountDrawer.account-drawer.show{
    transform:translateX(0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  #accountDrawerBackdrop.account-drawer-backdrop{z-index:10000!important}
  #accountDrawer .account-drawer-head{flex:0 0 auto!important;padding:17px 18px 13px!important}
  #accountDrawer .account-drawer-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 13px 8px!important}
  #accountDrawer .account-drawer-logout{flex:0 0 auto!important;padding:9px 13px 11px!important;margin:0!important}
}
@media(max-width:900px){
  #accountDrawer.account-drawer{z-index:10001!important;left:8px!important;right:8px!important;top:8px!important;bottom:8px!important;width:auto!important;height:calc(100dvh - 16px)!important}
  #accountDrawerBackdrop.account-drawer-backdrop{z-index:10000!important}
}

/* ===== V7.40 ACCOUNT DRAWER — SHARP / NO BLUR / REFERENCE ALIGNMENT ===== */
#accountDrawerBackdrop.account-drawer-backdrop{
  background:rgba(3,10,26,.18)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
@media(min-width:901px){
  #accountDrawer.account-drawer{
    left:320px!important;
    top:0!important;
    bottom:0!important;
    width:430px!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
    border-top:0!important;
    border-bottom:0!important;
    border-left:1px solid #494c50!important;
    border-right:1px solid #494c50!important;
    box-shadow:10px 0 34px rgba(1,8,25,.28)!important;
    background:#1c1c1a!important;
  }
  #accountDrawer .account-drawer-head{
    padding:28px 24px 18px!important;
    border-radius:0!important;
  }
  #accountDrawer .account-drawer-scroll{
    padding:0 20px 12px!important;
  }
  #accountDrawer .account-identity,
  #accountDrawer .account-drawer-list,
  #accountDrawer .account-drawer-list>a,
  #accountDrawer .account-drawer-list>button,
  #accountDrawer .account-drawer-logout button,
  #accountDrawer .ad-icon,
  #accountDrawer .account-drawer-head button{
    border-radius:0!important;
  }
  #accountDrawer .account-identity{margin-bottom:14px!important;padding:16px!important}
  #accountDrawer .account-drawer-list>a,
  #accountDrawer .account-drawer-list>button{min-height:60px!important;padding:10px 13px!important}
  #accountDrawer .account-drawer-label{padding:18px 3px 8px!important}
  #accountDrawer .account-drawer-logout{padding:12px 20px 18px!important;background:#1c1c1a!important}
}
@media(max-width:900px){
  #accountDrawer.account-drawer{
    left:0!important;right:0!important;top:0!important;bottom:0!important;
    width:100%!important;height:100dvh!important;border-radius:0!important;
  }
}

/* ===== V7.41 DRAWER — RAPAT SIDEBAR + SOFT BLUR + PREMIUM RADIUS ===== */
#accountDrawerBackdrop.account-drawer-backdrop{
  background:rgba(3,10,26,.34)!important;
  -webkit-backdrop-filter:blur(3px)!important;
  backdrop-filter:blur(3px)!important;
}
@media(min-width:901px){
  #accountDrawer.account-drawer{
    left:270px!important;
    right:auto!important;
    top:10px!important;
    bottom:10px!important;
    width:390px!important;
    height:calc(100dvh - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
    border:1px solid rgba(79,111,164,.48)!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#1c1f23 0%,#1c1c1a 100%)!important;
    box-shadow:0 24px 70px rgba(0,8,25,.46),0 0 0 1px rgba(110,139,191,.08)!important;
    overflow:hidden!important;
  }
  #accountDrawer .account-drawer-head{
    padding:20px 18px 14px!important;
    border-radius:18px 18px 0 0!important;
  }
  #accountDrawer .account-drawer-head button{
    border-radius:50%!important;
  }
  #accountDrawer .account-drawer-scroll{
    padding:8px 14px 10px!important;
  }
  #accountDrawer .account-identity{
    margin-bottom:12px!important;
    padding:14px!important;
    border-radius:14px!important;
  }
  #accountDrawer .account-drawer-list{
    border-radius:14px!important;
    overflow:hidden!important;
  }
  #accountDrawer .account-drawer-list>a,
  #accountDrawer .account-drawer-list>button{
    min-height:56px!important;
    padding:9px 12px!important;
    border-radius:0!important;
  }
  #accountDrawer .ad-icon{border-radius:10px!important}
  #accountDrawer .account-drawer-label{padding:14px 3px 7px!important}
  #accountDrawer .account-drawer-logout{
    padding:10px 14px 14px!important;
    background:#1c1c1a!important;
  }
  #accountDrawer .account-drawer-logout button{
    height:44px!important;
    border-radius:11px!important;
  }
}
@media(max-width:900px){
  #accountDrawer.account-drawer{
    left:8px!important;right:8px!important;top:8px!important;bottom:8px!important;
    width:auto!important;height:calc(100dvh - 16px)!important;border-radius:16px!important;
  }
}

/* ===== V7.41 DRAWER TIGHT + SOFT BLUR + PREMIUM RADIUS ===== */
@media(min-width:901px){
  #accountDrawerBackdrop.account-drawer-backdrop{
    left:270px!important;
    background:rgba(4,12,30,.20)!important;
    -webkit-backdrop-filter:blur(3px)!important;
    backdrop-filter:blur(3px)!important;
  }
  #accountDrawer.account-drawer{
    left:270px!important;
    right:auto!important;
    top:8px!important;
    bottom:8px!important;
    width:390px!important;
    height:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    border:1px solid #494c50!important;
    border-left:1px solid #3c3f43!important;
    border-radius:0 18px 18px 0!important;
    background:linear-gradient(180deg,rgba(7,24,47,.985),rgba(8,25,49,.985))!important;
    box-shadow:18px 0 52px rgba(1,8,25,.36),0 0 0 1px rgba(92,122,178,.08)!important;
    overflow:hidden!important;
  }
  #accountDrawer .account-drawer-head{
    padding:18px 18px 14px!important;
    border-radius:0 17px 0 0!important;
  }
  #accountDrawer .account-drawer-head button{
    border-radius:50%!important;
  }
  #accountDrawer .account-drawer-scroll{
    padding:0 14px 10px!important;
  }
  #accountDrawer .account-identity{
    border-radius:14px!important;
    margin-bottom:12px!important;
    padding:14px!important;
  }
  #accountDrawer .account-drawer-list{
    border-radius:13px!important;
  }
  #accountDrawer .account-drawer-list>a,
  #accountDrawer .account-drawer-list>button{
    border-radius:0!important;
    min-height:55px!important;
    padding:8px 11px!important;
  }
  #accountDrawer .ad-icon{border-radius:10px!important}
  #accountDrawer .account-drawer-label{padding:13px 3px 7px!important}
  #accountDrawer .account-drawer-logout{
    padding:10px 14px 12px!important;
    background:linear-gradient(180deg,rgba(7,24,47,.92),#1c1c1a)!important;
  }
  #accountDrawer .account-drawer-logout button{
    height:42px!important;
    border-radius:10px!important;
  }
}
@media(max-width:900px){
  #accountDrawerBackdrop.account-drawer-backdrop{
    left:0!important;
    -webkit-backdrop-filter:blur(3px)!important;
    backdrop-filter:blur(3px)!important;
  }
  #accountDrawer.account-drawer{
    left:8px!important;right:8px!important;top:8px!important;bottom:8px!important;
    width:auto!important;height:calc(100dvh - 16px)!important;
    border-radius:18px!important;
  }
}

/* ===== V7.42 DRAWER FOLLOWS SIDEBAR WIDTH ===== */
@media(min-width:901px){
  /* normal sidebar */
  .app:not(.sidebar-mini) ~ #accountDrawer.account-drawer,
  body:has(.app:not(.sidebar-mini)) #accountDrawer.account-drawer{
    left:290px!important;
  }
  .app:not(.sidebar-mini) ~ #accountDrawerBackdrop.account-drawer-backdrop,
  body:has(.app:not(.sidebar-mini)) #accountDrawerBackdrop.account-drawer-backdrop{
    left:290px!important;
  }

  /* collapsed / hidden sidebar: drawer must stick directly to 86px sidebar */
  .app.sidebar-mini ~ #accountDrawer.account-drawer,
  body:has(.app.sidebar-mini) #accountDrawer.account-drawer{
    left:86px!important;
  }
  .app.sidebar-mini ~ #accountDrawerBackdrop.account-drawer-backdrop,
  body:has(.app.sidebar-mini) #accountDrawerBackdrop.account-drawer-backdrop{
    left:86px!important;
  }

  #accountDrawer.account-drawer{
    transition:left .32s cubic-bezier(.22,1,.36,1),transform .25s ease,opacity .2s ease!important;
  }
  #accountDrawerBackdrop.account-drawer-backdrop{
    transition:left .32s cubic-bezier(.22,1,.36,1),opacity .2s ease!important;
  }
}
/* V7.43 SOCIAL HUB */
.social-page{padding:4px}.social-hero{min-height:150px;padding:30px 34px;border-radius:22px;background:linear-gradient(120deg,#303337,#9c8851 55%,#526273);color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 18px 50px #40434722}.social-kicker{font-size:11px;letter-spacing:2px;font-weight:900;color:#526273}.social-hero h1{font-size:34px;margin:7px 0}.social-hero p{opacity:.82;margin:0}.social-live{background:#ffffff18;border:1px solid #ffffff30;padding:12px 16px;border-radius:14px;font-size:11px;font-weight:900}.social-platforms{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:18px 0}.social-card{background:var(--card,#fff);border:1px solid #e6e8eb;border-radius:18px;padding:17px;box-shadow:0 8px 28px #43464a0b}.social-card.connected{border-color:#91e7c0}.social-brand{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;color:white;font-size:22px;margin-bottom:14px}.social-brand.facebook{background:#ac975e}.social-brand.whatsapp{background:#16bd6b}.social-brand.telegram{background:#a69055}.social-brand.tiktok{background:#111}.social-brand.instagram{background:linear-gradient(135deg,#9d8951,#fd1d1d,#fcb045)}.social-card-body{display:flex;justify-content:space-between;gap:8px}.social-card h3{margin:0;font-size:15px}.social-card span,.social-card p{font-size:11px;color:#526273}.social-card em{font-style:normal;font-size:9px;font-weight:900;background:#f5f4f1;padding:5px 7px;border-radius:99px;height:max-content}.social-card.connected em{color:#07834d;background:#dff9ec}.social-card button,.social-primary{width:100%;border:0;border-radius:11px;padding:11px;background:linear-gradient(90deg,#526273,#526273);color:white;font-weight:800;cursor:pointer}.social-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:16px;margin-bottom:16px}.social-grid.lower{grid-template-columns:.8fr 1.2fr}.social-panel{background:var(--card,#fff);border:1px solid #e6e8eb;border-radius:18px;padding:18px}.social-panel-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f4f3f0;padding-bottom:14px;margin-bottom:12px}.social-panel-head h2{font-size:17px;margin:0}.social-panel-head p{font-size:11px;color:#526273;margin:4px 0 0}.social-panel-head>span{font-size:10px;background:#f8f7f4;padding:6px 9px;border-radius:99px}.social-empty{text-align:center;padding:36px;color:#526273;font-size:12px}.social-msg{display:grid;grid-template-columns:78px 1fr auto;gap:12px;padding:12px 4px;border-bottom:1px solid #f4f3f0}.social-msg>b{text-transform:capitalize;color:#526273;font-size:11px}.social-msg strong{font-size:12px}.social-msg p{margin:3px 0;font-size:11px;color:#526273}.social-msg time{font-size:10px;color:#526273}.composer form,.social-send{display:grid;gap:10px}.social-checks{display:flex;gap:7px;flex-wrap:wrap}.social-checks label{font-size:10px;border:1px solid #e4e6e9;padding:7px 9px;border-radius:9px}.social-panel input,.social-panel textarea,.social-panel select,.social-modal-box input,.social-modal-box textarea{width:100%;box-sizing:border-box;border:1px solid #e3e5e8;border-radius:10px;padding:11px 12px;background:transparent;color:inherit}.social-panel textarea,.social-modal-box textarea{min-height:100px;resize:vertical}.social-queue>div{padding:11px;border-bottom:1px solid #f4f3f0}.social-queue b{font-size:10px;text-transform:uppercase;color:#526273}.social-queue p{font-size:12px;margin:5px 0}.social-queue span{font-size:9px;font-weight:900;color:#c27a00}.social-modal{position:fixed;inset:0;background:#19191780;backdrop-filter:blur(5px);z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}.social-modal.show{display:flex}.social-modal-box{position:relative;width:min(520px,95vw);background:#212428;color:#fff;border:1px solid #4a4d51;border-radius:20px;padding:25px;box-shadow:0 30px 80px #0008}.social-modal-box form{display:grid;gap:10px;margin-top:18px}.social-modal-box input,.social-modal-box textarea{border-color:#4a4d51;background:#2a2d31}.social-note{font-size:11px;color:#526273}.social-x{position:absolute;right:18px;top:18px;border:0;border-radius:50%;width:34px;height:34px;background:#373a3e;color:#fff;font-size:20px}.social-nav-icon{font-weight:900}.dark .social-card,.dark .social-panel{background:#111111;border-color:#222222}.dark .social-panel-head,.dark .social-msg,.dark .social-queue>div{border-color:#222222}@media(max-width:1100px){.social-platforms{grid-template-columns:repeat(2,1fr)}.social-grid,.social-grid.lower{grid-template-columns:1fr}}@media(max-width:620px){.social-platforms{grid-template-columns:1fr}.social-hero{padding:22px}.social-live{display:none}}

/* V7.44 SOCIAL HUB NAV VISIBILITY */
#sidebar nav a.social-hub-nav{position:relative;background:linear-gradient(90deg,rgba(35,201,255,.08),rgba(105,67,255,.08));border:1px solid rgba(82,164,255,.12)}
#sidebar nav a.social-hub-nav:hover,#sidebar nav a.social-hub-nav.on{background:linear-gradient(90deg,#a59055,#526273);color:#fff;border-color:transparent;box-shadow:0 8px 24px rgba(67,91,255,.25)}
#sidebar nav a .social-hub-ico{background:linear-gradient(135deg,#526273,#526273);color:#fff;border-radius:9px;display:grid;place-items:center}
#sidebar nav a .social-new-badge{margin-left:auto;font-style:normal;font-size:8px;font-weight:900;letter-spacing:.6px;padding:3px 6px;border-radius:99px;background:#18c98b;color:#fff}
#sidebar nav a.social-hub-nav.on .social-new-badge{background:#fff;color:#526273}

/* V7.45 PLATFORM-SPECIFIC SOCIAL CONNECT + INSTAGRAM OAUTH */
.social-connect-box{width:min(560px,95vw)!important}.ig-connect-pane{margin-top:18px}.ig-connect-pane[hidden]{display:none!important}.ig-connect-brand{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #4a4d51;border-radius:14px;background:#2a2d31}.ig-connect-brand .social-brand{margin:0;flex:0 0 45px}.ig-connect-brand>div:nth-child(2){display:grid;gap:3px}.ig-connect-brand b{font-size:14px}.ig-connect-brand small{font-size:10px;color:#526273}.ig-secure{margin-left:auto;font-size:8px;font-weight:900;letter-spacing:.8px;color:#6de6b4;background:#0f493d;padding:5px 8px;border-radius:99px}.ig-permissions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.ig-permissions span{font-size:10px;color:#526273;border:1px solid #4a4d51;background:#26292d;border-radius:10px;padding:9px 10px}.ig-oauth-btn{display:flex!important;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box;margin-top:15px;font-size:13px}.ig-footnote{font-size:9px;line-height:1.5;color:#526273;margin:12px 2px 0;text-align:center}@media(max-width:620px){.ig-permissions{grid-template-columns:1fr}}

/* ===== V7.46 ACCOUNT DRAWER FULL-VIEW REFERENCE FIX ===== */
@media(min-width:901px){
  #accountDrawerBackdrop.account-drawer-backdrop{
    left:270px!important;z-index:9998!important;background:rgba(2,8,20,.38)!important;backdrop-filter:blur(2px)!important;
  }
  #accountDrawer.account-drawer{
    left:282px!important;top:14px!important;bottom:14px!important;width:372px!important;height:calc(100dvh - 28px)!important;max-height:calc(100dvh - 28px)!important;
    z-index:10001!important;border-radius:18px!important;border:1px solid #484b4f!important;background:linear-gradient(180deg,#181b1f 0%,#1c1f23 100%)!important;
    box-shadow:0 26px 70px rgba(0,8,25,.55)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;
  }
  body:has(.app.sidebar-mini) #accountDrawer.account-drawer{left:98px!important}
  body:has(.app.sidebar-mini) #accountDrawerBackdrop.account-drawer-backdrop{left:86px!important}
  #accountDrawer .account-drawer-head{flex:0 0 auto!important;padding:16px 16px 10px!important}
  #accountDrawer .account-drawer-head h2{font-size:18px!important}
  #accountDrawer .account-drawer-head p{font-size:10px!important}
  #accountDrawer .account-drawer-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:0 12px 8px!important;scrollbar-width:thin!important}
  #accountDrawer .account-identity{grid-template-columns:52px 1fr 16px!important;gap:11px!important;padding:11px!important;margin-bottom:9px!important;border-radius:12px!important}
  #accountDrawer .account-photo{width:48px!important;height:48px!important;font-size:19px!important}
  #accountDrawer .account-identity b{font-size:12px!important}#accountDrawer .account-identity small{font-size:9px!important;margin:2px 0 5px!important}
  #accountDrawer .account-identity em{font-size:8px!important;padding:4px 8px!important}
  #accountDrawer .account-drawer-list{border-radius:11px!important}
  #accountDrawer .account-drawer-list>a,#accountDrawer .account-drawer-list>button{min-height:49px!important;padding:6px 9px!important;grid-template-columns:32px 1fr auto!important;gap:9px!important}
  #accountDrawer .ad-icon{width:31px!important;height:31px!important;border-radius:9px!important}
  #accountDrawer .ad-icon .ui-icon{width:16px!important;height:16px!important}
  #accountDrawer .account-drawer-list b{font-size:10.5px!important;margin-bottom:1px!important}
  #accountDrawer .account-drawer-list small{font-size:8.5px!important;line-height:1.25!important}
  #accountDrawer .account-drawer-label{padding:9px 3px 5px!important;font-size:8.5px!important}
  #accountDrawer .account-drawer-logout{flex:0 0 auto!important;margin:0!important;padding:9px 12px 11px!important;background:#1c1c1a!important}
  #accountDrawer .account-drawer-logout button{height:38px!important;border-radius:9px!important;font-size:11px!important}
}
@media(min-width:901px) and (max-height:760px){
  #accountDrawer.account-drawer{top:8px!important;bottom:8px!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;width:360px!important}
  #accountDrawer .account-drawer-head{padding:11px 14px 7px!important}
  #accountDrawer .account-identity{grid-template-columns:44px 1fr 14px!important;padding:8px!important;margin-bottom:6px!important}
  #accountDrawer .account-photo{width:40px!important;height:40px!important}
  #accountDrawer .account-drawer-list>a,#accountDrawer .account-drawer-list>button{min-height:43px!important;padding:5px 8px!important}
  #accountDrawer .ad-icon{width:28px!important;height:28px!important}
  #accountDrawer .account-drawer-label{padding:6px 3px 4px!important}
  #accountDrawer .account-drawer-logout{padding:6px 12px 8px!important}#accountDrawer .account-drawer-logout button{height:34px!important}
}

/* ===== V7.47 COMPACT FULL SIDEBAR VIEW =====
   Keep the complete navigation comfortably visible on common laptop screens. */
@media (min-width:901px){
  aside#sidebar{padding:12px 14px 10px!important;scrollbar-width:thin;scrollbar-color:#4b4e52 transparent}
  aside#sidebar .side-brand{height:64px!important;padding:0 8px 10px!important;top:-12px!important}
  aside#sidebar .brandmark{width:42px!important;height:42px!important;border-radius:11px!important;font-size:22px!important}
  aside#sidebar .side-brand b{font-size:18px!important}
  aside#sidebar .side-brand small{font-size:9px!important}
  aside#sidebar .nav-label{margin:16px 12px 7px!important;font-size:10px!important;line-height:1.2!important}
  aside#sidebar .nav-label.sub{padding-top:12px!important}
  aside#sidebar nav a{min-height:38px!important;padding:8px 11px!important;margin:1px 0!important;border-radius:9px!important;font-size:13px!important;gap:11px!important}
  aside#sidebar nav a .ico{width:22px!important;font-size:17px!important;flex:0 0 22px!important}
  aside#sidebar nav a .ui-icon{width:18px!important;height:18px!important}
  aside#sidebar .notify{padding:2px 6px!important;font-size:9px!important}
  aside#sidebar .sidebar-signout{margin:3px 0 8px!important}
  aside#sidebar .sidebar-signout button{min-height:38px!important;padding:8px 11px!important;font-size:13px!important}
}
@media (min-width:901px) and (max-height:820px){
  aside#sidebar{padding-top:8px!important}
  aside#sidebar .side-brand{height:56px!important;top:-8px!important}
  aside#sidebar .brandmark{width:38px!important;height:38px!important;font-size:20px!important}
  aside#sidebar .nav-label{margin:11px 12px 5px!important}
  aside#sidebar .nav-label.sub{padding-top:8px!important}
  aside#sidebar nav a{min-height:33px!important;padding:6px 10px!important;font-size:12px!important}
  aside#sidebar nav a .ui-icon{width:16px!important;height:16px!important}
}

/* ===== V7.48 REFINED COMPACT SIDEBAR — MATCH CLEAN REFERENCE ===== */
@media (min-width:901px){
  .app{grid-template-columns:250px 1fr!important}
  aside#sidebar{width:250px!important;padding:10px 14px 14px!important;background:linear-gradient(180deg,#202327 0%,#181b1f 72%,#171a1e 100%)!important}
  .content{grid-column:2!important}
  aside#sidebar .side-brand{height:66px!important;padding:4px 7px 11px!important;gap:11px!important;border-bottom:1px solid rgba(129,151,194,.13)!important;position:static!important}
  aside#sidebar .brandmark{width:42px!important;height:42px!important;border-radius:10px!important;font-size:21px!important;box-shadow:0 7px 18px rgba(78,77,255,.25)!important}
  aside#sidebar .side-brand b{font-size:18px!important;line-height:1.05!important;letter-spacing:-.2px!important}
  aside#sidebar .side-brand small{font-size:8px!important;letter-spacing:1.2px!important;margin-top:3px!important}
  aside#sidebar .nav-label{margin:12px 8px 5px!important;font-size:9px!important;line-height:1.2!important;letter-spacing:1.35px!important}
  aside#sidebar .nav-label.sub{margin-top:9px!important;padding-top:11px!important;border-top:1px solid rgba(129,151,194,.13)!important}
  aside#sidebar nav a{min-height:36px!important;padding:7px 9px!important;margin:1px 0!important;border-radius:8px!important;font-size:12px!important;gap:10px!important;line-height:1.1!important}
  aside#sidebar nav a.on{background:linear-gradient(90deg,#526273,#526273)!important;box-shadow:0 6px 18px rgba(81,78,255,.24)!important}
  aside#sidebar nav a .ico{width:20px!important;min-width:20px!important;flex:0 0 20px!important;font-size:16px!important;display:grid!important;place-items:center!important}
  aside#sidebar nav a .ui-icon{width:17px!important;height:17px!important;stroke-width:1.9!important}
  aside#sidebar .notify{padding:2px 6px!important;font-size:8px!important}
  aside#sidebar .sidebar-signout button{min-height:36px!important;padding:7px 9px!important;font-size:12px!important}
  #accountDrawerBackdrop.account-drawer-backdrop{left:250px!important}
  #accountDrawer.account-drawer{left:262px!important}
}
@media (min-width:901px) and (max-height:760px){
  aside#sidebar{padding-top:7px!important}
  aside#sidebar .side-brand{height:58px!important;padding-top:1px!important;padding-bottom:8px!important}
  aside#sidebar .brandmark{width:38px!important;height:38px!important;font-size:19px!important}
  aside#sidebar .side-brand b{font-size:17px!important}
  aside#sidebar .nav-label{margin:8px 8px 4px!important;font-size:8.5px!important}
  aside#sidebar .nav-label.sub{margin-top:6px!important;padding-top:8px!important}
  aside#sidebar nav a{min-height:31px!important;padding:5px 9px!important;font-size:11.5px!important}
  aside#sidebar nav a .ui-icon{width:15px!important;height:15px!important}
}

/* V7.49 — Sidebar brand/header precision pass */
@media (min-width: 901px){
  .app{grid-template-columns:250px minmax(0,1fr)!important}
  .content{grid-column:2!important}
  aside#sidebar{
    width:250px!important;
    padding:12px 14px 16px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  aside#sidebar .side-brand{
    box-sizing:border-box!important;
    width:100%!important;
    height:72px!important;
    min-height:72px!important;
    margin:0!important;
    padding:6px 8px 13px!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    position:static!important;
    transform:none!important;
    border-bottom:1px solid rgba(129,151,194,.16)!important;
  }
  aside#sidebar .side-brand .brandmark{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    flex:0 0 44px!important;
    margin:0!important;
    border-radius:11px!important;
    font-size:22px!important;
    line-height:44px!important;
  }
  aside#sidebar .side-brand>div:last-child{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    gap:3px!important;
    padding:0!important;
    margin:0!important;
    line-height:1!important;
  }
  aside#sidebar .side-brand b{
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:19px!important;
    font-weight:800!important;
    line-height:1.08!important;
    letter-spacing:-.25px!important;
    white-space:nowrap!important;
  }
  aside#sidebar .side-brand small{
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#526273!important;
    font-size:8px!important;
    font-weight:600!important;
    line-height:1.15!important;
    letter-spacing:1.55px!important;
    white-space:nowrap!important;
  }
  aside#sidebar .nav-label{margin:12px 8px 5px!important}
  aside#sidebar .nav-label.sub{margin-top:8px!important;padding-top:10px!important}
  aside#sidebar nav a{min-height:36px!important;padding:7px 9px!important;margin:1px 0!important}
}
@media (min-width:901px) and (max-height:760px){
  aside#sidebar{padding-top:8px!important}
  aside#sidebar .side-brand{height:64px!important;min-height:64px!important;padding:3px 7px 10px!important}
  aside#sidebar .side-brand .brandmark{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important;font-size:20px!important;line-height:40px!important}
  aside#sidebar .side-brand b{font-size:18px!important}
  aside#sidebar .nav-label{margin:8px 8px 4px!important}
  aside#sidebar .nav-label.sub{margin-top:6px!important;padding-top:8px!important}
  aside#sidebar nav a{min-height:32px!important;padding:5px 9px!important}
}

/* ===== V7.50 SIDEBAR/CONTENT SEAM FIX =====
   Sidebar is 250px in V7.48/V7.49, so every desktop content offset must use
   the exact same 250px value. This removes the 40px white vertical gap. */
@media (min-width:901px){
  .app{
    display:block!important;
    grid-template-columns:none!important;
  }
  aside#sidebar{
    left:0!important;
    width:250px!important;
  }
  .content{
    display:block!important;
    grid-column:auto!important;
    margin-left:250px!important;
    width:calc(100% - 250px)!important;
    min-width:0!important;
  }
  .content>header{
    left:250px!important;
    width:calc(100% - 250px)!important;
  }
  .sidebar-mini aside#sidebar{width:86px!important}
  .sidebar-mini .content{
    margin-left:86px!important;
    width:calc(100% - 86px)!important;
  }
  .sidebar-mini .content>header{
    left:86px!important;
    width:calc(100% - 86px)!important;
  }
}

/* ===== V7.51 STICKY BRAND + CLEAN COLLAPSED SIDEBAR ===== */
@media (min-width:901px){
  /* Keep the Merchant title frozen while only the menu list scrolls beneath it. */
  aside#sidebar .side-brand{
    position:sticky!important;
    top:-12px!important;
    z-index:80!important;
    margin:-12px -14px 8px!important;
    width:calc(100% + 28px)!important;
    height:84px!important;
    min-height:84px!important;
    padding:18px 22px 12px!important;
    background:linear-gradient(180deg,#202327 0%,#202327 88%,rgba(16,25,54,.985) 100%)!important;
    border-bottom:1px solid rgba(129,151,194,.16)!important;
    overflow:hidden!important;
  }

  /* Collapsed sidebar: show one clean centered M only; never leak Merchant text. */
  .app.sidebar-mini aside#sidebar{
    width:86px!important;
    padding:12px 10px 16px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  .app.sidebar-mini aside#sidebar .side-brand{
    top:-12px!important;
    margin:-12px -10px 8px!important;
    width:86px!important;
    height:84px!important;
    min-height:84px!important;
    padding:18px 0 12px!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:0!important;
    overflow:hidden!important;
  }
  .app.sidebar-mini aside#sidebar .side-brand>div:not(.brandmark){display:none!important}
  .app.sidebar-mini aside#sidebar .brandmark{
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    flex:0 0 44px!important;
    margin:0!important;
    padding:0!important;
    font-size:0!important;
    line-height:1!important;
    overflow:hidden!important;
  }
  .app.sidebar-mini aside#sidebar .brandmark::after{
    content:'M'!important;
    display:block!important;
    font-size:22px!important;
    line-height:1!important;
    font-weight:800!important;
    color:#fff!important;
  }
  .app.sidebar-mini aside#sidebar .nav-label,
  .app.sidebar-mini aside#sidebar nav span,
  .app.sidebar-mini aside#sidebar nav em,
  .app.sidebar-mini aside#sidebar .notify{display:none!important}
  .app.sidebar-mini aside#sidebar nav a{
    width:52px!important;
    min-width:52px!important;
    height:48px!important;
    min-height:48px!important;
    padding:0!important;
    margin:4px auto!important;
    justify-content:center!important;
    gap:0!important;
    border-radius:12px!important;
    overflow:hidden!important;
  }
  .app.sidebar-mini aside#sidebar nav a .ico{
    width:22px!important;
    min-width:22px!important;
    flex:0 0 22px!important;
    margin:0!important;
  }
  .app.sidebar-mini aside#sidebar nav a .ui-icon{width:20px!important;height:20px!important}
  .app.sidebar-mini .content{margin-left:86px!important;width:calc(100% - 86px)!important}
  .app.sidebar-mini .content>header{left:86px!important;width:calc(100% - 86px)!important}
}
/* V7.53 Messenger realtime inbox */
.social-msg{cursor:pointer}.social-msg.active{outline:2px solid rgba(92,82,255,.35);background:rgba(92,82,255,.06)}
.fb-reply-bar{display:flex;gap:10px;margin-top:14px}.fb-reply-bar input{flex:1;min-width:0}.fb-reply-status{font-size:12px;margin-top:7px;opacity:.72}.social-msg .dir{font-size:10px;opacity:.6;margin-left:6px}

/* ===== V7.54 ACCOUNT DRAWER — RAPAT KE SIDEBAR =====
   Hilangkan celah kosong saat Pengaturan Akun dibuka. */
@media (min-width:901px){
  #accountDrawerBackdrop.account-drawer-backdrop{
    left:250px!important;
  }
  #accountDrawer.account-drawer{
    left:252px!important;
  }
  body:has(.app.sidebar-mini) #accountDrawerBackdrop.account-drawer-backdrop,
  .app.sidebar-mini ~ #accountDrawerBackdrop.account-drawer-backdrop{
    left:86px!important;
  }
  body:has(.app.sidebar-mini) #accountDrawer.account-drawer,
  .app.sidebar-mini ~ #accountDrawer.account-drawer{
    left:88px!important;
  }
}

/* ===== V7.55 ACCOUNT DRAWER — EXACT SIDEBAR EDGE =====
   Posisi final juga dikunci via JS berdasarkan sisi kanan sidebar aktual. */
@media (min-width:901px){
  #accountDrawer.account-drawer{margin-left:0!important;}
}

/* ===== V7.57 THEME TOGGLE — segmented icon effect ===== */
.theme-switch{min-width:78px!important;height:42px!important;padding:4px!important;gap:2px!important;border:1px solid #4d5054!important;border-radius:11px!important;background:#2c2f33!important}
.theme-switch .ui-icon{width:30px!important;height:30px!important;padding:6px;border-radius:8px;opacity:.72;transition:.18s ease}
.theme-switch .moon{opacity:.72}
body:not(.dark):not([data-admin-theme="dark-mode"]) .theme-switch .ui-icon:first-child{background:#ffffff;color:#222222;opacity:1;box-shadow:0 3px 10px #0002}
body.dark .theme-switch .ui-icon:first-child,body[data-admin-theme="dark-mode"] .theme-switch .ui-icon:first-child{background:transparent!important;color:#eeeeee!important;opacity:.78;box-shadow:none!important}
body.dark .theme-switch .moon,body[data-admin-theme="dark-mode"] .theme-switch .moon{background:#aa9459!important;color:#ffffff!important;opacity:1!important;box-shadow:0 4px 12px #aa945955}
/* V7.58 advanced account center */
.af-modal{position:fixed;inset:0;z-index:2300;display:grid;place-items:center;padding:22px;background:rgba(2,9,24,.64);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:.2s}.af-modal.show{opacity:1;visibility:visible}.af-dialog{width:min(650px,calc(100vw - 30px));max-height:min(760px,calc(100dvh - 34px));overflow:hidden;border:1px solid #4c4f53;border-radius:22px;background:linear-gradient(180deg,#1f2226,#181b1f);box-shadow:0 34px 100px rgba(0,0,0,.5);color:#f8f7f5;transform:translateY(14px) scale(.98);transition:.22s}.af-modal.show .af-dialog{transform:none}.af-dialog>header{display:grid;grid-template-columns:48px 1fr 38px;gap:13px;align-items:center;padding:20px 22px;border-bottom:1px solid #3e4145}.af-title-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#526273,#526273);box-shadow:0 10px 28px #ab965c33}.af-title-icon .ui-icon{width:22px;height:22px}.af-dialog h3{margin:0 0 4px;font-size:18px}.af-dialog header p{margin:0;color:#526273;font-size:11px}.af-close{width:36px;height:36px;border:0;border-radius:50%;background:#2e3135;color:#526273;font-size:23px;cursor:pointer}.af-body{padding:20px 22px;max-height:560px;overflow:auto}.af-footer{display:flex;justify-content:flex-end;gap:9px;padding:14px 22px;border-top:1px solid #3e4145;background:#1a1a18}.af-btn{border:1px solid #73643b;border-radius:10px;padding:10px 15px;background:#2c2f33;color:#f1efea;font-weight:800;cursor:pointer}.af-btn.primary{border-color:#526273;background:linear-gradient(135deg,#526273,#526273);color:white}.af-btn.danger{border-color:#ff4d76;color:#ff7292;background:#351329}.af-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.af-card{padding:15px;border:1px solid #43464a;border-radius:14px;background:#25282c}.af-card b{display:block;font-size:12px;margin-bottom:5px}.af-card small,.af-muted{color:#526273;font-size:10px;line-height:1.55}.af-switch{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #3e4145}.af-switch:last-child{border:0}.af-switch span b{font-size:12px;display:block}.af-switch span small{font-size:10px;color:#526273}.af-switch input{appearance:none;width:42px;height:24px;border-radius:20px;background:#43464a;position:relative;cursor:pointer;transition:.2s}.af-switch input:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.af-switch input:checked{background:#526273}.af-switch input:checked:after{left:21px}.af-field{display:block;margin:0 0 13px;color:#526273;font-size:11px;font-weight:700}.af-field input,.af-field textarea,.af-field select{box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #4b4e52;border-radius:10px;background:#1d2024;color:#f9f9f7;padding:11px 12px;outline:none}.af-field textarea{min-height:110px;resize:vertical}.af-theme-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.af-theme{border:1px solid #4d5054;border-radius:14px;padding:15px;background:#25282c;color:#fff;text-align:left;cursor:pointer}.af-theme.active{border-color:#526273;box-shadow:0 0 0 2px #52627333}.af-theme-preview{height:70px;border-radius:9px;margin-bottom:10px;background:#f9f9f7;position:relative;overflow:hidden}.af-theme-preview.dark{background:#080808}.af-theme-preview:before{content:"";position:absolute;left:0;top:0;bottom:0;width:28%;background:#23262a}.af-theme-preview:after{content:"";position:absolute;left:34%;right:8%;top:12px;height:12px;border-radius:6px;background:#526273;box-shadow:0 22px 0 #e7e9ec,0 44px 0 #e7e9ec}.af-theme-preview.dark:after{box-shadow:0 22px 0 #171717,0 44px 0 #171717}.af-faq{border:1px solid #43464a;border-radius:12px;margin-bottom:9px;overflow:hidden}.af-faq button{width:100%;padding:13px 14px;border:0;background:#25282c;color:#fff;text-align:left;font-weight:800;cursor:pointer}.af-faq div{display:none;padding:0 14px 13px;color:#526273;font-size:11px;line-height:1.6}.af-faq.open div{display:block}.af-code{padding:12px;border:1px dashed #75663c;border-radius:10px;background:#14171b;color:#526273;font:11px monospace;word-break:break-all}.account-drawer-list .ad-icon .ui-icon{width:18px!important;height:18px!important}.account-drawer-list .ad-icon{color:#fff}.account-drawer-list .ad-glyph{display:none!important}@media(max-width:650px){.af-grid,.af-theme-row{grid-template-columns:1fr}.af-body{padding:16px}.af-dialog>header{padding:16px}}

/* V7.59 — Polished adaptive account popups */
.af-dialog,.shortcut-modal>div{font-family:inherit}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-modal{background:rgba(22,35,60,.36)}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-dialog{background:#ffffff;color:#171717;border-color:#e8e8e8;box-shadow:0 30px 90px rgba(27,43,76,.22)}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-dialog>header{background:linear-gradient(180deg,#ffffff,#fcfcfc);border-color:#eeeeee}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-dialog header p,body:not([data-admin-theme="dark-mode"]):not(.dark) .af-muted,body:not([data-admin-theme="dark-mode"]):not(.dark) .af-card small,body:not([data-admin-theme="dark-mode"]):not(.dark) .af-switch span small{color:#526273}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-close{background:#f5f5f5;color:#526273}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-body{background:#fdfdfd}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-footer{background:#ffffff;border-color:#eeeeee}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-card,body:not([data-admin-theme="dark-mode"]):not(.dark) .af-theme,body:not([data-admin-theme="dark-mode"]):not(.dark) .af-faq{background:#ffffff;color:#171717;border-color:#e9e9e9}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-switch{border-color:#eeeeee;color:#171717}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-field{color:#7b6d46}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-field input,body:not([data-admin-theme="dark-mode"]):not(.dark) .af-field textarea,body:not([data-admin-theme="dark-mode"]):not(.dark) .af-field select{background:#ffffff;color:#171717;border-color:#e3e3e3}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-code{background:#f9f9f9;color:#526273;border-color:#dcdcdc}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-btn{background:#ffffff;color:#2b2b2b;border-color:#dfdfdf}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-faq button{background:#ffffff;color:#171717}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-faq div{color:#526273}
.af-section-title{display:flex;align-items:center;justify-content:space-between;margin:2px 0 10px}.af-section-title b{font-size:12px}.af-section-title small{font-size:10px;color:#526273}.af-option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.af-option{border:1px solid #494c50;background:#23262a;color:#f6f5f3;border-radius:12px;padding:11px;text-align:left;cursor:pointer}.af-option.active{border-color:#526273;box-shadow:0 0 0 2px rgba(101,92,255,.15)}.af-option b{display:block;font-size:11px}.af-option small{display:block;font-size:9px;color:#526273;margin-top:3px}.af-divider{height:1px;background:#3e4145;margin:17px 0}.af-tip{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border-radius:11px;background:rgba(80,100,255,.09);border:1px solid rgba(100,110,255,.18);font-size:10px;line-height:1.5;color:#526273}.af-tip .ui-icon{width:16px;height:16px;flex:none}.af-btn .ui-icon{width:15px;height:15px;vertical-align:-3px;margin-right:5px}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-option{background:#ffffff;color:#171717;border-color:#e7e7e7}body:not([data-admin-theme="dark-mode"]):not(.dark) .af-option small{color:#526273}body:not([data-admin-theme="dark-mode"]):not(.dark) .af-divider{background:#eeeeee}body:not([data-admin-theme="dark-mode"]):not(.dark) .af-tip{color:#526273;background:#f9f9f9;border-color:#f0f0f0}
body[data-admin-theme="dark-mode"] .shortcut-modal,body.dark .shortcut-modal{background:rgba(1,8,21,.68);backdrop-filter:blur(8px)}body[data-admin-theme="dark-mode"] .shortcut-modal>div,body.dark .shortcut-modal>div{background:linear-gradient(180deg,#111111,#080808);border:1px solid #2b2b2b;box-shadow:0 34px 100px rgba(0,0,0,.5)}body[data-admin-theme="dark-mode"] .shortcut-close,body.dark .shortcut-close{background:#171717;color:#d6d6d6}body[data-admin-theme="dark-mode"] .shortcut-modal p,body.dark .shortcut-modal p{color:#526273}
.shortcut-modal{backdrop-filter:blur(8px)}.shortcut-modal>div{border:1px solid #e5e7ea}.shortcut-modal h3{font-size:19px}.shortcut-modal section{min-height:34px}.shortcut-modal kbd{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:700}
@media(max-width:650px){.af-option-grid{grid-template-columns:1fr}.af-dialog{border-radius:18px}.af-footer{flex-wrap:wrap}.af-footer .af-btn{flex:1}}

/* V7.60 — Popup typography contrast fix (light + dark) */
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-dialog h3,
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-dialog>header h3,
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-dialog>header b,
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-dialog>header strong{color:#171717!important;opacity:1!important;-webkit-text-fill-color:#171717!important;text-shadow:none!important}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-dialog>header p{color:#526273!important;opacity:1!important;-webkit-text-fill-color:#526273!important}
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-card b,
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-switch b,
body:not([data-admin-theme="dark-mode"]):not(.dark) .af-section-title b{color:#171717!important;-webkit-text-fill-color:#171717!important}
body[data-admin-theme="dark-mode"] .af-dialog h3,body.dark .af-dialog h3,
body[data-admin-theme="dark-mode"] .af-dialog>header h3,body.dark .af-dialog>header h3{color:#fafafa!important;opacity:1!important;-webkit-text-fill-color:#fafafa!important}
body[data-admin-theme="dark-mode"] .af-dialog>header p,body.dark .af-dialog>header p{color:#526273!important;opacity:1!important;-webkit-text-fill-color:#526273!important}


/* ===== V7.61 DIRECT ACCOUNT ROUTES + COLLAPSED ICON + PROFILE ALIGNMENT ===== */
/* Real profile pages should navigate directly; popup-only tools stay modal. */
.account-drawer-list>a{box-sizing:border-box}
.social-hub-ico{display:grid!important;place-items:center!important}
.social-hub-ico .ui-icon{display:block!important;width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important}
@media (min-width:901px){
  .app.sidebar-mini aside#sidebar nav a .ico{display:grid!important;place-items:center!important;width:52px!important;height:48px!important;flex:0 0 52px!important;margin:0!important}
  .app.sidebar-mini aside#sidebar nav a .ico .ui-icon{display:block!important;width:21px!important;height:21px!important;stroke:currentColor!important;fill:none!important}
  .app.sidebar-mini aside#sidebar .side-brand{display:grid!important;place-items:center!important}
  .app.sidebar-mini aside#sidebar .brandmark{position:relative!important;inset:auto!important;transform:none!important}
}
.ps-avatar{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1!important;padding:0!important}
.ps-avatar-letter{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;line-height:1!important;transform:translateY(-1px)}
@media(max-width:850px){
 .ps-page{width:100%!important;max-width:100%!important;margin:0 auto!important}
 .ps-profile-card{width:100%!important;min-width:0!important;max-width:520px!important;margin:0 auto!important;left:auto!important;right:auto!important;transform:none!important}
}

/* V7.62 shell navigation feedback */
html::before{content:"";position:fixed;left:0;top:0;width:0;height:3px;z-index:100000;background:linear-gradient(90deg,#526273,#526273);opacity:0;transition:opacity .16s ease,width .22s ease;pointer-events:none}
html.app-nav-loading::before{width:72%;opacity:1;animation:merchantNavProgress 1s ease-in-out infinite alternate}
@keyframes merchantNavProgress{from{width:24%}to{width:86%}}
main.content section.page{transition:opacity .12s ease}
html.app-nav-loading main.content section.page{opacity:.82}

/* ===== V7.63 FAST SPA + FIXED MINI SIDEBAR ===== */
@media (min-width:901px){
  .app,.content,.content>header,aside#sidebar{transition:none!important}
  .app.sidebar-mini{grid-template-columns:86px minmax(0,1fr)!important}
  .app.sidebar-mini aside#sidebar{width:86px!important;min-width:86px!important;max-width:86px!important;padding:12px 10px 16px!important}
  .app.sidebar-mini .content{margin-left:86px!important;width:calc(100% - 86px)!important;min-width:0!important}
  .app.sidebar-mini .content>header{left:86px!important;width:calc(100% - 86px)!important}
  .app.sidebar-mini aside#sidebar .side-brand{width:86px!important;min-width:86px!important;max-width:86px!important;margin:-12px -10px 8px!important;padding:18px 0 12px!important}
  .app.sidebar-mini aside#sidebar nav{width:66px!important;margin:0 auto!important}
  .app.sidebar-mini aside#sidebar nav a{width:52px!important;min-width:52px!important;max-width:52px!important;height:48px!important;margin:4px auto!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .app.sidebar-mini aside#sidebar nav a .ico{width:22px!important;min-width:22px!important;max-width:22px!important;height:22px!important;margin:0!important;display:grid!important;place-items:center!important}
  .app.sidebar-mini aside#sidebar nav a.on{width:52px!important;min-width:52px!important;max-width:52px!important}
}
html.app-nav-loading body{cursor:progress}
html.app-nav-loading main.content section.page{opacity:.985}

/* ===== V7.64 COMPACT COLLAPSED SIDEBAR — ICONS STAY ORIGINAL SIZE ===== */
@media (min-width:901px){
  .app.sidebar-mini{grid-template-columns:60px minmax(0,1fr)!important}
  .app.sidebar-mini aside#sidebar{
    width:60px!important;min-width:60px!important;max-width:60px!important;
    padding:12px 8px 16px!important;
  }
  .app.sidebar-mini .content{margin-left:60px!important;width:calc(100% - 72px)!important}
  .app.sidebar-mini .content>header{left:60px!important;width:calc(100% - 72px)!important}
  .app.sidebar-mini aside#sidebar .side-brand{
    width:60px!important;min-width:60px!important;max-width:60px!important;
    margin:-12px -8px 8px!important;padding:18px 0 12px!important;
  }
  .app.sidebar-mini aside#sidebar .brandmark{
    width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important;
  }
  .app.sidebar-mini aside#sidebar nav{width:56px!important;margin:0 auto!important}
  .app.sidebar-mini aside#sidebar nav a,
  .app.sidebar-mini aside#sidebar nav a.on{
    box-sizing:border-box!important;width:42px!important;min-width:42px!important;max-width:42px!important;
    height:42px!important;min-height:42px!important;max-height:42px!important;
    padding:0!important;margin:3px auto!important;border-radius:10px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;
    transform:none!important;
  }
  .app.sidebar-mini aside#sidebar nav a:hover{transform:none!important}
  .app.sidebar-mini aside#sidebar nav a .ico{
    width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;
    flex:0 0 20px!important;margin:0!important;padding:0!important;font-size:18px!important;
    display:grid!important;place-items:center!important;
  }
  .app.sidebar-mini aside#sidebar nav a .ico .ui-icon,
  .app.sidebar-mini aside#sidebar nav a .ui-icon{width:19px!important;height:19px!important}
  .app.sidebar-mini .sidebar-signout button{width:42px!important;height:42px!important;min-height:42px!important}
  .app.sidebar-mini .collapse-btn{left:52px!important;width:32px!important;height:32px!important}
}


/* ===== V7.65 COLLAPSED SIDEBAR HOVER LABEL ===== */
@media (min-width:901px){
  .app.sidebar-mini aside#sidebar{overflow:visible!important}
  .app.sidebar-mini aside#sidebar nav{overflow:visible!important}
  .app.sidebar-mini aside#sidebar nav a{position:relative!important;overflow:visible!important}
  .app.sidebar-mini aside#sidebar nav a::after{
    content:attr(data-menu-label);
    position:absolute;left:calc(100% + 13px);top:50%;transform:translateY(-50%) translateX(-4px);
    z-index:10050;display:block;max-width:220px;padding:9px 13px;border-radius:9px;
    background:#26292d;color:#fff;font-size:13px;font-weight:700;line-height:1;white-space:nowrap;
    box-shadow:0 10px 28px rgba(2,8,23,.28);border:1px solid rgba(255,255,255,.08);
    opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
  }
  .app.sidebar-mini aside#sidebar nav a::before{
    content:"";position:absolute;left:calc(100% + 7px);top:50%;transform:translateY(-50%);
    z-index:10051;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:7px solid #26292d;
    opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease,visibility .12s ease;
  }
  .app.sidebar-mini aside#sidebar nav a:hover::after,
  .app.sidebar-mini aside#sidebar nav a:focus-visible::after{opacity:1;visibility:visible;transform:translateY(-50%) translateX(0)}
  .app.sidebar-mini aside#sidebar nav a:hover::before,
  .app.sidebar-mini aside#sidebar nav a:focus-visible::before{opacity:1;visibility:visible}
}


/* ===== V7.66 ACCOUNT DRAWER CLEAN SEAM + SYSTEM LINKS ===== */
@media (min-width:901px){
  #accountDrawer.account-drawer{
    border:0!important;
    border-radius:0 18px 18px 0!important;
    box-shadow:18px 22px 58px rgba(1,8,25,.34)!important;
  }
  #accountDrawer.account-drawer.show{transform:translateX(0)!important}
}
#accountDrawer .account-drawer-head{border-bottom:0!important}
#accountDrawer .account-drawer-list{border:0!important;background:#23262a!important;box-shadow:none!important}
#accountDrawer .account-drawer-list>a,#accountDrawer .account-drawer-list>button{border:0!important;border-bottom:1px solid rgba(119,151,196,.14)!important}
#accountDrawer .account-drawer-list>*:last-child{border-bottom:0!important}
#accountDrawer .account-drawer-list>a:hover,#accountDrawer .account-drawer-list>button:hover{background:#2f3236!important}
#accountDrawer .account-direct-links{background:#23262a!important}
#accountDrawer .account-direct-links a{min-height:50px!important}
#accountDrawer .account-drawer-label{padding-top:10px!important}
#accountDrawer .account-drawer-scroll{padding-top:8px!important}
#sidebar nav a.social-hub-nav{border:0!important;box-shadow:none!important}

/* ===== V7.67 ACCOUNT DRAWER — ZERO GAP / ZERO STROKE ===== */
@media (min-width:901px){
  #accountDrawer.account-drawer{
    border:0!important;
    outline:0!important;
    border-left:0!important;
    border-radius:0 18px 18px 0!important;
    box-shadow:18px 18px 48px rgba(1,8,25,.28)!important;
  }
}
#accountDrawer .account-drawer-head,
#accountDrawer .account-identity,
#accountDrawer .account-drawer-list,
#accountDrawer .account-drawer-list>a,
#accountDrawer .account-drawer-list>button,
#accountDrawer .account-direct-links,
#accountDrawer .account-drawer-logout,
#accountDrawer .account-drawer-logout button{
  outline:0!important;
}
#accountDrawer .account-identity{
  border:0!important;
  box-shadow:none!important;
  background:#23262a!important;
}
#accountDrawer .account-drawer-list,
#accountDrawer .account-direct-links{
  border:0!important;
  box-shadow:none!important;
  background:#23262a!important;
}
#accountDrawer .account-drawer-list>a,
#accountDrawer .account-drawer-list>button{
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  background:#23262a!important;
}
#accountDrawer .account-drawer-list>a:hover,
#accountDrawer .account-drawer-list>button:hover{background:#2f3236!important}

/* ===== V7.68 ACCOUNT DRAWER — FULL HEIGHT TO TOP ===== */
@media (min-width:901px){
  #accountDrawer.account-drawer{
    top:0!important;
    bottom:0!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-top:0!important;
    border-bottom:0!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    box-shadow:12px 0 32px rgba(1,8,25,.22)!important;
  }
  #accountDrawer .account-drawer-head{
    padding-top:18px!important;
  }
}

/* V7.71 — Settings drawer entry; header account no longer opens drawer */
#sidebar nav .sidebar-account-settings{width:100%;display:flex;align-items:center;gap:13px;color:#526273;padding:12px 13px;margin:3px 0;border:0;border-radius:9px;font-size:14px;position:relative;background:transparent;text-align:left;cursor:pointer}
#sidebar nav .sidebar-account-settings:hover,#sidebar nav .sidebar-account-settings:focus-visible{background:#292c30;color:#fff;outline:0}
#sidebar nav .sidebar-account-settings .ico{display:grid;place-items:center;flex:0 0 24px}
#sidebar nav .sidebar-account-settings .ui-icon{width:20px;height:20px}
body.sidebar-collapsed #sidebar nav .sidebar-account-settings{justify-content:center;padding-left:0!important;padding-right:0!important;gap:0}
body.sidebar-collapsed #sidebar nav .sidebar-account-settings span{display:none!important}
body.sidebar-collapsed #sidebar nav .sidebar-account-settings:after{content:attr(data-menu-label);position:fixed;left:82px;transform:translateY(0);padding:8px 11px;border-radius:8px;background:#272a2e;color:#fff;font-size:12px;font-weight:700;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 10px 25px rgba(3,10,28,.28);z-index:2500}
body.sidebar-collapsed #sidebar nav .sidebar-account-settings:hover:after{opacity:1;visibility:visible}
.account-pill{padding-right:12px!important}
.account-pill .account-divider{display:none!important}

/* ===== V7.72 SETTINGS PINNED TO SIDEBAR BOTTOM ===== */
@media (min-width:901px){
  aside#sidebar{overflow:hidden!important;display:flex!important;flex-direction:column!important}
  aside#sidebar .side-brand{flex:0 0 auto!important}
  aside#sidebar>nav{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;width:100%!important}
  aside#sidebar>nav .sidebar-account-settings{margin-top:auto!important;margin-bottom:4px!important;flex:0 0 auto!important}
}


/* ===== V7.73 PROFILE PINNED BELOW SETTINGS ===== */
@media (min-width:901px){
  aside#sidebar>nav .sidebar-account-settings{margin-top:auto!important;margin-bottom:2px!important}
  aside#sidebar>nav .sidebar-profile-link{margin-top:0!important;margin-bottom:4px!important;flex:0 0 auto!important}
}
body.sidebar-collapsed #sidebar nav .sidebar-profile-link:after{content:attr(data-menu-label);position:fixed;left:82px;padding:8px 11px;border-radius:8px;background:#272a2e;color:#fff;font-size:12px;font-weight:700;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 10px 25px rgba(3,10,28,.28);z-index:2500}
body.sidebar-collapsed #sidebar nav .sidebar-profile-link:hover:after{opacity:1;visibility:visible}

/* V7.74 PROFILE INFORMATION DRAWER */
.profile-info-drawer{position:fixed;z-index:10003;left:76px;top:0;bottom:0;width:440px;background:linear-gradient(180deg,#2a2d31 0%,#1c1c1a 100%);color:#fff;box-shadow:24px 0 70px rgba(2,10,28,.38);display:flex;flex-direction:column;transform:translateX(-20px);opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease;overflow:hidden}.profile-info-drawer.show{transform:none;opacity:1;visibility:visible;pointer-events:auto}.profile-info-backdrop{z-index:10002!important}.profile-info-backdrop.show{display:block!important;opacity:1!important;visibility:visible!important}.pid-head{height:88px;display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid rgba(151,180,226,.16);flex:0 0 auto}.pid-head-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#526273,#526273)}.pid-head-icon .ui-icon{width:20px;height:20px}.pid-head h2{font-size:20px;margin:0 0 4px}.pid-head p{font-size:10px;color:#526273;margin:0}.pid-head>button{margin-left:auto;width:36px;height:36px;border:0;border-radius:10px;background:#393c40;color:#f1efea;font-size:24px}.pid-scroll{padding:14px 16px;overflow-y:auto;min-height:0;flex:1}.pid-hero{position:relative;border-radius:15px;padding:18px;background:radial-gradient(circle at 25% 20%,#b71b25 0,#8d1019 28%,#4b0c1d 62%,#1b1e22 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);overflow:hidden}.pid-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,190,65,.16),transparent 38%,rgba(255,40,70,.12));pointer-events:none}.pid-online{position:absolute;right:12px;top:12px;background:#087c45;color:#dffff0;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800;z-index:2}.pid-online i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4aff9d;margin-right:5px}.pid-avatar{width:92px;height:92px;border-radius:20px;background:linear-gradient(145deg,#e3e5e8,#c89027);padding:5px;display:grid;place-items:center;float:left;margin-right:16px;position:relative;z-index:1}.pid-avatar img{width:100%;height:100%;object-fit:cover;border-radius:16px}.pid-avatar>span{width:100%;height:100%;display:grid;place-items:center;border-radius:16px;background:#c71425;color:#fff;font-size:42px;font-weight:900}.pid-title{min-height:96px;padding-top:16px;position:relative;z-index:1}.pid-title h3{font-size:20px;margin:0 0 6px}.pid-title h3 span{color:#ffc928}.pid-title>b{display:inline-block;background:linear-gradient(90deg,#d69b28,#9c6717);padding:5px 9px;border-radius:6px;font-size:10px}.pid-title p{display:flex;align-items:center;gap:6px;font-size:10px;color:#f2dfe4;margin:8px 0 0}.pid-title p .ui-icon{width:13px;height:13px}.pid-stats{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:12px;position:relative;z-index:1}.pid-stats article{min-height:58px;border-radius:9px;background:rgba(11,25,53,.78);padding:9px 10px 8px 43px;position:relative}.pid-stats article i{position:absolute;left:9px;top:12px;width:27px;height:27px;border-radius:7px;display:grid;place-items:center;background:#34373b;color:#526273}.pid-stats article:nth-child(2) i{background:#33363a;color:#526273}.pid-stats article:nth-child(3) i{background:#472044;color:#ff75d0}.pid-stats article:nth-child(4) i{background:#453815;color:#ffd12d}.pid-stats .ui-icon{width:15px;height:15px}.pid-stats span,.pid-stats b{display:block}.pid-stats span{font-size:9px;color:#526273}.pid-stats b{font-size:10px;margin-top:3px;color:#fff}.pid-menu{margin-top:14px;border-radius:13px;overflow:hidden;background:#272a2e}.pid-menu a{min-height:60px;display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:10px;padding:7px 12px;color:#fff;text-decoration:none}.pid-menu a+a{border-top:1px solid rgba(132,166,215,.13)}.pid-menu a.active{background:linear-gradient(90deg,#ad9860,#8a7847)}.pid-menu a>i{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#526273}.pid-menu a>i.cyan{background:#7d6d40}.pid-menu a>i.pink{background:#713263}.pid-menu a>i.slate{background:#4d5054}.pid-menu .ui-icon{width:18px;height:18px}.pid-menu a>svg{color:#526273;width:15px!important}.pid-menu b,.pid-menu small{display:block}.pid-menu b{font-size:12px}.pid-menu small{font-size:9px;color:#526273;margin-top:3px}.pid-secondary{border-top:1px solid rgba(132,166,215,.18);margin-top:15px;padding-top:12px}.pid-secondary button{width:100%;border:0;background:transparent;color:#f6f4f1;display:grid;grid-template-columns:34px 1fr;text-align:left;align-items:center;padding:8px 10px;border-radius:9px}.pid-secondary button:hover{background:#2e3135}.pid-secondary>.ui-icon,.pid-secondary button>.ui-icon{width:20px;height:20px;color:#526273}.pid-secondary b,.pid-secondary small{display:block}.pid-secondary b{font-size:11px}.pid-secondary small{font-size:9px;color:#526273;margin-top:2px}.pid-logout{padding:10px 16px 14px;flex:0 0 auto}.pid-logout button{width:100%;height:54px;border:0;border-radius:10px;background:linear-gradient(90deg,rgba(155,35,50,.32),rgba(81,28,57,.36));color:#ff6072;display:flex;align-items:center;gap:12px;padding:0 14px;text-align:left}.pid-logout .ui-icon{width:22px;height:22px}.pid-logout b,.pid-logout small{display:block}.pid-logout b{font-size:12px}.pid-logout small{font-size:9px;margin-top:2px}.sidebar-profile-link{font:inherit;text-align:left}
@media(max-width:900px){.profile-info-drawer{left:0;width:min(440px,calc(100vw - 14px))}}

/* ===== V7.75 PROFILE DRAWER — MATCH ACCOUNT SETTINGS UI ===== */
#profileInfoDrawer.profile-info-drawer{
  left:312px!important;top:8px!important;bottom:8px!important;width:448px!important;height:calc(100dvh - 16px)!important;
  border:0!important;border-radius:0 18px 18px 0!important;padding:0!important;
  background:#1c1f23!important;box-shadow:18px 0 50px rgba(2,10,28,.34)!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  transform:translateX(-18px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
#profileInfoDrawer.profile-info-drawer.show{transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
#profileInfoDrawer .pid-head{height:auto!important;min-height:78px!important;padding:15px 18px 12px!important;gap:11px!important;border:0!important;background:#1c1f23!important}
#profileInfoDrawer .pid-head-icon{width:38px!important;height:38px!important;border-radius:10px!important;background:linear-gradient(145deg,#526273,#526273)!important}
#profileInfoDrawer .pid-head h2{font-size:20px!important;line-height:1.15!important;margin:0 0 5px!important}
#profileInfoDrawer .pid-head p{font-size:10px!important;color:#526273!important}
#profileInfoDrawer .pid-head>button{width:36px!important;height:36px!important;border-radius:50%!important;background:#34373b!important}
#profileInfoDrawer .pid-scroll{padding:8px 14px 10px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:#526273 transparent}
#profileInfoDrawer .pid-scroll::-webkit-scrollbar{width:5px}#profileInfoDrawer .pid-scroll::-webkit-scrollbar-thumb{background:#526273;border-radius:9px}
#profileInfoDrawer .pid-hero{padding:14px!important;border-radius:14px!important;background:#292c30!important;box-shadow:none!important;border:0!important;overflow:visible!important}
#profileInfoDrawer .pid-hero:after{display:none!important}
#profileInfoDrawer .pid-online{right:12px!important;top:12px!important;padding:5px 9px!important;background:#0a7c50!important}
#profileInfoDrawer .pid-avatar{width:66px!important;height:66px!important;border-radius:16px!important;padding:0!important;margin-right:12px!important;background:linear-gradient(145deg,#ff3264,#526273)!important;box-shadow:none!important}
#profileInfoDrawer .pid-avatar img,#profileInfoDrawer .pid-avatar>span{border-radius:16px!important}
#profileInfoDrawer .pid-avatar>span{font-size:29px!important;background:transparent!important}
#profileInfoDrawer .pid-title{min-height:68px!important;padding-top:4px!important;padding-right:72px!important}
#profileInfoDrawer .pid-title h3{font-size:15px!important;margin:0 0 5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#profileInfoDrawer .pid-title>b{padding:4px 8px!important;border-radius:999px!important;background:#aa955a!important;font-size:9px!important}
#profileInfoDrawer .pid-title p{font-size:9px!important;color:#526273!important;margin-top:6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#profileInfoDrawer .pid-stats{gap:7px!important;padding-top:10px!important}
#profileInfoDrawer .pid-stats article{min-height:53px!important;border-radius:10px!important;background:#1f2226!important;padding:8px 8px 7px 40px!important}
#profileInfoDrawer .pid-stats article i{left:8px!important;top:10px!important;width:27px!important;height:27px!important;border-radius:8px!important}
#profileInfoDrawer .pid-stats span{font-size:8px!important}#profileInfoDrawer .pid-stats b{font-size:9px!important;margin-top:2px!important}
#profileInfoDrawer .pid-menu{margin-top:10px!important;border-radius:13px!important;background:#292c30!important;overflow:hidden!important}
#profileInfoDrawer .pid-menu a{min-height:52px!important;grid-template-columns:36px 1fr 15px!important;gap:9px!important;padding:7px 10px!important;background:transparent!important}
#profileInfoDrawer .pid-menu a.active{background:#393c40!important}
#profileInfoDrawer .pid-menu a:hover{background:#33363a!important}
#profileInfoDrawer .pid-menu a>i{width:34px!important;height:34px!important;border-radius:9px!important}
#profileInfoDrawer .pid-menu b{font-size:11px!important}#profileInfoDrawer .pid-menu small{font-size:8.5px!important;margin-top:2px!important;color:#526273!important}
#profileInfoDrawer .pid-secondary{margin-top:11px!important;padding-top:10px!important;border-top:1px solid rgba(135,165,210,.14)!important}
#profileInfoDrawer .pid-secondary button{min-height:48px!important;padding:6px 10px!important;grid-template-columns:34px 1fr!important;border-radius:9px!important}
#profileInfoDrawer .pid-secondary button:hover{background:#2d3034!important}
#profileInfoDrawer .pid-secondary b{font-size:10.5px!important}#profileInfoDrawer .pid-secondary small{font-size:8.5px!important}
#profileInfoDrawer .pid-logout{padding:9px 14px 11px!important;background:#1c1f23!important}
#profileInfoDrawer .pid-logout button{height:44px!important;border:1px solid #ff3d70!important;border-radius:10px!important;background:rgba(100,16,51,.25)!important;justify-content:center!important;padding:0 12px!important}
#profileInfoDrawer .pid-logout button span{display:flex!important;align-items:center!important;gap:7px!important}#profileInfoDrawer .pid-logout small{display:none!important}
#profileInfoDrawer .pid-logout b{font-size:11px!important}
.sidebar-profile-link{background:transparent!important;color:#dadcdf!important;border:0!important;box-shadow:none!important;border-radius:10px!important}
.sidebar-profile-link:hover{background:#2a2d31!important}.sidebar-profile-link.on{background:linear-gradient(90deg,#526273,#526273)!important;color:#fff!important}
@media(max-width:900px){#profileInfoDrawer.profile-info-drawer{left:76px!important;right:0!important;top:0!important;bottom:0!important;width:auto!important;height:100dvh!important;border-radius:0!important}}

/* ===== V7.76 PROFILE DRAWER — SAME LAYOUT AS ACCOUNT SETTINGS ===== */
@media (min-width:901px){
  #profileInfoDrawer.profile-info-drawer{
    top:0!important;bottom:0!important;height:100dvh!important;max-height:100dvh!important;
    width:450px!important;margin:0!important;border:0!important;border-radius:0!important;
    background:#1c1f23!important;box-shadow:12px 0 32px rgba(1,8,25,.22)!important;
  }
  #profileInfoBackdrop.profile-info-backdrop{
    top:0!important;right:0!important;bottom:0!important;
    background:rgba(2,8,20,.38)!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
}
#profileInfoBackdrop.profile-info-backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
#profileInfoDrawer .pid-head{min-height:82px!important;padding:18px 18px 12px!important;background:#1c1f23!important;border:0!important}
#profileInfoDrawer .pid-scroll{padding:8px 14px 10px!important}
#profileInfoDrawer .pid-hero{margin:0!important;padding:14px!important;background:#23262a!important;border:0!important;outline:0!important;box-shadow:none!important}
#profileInfoDrawer .pid-menu{margin:10px 0 0!important;background:#23262a!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:13px!important}
#profileInfoDrawer .pid-menu a{min-height:50px!important;padding:6px 10px!important;border:0!important;outline:0!important;box-shadow:none!important;background:#23262a!important}
#profileInfoDrawer .pid-menu a+a{border-top:0!important}
#profileInfoDrawer .pid-menu a.active{background:#2f3236!important}
#profileInfoDrawer .pid-menu a:hover{background:#2f3236!important}
#profileInfoDrawer .pid-menu a>i{width:34px!important;height:34px!important}
#profileInfoDrawer .pid-secondary{margin:10px 0 0!important;padding:8px 0 0!important;border-top:1px solid rgba(119,151,196,.14)!important}
#profileInfoDrawer .pid-secondary button{min-height:46px!important;padding:5px 10px!important;margin:0!important;border:0!important;outline:0!important;box-shadow:none!important}
#profileInfoDrawer .pid-logout{padding:9px 14px 11px!important;background:#1c1f23!important}
#profileInfoDrawer .pid-logout button{height:44px!important}

/* ===== V7.77 PROFILE DRAWER — CLEAN MENU + BLUR CONTENT ONLY ===== */
@media (min-width:901px){
  #profileInfoBackdrop.profile-info-backdrop{
    background:rgba(3,10,26,.42)!important;
    -webkit-backdrop-filter:blur(4px)!important;
    backdrop-filter:blur(4px)!important;
  }
  #profileInfoDrawer.profile-info-drawer{
    width:450px!important;
    background:#1c1f23!important;
  }
}
#profileInfoDrawer .pid-head{height:auto!important;min-height:86px!important;padding:18px 18px 14px!important;gap:12px!important}
#profileInfoDrawer .pid-scroll{padding:10px 16px 12px!important}
#profileInfoDrawer .pid-hero{padding:16px!important;border-radius:14px!important;margin:0 0 12px!important}
#profileInfoDrawer .pid-menu{margin:0!important;border-radius:13px!important;padding:0!important;overflow:hidden!important}
#profileInfoDrawer .pid-menu a{min-height:56px!important;padding:8px 12px!important;grid-template-columns:36px minmax(0,1fr) 16px!important;gap:11px!important;align-items:center!important}
#profileInfoDrawer .pid-menu a>i{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;flex:none!important}
#profileInfoDrawer .pid-menu a span{min-width:0!important}
#profileInfoDrawer .pid-menu b{font-size:12px!important;line-height:1.2!important;margin:0 0 3px!important}
#profileInfoDrawer .pid-menu small{font-size:9px!important;line-height:1.25!important;margin:0!important}
#profileInfoDrawer .pid-secondary{margin-top:12px!important;padding-top:10px!important}
#profileInfoDrawer .pid-secondary button{min-height:50px!important;padding:7px 12px!important;gap:11px!important}
#profileInfoDrawer .pid-logout{padding:10px 16px 12px!important}

/* ===== V7.78 SIDEBAR BOTTOM PROFILE COMPACT ALIGNMENT ===== */
#sidebar>nav>.sidebar-account-settings,
#sidebar>nav>.sidebar-profile-link{
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  flex:0 0 44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:13px!important;
  padding:0 13px!important;
  margin-left:0!important;
  margin-right:0!important;
  border:0!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  font:inherit!important;
  font-size:14px!important;
  line-height:1!important;
  text-align:left!important;
}
#sidebar>nav>.sidebar-account-settings{margin-top:auto!important;margin-bottom:3px!important}
#sidebar>nav>.sidebar-profile-link{margin-top:0!important;margin-bottom:4px!important}
#sidebar>nav>.sidebar-account-settings .ico,
#sidebar>nav>.sidebar-profile-link .ico{
  width:24px!important;height:24px!important;flex:0 0 24px!important;
  display:grid!important;place-items:center!important;margin:0!important;padding:0!important;
}
#sidebar>nav>.sidebar-account-settings .ico .ui-icon,
#sidebar>nav>.sidebar-profile-link .ico .ui-icon{width:20px!important;height:20px!important}
#sidebar>nav>.sidebar-account-settings>span,
#sidebar>nav>.sidebar-profile-link>span{
  display:block!important;margin:0!important;padding:0!important;line-height:1!important;white-space:nowrap!important;
}
#sidebar>nav>.sidebar-profile-link.on{
  background:linear-gradient(90deg,#526273,#526273)!important;
  color:#fff!important;box-shadow:0 8px 22px rgba(81,78,255,.24)!important;
}
@media (min-width:901px){
  body.sidebar-collapsed #sidebar>nav>.sidebar-account-settings,
  body.sidebar-collapsed #sidebar>nav>.sidebar-profile-link{
    width:52px!important;height:48px!important;min-height:48px!important;max-height:48px!important;flex-basis:48px!important;
    margin-left:auto!important;margin-right:auto!important;padding:0!important;justify-content:center!important;gap:0!important;
  }
  body.sidebar-collapsed #sidebar>nav>.sidebar-account-settings>span,
  body.sidebar-collapsed #sidebar>nav>.sidebar-profile-link>span{display:none!important}
}


/* ===== V7.79 ACCOUNT DRAWER — COMPACT / NO LOGOUT ===== */
@media (min-width:901px){
  #accountDrawer.account-drawer{
    width:330px!important;
  }
  #accountDrawer .account-drawer-head{
    padding:15px 15px 10px!important;
  }
  #accountDrawer .account-drawer-scroll{
    padding:7px 11px 12px!important;
  }
  #accountDrawer .account-identity{
    padding:11px!important;
    margin-bottom:8px!important;
    grid-template-columns:52px minmax(0,1fr) 14px!important;
    gap:10px!important;
  }
  #accountDrawer .account-photo{width:50px!important;height:50px!important}
  #accountDrawer .account-drawer-list>a,
  #accountDrawer .account-drawer-list>button{
    min-height:46px!important;
    padding:6px 9px!important;
    grid-template-columns:32px minmax(0,1fr) 14px!important;
    gap:9px!important;
  }
  #accountDrawer .ad-icon{width:32px!important;height:32px!important}
  #accountDrawer .account-drawer-label{padding:9px 3px 5px!important}
}
#accountDrawer .account-drawer-logout{display:none!important}

/* ===== V7.80 TOP ACCOUNT CARD — NARROW / DENSE ===== */
@media (min-width:1251px){
  .content>header .account-pill{
    min-width:238px!important;
    width:238px!important;
    max-width:238px!important;
    height:52px!important;
    padding:6px 9px!important;
    gap:8px!important;
    border-radius:16px!important;
  }
  .content>header .account-pill .header-avatar{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    border-radius:12px!important;
  }
  .content>header .account-pill .head-user{
    flex:1 1 auto!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .content>header .account-name{gap:4px!important;min-width:0!important}
  .content>header .account-name b{
    font-size:12px!important;
    line-height:15px!important;
    max-width:145px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .content>header .account-crown{width:14px!important;height:14px!important;flex:0 0 14px!important}
  .content>header .account-meta{gap:5px!important;margin-top:3px!important;white-space:nowrap!important}
  .content>header .account-role{padding:2px 6px!important;font-size:7px!important;line-height:12px!important}
  .content>header .account-online{font-size:8px!important;gap:4px!important}
  .content>header .account-online em{width:6px!important;height:6px!important}
}

/* ===== V7.81 TOP ACCOUNT CARD — TIGHT CONTENT FIT ===== */
@media (min-width:1251px){
  .content>header .header-actions .account-pill{
    min-width:205px!important;
    width:205px!important;
    max-width:205px!important;
    height:50px!important;
    padding:5px 7px!important;
    gap:7px!important;
    border-radius:15px!important;
    flex:0 0 205px!important;
  }
  .content>header .account-pill .header-avatar{
    width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:11px!important;
  }
  .content>header .account-pill .head-user{
    flex:1 1 0!important;min-width:0!important;width:auto!important;
  }
  .content>header .account-pill .account-name{gap:3px!important;width:100%!important}
  .content>header .account-pill .account-name b{
    font-size:11px!important;line-height:13px!important;max-width:126px!important;
  }
  .content>header .account-pill .account-crown{width:12px!important;height:12px!important;flex:0 0 12px!important}
  .content>header .account-pill .account-meta{gap:4px!important;margin-top:2px!important}
  .content>header .account-pill .account-role{padding:1px 5px!important;font-size:6.5px!important;line-height:11px!important}
  .content>header .account-pill .account-meta>i{height:10px!important}
  .content>header .account-pill .account-online{font-size:7px!important;gap:3px!important}
  .content>header .account-pill .account-online em{width:5px!important;height:5px!important}
}


/* ===== V7.82 SETTINGS / PROFILE RESPONSIBILITY CLEANUP ===== */
/* Settings drawer only contains workspace + system settings. Profile/account items live in Informasi Akun. */
#accountDrawer .account-drawer-scroll{padding-top:10px!important}
#accountDrawer .account-drawer-label:first-child{margin-top:2px!important}

/* Clear, consistent labels for the two bottom sidebar actions in compact mode. */
@media (min-width:901px){
  body.sidebar-collapsed #sidebar>nav>.sidebar-account-settings,
  body.sidebar-collapsed #sidebar>nav>.sidebar-profile-link{position:relative!important;overflow:visible!important}
  body.sidebar-collapsed #sidebar>nav>.sidebar-account-settings:after,
  body.sidebar-collapsed #sidebar>nav>.sidebar-profile-link:after{
    content:attr(data-menu-label)!important;position:fixed!important;left:88px!important;
    min-width:max-content!important;padding:8px 12px!important;border-radius:9px!important;
    background:#222529!important;color:#fff!important;font-size:12px!important;font-weight:800!important;
    line-height:1!important;white-space:nowrap!important;box-shadow:0 10px 28px rgba(0,0,0,.3)!important;
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;z-index:25000!important;
    transform:translateX(-4px)!important;transition:.14s ease!important;
  }
  body.sidebar-collapsed #sidebar>nav>.sidebar-account-settings:hover:after,
  body.sidebar-collapsed #sidebar>nav>.sidebar-profile-link:hover:after{
    opacity:1!important;visibility:visible!important;transform:translateX(0)!important;
  }
}

/* ===== V7.83 COLLAPSED SIDEBAR BOTTOM TOOLTIPS ===== */
@media (min-width:901px){
  .app.sidebar-mini #sidebar>nav>.sidebar-account-settings,
  .app.sidebar-mini #sidebar>nav>.sidebar-profile-link{
    position:relative!important;
    overflow:visible!important;
  }
  .app.sidebar-mini #sidebar>nav>.sidebar-account-settings>span,
  .app.sidebar-mini #sidebar>nav>.sidebar-profile-link>span{
    display:none!important;
  }
  .app.sidebar-mini #sidebar>nav>.sidebar-account-settings::after,
  .app.sidebar-mini #sidebar>nav>.sidebar-profile-link::after{
    content:attr(data-menu-label)!important;
    position:absolute!important;
    left:calc(100% + 12px)!important;
    top:50%!important;
    transform:translate(-5px,-50%)!important;
    padding:9px 13px!important;
    border-radius:9px!important;
    background:#272a2e!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-shadow:0 9px 24px rgba(0,0,0,.32)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:30000!important;
    transition:opacity .14s ease,transform .14s ease,visibility .14s ease!important;
  }
  .app.sidebar-mini #sidebar>nav>.sidebar-account-settings:hover::after,
  .app.sidebar-mini #sidebar>nav>.sidebar-profile-link:hover::after{
    opacity:1!important;
    visibility:visible!important;
    transform:translate(0,-50%)!important;
  }
}

/* ===== V7.84 SETTINGS DRAWER — KEEP PAGE VISIBLE, NO BLUR/DIM ===== */
#accountDrawerBackdrop.account-drawer-backdrop{
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
#accountDrawerBackdrop.account-drawer-backdrop.show{
  opacity:1!important;
  visibility:visible!important;
}

/* ===== V7.85 DRAWER VISIBILITY + ROLE LAYOUT FIX ===== */
/* Settings: page stays fully visible and sharp; drawer stays on top. */
#accountDrawerBackdrop.account-drawer-backdrop,
#accountDrawerBackdrop.account-drawer-backdrop.show{
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  opacity:1!important;
}
/* Profile / Informasi Akun: same no-blur behavior. */
#profileInfoBackdrop.profile-info-backdrop,
#profileInfoBackdrop.profile-info-backdrop.show{
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  opacity:1!important;
}
/* Role & Permission: prevent the role selector from being squeezed/cut off. */
@media (min-width:901px){
  .rp-layout{grid-template-columns:270px minmax(0,1fr)!important;gap:16px!important}
  .rp-left{width:270px!important;min-width:270px!important;overflow:visible!important}
  .rp-role-list{width:100%!important;min-width:0!important;overflow:visible!important}
  .rp-role{width:100%!important;min-width:0!important;margin:6px 0!important;padding:10px!important}
  .rp-role>span{min-width:0!important}
  .rp-role b,.rp-role small{white-space:normal!important;overflow-wrap:anywhere!important}
}

/* ===== V7.86 AUTO-FIT DRAWERS — COMPACT + KEEP PAGE VISIBLE ===== */
@media (min-width:901px){
  /* Pengaturan Akun: lebih ramping supaya tidak terasa kosong/lebar. */
  #accountDrawer.account-drawer{
    width:300px!important;
    max-width:300px!important;
  }
  #accountDrawer .account-drawer-head{padding:14px 14px 9px!important}
  #accountDrawer .account-drawer-scroll{padding:6px 10px 11px!important}
  #accountDrawer .account-drawer-list>a,
  #accountDrawer .account-drawer-list>button{
    min-height:44px!important;
    padding:6px 8px!important;
    grid-template-columns:31px minmax(0,1fr) 13px!important;
    gap:8px!important;
  }
  #accountDrawer .ad-icon{width:31px!important;height:31px!important}
  #accountDrawer .account-drawer-list b{font-size:10.5px!important}
  #accountDrawer .account-drawer-list small{font-size:8.5px!important}

  /* Informasi Akun: kurangi lebar tetapi isi tetap proporsional. */
  #profileInfoDrawer.profile-info-drawer{
    width:360px!important;
    max-width:360px!important;
  }
  #profileInfoDrawer .pid-head{min-height:76px!important;padding:14px 15px 10px!important}
  #profileInfoDrawer .pid-scroll{padding:7px 12px 10px!important}
  #profileInfoDrawer .pid-hero{padding:13px!important}
  #profileInfoDrawer .pid-avatar{width:58px!important;height:58px!important}
  #profileInfoDrawer .pid-title{min-height:60px!important;padding-right:58px!important}
  #profileInfoDrawer .pid-title h3{font-size:14px!important}
  #profileInfoDrawer .pid-menu a{min-height:50px!important;padding:6px 10px!important}
  #profileInfoDrawer .pid-logout{padding:8px 12px 10px!important}

  /* Jangan blur/dim halaman kanan. */
  #accountDrawerBackdrop.account-drawer-backdrop,
  #profileInfoBackdrop.profile-info-backdrop,
  #accountDrawerBackdrop.account-drawer-backdrop.show,
  #profileInfoBackdrop.profile-info-backdrop.show{
    background:transparent!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }

  /* Saat drawer terbuka, halaman kanan otomatis bergeser + mengecil.
     Hasil halaman tetap terlihat utuh dan tidak tertutup drawer. */
  body:has(#accountDrawer.show) .content{
    margin-left:590px!important;
    width:calc(100% - 590px)!important;
    min-width:0!important;
  }
  body:has(#profileInfoDrawer.show) .content{
    margin-left:650px!important;
    width:calc(100% - 650px)!important;
    min-width:0!important;
  }
  body:has(.app.sidebar-mini):has(#accountDrawer.show) .content{
    margin-left:386px!important;
    width:calc(100% - 386px)!important;
  }
  body:has(.app.sidebar-mini):has(#profileInfoDrawer.show) .content{
    margin-left:446px!important;
    width:calc(100% - 446px)!important;
  }

  /* Role & Permission ikut ruang tersedia, tidak kepotong. */
  body:has(#accountDrawer.show) .rp-layout,
  body:has(#profileInfoDrawer.show) .rp-layout{
    grid-template-columns:minmax(190px,230px) minmax(0,1fr)!important;
    gap:12px!important;
  }
  body:has(#accountDrawer.show) .rp-left,
  body:has(#profileInfoDrawer.show) .rp-left{
    width:auto!important;
    min-width:0!important;
    max-width:230px!important;
  }
  body:has(#accountDrawer.show) .page,
  body:has(#profileInfoDrawer.show) .page{
    min-width:0!important;
    overflow-x:hidden!important;
  }
}

/* ===== V7.87 PERSISTENT COMPACT DRAWERS + CLEAN AUTO-FIT ===== */
@media (min-width:901px){
  /* Settings: compact, dense, no wasted horizontal space */
  #accountDrawer.account-drawer{width:270px!important;max-width:270px!important}
  #accountDrawer .account-drawer-head{padding:13px 12px 8px!important}
  #accountDrawer .account-drawer-head h2{font-size:17px!important}
  #accountDrawer .account-drawer-head p{font-size:9px!important}
  #accountDrawer .account-drawer-scroll{padding:5px 8px 9px!important}
  #accountDrawer .account-drawer-label{padding:10px 3px 5px!important;font-size:8px!important}
  #accountDrawer .account-drawer-list>a,#accountDrawer .account-drawer-list>button{min-height:42px!important;padding:5px 7px!important;grid-template-columns:29px minmax(0,1fr) 12px!important;gap:7px!important}
  #accountDrawer .ad-icon{width:29px!important;height:29px!important;border-radius:8px!important}
  #accountDrawer .ad-icon .ui-icon{width:15px!important;height:15px!important}
  #accountDrawer .account-drawer-list b{font-size:10px!important;line-height:1.15!important}
  #accountDrawer .account-drawer-list small{font-size:7.8px!important;line-height:1.25!important}

  /* Informasi Akun: compact but readable */
  #profileInfoDrawer.profile-info-drawer{width:320px!important;max-width:320px!important}
  #profileInfoDrawer .pid-head{min-height:66px!important;padding:11px 12px 8px!important}
  #profileInfoDrawer .pid-head h2{font-size:18px!important}
  #profileInfoDrawer .pid-head p{font-size:9px!important}
  #profileInfoDrawer .pid-scroll{padding:6px 10px 8px!important}
  #profileInfoDrawer .pid-hero{padding:11px!important}
  #profileInfoDrawer .pid-avatar{width:52px!important;height:52px!important}
  #profileInfoDrawer .pid-title{min-height:54px!important;padding-right:48px!important}
  #profileInfoDrawer .pid-title h3{font-size:13px!important}
  #profileInfoDrawer .pid-menu a{min-height:45px!important;padding:5px 8px!important}
  #profileInfoDrawer .pid-menu b{font-size:10.5px!important}
  #profileInfoDrawer .pid-menu small{font-size:8px!important}
  #profileInfoDrawer .pid-logout{padding:7px 10px 9px!important}

  /* Keep page visible and sharp. Give it more usable width than V7.86. */
  body:has(#accountDrawer.show) .content{margin-left:528px!important;width:calc(100% - 528px)!important;min-width:0!important}
  body:has(#profileInfoDrawer.show) .content{margin-left:578px!important;width:calc(100% - 578px)!important;min-width:0!important}
  body:has(.app.sidebar-mini):has(#accountDrawer.show) .content{margin-left:356px!important;width:calc(100% - 356px)!important}
  body:has(.app.sidebar-mini):has(#profileInfoDrawer.show) .content{margin-left:406px!important;width:calc(100% - 406px)!important}

  /* User Management summary cards stay balanced instead of tall/narrow. */
  body:has(#accountDrawer.show) .stats-grid,
  body:has(#profileInfoDrawer.show) .stats-grid{gap:10px!important}
  body:has(#accountDrawer.show) .stat-card,
  body:has(#profileInfoDrawer.show) .stat-card{min-width:0!important;padding-left:12px!important;padding-right:12px!important}
}

/* V7.88 — unified page heading across admin menus */
.mc-page-heading{background:transparent!important;border:0!important;box-shadow:none!important;margin:0 0 18px!important;padding:0!important;min-height:78px;display:block}
.mc-page-heading .crumbline,.mc-page-heading .rp-breadcrumb,.mc-page-heading .v714-crumb,.mc-page-heading .v716-crumb{font-size:12px!important;color:#526273!important;margin:0 0 13px!important;line-height:1.2}
.mc-page-heading .user-titlebar{margin:0!important;padding:0!important;min-height:58px}
.mc-page-heading .title-icon,.mc-page-heading .v714-title-icon,.mc-page-heading .v716-title-icon,.mc-page-heading .rp-hero-icon{width:58px!important;height:58px!important;border-radius:15px!important;flex:0 0 58px!important;background:linear-gradient(135deg,#526273,#526273)!important;color:#fff!important;box-shadow:0 10px 24px #52627330!important}
.mc-page-heading h1{font-size:29px!important;line-height:1.08!important;letter-spacing:-.5px!important;margin:0 0 5px!important;color:#23262a!important}
.mc-page-heading p{font-size:14px!important;line-height:1.4!important;margin:0!important;color:#526273!important}
/* Role & Permission: use same compact title instead of oversized hero */
.mc-rp-heading .rp-hero{min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:block!important}
.mc-rp-heading .rp-hero-copy{display:flex!important;align-items:center!important;gap:17px!important}
.mc-rp-heading .rp-hero-copy>div:last-child>span{display:none!important}
.mc-rp-heading .rp-hero-art,.mc-rp-heading .rp-hero-stats{display:none!important}
/* Audit */
.v715-audit-head.mc-page-heading{display:block!important}
.v715-audit-head.mc-page-heading .v714-audit-title{display:flex!important;align-items:center!important;gap:17px!important}
/* Settings */
.v716-pagehead.mc-page-heading{display:block!important}
.v716-pagehead.mc-page-heading .v716-heading{display:flex!important;align-items:center!important;gap:17px!important}
.v716-pagehead.mc-page-heading .v716-hero{display:none!important}
/* Social Media Hub */
.mc-social-heading .social-hero{min-height:58px!important;padding:0!important;background:transparent!important;color:#23262a!important;box-shadow:none!important;border-radius:0!important;justify-content:flex-start!important}
.mc-social-heading .social-hero>div:first-child{position:relative;padding-left:75px}
.mc-social-heading .social-hero>div:first-child:before{content:'↗';position:absolute;left:0;top:0;width:58px;height:58px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#526273,#526273);color:#fff;font-size:25px;box-shadow:0 10px 24px #52627330}
.mc-social-heading .social-kicker,.mc-social-heading .social-live{display:none!important}
.mc-social-heading .social-hero h1{font-size:29px!important;margin:0 0 5px!important;color:#23262a!important}
.mc-social-heading .social-hero p{font-size:14px!important;color:#526273!important;opacity:1!important}
/* Keep title area aligned when persistent compact drawer is open */
body.account-drawer-open .page,body.profile-info-open .page{min-width:0!important}
@media(max-width:900px){.mc-page-heading h1,.mc-social-heading .social-hero h1{font-size:24px!important}.mc-page-heading p,.mc-social-heading .social-hero p{font-size:12px!important}.mc-page-heading .title-actions{width:auto!important;flex-wrap:wrap}}

/* ===== V7.89 — POLISHED HEADERS + SAFE DRAWER TOP + FAST UI ===== */
@media (min-width:901px){
  /* Drawer starts UNDER the fixed/sticky topbar, never covers/cuts it. */
  #accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer{
    top:74px!important;
    bottom:0!important;
    height:calc(100dvh - 74px)!important;
    max-height:calc(100dvh - 74px)!important;
    border-top:1px solid rgba(255,255,255,.06)!important;
  }
  #accountDrawerBackdrop.account-drawer-backdrop,
  #profileInfoBackdrop.profile-info-backdrop{
    top:74px!important;
    height:calc(100dvh - 74px)!important;
  }
  /* Keep drawers compact and aligned. */
  #accountDrawer.account-drawer{width:270px!important;max-width:270px!important}
  #profileInfoDrawer.profile-info-drawer{width:320px!important;max-width:320px!important}
}

/* Premium, consistent page title card for every admin module. */
.mc-page-heading{
  position:relative!important;
  min-height:92px!important;
  margin:0 0 16px!important;
  padding:14px 18px!important;
  border:1px solid #efede8!important;
  border-radius:18px!important;
  background:linear-gradient(120deg,#ffffff 0%,#fdfdfd 64%,#fafaf9 100%)!important;
  box-shadow:0 8px 28px rgba(28,48,91,.055)!important;
  overflow:hidden!important;
}
.mc-page-heading:after{content:"";position:absolute;right:-55px;top:-90px;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,rgba(104,72,255,.10),rgba(104,72,255,0) 68%);pointer-events:none}
.mc-page-heading .crumbline,.mc-page-heading .rp-breadcrumb,.mc-page-heading .v714-crumb,.mc-page-heading .v716-crumb{margin:0 0 9px!important;font-size:11px!important;color:#526273!important;position:relative;z-index:1}
.mc-page-heading .user-titlebar{min-height:52px!important;gap:14px!important;position:relative;z-index:1}
.mc-page-heading .title-icon,.mc-page-heading .v714-title-icon,.mc-page-heading .v716-title-icon,.mc-page-heading .rp-hero-icon{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:14px!important;box-shadow:0 9px 22px rgba(101,71,255,.22)!important}
.mc-page-heading h1,.mc-social-heading .social-hero h1{font-size:27px!important;letter-spacing:-.55px!important;line-height:1.08!important;margin:0 0 4px!important}
.mc-page-heading p,.mc-social-heading .social-hero p{font-size:13px!important;line-height:1.35!important;max-width:820px!important}
.mc-page-heading .title-actions{position:relative;z-index:2;gap:8px!important}
.mc-page-heading .title-actions button{height:42px!important;padding:0 16px!important;border-radius:11px!important;box-shadow:none!important}

/* Role title follows exactly the same visual rhythm. */
.mc-rp-heading .rp-hero-copy{gap:14px!important;min-height:52px!important}
.mc-rp-heading .rp-hero-copy>div:last-child{min-width:0!important}
.mc-rp-heading .rp-hero-copy h1{white-space:normal!important}

/* Click feedback must feel immediate. */
#accountDrawer a,#accountDrawer button,#profileInfoDrawer a,#profileInfoDrawer button{touch-action:manipulation}
#accountDrawer .account-drawer-list>a:active,#accountDrawer .account-drawer-list>button:active,#profileInfoDrawer .pid-menu>a:active{transform:scale(.992)!important;transition:none!important}
html.app-nav-loading #accountDrawer,html.app-nav-loading #profileInfoDrawer{pointer-events:auto!important;opacity:1!important}

@media(max-width:900px){
  .mc-page-heading{padding:12px!important;border-radius:14px!important;min-height:82px!important}
  .mc-page-heading h1,.mc-social-heading .social-hero h1{font-size:23px!important}
}


/* V7.90 — compact premium page headers, matching System Settings reference */
.mc-page-heading.mc-clean-heading{
  min-height:104px!important; padding:16px 20px!important; margin:0 0 12px!important;
  display:flex!important; align-items:center!important; border-radius:18px!important;
}
.mc-page-heading.mc-clean-heading .user-titlebar{display:flex!important;align-items:center!important;width:100%!important;min-height:68px!important;gap:16px!important}
.mc-page-heading.mc-clean-heading .title-icon{width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:15px!important}
.mc-page-heading.mc-clean-heading .title-icon .ui-icon{width:27px!important;height:27px!important}
.mc-page-heading.mc-clean-heading .crumbline{margin:0 0 5px!important;font-size:11px!important}
.mc-page-heading.mc-clean-heading h1{font-size:28px!important;margin:0 0 4px!important;line-height:1.05!important}
.mc-page-heading.mc-clean-heading p{font-size:13px!important;line-height:1.35!important;margin:0!important}
.mc-page-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin:-74px 20px 26px auto;position:relative;z-index:5;width:max-content}
.mc-page-actions button{height:42px;padding:0 17px;border:1px solid #e4e6e9;border-radius:11px;background:#fff;color:#292c30;font-weight:800;font-size:14px;cursor:pointer}
.mc-page-actions button.primary{background:linear-gradient(135deg,#526273,#526273);color:#fff;border-color:transparent;padding-inline:20px}
.mc-page-actions button.dots{width:44px;padding:0;font-size:20px}
.mc-page-actions .import-input{display:none}
@media(max-width:1150px){.mc-page-actions{margin:0 0 14px 0;justify-content:flex-start;flex-wrap:wrap;width:100%}}
@media(max-width:700px){.mc-page-heading.mc-clean-heading{min-height:90px!important;padding:13px 14px!important}.mc-page-heading.mc-clean-heading h1{font-size:23px!important}.mc-page-heading.mc-clean-heading .title-icon{width:50px!important;height:50px!important;flex-basis:50px!important}.mc-page-actions button{height:38px;padding:0 12px;font-size:12px}}

/* V7.91 — workspace pages + polished SVG UI */
.workspace-head{margin-bottom:16px!important}.ws-card{background:#fff;border:1px solid #ebe9e3;border-radius:20px;padding:22px;box-shadow:0 12px 35px rgba(31,54,93,.06)}.ws-card-title{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid #f2f1ed}.ws-card-title b{font-size:20px;color:#24272b}.ws-card-title p{margin:5px 0 0;color:#526273;font-size:13px}.ws-live{font-size:10px;font-weight:900;letter-spacing:.8px;color:#079b69;background:#e9fbf3;border-radius:999px;padding:8px 11px}.ws-toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.ws-toggle{display:grid;grid-template-columns:46px 1fr 48px;gap:13px;align-items:center;border:1px solid #eeece6;border-radius:15px;padding:15px;cursor:pointer;transition:.18s}.ws-toggle:hover{border-color:#d7d9dc;transform:translateY(-1px);box-shadow:0 8px 24px #52627312}.ws-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#f8f7f4;color:#526273}.ws-icon .ui-icon{width:21px;height:21px}.ws-toggle span b{display:block;color:#272a2e;font-size:14px}.ws-toggle span small{display:block;color:#526273;font-size:11px;margin-top:4px}.ws-toggle input{display:none}.ws-toggle>i{width:43px;height:25px;border-radius:20px;background:#e5e7ea;position:relative}.ws-toggle>i:after{content:"";position:absolute;width:19px;height:19px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 2px 6px #0002;transition:.18s}.ws-toggle input:checked+i{background:#526273}.ws-toggle input:checked+i:after{left:21px}.ws-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.ws-primary,.ws-secondary{height:42px;border-radius:11px;padding:0 17px;font-weight:800;display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid #e5e7ea}.ws-primary{border:0;background:linear-gradient(135deg,#526273,#526273);color:#fff}.ws-secondary{background:#fff;color:#3c3f43}.ws-primary .ui-icon{width:17px;height:17px}.shortcut-page-grid{display:grid;gap:10px;margin-top:18px}.shortcut-page-grid>div{display:flex;align-items:center;gap:8px;padding:15px 16px;border:1px solid #eeece7;border-radius:14px}.shortcut-page-grid span{margin-right:auto;font-weight:750;color:#3a3d41}.shortcut-page-grid kbd{border:1px solid #e0e2e5;border-bottom-width:3px;background:#fbfaf9;padding:5px 9px;border-radius:7px;font-weight:800}.ws-coming{min-height:500px;border:1px solid #e7e9ec;border-radius:22px;background:radial-gradient(circle at 50% 20%,#fafaf9,#f8f8f6 55%,#f5f4f1);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;overflow:hidden}.ws-orbit{width:145px;height:145px;position:relative;display:grid;place-items:center;margin-bottom:15px}.ws-orbit i{position:absolute;inset:15px;border:1px solid #dfe1e4;border-radius:50%;transform:rotate(25deg)}.ws-orbit i:nth-child(2){transform:rotate(-25deg)}.ws-orbit span{width:78px;height:78px;border-radius:23px;background:linear-gradient(145deg,#526273,#526273);display:grid;place-items:center;color:#fff;box-shadow:0 18px 40px #52627342}.ws-orbit .ui-icon{width:35px;height:35px}.ws-coming em{font-style:normal;font-size:10px;font-weight:900;letter-spacing:1.4px;color:#526273;background:#f5f4f1;padding:7px 10px;border-radius:999px}.ws-coming h2{font-size:30px;margin:13px 0 7px;color:#25282c}.ws-coming p{max-width:600px;margin:0;color:#526273;line-height:1.6}.ws-progress{width:260px;height:6px;background:#edebe5;border-radius:9px;margin:25px 0 10px;overflow:hidden}.ws-progress span{display:block;width:58%;height:100%;background:linear-gradient(90deg,#526273,#526273);border-radius:9px}.ws-coming>strong{font-size:11px;letter-spacing:1.6px;color:#526273}.ws-coming>a{margin-top:22px;color:#3d4044;text-decoration:none;font-weight:800;display:flex;align-items:center;gap:6px}.ws-coming>a .ui-icon{width:15px;height:15px}body.dark .ws-card{background:#111111;border-color:#222222}body.dark .ws-card-title b,body.dark .ws-toggle span b,body.dark .shortcut-page-grid span,body.dark .ws-coming h2{color:#f9f9f9}body.dark .ws-toggle,body.dark .shortcut-page-grid>div{border-color:#222222}body.dark .ws-coming{background:radial-gradient(circle at 50% 20%,#171717,#111111 55%,#080808);border-color:#222222}@media(max-width:800px){.ws-toggle-grid{grid-template-columns:1fr}.ws-card{padding:15px}.ws-coming{min-height:430px;padding:25px}}

/* V7.92 — definitive User Management action bar fix */
.mc-page-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin:-76px 20px 28px auto!important;
  width:max-content!important;
  position:relative!important;
  z-index:30!important;
}
.mc-page-actions button{
  appearance:none!important;-webkit-appearance:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  width:auto!important;min-width:0!important;height:44px!important;
  margin:0!important;padding:0 18px!important;
  border:1px solid #e3e5e8!important;border-radius:11px!important;
  background:#fff!important;color:#282b2f!important;
  font:800 14px/1 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  white-space:nowrap!important;text-decoration:none!important;
  box-shadow:0 3px 10px rgba(20,42,82,.04)!important;
}
.mc-page-actions button .ui-icon{display:block!important;width:17px!important;height:17px!important;flex:0 0 17px!important;stroke:currentColor!important}
.mc-page-actions button:hover{border-color:#526273!important;background:#fcfcfb!important;transform:translateY(-1px)!important}
.mc-page-actions button.dots{width:44px!important;min-width:44px!important;padding:0!important;font-size:20px!important}
.mc-page-actions button.primary{
  min-width:148px!important;padding:0 20px!important;border-color:transparent!important;
  background:linear-gradient(135deg,#526273,#526273)!important;color:#fff!important;
  box-shadow:0 8px 18px rgba(101,72,255,.20)!important;
}
@media(max-width:1150px){
 .mc-page-actions{margin:0 0 14px!important;width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important}
}

/* V7.93 — NON-BLOCKING DRAWERS: page remains fully interactive while Settings/Profile is open */
#accountDrawerBackdrop.account-drawer-backdrop,
#accountDrawerBackdrop.account-drawer-backdrop.show,
#profileInfoBackdrop.profile-info-backdrop,
#profileInfoBackdrop.profile-info-backdrop.show{
  pointer-events:none!important;
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
#accountDrawer.account-drawer,
#profileInfoDrawer.profile-info-drawer{
  pointer-events:auto!important;
}
/* Keep the visible page controls above any obsolete transparent overlay layer. */
main.content{pointer-events:auto!important}


/* ===== V7.94 PREMIUM FLOATING TOOLTIP + NON-CLOSABLE DRAWER HEAD ===== */
@media (min-width:901px){
  /* Matikan pseudo-tooltip lama agar tidak tertimpa/terpotong sidebar. */
  .app.sidebar-mini #sidebar nav [data-menu-label]::after,
  body.sidebar-collapsed #sidebar nav [data-menu-label]::after{display:none!important;content:none!important}
  .sidebar-floating-tooltip{
    position:fixed!important;z-index:2147483000!important;pointer-events:none!important;
    transform:translate(-6px,-50%) scale(.97);opacity:0;visibility:hidden;
    padding:9px 13px 10px;border:1px solid rgba(143,174,225,.22);border-radius:10px;
    background:linear-gradient(145deg,#2e3135,#1d2024);color:#fcfcfb;
    font:800 12px/1.1 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.01em;white-space:nowrap;
    box-shadow:0 14px 34px rgba(2,10,28,.38),inset 0 1px 0 rgba(255,255,255,.06);
    transition:opacity .13s ease,transform .13s ease,visibility .13s ease;
  }
  .sidebar-floating-tooltip::before{content:"";position:absolute;left:-5px;top:50%;width:9px;height:9px;transform:translateY(-50%) rotate(45deg);background:#282b2f;border-left:1px solid rgba(143,174,225,.18);border-bottom:1px solid rgba(143,174,225,.18)}
  .sidebar-floating-tooltip.show{opacity:1;visibility:visible;transform:translate(0,-50%) scale(1)}
}
/* Tombol X di Settings / Informasi Akun dihapus permanen. */
#accountDrawer .account-drawer-head>button,
#profileInfoDrawer .pid-head>button{display:none!important}
#accountDrawer .account-drawer-head>div,
#profileInfoDrawer .pid-head>div:last-child{min-width:0!important;padding-right:4px!important}


/* ===== V7.95 — UNIFIED PAGE HEADER + CLEAN FULL MENU STATE ===== */
@media (min-width:901px){
  /* Role & Permission now uses the exact same title-card geometry as User Management. */
  .mc-page-heading.mc-rp-heading.mc-clean-heading{
    min-height:104px!important;padding:16px 20px!important;margin:0 0 12px!important;
    display:flex!important;align-items:center!important;border-radius:18px!important;
  }
  .mc-rp-heading .user-titlebar{display:flex!important;align-items:center!important;width:100%!important;min-height:68px!important;gap:16px!important}
  .mc-rp-heading .title-icon{width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:15px!important;background:linear-gradient(145deg,#526273,#526273)!important;color:#fff!important;display:grid!important;place-items:center!important}
  .mc-rp-heading .title-icon .ui-icon{width:27px!important;height:27px!important}
  .mc-rp-heading .crumbline{margin:0 0 5px!important;font-size:11px!important}
  .mc-rp-heading h1{font-size:28px!important;margin:0 0 4px!important;line-height:1.05!important}
  .mc-rp-heading p{font-size:13px!important;line-height:1.35!important;margin:0!important;max-width:900px!important}

  /* Full sidebar + Settings drawer: make both panels read as one intentional navigation system. */
  .app:not(.sidebar-mini) #accountDrawer.account-drawer.show{left:250px!important;width:270px!important;max-width:270px!important;border-left:1px solid rgba(127,153,196,.10)!important;border-right:1px solid rgba(127,153,196,.18)!important;box-shadow:16px 0 34px rgba(4,18,43,.10)!important}
  .app:not(.sidebar-mini) #profileInfoDrawer.profile-info-drawer.show{left:250px!important;width:320px!important;max-width:320px!important;border-left:1px solid rgba(127,153,196,.10)!important;box-shadow:16px 0 34px rgba(4,18,43,.10)!important}
  body:has(.app:not(.sidebar-mini)):has(#accountDrawer.show) .content{margin-left:520px!important;width:calc(100% - 520px)!important}
  body:has(.app:not(.sidebar-mini)):has(#profileInfoDrawer.show) .content{margin-left:570px!important;width:calc(100% - 570px)!important}

  /* Compact sidebar state remains perfectly flush with its drawer. */
  .app.sidebar-mini #accountDrawer.account-drawer.show{left:86px!important}
  .app.sidebar-mini #profileInfoDrawer.profile-info-drawer.show{left:86px!important}
  body:has(.app.sidebar-mini):has(#accountDrawer.show) .content{margin-left:356px!important;width:calc(100% - 356px)!important}
  body:has(.app.sidebar-mini):has(#profileInfoDrawer.show) .content{margin-left:406px!important;width:calc(100% - 406px)!important}

  /* Remove visual collision around the hamburger / drawer seam. */
  .content>header{z-index:220!important;box-shadow:0 1px 0 rgba(129,151,194,.12)!important}
  #accountDrawer.account-drawer,#profileInfoDrawer.profile-info-drawer{z-index:205!important}
  #accountDrawer .account-drawer-head{border-bottom:1px solid rgba(129,151,194,.10)!important;background:linear-gradient(180deg,#202327,#1e2125)!important}
  #accountDrawer .account-drawer-scroll{background:linear-gradient(180deg,#1e2125,#1b1e22)!important}
  #accountDrawer .account-drawer-list>a{border:1px solid transparent!important;transition:background .16s ease,border-color .16s ease,transform .16s ease!important}
  #accountDrawer .account-drawer-list>a:hover{background:#2f3236!important;border-color:rgba(116,155,215,.16)!important;transform:translateX(2px)!important}
}

/* ===== V7.96 — DYNAMIC SIDEBAR/DRAWER GEOMETRY (NO OVERLAP / NO GAP) ===== */
@media (min-width:901px){
  :root{--mc-sidebar-edge:250px;--mc-account-w:270px;--mc-profile-w:320px}
  #accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer{
    top:74px!important;bottom:0!important;height:calc(100dvh - 74px)!important;
    border-radius:0!important;margin:0!important;transform:none!important;
  }
  #accountDrawer.account-drawer{left:var(--mc-sidebar-edge)!important;width:var(--mc-account-w)!important;max-width:var(--mc-account-w)!important}
  #profileInfoDrawer.profile-info-drawer{left:var(--mc-sidebar-edge)!important;width:var(--mc-profile-w)!important;max-width:var(--mc-profile-w)!important}
  #accountDrawerBackdrop.account-drawer-backdrop{left:calc(var(--mc-sidebar-edge) + var(--mc-account-w))!important;top:74px!important}
  #profileInfoBackdrop.profile-info-backdrop{left:calc(var(--mc-sidebar-edge) + var(--mc-profile-w))!important;top:74px!important}

  /* The page follows the REAL sidebar edge. No hard-coded expanded/collapsed offsets. */
  body.mc-account-open .content{
    margin-left:calc(var(--mc-sidebar-edge) + var(--mc-account-w))!important;
    width:calc(100% - var(--mc-sidebar-edge) - var(--mc-account-w))!important;
  }
  body.mc-profile-open .content{
    margin-left:calc(var(--mc-sidebar-edge) + var(--mc-profile-w))!important;
    width:calc(100% - var(--mc-sidebar-edge) - var(--mc-profile-w))!important;
  }
  body.mc-account-open .content>header,
  body.mc-profile-open .content>header{
    left:var(--mc-sidebar-edge)!important;
    width:calc(100% - var(--mc-sidebar-edge))!important;
  }
  /* Drawer always starts below topbar and directly beside sidebar. */
  #accountDrawer.account-drawer.show,#profileInfoDrawer.profile-info-drawer.show{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
}


/* ===== V7.97 — ZERO-GAP DRAWER SEAM ===== */
@media (min-width:901px){
  /* Exact visual edges: expanded sidebar = 270px, icon-only = 86px. */
  .app:not(.sidebar-mini) #accountDrawer.account-drawer.show,
  .app:not(.sidebar-mini) #profileInfoDrawer.profile-info-drawer.show{left:270px!important;margin-left:0!important}
  .app.sidebar-mini #accountDrawer.account-drawer.show,
  .app.sidebar-mini #profileInfoDrawer.profile-info-drawer.show{left:86px!important;margin-left:0!important}

  /* Remove every seam/gutter between the two dark navigation surfaces. */
  #accountDrawer.account-drawer.show,
  #profileInfoDrawer.profile-info-drawer.show{border-left:0!important;transform:none!important}

  body.mc-account-open .content{margin-left:calc(var(--mc-sidebar-edge) + 270px)!important;width:calc(100% - var(--mc-sidebar-edge) - 270px)!important}
  body.mc-profile-open .content{margin-left:calc(var(--mc-sidebar-edge) + 320px)!important;width:calc(100% - var(--mc-sidebar-edge) - 320px)!important}
}

/* ===== V7.98 — TRUE ZERO-GAP: MATCH FINAL 72PX MINI SIDEBAR ===== */
@media (min-width:901px){
  body:has(.app:not(.sidebar-mini)){--mc-sidebar-edge:270px!important}
  body:has(.app.sidebar-mini){--mc-sidebar-edge:72px!important}

  .app:not(.sidebar-mini) #accountDrawer.account-drawer.show,
  .app:not(.sidebar-mini) #profileInfoDrawer.profile-info-drawer.show{left:270px!important}
  .app.sidebar-mini #accountDrawer.account-drawer.show,
  .app.sidebar-mini #profileInfoDrawer.profile-info-drawer.show{left:60px!important}

  .app.sidebar-mini #accountDrawerBackdrop.account-drawer-backdrop{left:342px!important}
  .app.sidebar-mini #profileInfoBackdrop.profile-info-backdrop{left:392px!important}

  body.mc-account-open .content{margin-left:calc(var(--mc-sidebar-edge) + 270px)!important;width:calc(100% - var(--mc-sidebar-edge) - 270px)!important}
  body.mc-profile-open .content{margin-left:calc(var(--mc-sidebar-edge) + 320px)!important;width:calc(100% - var(--mc-sidebar-edge) - 320px)!important}
}

/* ===== V7.99 — HARD ZERO-GAP DRAWER SEAM ===== */
@media (min-width:901px){
  /* The legacy shell leaves a ~20px visual gutter after the sidebar.
     Pull the drawer across that gutter while keeping its right edge unchanged. */
  .app:not(.sidebar-mini) #accountDrawer.account-drawer.show{
    left:250px!important;
    width:290px!important;
    max-width:290px!important;
    margin-left:0!important;
    border-left:0!important;
  }
  .app:not(.sidebar-mini) #profileInfoDrawer.profile-info-drawer.show{
    left:250px!important;
    width:340px!important;
    max-width:340px!important;
    margin-left:0!important;
    border-left:0!important;
  }
  /* Mini sidebar is already 72px; attach directly with no bridge/gutter. */
  .app.sidebar-mini #accountDrawer.account-drawer.show,
  .app.sidebar-mini #profileInfoDrawer.profile-info-drawer.show{
    left:60px!important;
    margin-left:0!important;
    border-left:0!important;
  }
  /* Keep page geometry at the original drawer right edge. */
  body.mc-account-open .content{margin-left:540px!important;width:calc(100% - 540px)!important}
  body.mc-profile-open .content{margin-left:590px!important;width:calc(100% - 590px)!important}
  body:has(.app.sidebar-mini).mc-account-open .content{margin-left:342px!important;width:calc(100% - 342px)!important}
  body:has(.app.sidebar-mini).mc-profile-open .content{margin-left:392px!important;width:calc(100% - 392px)!important}
}

/* ===== V8.00 — TOP SEAM ZERO-GAP =====
   Fill the remaining strip above the Settings/Profile drawer without moving
   the hamburger/search/header content. */
@media (min-width:901px){
  body.mc-account-open .content>header,
  body.mc-profile-open .content>header{overflow:visible!important;isolation:isolate!important}
  body.mc-account-open .content>header::before,
  body.mc-profile-open .content>header::before{
    content:""!important;
    position:absolute!important;
    top:0!important;bottom:0!important;
    right:100%!important;
    display:block!important;
    background:linear-gradient(90deg,#2e3135,#1f2226)!important;
    pointer-events:none!important;
    z-index:-1!important;
  }
  body.mc-account-open .content>header::before{width:290px!important}
  body.mc-profile-open .content>header::before{width:340px!important}
}

/* ===== V8.04 — RESTORE SIDEBAR BRAND / CLEAN TOP RAIL ===== */
@media (min-width:901px){
  :root{--v804-side:270px;--v804-mini:72px;--v804-head:74px}
  .app{display:block!important}
  aside#sidebar{width:var(--v804-side)!important;top:0!important;left:0!important;padding:18px 16px!important;z-index:310!important;overflow-y:auto!important;background:linear-gradient(180deg,#202327,#181b1f 65%,#171a1e)!important}
  aside#sidebar .side-brand{display:flex!important;visibility:visible!important;opacity:1!important;position:sticky!important;top:-18px!important;z-index:330!important;height:76px!important;margin:-18px -16px 0!important;padding:18px 24px 14px!important;align-items:center!important;gap:13px!important;background:linear-gradient(180deg,#202327,#1f2226)!important;border-bottom:1px solid #36393d!important;overflow:visible!important}
  aside#sidebar .side-brand>div:last-child{display:block!important;visibility:visible!important;opacity:1!important;white-space:nowrap!important}
  aside#sidebar .side-brand b{display:block!important;color:#fff!important;font-size:20px!important;line-height:1.05!important}
  aside#sidebar .side-brand small{display:block!important;color:#526273!important;font-size:10px!important;letter-spacing:1.4px!important;margin-top:4px!important}
  aside#sidebar .brandmark{display:grid!important;visibility:visible!important;opacity:1!important;flex:0 0 46px!important}
  .content{margin-left:var(--v804-side)!important;width:calc(100% - var(--v804-side))!important;padding-top:var(--v804-head)!important}
  .content>header{position:fixed!important;left:var(--v804-side)!important;right:0!important;top:0!important;width:auto!important;height:var(--v804-head)!important;z-index:300!important}
  /* Never let the top seam filler paint over the Merchant title. */
  body.mc-account-open .content>header::before,body.mc-profile-open .content>header::before{display:none!important;content:none!important}

  .app.sidebar-mini aside#sidebar{width:var(--v804-mini)!important;padding-left:10px!important;padding-right:10px!important}
  .app.sidebar-mini aside#sidebar .side-brand{height:76px!important;margin:-18px -10px 0!important;padding:18px 13px 14px!important;justify-content:center!important}
  .app.sidebar-mini aside#sidebar .side-brand>div:last-child{display:none!important}
  .app.sidebar-mini .content{margin-left:var(--v804-mini)!important;width:calc(100% - var(--v804-mini))!important}
  .app.sidebar-mini .content>header{left:var(--v804-mini)!important}

  /* Settings/Profile drawer attaches directly to the sidebar edge. */
  .app:not(.sidebar-mini) #accountDrawer.account-drawer.show,.app:not(.sidebar-mini) #profileInfoDrawer.profile-info-drawer.show{left:var(--v804-side)!important}
  .app.sidebar-mini #accountDrawer.account-drawer.show,.app.sidebar-mini #profileInfoDrawer.profile-info-drawer.show{left:var(--v804-mini)!important}
}

/* ===== V8.05 — MINI SIDEBAR BREATHING SPACE =====
   Give the first navigation icon a little breathing room below the brand
   only while the hamburger/sidebar is collapsed. */
@media (min-width:901px){
  .app.sidebar-mini aside#sidebar .side-brand{
    margin-bottom:12px!important;
  }
  .app.sidebar-mini aside#sidebar nav{
    padding-top:4px!important;
  }
  .app.sidebar-mini aside#sidebar .nav-label:first-of-type{
    margin-top:8px!important;
  }
}


/* ===== V8.13 — ONE LAYOUT ENGINE / ZERO BLANK / ZERO CLIP ===== */
@media (min-width:901px){
  :root{--mc-side:290px;--mc-mini:86px;--mc-drawer:330px;--mc-profile:360px;--mc-gap:18px}

  /* Desktop shell: ONE coordinate system only. */
  .app{display:block!important;min-height:100vh!important}
  #sidebar{left:0!important;width:var(--mc-side)!important}
  .content{display:block!important;grid-column:auto!important;margin-left:var(--mc-side)!important;width:calc(100% - var(--mc-side))!important;max-width:none!important;min-width:0!important;padding-top:74px!important;transform:none!important;overflow:visible!important}
  .content>header{position:fixed!important;top:0!important;left:var(--mc-side)!important;right:0!important;width:auto!important;margin:0!important;transform:none!important}

  .app.sidebar-mini #sidebar{width:var(--mc-mini)!important}
  .app.sidebar-mini .content{margin-left:var(--mc-mini)!important;width:calc(100% - var(--mc-mini))!important}
  .app.sidebar-mini .content>header{left:var(--mc-mini)!important}

  /* Drawers attach exactly to the visible sidebar edge. */
  #accountDrawer.account-drawer{left:var(--mc-side)!important;width:var(--mc-drawer)!important;margin-left:0!important}
  #profileInfoDrawer.profile-info-drawer{left:var(--mc-side)!important;width:var(--mc-profile)!important;margin-left:0!important}
  .app.sidebar-mini ~ #accountDrawer.account-drawer,
  body:has(.app.sidebar-mini) #accountDrawer.account-drawer{left:var(--mc-mini)!important}
  .app.sidebar-mini ~ #profileInfoDrawer.profile-info-drawer,
  body:has(.app.sidebar-mini) #profileInfoDrawer.profile-info-drawer{left:var(--mc-mini)!important}

  /* Page begins immediately after drawer. Main already begins after sidebar. */
  body.mc-account-open .content{margin-left:var(--mc-side)!important;width:calc(100% - var(--mc-side))!important}
  body.mc-account-open .app.sidebar-mini .content{margin-left:var(--mc-mini)!important;width:calc(100% - var(--mc-mini))!important}
  body.mc-account-open .content>section.page{margin:0 0 0 var(--mc-drawer)!important;width:calc(100% - var(--mc-drawer))!important;max-width:none!important;padding:22px var(--mc-gap) 45px!important;box-sizing:border-box!important;overflow-x:hidden!important;transform:none!important}

  body.mc-profile-open .content{margin-left:var(--mc-side)!important;width:calc(100% - var(--mc-side))!important}
  body.mc-profile-open .app.sidebar-mini .content{margin-left:var(--mc-mini)!important;width:calc(100% - var(--mc-mini))!important}
  body.mc-profile-open .content>section.page{margin:0 0 0 var(--mc-profile)!important;width:calc(100% - var(--mc-profile))!important;max-width:none!important;padding:22px var(--mc-gap) 45px!important;box-sizing:border-box!important;overflow-x:hidden!important;transform:none!important}

  /* Never let old page max-width create a fake blank column. */
  body.mc-account-open .page>*,body.mc-profile-open .page>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  body.mc-account-open .user-titlebar,body.mc-profile-open .user-titlebar{width:100%!important;flex-wrap:wrap!important}
  body.mc-account-open .title-actions,body.mc-profile-open .title-actions{flex-wrap:wrap!important}
  body.mc-account-open .stat-grid.six,body.mc-profile-open .stat-grid.six{grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important;width:100%!important}
  body.mc-account-open .filterrow,body.mc-profile-open .filterrow{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important}
  body.mc-account-open .searchrow,body.mc-profile-open .searchrow{min-width:0!important;flex-wrap:wrap!important}
  body.mc-account-open .user-workspace,body.mc-profile-open .user-workspace{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  body.mc-account-open .filter-panel,body.mc-account-open .user-table-card,body.mc-profile-open .filter-panel,body.mc-profile-open .user-table-card{width:100%!important;max-width:100%!important;min-width:0!important}
  body.mc-account-open .table-wrap,body.mc-profile-open .table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important}

  /* Dashboard hero: auto-height when available width changes. */
  body.mc-account-open .dash-hero-v6,body.mc-profile-open .dash-hero-v6{height:auto!important;min-height:190px!important;overflow:hidden!important;padding:26px 28px!important;grid-template-columns:minmax(0,1fr) minmax(180px,.48fr)!important}
  body.mc-account-open .hero-copy-v6,body.mc-profile-open .hero-copy-v6{min-width:0!important}
  body.mc-account-open .hero-copy-v6 h1,body.mc-profile-open .hero-copy-v6 h1,body.mc-account-open .hero-copy-v6 p,body.mc-profile-open .hero-copy-v6 p{white-space:normal!important;overflow:visible!important;max-width:100%!important}
  body.mc-account-open .hero-art-v6,body.mc-profile-open .hero-art-v6{display:none!important}
  body.mc-account-open .dash-stats-v6,body.mc-profile-open .dash-stats-v6{grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important}
  body.mc-account-open .dash-main-v6,body.mc-profile-open .dash-main-v6{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important}
}
@media (min-width:901px) and (max-width:1250px){
  body.mc-account-open .content>section.page,body.mc-profile-open .content>section.page{padding-left:14px!important;padding-right:14px!important}
  body.mc-account-open .dash-hero-v6,body.mc-profile-open .dash-hero-v6{grid-template-columns:1fr!important}
}
/* build: V8.13-one-layout-engine */

/* ===== V8.14 — CLEAN GRID SHELL / DRAWER FLUSH / NO DOUBLE OFFSET ===== */
@media (min-width:901px){
  :root{--v814-side:270px;--v814-mini:72px;--v814-drawer:270px;--v814-profile:320px;--v814-gap:18px}

  /* Restore one predictable grid. Sidebar is fixed, grid column reserves its exact width. */
  .app{display:grid!important;grid-template-columns:var(--v814-side) minmax(0,1fr)!important;min-height:100vh!important}
  .app.sidebar-mini{grid-template-columns:var(--v814-mini) minmax(0,1fr)!important}
  #sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:var(--v814-side)!important;margin:0!important}
  .app.sidebar-mini #sidebar{width:var(--v814-mini)!important}

  /* Content owns column 2. No margin-left anywhere: this removes the white seam/double offset. */
  main.content,.content{grid-column:2!important;display:block!important;margin:0!important;width:100%!important;max-width:none!important;min-width:0!important;padding-top:74px!important;overflow:visible!important;transform:none!important}
  .content>header{position:fixed!important;top:0!important;left:var(--v814-side)!important;right:0!important;width:auto!important;height:74px!important;margin:0!important;z-index:300!important}
  .app.sidebar-mini .content>header{left:var(--v814-mini)!important}

  /* Drawer is an overlay attached exactly to sidebar; it never participates in page flow. */
  #accountDrawer.account-drawer{position:fixed!important;left:var(--v814-side)!important;top:74px!important;bottom:0!important;width:var(--v814-drawer)!important;max-width:var(--v814-drawer)!important;margin:0!important;transform:none!important;z-index:260!important}
  #profileInfoDrawer.profile-info-drawer{position:fixed!important;left:var(--v814-side)!important;top:74px!important;bottom:0!important;width:var(--v814-profile)!important;max-width:var(--v814-profile)!important;margin:0!important;transform:none!important;z-index:260!important}
  body:has(.app.sidebar-mini) #accountDrawer.account-drawer{left:var(--v814-mini)!important}
  body:has(.app.sidebar-mini) #profileInfoDrawer.profile-info-drawer{left:var(--v814-mini)!important}

  /* Page shifts exactly ONE drawer width. No second blank column. */
  .content>section.page{width:100%!important;max-width:none!important;margin:0!important;padding:22px 30px 45px!important;box-sizing:border-box!important;min-width:0!important;transition:padding-left .22s ease!important}
  body.mc-account-open .content>section.page{margin:0!important;width:100%!important;padding-left:calc(var(--v814-drawer) + var(--v814-gap))!important;padding-right:var(--v814-gap)!important}
  body.mc-profile-open .content>section.page{margin:0!important;width:100%!important;padding-left:calc(var(--v814-profile) + var(--v814-gap))!important;padding-right:var(--v814-gap)!important}

  /* Kill every old open-state main offset. */
  body.mc-account-open .content,body.mc-profile-open .content,
  body.account-drawer-open .content,body.profile-info-open .content{margin:0!important;width:100%!important;transform:none!important}

  /* Make clicked pages use all safe remaining width and reflow instead of clipping. */
  body.mc-account-open .page>*,body.mc-profile-open .page>*{width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.mc-account-open .dash-stats-v6,body.mc-profile-open .dash-stats-v6,
  body.mc-account-open .stat-grid.six,body.mc-profile-open .stat-grid.six{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;width:100%!important}
  body.mc-account-open .dash-main-v6,body.mc-profile-open .dash-main-v6{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;width:100%!important}
  body.mc-account-open .dash-hero-v6,body.mc-profile-open .dash-hero-v6{height:auto!important;min-height:190px!important;overflow:visible!important;padding:28px!important;grid-template-columns:minmax(0,1fr) auto!important}
  body.mc-account-open .hero-copy-v6 h1,body.mc-profile-open .hero-copy-v6 h1,
  body.mc-account-open .hero-copy-v6 p,body.mc-profile-open .hero-copy-v6 p{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  body.mc-account-open .hero-art-v6,body.mc-profile-open .hero-art-v6{display:none!important}
  body.mc-account-open .user-titlebar,body.mc-profile-open .user-titlebar{width:100%!important;flex-wrap:wrap!important}
  body.mc-account-open .title-actions,body.mc-profile-open .title-actions{flex-wrap:wrap!important;margin-left:auto!important}
  body.mc-account-open .filterrow,body.mc-profile-open .filterrow{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}
  body.mc-account-open .searchrow,body.mc-profile-open .searchrow{flex-wrap:wrap!important}
  body.mc-account-open .user-workspace,body.mc-profile-open .user-workspace{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  body.mc-account-open .table-wrap,body.mc-profile-open .table-wrap{width:100%!important;overflow-x:auto!important}
}
/* build: V8.14-clean-grid-shell */

/* ===== V8.15 — COMPACT DRAWERS + TRUE FULL-WIDTH CONTENT ===== */
@media (min-width:901px){
  :root{--v815-side:270px;--v815-mini:72px;--v815-account:300px;--v815-profile:360px;--v815-gap:16px}

  /* sidebar/header must touch: no white seam */
  .app{grid-template-columns:var(--v815-side) minmax(0,1fr)!important}
  .app.sidebar-mini{grid-template-columns:var(--v815-mini) minmax(0,1fr)!important}
  #sidebar{width:var(--v815-side)!important;border-right:0!important}
  .app.sidebar-mini #sidebar{width:var(--v815-mini)!important}
  .content>header{left:var(--v815-side)!important}
  .app.sidebar-mini .content>header{left:var(--v815-mini)!important}

  /* compact account/profile panels like the reference */
  #accountDrawer.account-drawer{left:var(--v815-side)!important;width:var(--v815-account)!important;max-width:var(--v815-account)!important;box-shadow:none!important}
  #profileInfoDrawer.profile-info-drawer{left:var(--v815-side)!important;width:var(--v815-profile)!important;max-width:var(--v815-profile)!important;box-shadow:none!important}
  body:has(.app.sidebar-mini) #accountDrawer.account-drawer{left:var(--v815-mini)!important}
  body:has(.app.sidebar-mini) #profileInfoDrawer.profile-info-drawer{left:var(--v815-mini)!important}

  /* only reserve the visible drawer width; never center the result area */
  body.mc-account-open .content>section.page{padding:18px var(--v815-gap) 42px calc(var(--v815-account) + var(--v815-gap))!important}
  body.mc-profile-open .content>section.page{padding:18px var(--v815-gap) 42px calc(var(--v815-profile) + var(--v815-gap))!important}

  body.mc-account-open .content>section.page>*,
  body.mc-profile-open .content>section.page>*{
    width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;transform:none!important
  }
  body.mc-account-open .dash-v6,body.mc-profile-open .dash-v6,
  body.mc-account-open .ps-page,body.mc-profile-open .ps-page,
  body.mc-account-open .rp-page,body.mc-profile-open .rp-page{
    width:100%!important;max-width:none!important;margin:0!important
  }

  /* use available width cleanly, reflow instead of clipping */
  body.mc-account-open .dash-stats-v6,body.mc-profile-open .dash-stats-v6{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important}
  body.mc-account-open .dash-main-v6,body.mc-profile-open .dash-main-v6{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)!important}
  body.mc-account-open .user-titlebar,body.mc-profile-open .user-titlebar{gap:14px!important}
  body.mc-account-open .stat-grid.six,body.mc-profile-open .stat-grid.six{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important}
  body.mc-account-open .filterrow,body.mc-profile-open .filterrow{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}
  body.mc-account-open .user-workspace,body.mc-profile-open .user-workspace{grid-template-columns:minmax(0,1fr)!important}

  /* narrower screens: drawer stays compact and cards remain readable */
  @media (max-width:1280px){
    :root{--v815-account:280px;--v815-profile:330px;--v815-gap:12px}
    body.mc-account-open .dash-main-v6,body.mc-profile-open .dash-main-v6{grid-template-columns:1fr!important}
  }
}
/* build: V8.15-compact-drawer-full-width */

/* ===== V8.16 — REFERENCE LAYOUT: MINI RAIL + COMPACT DRAWER + FULL PAGE ===== */
@media (min-width:901px){
  :root{--v816-rail:60px;--v816-account:280px;--v816-profile:320px;--v816-gap:14px}

  /* When either drawer is open the shell always uses the compact rail. */
  body.mc-account-open .app,body.mc-profile-open .app{grid-template-columns:var(--v816-rail) minmax(0,1fr)!important}
  body.mc-account-open #sidebar,body.mc-profile-open #sidebar{width:var(--v816-rail)!important}

  /* IMPORTANT: neutralize every legacy :has() rule that moved .content a second time. */
  body:has(#accountDrawer.show) .content,
  body:has(#profileInfoDrawer.show) .content,
  body:has(.app.sidebar-mini):has(#accountDrawer.show) .content,
  body:has(.app.sidebar-mini):has(#profileInfoDrawer.show) .content,
  body.mc-account-open .content,body.mc-profile-open .content,
  body.mc-account-open .app.sidebar-mini .content,body.mc-profile-open .app.sidebar-mini .content{
    grid-column:2!important;margin:0!important;margin-left:0!important;width:100%!important;max-width:none!important;transform:none!important;overflow:visible!important
  }
  body.mc-account-open .content>header,body.mc-profile-open .content>header,
  body:has(#accountDrawer.show) .content>header,body:has(#profileInfoDrawer.show) .content>header{
    left:var(--v816-rail)!important;right:0!important;width:auto!important
  }

  /* Drawer sits immediately after the 72px rail. */
  body.mc-account-open #accountDrawer.account-drawer,
  body:has(.app.sidebar-mini) #accountDrawer.account-drawer.show{
    left:var(--v816-rail)!important;width:var(--v816-account)!important;max-width:var(--v816-account)!important
  }
  body.mc-profile-open #profileInfoDrawer.profile-info-drawer,
  body:has(.app.sidebar-mini) #profileInfoDrawer.profile-info-drawer.show{
    left:var(--v816-rail)!important;width:var(--v816-profile)!important;max-width:var(--v816-profile)!important
  }

  /* The page reserves the drawer ONCE. No blank second column. */
  body.mc-account-open .content>section.page,
  body:has(#accountDrawer.show) .content>section.page{
    margin:0!important;width:100%!important;max-width:none!important;
    padding:18px var(--v816-gap) 44px calc(var(--v816-account) + var(--v816-gap))!important;
    overflow-x:hidden!important;box-sizing:border-box!important
  }
  body.mc-profile-open .content>section.page,
  body:has(#profileInfoDrawer.show) .content>section.page{
    margin:0!important;width:100%!important;max-width:none!important;
    padding:18px var(--v816-gap) 44px calc(var(--v816-profile) + var(--v816-gap))!important;
    overflow-x:hidden!important;box-sizing:border-box!important
  }

  /* Full-width result area like the reference screenshot. */
  body.mc-account-open .content>section.page>*,body.mc-profile-open .content>section.page>*{
    width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important
  }
  body.mc-account-open .stat-grid.six,body.mc-profile-open .stat-grid.six{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}
  body.mc-account-open .dash-stats-v6,body.mc-profile-open .dash-stats-v6{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}
  body.mc-account-open .filterrow,body.mc-profile-open .filterrow{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}
  body.mc-account-open .user-workspace,body.mc-profile-open .user-workspace{grid-template-columns:minmax(0,1fr)!important}
  body.mc-account-open .table-wrap,body.mc-profile-open .table-wrap{overflow-x:auto!important;width:100%!important}
  body.mc-account-open .dash-hero-v6,body.mc-profile-open .dash-hero-v6{height:auto!important;min-height:180px!important;overflow:hidden!important}
}
/* build: V8.16-reference-layout */

/* ===== V8.17 — MINI RAIL FLUSH PAGE / REMOVE EMPTY LEFT GUTTER ===== */
@media (min-width:901px){
  :root{--v817-rail:72px;--v817-page-gap:14px}

  /* When the sidebar is icon-only and no drawer is open, content begins close to the rail. */
  .app.sidebar-mini .content>section.page{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:18px var(--v817-page-gap) 44px!important;
    box-sizing:border-box!important;
  }

  /* Remove centered/max-width wrappers that create the large empty strip. */
  .app.sidebar-mini .content>section.page>.dash-v6,
  .app.sidebar-mini .content>section.page>.ps-page,
  .app.sidebar-mini .content>section.page>.rp-page,
  .app.sidebar-mini .content>section.page>.v715-audit-page,
  .app.sidebar-mini .content>section.page>.user-page,
  .app.sidebar-mini .content>section.page>*{
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  .app.sidebar-mini .content>section.page>.dash-v6,
  .app.sidebar-mini .content>section.page>.ps-page,
  .app.sidebar-mini .content>section.page>.rp-page{
    width:100%!important;
  }

  /* Drawer-open rules remain authoritative and reserve only the real drawer width. */
  body.mc-account-open .app.sidebar-mini .content>section.page,
  body:has(#accountDrawer.show) .app.sidebar-mini .content>section.page{
    padding:18px var(--v816-gap) 44px calc(var(--v816-account) + var(--v816-gap))!important;
  }
  body.mc-profile-open .app.sidebar-mini .content>section.page,
  body:has(#profileInfoDrawer.show) .app.sidebar-mini .content>section.page{
    padding:18px var(--v816-gap) 44px calc(var(--v816-profile) + var(--v816-gap))!important;
  }
}
/* build: V8.17-mini-rail-flush-page */

/* ===== V8.18 — TRUE SYMMETRIC MINI RAIL / REMOVE DOUBLE OFFSET ===== */
@media (min-width:901px){
  :root{--v818-rail:72px;--v818-edge:14px}

  /* FIX: legacy rules added margin-left:86px to content even though content is already grid column 2. */
  .app.sidebar-mini{grid-template-columns:var(--v818-rail) minmax(0,1fr)!important}
  .app.sidebar-mini #sidebar,.app.sidebar-mini aside#sidebar{width:var(--v818-rail)!important}
  .app.sidebar-mini .content{
    grid-column:2!important;
    margin-left:0!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    transform:none!important;
  }
  .app.sidebar-mini .content>header{
    left:auto!important;
    right:auto!important;
    width:100%!important;
    margin:0!important;
  }
  .app.sidebar-mini .content>section.page{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:14px var(--v818-edge) 44px!important;
    box-sizing:border-box!important;
  }
  .app.sidebar-mini .content>section.page>*{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  /* Drawer open: rail + drawer only once; content itself never gets a second horizontal offset. */
  body.mc-account-open .app.sidebar-mini .content,
  body.mc-profile-open .app.sidebar-mini .content{margin-left:0!important;width:100%!important}
  body.mc-account-open .app.sidebar-mini .content>section.page{
    padding:14px var(--v818-edge) 44px calc(var(--v816-account) + var(--v818-edge))!important;
  }
  body.mc-profile-open .app.sidebar-mini .content>section.page{
    padding:14px var(--v818-edge) 44px calc(var(--v816-profile) + var(--v818-edge))!important;
  }
}
/* build: V8.18-true-symmetric-mini-rail */

/* ===== V8.19 — TOPBAR VIEWPORT FIT / NO RIGHT CLIP ===== */
@media (min-width:901px){
  /* Header is fixed by legacy desktop rules. Do not give it 100vw from x=72px. */
  .app.sidebar-mini .content>header{
    position:fixed!important;
    left:60px!important;
    right:0!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding-left:18px!important;
    padding-right:14px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  .app.sidebar-mini .content>header .top-search{
    flex:1 1 420px!important;
    width:auto!important;
    min-width:220px!important;
    max-width:500px!important;
  }
  .app.sidebar-mini .content>header .header-actions{
    flex:0 1 auto!important;
    min-width:0!important;
    margin-left:auto!important;
  }
  .app.sidebar-mini .content>header .account-pill{
    flex:0 0 205px!important;
    min-width:205px!important;
    max-width:205px!important;
  }
  /* Fixed header needs page clearance. */
  .app.sidebar-mini .content>section.page{padding-top:88px!important}
  body.mc-account-open .app.sidebar-mini .content>section.page,
  body.mc-profile-open .app.sidebar-mini .content>section.page{padding-top:88px!important}
}
@media (min-width:901px) and (max-width:1250px){
  .app.sidebar-mini .content>header .top-search{max-width:390px!important}
  .app.sidebar-mini .content>header .account-pill{flex-basis:180px!important;min-width:180px!important;max-width:180px!important}
}
/* build: V8.19-topbar-no-right-clip */

/* ===== V8.20 — LOCK MINI RAIL / COMPACT TOP SPACING ===== */
@media (min-width:901px){
  /* Desktop sidebar is permanently icon-only. */
  .app{grid-template-columns:60px minmax(0,1fr)!important}
  #sidebar,aside#sidebar{width:60px!important}
  #sidebar .brand-copy,#sidebar .section-title,#sidebar nav a span,#sidebar nav button span,#sidebar .sidebar-label,#sidebar .nav-label,#sidebar .new-badge{display:none!important}

  /* Hide the 3-line control: desktop rail can no longer be expanded. */
  .content>header .mobile-menu-btn{display:none!important}

  /* Keep topbar compact after removing hamburger. */
  .content>header{
    left:60px!important;right:0!important;width:auto!important;
    padding-left:14px!important;padding-right:14px!important;
    gap:12px!important;
  }

  /* Remove the large empty strip below topbar. */
  main.content,.content{padding-top:74px!important;margin:0!important}
  .content>section.page{
    margin:0!important;
    padding-top:14px!important;
    padding-right:14px!important;
    padding-bottom:44px!important;
    padding-left:14px!important;
    width:100%!important;max-width:none!important;
  }
  .content>section.page>*:first-child{margin-top:0!important}

  /* Drawers still work from Settings/Profile, but the rail never expands. */
  body.mc-account-open .content>section.page,
  body:has(#accountDrawer.show) .content>section.page{
    padding-left:calc(var(--v816-account) + 14px)!important;
    padding-top:14px!important;
  }
  body.mc-profile-open .content>section.page,
  body:has(#profileInfoDrawer.show) .content>section.page{
    padding-left:calc(var(--v816-profile) + 14px)!important;
    padding-top:14px!important;
  }
  #accountDrawer.account-drawer,#profileInfoDrawer.profile-info-drawer{left:60px!important}
}
/* build: V8.20-locked-mini-compact-top */

/* ===== V8.21 — REMOVE DOUBLE TOP CLEARANCE ===== */
@media (min-width:901px){
  /* The page already starts below the 74px topbar in this layout.
     V8.20 added another 74px on .content, causing the large blank strip. */
  main.content,.content{padding-top:0!important}
  .content>section.page{
    padding-top:14px!important;
  }
  body.mc-account-open .content>section.page,
  body:has(#accountDrawer.show) .content>section.page,
  body.mc-profile-open .content>section.page,
  body:has(#profileInfoDrawer.show) .content>section.page{
    padding-top:14px!important;
  }
}
/* build: V8.21-remove-double-top-clearance */

/* ===== V8.21 — REMOVE DOUBLE TOP CLEARANCE ===== */
@media (min-width:901px){
  main.content,.content{padding-top:0!important}
  .content>section.page{padding-top:14px!important}
  body.mc-account-open .content>section.page,
  body:has(#accountDrawer.show) .content>section.page,
  body.mc-profile-open .content>section.page,
  body:has(#profileInfoDrawer.show) .content>section.page{padding-top:14px!important}
}
/* build: V8.21-remove-double-top-clearance */

/* ===== V8.22 — DRAWER/TOPBAR FLOW FIX (NO CLIP) ===== */
@media (min-width:901px){
  /* Keep the topbar in the content flow so the first page card can never sit underneath it. */
  .app.sidebar-mini .content>header,
  .content>header{
    position:sticky!important;
    top:0!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    height:74px!important;
    margin:0!important;
    z-index:1000!important;
    box-sizing:border-box!important;
  }

  main.content,.content{
    padding-top:0!important;
    margin-top:0!important;
  }
  .content>section.page{
    padding-top:14px!important;
    margin-top:0!important;
  }

  /* Account/Profile panels begin exactly below the topbar, never behind/cut by it. */
  #accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer{
    top:74px!important;
    bottom:0!important;
    height:calc(100dvh - 74px)!important;
    max-height:calc(100dvh - 74px)!important;
    border-top:0!important;
    border-radius:0!important;
  }

  body.mc-account-open .content>section.page,
  body:has(#accountDrawer.show) .content>section.page,
  body.mc-profile-open .content>section.page,
  body:has(#profileInfoDrawer.show) .content>section.page{
    padding-top:14px!important;
  }
}
/* build: V8.22-drawer-topbar-flow-no-clip */

/* ===== V8.24 — FREEZE ACCOUNT/PROFILE DRAWERS + TIGHT DASHBOARD TOP ===== */
@media (min-width:901px){
  /* Header stays in its own 74px row; page starts immediately below it. */
  .content>header,
  .app.sidebar-mini .content>header{
    position:sticky!important;
    top:0!important;
    height:74px!important;
    min-height:74px!important;
    z-index:12000!important;
  }
  main.content,.content{padding-top:0!important;margin-top:0!important}
  .content>section.page,
  .app.sidebar-mini .content>section.page{
    padding-top:14px!important;
    margin-top:0!important;
  }
  .content>section.page>.dash-v6,
  .app.sidebar-mini .content>section.page>.dash-v6{margin-top:0!important}

  /* Drawers are pinned to the viewport. Only their inner list may scroll. */
  #accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer{
    position:fixed!important;
    left:60px!important;
    top:74px!important;
    bottom:0!important;
    height:calc(100dvh - 74px)!important;
    max-height:calc(100dvh - 74px)!important;
    margin:0!important;
    border-radius:0!important;
    overflow:hidden!important;
    overscroll-behavior:contain!important;
    z-index:11000!important;
  }
  #accountDrawer .account-drawer-scroll,
  #profileInfoDrawer .pid-scroll{
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable!important;
  }

  /* Open state matches reference: no empty top strip and no clipped first card. */
  body.mc-account-open .content>section.page,
  body:has(#accountDrawer.show) .content>section.page{
    padding-top:14px!important;
    padding-left:calc(var(--v816-account) + 14px)!important;
  }
  body.mc-profile-open .content>section.page,
  body:has(#profileInfoDrawer.show) .content>section.page{
    padding-top:14px!important;
    padding-left:calc(var(--v816-profile) + 14px)!important;
  }
}
/* build: V8.24-frozen-drawers-tight-top */

/* ===== V8.25 — TRUE VIEWPORT-FROZEN ACCOUNT / PROFILE DRAWERS ===== */
@media (min-width:901px){
  body > #accountDrawer.account-drawer,
  body > #profileInfoDrawer.profile-info-drawer{
    position:fixed!important;
    left:60px!important;
    top:74px!important;
    bottom:0!important;
    margin:0!important;
    height:calc(100vh - 74px)!important;
    height:calc(100dvh - 74px)!important;
    max-height:calc(100vh - 74px)!important;
    max-height:calc(100dvh - 74px)!important;
    overflow:hidden!important;
    transform:none!important;
    z-index:11000!important;
  }
  body > #accountDrawer .account-drawer-head,
  body > #profileInfoDrawer .pid-head{flex:0 0 auto!important}
  body > #accountDrawer .account-drawer-scroll,
  body > #profileInfoDrawer .pid-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
  body > #accountDrawerBackdrop,
  body > #profileInfoBackdrop{position:fixed!important}
}
/* build: V8.25-true-viewport-frozen-drawers */

/* ===== V8.26 — HARD FREEZE SHELL: ONLY DASHBOARD CONTENT SCROLLS ===== */
@media (min-width:901px){
  html,body{height:100%!important;overflow:hidden!important}
  .app{height:100vh!important;min-height:100vh!important;overflow:hidden!important}
  .app.sidebar-mini{height:100vh!important;overflow:hidden!important}
  .content,.app.sidebar-mini .content{
    height:100vh!important;min-height:0!important;overflow:hidden!important;
    display:grid!important;grid-template-rows:74px minmax(0,1fr)!important;
  }
  .content>header,.app.sidebar-mini .content>header{
    position:relative!important;inset:auto!important;height:74px!important;min-height:74px!important;
    grid-row:1!important;z-index:12000!important;
  }
  .content>section.page,.app.sidebar-mini .content>section.page{
    grid-row:2!important;height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain!important;margin:0!important;padding-top:14px!important;
  }
  #accountDrawer.account-drawer,#profileInfoDrawer.profile-info-drawer,
  body>#accountDrawer.account-drawer,body>#profileInfoDrawer.profile-info-drawer{
    position:fixed!important;left:60px!important;top:74px!important;bottom:0!important;
    height:calc(100vh - 74px)!important;max-height:calc(100vh - 74px)!important;
    margin:0!important;transform:none!important;overflow:hidden!important;z-index:11000!important;
  }
  #accountDrawer .account-drawer-scroll,#profileInfoDrawer .pid-scroll{
    overflow-y:auto!important;overscroll-behavior:contain!important;min-height:0!important;
  }
}
/* build: V8.26-hard-freeze-shell */

/* ===== V8.27 — FLUSH LEFT SHELL / REMOVE DOUBLE RAIL OFFSET ===== */
@media (min-width:901px){
  .app,.app.sidebar-mini{
    grid-template-columns:60px minmax(0,1fr)!important;
  }
  .content,.app.sidebar-mini .content,
  body.mc-account-open .content,body.mc-profile-open .content,
  body.mc-account-open .app.sidebar-mini .content,body.mc-profile-open .app.sidebar-mini .content{
    grid-column:2!important;
    margin-left:0!important;
    padding-left:0!important;
    left:auto!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    transform:none!important;
  }
  .content>header,.app.sidebar-mini .content>header,
  body.mc-account-open .content>header,body.mc-profile-open .content>header,
  body:has(#accountDrawer.show) .content>header,body:has(#profileInfoDrawer.show) .content>header{
    position:relative!important;
    left:0!important;right:auto!important;top:0!important;
    width:100%!important;max-width:none!important;
    margin:0!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
  #accountDrawer.account-drawer,body>#accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer,body>#profileInfoDrawer.profile-info-drawer{
    left:60px!important;
    margin-left:0!important;
    border-left:0!important;
  }
}
/* build: V8.27-flush-left-shell */

/* ===== V8.28 — MATCH PROFILE DRAWER WIDTH TO ACCOUNT DRAWER ===== */
@media (min-width:901px){
  :root{--v816-profile:var(--v816-account)!important}
  #profileInfoDrawer.profile-info-drawer,
  body>#profileInfoDrawer.profile-info-drawer{
    width:var(--v816-account)!important;
    max-width:var(--v816-account)!important;
    min-width:var(--v816-account)!important;
  }
  body.mc-profile-open .content>section.page,
  body:has(#profileInfoDrawer.show) .content>section.page{
    padding-left:calc(var(--v816-account) + 14px)!important;
  }
}
/* build: V8.28-profile-width-match-account */

/* ===== V8.29 — ALIGN SIDEBAR BRAND SEAM WITH TOPBAR ===== */
@media (min-width:901px){
  aside#sidebar .side-brand,
  .app.sidebar-mini aside#sidebar .side-brand{
    height:74px!important;
    min-height:74px!important;
    max-height:74px!important;
    border-bottom:1px solid #36393d!important;
  }
  .app.sidebar-mini aside#sidebar .side-brand{
    margin-bottom:0!important;
  }
  .app.sidebar-mini aside#sidebar nav{
    padding-top:12px!important;
  }
}
/* build: V8.29-sidebar-topbar-seam-align */

/* ===== V8.30 — PIXEL-PERFECT TOP SEAM ===== */
@media (min-width:901px){
  /* Do not let the brand box's old margins/padding decide where the seam is. */
  aside#sidebar .side-brand,
  .app.sidebar-mini aside#sidebar .side-brand{
    border-bottom:0!important;
  }

  /* One authoritative seam: exactly the same Y as the 74px topbar bottom. */
  aside#sidebar::after{
    content:""!important;
    position:fixed!important;
    left:0!important;
    top:73px!important;
    width:60px!important;
    height:1px!important;
    background:#36393d!important;
    z-index:13001!important;
    pointer-events:none!important;
  }

  .content>header,
  .app.sidebar-mini .content>header{
    height:74px!important;
    min-height:74px!important;
    max-height:74px!important;
    border-bottom:1px solid #36393d!important;
    box-sizing:border-box!important;
  }

  #accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer,
  body>#accountDrawer.account-drawer,
  body>#profileInfoDrawer.profile-info-drawer{
    top:74px!important;
  }
}
/* build: V8.30-pixel-perfect-top-seam */

/* ===== V8.31 — UNIFIED NAVY SURFACE / NO SEAM STROKES ===== */
@media (min-width:901px){
  /* Use one continuous navy surface across rail, topbar and both account drawers. */
  aside#sidebar,
  .app.sidebar-mini aside#sidebar,
  .content>header,
  .app.sidebar-mini .content>header,
  #accountDrawer.account-drawer,
  body>#accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer,
  body>#profileInfoDrawer.profile-info-drawer{
    background:#24272b!important;
    background-image:none!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }

  /* Remove all artificial divider/stroke lines around the top seam. */
  aside#sidebar::after,
  .app.sidebar-mini aside#sidebar::after{
    content:none!important;
    display:none!important;
    background:transparent!important;
  }
  aside#sidebar .side-brand,
  .app.sidebar-mini aside#sidebar .side-brand,
  .content>header,
  .app.sidebar-mini .content>header{
    border-top:0!important;
    border-right:0!important;
    border-bottom:0!important;
    border-left:0!important;
    outline:0!important;
    box-shadow:none!important;
  }

  /* Drawer must visually continue the same surface without a vertical seam. */
  #accountDrawer.account-drawer,
  body>#accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer,
  body>#profileInfoDrawer.profile-info-drawer{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }
}
/* build: V8.31-unified-navy-no-strokes */

/* ===== V8.32 — TRUE SINGLE NAVY SURFACE ===== */
@media (min-width:901px){
  :root{--mc-shell-navy:#24272b!important}

  /* Every visible shell layer uses exactly ONE solid color. */
  aside#sidebar,
  .app.sidebar-mini aside#sidebar,
  aside#sidebar .side-brand,
  aside#sidebar nav,
  .content>header,
  .app.sidebar-mini .content>header,
  #accountDrawer.account-drawer,
  body>#accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer,
  body>#profileInfoDrawer.profile-info-drawer,
  #accountDrawer .account-drawer-head,
  #accountDrawer .account-drawer-scroll,
  #accountDrawer .account-drawer-logout,
  #profileInfoDrawer .pid-head,
  #profileInfoDrawer .pid-scroll,
  #profileInfoDrawer .pid-footer{
    background:var(--mc-shell-navy)!important;
    background-color:var(--mc-shell-navy)!important;
    background-image:none!important;
  }

  /* No seam, stroke, outline or fake divider anywhere on the shell. */
  aside#sidebar,
  aside#sidebar .side-brand,
  aside#sidebar nav,
  .content>header,
  #accountDrawer.account-drawer,
  #profileInfoDrawer.profile-info-drawer,
  #accountDrawer .account-drawer-head,
  #accountDrawer .account-drawer-scroll,
  #accountDrawer .account-drawer-logout,
  #profileInfoDrawer .pid-head,
  #profileInfoDrawer .pid-scroll,
  #profileInfoDrawer .pid-footer{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }

  aside#sidebar::before,aside#sidebar::after,
  .content>header::before,.content>header::after,
  #accountDrawer::before,#accountDrawer::after,
  #profileInfoDrawer::before,#profileInfoDrawer::after{
    border:0!important;
    box-shadow:none!important;
  }
}
/* build: V8.32-true-single-navy-surface */

/* ===== V8.33 PROFILE HEADER / ONLINE BADGE / SETTINGS ICON FIX ===== */
@media (min-width:901px){
  #profileInfoDrawer .pid-head{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 38px!important;
    align-items:center!important;
    column-gap:11px!important;
    padding-right:14px!important;
  }
  #profileInfoDrawer .pid-head::after{
    content:"";
    width:36px;height:36px;
    border-radius:11px;
    justify-self:end;
    background-color:#36393d;
    background-repeat:no-repeat;
    background-position:center;
    background-size:19px 19px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23dbeaff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.12 2.12-.06-.06a1.7 1.7 0 0 0-1.88-.34 1.7 1.7 0 0 0-1.03 1.56V20.3h-3v-.08a1.7 1.7 0 0 0-1.03-1.56 1.7 1.7 0 0 0-1.88.34l-.06.06-2.12-2.12.06-.06A1.7 1.7 0 0 0 7 15a1.7 1.7 0 0 0-1.56-1.03H5.3v-3h.14A1.7 1.7 0 0 0 7 9.94a1.7 1.7 0 0 0-.34-1.88L6.6 8l2.12-2.12.06.06a1.7 1.7 0 0 0 1.88.34A1.7 1.7 0 0 0 11.7 4.7V4.6h3v.1a1.7 1.7 0 0 0 1.03 1.56 1.7 1.7 0 0 0 1.88-.34l.06-.06L19.8 8l-.06.06a1.7 1.7 0 0 0-.34 1.88 1.7 1.7 0 0 0 1.56 1.03h.14v3h-.14A1.7 1.7 0 0 0 19.4 15Z'/%3E%3C/svg%3E");
    box-shadow:inset 0 0 0 1px rgba(125,169,230,.16),0 7px 18px rgba(0,0,0,.10);
  }
  #profileInfoDrawer .pid-head::before{content:none!important}
  #profileInfoDrawer .pid-head>div:last-child{padding-right:0!important}
  #profileInfoDrawer .pid-hero{padding-top:18px!important;overflow:visible!important}
  #profileInfoDrawer .pid-online{
    position:absolute!important;
    top:14px!important;
    right:14px!important;
    z-index:8!important;
    display:inline-flex!important;
    align-items:center!important;
    white-space:nowrap!important;
    min-width:74px!important;
    justify-content:center!important;
    padding:6px 11px!important;
    box-shadow:0 7px 18px rgba(3,91,58,.24)!important;
  }
  #profileInfoDrawer .pid-title{
    padding-top:14px!important;
    padding-right:88px!important;
    min-width:0!important;
  }
  #profileInfoDrawer .pid-title h3{
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}


/* ===== V8.34 — SETTINGS TITLE ICON (NOT PROFILE HEADER) ===== */
@media (min-width:901px){
  /* Remove the mistakenly-added gear from Informasi Akun. */
  #profileInfoDrawer .pid-head{
    grid-template-columns:42px minmax(0,1fr)!important;
    padding-right:14px!important;
  }
  #profileInfoDrawer .pid-head::after{content:none!important;display:none!important}

  /* Pengaturan Akun gets its own title icon, matching Informasi Akun. */
  #accountDrawer .account-drawer-head{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:11px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  #accountDrawer .account-drawer-head-icon{
    width:42px!important;
    height:42px!important;
    border-radius:12px!important;
    display:grid!important;
    place-items:center!important;
    background:linear-gradient(135deg,#526273,#526273)!important;
    color:#fff!important;
    flex:0 0 42px!important;
    box-shadow:0 8px 20px rgba(52,90,255,.20)!important;
  }
  #accountDrawer .account-drawer-head-icon .ui-icon{
    width:21px!important;
    height:21px!important;
    stroke:currentColor!important;
  }
  #accountDrawer .account-drawer-head>div:last-child{min-width:0!important}
}
/* build: V8.34-settings-title-icon */

/* ===== V8.35 PROFILE ALIGN + ROLE SIDEBAR NO-FOLLOW-SCROLL ===== */
@media (min-width:901px){
  /* Profile page: left profile card starts exactly level with the top tab bar. */
  .ps-page{align-items:start!important;}
  .ps-profile-card{
    position:relative!important;
    top:auto!important;
    margin-top:0!important;
    align-self:start!important;
  }
  .ps-workspace,.ps-tabs{margin-top:0!important;}

  /* Role & Permission: "Pilih Role" belongs to the page, not the viewport. */
  .rp-layout{align-items:start!important;}
  .rp-left{
    position:relative!important;
    top:auto!important;
    align-self:start!important;
  }
}
/* build: V8.35-profile-align-role-no-follow */



#sidebar>nav>.sidebar-livechat-history{
  box-sizing:border-box!important;
  outline:0!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  background:transparent!important;
  color:#526273!important;
}
#sidebar>nav>.sidebar-livechat-history .ico{
  border:0!important;background:transparent!important;box-shadow:none!important;
  color:#526273!important;
}
#sidebar>nav>.sidebar-livechat-history .ico .ui-icon{
  display:block!important;width:21px!important;height:21px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
@media (min-width:901px){
  body.sidebar-collapsed #sidebar>nav>.sidebar-livechat-history,
  .app.sidebar-mini #sidebar>nav>.sidebar-livechat-history{
    width:52px!important;height:48px!important;min-width:52px!important;max-width:52px!important;
    min-height:48px!important;max-height:48px!important;flex:0 0 48px!important;
    margin-left:auto!important;margin-right:auto!important;padding:0!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;
    border:0!important;border-radius:10px!important;background:transparent!important;
    position:relative!important;overflow:visible!important;
  }
  body.sidebar-collapsed #sidebar>nav>.sidebar-livechat-history>span,
  .app.sidebar-mini #sidebar>nav>.sidebar-livechat-history>span{display:none!important}
  body.sidebar-collapsed #sidebar>nav>.sidebar-livechat-history:hover,
  .app.sidebar-mini #sidebar>nav>.sidebar-livechat-history:hover{
    background:#2c2f33!important;color:#526273!important;
  }
  .app.sidebar-mini #sidebar>nav>.sidebar-livechat-history::after{
    content:attr(data-menu-label)!important;position:absolute!important;left:calc(100% + 12px)!important;top:50%!important;
    transform:translate(-5px,-50%)!important;padding:9px 13px!important;border-radius:9px!important;
    background:#272a2e!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1!important;
    white-space:nowrap!important;box-shadow:0 10px 28px rgba(0,0,0,.3)!important;opacity:0!important;visibility:hidden!important;
    pointer-events:none!important;z-index:25000!important;transition:.14s ease!important;
  }
  .app.sidebar-mini #sidebar>nav>.sidebar-livechat-history:hover::after{opacity:1!important;visibility:visible!important;transform:translate(0,-50%)!important}
}
/* build: V8.37-livechat-icon-align */







/* V8.43 - Chat-Inc bottom rail item, same behavior/geometry as Settings */
#sidebar>nav>.sidebar-chat-inc{
  width:100%;display:flex;align-items:center;gap:13px;color:#526273;
  padding:12px 13px;margin:0 0 3px;border:0;border-radius:9px;font-size:14px;
  position:relative;background:transparent;text-align:left;cursor:pointer;font:inherit;
  flex:0 0 auto!important;
}
#sidebar>nav>.sidebar-chat-inc:hover,#sidebar>nav>.sidebar-chat-inc:focus-visible{background:#292c30;color:#fff;outline:0}
#sidebar>nav>.sidebar-chat-inc .ico{display:grid;place-items:center;flex:0 0 24px}
#sidebar>nav>.sidebar-chat-inc .ico .ui-icon{width:20px!important;height:20px!important}
#sidebar>nav>.sidebar-chat-inc>span{display:block}
/* bottom order: Chat-Inc -> Settings -> Profile */
#sidebar>nav>.sidebar-chat-inc{margin-top:auto!important}
#sidebar>nav>.sidebar-account-settings{margin-top:0!important}
body.sidebar-collapsed #sidebar>nav>.sidebar-chat-inc{justify-content:center;padding-left:0!important;padding-right:0!important;gap:0}
body.sidebar-collapsed #sidebar>nav>.sidebar-chat-inc>span{display:none!important}
body.sidebar-collapsed #sidebar>nav>.sidebar-chat-inc:after{content:attr(data-menu-label);position:fixed;left:82px;padding:8px 11px;border-radius:8px;background:#272a2e;color:#fff;font-size:12px;font-weight:700;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 10px 25px rgba(3,10,28,.28);z-index:2500}
body.sidebar-collapsed #sidebar>nav>.sidebar-chat-inc:hover:after{opacity:1;visibility:visible}


/* V8.44 Chat-Inc: exact bottom-rail geometry + account-drawer visual language */
#sidebar>nav>.sidebar-chat-inc{margin-top:auto!important}
#sidebar>nav>.sidebar-chat-inc + .sidebar-account-settings{margin-top:0!important}
#sidebar>nav>.sidebar-chat-inc .ico{display:grid!important;place-items:center!important}
#sidebar>nav>.sidebar-chat-inc .ico .ui-icon{width:20px!important;height:20px!important}
#chatIncDrawer{top:var(--drawer-top,74px)!important;bottom:0!important;border-radius:0!important;border:0!important;border-right:1px solid rgba(126,151,190,.18)!important;background:#24272b!important;box-shadow:12px 0 30px rgba(3,13,35,.10)!important;padding:0!important;overflow:hidden!important}
#chatIncDrawer .account-drawer-head{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:14px!important;align-items:start!important;padding:20px 18px 12px!important;margin:0!important;background:#24272b!important;border:0!important}
#chatIncDrawer .account-drawer-head-icon{width:44px!important;height:44px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#526273,#526273)!important;color:#fff!important}
#chatIncDrawer .account-drawer-head-icon .ui-icon{width:21px!important;height:21px!important}
#chatIncDrawer .account-drawer-head h2{font-size:18px!important;line-height:1.2!important;margin:1px 0 5px!important;color:#fff!important}
#chatIncDrawer .account-drawer-head p{font-size:10px!important;line-height:1.45!important;margin:0!important;color:#526273!important}
#chatIncDrawer .account-drawer-scroll{height:calc(100% - 82px)!important;overflow-y:auto!important;padding:0 14px 18px!important}
#chatIncDrawer .account-drawer-label{padding:13px 2px 8px!important;color:#526273!important;font-size:10px!important;font-weight:900!important;letter-spacing:1.8px!important}
#chatIncDrawer .account-drawer-list{border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
#chatIncDrawer .account-drawer-list>button{min-height:56px!important;padding:7px 7px!important;border:0!important;border-radius:8px!important;margin:0 0 3px!important;background:transparent!important;grid-template-columns:38px minmax(0,1fr) 16px!important;gap:11px!important}
#chatIncDrawer .account-drawer-list>button:hover{background:#33363a!important}
#chatIncDrawer .account-drawer-list b{font-size:12px!important;margin-bottom:2px!important}
#chatIncDrawer .account-drawer-list small{font-size:9px!important;line-height:1.35!important}
#chatIncDrawer .ad-icon{width:36px!important;height:36px!important;border-radius:9px!important}
#chatIncDrawerBackdrop{background:transparent!important;backdrop-filter:none!important;pointer-events:none!important}
@media(max-width:900px){#chatIncDrawer{left:0!important;right:0!important;top:0!important;width:min(330px,88vw)!important}}

/* ===== V8.45 CHAT-INC EXACT ACCOUNT DRAWER GEOMETRY ===== */
@media (min-width:901px){
  #chatIncDrawer.account-drawer,
  body>#chatIncDrawer.account-drawer{
    position:fixed!important;
    left:var(--mc-sidebar-edge,60px)!important;
    top:74px!important;
    bottom:0!important;
    width:var(--v816-account,280px)!important;
    min-width:var(--v816-account,280px)!important;
    max-width:var(--v816-account,280px)!important;
    height:calc(100vh - 74px)!important;
    max-height:calc(100vh - 74px)!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    transform:none!important;
    overflow:hidden!important;
    background:var(--mc-shell-navy,#24272b)!important;
    box-sizing:border-box!important;
  }
  body.mc-chat-inc-open .content>section.page,
  body.mc-chat-inc-open .app.sidebar-mini .content>section.page{
    padding-left:calc(var(--v816-account,280px) + 14px)!important;
  }
  #chatIncDrawer .account-drawer-head{
    padding:17px 18px 13px!important;
    background:var(--mc-shell-navy,#24272b)!important;
  }
  #chatIncDrawer .account-drawer-scroll{
    height:auto!important;
    flex:1 1 auto!important;
    min-height:0!important;
    padding:10px 13px 8px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
}
/* build: V8.45-chat-inc-exact-account-width */
/* V8.46 Chat-Inc Total Chats */
.total-chats-page{padding:24px!important;background:#faf9f7;min-height:calc(100vh - 74px)}.tc-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:26px 28px;border:1px solid #edebe6;border-radius:22px;background:linear-gradient(135deg,#fff,#fcfcfb);box-shadow:0 12px 34px rgba(24,46,92,.06)}.tc-kicker{font-size:11px;font-weight:900;letter-spacing:2px;color:#526273}.tc-hero h1{font-size:32px;margin:5px 0;color:#1f2226}.tc-hero p{margin:0;color:#526273}.tc-actions,.tc-toolbar,.tc-presets{display:flex;gap:10px;align-items:center}.tc-btn,.tc-mini,.tc-presets button{border:1px solid #e2e4e7;background:#fff;border-radius:12px;padding:11px 16px;font-weight:800;color:#2f3236;cursor:pointer}.tc-btn.primary,.tc-presets button.active{color:#fff;border-color:#526273;background:linear-gradient(135deg,#526273,#526273)}.tc-toolbar{margin:16px 0;padding:15px 18px;background:#fff;border:1px solid #edebe6;border-radius:16px;flex-wrap:wrap}.tc-toolbar label{font-size:11px;font-weight:800;color:#526273;display:flex;gap:7px;align-items:center}.tc-toolbar input,.tc-toolbar select{border:1px solid #e2e4e7;border-radius:9px;padding:9px;color:#2b2e32;background:#fff}.tc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tc-stats article,.tc-card{background:#fff;border:1px solid #edebe6;border-radius:18px;box-shadow:0 8px 26px rgba(30,51,94,.045)}.tc-stats article{padding:20px}.tc-stats span{font-size:12px;font-weight:800;color:#526273}.tc-stats strong{display:block;font-size:30px;color:#1f2226;margin:8px 0}.tc-stats small{color:#526273}.tc-card{margin-top:14px;padding:20px}.tc-card-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.tc-card h2{margin:0 0 4px;color:#23262a;font-size:18px}.tc-card p{margin:0;color:#526273;font-size:12px}.tc-card-head>span{background:#f8f7f4;color:#526273;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800}.tc-chart{height:280px;border-top:1px solid #f5f4f1;padding-top:18px}.tc-bars{height:100%;display:flex;align-items:flex-end;gap:10px;overflow-x:auto;padding:25px 8px 0}.tc-bar-col{height:100%;min-width:42px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.tc-bar-col i{width:min(36px,70%);min-height:3px;background:linear-gradient(180deg,#526273,#526273);border-radius:8px 8px 3px 3px}.tc-bar-col span,.tc-bar-col b{font-size:10px;color:#526273}.tc-bar-col span{font-weight:800}.tc-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px}.tc-table-wrap{overflow:auto}.tc-table{width:100%;border-collapse:collapse}.tc-table th{text-align:left;background:#fafaf8;color:#526273;font-size:11px;padding:12px}.tc-table td{border-bottom:1px solid #f4f3f0;padding:13px 12px;font-size:12px;color:#4a4d51}.tc-progress{display:inline-block;width:90px;height:6px;background:#f4f3f0;border-radius:99px;overflow:hidden;margin-right:8px}.tc-progress i{display:block;height:100%;background:#526273}.tc-insights>div{display:flex;gap:12px;padding:13px 4px;border-bottom:1px solid #f4f3f0}.tc-insights>div>span{width:38px;height:38px;display:grid;place-items:center;background:#f8f7f5;border-radius:11px}.tc-insights p{display:flex;flex-direction:column;gap:3px}.tc-insights b{color:#2e3135}.tc-loading,.tc-empty{height:100%;display:grid;place-items:center;color:#526273}.tc-error{margin:12px 0;padding:12px 15px;border-radius:12px;background:#fff0f2;color:#c83a55;border:1px solid #ffd3dc;font-weight:700}.dark .total-chats-page,body.dark .total-chats-page{background:#111111}.dark .tc-hero,.dark .tc-toolbar,.dark .tc-stats article,.dark .tc-card,body.dark .tc-hero,body.dark .tc-toolbar,body.dark .tc-stats article,body.dark .tc-card{background:#171717;border-color:#222222}.dark .tc-hero h1,.dark .tc-stats strong,.dark .tc-card h2,body.dark .tc-hero h1,body.dark .tc-stats strong,body.dark .tc-card h2{color:#ffffff}@media(max-width:1000px){.tc-stats{grid-template-columns:repeat(2,1fr)}.tc-grid{grid-template-columns:1fr}.tc-hero{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.total-chats-page{padding:12px!important}.tc-stats{grid-template-columns:1fr 1fr}.tc-toolbar{align-items:stretch}.tc-toolbar label{flex:1 1 100%;justify-content:space-between}}

/* ===== V8.47 FINAL DRAWER FREEZE + TIGHT CLOSED PAGE ===== */
@media (min-width:901px){
  /* Settings/Profile/Chat-Inc stay locked below topbar; page scroll never moves them. */
  body>#accountDrawer.account-drawer,
  body>#profileInfoDrawer.profile-info-drawer,
  body>#chatIncDrawer.account-drawer{
    position:fixed!important;top:74px!important;bottom:0!important;left:60px!important;
    height:calc(100dvh - 74px)!important;max-height:calc(100dvh - 74px)!important;
    margin:0!important;transform:none!important;overflow:hidden!important;
  }
  body>#accountDrawer .account-drawer-scroll,
  body>#profileInfoDrawer .pid-scroll,
  body>#chatIncDrawer .account-drawer-scroll{
    min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
  }
  /* When no drawer is open, content sits close to the header (no large blank strip). */
  body:not(.mc-account-open):not(.mc-profile-open):not(.mc-chat-inc-open) .content>section.page{
    padding-top:12px!important;margin-top:0!important;
  }
  body:not(.mc-account-open):not(.mc-profile-open):not(.mc-chat-inc-open) .content>section.page.total-chats-page{
    padding-top:12px!important;
  }
}
/* build: V8.47-final-drawer-freeze-tight-closed-page */
/* V8.50 Total Chats analytics */
.tc-v850{padding:14px!important;max-width:100%;min-width:0;font-family:Inter,Arial,sans-serif}.tc-v850 .tc-hero{padding:18px 20px;border-radius:15px;gap:14px}.tc-heading{display:flex;align-items:center;gap:14px}.tc-icon{height:48px;width:48px;display:grid;place-items:center;border-radius:13px;color:white;background:linear-gradient(135deg,#526273,#526273);box-shadow:0 7px 18px #52627330;flex-shrink:0}.tc-icon svg{width:25px;height:25px}.tc-v850 .tc-kicker{font-size:10px;letter-spacing:0;font-weight:600;color:#526273}.tc-v850 .tc-hero h1{font-size:25px;margin:4px 0}.tc-v850 .tc-hero p{font-size:12px}.tc-v850 .tc-btn,.tc-v850 .tc-mini,.tc-v850 .tc-presets button{padding:10px 13px;border-radius:8px;font-size:12px;white-space:nowrap}.tc-v850 .tc-toolbar{padding:12px;gap:9px;border-radius:13px;margin:12px 0 5px;align-items:center}.tc-v850 .tc-toolbar label{display:flex;flex-direction:column;align-items:stretch;gap:4px;flex:1;min-width:100px;font-size:10px}.tc-v850 .tc-toolbar input,.tc-v850 .tc-toolbar select{width:100%;min-width:0;height:35px;box-sizing:border-box;font-size:11px}.tc-v850 .tc-toolbar label:nth-of-type(3),.tc-v850 .tc-toolbar label:nth-of-type(5){max-width:140px}.tc-v850 .tc-presets{gap:4px}.tc-status{display:flex;justify-content:space-between;font-size:10px;color:#526273;padding:5px 3px 10px;gap:10px}.tc-v850 .tc-stats{gap:12px}.tc-v850 .tc-stats article{padding:16px;display:flex;gap:12px;position:relative;min-width:0;border-radius:13px;overflow:hidden;min-height:110px;box-sizing:border-box}.tc-stat-icon{height:39px;width:39px;border-radius:12px;display:grid;place-items:center;font-size:25px;flex-shrink:0}.tc-stat-icon.violet{color:#526273;background:#f5f4f0}.tc-stat-icon.blue{color:#526273;background:#f2f0ec}.tc-stat-icon.orange{color:#ff9824;background:#edeff2}.tc-v850 .tc-stats span{font-size:11px}.tc-v850 .tc-stats strong{font-size:26px;margin:7px 0}.tc-v850 .tc-stats small{font-size:10px;position:relative;z-index:1;display:block;max-width:175px}.tc-spark{position:absolute;right:9px;bottom:12px;width:90px;height:34px;opacity:.75}.tc-visuals{display:grid;grid-template-columns:1.2fr 1.1fr 1fr;gap:12px}.tc-v850 .tc-card{border-radius:13px;padding:17px;margin-top:12px;min-width:0}.tc-v850 .tc-card h2{font-size:14px}.tc-v850 .tc-card p{font-size:10px}.tc-v850 .tc-card-head{gap:8px;margin-bottom:15px}.tc-v850 select,.tc-v850 .tc-table-tools input{border:1px solid #edebe5;border-radius:8px;background:#fff;padding:8px;font-size:11px;color:#3f4246}.tc-line{min-height:220px;display:flex;align-items:center;color:#526273}.tc-line svg{width:100%;height:auto;max-height:250px}.tc-line text{fill:currentColor;font-size:10px}.tc-range{font-size:10px;color:#526273}.tc-hour-chart{height:220px;display:flex;align-items:flex-end;gap:4px;padding:18px 0 22px;box-sizing:border-box;background:repeating-linear-gradient(to top,transparent 0,transparent 42px,#f6f4f1 43px,#f6f4f1 44px)}.tc-hour-chart>div{height:100%;flex:1;min-width:0;position:relative;display:flex;align-items:flex-end}.tc-hour-chart i{width:100%;min-height:2px;background:linear-gradient(#526273,#526273);border-radius:4px 4px 0 0}.tc-hour-chart span{position:absolute;bottom:-19px;font-size:8px;color:#526273;left:50%;transform:translateX(-50%)}.tc-channel{display:flex;flex-direction:column;align-items:center;gap:16px}.tc-donut{width:170px;height:170px;background:conic-gradient(#526273 0%,#526273 100%);border-radius:50%;padding:25px;box-sizing:border-box}.tc-donut.empty{background:#f2f0ec}.tc-donut>div{height:100%;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.tc-donut strong{font-size:24px;color:#292c30}.tc-donut small{font-size:10px;color:#526273}.tc-channel-row{display:flex;align-items:center;gap:10px;width:100%;font-size:11px;color:#526273}.tc-channel-row strong{margin-left:auto;color:#34373b}.tc-dot{width:10px;height:10px;background:#526273;border-radius:50%}.tc-v850 .tc-source-note{margin-top:13px;line-height:1.6;color:#526273}.tc-v850 .tc-grid{grid-template-columns:2.35fr 1fr;gap:12px}.tc-v850 .tc-table th{padding:10px;font-size:10px;white-space:nowrap}.tc-v850 .tc-table td{padding:11px 10px;font-size:11px;white-space:nowrap}.tc-v850 .tc-table th button{border:0;background:none;color:inherit;font:inherit;cursor:pointer}.tc-table-tools{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.tc-pagination{display:flex;justify-content:space-between;align-items:center;color:#526273;font-size:10px;padding-top:12px}.tc-pagination>div{display:flex;align-items:center;gap:12px}.tc-pagination button{border:1px solid #edebe6;border-radius:7px;background:#fff;width:29px;height:29px;color:#526273;cursor:pointer}.tc-pagination button:disabled{opacity:.35;cursor:default}.tc-v850 .tc-insights>div{border:1px solid #f5f4f0;border-radius:10px;margin-bottom:9px;padding:11px;align-items:center}.tc-v850 .tc-insights>div>span{color:#526273;background:#f6f5f3;height:33px;width:33px;font-size:23px}.tc-v850 .tc-insights>div:nth-child(1)>span{background:#eef0f3;color:#eba127}.tc-v850 .tc-insights>div:nth-child(2)>span{background:#f6f5f3;color:#526273}.tc-v850 .tc-insights>div:nth-child(3)>span{background:#eef0f3;color:#ff942e}.tc-v850 .tc-insights b{font-size:11px}.tc-v850 .tc-insights small{font-size:10px}.tc-v850 button:disabled{opacity:.5}.tc-v850 button:focus-visible,.tc-v850 input:focus-visible,.tc-v850 select:focus-visible{outline:2px solid #526273;outline-offset:2px}#accountDrawer a.active,#chatIncDrawer a.active{background:rgba(106,92,255,.22);border-radius:9px}.app-nav-loading main.content>section.page{opacity:.65;transition:opacity .12s}body.dark .tc-v850{background:#111111}body.dark .tc-v850 input,body.dark .tc-v850 select,body.dark .tc-v850 button:not(.primary):not(.active),body.dark .tc-donut>div{background:#c3c5c8!important;color:#111111!important;border-color:#c3c5c8!important}body.dark .tc-v850 .tc-table th{background:#171717}body.dark .tc-v850 .tc-table td,body.dark .tc-v850 .tc-insights>div{border-color:#222222;color:#ededed}body.dark .tc-v850 .tc-insights b,body.dark .tc-donut strong,body.dark .tc-channel-row strong{color:#f2f2f2}body.dark .tc-hour-chart{background:none}@media(max-width:1200px){.tc-visuals{grid-template-columns:1fr 1fr}.tc-visuals>.tc-card:last-child{grid-column:1/-1}.tc-channel{flex-direction:row}.tc-channel-row{max-width:320px}.tc-spark{width:60px;opacity:.35}.tc-v850 .tc-stats article{padding:12px}}@media(max-width:760px){.tc-v850 .tc-hero{align-items:stretch;flex-direction:column}.tc-v850 .tc-heading{align-items:flex-start}.tc-v850 .tc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-visuals,.tc-v850 .tc-grid{grid-template-columns:1fr}.tc-visuals>.tc-card:last-child{grid-column:auto}.tc-v850 .tc-toolbar label{flex:1 1 130px;max-width:none!important}.tc-v850 .tc-presets{flex-wrap:wrap;width:100%}.tc-v850 .tc-stats article{min-height:110px}.tc-stat-icon{width:30px;height:30px;font-size:21px}.tc-v850 .tc-stats strong{font-size:22px}.tc-v850 .tc-stats small{max-width:120px}.tc-channel{flex-direction:column}}

/* Compact drawer navigation: title, icon and arrow only. */
body.mc-v852 #accountDrawer .account-drawer-head,body.mc-v852 #chatIncDrawer .account-drawer-head,body.mc-v852 #profileInfoDrawer .pid-head{padding:14px 16px!important;gap:10px!important;align-items:center!important;min-height:0!important}
body.mc-v852 #accountDrawer .account-drawer-head h2,body.mc-v852 #chatIncDrawer .account-drawer-head h2,body.mc-v852 #profileInfoDrawer .pid-head h2{margin:0!important;font-size:16px!important;line-height:1.4!important}
body.mc-v852 #accountDrawer .account-drawer-head-icon,body.mc-v852 #chatIncDrawer .account-drawer-head-icon,body.mc-v852 #profileInfoDrawer .pid-head-icon{width:36px!important;height:36px!important;border-radius:10px!important}
body.mc-v852 #accountDrawer .account-drawer-label,body.mc-v852 #chatIncDrawer .account-drawer-label{margin:12px 0 6px!important;padding:0 10px!important;font-size:9px!important;line-height:1.5!important}
body.mc-v852 #accountDrawer .account-drawer-list,body.mc-v852 #chatIncDrawer .account-drawer-list{display:grid!important;gap:3px!important;margin:0!important;padding:0!important}
body.mc-v852 #accountDrawer .account-drawer-list>a,body.mc-v852 #accountDrawer .account-drawer-list>button,body.mc-v852 #chatIncDrawer .account-drawer-list>a,body.mc-v852 #chatIncDrawer .account-drawer-list>button{display:grid!important;grid-template-columns:32px minmax(0,1fr) 16px!important;align-items:center!important;gap:10px!important;padding:8px 10px!important;margin:0!important;min-height:46px!important;height:auto!important;border-radius:10px!important}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon,body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon{width:32px!important;height:32px!important;border-radius:9px!important;margin:0!important}
body.mc-v852 #accountDrawer .account-drawer-list b,body.mc-v852 #chatIncDrawer .account-drawer-list b{display:block!important;font-size:12px!important;line-height:1.45!important;margin:0!important}
body.mc-v852 #accountDrawer .account-drawer-list .arrow,body.mc-v852 #chatIncDrawer .account-drawer-list .arrow{width:15px!important;height:15px!important}
body.mc-v852 #accountDrawer .mc-drawer-brand{min-height:0!important;padding:12px!important;gap:10px!important}body.mc-v852 #accountDrawer .mc-drawer-brand>span{width:32px!important;height:32px!important}body.mc-v852 #accountDrawer .mc-drawer-brand b{font-size:12px!important;margin:0!important}
body.mc-v852 #profileInfoDrawer .pid-menu{display:grid!important;gap:3px!important;margin:8px 0!important}
body.mc-v852 #profileInfoDrawer .pid-menu a{min-height:46px!important;padding:7px 10px!important;margin:0!important;gap:10px!important;align-items:center!important}
body.mc-v852 #profileInfoDrawer .pid-menu a>i{width:32px!important;height:32px!important;border-radius:9px!important}
body.mc-v852 #profileInfoDrawer .pid-menu a b{font-size:12px!important;line-height:1.45!important;margin:0!important}
body.mc-v852 #profileInfoDrawer .pid-secondary{padding-top:8px!important;margin-top:10px!important;display:grid!important;gap:3px!important}
body.mc-v852 #profileInfoDrawer .pid-secondary button{min-height:40px!important;padding:9px 10px!important;margin:0!important;gap:13px!important;align-items:center!important}body.mc-v852 #profileInfoDrawer .pid-secondary b{font-size:12px!important;line-height:1.45!important;margin:0!important}
body.mc-v852 #profileInfoDrawer .pid-logout button{min-height:42px!important;padding:10px 14px!important;gap:10px!important;align-items:center!important}

/* V8.62 legacy template fallback */
body.mc-v852 #accountDrawer .account-drawer-list small,body.mc-v852 #chatIncDrawer .account-drawer-list small,body.mc-v852 #profileInfoDrawer .pid-menu small,body.mc-v852 #profileInfoDrawer .pid-secondary small,body.mc-v852 #profileInfoDrawer .pid-logout small,body.mc-v852 #accountDrawer .mc-drawer-brand small,body.mc-v852 #accountDrawer .account-drawer-head p,body.mc-v852 #chatIncDrawer .account-drawer-head p,body.mc-v852 #profileInfoDrawer .pid-head p{display:none!important;height:0!important;margin:0!important;padding:0!important}

/* V8.63: one shared drawer menu layout, matching the reference. */
body.mc-v852 #accountDrawer .account-drawer-list,
body.mc-v852 #chatIncDrawer .account-drawer-list,
body.mc-v852 #profileInfoDrawer .pid-menu,
body.mc-v852 #profileInfoDrawer .pid-secondary{display:grid!important;gap:4px!important;padding:0!important;margin:8px 0!important}
body.mc-v852 #accountDrawer .account-drawer-list>a,
body.mc-v852 #accountDrawer .account-drawer-list>button,
body.mc-v852 #chatIncDrawer .account-drawer-list>a,
body.mc-v852 #chatIncDrawer .account-drawer-list>button,
body.mc-v852 #profileInfoDrawer .pid-menu>a,
body.mc-v852 #profileInfoDrawer .pid-secondary>button{display:grid!important;grid-template-columns:36px minmax(0,1fr) 16px!important;align-items:center!important;gap:12px!important;height:auto!important;min-height:56px!important;padding:10px!important;margin:0!important;border-radius:11px!important;text-align:left!important;box-sizing:border-box!important;cursor:pointer}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon,
body.mc-v852 #profileInfoDrawer .pid-menu>a>i,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-icon{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;margin:0!important;padding:0!important;flex:none!important;border-radius:10px!important;background:rgba(130,166,226,.12)!important;border:1px solid rgba(157,190,242,.06)!important;color:#526273!important;font-style:normal!important}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon>.ui-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-menu>a>i>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-icon>.ui-icon{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;display:block!important}
body.mc-v852 #accountDrawer .account-drawer-list a>span,
body.mc-v852 #chatIncDrawer .account-drawer-list a>span,
body.mc-v852 #profileInfoDrawer .pid-menu a>span,
body.mc-v852 #profileInfoDrawer .pid-secondary button>span{min-width:0!important;display:block!important;margin:0!important;padding:0!important}
body.mc-v852 #accountDrawer .account-drawer-list b,
body.mc-v852 #chatIncDrawer .account-drawer-list b,
body.mc-v852 #profileInfoDrawer .pid-menu b,
body.mc-v852 #profileInfoDrawer .pid-secondary b{display:block!important;font-size:12px!important;font-weight:700!important;line-height:1.5!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;color:#f8f8f6!important}
body.mc-v852 #accountDrawer .account-drawer-list a>.ui-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list a>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-menu a>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-arrow{display:block!important;width:16px!important;height:16px!important;justify-self:end!important;margin:0!important;color:#526273!important;fill:none!important;stroke:currentColor!important}
body.mc-v852 #accountDrawer .account-drawer-label,
body.mc-v852 #chatIncDrawer .account-drawer-label{font-size:9px!important;letter-spacing:1.5px!important;padding:0 10px!important;margin:16px 0 8px!important;line-height:1.5!important}
body.mc-v852 #profileInfoDrawer .pid-secondary{border-top:1px solid #ffffff0d!important;padding-top:10px!important;margin-top:12px!important}
body.mc-v852 #accountDrawer .account-drawer-list small,
body.mc-v852 #chatIncDrawer .account-drawer-list small,
body.mc-v852 #profileInfoDrawer .pid-menu small,
body.mc-v852 #profileInfoDrawer .pid-secondary small{display:none!important;margin:0!important;padding:0!important;height:0!important}

/* V8.64: tight menu rhythm matching the first reference. */
body.mc-v852 #accountDrawer .account-drawer-list,
body.mc-v852 #chatIncDrawer .account-drawer-list,
body.mc-v852 #profileInfoDrawer .pid-menu,
body.mc-v852 #profileInfoDrawer .pid-secondary{gap:0!important;margin:4px 0!important}
body.mc-v852 #accountDrawer .account-drawer-list>a,
body.mc-v852 #accountDrawer .account-drawer-list>button,
body.mc-v852 #chatIncDrawer .account-drawer-list>a,
body.mc-v852 #chatIncDrawer .account-drawer-list>button,
body.mc-v852 #profileInfoDrawer .pid-menu>a,
body.mc-v852 #profileInfoDrawer .pid-secondary>button{grid-template-columns:24px minmax(0,1fr) 14px!important;min-height:32px!important;height:32px!important;padding:4px 8px!important;gap:10px!important;border-radius:8px!important;line-height:1.4!important}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon,
body.mc-v852 #profileInfoDrawer .pid-menu>a>i,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-icon{width:24px!important;height:24px!important;border-radius:7px!important}
body.mc-v852 #accountDrawer .account-drawer-list .ad-icon>.ui-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list .ad-icon>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-menu>a>i>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-icon>.ui-icon{width:17px!important;height:17px!important}
body.mc-v852 #accountDrawer .account-drawer-list a>.ui-icon,
body.mc-v852 #chatIncDrawer .account-drawer-list a>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-menu a>.ui-icon,
body.mc-v852 #profileInfoDrawer .pid-secondary .mc-nav-arrow{width:14px!important;height:14px!important}
body.mc-v852 #accountDrawer .account-drawer-label,
body.mc-v852 #chatIncDrawer .account-drawer-label{margin:18px 0 7px!important;padding:0 8px!important}
body.mc-v852 #profileInfoDrawer .pid-secondary{margin-top:14px!important;padding-top:10px!important}

/* V8.65: prevent inherited icon dimensions from overflowing compact rows. */
body.mc-v852 #accountDrawer .account-drawer-list>a.mc-nav-row,
body.mc-v852 #chatIncDrawer .account-drawer-list>a.mc-nav-row,
body.mc-v852 #profileInfoDrawer .pid-menu>a.mc-nav-row,
body.mc-v852 #profileInfoDrawer .pid-secondary>button.mc-nav-row{display:grid!important;grid-template-columns:20px minmax(0,1fr) 14px!important;column-gap:12px!important;align-items:center!important;min-height:34px!important;height:auto!important;max-height:none!important;padding:6px 10px!important;margin:0!important;border-radius:8px!important;box-sizing:border-box!important;position:relative!important;overflow:hidden!important;line-height:1.4!important}
body.mc-v852 #accountDrawer .account-drawer-list>a.mc-nav-row>i,
body.mc-v852 #chatIncDrawer .account-drawer-list>a.mc-nav-row>i,
body.mc-v852 #profileInfoDrawer .pid-menu>a.mc-nav-row>i,
body.mc-v852 #profileInfoDrawer .pid-secondary>button.mc-nav-row>i{display:grid!important;place-items:center!important;position:static!important;inset:auto!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;box-sizing:border-box!important;padding:0!important;margin:0!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;color:#526273!important;line-height:1!important;overflow:hidden!important}
body.mc-v852 #accountDrawer .mc-nav-row>i>.ui-icon,
body.mc-v852 #chatIncDrawer .mc-nav-row>i>.ui-icon,
body.mc-v852 #profileInfoDrawer .mc-nav-row>i>.ui-icon{display:block!important;width:19px!important;min-width:19px!important;max-width:19px!important;height:19px!important;min-height:19px!important;max-height:19px!important;position:static!important;margin:0!important;padding:0!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;transform:none!important}
body.mc-v852 #accountDrawer .mc-nav-row>span,
body.mc-v852 #chatIncDrawer .mc-nav-row>span,
body.mc-v852 #profileInfoDrawer .mc-nav-row>span{display:block!important;min-width:0!important;max-width:100%!important;position:static!important;margin:0!important;padding:0!important;transform:none!important}
body.mc-v852 #accountDrawer .mc-nav-row>span>b,
body.mc-v852 #chatIncDrawer .mc-nav-row>span>b,
body.mc-v852 #profileInfoDrawer .mc-nav-row>span>b{font-size:12px!important;font-weight:600!important;line-height:20px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;padding:0!important;color:#f4f3ef!important}
body.mc-v852 #accountDrawer .mc-nav-row>.ui-icon,
body.mc-v852 #chatIncDrawer .mc-nav-row>.ui-icon,
body.mc-v852 #profileInfoDrawer .mc-nav-row>.ui-icon{position:static!important;justify-self:end!important;width:14px!important;min-width:14px!important;max-width:14px!important;height:14px!important;margin:0!important;padding:0!important;transform:none!important;color:#526273!important}
body.mc-v852 #accountDrawer .account-drawer-list,
body.mc-v852 #chatIncDrawer .account-drawer-list,
body.mc-v852 #profileInfoDrawer .pid-menu{row-gap:2px!important}
body.mc-v852 #accountDrawer .account-drawer-label,
body.mc-v852 #chatIncDrawer .account-drawer-label{margin:18px 0 8px!important;padding:0 10px!important}
body.mc-v852 #accountDrawer .mc-nav-row:hover,
body.mc-v852 #chatIncDrawer .mc-nav-row:hover,
body.mc-v852 #profileInfoDrawer .mc-nav-row:hover{background:rgba(125,157,211,.08)!important;transform:none!important}
