/* TESIVO unified professional UI layer */
:root{
  --tesivo-radius:8px;--tesivo-radius-lg:10px;--tesivo-control-h:38px;
  --tesivo-ui-line:#D9E1EA;--tesivo-ui-muted:#667085;--tesivo-ui-bg:#F3F6FA;
  --tesivo-ui-blue:#2467D1;--tesivo-ui-navy:#0B1F3A;--tesivo-ui-soft:#EEF4FF;
}
[data-lucide]{width:18px;height:18px;stroke-width:1.8;vertical-align:middle;flex:0 0 auto}
button [data-lucide],a [data-lucide],.btn [data-lucide]{margin-right:6px}
button.iconbtn [data-lucide],.icon-only [data-lucide],.tesivo-action-menu [data-lucide]{margin-right:0}
:is(.pagehead,.section-head,.h-row,.workspace-head){align-items:center}
:is(.pagehead,.section-head,.h-row) h1{letter-spacing:-.025em}
:is(.pagehead,.section-head,.h-row) .muted,:is(.pagehead,.section-head,.h-row) .subtitle{max-width:760px}
:is(table,.member-table,.tenant-table){border-collapse:separate;border-spacing:0;width:100%;background:#fff}
:is(table,.member-table,.tenant-table) th{background:#F8FAFC!important;color:#667085!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.055em;border-bottom:1px solid var(--tesivo-ui-line)!important}
:is(table,.member-table,.tenant-table) td{border-bottom:1px solid #EEF1F4!important}
:is(table,.member-table,.tenant-table) tbody tr:hover td{background:#FBFCFE}
:is(input,select,textarea){min-height:var(--tesivo-control-h);border-radius:7px!important;border-color:#CDD5DF!important;background:#fff}
textarea{min-height:96px}
:is(input,select,textarea):focus{outline:none!important;border-color:#84ADFF!important;box-shadow:0 0 0 3px #EEF4FF!important}
:is(.modal,.profile-modal){border-radius:var(--tesivo-radius-lg)!important}
:is(.empty,.empty-state,.doc-empty,.empty-detail){color:var(--tesivo-ui-muted);text-align:center}
.tesivo-empty-state{padding:34px 20px;display:grid;place-items:center;gap:8px;color:var(--tesivo-ui-muted)}
.tesivo-empty-state [data-lucide]{width:28px;height:28px;color:#98A2B3;margin:0}
.tesivo-empty-state b{font-size:12px;color:#344054}.tesivo-empty-state span{font-size:10px;max-width:420px;line-height:1.5}
.tesivo-kebab{position:relative;display:inline-block}.tesivo-kebab>button{width:34px;height:34px;padding:0;display:grid;place-items:center;border:1px solid var(--tesivo-ui-line);background:#fff;border-radius:7px;color:#475467;cursor:pointer}.tesivo-kebab>button [data-lucide]{margin:0}
.tesivo-action-menu{position:absolute;right:0;top:38px;z-index:80;min-width:190px;padding:5px;background:#fff;border:1px solid var(--tesivo-ui-line);border-radius:8px;box-shadow:0 14px 36px rgba(16,31,52,.16)}.tesivo-action-menu[hidden]{display:none}.tesivo-action-menu button{width:100%;display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:8px 9px;border-radius:6px;text-align:left;font:700 10px Manrope,Arial,sans-serif;color:#344054;cursor:pointer}.tesivo-action-menu button:hover{background:#F4F7FB}.tesivo-action-menu button.danger{color:#B42318}
.tesivo-breadcrumbs{display:flex;align-items:center;gap:6px;color:#667085;font-size:9px;font-weight:700;margin-bottom:5px}.tesivo-breadcrumbs a{color:#475467;text-decoration:none}.tesivo-breadcrumbs [data-lucide]{width:12px;height:12px;margin:0;color:#98A2B3}
/* Global burger/logo spacing. Prevents the trigger from covering product branding. */
body.tesivo-software-shell :is(.portal-top,.settings-top,.members-top,.member-top,.topbar){padding-left:72px!important}
body.tesivo-software-shell .portal-brand{margin-left:0!important}
body.tesivo-software-shell .tesivo-menu-trigger{width:42px;height:42px;left:14px;top:12px}
@media(max-width:760px){body.tesivo-software-shell :is(.portal-top,.settings-top,.members-top,.member-top,.topbar){padding-left:64px!important}}
.tesivo-unified-toast{position:fixed;right:18px;top:18px;z-index:20000;max-width:min(420px,calc(100vw - 36px));display:flex;align-items:center;gap:9px;padding:11px 13px;border:1px solid #D9E1EA;border-radius:8px;background:#fff;color:#344054;box-shadow:0 18px 45px rgba(11,31,58,.16);font:700 10px Manrope,Arial,sans-serif;opacity:0;transform:translateY(-7px);pointer-events:none;transition:.18s}.tesivo-unified-toast.show{opacity:1;transform:none}.tesivo-unified-toast [data-lucide]{margin:0;color:#2467D1}.tesivo-unified-toast.success [data-lucide]{color:#027A48}.tesivo-unified-toast.error [data-lucide]{color:#B42318}.tesivo-unified-toast.warning [data-lucide]{color:#B54708}
:is(.close-button,.detail-close,.iconbtn,.icon-only) [data-lucide]{margin-right:0!important}
:is(.close-button,.detail-close,.iconbtn,.icon-only){display:inline-grid!important;place-items:center}
