:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#213348;background:#f6f8fb}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #86b8e5;outline-offset:2px}.startup{padding:70px;text-align:center;color:#64748b}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-art{background:linear-gradient(135deg,#11283f,#1f3249 62%,#345c7a);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:clamp(32px,8vw,110px);position:relative;overflow:hidden}.login-art:after{content:"";position:absolute;width:430px;height:430px;border:1px solid #ffffff22;border-radius:50%;bottom:-180px;right:-120px;box-shadow:0 0 0 85px #ffffff08,0 0 0 170px #ffffff06}.login-art h1{font-size:clamp(38px,4.5vw,66px);letter-spacing:-.055em;line-height:1.05;max-width:600px;margin:20px 0}.login-art p{opacity:.78;max-width:460px;line-height:1.8}.eyebrow{font-size:11px;letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:#8cc8ed}.login-form-side{display:flex;align-items:center;justify-content:center;padding:36px}.login-panel{max-width:410px;width:100%}.brand{font-weight:800;letter-spacing:.12em;font-size:22px}.brand small{display:block;font-weight:500;font-size:10px;letter-spacing:.3em;margin-top:1px}.login-panel h2{font-size:29px;letter-spacing:-.04em;margin:36px 0 6px}.muted{color:#718095;font-size:13px;line-height:1.6}.field{margin:18px 0}.field label{display:block;font-size:12px;font-weight:650;color:#364a60;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;border:1px solid #dce4ec;background:#fff;border-radius:9px;padding:12px 13px;color:#1b3046;outline:none}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#447ca7;box-shadow:0 0 0 3px #447ca718}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d9e1e8;border-radius:9px;background:#fff;color:#233c55;padding:10px 14px;font-weight:650;font-size:13px;min-height:40px}.btn-primary{background:#1f3249;border-color:#1f3249;color:#fff}.btn-soft{background:#edf3f8;border-color:#e7eff4}.btn-danger{color:#b43f49;border-color:#e8bbc0}.btn-full{width:100%}.app-shell{min-height:100vh;display:flex}.sidebar{width:250px;background:#1f3249;color:#e9f1f7;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;flex-shrink:0;padding:24px 14px}.sidebar .brand{padding:8px 13px 27px;color:#fff}.side-caption{font-size:10px;font-weight:700;letter-spacing:.14em;color:#91a7b8;padding:14px 13px 8px}.nav-btn{width:100%;text-align:left;display:flex;gap:11px;align-items:center;background:transparent;color:#d1dde8;border:0;border-radius:8px;padding:11px 13px;margin:2px 0;font-size:13px}.nav-btn.active,.nav-btn:hover{background:#ffffff16;color:#fff}.side-user{margin-top:auto;border-top:1px solid #ffffff1f;padding:20px 12px 8px;font-size:12px}.side-user strong{display:block;margin-bottom:6px}.main-area{flex:1;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid #e8edf2;padding:0 35px;display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar h2{font-size:21px;font-weight:750;letter-spacing:-.035em;margin:0}.page{padding:30px 35px;max-width:1480px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:22px}.page-heading h1{font-size:27px;font-weight:750;letter-spacing:-.05em;margin:0 0 4px}.page-heading p{margin:0;color:#728398;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.stat{background:white;border:1px solid #e9edf1;border-radius:13px;padding:22px;min-height:130px;box-shadow:0 2px 7px #1f324904}.stat label{font-size:12px;color:#718197;display:block}.stat strong{font-size:34px;font-weight:750;letter-spacing:-.05em;display:block;margin-top:12px}.stat small{font-size:11px;color:#8b99a8}.cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{border:1px solid #e8edf1;background:#fff;border-radius:13px;padding:23px;box-shadow:0 3px 8px #1f324906}.card h3{font-size:16px;letter-spacing:-.02em;margin:0 0 8px}.card p{line-height:1.65}.notice{padding:13px 15px;border:1px solid #e1e9f0;border-radius:10px;margin-top:10px;background:#fafcfe}.notice.unread{border-left:3px solid #2f78b7;background:#f5faff}.notice strong{font-size:13px}.notice p{font-size:13px;margin:7px 0;white-space:pre-wrap}.notice time{font-size:11px;color:#8190a0}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.toolbar select,.toolbar input{border:1px solid #dce4eb;border-radius:8px;background:#fff;padding:9px 11px;font-size:13px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;color:#748498;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;background:#f8fafc;padding:13px 12px;border-bottom:1px solid #e8ecf0}.data-table td{padding:14px 12px;border-bottom:1px solid #edf1f4}.data-table td .btn{padding:7px 9px;min-height:32px}.pill{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.06em;padding:5px 8px;border-radius:6px;background:#eaf1f7;color:#244c6f}.pill.green{background:#e6f8ef;color:#197554}.pill.gray{background:#eef1f4;color:#6b7683}.empty{text-align:center;padding:50px 20px;color:#8492a2;font-size:13px}.empty h3{color:#34485e}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.toast{position:fixed;bottom:24px;right:24px;padding:13px 19px;background:#1f3249;color:#fff;border-radius:9px;box-shadow:0 8px 28px #0002;max-width:420px;z-index:999}.toast.error{background:#ac343a}.rank-role{margin-bottom:18px}.rank-role h3{display:flex;justify-content:space-between}.badge-count{background:#e7eef6;border-radius:99px;color:#315e89;font-size:11px;padding:4px 9px}.mobile-menu{display:none}.danger-note{background:#fff7ed;padding:12px 15px;border-radius:9px;border:1px solid #f2d6b8;font-size:12px;color:#92591a;margin:15px 0}.login-foot{font-size:11px;color:#95a2af;margin-top:25px;text-align:center}@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.sidebar{width:210px}.page{padding:25px}.topbar{padding:0 25px}}@media(max-width:740px){.login-page{grid-template-columns:1fr}.login-art{min-height:230px;padding:30px}.login-art h1{font-size:34px}.login-form-side{padding:30px 22px}.login-panel h2{margin-top:20px}.sidebar{position:fixed;z-index:50;left:0;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.topbar{height:64px;padding:0 18px}.mobile-menu{display:inline-flex}.page{padding:18px}.stats,.cards,.split{grid-template-columns:1fr}.stat{min-height:105px;padding:17px}.page-heading{align-items:start;flex-direction:column}.toast{left:16px;right:16px}} 

/* Official Digitale logos, identical source files used by Portal Digitale. */
.login-brand-white{display:block;width:230px;height:140px;object-fit:contain;object-position:left center;margin:0 0 12px -5px;max-width:100%}
.login-brand-dark{display:block;width:190px;height:122px;object-fit:contain;object-position:left center;margin:0 0 6px -8px;max-width:100%}
@media(max-width:740px){.login-brand-white{width:165px;height:75px;margin-bottom:8px}.login-brand-dark{width:165px;height:100px}}

/* SDR login: original dark logo only, precise 180x80 layout */
.login-brand-white{display:none!important}
.login-brand-dark{width:180px!important;height:80px!important;max-width:180px!important;object-fit:contain!important;object-position:left center!important;margin:0 0 12px 0!important}
@media(max-width:740px){.login-brand-dark{width:180px!important;height:80px!important}}

/* Portal SDR v2 - Arial typography and Portal Digitale-style vertical module navigation */
:root,body,button,input,textarea,select{font-family:Arial,Helvetica,sans-serif!important}
h1,h2,h3,.brand,.module-title,.stat strong,.card h3,.topbar h2{font-family:Arial,Helvetica,sans-serif!important;font-weight:700}
.muted,.page-heading p,.stat small,.card .muted{font-style:italic}
.sidebar{width:252px;padding:20px 12px 16px;background:#1f3249;transition:width .22s ease}
.sidebar-brand{padding:0 12px 20px;display:flex;flex-direction:column;align-items:flex-start;border-bottom:1px solid rgba(255,255,255,.09);min-height:114px}
.sidebar-logo{height:80px;width:180px;max-width:100%;object-fit:contain;object-position:left center;margin-left:-7px}
.sidebar-brand-subtitle{font-size:10px;font-weight:700;letter-spacing:.22em;color:#aec0d3;margin-top:-5px}
.modules-title{color:#8baac3;font-size:10px;font-weight:700;letter-spacing:.14em;padding:23px 12px 10px}
.module-list{display:flex;flex:1;flex-direction:column;gap:7px;overflow-y:auto;min-height:0;padding-right:2px}
.nav-module{border-radius:10px;overflow:hidden;flex:0 0 auto}
.module-heading{background:transparent;border:0;color:#e3eef6;display:flex;align-items:center;gap:11px;width:100%;min-height:43px;padding:11px 12px;text-align:left;border-radius:9px;font-size:12px;font-weight:700}
.module-heading:hover,.module-heading[aria-expanded=true]{background:rgba(255,255,255,.09);color:#fff}
.module-symbol,.nav-symbol{width:19px;min-width:19px;text-align:center;font-size:15px;font-style:normal}
.module-title{flex:1;white-space:nowrap}
.module-chevron{transition:transform .18s ease;font-size:18px;font-weight:400;line-height:1;color:#b4c7d7}
.nav-module.expanded .module-chevron{transform:rotate(180deg)}
.module-items{max-height:0;overflow:hidden;transition:max-height .2s ease;padding-left:11px}
.nav-module.expanded .module-items{max-height:270px;padding-top:3px;padding-bottom:4px}
.module-items .nav-btn{margin:2px 0;padding:9px 12px;font-size:12px;gap:9px;min-height:38px;font-weight:400}
.module-items .nav-btn.active{background:rgba(255,255,255,.15);font-weight:700}
.nav-text{white-space:nowrap}
.side-user{border-top:1px solid rgba(255,255,255,.13);padding:14px 9px 0;margin-top:12px}
.side-user-data strong{font-weight:700;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-user-data span{display:block;font-size:11px;color:#9ab0c4;font-style:italic}
.side-user #logout{margin:15px 0 0;padding:9px 12px}
.topbar-left{display:flex;align-items:center;gap:14px}
.desktop-menu{width:38px;height:38px;border:1px solid #e5ebf1;font-size:18px}
.header-account{font-size:12px;color:#76879a;display:flex;align-items:center;gap:8px}
.sidebar-overlay{display:none}
.app-shell.sidebar-collapsed .sidebar{width:76px}
.app-shell.sidebar-collapsed .sidebar-brand{padding-left:0;padding-right:0;align-items:center;min-height:78px}
.app-shell.sidebar-collapsed .sidebar-logo{width:56px;height:54px;object-fit:cover;object-position:left center;opacity:.95;margin:0}
.app-shell.sidebar-collapsed .sidebar-brand-subtitle,.app-shell.sidebar-collapsed .modules-title,.app-shell.sidebar-collapsed .module-title,.app-shell.sidebar-collapsed .module-chevron,.app-shell.sidebar-collapsed .nav-text,.app-shell.sidebar-collapsed .side-user-data{display:none}
.app-shell.sidebar-collapsed .module-heading,.app-shell.sidebar-collapsed .module-items .nav-btn{justify-content:center;padding-left:6px;padding-right:6px}
.app-shell.sidebar-collapsed .module-items{padding-left:0}
.app-shell.sidebar-collapsed .side-user{padding-left:0;padding-right:0}
.app-shell.sidebar-collapsed .side-user #logout{justify-content:center}
@media(max-width:740px){.sidebar{width:252px!important}.desktop-menu{display:none}.sidebar-brand{min-height:108px}.sidebar-overlay.active{display:block;position:fixed;inset:0;background:rgba(15,31,49,.48);z-index:40}.header-account{font-size:11px;gap:4px;max-width:55%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.header-account .pill{display:none}}

/* Exact visual reference: Portal Digitale Logo + SustainabilityBadge. Sustainability left, official logo right. */
.sidebar-brand{padding:0 8px 17px;min-height:111px;align-items:stretch}
.sidebar-brand-row{display:flex;align-items:center;gap:8px;min-height:70px;justify-content:space-between}
.sidebar-logo-link{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:69px;transition:opacity .2s ease}
.sidebar-logo-link:hover{opacity:.8}
.sidebar-logo{display:block;width:92px;max-width:100%;height:69px;object-fit:contain;object-position:center;margin:0}
.sdr-sustainability{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;padding:5px 8px;background:rgba(16,185,129,.15);border:1px solid rgba(16,185,129,.3);border-radius:999px;color:#34d399;font-size:10px;font-family:Arial,Helvetica,sans-serif;font-weight:700;transition:transform .2s,background .2s,border-color .2s;cursor:pointer;white-space:nowrap;min-height:30px}
.sdr-sustainability:hover{transform:scale(1.045);background:rgba(16,185,129,.25);border-color:rgba(52,211,153,.5)}
.sdr-sustainability:active{transform:scale(.96)}
.sdr-sustainability::before{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(16,185,129,.07);pointer-events:none}
.sustainability-leaf,.sustainability-label{position:relative;z-index:1}
.sustainability-globe{display:none;position:relative;z-index:1}
.sdr-sustainability.is-collapsed{height:34px;width:34px;padding:0;background:rgba(16,185,129,.2)}
.sdr-sustainability.is-collapsed .sustainability-label,.sdr-sustainability.is-collapsed .sustainability-leaf{display:none}
.sdr-sustainability.is-collapsed .sustainability-globe{display:block}
.sidebar-brand-subtitle{margin:2px 0 0 3px;font-style:italic}
.app-shell.sidebar-collapsed .sidebar-brand{align-items:center;padding:0 0 12px;min-height:76px}
.app-shell.sidebar-collapsed .sidebar-brand-row{flex-direction:column;gap:3px;min-height:0}
.app-shell.sidebar-collapsed .sidebar-logo-link{order:-1;flex:0 0 auto;width:50px;height:37px;overflow:hidden}
.app-shell.sidebar-collapsed .sidebar-logo{width:50px;min-width:50px;height:37px;object-fit:contain}
.app-shell.sidebar-collapsed .sdr-sustainability{width:28px;height:28px;padding:0}
.app-shell.sidebar-collapsed .sustainability-label,.app-shell.sidebar-collapsed .sustainability-leaf{display:none}
.app-shell.sidebar-collapsed .sustainability-globe{display:block}
@media(max-width:740px){.sidebar-brand{min-height:111px}.sidebar-logo{width:92px;height:69px}.sidebar-brand-row{gap:8px}}
/* Header order: official Digitale logo on the LEFT and sustainability badge on the RIGHT. */
.sidebar-brand-row .sidebar-logo-link{order:0}
.sidebar-brand-row .sdr-sustainability{order:1}
.app-shell.sidebar-collapsed .sidebar-brand-row .sidebar-logo-link{order:-1}
.app-shell.sidebar-collapsed .sidebar-brand-row .sdr-sustainability{order:1}

/* Role-aware SDR dashboard v3 */
.dashboard-stat{min-height:125px}
.dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}
.dashboard-stats strong{font-size:29px;line-height:1.2;word-break:break-word}
.dash-summary{display:flex;align-items:center;gap:11px;margin:-5px 0 20px;font-size:12px;color:#64748b;flex-wrap:wrap}
.dashboard-panels{margin:10px 0 20px;align-items:stretch}
.dash-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}
.dash-panel-heading p{margin:3px 0}
.dash-members{margin-bottom:25px}
.dash-members .data-table strong{font-weight:700}
.dash-secondary{color:#8491a4;font-size:11px;margin-top:4px;overflow-wrap:anywhere}
.dash-line{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:12px 0;border-bottom:1px solid #eef1f5;font-size:13px}
.dash-line span{color:#63758a}
.dash-line b{color:#1f3249;text-align:right;font-weight:700}
.dash-disclaimer{margin:15px 0 0;font-size:12px;font-style:italic}
.dash-info{margin:16px 0}
.dash-trend{height:170px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:19px}
.dash-trend-month{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;font-size:11px;color:#8290a0;gap:4px}
.dash-trend-track{height:105px;display:flex;align-items:end;justify-content:center;width:100%;background:#f5f8fa;border-radius:7px 7px 3px 3px;overflow:hidden}
.dash-trend-bar{background:linear-gradient(180deg,#4c85b3,#1f3249);width:56%;min-width:10px;border-radius:5px 5px 0 0}
.dash-trend-bar.no-data{background:transparent}
.dash-trend-count{font-weight:700;color:#435c73}
@media(max-width:1250px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-stats .stat{padding:13px}.dashboard-stats strong{font-size:25px}.dashboard-stats label{font-size:11px}.dash-trend{gap:6px}.dash-line{font-size:12px}}

/* Visualizar como: same banner and role dropdown pattern as Portal Digitale */
.preview-select-label{font-size:11px;font-weight:700;color:#52677c;white-space:nowrap}
.preview-select{max-width:200px;padding:7px 9px;border:1px solid #dce4ec;background:white;border-radius:8px;font-size:12px;color:#1f3249;cursor:pointer}
.preview-banner{background:#f5bc3d;color:#352807;padding:9px 24px;display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:12px;font-family:Arial,sans-serif}
.preview-banner strong{font-weight:700}
.preview-exit{font-size:11px;padding:5px 11px;min-height:30px;background:#fff;white-space:nowrap}
@media(max-width:1000px){.header-user-name{display:none}.preview-select-label{display:none}.preview-select{max-width:145px}}
@media(max-width:740px){.preview-banner{padding:9px 14px;align-items:start;gap:8px}.preview-exit{font-size:10px}.preview-select{max-width:122px;font-size:11px}.topbar-left{gap:6px}.topbar h2{font-size:17px}}

/* MOBILE-FIRST HARDENING v4: responsive throughout SDR, 320px through tablets */
html,body,#app{max-width:100%;min-width:0}
html{overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:clip}
body,input,button,select,textarea{font-family:Arial,Helvetica,sans-serif!important}
button,.btn,.nav-btn,.module-heading{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.main-area,.page,.cards,.card,.split,.grid,.app-shell,.topbar,.header-account,.page-heading,.table-wrap{min-width:0}
.card,.stat{overflow-wrap:anywhere}
.field input,.field select,.field textarea{max-width:100%}
.admin-users-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr)}
.admin-users-grid>.card{min-width:0}
.responsive-table{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
/* Larger tap targets and predictable horizontal page layout */
@media(max-width:1024px){
 .sidebar{width:236px}
 .page{padding:22px}
 .topbar{padding:0 22px}
 .admin-users-grid{grid-template-columns:minmax(0,1fr)}
 .admin-users-grid>.card{width:100%}
 .toolbar{gap:8px}
 .toolbar>.btn{min-height:42px}
}
@media(max-width:740px){
 :root{--mobile-gutter:15px}
 .app-shell{min-width:0;display:block}
 .main-area{width:100%;min-width:0;min-height:100dvh}
 .sidebar{position:fixed!important;inset:0 auto 0 0!important;z-index:60!important;width:min(85vw,300px)!important;max-width:300px;min-height:100dvh;height:100dvh;padding-top:calc(13px + env(safe-area-inset-top));padding-bottom:calc(12px + env(safe-area-inset-bottom));box-shadow:15px 0 45px rgba(7,25,43,.2);transform:translateX(-105%)}
 .sidebar.open{transform:translateX(0)!important}
 .sidebar-overlay.active{z-index:55!important;position:fixed;inset:0;display:block;background:rgba(10,24,41,.62);backdrop-filter:blur(2px)}
 .app-shell.sidebar-collapsed .sidebar{width:min(85vw,300px)!important}
 .app-shell.sidebar-collapsed .sidebar-brand{min-height:100px;align-items:stretch;padding:0 8px 17px}
 .app-shell.sidebar-collapsed .sidebar-brand-row{flex-direction:row;gap:8px;min-height:70px}
 .app-shell.sidebar-collapsed .sidebar-logo-link{order:0;flex:1;width:auto;height:69px}
 .app-shell.sidebar-collapsed .sidebar-logo{width:92px;height:69px}
 .app-shell.sidebar-collapsed .sdr-sustainability{order:1;width:auto;height:auto;min-height:30px;padding:5px 8px}
 .app-shell.sidebar-collapsed .sustainability-leaf,.app-shell.sidebar-collapsed .sustainability-label{display:inline-block}
 .app-shell.sidebar-collapsed .sustainability-globe{display:none}
 .app-shell.sidebar-collapsed .modules-title,.app-shell.sidebar-collapsed .module-title,.app-shell.sidebar-collapsed .module-chevron,.app-shell.sidebar-collapsed .nav-text,.app-shell.sidebar-collapsed .side-user-data{display:block}
 .app-shell.sidebar-collapsed .module-heading,.app-shell.sidebar-collapsed .module-items .nav-btn{justify-content:flex-start;padding-left:12px;padding-right:12px}
 .app-shell.sidebar-collapsed .module-items{padding-left:11px}
 .app-shell.sidebar-collapsed .side-user #logout{justify-content:flex-start}
 .topbar{height:auto;min-height:62px;padding:calc(10px + env(safe-area-inset-top)) var(--mobile-gutter) 11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
 .topbar-left{min-width:0;gap:9px}
 .topbar-left h2{font-size:18px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .mobile-menu{display:inline-flex!important;min-height:42px;min-width:42px;align-items:center;justify-content:center;font-size:20px;padding:7px}
 .desktop-menu{display:none!important}
 .header-account{min-width:0;max-width:100%;justify-content:flex-end;font-size:11px;flex-wrap:nowrap}
 .header-account .pill{display:none}
 .preview-select{max-width:154px;min-height:42px;padding:8px;font-size:12px}
 .page{width:100%;padding:19px var(--mobile-gutter) calc(30px + env(safe-area-inset-bottom));margin:0}
 .page-heading{display:flex;flex-direction:column;align-items:flex-start;gap:13px;margin-bottom:17px}
 .page-heading h1{font-size:23px;line-height:1.18;letter-spacing:-.035em}
 .page-heading p{font-size:12px;line-height:1.5}
 .page-heading input[type=month]{font-size:14px;min-height:44px;width:100%;max-width:240px}
 .cards,.split,.admin-users-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
 .card{padding:17px;border-radius:12px;max-width:100%}
 .card h3{font-size:15px}
 .stats,.dashboard-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:15px}
 .stat,.dashboard-stats .stat{min-height:103px;padding:15px 12px}
 .stat strong,.dashboard-stats strong{font-size:26px;line-height:1.18;margin-top:9px}
 .stat label{font-size:11px;line-height:1.35}
 .stat small{font-size:10px;line-height:1.3;display:block;margin-top:6px}
 .dashboard-panels{margin:12px 0}
 .dash-trend{height:155px;gap:5px}
 .dash-trend-track{height:88px}
 .dash-panel-heading{align-items:flex-start;flex-wrap:wrap}
 .dash-line{gap:10px;align-items:flex-start}
 .dash-line span{max-width:60%}
 .dash-line b{max-width:50%;overflow-wrap:anywhere}
 .dash-summary{gap:7px;align-items:flex-start;font-size:11px}
 .preview-banner{padding:10px 15px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:11px;line-height:1.45}
 .preview-banner>span{min-width:0;flex:1 1 190px}
 .preview-exit{min-height:38px}
 .toolbar{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;max-width:100%;padding:2px 1px 10px;margin-bottom:13px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
 .toolbar .btn{flex:0 0 auto;white-space:nowrap;min-height:43px;padding:10px 12px}
 .field{margin:14px 0}
 .field label{font-size:12px}
 .field input,.field select,.field textarea{font-size:16px!important;min-height:45px;padding:11px 12px}
 .field textarea{min-height:115px}
 .form-actions{gap:9px}
 .form-actions .btn,.card form>.btn{min-height:45px}
 .pill{white-space:normal}
 .notice{padding:14px 13px;overflow-wrap:anywhere}
 .notice time{float:none!important;display:block;margin:7px 0 0}
 .notice .btn{min-height:42px}
 .login-page{min-height:100dvh;display:flex;flex-direction:column}
 .login-art{flex:none;min-height:0;padding:calc(23px + env(safe-area-inset-top)) 23px 27px;overflow:hidden}
 .login-art .eyebrow{font-size:10px;line-height:1.6;letter-spacing:.13em}
 .login-art h1{font-size:clamp(24px,7vw,34px);line-height:1.12;margin:9px 0 10px}
 .login-art p{font-size:12px;line-height:1.5;margin:0;max-width:540px}
 .login-art>div:last-child{margin-top:15px!important;font-size:9px!important}
 .login-form-side{flex:1;display:flex;align-items:flex-start;padding:25px 23px 30px;min-height:0}
 .login-panel{width:100%;max-width:450px}
 .login-brand-dark{width:155px!important;height:65px!important;max-width:155px!important;margin:0 0 5px!important}
 .login-panel h2{font-size:24px;margin:9px 0 5px}
 .login-panel .muted{font-size:12px}
 .login-panel .field{margin:13px 0}
 .login-panel form .btn{min-height:48px;font-size:14px}
 .login-foot{margin-top:17px}
 .table-wrap.responsive-table{overflow:visible;width:100%;max-width:100%}
 .responsive-table .data-table,.responsive-table .data-table tbody,.responsive-table .data-table tr,.responsive-table .data-table td{display:block;width:100%}
 .responsive-table .data-table thead{display:none}
 .responsive-table .data-table tr{background:#fff;border:1px solid #e4eaf1;border-radius:11px;margin:0 0 11px;padding:8px 12px;box-shadow:0 2px 6px rgba(31,50,73,.04)}
 .responsive-table .data-table td{padding:10px 1px;border-bottom:1px solid #f0f3f6;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;text-align:right;overflow-wrap:anywhere;min-width:0}
 .responsive-table .data-table td:last-child{border-bottom:0}
 .responsive-table .data-table td::before{content:attr(data-label);font-size:10px;text-align:left;color:#7b8999;text-transform:uppercase;font-weight:700;letter-spacing:.035em;flex:0 0 39%;padding-top:2px}
 .responsive-table .data-table td>*{min-width:0}
 .responsive-table .data-table td:has(select),.responsive-table .data-table td:has([data-save]){display:block;text-align:left}
 .responsive-table .data-table td:has(select)::before,.responsive-table .data-table td:has([data-save])::before{display:block;margin-bottom:8px}
 .responsive-table .data-table td select{display:block;width:100%;min-height:42px;font-size:14px;padding:7px 9px;border-radius:7px;border:1px solid #dce4ec;background:#fff}
 .responsive-table .data-table td .btn{min-height:38px}
 .empty{padding:33px 12px}
}
@media(max-width:390px){
 .topbar{grid-template-columns:minmax(0,1fr) auto;gap:4px}
 .topbar-left{gap:5px}
 .topbar-left h2{font-size:16px!important}
 .preview-select{max-width:112px;font-size:11px}
 .page{--mobile-gutter:12px}
 .stats,.dashboard-stats{gap:8px!important}
 .stat,.dashboard-stats .stat{padding:12px 9px}
 .stat strong,.dashboard-stats strong{font-size:23px}
 .login-art{padding-left:17px;padding-right:17px}
 .login-form-side{padding-left:17px;padding-right:17px}
}
@media(prefers-reduced-motion:reduce){.sidebar,.module-items,.module-chevron,.btn{transition:none!important}}
/* Vertical sidebar navigation: text only, no menu or action icons. */
.sidebar .module-symbol,.sidebar .nav-symbol,.sidebar .module-chevron{display:none!important}
.sidebar .module-heading{gap:0!important;padding-left:13px;padding-right:13px}
.sidebar .module-items .nav-btn{gap:0!important;padding-left:17px;padding-right:11px}
.sidebar .module-title,.sidebar .nav-text{display:block}
@media(max-width:740px){.sidebar .module-symbol,.sidebar .nav-symbol,.sidebar .module-chevron{display:none!important}}

/* Digitale CRM typography: local Inter variable, no third-party runtime dependency. */
@font-face{font-family:'Inter SDR';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/inter-latin-variable.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter SDR';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/inter-latin-ext-variable.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root,html,body,#app,#app *,button,input,textarea,select{font-family:'Inter SDR',Inter,Arial,sans-serif!important}
body{font-weight:400;letter-spacing:-.012em}
#app h1,#app h2,#app h3,#app h4,#app .stat strong,#app .dashboard-stat strong{font-weight:700;letter-spacing:-.035em}
#app .module-title,#app .nav-module .nav-btn.active,#app .module-heading,#app .nav-btn.active,#app .card h3,#app .topbar h2{font-weight:600}
#app .nav-text,#app .nav-btn,#app .field label,#app .data-table,#app input,#app select,#app textarea,#app .btn{font-weight:400}
#app .muted,#app .page-heading p,#app .stat small,#app .card .muted,#app .side-user-data span,#app .sidebar-brand-subtitle{font-style:normal}
#app em,#app i{font-style:italic}

/* Rafael -> Pré Atendimento IA */
.preia-inactive{border:1px solid #d5dde5;background:#f5f7fa;color:#32475d;border-radius:10px;display:flex;flex-direction:column;gap:5px;padding:13px 16px;font-size:12px;margin-bottom:20px}
.preia-inactive strong{font-weight:700}
.preia-inactive span{color:#6b7a8a}
.preia-main{margin:0 0 20px}
.preia-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:15px}
.preia-head h3{margin:0 0 5px}
.preia-head p{margin:0}
.preia-search{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:15px 0}
.preia-search input{flex:1 1 290px;min-width:0}
.preia-search select{flex:0 1 190px}
.preia-search input,.preia-search select{padding:10px 12px;min-height:43px;border:1px solid #d9e2eb;border-radius:8px;background:white;font-size:13px}
.preia-search button{min-height:43px}
.preia-count{font-size:12px;color:#728093;margin:10px 0}
.preia-pages{display:flex;align-items:center;justify-content:flex-end;gap:13px;margin-top:18px;font-size:12px;color:#566f88}
.preia-pages .btn{min-height:39px}
.preia-view{white-space:nowrap;min-height:35px}
.preia-details-card{border-color:#b7ccdf}
.preia-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:18px}
.preia-details-grid>div{min-width:0;display:flex;flex-direction:column;gap:6px;background:#f6f9fb;padding:12px;border-radius:8px}
.preia-details-grid span{font-size:11px;color:#7b8c9e}
.preia-details-grid strong{font-size:13px;color:#233e55;overflow-wrap:anywhere}
@media(max-width:740px){.preia-search{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.preia-search input,.preia-search select{grid-column:1/-1;width:100%;min-height:46px;font-size:16px}.preia-search button{min-height:45px}.preia-details-grid{grid-template-columns:minmax(0,1fr)}.preia-head{flex-direction:column}.preia-pages{justify-content:center}.preia-view{width:100%}}

/* Pré Atendimento IA: lead details in a focused, accessible modal dialog */
body.preia-modal-open{overflow:hidden}
.preia-modal-overlay{position:fixed;inset:0;z-index:9999;background:rgba(13,27,43,.65);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(2px)}
.preia-modal-dialog{width:min(100%,760px);max-height:min(90dvh,850px);background:#fff;border-radius:15px;box-shadow:0 24px 75px rgba(0,0,0,.26);display:flex;flex-direction:column;min-width:0;overflow:hidden}
.preia-modal-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px 17px;border-bottom:1px solid #e7edf3;flex:0 0 auto}
.preia-modal-header h2{font-size:21px;font-weight:700;line-height:1.3;color:#20364d;margin:0;overflow-wrap:anywhere}
.preia-modal-x{display:grid;place-items:center;border:1px solid #e1e7ee;background:#f7f9fb;color:#3c5065;width:40px;height:40px;min-width:40px;border-radius:9px;cursor:pointer;font-size:27px;line-height:1}
.preia-modal-x:hover{background:#e8eef5}
.preia-modal-x:focus-visible{outline:3px solid #7da4cb;outline-offset:2px}
.preia-modal-body{overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 24px;min-height:0;-webkit-overflow-scrolling:touch}
.preia-modal-meta{font-size:12px;color:#63758b;margin:0 0 18px}
.preia-modal-note{font-size:12px;color:#7b8999;line-height:1.55;margin:4px 0 0}
.preia-modal-loading,.preia-modal-error{padding:35px 8px;text-align:center;color:#65768a;font-size:13px}
@media(max-width:740px){.preia-modal-overlay{padding:10px;align-items:center}.preia-modal-dialog{width:100%;max-height:calc(100dvh - 20px);border-radius:12px}.preia-modal-header{padding:15px 16px 13px}.preia-modal-header h2{font-size:18px}.preia-modal-body{padding:16px}.preia-modal-body .preia-details-grid{grid-template-columns:1fr;gap:9px}}

/* CRM lead catalog, multi-origin filters and verified Disparo enrichment */
.preia-stats{margin-top:3px;margin-bottom:19px}
.preia-stats .stat strong{font-variant-numeric:tabular-nums}
.preia-search-expanded{display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(3,minmax(130px,1fr));gap:9px;margin:18px 0}
.preia-search-expanded input,.preia-search-expanded select{width:100%;flex:none;min-width:0;max-width:100%;min-height:44px;padding:10px;font-size:12px}
.preia-search-actions{display:flex;gap:9px;justify-content:flex-end;grid-column:1/-1}
.preia-search-actions .btn{min-height:42px}
.preia-results-heading{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:space-between;color:#64778c;font-size:12px;margin:12px 0}
.preia-status{display:inline-flex;align-items:center;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:600;white-space:nowrap;background:#eff2f6;color:#50647c}
.preia-status.is-validated{background:#e3f4ea;color:#1d8050}
.preia-status.is-review{background:#fff2da;color:#906016}
.preia-status.is-blocked{background:#fce8e8;color:#aa3d48}
.preia-disparo-dot{display:inline-flex;margin-top:4px;font-size:10px;background:#e8f2fc;color:#285b8c;border-radius:5px;padding:4px 6px}
.preia-modal-tags{display:flex;align-items:center;gap:7px;margin:0 0 15px;flex-wrap:wrap}
@media(max-width:1100px){.preia-search-expanded{grid-template-columns:repeat(2,minmax(0,1fr))}.preia-search-expanded input{grid-column:1/-1}}
@media(max-width:740px){.preia-search-expanded{grid-template-columns:minmax(0,1fr);gap:9px}.preia-search-expanded input,.preia-search-expanded select{grid-column:auto;font-size:16px}.preia-search-actions{grid-column:1}.preia-search-actions .btn{flex:1}.preia-results-heading{font-size:11px}.preia-status{white-space:normal;text-align:left}.preia-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Agendor cross-reference surfaced in Rafael's unified lead catalog */
.preia-agendor-dot{display:inline-flex;margin-top:4px;margin-left:4px;font-size:10px;background:#e9effa;color:#325681;border-radius:5px;padding:4px 6px}
.preia-agendor-section{border-top:1px solid #e4e9ef;margin-top:19px;padding-top:19px}
.preia-agendor-section h3{font-size:16px;color:#1f3249;margin:0 0 12px;font-weight:700}
.preia-agendor-section h4{font-size:13px;color:#344c66;margin:17px 0 8px;font-weight:700}
.preia-agendor-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.preia-agendor-summary>span{background:#f4f7fb;border-radius:8px;padding:11px;font-size:11px;color:#60758a}
.preia-agendor-summary strong{font-size:17px;color:#20364d;margin-right:4px}
.preia-agendor-stage{color:#62758d;font-size:12px;padding:11px;background:#f8fafc;border-radius:8px}
.preia-agendor-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.preia-agendor-records>div{min-width:0;border:1px solid #e3eaf1;border-radius:8px;padding:11px;display:flex;flex-direction:column;gap:5px}
.preia-agendor-records strong{font-size:12px;color:#20364d;overflow-wrap:anywhere}
.preia-agendor-records span{color:#718196;font-size:11px;overflow-wrap:anywhere}
@media(max-width:740px){.preia-agendor-records{grid-template-columns:1fr}.preia-agendor-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* IA Prospecção priority validation and Reprovados list */
.preia-stats .stat{cursor:pointer;transition:border-color .15s,box-shadow .15s}
.preia-stats .stat:hover,.preia-stats .stat:focus-visible{border-color:#7ba1c8;box-shadow:0 3px 15px rgba(34,66,99,.10);outline:none}
.preia-validation-progress{border:1px solid #dce6f0;border-radius:11px;padding:16px 19px;background:#f5f8fc;margin-bottom:18px;display:flex;flex-direction:column;gap:10px}
.preia-validation-progress>div:first-child{display:flex;flex-direction:column;gap:5px}
.preia-validation-progress strong{color:#263e58;font-size:13px;font-weight:700}
.preia-validation-progress span{font-size:12px;color:#65798c}
.preia-queue-numbers{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.preia-queue-numbers span{background:#fff;border:1px solid #e3eaf1;border-radius:7px;padding:8px 11px;white-space:nowrap}
.preia-queue-numbers b{font-weight:700;font-size:15px;color:#1f3249}
.preia-validation-progress small{font-size:11px;color:#8292a3}
@media(max-width:740px){.preia-validation-progress{padding:14px}.preia-queue-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.preia-queue-numbers span{white-space:normal;font-size:11px;padding:8px}.preia-queue-numbers span:last-child{grid-column:1/-1}}

/* Rafael / Enriquecimento Disparo: restrained responsive table and filters */
#enrich-filter{display:flex;gap:9px;flex-wrap:wrap}
#enrich-filter input{flex:1 1 270px}
#enrich-filter select{flex:0 1 220px}
#enrich-filter .btn{min-height:43px}
@media(max-width:740px){#enrich-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#enrich-filter input,#enrich-filter select{grid-column:1/-1;width:100%;font-size:16px}#enrich-filter .btn{width:100%}}

/* Atendimento IA management dashboard */
.ai-dash-live{font-size:11px;color:#48715f;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 11px;border:1px solid #d7e9df;border-radius:8px;background:#f2faf6}
.ai-dash-live-dot{width:8px;height:8px;border-radius:50%;background:#38a875;box-shadow:0 0 0 3px #d8f1e3}
.ai-dash-status-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.ai-dash-system-status{padding:14px 15px;border:1px solid #e4e9f0;background:#fff;border-radius:11px;display:grid;grid-template-columns:10px minmax(0,1fr);column-gap:9px;align-items:center;row-gap:5px;min-width:0}
.ai-dash-status-dot{width:9px;height:9px;border-radius:50%;grid-row:1/3}
.ai-dash-status-on{background:#31a174}.ai-dash-status-off{background:#c5ced8}
.ai-dash-system-status strong{font-size:12px;font-weight:600;color:#223a54}.ai-dash-system-status small{font-size:11px;color:#8693a3}
.ai-dashboard-panels{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:16px}
.ai-dashboard-panels>.card{min-width:0}
.ai-dashboard-panels .card h3{font-size:16px;margin:0 0 5px}
.ai-dashboard-panels .card p.muted{font-size:12px;margin:0 0 14px}
.ai-dash-queue{margin-top:15px}
.ai-dash-queue-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#66798c}
.ai-dash-queue-top strong{color:#243d57;font-weight:600}
.ai-dash-bar{display:flex;overflow:hidden;width:100%;height:13px;background:#edf1f5;border-radius:999px;margin:12px 0 17px}
.ai-dash-bar span{display:block;height:100%;min-width:0}
.ai-dash-queue-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 15px}
.ai-dash-queue-counts>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #eef2f5;font-size:11px;color:#6a7b8e}
.ai-dash-queue-counts strong{color:#253f5b;font-weight:600;font-size:12px}
.ai-dash-synced{margin-top:13px;font-size:11px;color:#8a98a6}
.ai-dash-events{display:flex;flex-direction:column;max-height:350px;overflow-y:auto}
.ai-dash-event{display:flex;align-items:flex-start;gap:11px;padding:10px 0;border-bottom:1px solid #edf1f4}
.ai-dash-event>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.ai-dash-event strong{font-size:11px;color:#273e55;overflow-wrap:anywhere;font-weight:600}
.ai-dash-event small{font-size:10px;color:#8291a2;overflow-wrap:anywhere}
.ai-dash-event .preia-status{flex:0 0 auto}
.ai-dash-sync-error{font-size:11px;color:#aa3d48;margin-top:10px}
.ai-dash-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#8a97a8;padding:5px 0 15px}
@media(max-width:1150px){.ai-dash-status-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.ai-dashboard-panels{grid-template-columns:1fr!important}.ai-dash-status-row{gap:8px}.ai-dash-system-status{padding:11px}.ai-dash-system-status strong{font-size:11px}.ai-dash-system-status small{font-size:10px}.ai-dash-live{white-space:normal}}
@media(max-width:375px){.ai-dash-status-row{grid-template-columns:1fr 1fr}.ai-dash-system-status{grid-template-columns:8px 1fr;column-gap:6px}}

/* Plain-language AI decisions: business name, readable origin, result and time */
.ai-dash-event{align-items:flex-start;gap:12px;padding:13px 0}
.ai-dash-event>div{gap:5px;min-width:0;flex:1}
.ai-dash-event strong{font-size:12px;line-height:1.4;color:#223c55;overflow-wrap:anywhere}
.ai-dash-event .ai-dash-event-source{font-size:10px;color:#7a8999;line-height:1.5;overflow-wrap:anywhere}
.ai-dash-event .ai-dash-event-explanation{font-size:11px;color:#455d72;line-height:1.55;overflow-wrap:anywhere}
.ai-dash-event small{font-size:10px;color:#8795a4}
.ai-dash-event .preia-status{margin-top:1px}
@media(max-width:740px){.ai-dash-event{gap:9px}.ai-dash-event .preia-status{max-width:98px}}


/* SDR_NATIVE_PROFILE_V3 */

#app .side-user {
    display:none !important;
}

#app .topbar {
    overflow:visible !important;
}

#app .sdr-native-account {
    position:relative;
    margin-left:auto;
    flex-shrink:0;
    color:#20354b;
    z-index:1000;
}

#app #native-profile {
    position:relative;
}

#app #native-profile summary {
    list-style:none;
}

#app #native-profile summary::-webkit-details-marker {
    display:none;
}

#app .native-profile-trigger {
    display:flex;
    align-items:center;
    gap:10px;
    padding:6px 8px;
    cursor:pointer;
    border-radius:6px;
}

#app .native-profile-trigger:hover {
    background:#f3f5f8;
}

#app .native-profile-avatar {
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    flex:0 0 34px;
    border-radius:50%;
    background:#20354b;
    color:white;
    font-size:14px;
    overflow:hidden;
}

#app .native-profile-avatar img {
    width:100%;
    height:100%;
    object-fit:cover;
}

#app .native-profile-name {
    font-size:13px;
    font-weight:500;
    max-width:180px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

#app .native-profile-panel {
    position:absolute;
    top:calc(100% + 6px);
    right:0;
    width:238px;
    max-width:calc(100vw - 24px);
    padding:4px;
    background:white;
    border:1px solid #d9e1ea;
    border-radius:7px;
    box-shadow:0 5px 16px rgba(15,23,42,.12);
    z-index:15000;
}

#app .native-profile-identity {
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:11px 10px;
    border-bottom:1px solid #edf0f4;
    margin-bottom:4px;
}

#app .native-profile-identity strong {
    font-size:13px;
    font-weight:600;
}

#app .native-profile-identity span {
    font-size:11px;
    color:#52677d;
    overflow-wrap:anywhere;
}

#app .native-profile-identity small {
    font-size:10px;
    color:#8594a4;
}

#app .native-profile-option {
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    min-height:36px;
    padding:9px 10px;
    border:0;
    border-radius:4px;
    background:transparent;
    color:#20354b;
    cursor:pointer;
    font-size:13px;
    text-align:left;
}

#app .native-profile-option span {
    flex:1;
}

#app .native-profile-option svg {
    width:16px;
    height:16px;
    flex:0 0 16px;
    stroke:currentColor;
    stroke-width:1.6;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
}

#app .native-profile-option:hover {
    background:#e0e7ef;
}

#app .native-role-submenu[open] > summary {
    background:#e0e7ef;
}

#app .native-role-submenu[open] .native-arrow {
    transform:rotate(90deg);
}

#app .native-role-options {
    padding:4px 8px 4px 25px;
}

#app .native-role-options button {
    display:flex;
    width:100%;
    padding:8px;
    border:0;
    border-radius:4px;
    background:transparent;
    color:#20354b;
    font-size:12px;
    text-align:left;
    cursor:pointer;
}

#app .native-role-options button:hover {
    background:#edf1f6;
}

#app .native-profile-logout {
    color:#ef4444;
    border-top:1px solid #edf0f4;
    margin-top:4px;
}

#app .native-profile-logout:hover {
    background:#fff1f2;
}

@media(max-width:600px){

    #app .native-profile-name {
        max-width:95px;
    }

    #app .native-profile-trigger {
        gap:6px;
        padding:4px;
    }

}



/* =========================================
   SDR APPEARANCE V1
   ========================================= */

#native-theme-label {
    color:#8492a3;
    font-size:11px;
    font-weight:400;
}

html[data-sdr-theme="dark"] {
    color-scheme:dark;

    --sdr-dark-bg:#121212;
    --sdr-dark-card:#202020;
    --sdr-dark-sidebar:#171717;
    --sdr-dark-input:#292929;
    --sdr-dark-border:#373737;
    --sdr-dark-text:#f1f1f1;
    --sdr-dark-muted:#a1a1aa;

    color:var(--sdr-dark-text);
    background:var(--sdr-dark-bg);
}

html[data-sdr-theme="dark"] body,
html[data-sdr-theme="dark"] #app,
html[data-sdr-theme="dark"] .app-shell,
html[data-sdr-theme="dark"] .main-area,
html[data-sdr-theme="dark"] .page {

    background:var(--sdr-dark-bg)!important;
    color:var(--sdr-dark-text)!important;
}

/* CABECALHO E MENU */

html[data-sdr-theme="dark"] #app .topbar,
html[data-sdr-theme="dark"] #app .sidebar {

    background:var(--sdr-dark-sidebar)!important;
    color:var(--sdr-dark-text)!important;
    border-color:var(--sdr-dark-border)!important;
}

html[data-sdr-theme="dark"] #app .module-title,
html[data-sdr-theme="dark"] #app .module-heading,
html[data-sdr-theme="dark"] #app .nav-module {

    color:#e5e7eb!important;
}

html[data-sdr-theme="dark"] #app .nav-module.expanded
> [data-module] {

    background:#292929!important;
}

html[data-sdr-theme="dark"] #app .nav-btn {
    color:#d1d5db!important;
}

html[data-sdr-theme="dark"] #app .nav-btn.active {
    background:#383838!important;
    color:#fff!important;
}

/* CARDS E CONTEINERES */

html[data-sdr-theme="dark"] #app .card,
html[data-sdr-theme="dark"] #app .native-profile-panel,
html[data-sdr-theme="dark"] #app dialog,
html[data-sdr-theme="dark"] #app .modal,
html[data-sdr-theme="dark"] #app .modal-content {

    background:var(--sdr-dark-card)!important;
    border-color:var(--sdr-dark-border)!important;
    color:var(--sdr-dark-text)!important;

    box-shadow:none;
}

html[data-sdr-theme="dark"] #app h1,
html[data-sdr-theme="dark"] #app h2,
html[data-sdr-theme="dark"] #app h3,
html[data-sdr-theme="dark"] #app h4,
html[data-sdr-theme="dark"] #app strong,
html[data-sdr-theme="dark"] #app label,
html[data-sdr-theme="dark"] #app .stat strong {

    color:var(--sdr-dark-text)!important;
}

html[data-sdr-theme="dark"] #app .muted,
html[data-sdr-theme="dark"] #app .page-heading p,
html[data-sdr-theme="dark"] #app .stat small,
html[data-sdr-theme="dark"] #app .empty,
html[data-sdr-theme="dark"] #app .native-profile-identity span,
html[data-sdr-theme="dark"] #app .native-profile-identity small {

    color:var(--sdr-dark-muted)!important;
}

/* CAMPOS */

html[data-sdr-theme="dark"] #app input:not([type="checkbox"]):not([type="radio"]),
html[data-sdr-theme="dark"] #app select,
html[data-sdr-theme="dark"] #app textarea {

    background:var(--sdr-dark-input)!important;
    border-color:#414141!important;
    color:#f1f1f1!important;
}

html[data-sdr-theme="dark"] #app input::placeholder,
html[data-sdr-theme="dark"] #app textarea::placeholder {

    color:#929292!important;
}

html[data-sdr-theme="dark"] #app .btn {

    background:#292929!important;
    border-color:#414141!important;
    color:#e5e7eb!important;
}

html[data-sdr-theme="dark"] #app .btn:hover {
    background:#373737!important;
}

html[data-sdr-theme="dark"] #app .btn-primary {

    background:#e5e7eb!important;
    border-color:#e5e7eb!important;
    color:#171717!important;
}

html[data-sdr-theme="dark"] #app .btn-danger {

    color:#fca5a5!important;
    background:#422323!important;
    border-color:#693535!important;
}

/* TABELAS */

html[data-sdr-theme="dark"] #app table,
html[data-sdr-theme="dark"] #app tbody,
html[data-sdr-theme="dark"] #app tr {

    background:transparent;
    color:#e5e7eb!important;
}

html[data-sdr-theme="dark"] #app th,
html[data-sdr-theme="dark"] #app thead {

    background:#262626!important;
    color:#e5e7eb!important;
    border-color:#393939!important;
}

html[data-sdr-theme="dark"] #app td {
    color:#e5e7eb!important;
    border-color:#373737!important;
    background:transparent!important;
}

html[data-sdr-theme="dark"] #app tbody tr:hover {
    background:#2b2b2b!important;
}

html[data-sdr-theme="dark"] #app .dash-line,
html[data-sdr-theme="dark"] #app hr {

    border-color:#373737!important;
}

/* PERFIL */

html[data-sdr-theme="dark"] #app .native-profile-trigger,
html[data-sdr-theme="dark"] #app .native-profile-option,
html[data-sdr-theme="dark"] #app .native-role-options button {

    color:#e5e7eb!important;
}

html[data-sdr-theme="dark"] #app .native-profile-trigger:hover,
html[data-sdr-theme="dark"] #app .native-profile-option:hover,
html[data-sdr-theme="dark"] #app .native-role-options button:hover,
html[data-sdr-theme="dark"] #app .native-role-submenu[open]>summary {

    background:#333333!important;
}

html[data-sdr-theme="dark"] #app .native-profile-identity,
html[data-sdr-theme="dark"] #app .native-profile-logout {

    border-color:#373737!important;
}

html[data-sdr-theme="dark"] #app .native-profile-logout {
    color:#f87171!important;
}

html[data-sdr-theme="dark"] #app .native-profile-logout:hover {
    background:#392323!important;
}

/* CONTATOS E SELECAO */

html[data-sdr-theme="dark"] #bl-contact-list tr:hover {
    background:#292929!important;
}

html[data-sdr-theme="dark"] #bl-contact-list tr.bl-contact-selected,
html[data-sdr-theme="dark"] #bl-contact-list tr.bl-contact-selected:hover {

    background:#203b61!important;
}

html[data-sdr-theme="dark"] #bl-selection-toolbar {
    background:#203047!important;
}

html[data-sdr-theme="dark"] #bl-selection-count {
    color:#93c5fd!important;
}

html[data-sdr-theme="dark"] #bl-selection-toolbar button {
    color:#d1d5db!important;
}

html[data-sdr-theme="dark"] [data-contact-menu] {

    background:#252525!important;
    border-color:#414141!important;
}

html[data-sdr-theme="dark"] [data-contact-menu] button {

    background:transparent!important;
    color:#e5e7eb!important;
}

html[data-sdr-theme="dark"] [data-contact-menu] button:hover {
    background:#373737!important;
}

html[data-sdr-theme="dark"] [data-contact-menu] button:last-child {
    color:#f87171!important;
}

/* INDICADORES */

html[data-sdr-theme="dark"] #app .pill.gray {

    background:#353535!important;
    color:#d4d4d4!important;
}

html[data-sdr-theme="dark"] #app .pill.green {

    background:#163c2c!important;
    color:#86efac!important;
}

/* PRESERVAR LOGOS, FOTOS E QR CODES */

html[data-sdr-theme="dark"] #app img {
    filter:none!important;
}

html[data-sdr-theme="dark"] #wa-v3-image,
html[data-sdr-theme="dark"] #bl-qr-image {

    background:#ffffff!important;
    border-radius:4px;
}

/* BARRAS DE ROLAGEM */

html[data-sdr-theme="dark"] {
    scrollbar-color:#555 #202020;
}



/* SDR_DARK_DASH_V2_BEGIN */

/* ========================================
   PALETA GLOBAL DOS DASHBOARDS
   ======================================== */

html[data-sdr-theme="dark"] {
    --dash-surface: #202020;
    --dash-surface-secondary: #292929;
    --dash-border: #363636;
    --dash-text: #f1f1f1;
    --dash-muted: #b0b0b0;
    --dash-secondary: #929292;
}

/* ========================================
   CARDS DE INDICADORES
   ======================================== */

html[data-sdr-theme="dark"] #app .stat,
html[data-sdr-theme="dark"] #app .dashboard-stat,
html[data-sdr-theme="dark"] #app .preia-stats .stat {

    background: var(--dash-surface) !important;
    border-color: var(--dash-border) !important;
    color: var(--dash-text) !important;
    box-shadow: none !important;
}

html[data-sdr-theme="dark"] #app .stat label {
    color: var(--dash-muted) !important;
}

html[data-sdr-theme="dark"] #app .stat strong {
    color: var(--dash-text) !important;
}

html[data-sdr-theme="dark"] #app .stat small {
    color: var(--dash-secondary) !important;
}

html[data-sdr-theme="dark"] #app .preia-stats .stat:hover {
    border-color: #626262 !important;
    box-shadow: none !important;
}

/* ========================================
   DASHBOARD AREA DE TRABALHO
   ======================================== */

html[data-sdr-theme="dark"] #app .dash-summary,
html[data-sdr-theme="dark"] #app .dash-info,
html[data-sdr-theme="dark"] #app .dash-disclaimer {

    color: var(--dash-muted) !important;
}

html[data-sdr-theme="dark"] #app .dash-secondary {
    color: var(--dash-secondary) !important;
}

html[data-sdr-theme="dark"] #app .dash-line {
    border-color: var(--dash-border) !important;
}

html[data-sdr-theme="dark"] #app .dash-line span {
    color: var(--dash-muted) !important;
}

html[data-sdr-theme="dark"] #app .dash-line b,
html[data-sdr-theme="dark"] #app .dash-line strong {

    color: var(--dash-text) !important;
}

/* ========================================
   GRAFICO DE EVOLUCAO DA EQUIPE
   ======================================== */

html[data-sdr-theme="dark"] #app .dash-trend-track {
    background: #2d2d2d !important;
}

html[data-sdr-theme="dark"] #app .dash-trend-count {
    color: #dddddd !important;
}

html[data-sdr-theme="dark"] #app .dash-trend-month {
    color: var(--dash-muted) !important;
}

html[data-sdr-theme="dark"] #app .dash-trend-bar {
    background: linear-gradient(
        180deg,
        #8eacc7,
        #486681
    ) !important;
}

html[data-sdr-theme="dark"] #app .dash-trend-bar.no-data {
    background: transparent !important;
}

/* ========================================
   ETIQUETAS E CONTADORES
   ======================================== */

html[data-sdr-theme="dark"] #app .pill {
    background: #30343a !important;
    color: #d4deea !important;
}

html[data-sdr-theme="dark"] #app .badge-count {
    background: #30343a !important;
    color: #d4deea !important;
}

html[data-sdr-theme="dark"] #app .pill.green {
    background: #173a2b !important;
    color: #86dcb3 !important;
}

html[data-sdr-theme="dark"] #app .pill.gray {
    background: #333333 !important;
    color: #c4c4c4 !important;
}

/* ========================================
   DASHBOARD ATENDIMENTO IA
   ======================================== */

html[data-sdr-theme="dark"] #app .ai-dash-system-status {

    background: var(--dash-surface-secondary) !important;
    border-color: var(--dash-border) !important;
    color: var(--dash-text) !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-system-status strong,
html[data-sdr-theme="dark"] #app .ai-dash-queue-top strong,
html[data-sdr-theme="dark"] #app .ai-dash-queue-counts strong,
html[data-sdr-theme="dark"] #app .ai-dash-event strong {

    color: var(--dash-text) !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-system-status small,
html[data-sdr-theme="dark"] #app .ai-dash-queue-top,
html[data-sdr-theme="dark"] #app .ai-dash-synced,
html[data-sdr-theme="dark"] #app .ai-dash-event small,
html[data-sdr-theme="dark"] #app .ai-dash-footer {

    color: var(--dash-muted) !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-status-row,
html[data-sdr-theme="dark"] #app .ai-dash-queue-counts > div,
html[data-sdr-theme="dark"] #app .ai-dash-event {

    border-color: var(--dash-border) !important;
    color: var(--dash-muted) !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-event-source {
    color: #a7a7a7 !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-event-explanation {
    color: #c5c5c5 !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-bar {
    background: #323232 !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-status-off {
    background: #727272 !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-live {
    background: #172c23 !important;
    border-color: #294b3b !important;
    color: #8bd3af !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-live-dot {
    background: #38a875 !important;
    box-shadow: 0 0 0 3px #234332 !important;
}

html[data-sdr-theme="dark"] #app .ai-dash-sync-error {
    color: #f19399 !important;
}

/* ========================================
   LEADS E ENRIQUECIMENTO
   ======================================== */

html[data-sdr-theme="dark"] #app .preia-agendor-summary > span,
html[data-sdr-theme="dark"] #app .preia-queue-numbers span {

    background: var(--dash-surface-secondary) !important;
    border-color: var(--dash-border) !important;
    color: var(--dash-muted) !important;
}

html[data-sdr-theme="dark"] #app .preia-agendor-summary strong,
html[data-sdr-theme="dark"] #app .preia-queue-numbers b {

    color: var(--dash-text) !important;
}

html[data-sdr-theme="dark"] #app .preia-status {
    background: #343434 !important;
    color: #d1d1d1 !important;
}

html[data-sdr-theme="dark"] #app .preia-status.is-validated {
    background: #193a2b !important;
    color: #86dcb3 !important;
}

html[data-sdr-theme="dark"] #app .preia-status.is-review {
    background: #40321b !important;
    color: #eac57d !important;
}

html[data-sdr-theme="dark"] #app .preia-status.is-blocked {
    background: #42262a !important;
    color: #f3a2a9 !important;
}

/* ========================================
   RANKINGS E ESTADOS VAZIOS
   ======================================== */

html[data-sdr-theme="dark"] #app .rank-role {
    background: var(--dash-surface) !important;
    border-color: var(--dash-border) !important;
}

html[data-sdr-theme="dark"] #app .empty {
    color: var(--dash-muted) !important;
}

html[data-sdr-theme="dark"] #app .empty h3 {
    color: var(--dash-text) !important;
}

/* ========================================
   BARRAS DE ROLAGEM
   ======================================== */

html[data-sdr-theme="dark"],
html[data-sdr-theme="dark"] #app,
html[data-sdr-theme="dark"] #app * {
    scrollbar-color: #555555 #202020 !important;
}

html[data-sdr-theme="dark"] ::-webkit-scrollbar-track {
    background: #202020 !important;
}

html[data-sdr-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #555555 !important;
    border-color: #202020 !important;
    border-radius: 8px;
}

html[data-sdr-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #777777 !important;
}

html[data-sdr-theme="dark"] ::-webkit-scrollbar-corner {
    background: #202020 !important;
}

/* SDR_DARK_DASH_V2_END */



/* SDR_COLLAPSED_MODULE_ICONS_V1 */

#app .sdr-collapsed-icon {
    display:none;
}

@media(min-width:741px){

    #app .app-shell.sidebar-collapsed .module-list {
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        gap:12px !important;
        padding:12px 4px !important;
    }

    #app .app-shell.sidebar-collapsed .nav-module {
        width:100% !important;
        min-height:0 !important;
        height:auto !important;
        margin:0 !important;
        padding:0 !important;
        background:transparent !important;
    }

    /* Ocultar exclusivamente os submodulos */

    #app .app-shell.sidebar-collapsed
    .nav-module [data-nav] {
        display:none !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module > :not([data-module])
    :not(.sdr-collapsed-icon) {
        min-height:0;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module > :not([data-module]) {
        display:none !important;
    }

    /* Exibir somente o icone do modulo */

    #app .app-shell.sidebar-collapsed
    [data-module] {
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:44px !important;
        height:44px !important;
        min-height:44px !important;
        padding:0 !important;
        margin:0 auto !important;
        border:0 !important;
        border-radius:9px !important;
        background:transparent !important;
        color:#dbe5ef !important;
    }

    #app .app-shell.sidebar-collapsed
    [data-module] > :not(.sdr-collapsed-icon) {
        display:none !important;
    }

    #app .app-shell.sidebar-collapsed
    .sdr-collapsed-icon {
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        flex-shrink:0;
        width:25px;
        height:25px;
    }

    #app .app-shell.sidebar-collapsed
    [data-module]:hover {
        background:rgba(255,255,255,.12) !important;
        color:#fff !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module:has([data-nav].active)
    [data-module] {
        background:rgba(255,255,255,.15) !important;
        color:#fff !important;
    }

    #app .app-shell.sidebar-collapsed
    .module-list {
        scrollbar-width:none;
    }

    #app .app-shell.sidebar-collapsed
    .module-list::-webkit-scrollbar {
        display:none;
    }

}

/* Modo escuro */

html[data-sdr-theme="dark"]
#app .app-shell.sidebar-collapsed
[data-module] {
    color:#e0e0e0 !important;
}

html[data-sdr-theme="dark"]
#app .app-shell.sidebar-collapsed
[data-module]:hover {
    background:#303030 !important;
}

html[data-sdr-theme="dark"]
#app .app-shell.sidebar-collapsed
.nav-module:has([data-nav].active)
[data-module] {
    background:#383838 !important;
}



/* SDR_SIDEBAR_FIX_V2_BEGIN */

@media(min-width:741px){

    #app .app-shell.sidebar-collapsed .module-list {
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:10px !important;
        padding:12px 4px !important;
    }

    #app .app-shell.sidebar-collapsed .nav-module {
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
        width:100% !important;
        height:auto !important;
        min-height:44px !important;
        margin:0 !important;
        padding:0 !important;
        background:transparent !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-nav] {
        display:none !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module > :not([data-module]) {
        display:none !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module] {
        position:relative !important;
        display:flex !important;
        visibility:visible !important;
        opacity:1 !important;
        align-items:center !important;
        justify-content:center !important;
        width:44px !important;
        min-width:44px !important;
        height:44px !important;
        min-height:44px !important;
        padding:0 !important;
        margin:0 auto !important;
        font-size:0 !important;
        color:#e5edf6 !important;
        background:transparent !important;
        border:0 !important;
        border-radius:9px !important;
        cursor:pointer !important;
    }

    #app .app-shell.sidebar-collapsed
    [data-module] > * {
        display:none !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module]::before {
        content:"" !important;
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
        width:24px !important;
        height:24px !important;
        flex:0 0 24px !important;
        background-color:currentColor !important;
        mask-repeat:no-repeat !important;
        mask-position:center !important;
        mask-size:contain !important;
        -webkit-mask-repeat:no-repeat !important;
        -webkit-mask-position:center !important;
        -webkit-mask-size:contain !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module]::after {
        display:none !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module]:hover {
        background:rgba(255,255,255,.12) !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module:has([data-nav].active) [data-module] {
        background:rgba(255,255,255,.16) !important;
        color:white !important;
    }


    #app .app-shell.sidebar-collapsed
    .nav-module [data-module="work"]::before {
        mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module="rafael"]::before {
        mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%2216%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12%202v4M2%2011v5M22%2011v5M9%2016h6%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%229%22%20cy%3D%2211%22%20r%3D%221%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2215%22%20cy%3D%2211%22%20r%3D%221%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%2216%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12%202v4M2%2011v5M22%2011v5M9%2016h6%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%229%22%20cy%3D%2211%22%20r%3D%221%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2215%22%20cy%3D%2211%22%20r%3D%221%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module="baileys"]::before {
        mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M21%2011.5a9%209%200%200%201-9%209%0A%20%20%20%20%20%20%20%209%209%200%200%201-4.2-1L3%2021l1.5-4.8%0A%20%20%20%20%20%20%20%20A9%209%200%201%201%2021%2011.5Z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M8%209h8M8%2013h6%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M21%2011.5a9%209%200%200%201-9%209%0A%20%20%20%20%20%20%20%209%209%200%200%201-4.2-1L3%2021l1.5-4.8%0A%20%20%20%20%20%20%20%20A9%209%200%201%201%2021%2011.5Z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M8%209h8M8%2013h6%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module="management"]::before {
        mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12%202v3M12%2019v3%0A%20%20%20%20%20%20%20%20M2%2012h3M19%2012h3%0A%20%20%20%20%20%20%20%20M5%205l2%202M17%2017l2%202%0A%20%20%20%20%20%20%20%20M5%2019l2-2M17%207l2-2%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12%202v3M12%2019v3%0A%20%20%20%20%20%20%20%20M2%2012h3M19%2012h3%0A%20%20%20%20%20%20%20%20M5%205l2%202M17%2017l2%202%0A%20%20%20%20%20%20%20%20M5%2019l2-2M17%207l2-2%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
    }

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module="account"]::before {
        mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
        -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E") !important;
    }


}

/* SDR_SIDEBAR_FIX_V2_END */



/* SDR_SIDEBAR_TOOLTIP_V3 */

@media(min-width:741px){

    #app .app-shell.sidebar-collapsed
    .nav-module [data-module="management"]::before {

        mask-image:url("data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20%20%20fill%3D%22none%22%0A%20%20%20%20stroke%3D%22black%22%0A%20%20%20%20stroke-width%3D%221.8%22%0A%20%20%20%20stroke-linecap%3D%22round%22%0A%20%20%20%20stroke-linejoin%3D%22round%22%3E%0A%0A%20%20%20%20%3Cpath%20d%3D%22M12.22%202h-.44a2%202%200%200%200-2%202v.18%0A%20%20%20%20a2%202%200%200%201-1%201.73l-.43.25a2%202%200%200%201-2%200l-.15-.08%0A%20%20%20%20a2%202%200%200%200-2.73.73l-.22.38a2%202%200%200%200%20.73%202.73%0A%20%20%20%20l.15.1a2%202%200%200%201%201%201.72v.51a2%202%200%200%201-1%201.74%0A%20%20%20%20l-.15.09a2%202%200%200%200-.73%202.73l.22.38a2%202%200%200%200%0A%20%20%20%202.73.73l.15-.08a2%202%200%200%201%202%200l.43.25a2%202%200%200%201%0A%20%20%20%201%201.73V20a2%202%200%200%200%202%202h.44a2%202%200%200%200%202-2v-.18%0A%20%20%20%20a2%202%200%200%201%201-1.73l.43-.25a2%202%200%200%201%202%200l.15.08%0A%20%20%20%20a2%202%200%200%200%202.73-.73l.22-.38a2%202%200%200%200-.73-2.73%0A%20%20%20%20l-.15-.1a2%202%200%200%201-1-1.72v-.51a2%202%200%200%201%0A%20%20%20%201-1.74l.15-.09a2%202%200%200%200%20.73-2.73l-.22-.38%0A%20%20%20%20a2%202%200%200%200-2.73-.73l-.15.08a2%202%200%200%201-2%200%0A%20%20%20%20l-.43-.25a2%202%200%200%201-1-1.73V4a2%202%200%200%200-2-2Z%22%2F%3E%0A%0A%20%20%20%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%0A%0A%3C%2Fsvg%3E%0A") !important;

        -webkit-mask-image:url("data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20%20%20fill%3D%22none%22%0A%20%20%20%20stroke%3D%22black%22%0A%20%20%20%20stroke-width%3D%221.8%22%0A%20%20%20%20stroke-linecap%3D%22round%22%0A%20%20%20%20stroke-linejoin%3D%22round%22%3E%0A%0A%20%20%20%20%3Cpath%20d%3D%22M12.22%202h-.44a2%202%200%200%200-2%202v.18%0A%20%20%20%20a2%202%200%200%201-1%201.73l-.43.25a2%202%200%200%201-2%200l-.15-.08%0A%20%20%20%20a2%202%200%200%200-2.73.73l-.22.38a2%202%200%200%200%20.73%202.73%0A%20%20%20%20l.15.1a2%202%200%200%201%201%201.72v.51a2%202%200%200%201-1%201.74%0A%20%20%20%20l-.15.09a2%202%200%200%200-.73%202.73l.22.38a2%202%200%200%200%0A%20%20%20%202.73.73l.15-.08a2%202%200%200%201%202%200l.43.25a2%202%200%200%201%0A%20%20%20%201%201.73V20a2%202%200%200%200%202%202h.44a2%202%200%200%200%202-2v-.18%0A%20%20%20%20a2%202%200%200%201%201-1.73l.43-.25a2%202%200%200%201%202%200l.15.08%0A%20%20%20%20a2%202%200%200%200%202.73-.73l.22-.38a2%202%200%200%200-.73-2.73%0A%20%20%20%20l-.15-.1a2%202%200%200%201-1-1.72v-.51a2%202%200%200%201%0A%20%20%20%201-1.74l.15-.09a2%202%200%200%200%20.73-2.73l-.22-.38%0A%20%20%20%20a2%202%200%200%200-2.73-.73l-.15.08a2%202%200%200%201-2%200%0A%20%20%20%20l-.43-.25a2%202%200%200%201-1-1.73V4a2%202%200%200%200-2-2Z%22%2F%3E%0A%0A%20%20%20%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%0A%0A%3C%2Fsvg%3E%0A") !important;
    }

}

#sdr-module-tooltip {

    position:fixed;
    display:none;
    z-index:999999;

    padding:9px 13px;

    border-radius:6px;

    background:#202b38;
    color:#ffffff;

    font-family:Arial,Helvetica,sans-serif;
    font-size:12px;
    font-weight:500;
    line-height:1.4;

    white-space:nowrap;

    pointer-events:none;

    box-shadow:0 4px 12px rgba(0,0,0,.16);
}

#sdr-module-tooltip::before {

    content:"";

    position:absolute;

    left:-6px;
    top:50%;

    transform:translateY(-50%);

    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
    border-right:6px solid #202b38;
}

html[data-sdr-theme="dark"] #sdr-module-tooltip {

    background:#414141;
    color:#ffffff;
}

html[data-sdr-theme="dark"]
#sdr-module-tooltip::before {

    border-right-color:#414141;
}



/* SDR_SIDEBAR_CLICK_V4 */

@media(min-width:741px){

    html body #app .app-shell.sidebar-collapsed
    .sidebar .nav-module
    [data-module="management"]::before {

        mask-image:url("data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0AviewBox%3D%220%200%2024%2024%22%0Afill%3D%22none%22%0Astroke%3D%22black%22%0Astroke-width%3D%221.7%22%0Astroke-linecap%3D%22round%22%0Astroke-linejoin%3D%22round%22%3E%0A%3Cpath%20d%3D%22M10%202h4l.7%203%202.1%201.2%203-.9%202%203.4-2.3%202.1v2.4l2.3%202.1-2%203.4-3-.9-2.1%201.2-.7%203h-4l-.7-3-2.1-1.2-3%20.9-2-3.4%202.3-2.1v-2.4L2.2%208.7l2-3.4%203%20.9%202.1-1.2z%22%2F%3E%0A%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223.2%22%2F%3E%0A%3C%2Fsvg%3E%0A") !important;
        -webkit-mask-image:url("data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0AviewBox%3D%220%200%2024%2024%22%0Afill%3D%22none%22%0Astroke%3D%22black%22%0Astroke-width%3D%221.7%22%0Astroke-linecap%3D%22round%22%0Astroke-linejoin%3D%22round%22%3E%0A%3Cpath%20d%3D%22M10%202h4l.7%203%202.1%201.2%203-.9%202%203.4-2.3%202.1v2.4l2.3%202.1-2%203.4-3-.9-2.1%201.2-.7%203h-4l-.7-3-2.1-1.2-3%20.9-2-3.4%202.3-2.1v-2.4L2.2%208.7l2-3.4%203%20.9%202.1-1.2z%22%2F%3E%0A%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223.2%22%2F%3E%0A%3C%2Fsvg%3E%0A") !important;

        mask-size:contain !important;
        -webkit-mask-size:contain !important;

        width:24px !important;
        height:24px !important;
    }

    #app .app-shell.sidebar-collapsed
    .sidebar [data-module] {

        cursor:pointer !important;
        pointer-events:auto !important;
    }

    #app .app-shell.sidebar-collapsed
    .sidebar [data-module]::before {

        pointer-events:none !important;
    }

}



/* SDR_MODULE_HOVER_V6 */

#sdr-hover-v6 {
    position:fixed !important;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    z-index:2147483647 !important;

    background:#263343 !important;
    color:#ffffff !important;

    padding:9px 13px !important;
    border-radius:6px !important;

    font-family:Arial,Helvetica,sans-serif;
    font-size:12px !important;
    font-weight:500;
    line-height:18px;

    white-space:nowrap;
    pointer-events:none !important;

    box-shadow:0 4px 15px rgba(0,0,0,.18);
}

#sdr-hover-v6[hidden] {
    display:none !important;
}

#sdr-hover-v6::before {
    content:"";
    position:absolute;
    left:-6px;
    top:50%;
    transform:translateY(-50%);

    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
    border-right:6px solid #263343;
}

html[data-sdr-theme="dark"] #sdr-hover-v6 {
    background:#404040 !important;
    color:#ffffff !important;
}

html[data-sdr-theme="dark"] #sdr-hover-v6::before {
    border-right-color:#404040;
}



/* SDR_FILES_MODULE_V1 */

@media(min-width:741px){

    html body #app .app-shell.sidebar-collapsed
    .sidebar .nav-module
    [data-module="files"]::before {

        content:"" !important;
        display:block !important;

        width:24px !important;
        height:24px !important;

        background-color:currentColor !important;

        mask-image:url("data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20%20%20fill%3D%22none%22%0A%20%20%20%20stroke%3D%22black%22%0A%20%20%20%20stroke-width%3D%221.8%22%0A%20%20%20%20stroke-linecap%3D%22round%22%0A%20%20%20%20stroke-linejoin%3D%22round%22%3E%0A%0A%20%20%20%20%3Cpath%20d%3D%22M12%203v12%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22m7%2010%205%205%205-5%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M4%2016v4h16v-4%22%2F%3E%0A%0A%3C%2Fsvg%3E%0A") !important;
        -webkit-mask-image:url("data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20viewBox%3D%220%200%2024%2024%22%0A%20%20%20%20fill%3D%22none%22%0A%20%20%20%20stroke%3D%22black%22%0A%20%20%20%20stroke-width%3D%221.8%22%0A%20%20%20%20stroke-linecap%3D%22round%22%0A%20%20%20%20stroke-linejoin%3D%22round%22%3E%0A%0A%20%20%20%20%3Cpath%20d%3D%22M12%203v12%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22m7%2010%205%205%205-5%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M4%2016v4h16v-4%22%2F%3E%0A%0A%3C%2Fsvg%3E%0A") !important;

        mask-repeat:no-repeat !important;
        mask-position:center !important;
        mask-size:contain !important;

        -webkit-mask-repeat:no-repeat !important;
        -webkit-mask-position:center !important;
        -webkit-mask-size:contain !important;

        pointer-events:none !important;
    }

}



/* SDR_FILE_PREVIEW_V1 */

#app .sdr-file-row {
    cursor:pointer;
    transition:background .15s ease;
}

#app .sdr-file-row:hover {
    background:#e9eff5 !important;
}

html[data-sdr-theme="dark"]
#app .sdr-file-row:hover {
    background:#303030 !important;
}

#sdr-file-preview {

    position:fixed;
    inset:0;
    z-index:2147483000;

    display:flex;
    flex-direction:column;

    background:#202124;
    color:#f1f1f1;
}

#sdr-file-preview .sdr-preview-header {

    height:64px;
    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;
    padding:0 24px;

    background:#292a2d;
    border-bottom:1px solid #404145;
}

#sdr-file-preview .sdr-preview-name {

    display:flex;
    align-items:center;
    gap:12px;

    min-width:0;
    font-size:14px;
}

#sdr-file-preview .sdr-preview-name span {

    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

#sdr-file-preview .sdr-preview-actions {

    display:flex;
    align-items:center;
    gap:12px;
}

#sdr-file-preview button {

    display:grid;
    place-items:center;

    width:40px;
    height:40px;

    border:0;
    border-radius:8px;

    background:transparent;
    color:#ffffff;

    cursor:pointer;
}

#sdr-file-preview button:hover {
    background:#45464a;
}

#sdr-preview-content {

    flex:1;
    min-height:0;
    overflow:auto;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#242424;
}

#sdr-preview-content iframe {

    width:100%;
    height:100%;
    border:0;
    background:#ffffff;
}

#sdr-preview-content img,
#sdr-preview-content video {

    max-width:95%;
    max-height:95%;
    object-fit:contain;
}

#sdr-preview-content audio {
    width:min(600px,90%);
}

#sdr-preview-content pre {

    align-self:stretch;

    width:min(1000px,95%);

    margin:20px;
    padding:24px;

    overflow:auto;
    white-space:pre-wrap;
    overflow-wrap:anywhere;

    background:#303030;
    color:#eeeeee;

    font:14px/1.7 monospace;
}

.sdr-preview-unavailable {

    padding:30px;
    text-align:center;
    color:#c7c7c7;
}



/* SDR_FILES_STORAGE_V3 */

.sdr-library-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:24px;
}

.sdr-library-heading h1{
    margin:0;
    font-size:25px;
    font-weight:500;
}

#sdr-library-upload{
    display:flex;
    align-items:center;
    gap:8px;
}

#sdr-library-progress{
    margin-bottom:12px;
}

.sdr-library-empty{
    min-height:60vh;
    display:grid;
    place-items:center;
}

.sdr-library-row{
    cursor:pointer;
}

.sdr-library-row:hover{
    background:#e9eff5!important;
}

html[data-sdr-theme="dark"]
.sdr-library-row:hover{
    background:#303030!important;
}

.sdr-library-name{
    display:flex;
    align-items:center;
    gap:12px;
    background:none;
    border:0;
    color:inherit;
    font:inherit;
    cursor:pointer;
    text-align:left;
}

#sdr-library-viewer{
    position:fixed;
    inset:0;
    z-index:2147483000;
    display:flex;
    flex-direction:column;
    background:#242424;
    color:#f1f1f1;
}

#sdr-library-viewer header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 24px;
    gap:16px;
    background:#292929;
    border-bottom:1px solid #444;
}

#sdr-library-viewer header strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

#sdr-library-viewer header div{
    display:flex;
    gap:10px;
}

#sdr-library-viewer button{
    background:#383838;
    color:#fff;
    border:1px solid #505050;
    border-radius:6px;
    padding:8px 14px;
    cursor:pointer;
}

#sdr-library-viewer button:disabled{
    opacity:.4;
    cursor:default;
}

#sdr-library-tools{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding:10px;
    background:#303030;
}

#sdr-library-tools[hidden]{
    display:none;
}

#sdr-library-view{
    flex:1;
    min-height:0;
    overflow:auto;
    padding:20px;
    text-align:center;
}

#sdr-library-view canvas{
    display:block;
    margin:0 auto;
    background:white;
    box-shadow:0 3px 20px #0005;
}

#sdr-library-view img,
#sdr-library-view video{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

#sdr-library-view pre{
    text-align:left;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    color:#eee;
}



/* SDR_FILE_DOWNLOAD_COLUMN_V1 */

#app .sdr-download-column {
    width:65px;
    text-align:right;
    padding-right:18px;
}

#app .sdr-file-download-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    padding:0;
    border:0;
    border-radius:6px;
    background:transparent;
    color:#51677d;
    cursor:pointer;
}

#app .sdr-file-download-button:hover {
    background:#e1e9f2;
    color:#20364e;
}

html[data-sdr-theme="dark"]
#app .sdr-file-download-button {
    color:#cccccc;
}

html[data-sdr-theme="dark"]
#app .sdr-file-download-button:hover {
    background:#414141;
    color:#ffffff;
}



/* SDR_MULTIFORMAT_V1 */

.sdr-sheet-layout{
    width:100%;
    text-align:left;
}

.sdr-sheet-tabs{
    display:flex;
    gap:5px;
    overflow:auto;
    padding:10px 0;
}

#sdr-library-viewer .sdr-sheet-tabs button{
    white-space:nowrap;
    border-radius:5px 5px 0 0;
}

#sdr-library-viewer .sdr-sheet-tabs button.active{
    background:#247447;
    border-color:#247447;
    color:white;
}

.sdr-sheet-scroll{
    overflow:auto;
    max-height:72vh;
    background:white;
}

.sdr-spreadsheet{
    border-collapse:collapse;
    color:#242424;
    background:#fff;
    font-size:12px;
    text-align:left;
}

.sdr-spreadsheet td,
.sdr-spreadsheet th{
    border:1px solid #d7dce0;
    padding:7px 12px;
    min-width:100px;
    max-width:400px;
    overflow-wrap:anywhere;
}

.sdr-spreadsheet th{
    background:#edf0f2;
    min-width:40px;
    text-align:center;
    font-weight:500;
}

.sdr-spreadsheet thead th{
    position:sticky;
    top:0;
    z-index:2;
}

.sdr-spreadsheet tbody th{
    position:sticky;
    left:0;
    z-index:1;
}

.sdr-preview-note{
    color:#bbb;
    font-size:12px;
    padding:12px 0;
}

.sdr-zip-table{
    width:100%;
    border-collapse:collapse;
    text-align:left;
    color:#eee;
}

.sdr-zip-table td,
.sdr-zip-table th{
    padding:12px;
    border-bottom:1px solid #414141;
    overflow-wrap:anywhere;
}

.sdr-zip-table th{
    background:#333;
}



/* SDR_AGENDAMENTOS_V1 */

.sdr-ap-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:24px;
}

.sdr-ap-heading h1,
.sdr-ap-heading h2{
    margin:0;
    font-weight:500;
}

.sdr-ap-stats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-bottom:22px;
}

.sdr-ap-stat,
.sdr-ap-panel{
    background:#fff;
    border:1px solid #dce3eb;
    border-radius:10px;
    padding:20px;
}

.sdr-ap-stat{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.sdr-ap-stat span{
    font-size:13px;
    color:#718096;
}

.sdr-ap-stat strong{
    font-size:29px;
    font-weight:500;
}

.sdr-ap-panel{
    margin-bottom:20px;
}

.sdr-ap-panel h2{
    font-size:17px;
    font-weight:500;
    margin:0 0 16px;
}

.sdr-ap-calendar-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
}

.sdr-ap-calendar-toolbar h2{
    margin:0;
    text-transform:capitalize;
}

.sdr-ap-calendar-toolbar button,
.sdr-ap-edit,
.sdr-ap-actions button,
#sdr-ap-close{
    padding:8px 14px;
    border:1px solid #d5dde5;
    border-radius:6px;
    background:transparent;
    color:inherit;
    cursor:pointer;
}

.sdr-ap-calendar{
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:5px;
}

.sdr-ap-weekday{
    padding:8px 2px;
    text-align:center;
    font-size:12px;
    color:#718096;
}

.sdr-ap-day{
    min-height:86px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    border:1px solid #e0e6ec;
    border-radius:5px;
    padding:10px;
    color:inherit;
    background:transparent;
    cursor:pointer;
}

.sdr-ap-day.today{
    border-color:#4b7196;
}

.sdr-ap-day.selected{
    background:#263e56;
    color:white;
    border-color:#263e56;
}

.sdr-ap-day small{
    font-size:11px;
    background:#dcece5;
    color:#226244;
    padding:4px;
    border-radius:3px;
}

.sdr-ap-empty{
    padding:45px 15px;
    text-align:center;
    opacity:.65;
}

.sdr-ap-table-wrap{
    overflow-x:auto;
}

.sdr-ap-table{
    width:100%;
}

.sdr-ap-badge{
    display:inline-block;
    padding:5px 9px;
    border-radius:5px;
    font-size:12px;
    background:#e1eaf5;
    color:#315477;
}

.sdr-ap-badge[data-status="realizada"],
.sdr-ap-badge[data-status="confirmada"]{
    background:#dceee3;
    color:#286843;
}

.sdr-ap-badge[data-status="cancelada"]{
    background:#f4dddd;
    color:#a04444;
}

.sdr-ap-badge[data-status="reagendada"]{
    background:#f5ecd5;
    color:#86621c;
}

.sdr-ap-filters{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:20px;
}

.sdr-ap-filters input,
.sdr-ap-filters select,
.sdr-ap-form-grid input,
.sdr-ap-form-grid select,
.sdr-ap-form-grid textarea{
    background:#fff;
    color:inherit;
    border:1px solid #d5dde5;
    border-radius:6px;
    padding:10px;
    font:inherit;
    min-width:0;
}

.sdr-ap-filters input:first-child{
    flex:1;
}

.sdr-ap-modal{
    position:fixed;
    inset:0;
    z-index:2147482000;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#0007;
    padding:18px;
}

.sdr-ap-dialog{
    width:680px;
    max-width:100%;
    max-height:90vh;
    overflow:auto;
    background:#fff;
    color:#25364a;
    padding:24px;
    border-radius:12px;
}

.sdr-ap-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.sdr-ap-form-grid label{
    display:flex;
    flex-direction:column;
    gap:6px;
    font-size:13px;
}

.sdr-ap-wide{
    grid-column:1/-1;
}

.sdr-ap-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:10px;
    margin-top:24px;
}

#sdr-ap-save{
    background:#263e56;
    color:#fff;
    border-color:#263e56;
}

#sdr-ap-error{
    color:#c44343;
    font-size:13px;
    padding-top:10px;
}

#sdr-ap-history-content{
    font-size:12px;
}

html[data-sdr-theme="dark"] .sdr-ap-stat,
html[data-sdr-theme="dark"] .sdr-ap-panel,
html[data-sdr-theme="dark"] .sdr-ap-dialog{
    background:#202020;
    color:#eee;
    border-color:#383838;
}

html[data-sdr-theme="dark"] .sdr-ap-day,
html[data-sdr-theme="dark"] .sdr-ap-actions button,
html[data-sdr-theme="dark"] .sdr-ap-edit,
html[data-sdr-theme="dark"] .sdr-ap-calendar-toolbar button{
    border-color:#444;
}

html[data-sdr-theme="dark"] .sdr-ap-day.selected{
    background:#40566e;
    color:white;
}

html[data-sdr-theme="dark"] .sdr-ap-form-grid input,
html[data-sdr-theme="dark"] .sdr-ap-form-grid select,
html[data-sdr-theme="dark"] .sdr-ap-form-grid textarea,
html[data-sdr-theme="dark"] .sdr-ap-filters input,
html[data-sdr-theme="dark"] .sdr-ap-filters select{
    background:#282828;
    color:#eee;
    border-color:#444;
    color-scheme:dark;
}

.sidebar [data-module="appointments"] .module-symbol{
    font-size:0!important;
    width:20px;
    height:20px;
    background:currentColor;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18M8 14h2M14 14h2M8 17h2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.app-shell.sidebar-collapsed
.sidebar [data-module="appointments"]::before{
    content:''!important;
    display:block!important;
    width:23px!important;
    height:23px!important;
    background:currentColor!important;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18M8 14h2M14 14h2M8 17h2'/%3E%3C/svg%3E") center/contain no-repeat!important;
}

.app-shell.sidebar-collapsed
.sidebar [data-module="appointments"] .module-symbol{
    display:none!important;
}

@media(max-width:740px){

    .sdr-ap-stats{
        gap:6px;
    }

    .sdr-ap-stat{
        padding:12px;
    }

    .sdr-ap-panel{
        padding:10px;
    }

    .sdr-ap-day{
        min-height:60px;
        padding:5px;
        font-size:12px;
    }

    .sdr-ap-day small{
        font-size:9px;
    }

    .sdr-ap-form-grid{
        grid-template-columns:1fr;
    }

    .sdr-ap-heading{
        flex-wrap:wrap;
    }
}



/* SDR_AGENDAMENTOS_FIX_V4 */

.sidebar .module-list{
    display:flex!important;
    flex-direction:column!important;
}

.sidebar .nav-module:has([data-module="work"]){
    order:0!important;
}

.sidebar .nav-module:has([data-module="appointments"]){
    order:1!important;
}

.sidebar .nav-module:has([data-module="rafael"]){
    order:2!important;
}

.sidebar .nav-module:has([data-module="baileys"]){
    order:3!important;
}

.sidebar .nav-module:has([data-module="files"]){
    order:4!important;
}

.sidebar .nav-module:has([data-module="management"]){
    order:5!important;
}

.sidebar .nav-module:has([data-module="account"]){
    order:6!important;
}



/* SDR_CALENDAR_COMPACT_BEGIN */

#app .sdr-ap-stats {
    gap:10px;
    margin-bottom:14px;
}

#app .sdr-ap-stat {
    padding:12px 16px;
    gap:4px;
    border-radius:7px;
}

#app .sdr-ap-stat strong {
    font-size:23px;
}

#app .sdr-ap-panel {
    padding:14px;
    margin-bottom:14px;
    border-radius:8px;
}

#app .sdr-ap-calendar-toolbar {
    margin-bottom:8px;
}

#app .sdr-ap-calendar {
    gap:4px;
}

#app .sdr-ap-weekday {
    padding:5px 2px;
    font-size:11px;
}

#app .sdr-ap-day {
    min-height:42px;
    height:auto;
    padding:6px 8px;
    gap:3px;
    border-radius:4px;
    font-size:12px;
}

#app .sdr-ap-day small {
    font-size:10px;
    padding:2px 4px;
    border-radius:3px;
}

#app .sdr-ap-calendar-toolbar button {
    padding:5px 10px;
    font-size:12px;
}

#app .sdr-ap-empty {
    padding:24px 10px;
    font-size:13px;
}

#app .sdr-ap-heading {
    margin-bottom:16px;
}

@media(max-width:740px) {

    #app .sdr-ap-day {
        min-height:36px;
        padding:4px;
        font-size:11px;
    }

    #app .sdr-ap-stat {
        padding:10px;
    }

    #app .sdr-ap-day small {
        font-size:9px;
    }

}

/* SDR_CALENDAR_COMPACT_END */



/* SDR_APPOINTMENT_AUTOFILL_V1 */

.sdr-company-status{
    display:block;
    font-size:11px;
    font-weight:400;
    color:#718096;
}

.sdr-company-status:empty{
    display:none;
}

.sdr-company-status[data-state="success"]{
    color:#278351;
}

.sdr-company-suggestions{
    max-height:220px;
    overflow-y:auto;
    border:1px solid #d5dde5;
    border-radius:6px;
    background:#fff;
}

.sdr-company-suggestions[hidden]{
    display:none;
}

.sdr-company-suggestions button{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    width:100%;
    border:0;
    border-bottom:1px solid #e5e9ef;
    padding:10px;
    background:transparent;
    color:inherit;
    text-align:left;
    cursor:pointer;
    font:inherit;
}

.sdr-company-suggestions button:last-child{
    border-bottom:0;
}

.sdr-company-suggestions button:hover{
    background:#eef3f8;
}

.sdr-company-suggestions small{
    opacity:.7;
    font-size:11px;
}

html[data-sdr-theme="dark"]
.sdr-company-suggestions{
    background:#282828;
    border-color:#444;
}

html[data-sdr-theme="dark"]
.sdr-company-suggestions button{
    border-color:#444;
}

html[data-sdr-theme="dark"]
.sdr-company-suggestions button:hover{
    background:#383838;
}

html[data-sdr-theme="dark"]
.sdr-company-status[data-state="success"]{
    color:#70c99a;
}



/* SDR_APPOINTMENTS_FINAL_V6 */

#app .sdr-ap-final-list{
    display:flex;
    flex-direction:column;
}

#app .sdr-ap-final-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:13px 5px;
    gap:12px;
    border-bottom:1px solid #e2e7ed;
}

#app .sdr-ap-final-row:last-child{
    border-bottom:0;
}

#app .sdr-ap-final-info{
    display:flex;
    flex-direction:column;
    gap:5px;
    min-width:0;
}

#app .sdr-ap-final-info strong{
    font-size:14px;
    font-weight:600;
    overflow-wrap:anywhere;
}

#app .sdr-ap-final-info small{
    font-size:12px;
    opacity:.7;
}

#app .sdr-ap-final-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}

#app .sdr-ap-final-more{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:transparent;
    color:inherit;
    cursor:pointer;
    width:30px;
    height:30px;
    border-radius:5px;
}

#app .sdr-ap-final-more:hover{
    background:#e8edf3;
}

.sdr-ap-final-menu{
    position:fixed;
    min-width:145px;
    padding:4px;
    background:white;
    color:#25364a;
    border:1px solid #dce3eb;
    border-radius:7px;
    box-shadow:0 5px 18px #0002;
    z-index:2147483000;
}

.sdr-ap-final-menu button{
    display:flex;
    align-items:center;
    width:100%;
    gap:10px;
    padding:10px 12px;
    border:0;
    background:transparent;
    color:inherit;
    font:inherit;
    font-size:13px;
    border-radius:4px;
    cursor:pointer;
}

.sdr-ap-final-menu button:hover{
    background:#edf1f5;
}

.sdr-ap-final-menu [data-delete]{
    color:#c34545;
}

.sdr-ap-readonly input,
.sdr-ap-readonly select,
.sdr-ap-readonly textarea{
    cursor:default;
    opacity:1;
}

html[data-sdr-theme="dark"] #app .sdr-ap-final-row{
    border-color:#383838;
}

html[data-sdr-theme="dark"] .sdr-ap-final-menu{
    background:#282828;
    color:#eee;
    border-color:#444;
}

html[data-sdr-theme="dark"] .sdr-ap-final-menu button:hover,
html[data-sdr-theme="dark"] #app .sdr-ap-final-more:hover{
    background:#383838;
}

html[data-sdr-theme="dark"] .sdr-ap-final-menu [data-delete]{
    color:#ef8585;
}

@media(max-width:740px){

    #app .sdr-ap-final-row{
        flex-wrap:wrap;
    }

    #app .sdr-ap-final-actions{
        margin-left:auto;
        gap:8px;
    }
}



/* SDR_AGENDA_RODAPE_BEGIN */

#sdr-ap-modal #sdr-ap-cancel{
    display:none!important;
}

#sdr-ap-modal #sdr-ap-history{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:2px 0!important;
    font-size:11px!important;
    font-weight:400!important;
    color:inherit;
    opacity:.7;
    cursor:pointer;
}

#sdr-ap-modal #sdr-ap-history:hover{
    opacity:1;
    text-decoration:underline;
}

#sdr-ap-modal .sdr-ap-actions{
    margin-top:12px;
    align-items:center;
    gap:14px;
}

/* SDR_AGENDA_RODAPE_END */


/* SDR_DETALHES_COMPACTO */

#app .sdr-ap-final-actions .sdr-ap-edit,
#app .sdr-ap-meeting-actions .sdr-ap-edit {
    font-size:12px!important;
    font-weight:400!important;
    padding:5px 9px!important;
    line-height:16px!important;
    height:28px!important;
    min-height:28px!important;
    border-radius:5px!important;
    box-sizing:border-box!important;
}

#app .sdr-ap-final-actions .sdr-ap-badge,
#app .sdr-ap-meeting-actions .sdr-ap-badge {
    font-size:12px!important;
    line-height:16px!important;
    height:28px!important;
    padding:6px 9px!important;
    box-sizing:border-box!important;
}



/* SDR_ADMIN_LAYOUT_BEGIN */

/* Administração - layout mais compacto */
#app .admin-users-grid{
    align-items:start;
    grid-template-columns:minmax(360px, 430px) minmax(700px, 1fr)!important;
    gap:18px!important;
}

/* Card da esquerda menor */
#app .admin-users-grid > .card:first-child{
    max-width:430px;
}

/* Campos de cadastrar usuário menores */
#app .admin-users-grid > .card:first-child form,
#app .admin-users-grid > .card:first-child #new-user{
    max-width:400px;
}

#app .admin-users-grid > .card:first-child input,
#app .admin-users-grid > .card:first-child select,
#app .admin-users-grid > .card:first-child textarea{
    max-width:400px!important;
}

/* Tabela de contas cadastradas */
#app .admin-users-grid > .card:last-child{
    overflow-x:auto;
}

#app .admin-users-grid > .card:last-child table{
    width:100%;
    table-layout:auto!important;
}

#app .admin-users-grid > .card:last-child th,
#app .admin-users-grid > .card:last-child td{
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    vertical-align:middle;
}

/* Evitar quebra do login e e-mail */
#app .admin-users-grid > .card:last-child td:nth-child(2),
#app .admin-users-grid > .card:last-child td:nth-child(3),
#app .admin-users-grid > .card:last-child td:nth-child(4){
    white-space:nowrap!important;
}

/* Coluna de ações lado a lado */
#app .admin-users-grid > .card:last-child td:last-child{
    white-space:nowrap!important;
}

#app .admin-users-grid > .card:last-child td:last-child button,
#app .admin-users-grid > .card:last-child td:last-child .btn{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    margin:0 6px 0 0!important;
    vertical-align:middle;
}

#app .admin-users-grid > .card:last-child td:last-child > *{
    display:inline-flex!important;
    vertical-align:middle;
}

#app .admin-users-grid > .card:last-child td:last-child{
    min-width:220px;
}

/* Ajustar larguras úteis */
#app .admin-users-grid > .card:last-child th:nth-child(1),
#app .admin-users-grid > .card:last-child td:nth-child(1){
    min-width:170px;
}

#app .admin-users-grid > .card:last-child th:nth-child(2),
#app .admin-users-grid > .card:last-child td:nth-child(2){
    min-width:180px;
}

#app .admin-users-grid > .card:last-child th:nth-child(3),
#app .admin-users-grid > .card:last-child td:nth-child(3){
    min-width:140px;
}

#app .admin-users-grid > .card:last-child th:nth-child(4),
#app .admin-users-grid > .card:last-child td:nth-child(4){
    min-width:110px;
}

#app .admin-users-grid > .card:last-child th:nth-child(5),
#app .admin-users-grid > .card:last-child td:nth-child(5){
    min-width:180px;
}

/* Responsivo */
@media (max-width: 1180px){
    #app .admin-users-grid{
        grid-template-columns:1fr!important;
    }

    #app .admin-users-grid > .card:first-child{
        max-width:none;
    }

    #app .admin-users-grid > .card:first-child form,
    #app .admin-users-grid > .card:first-child #new-user,
    #app .admin-users-grid > .card:first-child input,
    #app .admin-users-grid > .card:first-child select,
    #app .admin-users-grid > .card:first-child textarea{
        max-width:none!important;
    }
}

/* SDR_ADMIN_LAYOUT_END */

/* SDR_ADMIN_CAMPOS_COMPACTOS */

#app .admin-users-grid > .card:first-child input,
#app .admin-users-grid > .card:first-child select{
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    padding:5px 10px!important;
    font-size:13px!important;
    border-radius:6px!important;
    box-sizing:border-box!important;
}

#app .admin-users-grid > .card:first-child label{
    font-size:12px!important;
    margin-bottom:4px!important;
}

#app .admin-users-grid > .card:first-child form{
    gap:10px!important;
}

#app .admin-users-grid > .card:first-child button[type="submit"]{
    min-height:32px!important;
    padding:6px 12px!important;
    font-size:12px!important;
}


/* SDR_PROFILE_COMPACT_V1 */

#app .card:has(input[autocomplete="current-password"]),
#app .card:has(input[autocomplete="new-password"]),
#app .card:has(input[type="password"]):has(input[type="password"]:nth-of-type(1)){
    align-self:start;
}

#app .card:has(input[type="password"]) input,
#app .card:has(input[type="email"]):not(:has(input[type="password"])) input,
#app .card:has(input[type="email"]):not(:has(input[type="password"])) select,
#app .profile-grid input,
#app .profile-grid select{
    height:32px!important;
    min-height:32px!important;
    max-height:32px!important;
    padding:5px 10px!important;
    font-size:13px!important;
    border-radius:6px!important;
    box-sizing:border-box!important;
}

#app .card:has(input[type="password"]) label,
#app .card:has(input[type="email"]) label,
#app .profile-grid label{
    font-size:12px!important;
    margin-bottom:4px!important;
}

#app .card:has(input[type="password"]) form,
#app .card:has(input[type="email"]) form,
#app .profile-grid form{
    gap:10px!important;
}

#app .card:has(input[type="password"]) button[type="submit"],
#app .card:has(input[type="email"]) button[type="submit"],
#app .profile-grid button[type="submit"]{
    min-height:32px!important;
    padding:6px 12px!important;
    font-size:12px!important;
}



/* SDR_CALENDAR_YEAR_V1 */

#app .sdr-ap-calendar-navigation{
    display:grid;
    grid-template-columns:28px minmax(0,1fr) 28px;
    align-items:center;
    gap:8px;
}

#app .sdr-ap-calendar-navigation .sdr-ap-calendar{
    min-width:0;
}

#app .sdr-ap-side-arrow{
    width:28px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:0;
    border-radius:5px;
    background:transparent;
    color:inherit;
    cursor:pointer;
}

#app .sdr-ap-side-arrow:hover{
    background:#e6edf4;
}

#app #sdr-ap-year{
    height:30px;
    min-width:90px;
    padding:4px 10px;
    border:1px solid #d5dde5;
    border-radius:6px;
    background:#fff;
    color:inherit;
    font-size:12px;
    cursor:pointer;
}

#app .sdr-ap-calendar-toolbar h2{
    font-size:16px;
    text-transform:capitalize;
}

html[data-sdr-theme="dark"]
#app #sdr-ap-year{
    background:#282828;
    border-color:#444;
    color:#eee;
    color-scheme:dark;
}

html[data-sdr-theme="dark"]
#app .sdr-ap-side-arrow:hover{
    background:#383838;
}

@media(max-width:740px){

    #app .sdr-ap-calendar-navigation{
        grid-template-columns:20px minmax(0,1fr) 20px;
        gap:3px;
    }

    #app .sdr-ap-side-arrow{
        width:20px;
    }
}







/* SDR_FILES_FINAL_CSS */

html[data-sdr-files-readonly] #sdr-library-upload{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
}



/* SDR_ONLINE_PRESENCE_20261125 */
.sdr-online-presence{position:relative;margin-left:auto;margin-right:12px;flex-shrink:0;z-index:80}
.sdr-online-trigger{display:flex;align-items:center;gap:6px;border:1px solid #dce5ec;background:white;border-radius:9px;padding:7px 11px;color:#1f3249;font-size:12px;font-weight:700;min-height:34px;white-space:nowrap}
.sdr-online-trigger:hover{background:#f3f8fb;border-color:#b8c9d9}
.sdr-online-indicator,.sdr-online-person-dot{width:8px;height:8px;background:#16a777;border-radius:50%;box-shadow:0 0 0 3px #16a7771f;display:inline-block;flex-shrink:0}
.sdr-online-count{font-variant-numeric:tabular-nums;font-size:14px}
.sdr-online-label{font-weight:500;color:#6c7e90}
.sdr-online-popup{position:absolute;right:0;top:calc(100% + 9px);width:min(300px,80vw);max-height:360px;overflow:auto;background:#fff;border:1px solid #e0e6ed;box-shadow:0 12px 30px #132c4120;border-radius:12px;padding:14px;z-index:300}
.sdr-online-popup[hidden]{display:none!important}
.sdr-online-popup>strong{display:block;margin-bottom:10px;font-size:13px;color:#1f3249}
.sdr-online-people{display:grid;gap:7px}
.sdr-online-person{display:flex;align-items:center;gap:11px;padding:8px 5px;border-top:1px solid #f0f3f6}
.sdr-online-person>div{min-width:0;display:grid;gap:2px}
.sdr-online-person strong{font-size:12px;font-weight:650;color:#23354b;overflow-wrap:anywhere}
.sdr-online-person small,.sdr-online-empty{font-size:11px;color:#728196}
@media(max-width:740px){.sdr-online-presence{margin-left:0;margin-right:5px}.sdr-online-trigger{padding:7px 8px}.sdr-online-label{display:none}.sdr-online-popup{right:-16px}}
html[data-sdr-theme="dark"] .sdr-online-trigger,html[data-sdr-theme="dark"] .sdr-online-popup{background:#242b36;border-color:#475367;color:#f3f7fc}
html[data-sdr-theme="dark"] .sdr-online-person strong,html[data-sdr-theme="dark"] .sdr-online-popup>strong{color:#f3f7fc}
