:root{
  --ttm-primary:#e50914;
  --ttm-primary-2:#b00610;
  --ttm-primary-3:#ff3340;
  --ttm-dark:#101114;
  --ttm-dark-2:#181a20;
  --ttm-bg:#f5f6fb;
  --ttm-card:#fff;
  --ttm-border:#e7ebf2;
  --ttm-muted:#6b7280;
  --ttm-soft:rgba(229,9,20,.09);
  --ttm-shadow:0 24px 70px rgba(16,17,20,.13);
  --ttm-font:inherit;
}
html,body.ttm-standalone,body.ttm-app-page{margin:0!important;padding:0!important;width:100%!important;min-height:100%!important;background:var(--ttm-bg)!important;overflow-x:hidden!important;text-rendering:optimizeLegibility;direction:rtl!important}
body.ttm-standalone #wpadminbar,body.ttm-app-page #wpadminbar{display:none!important}
body.ttm-standalone *,.ttm-login-shell *,.ttm-portal *{box-sizing:border-box}
body.ttm-standalone a,body.ttm-standalone button,.ttm-login-shell button,.ttm-portal button{font-family:inherit!important}
.ttm-standalone input,.ttm-standalone textarea,.ttm-standalone select,.ttm-app-page input,.ttm-app-page textarea,.ttm-app-page select{font-family:inherit!important}
.ttm-app-page header,.ttm-app-page footer,.ttm-app-page .site-header,.ttm-app-page .site-footer,.ttm-app-page .elementor-location-header,.ttm-app-page .elementor-location-footer,.ttm-app-page .entry-header,.ttm-app-page .page-title{display:none!important}
.ttm-app-page .entry-content,.ttm-app-page .site-main,.ttm-app-page .content-area,.ttm-app-page article,.ttm-app-page .container{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
.ttm-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--ttm-primary);font-size:12px;font-weight:950;letter-spacing:.02em;text-transform:uppercase}
.ttm-alert{border-radius:18px;padding:13px 16px;margin:14px 0;font-size:14px;font-weight:900;line-height:1.7}.ttm-alert-error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.ttm-alert-success{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0}.ttm-mini-note{border:1px solid #fee2e2;background:#fff6f7;color:#9f0710;border-radius:16px;padding:11px 13px;margin-bottom:12px;font-size:12px;font-weight:900;line-height:1.7}
/* Buttons: force Teamora theme over WP/theme button styles */
.ttm-btn,.ttm-icon-btn,.ttm-nav-item,.ttm-login-tab,.ttm-quick-grid button,.ttm-priority-list button{appearance:none!important;-webkit-appearance:none!important;font-family:inherit!important;text-decoration:none!important;cursor:pointer!important;transition:.2s ease!important}.ttm-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:0!important;border-radius:16px!important;padding:13px 18px!important;font-weight:950!important;white-space:nowrap!important;line-height:1.2!important}.ttm-btn-primary{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:#fff!important;box-shadow:0 16px 30px rgba(229,9,20,.28)!important}.ttm-btn-primary:hover{transform:translateY(-1px)!important;box-shadow:0 20px 38px rgba(229,9,20,.36)!important;color:#fff!important}.ttm-btn-ghost{background:#fff!important;border:1px solid #f1c7cb!important;color:var(--ttm-primary)!important;box-shadow:0 10px 26px rgba(229,9,20,.08)!important}.ttm-btn-ghost:hover{background:#fff5f6!important;color:var(--ttm-primary-2)!important}.ttm-btn-dark{background:linear-gradient(135deg,#1b1d23,#090a0d)!important;color:#fff!important;width:100%!important}.ttm-btn-mini{padding:8px 11px!important;border-radius:12px!important;background:var(--ttm-primary)!important;color:#fff!important;font-size:12px!important}.ttm-btn-light{background:#fff!important;color:var(--ttm-primary)!important}.ttm-btn-outline-light{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important}
/* Login */
.ttm-login-shell{position:relative;min-height:100svh;width:100%;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.78fr);gap:28px;align-items:center;padding:38px;background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.22),transparent 28%),linear-gradient(135deg,var(--ttm-primary),#92020a 58%,#101114);color:#fff;overflow:hidden}.ttm-login-shell:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 12%,rgba(0,0,0,.18),transparent 30%),radial-gradient(circle at 8% 90%,rgba(255,255,255,.18),transparent 28%);pointer-events:none}.ttm-login-hero{position:relative;min-height:650px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);border-radius:36px;padding:46px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 30px 80px rgba(0,0,0,.22);overflow:hidden}.ttm-hero-glow{position:absolute;inset:-20%;background:radial-gradient(circle at 40% 30%,rgba(255,255,255,.32),transparent 22%),radial-gradient(circle at 75% 75%,rgba(0,0,0,.22),transparent 34%);pointer-events:none}.ttm-brand-lockup{position:relative;display:flex;align-items:center;gap:20px;margin-bottom:auto}.ttm-login-logo{width:132px;height:132px;border-radius:32px;object-fit:cover;background:#fff;box-shadow:0 24px 46px rgba(0,0,0,.22)}.ttm-login-hero .ttm-eyebrow{color:#fff;background:rgba(255,255,255,.14);padding:7px 12px;border-radius:999px}.ttm-login-hero h1{font-size:clamp(34px,4vw,48px);line-height:1.25;margin:10px 0 0;font-weight:950;color:#fff}.ttm-login-hero p{position:relative;max-width:620px;font-size:16px;line-height:2;color:rgba(255,255,255,.88);margin:24px 0}.ttm-login-benefits{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:640px}.ttm-login-benefits span{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);font-weight:900;text-align:center}.ttm-login-card{position:relative;background:rgba(255,255,255,.96);color:#111827;border-radius:32px;padding:30px;box-shadow:0 30px 80px rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.7);max-width:480px;width:100%;justify-self:center}.ttm-login-card-head{display:flex;align-items:center;gap:14px;text-align:right;margin-bottom:18px}.ttm-login-card-logo{width:66px;height:66px;border-radius:20px;object-fit:cover;background:#fff;box-shadow:0 12px 28px rgba(229,9,20,.20);flex:0 0 auto}.ttm-login-card h2{margin:0;color:#111827;font-size:26px;font-weight:950}.ttm-login-card p{color:#6b7280;line-height:1.8;margin:5px 0 0;font-size:13px;font-weight:800}.ttm-login-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f3f4f6;border:1px solid #eaedf2;border-radius:18px;padding:5px;margin:18px 0}.ttm-login-tab{border:0!important;background:transparent!important;border-radius:14px!important;padding:12px!important;font-weight:950!important;color:#6b7280!important;box-shadow:none!important}.ttm-login-tab.is-active{background:#fff!important;color:var(--ttm-primary)!important;box-shadow:0 8px 24px rgba(17,24,39,.08)!important}.ttm-login-form{display:none}.ttm-login-form.is-active{display:block}.ttm-login-form form,.ttm-otp-request,.ttm-otp-verify{display:grid;gap:12px}.ttm-otp-request{margin-bottom:13px}.ttm-otp-verify{padding-top:14px;border-top:1px dashed #e5e7eb}.ttm-form label,.ttm-login-form label{display:flex;flex-direction:column;gap:8px;color:#111827;font-size:13px;font-weight:950}.ttm-login-form input,.ttm-form input,.ttm-form select,.ttm-form textarea{width:100%!important;border:1px solid #dbe2ea!important;background:#fff!important;border-radius:16px!important;padding:13px 15px!important;min-height:46px!important;outline:none!important;box-shadow:none!important;color:#111827!important;font-family:inherit!important;font-size:14px!important;line-height:1.4!important}.ttm-login-form input:focus,.ttm-form input:focus,.ttm-form select:focus,.ttm-form textarea:focus{border-color:var(--ttm-primary)!important;box-shadow:0 0 0 4px var(--ttm-soft)!important}.ttm-login-form .ttm-btn{width:100%;margin-top:8px}.ttm-login-footer{text-align:center;margin-top:18px;font-size:12px;font-weight:900}.ttm-login-footer a{color:#6b7280!important;text-decoration:none!important}
/* Portal */
.ttm-portal{min-height:100svh;width:100%;display:grid;grid-template-columns:296px minmax(0,1fr);background:linear-gradient(180deg,#f7f8fc,#eef1f7);color:#111827;direction:rtl}.ttm-sidebar{height:100svh;position:sticky;top:0;background:linear-gradient(180deg,#101114,#181a20 72%,#250306);padding:18px;display:flex;flex-direction:column;gap:15px;color:#fff;overflow:hidden;z-index:20;box-shadow:-12px 0 40px rgba(16,17,20,.16)}.ttm-sidebar-brand{display:flex;align-items:center;gap:11px;padding:12px;border-radius:22px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09)}.ttm-sidebar-brand img{width:50px;height:50px;border-radius:16px;object-fit:cover;background:#fff}.ttm-sidebar-brand strong{display:block;font-size:14px;font-weight:950}.ttm-sidebar-brand span,.ttm-user-mini span{display:block;color:rgba(255,255,255,.58);font-size:11px;margin-top:4px;font-weight:800}.ttm-user-mini{display:flex;align-items:center;gap:11px;padding:12px;border-radius:20px;background:linear-gradient(135deg,rgba(229,9,20,.22),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.08)}.ttm-avatar{width:44px;height:44px;border-radius:15px;background:#fff;color:var(--ttm-primary);display:flex;align-items:center;justify-content:center;font-weight:950}.ttm-user-mini strong{font-weight:950}.ttm-nav{display:flex;flex-direction:column;gap:7px;overflow:auto;padding:2px 1px}.ttm-nav-item{position:relative;width:100%;display:flex!important;align-items:center!important;gap:10px!important;text-align:right!important;border:0!important;background:transparent!important;color:rgba(255,255,255,.70)!important;padding:12px!important;border-radius:15px!important;font-weight:950!important;box-shadow:none!important}.ttm-nav-item span{width:26px;height:26px;border-radius:10px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font-size:13px}.ttm-nav-item em{margin-right:auto;min-width:22px;height:22px;border-radius:999px;background:var(--ttm-primary);color:#fff;font-style:normal;font-size:12px;display:flex;align-items:center;justify-content:center}.ttm-nav-item:hover,.ttm-nav-item.is-active{background:#fff!important;color:#111827!important}.ttm-nav-item.is-active span{background:var(--ttm-soft);color:var(--ttm-primary)}.ttm-logout-form{margin-top:auto}.ttm-main{min-width:0;padding:30px 32px 42px;max-width:1540px;width:100%;margin-inline:auto}.ttm-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.ttm-topbar h1{margin:7px 0 0;font-size:30px;font-weight:950;color:#111827}.ttm-topbar .ttm-eyebrow{background:#fff;color:var(--ttm-primary);border:1px solid #fee2e2;border-radius:999px;padding:7px 12px}.ttm-brand-link{padding:11px 15px;border-radius:999px;background:#fff;border:1px solid #e5e7eb;color:#111827!important;text-decoration:none!important;font-weight:900;box-shadow:0 10px 28px rgba(17,24,39,.05)}.ttm-section{display:none!important}.ttm-section.is-active{display:block!important;animation:ttmFade .22s ease}@keyframes ttmFade{from{opacity:.15;transform:translateY(8px)}to{opacity:1;transform:none}}.ttm-mobile-head{display:none}.ttm-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#101114,#1c1f27 58%,var(--ttm-primary));border-radius:30px;padding:28px;color:#fff;margin-bottom:20px;box-shadow:var(--ttm-shadow);overflow:hidden;position:relative}.ttm-welcome:before{content:"";position:absolute;inset:auto -80px -120px auto;width:320px;height:320px;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 60%);pointer-events:none}.ttm-welcome>div{position:relative;z-index:1}.ttm-welcome h2{font-size:32px;margin:8px 0;font-weight:950;color:#fff}.ttm-welcome p{margin:0;color:rgba(255,255,255,.78);line-height:1.9}.ttm-welcome .ttm-eyebrow{color:#fff;background:rgba(255,255,255,.12);padding:7px 12px;border-radius:999px}.ttm-welcome-mark{width:110px;height:110px;border-radius:35px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;font-size:60px;font-weight:950}.ttm-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ttm-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.ttm-stat{position:relative;background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:20px;box-shadow:0 12px 35px rgba(17,24,39,.06);overflow:hidden}.ttm-stat:before{content:"";position:absolute;right:0;top:0;width:5px;height:100%;background:linear-gradient(180deg,var(--ttm-primary),var(--ttm-primary-2))}.ttm-stat span{display:block;color:#6b7280;font-size:13px;font-weight:950}.ttm-stat strong{display:block;font-size:28px;margin:10px 0 6px;font-weight:950;color:#111827}.ttm-stat small{color:#9ca3af;font-weight:850}.ttm-card{background:#fff;border:1px solid #e5e7eb;border-radius:26px;padding:22px;margin-bottom:18px;box-shadow:0 16px 45px rgba(17,24,39,.06)}.ttm-card h3{margin:0 0 10px;font-size:20px;font-weight:950;color:#111827}.ttm-card p{color:#6b7280;line-height:1.9;margin:0 0 16px}.ttm-card-headline{display:flex;align-items:flex-start;gap:13px;margin-bottom:14px}.ttm-card-headline h3{margin:0 0 4px}.ttm-card-headline p{margin:0;color:#6b7280}.ttm-card-icon{width:44px;height:44px;border-radius:15px;background:var(--ttm-soft);color:var(--ttm-primary);display:flex;align-items:center;justify-content:center;font-weight:950}.ttm-manager-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:16px}.ttm-priority-list{display:grid;gap:10px}.ttm-priority-list button{width:100%;border:1px solid #fee2e2!important;background:linear-gradient(135deg,#fff,#fff7f8)!important;color:#111827!important;border-radius:18px!important;padding:15px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:right!important;box-shadow:none!important}.ttm-priority-list strong{width:42px;height:42px;border-radius:14px;background:var(--ttm-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px}.ttm-priority-list span{font-weight:950;color:#111827}.ttm-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ttm-quick-grid button{border:1px solid #fee2e2!important;background:#fff7f8!important;border-radius:18px!important;padding:15px!important;font-weight:950!important;color:var(--ttm-primary)!important;box-shadow:none!important}.ttm-quick-grid button:hover,.ttm-priority-list button:hover{transform:translateY(-1px)!important;box-shadow:0 14px 28px rgba(229,9,20,.10)!important}.ttm-grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ttm-span-2{grid-column:1/-1}.ttm-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}.ttm-pill{display:inline-flex;padding:9px 12px;border-radius:999px;background:var(--ttm-soft);color:var(--ttm-primary);font-weight:900;font-size:12px}.ttm-check{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;padding:12px}.ttm-check input{width:auto!important;min-height:auto!important;accent-color:var(--ttm-primary)!important}.ttm-table-card{padding:0;overflow:hidden}.ttm-table-wrap{overflow:auto;max-width:100%}.ttm-table{width:100%;border-collapse:collapse;min-width:720px;background:#fff}.ttm-table th{background:#fafafa;color:#6b7280;text-align:right;font-size:12px;font-weight:950;padding:14px}.ttm-table td{border-top:1px solid #eef0f3;padding:14px;color:#111827;font-size:13px;vertical-align:middle}.ttm-table-link{display:inline-flex;border-radius:999px;background:var(--ttm-soft);color:var(--ttm-primary)!important;padding:7px 10px;text-decoration:none!important;font-weight:900}.ttm-inline-form{display:flex;gap:7px;align-items:center;min-width:360px}.ttm-inline-form select,.ttm-inline-form input{border:1px solid #dbe2ea;border-radius:12px;padding:8px;min-width:100px}.ttm-notice-list{display:grid;gap:12px}.ttm-notice{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px;box-shadow:0 12px 34px rgba(17,24,39,.05)}.ttm-notice div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.ttm-notice strong{font-size:16px;font-weight:950}.ttm-notice time{font-size:12px;color:#9ca3af;font-weight:800}.ttm-notice p{line-height:1.9;color:#4b5563;margin:0}.ttm-empty{padding:20px;border:1px dashed #d1d5db;border-radius:22px;color:#6b7280;text-align:center;font-weight:900;background:#fff}.ttm-media-name{display:block;color:#6b7280;font-size:12px;margin-top:6px}.ttm-drawer-overlay{display:none}.ttm-icon-btn{border:0!important;background:#fff!important;color:#111827!important;border-radius:14px!important;width:42px!important;height:42px!important;font-weight:950!important;box-shadow:0 8px 20px rgba(17,24,39,.08)!important}.ttm-standalone input[type=checkbox]{accent-color:var(--ttm-primary)}
@media (max-width:1100px){.ttm-login-shell{grid-template-columns:1fr}.ttm-login-hero{min-height:410px}.ttm-login-card{justify-self:center}.ttm-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-portal{grid-template-columns:270px minmax(0,1fr)}.ttm-manager-grid{grid-template-columns:1fr}}
@media (max-width:780px){.ttm-login-shell{padding:16px;display:block}.ttm-login-hero{min-height:auto;padding:26px;border-radius:26px;margin-bottom:16px}.ttm-brand-lockup{align-items:flex-start}.ttm-login-logo{width:88px;height:88px;border-radius:24px}.ttm-login-hero h1{font-size:27px}.ttm-login-hero p{font-size:14px;margin:18px 0}.ttm-login-benefits{grid-template-columns:1fr}.ttm-login-benefits span{padding:12px}.ttm-login-card{max-width:none;border-radius:26px;padding:22px}.ttm-login-card-head{align-items:center}.ttm-login-card-logo{width:58px;height:58px;border-radius:18px}.ttm-portal{display:block;min-height:100svh}.ttm-mobile-head{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:rgba(245,246,251,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e5e7eb}.ttm-mobile-head strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ttm-sidebar{position:fixed;top:0;right:0;width:min(86vw,320px);height:100svh;transform:translateX(105%);transition:.25s ease;z-index:50}.ttm-sidebar.is-open{transform:none}.ttm-drawer-overlay{position:fixed;inset:0;background:rgba(17,24,39,.48);backdrop-filter:blur(4px);z-index:45}.ttm-drawer-overlay.is-open{display:block}.ttm-main{padding:18px 14px 34px;max-width:none}.ttm-topbar{display:none}.ttm-welcome{padding:22px;border-radius:24px;display:block}.ttm-welcome h2{font-size:24px}.ttm-welcome-mark{display:none}.ttm-stats-grid,.ttm-quick-grid,.ttm-grid-form{grid-template-columns:1fr}.ttm-span-2{grid-column:auto}.ttm-form-actions{flex-direction:column;align-items:stretch}.ttm-table{min-width:700px}.ttm-inline-form{min-width:420px}.ttm-notice div{align-items:flex-start;flex-direction:column}.ttm-card{border-radius:22px;padding:18px}.ttm-stat{border-radius:22px}.ttm-hero-actions .ttm-btn{width:100%}.ttm-card-headline{align-items:flex-start}.ttm-priority-list button{align-items:flex-start!important;gap:12px!important}.ttm-login-card h2{font-size:22px}}
@media (max-width:430px){.ttm-login-hero,.ttm-login-card{border-radius:22px}.ttm-brand-lockup{gap:12px}.ttm-login-hero h1{font-size:23px}.ttm-login-benefits span{padding:13px}.ttm-login-tabs{border-radius:16px}.ttm-login-tab{padding:10px 6px!important}.ttm-btn{width:100%}.ttm-card h3{font-size:18px}.ttm-stat strong{font-size:24px}}

/* v1.0.0 Teamora polish: cleaner admin-like app shell, red/black theme lock */
body.ttm-standalone{background:#f4f6fb!important}
.ttm-portal{--ttm-primary:#e50914;--ttm-red-deep:#98020a;--ttm-ink:#111318;--ttm-panel:#ffffff;grid-template-columns:304px minmax(0,1fr)!important;background:radial-gradient(circle at 12% 6%,rgba(229,9,20,.07),transparent 28%),linear-gradient(180deg,#f7f8fc,#eef1f6)!important;font-family:var(--ttm-font-family, inherit)!important}
.ttm-sidebar{background:linear-gradient(180deg,#0e1015 0%,#151820 70%,#2b0307 100%)!important;padding:20px!important;border-left:1px solid rgba(255,255,255,.08)!important;box-shadow:-16px 0 45px rgba(15,18,25,.18)!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.26) transparent}.ttm-sidebar::-webkit-scrollbar{width:5px}.ttm-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:99px}
.ttm-sidebar-brand{min-height:82px!important;border-radius:24px!important;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04))!important}.ttm-sidebar-brand img{width:58px!important;height:58px!important;border-radius:18px!important}.ttm-sidebar-brand strong{font-size:13px!important;line-height:1.5!important}.ttm-user-mini{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.08)!important}.ttm-nav{gap:9px!important;padding:3px 0 8px!important}.ttm-nav-item{min-height:48px!important;border:1px solid transparent!important}.ttm-nav-item:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}.ttm-nav-item.is-active{background:#fff!important;color:#111318!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important}.ttm-nav-item.is-active span{background:linear-gradient(135deg,var(--ttm-primary),#b00610)!important;color:#fff!important}.ttm-portal .ttm-btn.ttm-btn-dark,.ttm-logout-form .ttm-btn{background:linear-gradient(135deg,#e50914,#99030a)!important;color:#fff!important;box-shadow:0 16px 32px rgba(229,9,20,.24)!important;border:0!important}.ttm-portal .ttm-btn.ttm-btn-dark:hover{transform:translateY(-1px)!important;color:#fff!important}
.ttm-main{padding:28px 34px 48px!important;max-width:1500px!important;margin-inline:auto!important}.ttm-topbar{position:relative;background:rgba(255,255,255,.90)!important;border:1px solid rgba(226,232,240,.9)!important;border-radius:28px!important;padding:20px 22px!important;margin-bottom:22px!important;box-shadow:0 16px 45px rgba(17,24,39,.07)!important;backdrop-filter:blur(16px)!important}.ttm-title-block h1{margin:7px 0 3px!important;font-size:28px!important;letter-spacing:-.02em!important}.ttm-title-block p{margin:0!important;color:#64748b!important;font-weight:800!important}.ttm-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ttm-brand-link{background:#111318!important;color:#fff!important;border:0!important;padding:12px 17px!important}.ttm-top-actions .ttm-btn{padding:12px 16px!important;border-radius:999px!important}
.ttm-welcome{min-height:230px!important;border-radius:32px!important;padding:30px!important;background:linear-gradient(135deg,#111318 0%,#1b1f29 52%,#e50914 100%)!important;box-shadow:0 24px 70px rgba(16,17,20,.16)!important}.ttm-welcome:before{right:auto!important;left:-80px!important;bottom:-130px!important;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 60%)!important}.ttm-welcome-copy{max-width:660px!important}.ttm-welcome h2{font-size:34px!important;line-height:1.35!important}.ttm-welcome p{font-size:14px!important;max-width:580px!important}.ttm-welcome-mark{width:128px!important;height:128px!important;border-radius:34px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 24px 55px rgba(0,0,0,.22)!important;overflow:hidden!important;padding:0!important}.ttm-welcome-mark img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.ttm-hero-actions .ttm-btn{border-radius:999px!important}.ttm-stats-grid{gap:18px!important}.ttm-stat{border:0!important;border-radius:26px!important;padding:22px!important;box-shadow:0 16px 42px rgba(17,24,39,.07)!important}.ttm-stat:before{width:4px!important}.ttm-stat strong{font-size:30px!important}.ttm-manager-grid{gap:18px!important}.ttm-card{border:1px solid rgba(226,232,240,.9)!important;border-radius:28px!important;padding:24px!important;box-shadow:0 16px 45px rgba(17,24,39,.065)!important}.ttm-card h3{letter-spacing:-.01em!important}.ttm-priority-list button,.ttm-quick-grid button{border-color:#fee2e2!important;background:linear-gradient(135deg,#fff,#fff7f8)!important;color:#111318!important}.ttm-quick-grid button{min-height:58px!important}.ttm-form input,.ttm-form select,.ttm-form textarea{border-radius:15px!important;background:#fbfcfe!important;border-color:#dde5ef!important}.ttm-form label{color:#111318!important}.ttm-table th{background:#f8fafc!important}.ttm-table td{background:#fff!important}.ttm-alert{box-shadow:0 10px 26px rgba(17,24,39,.05)!important}
.ttm-login-shell{font-family:var(--ttm-font-family, inherit)!important}.ttm-login-hero{min-height:560px!important}.ttm-login-benefits span{backdrop-filter:blur(8px)!important}.ttm-login-card{box-shadow:0 30px 90px rgba(0,0,0,.28)!important}
@media (max-width:780px){.ttm-portal{display:block!important}.ttm-mobile-head{background:#0f1117!important;color:#fff!important;border-bottom:0!important}.ttm-mobile-head .ttm-icon-btn{background:rgba(255,255,255,.10)!important;color:#fff!important;box-shadow:none!important}.ttm-mobile-title{font-weight:950!important}.ttm-main{padding:16px 14px 32px!important}.ttm-welcome{min-height:auto!important;border-radius:26px!important;padding:23px!important}.ttm-welcome h2{font-size:24px!important}.ttm-stats-grid{grid-template-columns:1fr 1fr!important;gap:12px!important}.ttm-stat{padding:17px!important;border-radius:22px!important}.ttm-stat strong{font-size:24px!important}.ttm-card{border-radius:24px!important;padding:18px!important}.ttm-topbar{display:none!important}.ttm-sidebar{width:min(88vw,330px)!important}}
@media (max-width:460px){.ttm-stats-grid{grid-template-columns:1fr!important}.ttm-login-hero{min-height:auto!important}.ttm-login-benefits{display:none!important}.ttm-welcome{margin-top:4px!important}.ttm-welcome-mark{display:none!important}}

/* v1.0.0 brand system + premium panel polish */
.ttm-login-shell,.ttm-portal{
  --ttm-secondary:var(--ttm-primary-2,#b00610);
  --ttm-accent-color:var(--ttm-accent,#ff3340);
  --ttm-ink:var(--ttm-text,#111827);
  --ttm-faint:var(--ttm-muted,#6b7280);
  font-family:var(--ttm-font-family, inherit)!important;
}
.ttm-btn-primary,.ttm-login-form .ttm-btn-primary,.ttm-portal .ttm-btn-primary{
  background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2,#b00610))!important;
  color:var(--ttm-button-text,#fff)!important;
  box-shadow:0 18px 38px color-mix(in srgb,var(--ttm-primary) 28%,transparent)!important;
}
.ttm-login-shell{background:radial-gradient(circle at 16% 14%,rgba(255,255,255,.22),transparent 28%),linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2,#92020a) 58%,var(--ttm-dark,#101114))!important;color:#fff!important}
.ttm-login-card{color:var(--ttm-text,#111827)!important;background:color-mix(in srgb,var(--ttm-card,#fff) 96%,white)!important}
.ttm-password-wrap{position:relative;display:block;width:100%}.ttm-password-wrap input{padding-left:54px!important}.ttm-password-toggle{position:absolute;left:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0!important;border-radius:13px!important;background:#f3f4f6!important;color:#111827!important;display:flex;align-items:center;justify-content:center;box-shadow:none!important;font-size:16px!important}.ttm-password-toggle.is-visible{background:var(--ttm-soft)!important;color:var(--ttm-primary)!important}
.ttm-portal{--ttm-red-deep:var(--ttm-primary-2,#98020a);--ttm-ink:var(--ttm-text,#111827);--ttm-panel:var(--ttm-card,#fff);grid-template-columns:292px minmax(0,1fr)!important;background:radial-gradient(circle at 18% 4%,color-mix(in srgb,var(--ttm-primary) 10%,transparent),transparent 30%),linear-gradient(180deg,var(--ttm-panel-bg,#f7f8fc),#eef1f6)!important;color:var(--ttm-text,#111827)!important}
.ttm-sidebar{background:linear-gradient(180deg,var(--ttm-sidebar-1,#0e1015) 0%,#151820 52%,var(--ttm-sidebar-2,#2b0307) 100%)!important;padding:18px!important;gap:14px!important}
.ttm-sidebar-brand{display:none!important}.ttm-user-mini-top{order:0;min-height:92px!important;margin-bottom:2px!important;padding:16px!important;display:grid!important;grid-template-columns:52px minmax(0,1fr) 54px!important;align-items:center!important;gap:12px!important;border-radius:26px!important;background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.045))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 20px 44px rgba(0,0,0,.18)!important}.ttm-user-mini-top .ttm-avatar{width:52px!important;height:52px!important;border-radius:18px!important;background:#fff!important;color:var(--ttm-primary)!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important}.ttm-user-mini-top strong{display:block!important;font-size:15px!important;line-height:1.45!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ttm-user-mini-top span{font-size:11px!important;color:rgba(255,255,255,.72)!important;margin-top:4px!important}.ttm-user-mini-top small{display:block;margin-top:5px;color:rgba(255,255,255,.42);font-weight:800;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ttm-user-mini-logo{width:54px;height:54px;border-radius:18px;object-fit:cover;background:#fff;box-shadow:0 14px 28px rgba(0,0,0,.20)}
.ttm-nav{padding-top:8px!important}.ttm-nav-item{border-radius:18px!important;padding:13px 14px!important;color:rgba(255,255,255,.74)!important;font-weight:900!important}.ttm-nav-item span{width:28px!important;height:28px!important;border-radius:11px!important;background:rgba(255,255,255,.08)!important;display:inline-flex;align-items:center;justify-content:center}.ttm-nav-item.is-active{background:#fff!important;color:var(--ttm-text,#111827)!important}.ttm-nav-item.is-active span{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2,#b00610))!important;color:#fff!important}
.ttm-main{padding:26px 32px 52px!important;max-width:1540px!important}.ttm-topbar{border-radius:30px!important;background:rgba(255,255,255,.78)!important}.ttm-dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:stretch;margin-bottom:18px}.ttm-welcome{min-height:244px!important;border-radius:34px!important;background:radial-gradient(circle at 14% 18%,rgba(255,255,255,.14),transparent 24%),linear-gradient(135deg,var(--ttm-dark,#111318) 0%,#1b1f29 54%,var(--ttm-primary) 100%)!important}.ttm-welcome h2{color:#fff!important}.ttm-welcome p{color:rgba(255,255,255,.82)!important}.ttm-welcome .ttm-eyebrow{color:#fff!important;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);padding:7px 12px;border-radius:999px}.ttm-profile-summary-card{position:relative;overflow:hidden;border-radius:34px;padding:22px;background:var(--ttm-card,#fff);border:1px solid rgba(226,232,240,.9);box-shadow:0 18px 48px rgba(17,24,39,.075);display:flex;flex-direction:column;justify-content:space-between;gap:18px}.ttm-profile-summary-card:before{content:"";position:absolute;inset-inline-end:-60px;top:-70px;width:180px;height:180px;border-radius:50%;background:color-mix(in srgb,var(--ttm-primary) 14%,transparent)}.ttm-profile-summary-top{position:relative;display:flex;align-items:center;gap:13px}.ttm-avatar-lg{width:62px!important;height:62px!important;border-radius:22px!important;background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2,#b00610))!important;color:#fff!important}.ttm-profile-summary-top span{display:block;color:var(--ttm-muted,#6b7280);font-size:12px;font-weight:900}.ttm-profile-summary-top strong{display:block;color:var(--ttm-text,#111827);font-size:18px;font-weight:950;margin-top:3px}.ttm-profile-summary-top small{display:block;color:var(--ttm-muted,#6b7280);font-size:12px;font-weight:800;margin-top:4px}.ttm-profile-summary-status{position:relative;padding:15px;border-radius:22px;background:linear-gradient(135deg,#fff7f8,#fff);border:1px solid #fee2e2}.ttm-profile-summary-status span{display:block;color:var(--ttm-muted,#6b7280);font-size:12px;font-weight:900}.ttm-profile-summary-status b{display:block;color:var(--ttm-primary);font-size:18px;margin-top:5px}.ttm-profile-summary-card .ttm-btn{width:100%!important;border-radius:18px!important}.ttm-stats-grid-pro{margin-bottom:18px!important}.ttm-stat{background:var(--ttm-card,#fff)!important;color:var(--ttm-text,#111827)!important;border:1px solid rgba(226,232,240,.9)!important;position:relative;overflow:hidden}.ttm-stat span,.ttm-stat small{color:var(--ttm-muted,#6b7280)!important}.ttm-stat strong{color:var(--ttm-text,#111827)!important}.ttm-stat:before{content:"";position:absolute;inset-inline-start:0;top:22px;width:4px;height:54px;border-radius:99px;background:linear-gradient(180deg,var(--ttm-primary),var(--ttm-accent,#ff3340))}.ttm-card{background:var(--ttm-card,#fff)!important;color:var(--ttm-text,#111827)!important}.ttm-card p,.ttm-card small{color:var(--ttm-muted,#6b7280)!important}.ttm-card-icon{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2,#b00610))!important;color:#fff!important}.ttm-priority-list button,.ttm-quick-grid button{border:1px solid color-mix(in srgb,var(--ttm-primary) 18%,#fff)!important;background:linear-gradient(135deg,var(--ttm-card,#fff),color-mix(in srgb,var(--ttm-primary) 4%,#fff))!important}.ttm-priority-list button:hover,.ttm-quick-grid button:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(17,24,39,.08)}.ttm-form-section-title{display:flex;align-items:center;gap:10px;margin:4px 0 0;padding:12px 14px;border-radius:18px;background:#f8fafc;border:1px solid #eef2f7;color:var(--ttm-text,#111827);font-weight:950}.ttm-form input[type=color]{height:46px;padding:4px!important;border-radius:15px!important}.ttm-table-card{overflow:hidden}.ttm-table th{color:var(--ttm-muted,#6b7280)!important}.ttm-table td{color:var(--ttm-text,#111827)!important}.ttm-login-hero{min-height:540px!important}.ttm-login-hero p{max-width:560px!important}.ttm-login-benefits span{font-size:13px!important}.ttm-login-card h2{color:var(--ttm-text,#111827)!important}
@media(max-width:1100px){.ttm-dashboard-layout{grid-template-columns:1fr}.ttm-profile-summary-card{min-height:auto}.ttm-portal{grid-template-columns:270px minmax(0,1fr)!important}}
@media(max-width:780px){.ttm-dashboard-layout{display:block}.ttm-profile-summary-card{margin-top:14px;border-radius:26px}.ttm-user-mini-top{grid-template-columns:46px minmax(0,1fr) 48px!important;min-height:78px!important}.ttm-user-mini-logo{width:48px;height:48px}.ttm-mobile-head{background:linear-gradient(135deg,var(--ttm-sidebar-1,#101114),var(--ttm-sidebar-2,#250306))!important}.ttm-sidebar{background:linear-gradient(180deg,var(--ttm-sidebar-1,#101114),var(--ttm-sidebar-2,#250306))!important}.ttm-login-shell{display:flex!important;flex-direction:column;gap:14px}.ttm-login-hero{width:100%;padding:24px!important}.ttm-login-card{width:100%}}

/* Teamora Team v1.0.0 — professional UI polish */
.ttm-standalone,
.ttm-standalone body,
.ttm-portal,
.ttm-login-shell{font-family:var(--ttm-font-family, inherit)!important}
.ttm-portal{grid-template-columns:284px minmax(0,1fr)!important;background:radial-gradient(circle at 14% 8%,rgba(229,9,20,.075),transparent 30%),linear-gradient(135deg,var(--ttm-panel-bg,#f4f6fb),#eef1f6 70%)!important;color:var(--ttm-text,#111827)!important;overflow-x:hidden!important}
.ttm-sidebar{background:radial-gradient(circle at 35% -10%,rgba(255,255,255,.10),transparent 28%),linear-gradient(180deg,var(--ttm-sidebar-1,#101114),#15171c 60%,var(--ttm-sidebar-2,#251016))!important;padding:16px!important;gap:12px!important;box-shadow:-18px 0 50px rgba(7,10,18,.22)!important}
.ttm-user-mini-top{order:-10!important;position:relative!important;display:grid!important;grid-template-columns:54px minmax(0,1fr) 42px!important;align-items:center!important;gap:10px!important;padding:13px!important;border-radius:24px!important;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.045))!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 16px 32px rgba(0,0,0,.20)!important;min-height:86px!important}
.ttm-user-mini-top:before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 16% 5%,rgba(229,9,20,.34),transparent 42%);pointer-events:none}
.ttm-user-mini-logo{position:relative;z-index:1;width:54px!important;height:54px!important;border-radius:18px!important;object-fit:cover;background:#fff!important;box-shadow:0 12px 26px rgba(0,0,0,.24)!important}
.ttm-user-mini-info{position:relative;z-index:1;min-width:0;text-align:right!important}.ttm-user-mini-info strong{display:block!important;font-size:14px!important;line-height:1.5!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ttm-user-mini-info span{display:inline-flex!important;margin-top:6px!important;padding:5px 9px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important;color:rgba(255,255,255,.72)!important;font-size:10px!important;font-weight:900!important}.ttm-user-mini-top .ttm-avatar{position:relative;z-index:1;width:42px!important;height:42px!important;border-radius:15px!important;background:#fff!important;color:var(--ttm-primary)!important;font-size:15px!important}
.ttm-nav{gap:6px!important;padding:4px 0 8px!important}.ttm-nav-item{min-height:48px!important;border-radius:17px!important;padding:11px 12px!important;color:rgba(255,255,255,.76)!important;font-weight:900!important;letter-spacing:-.01em!important}.ttm-nav-item span{width:30px!important;height:30px!important;border-radius:12px!important;background:rgba(255,255,255,.08)!important;color:#fff!important}.ttm-nav-item:hover,.ttm-nav-item.is-active{background:linear-gradient(135deg,#fff,#f7f8fb)!important;color:#14171f!important;box-shadow:0 12px 28px rgba(0,0,0,.20)!important}.ttm-nav-item.is-active span{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:#fff!important}.ttm-logout-form .ttm-btn{height:52px!important;border-radius:18px!important;background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:var(--ttm-button-text,#fff)!important;box-shadow:0 18px 38px rgba(229,9,20,.24)!important}
.ttm-main{padding:26px 30px 44px!important;max-width:1480px!important}.ttm-topbar-clean{display:flex!important;align-items:center!important;justify-content:space-between!important;background:rgba(255,255,255,.72)!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:28px!important;padding:17px 20px!important;box-shadow:0 18px 48px rgba(15,23,42,.08)!important;backdrop-filter:blur(18px)!important}.ttm-title-block .ttm-eyebrow{background:rgba(229,9,20,.075)!important;color:var(--ttm-primary)!important;border:1px solid rgba(229,9,20,.10)!important;padding:7px 12px!important;border-radius:999px!important}.ttm-title-block h1{font-size:28px!important;color:var(--ttm-text,#111827)!important;margin:7px 0 0!important}.ttm-brand-link{display:none!important}
.ttm-btn,.ttm-portal button[type=submit],.ttm-login-shell button[type=submit]{border-radius:16px!important;font-weight:950!important;border:0!important;transition:.18s ease!important}.ttm-btn-primary,.ttm-btn-light:hover,.ttm-portal button[type=submit],.ttm-login-shell button[type=submit]{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:var(--ttm-button-text,#fff)!important;box-shadow:0 16px 34px rgba(229,9,20,.22)!important}.ttm-btn-ghost{background:rgba(229,9,20,.08)!important;color:var(--ttm-primary)!important;border:1px solid rgba(229,9,20,.13)!important;box-shadow:none!important}.ttm-btn-light{background:#fff!important;color:var(--ttm-primary)!important}.ttm-btn-outline-light{background:rgba(255,255,255,.10)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important}
.ttm-dashboard-layout-v105{display:grid!important;grid-template-columns:minmax(280px,.38fr) minmax(0,1fr)!important;gap:18px!important;align-items:stretch!important;margin-bottom:18px!important}.ttm-dashboard-layout-v105 .ttm-profile-summary-card{order:1!important;margin:0!important;border-radius:30px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 20px 54px rgba(15,23,42,.08)!important;padding:22px!important}.ttm-dashboard-layout-v105 .ttm-welcome{order:2!important;margin:0!important;min-height:255px!important;border-radius:32px!important;background:radial-gradient(circle at 9% 14%,rgba(255,255,255,.20),transparent 24%),linear-gradient(135deg,var(--ttm-dark),#1a1d25 55%,var(--ttm-primary))!important;box-shadow:0 24px 65px rgba(15,23,42,.16)!important}.ttm-profile-summary-top{display:flex!important;align-items:center!important;gap:13px!important}.ttm-avatar-lg{width:62px!important;height:62px!important;border-radius:22px!important;background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:#fff!important}.ttm-profile-summary-card strong{display:block!important;color:var(--ttm-text)!important;font-size:20px!important;margin:4px 0!important}.ttm-profile-summary-card span,.ttm-profile-summary-card small{color:var(--ttm-muted)!important;font-weight:850!important}.ttm-profile-summary-status{margin:18px 0!important;padding:15px!important;border-radius:20px!important;background:rgba(229,9,20,.055)!important;border:1px solid rgba(229,9,20,.10)!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.ttm-profile-summary-status b{color:var(--ttm-primary)!important}.ttm-welcome h2{font-size:34px!important;letter-spacing:-.025em!important}.ttm-welcome p{max-width:620px!important}.ttm-welcome-mark{background:rgba(255,255,255,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16)!important}.ttm-welcome-mark img{width:84px!important;height:84px!important;border-radius:26px!important;object-fit:cover!important;background:#fff!important}
.ttm-stats-grid-pro{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px!important}.ttm-stat{background:var(--ttm-card,#fff)!important;color:var(--ttm-text)!important;border:1px solid rgba(226,232,240,.78)!important;border-radius:var(--ttm-radius,28px)!important;box-shadow:0 16px 42px rgba(15,23,42,.065)!important;transition:.18s ease!important}.ttm-stat:hover{transform:translateY(-2px)!important;box-shadow:0 24px 55px rgba(15,23,42,.10)!important}.ttm-stat:before{background:linear-gradient(180deg,var(--ttm-primary),var(--ttm-accent))!important}.ttm-stat strong,.ttm-card h3{color:var(--ttm-text)!important}.ttm-stat span,.ttm-stat small,.ttm-card p,.ttm-card-headline p{color:var(--ttm-muted)!important}.ttm-card{background:var(--ttm-card,#fff)!important;border-radius:var(--ttm-radius,28px)!important;border:1px solid rgba(226,232,240,.75)!important;box-shadow:0 18px 48px rgba(15,23,42,.065)!important}.ttm-card-icon{background:linear-gradient(135deg,rgba(229,9,20,.12),rgba(229,9,20,.04))!important;color:var(--ttm-primary)!important}.ttm-priority-list button,.ttm-quick-grid button{border-radius:20px!important;border:1px solid rgba(229,9,20,.10)!important;background:linear-gradient(135deg,#fff,rgba(229,9,20,.035))!important;color:var(--ttm-text)!important}.ttm-quick-grid button{color:var(--ttm-primary)!important}.ttm-priority-list strong{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important}.ttm-form input,.ttm-form select,.ttm-form textarea,.ttm-login-form input{border-radius:17px!important;border-color:#dfe5ee!important;background:#fff!important}
.ttm-login-shell{grid-template-columns:minmax(0,1fr) minmax(360px,470px)!important;gap:26px!important;padding:34px!important;background:radial-gradient(circle at 15% 14%,rgba(255,255,255,.22),transparent 28%),linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2) 54%,var(--ttm-dark))!important}.ttm-login-hero{min-height:610px!important;border-radius:38px!important;padding:42px!important;justify-content:center!important;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.045))!important}.ttm-brand-lockup{margin:0 0 22px!important}.ttm-login-logo{width:112px!important;height:112px!important;border-radius:30px!important}.ttm-login-hero h1{font-size:clamp(32px,4vw,46px)!important;margin:8px 0!important}.ttm-login-hero p{max-width:560px!important;font-size:15px!important;line-height:1.9!important;margin:12px 0 20px!important}.ttm-login-benefits{grid-template-columns:repeat(3,max-content)!important;gap:9px!important}.ttm-login-benefits span{padding:10px 13px!important;border-radius:999px!important;font-size:12px!important;background:rgba(255,255,255,.12)!important}.ttm-login-card{border-radius:32px!important;padding:28px!important;box-shadow:0 28px 80px rgba(0,0,0,.25)!important}.ttm-login-card h2{font-size:25px!important}.ttm-login-tabs{border-radius:18px!important}.ttm-login-tab{cursor:pointer!important}.ttm-password-wrap{position:relative!important}.ttm-password-toggle{left:8px!important;border-radius:13px!important;background:#f1f3f7!important;color:#111827!important}.ttm-password-toggle.is-visible{background:rgba(229,9,20,.10)!important;color:var(--ttm-primary)!important}
@media(max-width:1100px){.ttm-dashboard-layout-v105{grid-template-columns:1fr!important}.ttm-dashboard-layout-v105 .ttm-profile-summary-card{order:1!important}.ttm-dashboard-layout-v105 .ttm-welcome{order:2!important}.ttm-stats-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-manager-grid{grid-template-columns:1fr!important}.ttm-login-shell{grid-template-columns:1fr!important}.ttm-login-hero{min-height:auto!important}}
@media(max-width:780px){.ttm-portal{display:block!important}.ttm-main{padding:16px 14px 32px!important}.ttm-mobile-head{background:rgba(255,255,255,.88)!important;backdrop-filter:blur(18px)!important}.ttm-sidebar{width:min(88vw,330px)!important}.ttm-dashboard-layout-v105{gap:14px!important}.ttm-welcome h2{font-size:26px!important}.ttm-stats-grid-pro,.ttm-quick-grid{grid-template-columns:1fr!important}.ttm-login-shell{padding:16px!important}.ttm-login-hero{padding:26px!important}.ttm-login-benefits{grid-template-columns:1fr!important}.ttm-login-logo{width:82px!important;height:82px!important}.ttm-brand-lockup{gap:14px!important}.ttm-login-hero h1{font-size:25px!important}.ttm-login-card{padding:22px!important}}

/* =========================================================
   Teamora Team Management v1.0.0 - root UI/UX polish
   Fixes: remove raw badges/avatar chips, complete fixed sidebar,
   smoother dashboard, Teamora red/black/white system-wide theme.
   ========================================================= */
.ttm-portal{
  --ttm-sidebar-width: 286px;
  display:block!important;
  min-height:100svh!important;
  width:100%!important;
  background:
    radial-gradient(circle at 78% 0, color-mix(in srgb,var(--ttm-primary) 7%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb,var(--ttm-panel-bg,#f4f6fb) 88%, #fff), var(--ttm-panel-bg,#f4f6fb))!important;
  color:var(--ttm-text,#111827)!important;
  font-family:var(--ttm-font-family, inherit)!important;
}
.ttm-portal .ttm-eyebrow,
.ttm-title-block .ttm-eyebrow,
.ttm-topbar .ttm-eyebrow{display:none!important}
.ttm-sidebar{
  position:fixed!important;
  inset-block:0!important;
  inset-inline-start:auto!important;
  inset-inline-end:0!important;
  width:var(--ttm-sidebar-width)!important;
  height:100svh!important;
  padding:14px 13px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.10), transparent 24%),
    linear-gradient(180deg,var(--ttm-sidebar-1,#101114), #15171d 58%, var(--ttm-sidebar-2,#250306))!important;
  border-inline-start:1px solid rgba(255,255,255,.08)!important;
  box-shadow:-18px 0 48px rgba(15,23,42,.18)!important;
  z-index:1000!important;
  scrollbar-width:thin!important;
}
.ttm-sidebar::-webkit-scrollbar{width:6px!important}.ttm-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22)!important;border-radius:99px!important}
.ttm-sidebar-brand-pro{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  padding:12px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.11),rgba(255,255,255,.045))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.ttm-sidebar-brand-pro img{
  width:58px!important;height:58px!important;border-radius:18px!important;object-fit:cover!important;background:#fff!important;box-shadow:0 14px 28px rgba(0,0,0,.24)!important;
}
.ttm-sidebar-brand-pro strong{display:block!important;color:#fff!important;font-size:14px!important;font-weight:950!important;line-height:1.45!important;white-space:normal!important}
.ttm-sidebar-brand-pro span{display:block!important;color:rgba(255,255,255,.62)!important;font-size:10px!important;font-weight:850!important;margin-top:4px!important}
.ttm-user-profile-pro{
  padding:13px 14px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.025))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  display:grid!important;
  gap:10px!important;
}
.ttm-user-profile-main strong{display:block!important;color:#fff!important;font-size:15px!important;font-weight:950!important;line-height:1.45!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ttm-user-profile-main span{display:inline-flex!important;margin-top:6px!important;color:rgba(255,255,255,.68)!important;font-size:11px!important;font-weight:850!important}
.ttm-user-profile-action{
  width:100%!important;
  min-height:36px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:950!important;
  box-shadow:none!important;
}
.ttm-user-profile-action:hover{background:#fff!important;color:var(--ttm-primary)!important}
.ttm-user-mini,.ttm-user-mini-top,.ttm-user-mini .ttm-avatar,.ttm-profile-summary-card .ttm-avatar,.ttm-avatar-lg{display:none!important}
.ttm-nav{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;gap:7px!important;padding:2px 0 8px!important;overflow:visible!important}
.ttm-nav-item{
  min-height:48px!important;
  padding:11px 12px!important;
  border-radius:17px!important;
  color:rgba(255,255,255,.74)!important;
  font-size:13px!important;
  font-weight:900!important;
  background:transparent!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
}
.ttm-nav-item span{width:30px!important;height:30px!important;border-radius:12px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;flex:0 0 30px!important}
.ttm-nav-item:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.08)!important}
.ttm-nav-item.is-active{background:#fff!important;color:#14171f!important;box-shadow:0 14px 28px rgba(0,0,0,.18)!important;border-color:transparent!important}
.ttm-nav-item.is-active span{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:#fff!important}
.ttm-nav-item em{margin-right:auto!important;background:var(--ttm-primary)!important;color:#fff!important}
.ttm-logout-form{margin-top:8px!important;padding-top:10px!important;border-top:1px solid rgba(255,255,255,.08)!important}
.ttm-logout-form .ttm-btn{height:48px!important;width:100%!important;border-radius:17px!important;background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:var(--ttm-button-text,#fff)!important;box-shadow:0 18px 36px rgba(229,9,20,.24)!important}
.ttm-main{
  margin-inline-end:var(--ttm-sidebar-width)!important;
  margin-inline-start:0!important;
  max-width:none!important;
  width:auto!important;
  min-height:100svh!important;
  padding:24px clamp(18px,2.2vw,34px) 46px!important;
}
.ttm-topbar-pro{
  margin:0 0 18px!important;
  min-height:82px!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(226,232,240,.80)!important;
  box-shadow:0 18px 50px rgba(15,23,42,.075)!important;
  backdrop-filter:blur(18px)!important;
}
.ttm-topbar-pro .ttm-title-block h1{margin:0!important;color:var(--ttm-text,#111827)!important;font-size:30px!important;letter-spacing:-.025em!important;font-weight:950!important}
.ttm-topbar-pro .ttm-title-block p{margin:7px 0 0!important;color:var(--ttm-muted,#6b7280)!important;font-size:13px!important;font-weight:850!important}
.ttm-dashboard-pro-shell{display:grid!important;gap:18px!important}
.ttm-welcome-pro-v106{
  min-height:250px!important;
  border-radius:34px!important;
  padding:26px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 250px!important;
  gap:22px!important;
  align-items:stretch!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 10% 14%,rgba(255,255,255,.16),transparent 22%),
    linear-gradient(135deg,var(--ttm-dark,#101114),#1b1d24 52%,var(--ttm-primary))!important;
  box-shadow:0 28px 78px rgba(15,23,42,.16)!important;
}
.ttm-soft-chip{display:inline-flex!important;align-items:center!important;width:max-content!important;padding:8px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;font-size:12px!important;font-weight:900!important}
.ttm-welcome-pro-v106 h2{margin:13px 0 6px!important;font-size:clamp(28px,3vw,40px)!important;line-height:1.25!important;color:#fff!important;font-weight:950!important;letter-spacing:-.03em!important}
.ttm-welcome-pro-v106 p{margin:0!important;color:rgba(255,255,255,.78)!important;line-height:1.9!important;font-weight:750!important;max-width:720px!important}
.ttm-welcome-side-panel{
  border-radius:28px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(255,255,255,.72)!important;
  padding:18px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:12px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 18px 46px rgba(0,0,0,.10)!important;
}
.ttm-welcome-side-panel img{width:62px!important;height:62px!important;border-radius:20px!important;object-fit:cover!important;background:#fff!important;box-shadow:0 14px 30px rgba(229,9,20,.16)!important}
.ttm-welcome-side-panel span{color:var(--ttm-muted,#6b7280)!important;font-size:12px!important;font-weight:900!important}.ttm-welcome-side-panel strong{color:var(--ttm-primary)!important;font-size:22px!important;font-weight:950!important}
.ttm-stats-grid-pro{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:0!important}
.ttm-stat{min-height:118px!important;border-radius:26px!important;padding:20px 22px!important;background:var(--ttm-card,#fff)!important;border:1px solid rgba(226,232,240,.82)!important;box-shadow:0 18px 46px rgba(15,23,42,.065)!important}
.ttm-stat:before{inset-inline-start:auto!important;inset-inline-end:0!important;top:22px!important;height:58px!important;width:4px!important;border-radius:99px!important;background:linear-gradient(180deg,var(--ttm-primary),var(--ttm-accent))!important}
.ttm-stat span{font-size:12px!important;color:var(--ttm-muted,#6b7280)!important}.ttm-stat strong{font-size:30px!important;color:var(--ttm-text,#111827)!important}.ttm-stat small{color:var(--ttm-muted,#6b7280)!important}
.ttm-manager-grid-pro{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important}
.ttm-card{border-radius:28px!important;background:var(--ttm-card,#fff)!important;border:1px solid rgba(226,232,240,.82)!important;box-shadow:0 18px 46px rgba(15,23,42,.065)!important;color:var(--ttm-text,#111827)!important}
.ttm-card h3{color:var(--ttm-text,#111827)!important}.ttm-card p{color:var(--ttm-muted,#6b7280)!important}.ttm-card-icon{background:linear-gradient(135deg,rgba(229,9,20,.12),rgba(229,9,20,.045))!important;color:var(--ttm-primary)!important}
.ttm-quick-grid-pro{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.ttm-quick-grid-pro button{min-height:58px!important;border-radius:18px!important;border:1px solid rgba(229,9,20,.12)!important;background:linear-gradient(135deg,#fff,rgba(229,9,20,.04))!important;color:var(--ttm-primary)!important;font-weight:950!important}
.ttm-priority-list button{border-radius:18px!important;border:1px solid rgba(229,9,20,.12)!important;background:linear-gradient(135deg,#fff,rgba(229,9,20,.035))!important;min-height:64px!important}.ttm-priority-list strong{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:#fff!important}
.ttm-form,.ttm-admin-form{gap:14px!important}.ttm-form input,.ttm-form select,.ttm-form textarea{border-radius:16px!important;background:#fff!important;border-color:#dfe5ee!important}.ttm-form input:focus,.ttm-form select:focus,.ttm-form textarea:focus{border-color:var(--ttm-primary)!important;box-shadow:0 0 0 4px rgba(229,9,20,.08)!important}
@media(max-width:1180px){.ttm-welcome-pro-v106{grid-template-columns:1fr!important}.ttm-welcome-side-panel{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important}.ttm-stats-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-manager-grid-pro{grid-template-columns:1fr!important}}
@media(max-width:780px){
  .ttm-portal{display:block!important}.ttm-mobile-head{display:flex!important;position:sticky!important;top:0!important;z-index:900!important;background:linear-gradient(135deg,var(--ttm-sidebar-1,#101114),var(--ttm-sidebar-2,#250306))!important;color:#fff!important;border:0!important}.ttm-main{margin:0!important;padding:16px 14px 34px!important}.ttm-sidebar{position:fixed!important;inset-inline-end:0!important;inset-inline-start:auto!important;width:min(86vw,324px)!important;transform:translateX(105%)!important;transition:transform .24s ease!important}.ttm-sidebar.is-open{transform:translateX(0)!important}.ttm-drawer-overlay.is-open{display:block!important;opacity:1!important}.ttm-topbar-pro{display:none!important}.ttm-welcome-pro-v106{min-height:auto!important;padding:20px!important;border-radius:26px!important}.ttm-welcome-side-panel{grid-template-columns:1fr!important}.ttm-stats-grid-pro,.ttm-quick-grid-pro{grid-template-columns:1fr!important}.ttm-stat{min-height:106px!important}.ttm-login-shell{padding:16px!important}.ttm-login-hero{display:none!important}.ttm-login-card{max-width:100%!important;border-radius:28px!important}
}


/* =========================================================
   Teamora Team Management v1.0.0 - hard reset professional UI
   Root fix: no giant logo, compact complete sidebar, clean dashboard.
   ========================================================= */
body.ttm-app-page,body.ttm-standalone{background:#f3f5f9!important;overflow-x:hidden!important;}
.ttm-portal{
  --ttm-sidebar-width:280px!important;
  min-height:100svh!important;
  display:block!important;
  background:linear-gradient(180deg,#f7f8fb 0%,#eef2f7 100%)!important;
  color:var(--ttm-text,#111827)!important;
}
.ttm-sidebar{
  position:fixed!important;right:0!important;left:auto!important;top:0!important;bottom:0!important;
  width:var(--ttm-sidebar-width)!important;height:100svh!important;
  padding:12px!important;gap:10px!important;overflow-y:auto!important;overflow-x:hidden!important;
  background:linear-gradient(180deg,#14161b 0%,#101114 56%,#21050a 100%)!important;
  box-shadow:-18px 0 45px rgba(15,23,42,.18)!important;
}
.ttm-sidebar-brand-pro{
  min-height:74px!important;padding:10px!important;border-radius:20px!important;
  grid-template-columns:52px 1fr!important;background:rgba(255,255,255,.055)!important;
}
.ttm-sidebar-brand-pro img{width:52px!important;height:52px!important;border-radius:16px!important;object-fit:cover!important;}
.ttm-sidebar-brand-pro strong{font-size:13px!important;line-height:1.35!important;}
.ttm-sidebar-brand-pro span{font-size:10px!important;margin-top:2px!important;}
.ttm-user-profile-pro{padding:10px 12px!important;border-radius:18px!important;gap:8px!important;background:rgba(255,255,255,.045)!important;}
.ttm-user-profile-main strong{font-size:14px!important;}
.ttm-user-profile-main span{font-size:10px!important;margin-top:3px!important;}
.ttm-user-profile-action{display:none!important;}
.ttm-nav{gap:5px!important;padding:0!important;overflow:visible!important;}
.ttm-nav-item{min-height:41px!important;padding:8px 10px!important;border-radius:14px!important;font-size:12px!important;}
.ttm-nav-item span{width:25px!important;height:25px!important;border-radius:9px!important;flex:0 0 25px!important;font-size:11px!important;}
.ttm-logout-form{margin-top:auto!important;padding-top:8px!important;}
.ttm-logout-form .ttm-btn{height:44px!important;border-radius:15px!important;font-size:13px!important;}
.ttm-main{margin-right:var(--ttm-sidebar-width)!important;margin-left:0!important;padding:22px 28px 36px!important;min-height:100svh!important;max-width:none!important;width:auto!important;}
.ttm-topbar-pro{min-height:70px!important;margin-bottom:16px!important;border-radius:24px!important;padding:16px 20px!important;background:rgba(255,255,255,.86)!important;box-shadow:0 16px 38px rgba(15,23,42,.06)!important;}
.ttm-topbar-pro .ttm-title-block h1{font-size:27px!important;line-height:1.2!important;}
.ttm-topbar-pro .ttm-title-block p{font-size:12px!important;margin-top:5px!important;}

/* Kill old dashboard layouts completely */
.ttm-dashboard-pro-shell,.ttm-welcome-pro-v106,.ttm-welcome-side-panel,.ttm-welcome-mark,.ttm-dashboard-layout-v105,.ttm-profile-summary-card{display:none!important;}
.ttm-dashboard-v107{display:grid!important;gap:16px!important;}
.ttm-hero-v107{display:grid!important;grid-template-columns:minmax(0,1fr) 286px!important;gap:16px!important;align-items:stretch!important;}
.ttm-hero-v107-copy{
  position:relative!important;overflow:hidden!important;min-height:210px!important;border-radius:30px!important;padding:28px!important;
  background:radial-gradient(circle at 12% 16%,rgba(255,255,255,.14),transparent 24%),linear-gradient(135deg,#15171d 0%,#1c1f28 55%,var(--ttm-primary,#e50914) 100%)!important;
  box-shadow:0 24px 60px rgba(15,23,42,.14)!important;color:#fff!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;text-align:right!important;
}
.ttm-hero-v107-copy:before{content:"";position:absolute;inset:auto -70px -120px auto;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none!important;}
.ttm-chip-v107{position:relative;z-index:1;display:inline-flex!important;align-items:center!important;width:max-content!important;padding:8px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;font-size:12px!important;font-weight:900!important;}
.ttm-hero-v107 h2{position:relative;z-index:1;margin:12px 0 8px!important;font-size:clamp(30px,3.2vw,44px)!important;line-height:1.22!important;color:#fff!important;font-weight:950!important;letter-spacing:-.035em!important;}
.ttm-hero-v107 p{position:relative;z-index:1;margin:0!important;color:rgba(255,255,255,.78)!important;font-size:14px!important;line-height:1.9!important;font-weight:800!important;max-width:660px!important;}
.ttm-hero-actions-v107{position:relative;z-index:1;margin-top:18px!important;display:flex!important;gap:10px!important;flex-wrap:wrap!important;}
.ttm-profile-card-v107{
  min-height:210px!important;border-radius:30px!important;padding:20px!important;background:#fff!important;border:1px solid rgba(226,232,240,.88)!important;
  box-shadow:0 22px 54px rgba(15,23,42,.08)!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:14px!important;
}
.ttm-profile-card-v107-top{display:flex!important;gap:12px!important;align-items:center!important;}
.ttm-profile-card-v107-top img{width:54px!important;height:54px!important;border-radius:17px!important;object-fit:cover!important;background:#fff!important;box-shadow:0 12px 26px rgba(229,9,20,.15)!important;}
.ttm-profile-card-v107-top span{display:block!important;color:var(--ttm-muted,#6b7280)!important;font-size:11px!important;font-weight:850!important;}
.ttm-profile-card-v107-top strong{display:block!important;color:var(--ttm-text,#111827)!important;font-size:18px!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:170px!important;}
.ttm-profile-card-v107-top small{display:block!important;color:var(--ttm-muted,#6b7280)!important;font-size:11px!important;font-weight:850!important;margin-top:2px!important;}
.ttm-profile-status-v107{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border-radius:18px!important;padding:13px 14px!important;background:linear-gradient(135deg,#fff7f8,#fff)!important;border:1px solid rgba(229,9,20,.11)!important;}
.ttm-profile-status-v107 span{color:var(--ttm-muted,#6b7280)!important;font-size:11px!important;font-weight:900!important;}
.ttm-profile-status-v107 b{color:var(--ttm-primary,#e50914)!important;font-size:15px!important;font-weight:950!important;}
.ttm-profile-card-v107 .ttm-btn{width:100%!important;height:44px!important;border-radius:15px!important;}
.ttm-metric-grid-v107{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.ttm-metric-card-v107{position:relative!important;text-align:right!important;min-height:112px!important;border-radius:24px!important;padding:18px 20px!important;background:#fff!important;border:1px solid rgba(226,232,240,.86)!important;box-shadow:0 18px 44px rgba(15,23,42,.055)!important;color:var(--ttm-text,#111827)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;overflow:hidden!important;}
.ttm-metric-card-v107:before{content:"";position:absolute;right:0;top:22px;width:4px;height:52px;border-radius:999px;background:linear-gradient(180deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610));}
.ttm-metric-card-v107 span{color:var(--ttm-muted,#6b7280)!important;font-size:12px!important;font-weight:900!important;}
.ttm-metric-card-v107 strong{margin:8px 0 3px!important;color:var(--ttm-text,#111827)!important;font-size:30px!important;font-weight:950!important;line-height:1!important;}
.ttm-metric-card-v107 small{color:var(--ttm-muted,#6b7280)!important;font-size:11px!important;font-weight:850!important;}
.ttm-metric-card-v107:hover{transform:translateY(-2px)!important;box-shadow:0 22px 54px rgba(15,23,42,.085)!important;}
.ttm-work-grid-v107{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;}
.ttm-pro-card-v107{min-height:220px!important;margin-bottom:0!important;padding:20px!important;border-radius:28px!important;}
.ttm-card-title-v107{display:flex!important;align-items:flex-start!important;gap:12px!important;margin-bottom:16px!important;}
.ttm-card-title-v107>span{width:42px!important;height:42px!important;border-radius:15px!important;background:linear-gradient(135deg,rgba(229,9,20,.12),rgba(229,9,20,.04))!important;color:var(--ttm-primary,#e50914)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:950!important;}
.ttm-card-title-v107 h3{margin:0 0 4px!important;font-size:20px!important;color:var(--ttm-text,#111827)!important;font-weight:950!important;}
.ttm-card-title-v107 p{margin:0!important;color:var(--ttm-muted,#6b7280)!important;font-size:12px!important;font-weight:850!important;line-height:1.8!important;}
.ttm-shortcuts-v107{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
.ttm-shortcuts-v107 button,.ttm-todo-list-v107 button{border:1px solid rgba(229,9,20,.12)!important;background:linear-gradient(135deg,#fff,rgba(229,9,20,.035))!important;border-radius:17px!important;color:var(--ttm-primary,#e50914)!important;font-weight:950!important;min-height:54px!important;box-shadow:none!important;}
.ttm-todo-list-v107{display:grid!important;gap:10px!important;}
.ttm-todo-list-v107 button{padding:12px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;color:var(--ttm-text,#111827)!important;text-align:right!important;}
.ttm-todo-list-v107 button span{font-size:13px!important;font-weight:900!important;color:var(--ttm-text,#111827)!important;}
.ttm-todo-list-v107 button strong{width:38px!important;height:38px!important;border-radius:13px!important;background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610))!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important;}
.ttm-card,.ttm-stat,.ttm-table-card{box-shadow:0 18px 44px rgba(15,23,42,.055)!important;}
.ttm-login-form .ttm-password-wrap{position:relative!important;display:block!important;}
.ttm-login-form .ttm-password-wrap input{padding-left:48px!important;}
.ttm-toggle-password{position:absolute!important;left:8px!important;top:50%!important;transform:translateY(-50%)!important;width:38px!important;height:38px!important;border:0!important;border-radius:12px!important;background:#f4f6fb!important;color:#111827!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important;}

@media(max-width:1180px){
  .ttm-hero-v107{grid-template-columns:1fr!important;}
  .ttm-profile-card-v107{min-height:auto!important;}
  .ttm-metric-grid-v107{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .ttm-work-grid-v107{grid-template-columns:1fr!important;}
}
@media(max-width:780px){
  .ttm-portal{display:block!important;}
  .ttm-mobile-head{display:flex!important;position:sticky!important;top:0!important;z-index:900!important;background:linear-gradient(135deg,#14161b,#25050a)!important;color:#fff!important;border:0!important;}
  .ttm-main{margin:0!important;padding:14px 12px 28px!important;}
  .ttm-sidebar{width:min(86vw,320px)!important;transform:translateX(105%)!important;transition:transform .24s ease!important;z-index:1000!important;}
  .ttm-sidebar.is-open{transform:translateX(0)!important;}
  .ttm-drawer-overlay.is-open{display:block!important;opacity:1!important;}
  .ttm-topbar-pro{display:none!important;}
  .ttm-hero-v107-copy{min-height:190px!important;padding:22px!important;border-radius:24px!important;}
  .ttm-hero-v107 h2{font-size:28px!important;}
  .ttm-metric-grid-v107,.ttm-shortcuts-v107{grid-template-columns:1fr!important;}
  .ttm-profile-card-v107{border-radius:24px!important;}
}


/* v1.0.0 - site font inheritance + Jalali date picker */
.ttm-login-shell,.ttm-portal,.ttm-admin-shell{font-family:var(--ttm-font-family, inherit)!important}
.ttm-login-shell *,.ttm-portal *,.ttm-admin-shell *{font-family:inherit}
.ttm-jalali-input{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext!important}
.ttm-jalali-picker{position:fixed;z-index:999999;width:292px;background:#fff;border:1px solid rgba(226,232,240,.96);border-radius:22px;box-shadow:0 26px 70px rgba(15,23,42,.20);padding:12px;direction:rtl;color:#111827;font-family:inherit;display:none}
.ttm-jalali-picker.is-open{display:block;animation:ttmJalaliPop .16s ease}
@keyframes ttmJalaliPop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.ttm-jalali-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.ttm-jalali-picker-title{font-weight:950;color:#111827;font-size:14px}
.ttm-jalali-picker-btn{width:34px;height:34px;border:0!important;border-radius:12px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;box-shadow:none!important;font-weight:950!important;cursor:pointer!important}
.ttm-jalali-week,.ttm-jalali-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}
.ttm-jalali-week span{font-size:11px;font-weight:950;color:#64748b;padding:6px 0}
.ttm-jalali-day{height:34px;border:0!important;border-radius:12px!important;background:#f8fafc!important;color:#111827!important;font-weight:900!important;box-shadow:none!important;cursor:pointer!important;padding:0!important}
.ttm-jalali-day:hover{background:rgba(229,9,20,.10)!important;color:var(--ttm-primary,#e50914)!important}
.ttm-jalali-day.is-selected{background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610))!important;color:#fff!important}
.ttm-jalali-day.is-today{outline:2px solid rgba(229,9,20,.18)}
.ttm-jalali-day.is-empty{visibility:hidden;pointer-events:none}
.ttm-jalali-picker-foot{margin-top:10px;padding-top:10px;border-top:1px dashed #e5e7eb;display:flex;justify-content:space-between;align-items:center;gap:8px}
.ttm-jalali-picker-foot button{border:0!important;border-radius:999px!important;background:#f8fafc!important;color:#475569!important;padding:8px 10px!important;font-size:12px!important;font-weight:900!important;box-shadow:none!important;cursor:pointer!important}
.ttm-jalali-picker-foot button[data-jalali-today]{background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important}
@media(max-width:520px){.ttm-jalali-picker{left:12px!important;right:12px!important;width:auto!important;max-width:none!important}}

/* v1.0.0 - section sync + cleaner operational screens */
.ttm-alert{position:relative!important;transition:opacity .2s ease,transform .2s ease!important}
.ttm-alert.is-dismissing{opacity:0!important;transform:translateY(-6px)!important;pointer-events:none!important}
.ttm-section.is-active{display:grid!important;gap:16px!important;align-content:start!important}
.ttm-section .ttm-card,.ttm-section .ttm-table-card{margin-bottom:0!important}
.ttm-topbar-pro .ttm-title-block h1{letter-spacing:-.035em!important}
.ttm-topbar-pro .ttm-title-block p{max-width:620px!important;color:var(--ttm-muted,#6b7280)!important;font-weight:850!important}
.ttm-card{padding:22px!important;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;border:1px solid rgba(226,232,240,.86)!important}
.ttm-card h3{font-size:19px!important;letter-spacing:-.025em!important}
.ttm-card p{font-size:13px!important;line-height:1.9!important}
.ttm-grid-form{gap:13px!important}
.ttm-form label{font-size:12px!important;font-weight:900!important;color:var(--ttm-text,#111827)!important}
.ttm-form input,.ttm-form select,.ttm-form textarea{min-height:46px!important;border-radius:16px!important;background:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important}
.ttm-form textarea{min-height:92px!important}
.ttm-form-actions{padding-top:4px!important}
.ttm-table-card{border-radius:26px!important;background:#fff!important}
.ttm-table th{font-size:11px!important;letter-spacing:-.01em!important;background:#f8fafc!important}
.ttm-table td{font-size:12.5px!important}
.ttm-report-shell-v111{display:grid!important;gap:16px!important}
.ttm-report-hero-v111{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:132px;padding:22px 24px;border-radius:28px;background:radial-gradient(circle at 8% 18%,rgba(255,255,255,.22),transparent 26%),linear-gradient(135deg,#14161b 0%,#1d2028 58%,var(--ttm-primary,#e50914) 100%);color:#fff;box-shadow:0 22px 58px rgba(15,23,42,.13)}
.ttm-report-hero-v111:before{content:"";position:absolute;left:-70px;bottom:-110px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.13);pointer-events:none}
.ttm-report-hero-v111>*{position:relative;z-index:1}
.ttm-report-hero-v111 span{display:inline-flex;width:max-content;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);font-size:12px;font-weight:950;color:#fff}
.ttm-report-hero-v111 h2{margin:10px 0 4px!important;font-size:28px!important;line-height:1.35!important;color:#fff!important;font-weight:950!important;letter-spacing:-.035em!important}
.ttm-report-hero-v111 p{margin:0!important;color:rgba(255,255,255,.76)!important;font-size:13px!important;line-height:1.9!important;font-weight:800!important;max-width:640px!important}
.ttm-report-hero-v111 strong{display:flex;align-items:center;justify-content:center;min-width:150px;height:48px;border-radius:16px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);font-size:14px;font-weight:950;color:#fff;white-space:nowrap}
.ttm-report-kpi-grid-v111{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ttm-report-kpi-v111{position:relative;overflow:hidden;min-height:116px;border-radius:24px;padding:18px 20px;background:#fff;border:1px solid rgba(226,232,240,.88);box-shadow:0 18px 44px rgba(15,23,42,.055);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:right}
.ttm-report-kpi-v111:before{content:"";position:absolute;right:0;top:22px;width:4px;height:52px;border-radius:999px;background:linear-gradient(180deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610))}
.ttm-report-kpi-v111 span{font-size:12px;font-weight:900;color:var(--ttm-muted,#6b7280)}
.ttm-report-kpi-v111 strong{margin:8px 0 4px;font-size:28px;font-weight:950;line-height:1;color:var(--ttm-text,#111827)}
.ttm-report-kpi-v111 small{font-size:11px;font-weight:850;color:var(--ttm-muted,#6b7280)}
.ttm-report-note-v111{border-radius:28px;padding:20px;background:#fff;border:1px solid rgba(226,232,240,.86);box-shadow:0 18px 44px rgba(15,23,42,.055)}
@media(max-width:1180px){.ttm-report-kpi-grid-v111{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-report-hero-v111{align-items:flex-start;flex-direction:column}.ttm-report-hero-v111 strong{min-width:0;width:max-content}}
@media(max-width:780px){.ttm-section.is-active{gap:13px!important}.ttm-grid-form{grid-template-columns:1fr!important}.ttm-span-2{grid-column:auto!important}.ttm-report-kpi-grid-v111{grid-template-columns:1fr}.ttm-report-hero-v111{border-radius:24px;padding:20px}.ttm-report-hero-v111 h2{font-size:24px!important}.ttm-card{padding:18px!important;border-radius:24px!important}}

/* =========================================================
   Teamora Team Management v1.0.0 - premium app UI refresh
   Applies the final red/black/white dashboard concept.
   Fully scoped to the plugin and inherits the active site font.
   ========================================================= */
.ttm-portal,.ttm-login-shell,.ttm-admin-shell{font-family:var(--ttm-font-family,inherit)!important;}
.ttm-portal *,.ttm-login-shell *,.ttm-admin-shell *{font-family:inherit!important;}
.ttm-portal{--ttm-sidebar-width:286px!important;display:block!important;background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%)!important;color:var(--ttm-text,#111827)!important;min-height:100svh!important;}
.ttm-sidebar{position:fixed!important;inset-block:0!important;inset-inline-end:0!important;width:var(--ttm-sidebar-width)!important;height:100svh!important;padding:18px 16px!important;background:radial-gradient(circle at 18% 96%,rgba(229,9,20,.28),transparent 34%),linear-gradient(180deg,#0b0f17 0%,#101722 56%,#2a0710 100%)!important;border-inline-start:1px solid rgba(255,255,255,.06)!important;box-shadow:-20px 0 65px rgba(15,23,42,.18)!important;overflow:hidden auto!important;}
.ttm-sidebar-brand-pro{display:flex!important;align-items:center!important;gap:12px!important;min-height:78px!important;padding:14px!important;border-radius:22px!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;}
.ttm-sidebar-brand-pro img{width:58px!important;height:58px!important;border-radius:18px!important;object-fit:cover!important;background:#fff!important;box-shadow:0 18px 36px rgba(229,9,20,.28)!important;}
.ttm-sidebar-brand-pro strong{display:block!important;color:#fff!important;font-size:13px!important;font-weight:900!important;line-height:1.55!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.ttm-sidebar-brand-pro span{display:block!important;color:rgba(255,255,255,.58)!important;font-size:11px!important;font-weight:760!important;margin-top:4px!important;}
.ttm-user-profile-pro{display:none!important;}
.ttm-nav{padding:14px 0!important;gap:9px!important;overflow:visible!important;}
.ttm-nav-item{min-height:52px!important;display:flex!important;align-items:center!important;gap:12px!important;padding:11px 13px!important;border-radius:17px!important;background:transparent!important;border:1px solid transparent!important;color:rgba(255,255,255,.74)!important;font-size:14px!important;font-weight:760!important;letter-spacing:-.01em!important;box-shadow:none!important;}
.ttm-nav-item span{width:34px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;border-radius:13px!important;background:rgba(255,255,255,.07)!important;color:rgba(255,255,255,.88)!important;font-size:15px!important;}
.ttm-nav-item:hover{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.08)!important;color:#fff!important;}
.ttm-nav-item.is-active{background:linear-gradient(135deg,rgba(229,9,20,.38),rgba(255,255,255,.08))!important;border-color:rgba(229,9,20,.45)!important;color:#fff!important;box-shadow:0 20px 42px rgba(0,0,0,.20)!important;}
.ttm-nav-item.is-active:before{content:""!important;position:absolute!important;inset-inline-end:-1px!important;top:13px!important;width:3px!important;height:26px!important;border-radius:99px!important;background:#ff3340!important;}
.ttm-nav-item.is-active span{background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610))!important;color:#fff!important;}
.ttm-nav-item em{margin-inline-start:auto!important;min-width:24px!important;height:24px!important;padding:0 7px!important;border-radius:999px!important;background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610))!important;color:#fff!important;font-size:12px!important;font-style:normal!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.ttm-logout-form{margin-top:auto!important;padding-top:16px!important;border-top:1px solid rgba(255,255,255,.09)!important;}
.ttm-logout-form .ttm-btn{height:52px!important;border-radius:17px!important;background:linear-gradient(135deg,#e50914,#9e0610)!important;color:#fff!important;box-shadow:0 18px 40px rgba(229,9,20,.25)!important;font-weight:850!important;}
.ttm-main{width:auto!important;min-height:100svh!important;margin:0 var(--ttm-sidebar-width) 0 0!important;padding:24px clamp(20px,2.4vw,38px) 38px!important;}
.ttm-mobile-head{display:none!important;}
.ttm-premium-topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;min-height:78px!important;margin:0 0 14px!important;padding:16px 20px!important;border-radius:28px!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 18px 55px rgba(15,23,42,.07)!important;backdrop-filter:blur(18px)!important;}
.ttm-premium-topbar .ttm-title-block h1{margin:0!important;font-size:29px!important;font-weight:920!important;line-height:1.3!important;color:var(--ttm-text,#111827)!important;letter-spacing:-.035em!important;}
.ttm-premium-topbar .ttm-title-block p{margin:6px 0 0!important;font-size:13px!important;color:var(--ttm-muted,#64748b)!important;font-weight:650!important;}
.ttm-premium-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;}
.ttm-search-lite{height:44px;min-width:230px;display:flex!important;align-items:center!important;gap:10px!important;padding:0 13px!important;border:1px solid rgba(226,232,240,.95)!important;border-radius:999px!important;background:#fff!important;color:#94a3b8!important;box-shadow:0 12px 28px rgba(15,23,42,.04)!important;}
.ttm-search-lite input{height:40px!important;min-height:0!important;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;color:#111827!important;font-size:13px!important;}
.ttm-bell-lite{position:relative!important;width:44px!important;height:44px!important;border:1px solid rgba(226,232,240,.95)!important;border-radius:16px!important;background:#fff!important;color:#111827!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 12px 28px rgba(15,23,42,.045)!important;}
.ttm-bell-lite em{position:absolute!important;top:-6px!important;inset-inline-end:-6px!important;min-width:21px!important;height:21px!important;border-radius:999px!important;background:var(--ttm-primary,#e50914)!important;color:#fff!important;font-size:11px!important;font-style:normal!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.ttm-section{display:none!important;}
.ttm-section.is-active{display:block!important;}
.ttm-screen-intro{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:18px!important;margin:0 0 14px!important;}
.ttm-screen-intro h2{margin:0!important;font-size:30px!important;font-weight:930!important;letter-spacing:-.035em!important;color:var(--ttm-text,#111827)!important;}
.ttm-screen-intro p{margin:8px 0 0!important;color:var(--ttm-muted,#64748b)!important;font-size:13px!important;font-weight:650!important;}
.ttm-announcement-strip{min-height:44px;display:flex!important;align-items:center!important;gap:10px!important;padding:9px 14px!important;border-radius:18px!important;background:#fff!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 14px 36px rgba(15,23,42,.055)!important;color:#475569!important;font-size:12px!important;font-weight:700!important;}
.ttm-announcement-strip span{color:var(--ttm-primary,#e50914)!important;font-size:12px!important;}.ttm-announcement-strip strong{color:#111827!important;font-size:12px!important;font-weight:850!important;}.ttm-announcement-strip small{font-size:12px!important;color:#64748b!important;}
.ttm-premium-dashboard,.ttm-payroll-premium,.ttm-docs-premium,.ttm-leaves-premium{display:grid!important;gap:16px!important;}
.ttm-dashboard-hero-row{display:grid!important;grid-template-columns:330px minmax(0,1fr)!important;gap:16px!important;align-items:stretch!important;}
.ttm-identity-card,.ttm-premium-card,.ttm-profile-section,.ttm-status-summary,.ttm-notification-list-panel,.ttm-notification-side>div,.ttm-doc-card{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;border:1px solid rgba(226,232,240,.92)!important;border-radius:28px!important;box-shadow:0 20px 56px rgba(15,23,42,.065)!important;}
.ttm-identity-card{padding:22px!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:10px!important;}
.ttm-identity-logo img{width:74px!important;height:74px!important;border-radius:22px!important;object-fit:cover!important;background:#fff!important;box-shadow:0 18px 38px rgba(229,9,20,.18)!important;}
.ttm-identity-card>span{color:#64748b!important;font-size:12px!important;font-weight:800!important}.ttm-identity-card h3{margin:0!important;font-size:22px!important;font-weight:920!important;color:#111827!important}.ttm-identity-card p{margin:0 0 6px!important;color:#64748b!important;font-size:13px!important;font-weight:700!important}
.ttm-info-row{width:100%!important;min-height:47px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 12px!important;border:1px solid #eef2f7!important;border-radius:16px!important;background:#fff!important;color:#475569!important;font-size:12px!important;font-weight:750!important;}
.ttm-info-row b{font-size:12px!important;color:#111827!important;max-width:150px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.ttm-identity-card .ttm-btn{width:100%!important;margin-top:4px!important;}
.ttm-cinematic-hero,.ttm-wide-gradient{position:relative!important;overflow:hidden!important;border-radius:30px!important;min-height:260px!important;background:radial-gradient(circle at 8% 12%,rgba(255,255,255,.12),transparent 22%),radial-gradient(circle at 92% 18%,rgba(229,9,20,.34),transparent 32%),linear-gradient(135deg,#0e1520 0%,#151a24 50%,#bf0712 100%)!important;color:#fff!important;box-shadow:0 28px 80px rgba(15,23,42,.17)!important;}
.ttm-cinematic-hero:after,.ttm-wide-gradient:after{content:""!important;position:absolute!important;inset:auto -70px -120px auto!important;width:340px!important;height:340px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:50%!important;box-shadow:0 0 0 36px rgba(255,255,255,.025),0 0 0 76px rgba(255,255,255,.018)!important;}
.ttm-hero-content{position:relative!important;z-index:1!important;padding:30px!important;max-width:680px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:260px!important;}
.ttm-soft-tag{display:inline-flex!important;width:max-content!important;padding:8px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;}
.ttm-cinematic-hero h2{margin:14px 0 8px!important;font-size:42px!important;line-height:1.22!important;color:#fff!important;font-weight:930!important;letter-spacing:-.045em!important;}
.ttm-cinematic-hero p{max-width:620px!important;margin:0 0 24px!important;color:rgba(255,255,255,.78)!important;line-height:1.9!important;font-size:15px!important;font-weight:650!important;}
.ttm-hero-actions-v107{display:flex!important;gap:10px!important;flex-wrap:wrap!important;}
.ttm-premium-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.ttm-premium-metric{position:relative!important;min-height:128px!important;display:grid!important;grid-template-columns:auto 1fr!important;grid-template-areas:"icon title" "icon value" "icon note"!important;align-items:center!important;column-gap:14px!important;text-align:right!important;padding:18px!important;border:1px solid rgba(226,232,240,.95)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 48px rgba(15,23,42,.055)!important;color:#111827!important;}
.ttm-premium-metric:before{content:""!important;position:absolute!important;inset-inline-end:0!important;top:22px!important;width:3px!important;height:52px!important;border-radius:999px!important;background:linear-gradient(180deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610))!important;}
.ttm-premium-icon{grid-area:icon!important;width:58px!important;height:58px!important;border-radius:20px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:22px!important;}
.ttm-premium-metric strong{grid-area:title!important;color:#475569!important;font-size:12px!important;font-weight:780!important;}.ttm-premium-metric b{grid-area:value!important;font-size:30px!important;font-weight:930!important;line-height:1.05!important;color:#111827!important;}.ttm-premium-metric small{grid-area:note!important;color:#64748b!important;font-size:12px!important;font-weight:650!important;}
.ttm-dashboard-bottom-grid{display:grid!important;grid-template-columns:1fr 1.15fr 1.05fr!important;gap:16px!important;}
.ttm-premium-card{padding:20px!important;}.ttm-card-head{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 14px!important;}.ttm-card-head>span{width:44px!important;height:44px!important;border-radius:16px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:19px!important;flex:0 0 auto!important;}.ttm-card-head h3{margin:0!important;font-size:18px!important;font-weight:900!important;color:#111827!important;}.ttm-card-head p{margin:4px 0 0!important;color:#64748b!important;font-size:12px!important;font-weight:650!important;}
.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed{display:grid!important;gap:10px!important;}.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-notification-side button{min-height:58px!important;border:1px solid rgba(226,232,240,.88)!important;border-radius:18px!important;background:linear-gradient(135deg,#fff,rgba(229,9,20,.025))!important;display:flex!important;align-items:center!important;gap:12px!important;padding:10px 12px!important;text-align:right!important;color:#111827!important;box-shadow:none!important;}.ttm-shortcut-list button span{width:38px!important;height:38px!important;border-radius:14px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;display:flex!important;align-items:center!important;justify-content:center!important;}.ttm-shortcut-list b,.ttm-mini-feed b,.ttm-request-feed b{display:block!important;font-size:13px!important;font-weight:850!important;color:#111827!important;}.ttm-shortcut-list small,.ttm-mini-feed small,.ttm-request-feed small{display:block!important;margin-top:3px!important;font-size:11px!important;color:#64748b!important;font-weight:650!important;}.ttm-mini-feed article>span{color:var(--ttm-primary,#e50914)!important;}.ttm-request-feed article{justify-content:space-between!important;}.ttm-link-button{margin-top:12px!important;border:0!important;background:transparent!important;color:var(--ttm-primary,#e50914)!important;font-weight:850!important;padding:0!important;box-shadow:none!important;}
.ttm-status-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:27px!important;padding:5px 10px!important;border-radius:999px!important;font-size:11px!important;font-weight:850!important;white-space:nowrap!important;}.ttm-status-badge.is-success{background:#ecfdf5!important;color:#15803d!important;border:1px solid #bbf7d0!important;}.ttm-status-badge.is-warning{background:#fff7ed!important;color:#c2410c!important;border:1px solid #fed7aa!important;}.ttm-status-badge.is-danger{background:#fff1f2!important;color:#be123c!important;border:1px solid #fecdd3!important;}.ttm-status-badge.is-neutral{background:#f8fafc!important;color:#475569!important;border:1px solid #e2e8f0!important;}
.ttm-profile-premium{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(300px,.9fr)!important;gap:16px!important;}.ttm-profile-hero-card{grid-column:1/2!important;position:relative!important;min-height:170px!important;padding:24px!important;border-radius:30px!important;background:radial-gradient(circle at 12% 14%,rgba(255,255,255,.12),transparent 28%),linear-gradient(135deg,#101827,#151923 55%,#cc0713)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;color:#fff!important;overflow:hidden!important;}.ttm-profile-hero-card h3{margin:0!important;color:#fff!important;font-size:28px!important;font-weight:930!important;}.ttm-profile-hero-card p{margin:6px 0 12px!important;color:rgba(255,255,255,.78)!important;}.ttm-profile-hero-card img{width:92px!important;height:92px!important;border-radius:28px!important;background:#fff!important;object-fit:cover!important;box-shadow:0 20px 44px rgba(0,0,0,.28)!important;}.ttm-status-summary{grid-column:2/3!important;grid-row:1/3!important;padding:20px!important;}.ttm-status-summary h3{margin:0 0 14px!important;font-size:18px!important;font-weight:900!important;}.ttm-status-summary div{min-height:47px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 12px!important;border:1px solid #eef2f7!important;border-radius:16px!important;margin-bottom:9px!important;background:#fff!important;}.ttm-status-summary span{color:#64748b!important;font-size:12px!important;font-weight:750!important;}.ttm-status-summary b{font-size:12px!important;color:#111827!important;direction:ltr!important;}.ttm-profile-section{padding:20px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}.ttm-profile-section.ttm-span-2{grid-column:1/2!important;}.ttm-profile-section .ttm-card-head{grid-column:1/-1!important;margin-bottom:4px!important;}.ttm-profile-section label,.ttm-form label{display:flex!important;flex-direction:column!important;gap:7px!important;font-size:12px!important;font-weight:800!important;color:#475569!important;}.ttm-profile-section input,.ttm-profile-section textarea,.ttm-form input,.ttm-form select,.ttm-form textarea{width:100%!important;border:1px solid #dfe7f1!important;background:#fff!important;border-radius:15px!important;min-height:46px!important;padding:11px 13px!important;color:#111827!important;font-size:13px!important;box-shadow:none!important;}.ttm-profile-section input:focus,.ttm-profile-section textarea:focus,.ttm-form input:focus,.ttm-form select:focus,.ttm-form textarea:focus{border-color:var(--ttm-primary,#e50914)!important;box-shadow:0 0 0 4px rgba(229,9,20,.08)!important;outline:none!important;}.ttm-save-ribbon{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:14px!important;border-radius:22px!important;background:rgba(255,255,255,.78)!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 14px 34px rgba(15,23,42,.05)!important;}.ttm-save-ribbon span{color:#64748b!important;font-size:12px!important;font-weight:700!important;}
.ttm-wide-gradient{min-height:170px!important;padding:24px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;align-items:center!important;}.ttm-wide-gradient>div{position:relative!important;z-index:1!important;padding:0 24px!important;border-inline-start:1px solid rgba(255,255,255,.18)!important;}.ttm-wide-gradient>div:last-child{border-inline-start:0!important;}.ttm-wide-gradient span{display:block!important;color:rgba(255,255,255,.68)!important;font-size:13px!important;font-weight:750!important;}.ttm-wide-gradient strong{display:block!important;color:#fff!important;font-size:28px!important;line-height:1.2!important;font-weight:920!important;margin:9px 0 5px!important;}.ttm-wide-gradient small{color:rgba(255,255,255,.72)!important;font-size:12px!important;font-weight:650!important;}.ttm-list-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 14px!important;}.ttm-pretty-table{width:100%!important;border-collapse:separate!important;border-spacing:0 9px!important;}.ttm-pretty-table th{padding:9px 14px!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;background:#f8fafc!important;}.ttm-pretty-table td{padding:13px 14px!important;background:#fff!important;border-block:1px solid #eef2f7!important;font-size:13px!important;color:#111827!important;}.ttm-pretty-table tr td:first-child{border-start-start-radius:16px!important;border-end-start-radius:16px!important;border-inline-start:1px solid #eef2f7!important;}.ttm-pretty-table tr td:last-child{border-start-end-radius:16px!important;border-end-end-radius:16px!important;border-inline-end:1px solid #eef2f7!important;}.ttm-table-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:8px 14px!important;border-radius:13px!important;background:rgba(229,9,20,.08)!important;border:1px solid rgba(229,9,20,.18)!important;color:var(--ttm-primary,#e50914)!important;text-decoration:none!important;font-size:12px!important;font-weight:850!important;}.ttm-muted-inline{color:#94a3b8!important;font-size:12px!important;font-weight:750!important;}.ttm-floating-new{width:max-content!important;}.ttm-leaves-premium{grid-template-columns:minmax(360px,.8fr) minmax(0,1.4fr)!important;align-items:start!important;}.ttm-leaves-premium>.ttm-premium-metrics,.ttm-floating-new{grid-column:1/-1!important;}.ttm-leave-form-card{grid-column:1/2!important;}.ttm-leave-list-card{grid-column:2/3!important;}.ttm-mini-note-inline{color:#64748b!important;font-size:12px!important;font-weight:650!important;}
.ttm-docs-layout{display:grid!important;grid-template-columns:300px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;}.ttm-doc-side{display:grid!important;gap:10px!important;}.ttm-doc-side h3{margin:0 0 8px!important;font-size:18px!important;}.ttm-doc-side div{display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid #eef2f7!important;padding:10px 0!important;color:#475569!important;font-size:13px!important;font-weight:750!important;}.ttm-doc-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}.ttm-doc-card{padding:20px!important;min-height:210px!important;display:flex!important;flex-direction:column!important;gap:8px!important;}.ttm-doc-icon{width:54px!important;height:54px!important;border-radius:18px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:23px!important;}.ttm-doc-card small{color:#64748b!important;font-size:12px!important;font-weight:700!important;}.ttm-doc-card h3{margin:0!important;font-size:18px!important;color:#111827!important;font-weight:900!important;}.ttm-doc-card p{margin:0!important;color:#64748b!important;font-size:12px!important;}.ttm-doc-actions{margin-top:auto!important;}.ttm-security-strip{border-radius:22px!important;background:#fff1f2!important;border:1px solid #fecdd3!important;color:#9f1239!important;padding:15px 18px!important;font-size:13px!important;font-weight:800!important;text-align:center!important;}
.ttm-notifications-premium{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:16px!important;align-items:start!important;}.ttm-notification-list-panel{padding:18px!important;}.ttm-filter-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin-bottom:14px!important;}.ttm-filter-tabs button{height:46px!important;border:1px solid #e2e8f0!important;border-radius:16px!important;background:#fff!important;color:#475569!important;font-weight:800!important;box-shadow:none!important;}.ttm-filter-tabs button.is-active{border-color:rgba(229,9,20,.35)!important;background:rgba(229,9,20,.06)!important;color:var(--ttm-primary,#e50914)!important;}.ttm-notification-row{display:grid!important;grid-template-columns:auto 54px minmax(0,1fr) 150px!important;gap:12px!important;align-items:center!important;min-height:90px!important;border:1px solid #eef2f7!important;border-radius:20px!important;background:#fff!important;margin-bottom:10px!important;padding:13px!important;}.ttm-dot{width:10px!important;height:10px!important;border-radius:99px!important;background:var(--ttm-primary,#e50914)!important;}.ttm-notification-icon{width:52px!important;height:52px!important;border-radius:18px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:22px!important;}.ttm-notification-row h3{margin:0!important;font-size:15px!important;font-weight:900!important;color:#111827!important;}.ttm-notification-row p{margin:5px 0 0!important;color:#64748b!important;font-size:12px!important;font-weight:650!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}.ttm-notification-row time{color:#64748b!important;font-size:12px!important;text-align:left!important;}.ttm-notification-side{display:grid!important;gap:14px!important;}.ttm-unread-panel{min-height:150px!important;padding:22px!important;background:linear-gradient(135deg,#4b0f18,#c90814)!important;color:#fff!important;border-color:transparent!important;}.ttm-unread-panel strong{display:block!important;font-size:46px!important;line-height:1!important;color:#fff!important;}.ttm-unread-panel span{display:block!important;margin-top:8px!important;font-size:16px!important;font-weight:900!important;}.ttm-unread-panel small{display:block!important;margin-top:6px!important;color:rgba(255,255,255,.72)!important;}.ttm-notification-side .ttm-premium-card h3{margin:0 0 12px!important;}.ttm-notification-side button{width:100%!important;justify-content:flex-start!important;color:#111827!important;font-weight:800!important;}.ttm-smart-notice{padding:22px!important;border-radius:26px!important;background:linear-gradient(135deg,#fff1f2,#fff)!important;border:1px solid #fee2e2!important;color:var(--ttm-primary,#e50914)!important;font-size:16px!important;font-weight:900!important;text-align:center!important;}.ttm-smart-notice small{color:#64748b!important;font-size:12px!important;font-weight:650!important;}.ttm-empty{padding:18px!important;border-radius:18px!important;background:#f8fafc!important;border:1px dashed #cbd5e1!important;color:#64748b!important;font-size:13px!important;font-weight:800!important;text-align:center!important;}
.ttm-manager-form{margin-bottom:16px!important;}.ttm-inline-form{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;}.ttm-inline-form select,.ttm-inline-form input{min-height:36px!important;border-radius:12px!important;border:1px solid #dfe7f1!important;padding:7px 9px!important;}.ttm-span-2{grid-column:1/-1!important;}
@media(max-width:1260px){.ttm-dashboard-hero-row,.ttm-profile-premium,.ttm-leaves-premium,.ttm-docs-layout,.ttm-notifications-premium{grid-template-columns:1fr!important;}.ttm-status-summary,.ttm-profile-hero-card,.ttm-profile-section.ttm-span-2,.ttm-leave-form-card,.ttm-leave-list-card{grid-column:auto!important;grid-row:auto!important;}.ttm-dashboard-bottom-grid{grid-template-columns:1fr!important;}.ttm-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:980px){.ttm-main{margin:0!important;padding:14px 12px 30px!important;}.ttm-mobile-head{display:flex!important;position:sticky!important;top:0!important;z-index:900!important;background:linear-gradient(135deg,#101722,#2a0710)!important;color:#fff!important;border:0!important;}.ttm-sidebar{transform:translateX(110%)!important;width:min(86vw,320px)!important;z-index:1000!important;transition:transform .22s ease!important;}.ttm-sidebar.is-open{transform:translateX(0)!important;}.ttm-drawer-overlay.is-open{display:block!important;opacity:1!important;}.ttm-premium-topbar{display:none!important;}.ttm-screen-intro{display:block!important;}.ttm-announcement-strip{margin-top:12px!important;}.ttm-premium-metrics,.ttm-wide-gradient,.ttm-doc-grid,.ttm-filter-tabs{grid-template-columns:1fr!important;}.ttm-wide-gradient>div{border:0!important;border-bottom:1px solid rgba(255,255,255,.16)!important;padding:16px 0!important;}.ttm-wide-gradient>div:last-child{border:0!important;}.ttm-profile-section{grid-template-columns:1fr!important;}.ttm-search-lite{min-width:0!important;width:100%!important;}.ttm-notification-row{grid-template-columns:auto 44px minmax(0,1fr)!important;}.ttm-notification-row time{grid-column:3/4!important;text-align:right!important;}.ttm-cinematic-hero h2{font-size:30px!important;}.ttm-cinematic-hero,.ttm-hero-content{min-height:220px!important;}.ttm-screen-intro h2{font-size:25px!important;}.ttm-docs-layout{grid-template-columns:1fr!important;}}


/* =========================================================
   Teamora Team Management v1.0.0
   Compact header + Yekan Bakh priority + Tikline icon pack
   ========================================================= */
@font-face{
  font-family:"TTM Yekan Bakh";
  src:local("Yekan_Bakh"),local("Yekan Bakh"),local("YekanBakh"),local("Yekan Bakh FaNum"),local("YekanBakhFaNum");
  font-display:swap;
}
:root{
  --ttm-icon-search:url("../vendor/tikline-icons/icons/search.svg");
  --ttm-icon-bell:url("../vendor/tikline-icons/icons/bell.svg");
  --ttm-icon-chevron:url("../vendor/tikline-icons/icons/chevron-down.svg");
  --ttm-icon-dashboard:url("../vendor/tikline-icons/icons/grid.svg");
  --ttm-icon-profile:url("../vendor/tikline-icons/icons/user.svg");
  --ttm-icon-payroll:url("../vendor/tikline-icons/icons/receipt.svg");
  --ttm-icon-leaves:url("../vendor/tikline-icons/icons/calendar.svg");
  --ttm-icon-docs:url("../vendor/tikline-icons/icons/certificate.svg");
  --ttm-icon-notifications:url("../vendor/tikline-icons/icons/bell.svg");
  --ttm-icon-employees:url("../vendor/tikline-icons/icons/profile-card.svg");
  --ttm-icon-reports:url("../vendor/tikline-icons/icons/chart.svg");
  --ttm-icon-settings:url("../vendor/tikline-icons/icons/settings.svg");
  --ttm-icon-support:url("../vendor/tikline-icons/icons/headset.svg");
  --ttm-icon-logout:url("../vendor/tikline-icons/icons/logout.svg");
}
body.ttm-standalone,
body.ttm-app-page,
.ttm-login-shell,
.ttm-login-shell *,
.ttm-portal,
.ttm-portal *,
.ttm-admin-shell,
.ttm-admin-shell *{
  font-family:"TTM Yekan Bakh","Yekan_Bakh","Yekan Bakh","YekanBakh",var(--ttm-font-family),inherit!important;
  font-feature-settings:"ss01" 1,"tnum" 0;
}

/* One-third compact top area */
.ttm-premium-topbar,
.ttm-topbar-pro,
.ttm-topbar-clean{
  min-height:44px!important;
  height:auto!important;
  padding:7px 14px!important;
  margin:0 0 12px!important;
  border-radius:20px!important;
  gap:10px!important;
  align-items:center!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
}
.ttm-topbar-pro .ttm-title-block,
.ttm-premium-topbar .ttm-title-block{
  gap:0!important;
  min-width:0!important;
}
.ttm-topbar-pro .ttm-title-block h1,
.ttm-premium-topbar .ttm-title-block h1{
  font-size:21px!important;
  line-height:1.14!important;
  letter-spacing:-.025em!important;
  margin:0!important;
}
.ttm-topbar-pro .ttm-title-block p,
.ttm-premium-topbar .ttm-title-block p{
  font-size:11px!important;
  line-height:1.45!important;
  margin:2px 0 0!important;
  max-width:640px!important;
}
.ttm-top-actions,
.ttm-premium-actions{
  gap:8px!important;
  align-items:center!important;
}
.ttm-search-lite{
  height:34px!important;
  min-height:34px!important;
  min-width:218px!important;
  max-width:270px!important;
  padding:0 10px!important;
  border-radius:15px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 8px 20px rgba(15,23,42,.035)!important;
}
.ttm-search-lite input{
  height:32px!important;
  min-height:32px!important;
  padding:0!important;
  font-size:12px!important;
  line-height:32px!important;
}
.ttm-search-lite span,
.ttm-bell-lite span{
  display:inline-grid!important;
  place-items:center!important;
  width:17px!important;
  height:17px!important;
  color:#64748b!important;
  font-size:0!important;
  line-height:0!important;
  flex:0 0 auto!important;
}
.ttm-search-lite span::before,
.ttm-bell-lite span::before{
  content:""!important;
  width:17px!important;
  height:17px!important;
  display:block!important;
  background:currentColor!important;
  -webkit-mask:var(--ttm-inline-icon) center/contain no-repeat!important;
  mask:var(--ttm-inline-icon) center/contain no-repeat!important;
}
.ttm-search-lite span{--ttm-inline-icon:var(--ttm-icon-search)}
.ttm-bell-lite span{--ttm-inline-icon:var(--ttm-icon-bell);color:var(--ttm-primary)!important}
.ttm-bell-lite{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  border-radius:14px!important;
}
.ttm-bell-lite em{
  min-width:17px!important;
  height:17px!important;
  line-height:17px!important;
  font-size:9.5px!important;
  top:-5px!important;
  inset-inline-end:-5px!important;
}
.ttm-premium-actions .ttm-btn,
.ttm-top-actions .ttm-btn{
  min-height:34px!important;
  height:34px!important;
  padding:0 12px!important;
  border-radius:14px!important;
  font-size:12px!important;
}
.ttm-screen-intro{
  min-height:44px!important;
  padding:8px 14px!important;
  margin:0 0 12px!important;
  border-radius:20px!important;
  align-items:center!important;
  box-shadow:0 10px 26px rgba(15,23,42,.055)!important;
}
.ttm-screen-intro h2{
  font-size:21px!important;
  line-height:1.14!important;
  letter-spacing:-.025em!important;
  margin:0!important;
}
.ttm-screen-intro p{
  font-size:11px!important;
  line-height:1.45!important;
  margin:2px 0 0!important;
}
.ttm-announcement-strip,
.ttm-notice,
.ttm-flash,
.ttm-alert{
  min-height:34px!important;
  padding:7px 12px!important;
  border-radius:15px!important;
  font-size:12px!important;
}

/* Tikline masks for sidebar / action icons */
.ttm-nav-item[data-section-target="dashboard"]{--ttm-nav-icon:var(--ttm-icon-dashboard)}
.ttm-nav-item[data-section-target="profile"]{--ttm-nav-icon:var(--ttm-icon-profile)}
.ttm-nav-item[data-section-target="payroll"]{--ttm-nav-icon:var(--ttm-icon-payroll)}
.ttm-nav-item[data-section-target="leaves"]{--ttm-nav-icon:var(--ttm-icon-leaves)}
.ttm-nav-item[data-section-target="documents"]{--ttm-nav-icon:var(--ttm-icon-docs)}
.ttm-nav-item[data-section-target="notifications"]{--ttm-nav-icon:var(--ttm-icon-notifications)}
.ttm-nav-item[data-section-target="employees"]{--ttm-nav-icon:var(--ttm-icon-employees)}
.ttm-nav-item[data-section-target="reports"]{--ttm-nav-icon:var(--ttm-icon-reports)}
.ttm-nav-item[data-section-target="settings"]{--ttm-nav-icon:var(--ttm-icon-settings)}
.ttm-nav-item[data-section-target="support"]{--ttm-nav-icon:var(--ttm-icon-support)}
.ttm-nav-item span{
  font-size:0!important;
  line-height:0!important;
  color:inherit!important;
}
.ttm-nav-item span::before{
  content:""!important;
  width:18px!important;
  height:18px!important;
  display:block!important;
  background:currentColor!important;
  -webkit-mask:var(--ttm-nav-icon,var(--ttm-icon-dashboard)) center/contain no-repeat!important;
  mask:var(--ttm-nav-icon,var(--ttm-icon-dashboard)) center/contain no-repeat!important;
}
.ttm-logout span,
.ttm-logout i{
  font-size:0!important;
}
.ttm-logout span::before,
.ttm-logout i::before{
  content:""!important;
  width:18px!important;
  height:18px!important;
  display:block!important;
  background:currentColor!important;
  -webkit-mask:var(--ttm-icon-logout) center/contain no-repeat!important;
  mask:var(--ttm-icon-logout) center/contain no-repeat!important;
}

@media(max-width:980px){
  .ttm-premium-topbar,
  .ttm-topbar-pro,
  .ttm-topbar-clean{
    min-height:42px!important;
    padding:7px 10px!important;
    border-radius:18px!important;
    margin-bottom:10px!important;
  }
  .ttm-screen-intro{
    min-height:42px!important;
    padding:8px 12px!important;
    border-radius:18px!important;
    margin-bottom:10px!important;
  }
  .ttm-screen-intro h2,
  .ttm-topbar-pro .ttm-title-block h1{
    font-size:19px!important;
  }
  .ttm-screen-intro p,
  .ttm-topbar-pro .ttm-title-block p{
    font-size:10.5px!important;
  }
  .ttm-search-lite{
    min-width:150px!important;
    max-width:190px!important;
    height:32px!important;
  }
}

/* TTM v1.0.0 — scoped PWA polish */
.ttm-pwa-standalone body.ttm-standalone,
.ttm-pwa-standalone body.ttm-app-page{background:var(--ttm-panel-bg,#f4f6fb)}
.ttm-pwa-install{position:fixed;left:calc(18px + env(safe-area-inset-left));bottom:calc(18px + env(safe-area-inset-bottom));z-index:99999;border:1px solid rgba(229,9,20,.22);background:linear-gradient(135deg,#e50914,#8d0710);color:#fff;border-radius:20px;padding:12px 16px;box-shadow:0 18px 48px rgba(229,9,20,.25);font-family:var(--ttm-font-family,"TTM Yekan Bakh","Yekan_Bakh","Yekan Bakh",inherit);cursor:pointer;display:flex;flex-direction:column;gap:2px;text-align:right;min-width:190px;transition:transform .18s ease,box-shadow .18s ease}
.ttm-pwa-install:hover{transform:translateY(-2px);box-shadow:0 22px 60px rgba(229,9,20,.32)}
.ttm-pwa-install span{font-size:13px;font-weight:950;line-height:1.4}
.ttm-pwa-install small{font-size:10px;font-weight:750;opacity:.82;line-height:1.4}
@media (display-mode:standalone){.ttm-pwa-install{display:none!important}.ttm-mobile-head{padding-top:max(14px,env(safe-area-inset-top))}.ttm-portal{min-height:100svh}}
@media (max-width:720px){.ttm-pwa-install{left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));min-width:0;align-items:center;text-align:center;border-radius:18px}}


/* =========================================================
   Teamora Team Management v1.0.0
   Root fixes: single header, Yekan Bakh priority, scoped PWA, Tikline masks
   ========================================================= */
@font-face{
  font-family:"TTM Yekan Bakh Local";
  src:local("Yekan_Bakh"),local("Yekan Bakh"),local("YekanBakh"),local("Yekan Bakh FaNum"),local("YekanBakhFaNum"),local("IRANYekanX"),local("IRANYekan");
  font-display:swap;
}
:root{
  --ttm-font-stack:"TTM Yekan Bakh Local","Yekan_Bakh","Yekan Bakh","YekanBakh","Yekan Bakh FaNum","YekanBakhFaNum","IRANYekanX","IRANYekan","Yekan",Tahoma,Arial,sans-serif;
  --ttm-icon-docs:url("../vendor/tikline-icons/icons/certificate.svg");
}
html body.ttm-standalone,
html body.ttm-app-page,
html body.ttm-standalone *,
html body.ttm-app-page *,
.ttm-login-shell,
.ttm-login-shell *,
.ttm-portal,
.ttm-portal *,
.ttm-admin-shell,
.ttm-admin-shell *{
  font-family:var(--ttm-font-stack)!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
html body.ttm-standalone input,
html body.ttm-standalone button,
html body.ttm-standalone textarea,
html body.ttm-standalone select,
html body.ttm-app-page input,
html body.ttm-app-page button,
html body.ttm-app-page textarea,
html body.ttm-app-page select{
  font-family:var(--ttm-font-stack)!important;
}
.ttm-main{
  padding-top:18px!important;
}
.ttm-premium-topbar,
.ttm-topbar-pro,
.ttm-topbar-clean{
  position:relative!important;
  min-height:48px!important;
  padding:8px 14px!important;
  margin:0 0 12px!important;
  border-radius:20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 10px 30px rgba(15,23,42,.06)!important;
  backdrop-filter:blur(18px)!important;
}
.ttm-premium-topbar .ttm-title-block h1,
.ttm-topbar-pro .ttm-title-block h1,
.ttm-topbar-clean .ttm-title-block h1{
  margin:0!important;
  font-size:21px!important;
  line-height:1.15!important;
  font-weight:950!important;
  letter-spacing:-.035em!important;
  color:var(--ttm-text,#111827)!important;
}
.ttm-premium-topbar .ttm-title-block p,
.ttm-topbar-pro .ttm-title-block p,
.ttm-topbar-clean .ttm-title-block p{
  margin:2px 0 0!important;
  font-size:11px!important;
  line-height:1.45!important;
  font-weight:750!important;
  color:var(--ttm-muted,#64748b)!important;
}
.ttm-search-lite{
  height:34px!important;
  min-height:34px!important;
  min-width:220px!important;
  max-width:280px!important;
  padding:0 11px!important;
  border-radius:15px!important;
  border:1px solid rgba(203,213,225,.86)!important;
  background:rgba(255,255,255,.92)!important;
}
.ttm-bell-lite{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  border-radius:14px!important;
}
/* Any legacy duplicated title block inside sections must stay hidden. */
.ttm-screen-intro{
  display:none!important;
}
.ttm-section-announcement{
  margin:0 0 12px!important;
}
.ttm-section-announcement .ttm-announcement-strip{
  width:max-content!important;
  max-width:100%!important;
  min-height:34px!important;
  padding:7px 12px!important;
  border-radius:15px!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  background:rgba(255,255,255,.90)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 10px 26px rgba(15,23,42,.05)!important;
  font-size:12px!important;
  line-height:1.55!important;
}
.ttm-section-announcement .ttm-announcement-strip span{
  width:6px!important;
  height:6px!important;
  border-radius:999px!important;
  background:var(--ttm-primary,#e50914)!important;
  font-size:0!important;
  flex:0 0 auto!important;
}
.ttm-section-announcement .ttm-announcement-strip strong{
  font-size:12px!important;
  font-weight:900!important;
  color:var(--ttm-text,#111827)!important;
  white-space:nowrap!important;
}
.ttm-section-announcement .ttm-announcement-strip small{
  font-size:11.5px!important;
  font-weight:700!important;
  color:var(--ttm-muted,#64748b)!important;
}
.ttm-nav-item[data-section-target="documents"]{--ttm-nav-icon:var(--ttm-icon-docs)!important}
.ttm-nav-item span::before,
.ttm-search-lite span::before,
.ttm-bell-lite span::before{
  background:currentColor!important;
}
.ttm-pwa-install{
  font-family:var(--ttm-font-stack)!important;
}
@media(max-width:980px){
  .ttm-main{padding-top:14px!important;}
  .ttm-premium-topbar,.ttm-topbar-pro,.ttm-topbar-clean{display:none!important;}
  .ttm-section-announcement{margin-top:0!important;}
  .ttm-section-announcement .ttm-announcement-strip{width:100%!important;}
}

/* =========================================================
   Teamora Team Management v1.0.0 — employee PWA, mobile drawer, payroll batch fixes
   ========================================================= */
html body.ttm-standalone,
html body.ttm-app-page,
html body.ttm-standalone *,
html body.ttm-app-page *,
.ttm-portal,
.ttm-portal *,
.ttm-login-shell,
.ttm-login-shell *{
  font-family:var(--ttm-font-stack,"TTM Yekan Bakh","Yekan_Bakh","Yekan Bakh","YekanBakh","IRANYekanX",Tahoma,Arial,sans-serif)!important;
}
.ttm-monthly-payroll-card{overflow:hidden!important;margin-bottom:16px!important}
.ttm-monthly-payroll-toolbar{display:grid!important;grid-template-columns:150px 150px 170px minmax(220px,1fr)!important;gap:12px!important;align-items:end!important;margin-bottom:14px!important}
.ttm-monthly-payroll-toolbar label{margin:0!important}
.ttm-replace-check{height:100%!important;min-height:46px!important;align-items:center!important}
.ttm-monthly-table{min-width:980px!important}
.ttm-monthly-table td small{display:block!important;color:var(--ttm-muted,#64748b)!important;font-size:11px!important;margin-top:4px!important;font-weight:700!important}
.ttm-monthly-table input{width:100%!important;min-width:110px!important;border:1px solid rgba(203,213,225,.85)!important;border-radius:13px!important;background:#fff!important;min-height:38px!important;padding:8px 10px!important;font-weight:850!important;color:var(--ttm-text,#111827)!important;font-family:var(--ttm-font-stack)!important}
.ttm-single-payroll-card{margin-bottom:16px!important}
.ttm-alert{font-family:var(--ttm-font-stack)!important}
.ttm-status-badge,.ttm-table td,.ttm-table th,.ttm-table input,.ttm-table select,.ttm-table button{font-family:var(--ttm-font-stack)!important}
@media(max-width:1180px){
  .ttm-portal{display:block!important;min-height:100svh!important;background:linear-gradient(180deg,#f7f8fc,#eef1f7)!important;overflow-x:hidden!important}
  .ttm-mobile-head{display:flex!important;position:sticky!important;top:0!important;z-index:1200!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:56px!important;padding:calc(10px + env(safe-area-inset-top)) 14px 10px!important;background:linear-gradient(135deg,var(--ttm-sidebar-1,#101114),var(--ttm-sidebar-2,#250306))!important;color:#fff!important;border:0!important;box-shadow:0 12px 34px rgba(15,23,42,.20)!important}
  .ttm-mobile-head .ttm-icon-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.10)!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important}
  .ttm-mobile-title{font-size:13px!important;font-weight:950!important;max-width:52vw!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ttm-sidebar{display:flex!important;position:fixed!important;top:0!important;right:0!important;left:auto!important;width:min(88vw,334px)!important;height:100svh!important;z-index:1300!important;transform:translateX(112%)!important;transition:transform .24s ease!important;border-radius:0!important;box-shadow:-18px 0 60px rgba(15,23,42,.28)!important;padding-top:calc(18px + env(safe-area-inset-top))!important;background:linear-gradient(180deg,var(--ttm-sidebar-1,#101114),#151820 72%,var(--ttm-sidebar-2,#250306))!important}
  .ttm-sidebar.is-open{transform:translateX(0)!important}
  .ttm-drawer-overlay{display:none!important;position:fixed!important;inset:0!important;background:rgba(2,6,23,.52)!important;backdrop-filter:blur(5px)!important;z-index:1250!important}
  .ttm-drawer-overlay.is-open{display:block!important;opacity:1!important}
  .ttm-main{max-width:none!important;width:100%!important;margin:0!important;padding:14px 12px 32px!important}
  .ttm-premium-topbar,.ttm-topbar-pro,.ttm-topbar-clean,.ttm-topbar{display:none!important}
  .ttm-section-announcement .ttm-announcement-strip{width:100%!important}
  .ttm-stats-grid,.ttm-premium-metrics,.ttm-quick-grid,.ttm-quick-grid-pro,.ttm-doc-grid,.ttm-filter-tabs{grid-template-columns:1fr!important}
  .ttm-manager-grid,.ttm-docs-layout,.ttm-dashboard-layout,.ttm-dashboard-layout-v105,.ttm-welcome-side-panel{display:block!important}
  .ttm-grid-form,.ttm-profile-grid,.ttm-profile-body{grid-template-columns:1fr!important}
  .ttm-span-2{grid-column:auto!important}
  .ttm-form-actions{flex-direction:column!important;align-items:stretch!important}
  .ttm-monthly-payroll-toolbar{grid-template-columns:1fr!important}
  .ttm-table{min-width:760px!important}
  .ttm-monthly-table{min-width:980px!important}
  .ttm-welcome,.ttm-cinematic-hero,.ttm-hero-content{border-radius:24px!important;min-height:auto!important;padding:20px!important}
  .ttm-welcome h2,.ttm-cinematic-hero h2{font-size:24px!important}
  .ttm-login-shell{min-height:100svh!important;padding:16px!important;background:linear-gradient(180deg,#f7f8fc,#eef1f7)!important}
  .ttm-login-hero{display:none!important}
  .ttm-login-card{max-width:100%!important;width:100%!important;border-radius:28px!important;padding:22px!important}
}
@media(max-width:520px){
  .ttm-stats-grid{grid-template-columns:1fr 1fr!important}
  .ttm-stat{padding:15px!important;border-radius:20px!important}
  .ttm-stat strong{font-size:22px!important}
  .ttm-card,.ttm-premium-card{border-radius:22px!important;padding:16px!important}
  .ttm-btn{min-height:42px!important}
}

/* =========================================================
   Teamora Team Management v1.0.0 — root PWA, payroll legal items, loading states
   ========================================================= */
html body.ttm-standalone,
html body.ttm-app-page,
html body.ttm-standalone *,
html body.ttm-app-page *,
.ttm-portal,
.ttm-portal *,
.ttm-login-shell,
.ttm-login-shell *{
  font-family:var(--ttm-font-stack,"TTM Yekan Bakh","Yekan_Bakh","Yekan Bakh","YekanBakh","IRANYekanX",Tahoma,Arial,sans-serif)!important;
}
.ttm-btn.is-loading,
button.is-loading,
input[type="submit"].is-loading{opacity:.88!important;pointer-events:none!important;position:relative!important;filter:saturate(.95)!important}
.ttm-btn-spinner{width:16px!important;height:16px!important;border-radius:50%!important;border:2px solid rgba(255,255,255,.45)!important;border-top-color:#fff!important;display:inline-block!important;animation:ttmSpin .75s linear infinite!important;margin-inline-end:8px!important;vertical-align:-3px!important}
@keyframes ttmSpin{to{transform:rotate(360deg)}}
button.is-tap-loading{transform:scale(.985)!important}
.ttm-pwa-install{position:fixed!important;left:calc(18px + env(safe-area-inset-left))!important;bottom:calc(18px + env(safe-area-inset-bottom))!important;z-index:99999!important;border:1px solid rgba(255,255,255,.18)!important;background:linear-gradient(135deg,#e50914,#8d0710)!important;color:#fff!important;border-radius:20px!important;padding:12px 16px!important;box-shadow:0 18px 48px rgba(229,9,20,.25)!important;font-family:var(--ttm-font-stack)!important;cursor:pointer!important;display:flex!important;flex-direction:column!important;gap:2px!important;text-align:right!important;min-width:190px!important;transition:transform .18s ease,box-shadow .18s ease!important}
.ttm-pwa-install:hover{transform:translateY(-2px)!important;box-shadow:0 22px 60px rgba(229,9,20,.32)!important}
.ttm-pwa-install span{font-size:13px!important;font-weight:950!important;line-height:1.4!important;color:#fff!important}
.ttm-pwa-install small{font-size:10px!important;font-weight:750!important;opacity:.88!important;line-height:1.4!important;color:#fff!important}
.ttm-pwa-install.is-help{background:linear-gradient(135deg,#111827,#334155)!important;box-shadow:0 18px 48px rgba(15,23,42,.24)!important}
@media (display-mode:standalone){.ttm-pwa-install{display:none!important}}
@media(max-width:720px){.ttm-pwa-install{left:14px!important;right:14px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;min-width:0!important;align-items:center!important;text-align:center!important;border-radius:18px!important}}
.ttm-payroll-batch-pro{background:linear-gradient(180deg,#fff,#fbfcff)!important;border:1px solid rgba(226,232,240,.92)!important;box-shadow:0 22px 70px rgba(15,23,42,.08)!important}
.ttm-card-head-pro{align-items:center!important;border-bottom:1px solid rgba(226,232,240,.78)!important;padding-bottom:14px!important;margin-bottom:14px!important}
.ttm-card-head-pro>span{background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#9e0610))!important;color:#fff!important;box-shadow:0 14px 30px rgba(229,9,20,.18)!important}
.ttm-payroll-toolbar-pro{grid-template-columns:150px 150px 170px minmax(220px,1fr)!important;background:linear-gradient(135deg,#f8fafc,#fff)!important;border:1px solid rgba(226,232,240,.82)!important;border-radius:22px!important;padding:12px!important}
.ttm-payroll-legend{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 12px!important}
.ttm-payroll-legend span{display:inline-flex!important;align-items:center!important;border:1px solid rgba(229,9,20,.13)!important;background:rgba(229,9,20,.045)!important;color:#991b1b!important;border-radius:999px!important;padding:7px 10px!important;font-size:11.5px!important;font-weight:850!important}
.ttm-payroll-table-pro{min-width:1320px!important}
.ttm-payroll-table-pro th{font-size:11px!important;color:#64748b!important;background:#f8fafc!important}
.ttm-payroll-table-pro td:first-child{min-width:150px!important}
.ttm-payroll-table-pro input{min-width:92px!important;background:#fff!important;border-color:#dbe3ef!important}
.ttm-payroll-table-pro input:focus{border-color:var(--ttm-primary,#e50914)!important;box-shadow:0 0 0 4px rgba(229,9,20,.08)!important;outline:none!important}
.ttm-wide-gradient div strong{font-variant-numeric:tabular-nums!important}
@media(max-width:1180px){.ttm-payroll-toolbar-pro{grid-template-columns:1fr!important}.ttm-payroll-table-pro{min-width:1320px!important}.ttm-payroll-legend{flex-direction:column!important}.ttm-pwa-install{z-index:1600!important}}

/* =========================================================
   Teamora Team Management v1.0.0 — login nonce recovery, leave allowance, generated PDF actions
   ========================================================= */
.ttm-action-links{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.ttm-action-links .ttm-table-link,.ttm-doc-actions .ttm-table-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;padding:7px 11px!important;border-radius:12px!important;border:1px solid rgba(229,9,20,.14)!important;background:rgba(229,9,20,.055)!important;color:var(--ttm-primary,#e50914)!important;font-size:12px!important;font-weight:900!important;line-height:1.2!important;text-decoration:none!important;font-family:var(--ttm-font-stack)!important;white-space:nowrap!important}
.ttm-action-links .ttm-pdf-link{background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#9e0610))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 12px 26px rgba(229,9,20,.18)!important}
.ttm-action-links .ttm-pdf-link:hover{transform:translateY(-1px)!important;box-shadow:0 16px 32px rgba(229,9,20,.24)!important}
.ttm-muted-inline{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:6px 10px!important;border-radius:11px!important;background:#f8fafc!important;color:#94a3b8!important;font-size:11.5px!important;font-weight:800!important;white-space:nowrap!important}
.ttm-monthly-table .ttm-replace-check,.ttm-payroll-table-pro .ttm-replace-check{background:linear-gradient(135deg,#f8fafc,#fff)!important;border:1px solid rgba(203,213,225,.82)!important;border-radius:14px!important;padding-inline:12px!important}
.ttm-monthly-table input[name*="insurance"],.ttm-monthly-table input[name*="tax"],.ttm-monthly-table input[name*="loan"],.ttm-monthly-table input[name*="deductions"]{background:#fffdfd!important}
.ttm-monthly-table input[name*="insurance"]:focus,.ttm-monthly-table input[name*="tax"]:focus,.ttm-monthly-table input[name*="loan"]:focus,.ttm-monthly-table input[name*="deductions"]:focus{border-color:var(--ttm-primary,#e50914)!important;box-shadow:0 0 0 4px rgba(229,9,20,.08)!important;outline:none!important}
@media(max-width:720px){.ttm-action-links{gap:6px!important}.ttm-action-links .ttm-table-link{min-height:30px!important;padding:6px 9px!important;font-size:11px!important}}


/* =========================================================
   Teamora Team Management v1.0.0 — ROOT MOBILE APP FIX
   Mobile drawer, viewport, tables, forms, login and PWA safe-area
   ========================================================= */
.ttm-sidebar-close{display:none!important}
.ttm-portal,.ttm-login-shell{max-width:100%!important;overflow-x:hidden!important}
.ttm-portal *,.ttm-login-shell *{min-width:0}
.ttm-table-card,.ttm-table-wrap,.ttm-payroll-table-wrap,.ttm-table-responsive{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important}
.ttm-table-card table,.ttm-table-wrap table,.ttm-payroll-table-wrap table,.ttm-table-responsive table{width:100%!important}
@media (max-width:1180px){
  html.ttm-no-scroll,body.ttm-no-scroll,body.ttm-drawer-open{overflow:hidden!important;touch-action:none!important}
  body.ttm-app-page,body.ttm-standalone{background:#f3f6fb!important;overflow-x:hidden!important}
  .ttm-portal{display:block!important;grid-template-columns:none!important;width:100%!important;min-height:100dvh!important;background:linear-gradient(180deg,#f7f9fc,#eef2f8)!important;overflow-x:hidden!important;padding:0!important}
  .ttm-main{width:100%!important;max-width:100%!important;margin:0!important;padding:calc(10px + env(safe-area-inset-top)) 12px calc(92px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important}
  .ttm-mobile-head{display:flex!important;position:sticky!important;top:0!important;inset-inline:0!important;z-index:1500!important;min-height:60px!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 12px!important;padding:10px 12px!important;border:1px solid rgba(226,232,240,.82)!important;border-radius:0 0 22px 22px!important;background:rgba(255,255,255,.92)!important;color:#111827!important;box-shadow:0 12px 34px rgba(15,23,42,.08)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
  .ttm-mobile-title{flex:1!important;display:block!important;text-align:center!important;font-size:14px!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#111827!important}
  .ttm-mobile-head .ttm-icon-btn,.ttm-mobile-menu-toggle{flex:0 0 42px!important;width:42px!important;height:42px!important;min-height:42px!important;border-radius:15px!important;border:1px solid rgba(226,232,240,.9)!important;background:#fff!important;color:var(--ttm-primary,#e50914)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important;font-size:18px!important;line-height:1!important;padding:0!important}
  .ttm-premium-topbar,.ttm-topbar-clean,.ttm-topbar-pro{display:none!important}
  .ttm-drawer-overlay{display:block!important;position:fixed!important;inset:0!important;z-index:1550!important;background:rgba(2,6,23,.58)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .22s ease,visibility .22s ease!important}
  .ttm-drawer-overlay.is-open,body.ttm-drawer-open .ttm-drawer-overlay{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .ttm-sidebar{display:flex!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;z-index:1600!important;width:min(88vw,340px)!important;max-width:340px!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:calc(16px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom))!important;border-radius:0!important;background:radial-gradient(circle at 34% -8%,rgba(255,255,255,.13),transparent 28%),linear-gradient(180deg,var(--ttm-sidebar-1,#101114),#15171c 58%,var(--ttm-sidebar-2,#250306))!important;box-shadow:-24px 0 70px rgba(2,6,23,.34)!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;transform:translate3d(120%,0,0)!important;transition:transform .26s cubic-bezier(.22,.8,.22,1)!important;will-change:transform!important;overscroll-behavior:contain!important}
  .ttm-sidebar.is-open,body.ttm-drawer-open .ttm-sidebar,.ttm-portal.ttm-mobile-menu-open .ttm-sidebar{transform:translate3d(0,0,0)!important}
  .ttm-sidebar[aria-hidden="false"]{transform:translate3d(0,0,0)!important}
  .ttm-sidebar-close{display:inline-flex!important;position:sticky!important;top:0!important;align-self:flex-start!important;z-index:3!important;width:42px!important;height:42px!important;min-height:42px!important;margin:0 0 -4px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:15px!important;background:rgba(255,255,255,.10)!important;color:#fff!important;align-items:center!important;justify-content:center!important;font-size:24px!important;line-height:1!important;box-shadow:0 12px 28px rgba(0,0,0,.20)!important}
  .ttm-sidebar-brand-pro{min-height:auto!important;padding:12px!important;border-radius:22px!important;grid-template-columns:54px minmax(0,1fr)!important}
  .ttm-sidebar-brand-pro img{width:52px!important;height:52px!important;border-radius:17px!important}
  .ttm-sidebar-brand-pro strong,.ttm-user-profile-main strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
  .ttm-user-profile-pro{padding:12px!important;border-radius:22px!important}
  .ttm-nav{max-height:none!important;overflow:visible!important;gap:7px!important;padding-bottom:8px!important}
  .ttm-nav-item{min-height:48px!important;padding:11px 12px!important;border-radius:17px!important;font-size:13px!important;line-height:1.4!important}
  .ttm-logout-form{margin-top:auto!important;padding-top:14px!important}
  .ttm-screen-intro{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin:0 0 12px!important;padding:15px!important;border-radius:22px!important;background:rgba(255,255,255,.84)!important;border:1px solid rgba(226,232,240,.86)!important;box-shadow:0 14px 36px rgba(15,23,42,.055)!important}
  .ttm-screen-intro h1,.ttm-screen-intro h2{font-size:22px!important;line-height:1.35!important;margin:0!important;letter-spacing:-.02em!important}
  .ttm-screen-intro p{font-size:12px!important;line-height:1.8!important;margin:4px 0 0!important}
  .ttm-announcement-strip{width:100%!important;min-height:40px!important;border-radius:16px!important;padding:8px 10px!important;font-size:12px!important;overflow:hidden!important;flex-wrap:wrap!important}
  .ttm-alert{margin:10px 0!important;border-radius:17px!important;padding:11px 13px!important;font-size:12.5px!important;line-height:1.8!important}
  .ttm-dashboard-hero-row,.ttm-dashboard-layout,.ttm-profile-grid,.ttm-notifications-layout,.ttm-documents-layout,.ttm-leaves-layout,.ttm-manager-grid,.ttm-settings-grid,.ttm-payroll-premium,.ttm-docs-premium,.ttm-leaves-premium{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;width:100%!important}
  .ttm-stats-grid,.ttm-stats-grid-pro,.ttm-premium-metrics,.ttm-quick-grid,.ttm-grid-form,.ttm-profile-fields,.ttm-doc-grid,.ttm-notification-summary,.ttm-leave-summary,.ttm-form-grid,.ttm-payroll-toolbar,.ttm-payroll-toolbar-pro{grid-template-columns:1fr!important;gap:12px!important;width:100%!important}
  .ttm-card,.ttm-stat,.ttm-premium-card,.ttm-identity-card,.ttm-profile-summary-card,.ttm-profile-section,.ttm-status-summary,.ttm-doc-card,.ttm-notification-list-panel{border-radius:22px!important;padding:16px!important;max-width:100%!important}
  .ttm-cinematic-hero,.ttm-wide-gradient,.ttm-welcome{border-radius:24px!important;min-height:auto!important;width:100%!important}
  .ttm-hero-content{padding:22px!important;min-height:210px!important;max-width:100%!important}
  .ttm-cinematic-hero h2,.ttm-wide-gradient h2,.ttm-welcome h2{font-size:28px!important;line-height:1.35!important}
  .ttm-cinematic-hero p,.ttm-wide-gradient p,.ttm-welcome p{font-size:13px!important;line-height:1.9!important;max-width:100%!important}
  .ttm-hero-actions-v107,.ttm-hero-actions,.ttm-form-actions,.ttm-card-head,.ttm-card-head-pro,.ttm-action-links{flex-wrap:wrap!important;gap:8px!important}
  .ttm-form-actions .ttm-btn,.ttm-hero-actions .ttm-btn,.ttm-hero-actions-v107 .ttm-btn{width:100%!important}
  .ttm-table,.ttm-payroll-table-pro,.ttm-monthly-table{min-width:900px!important}
  .ttm-table-card,.ttm-payroll-table-wrap{border-radius:20px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;box-shadow:0 14px 36px rgba(15,23,42,.055)!important}
  .ttm-table th,.ttm-table td,.ttm-payroll-table-pro th,.ttm-payroll-table-pro td{white-space:nowrap!important;font-size:12px!important}
  .ttm-login-shell{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:14px!important;min-height:100dvh!important;width:100%!important;padding:14px!important;overflow-x:hidden!important}
  .ttm-login-hero{order:1!important;width:100%!important;min-height:auto!important;padding:22px!important;border-radius:24px!important}
  .ttm-login-card{order:0!important;width:100%!important;max-width:520px!important;margin:0 auto!important;border-radius:24px!important;padding:20px!important}
  .ttm-brand-lockup{gap:12px!important;margin-bottom:18px!important}.ttm-login-logo{width:76px!important;height:76px!important;border-radius:22px!important}.ttm-login-hero h1{font-size:27px!important}.ttm-login-hero p{font-size:13px!important;line-height:1.9!important;margin:12px 0!important}.ttm-login-benefits{display:none!important}
  .ttm-pwa-install{z-index:1700!important;left:14px!important;right:14px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;min-width:0!important;width:auto!important;max-width:none!important;border-radius:18px!important;justify-content:center!important;text-align:center!important}
}
@media (max-width:640px){
  .ttm-main{padding:8px 10px calc(96px + env(safe-area-inset-bottom))!important}
  .ttm-mobile-head{min-height:56px!important;margin-bottom:10px!important;padding:8px 10px!important;border-radius:0 0 20px 20px!important}.ttm-mobile-title{font-size:13px!important}.ttm-mobile-head .ttm-icon-btn{width:40px!important;height:40px!important;min-height:40px!important;border-radius:14px!important}
  .ttm-sidebar{width:90vw!important;max-width:314px!important;padding-inline:12px!important}.ttm-sidebar-close{width:40px!important;height:40px!important;min-height:40px!important}
  .ttm-screen-intro{padding:13px!important;border-radius:20px!important}.ttm-screen-intro h1,.ttm-screen-intro h2{font-size:20px!important}.ttm-screen-intro p{font-size:11.5px!important}
  .ttm-card,.ttm-stat,.ttm-premium-card,.ttm-identity-card,.ttm-profile-summary-card,.ttm-profile-section,.ttm-status-summary,.ttm-doc-card{padding:14px!important;border-radius:20px!important}
  .ttm-premium-metric{min-height:104px!important;padding:14px!important;border-radius:20px!important}.ttm-premium-icon{width:48px!important;height:48px!important;border-radius:16px!important}.ttm-premium-metric b,.ttm-stat strong{font-size:24px!important}
  .ttm-hero-content{padding:18px!important;min-height:190px!important}.ttm-cinematic-hero h2,.ttm-wide-gradient h2,.ttm-welcome h2{font-size:24px!important}
  .ttm-login-shell{padding:10px!important}.ttm-login-card{padding:17px!important;border-radius:22px!important}.ttm-login-card h2{font-size:21px!important}.ttm-login-card-logo{width:54px!important;height:54px!important;border-radius:17px!important}.ttm-login-tabs{border-radius:16px!important}.ttm-login-tab{min-height:42px!important;padding:8px 6px!important;font-size:12px!important}.ttm-login-form input,.ttm-form input,.ttm-form select,.ttm-form textarea{min-height:44px!important;border-radius:14px!important;font-size:13px!important}.ttm-btn{min-height:44px!important;padding:11px 13px!important;border-radius:14px!important;font-size:13px!important}
  .ttm-table,.ttm-payroll-table-pro,.ttm-monthly-table{min-width:820px!important}
}
@media (min-width:1181px){.ttm-drawer-overlay{display:none!important}.ttm-sidebar-close{display:none!important}}


/* =========================================================
   Teamora Team Management v1.0.0 — ROOT MOBILE LOGIN + MENU FINAL
   هدف: لاگین موبایل دقیقاً وسط‌چین، کارت شیک، و منوی موبایل قابل اتکا.
   ========================================================= */
html body.ttm-app-page,
html body.ttm-standalone{
  min-width:0!important;
  width:100%!important;
  overflow-x:hidden!important;
}
.ttm-mobile-menu-toggle,
[data-ttm-drawer-open]{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;cursor:pointer!important}

@media (max-width:1180px){
  html.ttm-no-scroll,
  body.ttm-no-scroll,
  body.ttm-drawer-open{overflow:hidden!important;touch-action:none!important;overscroll-behavior:none!important}

  /* Login mobile: real centered app view */
  .ttm-login-shell.ttm-login-red,
  .ttm-login-shell{
    position:relative!important;
    isolation:isolate!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    place-items:center!important;
    align-content:center!important;
    justify-content:center!important;
    min-height:100dvh!important;
    width:100%!important;
    padding:clamp(18px,4dvh,34px) 14px calc(96px + env(safe-area-inset-bottom))!important;
    margin:0!important;
    gap:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:
      radial-gradient(circle at 15% 0%,rgba(229,9,20,.18),transparent 30%),
      radial-gradient(circle at 88% 18%,rgba(15,23,42,.08),transparent 30%),
      linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%)!important;
    color:#111827!important;
  }
  .ttm-login-shell.ttm-login-red:before,
  .ttm-login-shell:before{
    content:""!important;
    position:fixed!important;
    inset:0!important;
    z-index:-1!important;
    pointer-events:none!important;
    background:
      linear-gradient(135deg,rgba(229,9,20,.13),transparent 42%),
      radial-gradient(circle at 50% 100%,rgba(15,23,42,.06),transparent 42%)!important;
  }
  .ttm-login-hero{display:none!important}
  .ttm-login-card{
    width:min(100%,392px)!important;
    max-width:392px!important;
    margin:auto!important;
    justify-self:center!important;
    align-self:center!important;
    padding:22px 20px!important;
    border-radius:30px!important;
    background:rgba(255,255,255,.96)!important;
    border:1px solid rgba(226,232,240,.92)!important;
    box-shadow:0 30px 90px rgba(15,23,42,.16),0 12px 38px rgba(229,9,20,.08)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .ttm-login-card-head{
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr)!important;
    align-items:center!important;
    gap:13px!important;
    margin:0 0 18px!important;
    text-align:right!important;
  }
  .ttm-login-card-logo{width:58px!important;height:58px!important;border-radius:19px!important;box-shadow:0 14px 32px rgba(229,9,20,.18)!important}
  .ttm-login-card h2{font-size:23px!important;line-height:1.35!important;margin:0!important;color:#0f172a!important;letter-spacing:-.025em!important}
  .ttm-login-card p{font-size:11.5px!important;line-height:1.7!important;margin:3px 0 0!important;color:#64748b!important}
  .ttm-login-tabs{height:48px!important;margin:16px 0!important;padding:4px!important;border-radius:18px!important;background:#f1f5f9!important;border:1px solid rgba(226,232,240,.92)!important}
  .ttm-login-tab{min-height:40px!important;height:40px!important;border-radius:14px!important;padding:8px 6px!important;font-size:12px!important}
  .ttm-login-form form,.ttm-otp-request,.ttm-otp-verify{gap:11px!important}
  .ttm-login-form label{gap:7px!important;font-size:12px!important;color:#0f172a!important}
  .ttm-login-form input{min-height:46px!important;border-radius:16px!important;font-size:13px!important;background:#fff!important}
  .ttm-password-wrap{min-height:46px!important;border-radius:16px!important}
  .ttm-login-form .ttm-btn{min-height:48px!important;border-radius:16px!important;margin-top:6px!important;font-size:13px!important}
  .ttm-login-footer{margin-top:16px!important;font-size:11px!important}

  /* PWA install in mobile login: does not break centering */
  .ttm-pwa-install{
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    z-index:2000!important;
    width:auto!important;
    min-width:0!important;
    max-width:392px!important;
    margin-inline:auto!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    border-radius:18px!important;
    padding:11px 14px!important;
  }

  /* Portal mobile header and drawer: hard deterministic state */
  .ttm-portal{display:block!important;min-height:100dvh!important;width:100%!important;overflow-x:hidden!important;background:linear-gradient(180deg,#f7f8fc,#eef1f7)!important}
  .ttm-mobile-head{
    display:flex!important;
    position:sticky!important;
    top:0!important;
    right:0!important;
    left:0!important;
    z-index:2500!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:58px!important;
    gap:10px!important;
    margin:0 0 12px!important;
    padding:calc(8px + env(safe-area-inset-top)) 12px 8px!important;
    background:rgba(255,255,255,.96)!important;
    border:0!important;
    border-bottom:1px solid rgba(226,232,240,.92)!important;
    border-radius:0 0 22px 22px!important;
    box-shadow:0 14px 38px rgba(15,23,42,.09)!important;
    color:#111827!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .ttm-mobile-title{font-size:13px!important;font-weight:950!important;color:#111827!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:54vw!important;text-align:center!important}
  .ttm-mobile-head .ttm-icon-btn,
  .ttm-mobile-menu-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0!important;
    border-radius:15px!important;
    background:#fff!important;
    color:var(--ttm-primary,#e50914)!important;
    border:1px solid rgba(226,232,240,.94)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
    font-size:20px!important;
    line-height:1!important;
  }
  .ttm-main{width:100%!important;max-width:none!important;margin:0!important;padding:8px 10px calc(92px + env(safe-area-inset-bottom))!important;overflow:visible!important}
  .ttm-topbar,.ttm-topbar-clean,.ttm-topbar-pro,.ttm-premium-topbar{display:none!important}

  .ttm-drawer-overlay{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:2600!important;
    background:rgba(2,6,23,.62)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    backdrop-filter:blur(9px)!important;
    -webkit-backdrop-filter:blur(9px)!important;
    transition:opacity .2s ease,visibility .2s ease!important;
  }
  .ttm-drawer-overlay.is-open,
  body.ttm-drawer-open .ttm-drawer-overlay,
  .ttm-portal.ttm-mobile-menu-open .ttm-drawer-overlay{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .ttm-sidebar{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    z-index:2700!important;
    width:min(88vw,338px)!important;
    max-width:338px!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:calc(14px + env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom))!important;
    border-radius:0!important;
    background:radial-gradient(circle at 32% -8%,rgba(255,255,255,.13),transparent 30%),linear-gradient(180deg,var(--ttm-sidebar-1,#101114),#151820 60%,var(--ttm-sidebar-2,#250306))!important;
    box-shadow:-26px 0 80px rgba(2,6,23,.38)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    transform:translate3d(104%,0,0)!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .24s cubic-bezier(.22,.8,.22,1),visibility .24s ease!important;
    will-change:transform!important;
  }
  .ttm-sidebar.is-open,
  .ttm-sidebar.ttm-drawer-is-open,
  .ttm-sidebar[aria-hidden="false"],
  body.ttm-drawer-open .ttm-sidebar,
  .ttm-portal.ttm-mobile-menu-open .ttm-sidebar{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .ttm-sidebar-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:42px!important;
    height:42px!important;
    min-height:42px!important;
    border-radius:15px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    background:rgba(255,255,255,.10)!important;
    color:#fff!important;
    font-size:24px!important;
    line-height:1!important;
    box-shadow:0 12px 28px rgba(0,0,0,.20)!important;
  }
  .ttm-nav{overflow:visible!important;max-height:none!important;padding-bottom:8px!important}
  .ttm-nav-item{touch-action:manipulation!important}
}

@media (max-width:480px){
  .ttm-login-card{width:min(100%,360px)!important;padding:18px!important;border-radius:25px!important}
  .ttm-login-card h2{font-size:22px!important}
  .ttm-login-card-logo{width:54px!important;height:54px!important;border-radius:17px!important}
}
@media (max-height:690px) and (max-width:1180px){
  .ttm-login-shell{place-items:start center!important;align-content:start!important;padding-top:14px!important}
  .ttm-login-card{margin-top:0!important}
}
@media (display-mode:standalone) and (max-width:1180px){
  .ttm-login-shell{padding-top:calc(18px + env(safe-area-inset-top))!important}
}

/* =========================================================
   Teamora Team Management v1.0.0 — REAL MOBILE APPBAR + DRAWER RESCUE
   هدف: فهرست موبایل همیشه روی صفحه باشد و سایدبار قطعاً باز شود.
   ========================================================= */
@media (max-width:1180px){
  body.ttm-standalone .ttm-portal,
  body.ttm-app-page .ttm-portal{
    position:relative!important;
    min-height:100dvh!important;
    width:100%!important;
    overflow-x:hidden!important;
    padding-top:0!important;
  }

  body.ttm-standalone .ttm-mobile-head,
  body.ttm-app-page .ttm-mobile-head,
  .ttm-portal > .ttm-mobile-head,
  .ttm-mobile-head[data-ttm-mobile-head]{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:fixed!important;
    top:calc(8px + env(safe-area-inset-top))!important;
    right:10px!important;
    left:10px!important;
    width:auto!important;
    max-width:none!important;
    min-height:52px!important;
    height:52px!important;
    margin:0!important;
    padding:6px 8px!important;
    z-index:999990!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    border-radius:20px!important;
    border:1px solid rgba(226,232,240,.86)!important;
    background:rgba(255,255,255,.95)!important;
    color:#111827!important;
    box-shadow:0 16px 45px rgba(15,23,42,.14)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    pointer-events:auto!important;
  }

  body.ttm-standalone .ttm-mobile-title,
  body.ttm-app-page .ttm-mobile-title,
  .ttm-mobile-head .ttm-mobile-title{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:none!important;
    color:#111827!important;
    font-size:13px!important;
    font-weight:950!important;
    line-height:1.3!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  body.ttm-standalone .ttm-mobile-head .ttm-icon-btn,
  body.ttm-app-page .ttm-mobile-head .ttm-icon-btn,
  .ttm-mobile-head .ttm-icon-btn,
  .ttm-mobile-menu-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 40px!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    padding:0!important;
    margin:0!important;
    border-radius:15px!important;
    border:1px solid rgba(226,232,240,.9)!important;
    background:#fff!important;
    color:var(--ttm-primary,#e50914)!important;
    box-shadow:0 8px 22px rgba(15,23,42,.08)!important;
    font-size:18px!important;
    line-height:1!important;
    cursor:pointer!important;
    pointer-events:auto!important;
    opacity:1!important;
    visibility:visible!important;
  }

  body.ttm-standalone .ttm-main,
  body.ttm-app-page .ttm-main,
  .ttm-portal > .ttm-main{
    margin:0!important;
    width:100%!important;
    max-width:none!important;
    padding-top:calc(76px + env(safe-area-inset-top))!important;
    padding-inline:10px!important;
    padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;
  }

  .ttm-mobile-fab-menu{
    display:inline-flex!important;
    position:fixed!important;
    top:calc(14px + env(safe-area-inset-top))!important;
    right:18px!important;
    z-index:999995!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:92px!important;
    height:40px!important;
    padding:0 13px!important;
    border:1px solid rgba(229,9,20,.18)!important;
    border-radius:16px!important;
    background:linear-gradient(135deg,var(--ttm-primary,#e50914),#8f0710)!important;
    color:#fff!important;
    box-shadow:0 16px 38px rgba(229,9,20,.28)!important;
    font-family:var(--ttm-font-stack,"TTM Yekan Bakh","Yekan_Bakh","Yekan Bakh",Tahoma,sans-serif)!important;
    font-size:12px!important;
    font-weight:950!important;
    line-height:1!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .ttm-mobile-fab-menu span,
  .ttm-mobile-fab-menu span:before,
  .ttm-mobile-fab-menu span:after{
    display:block!important;
    width:16px!important;
    height:2px!important;
    border-radius:99px!important;
    background:#fff!important;
    content:""!important;
  }
  .ttm-mobile-fab-menu span{position:relative!important;}
  .ttm-mobile-fab-menu span:before{position:absolute!important;top:-5px!important;right:0!important;}
  .ttm-mobile-fab-menu span:after{position:absolute!important;top:5px!important;right:0!important;}
  .ttm-mobile-fab-menu b{font:inherit!important;color:#fff!important;}

  body.ttm-drawer-open .ttm-mobile-fab-menu,
  .ttm-portal.ttm-mobile-menu-open .ttm-mobile-fab-menu{
    opacity:0!important;
    pointer-events:none!important;
    transform:translateY(-6px)!important;
  }

  body.ttm-standalone .ttm-drawer-overlay,
  body.ttm-app-page .ttm-drawer-overlay,
  .ttm-portal .ttm-drawer-overlay{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:999998!important;
    background:rgba(2,6,23,.62)!important;
    backdrop-filter:blur(9px)!important;
    -webkit-backdrop-filter:blur(9px)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .22s ease,visibility .22s ease!important;
  }
  body.ttm-drawer-open .ttm-drawer-overlay,
  .ttm-portal.ttm-mobile-menu-open .ttm-drawer-overlay,
  .ttm-drawer-overlay.is-open{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  body.ttm-standalone .ttm-sidebar,
  body.ttm-app-page .ttm-sidebar,
  .ttm-portal > .ttm-sidebar,
  .ttm-sidebar[data-ttm-drawer]{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    bottom:0!important;
    z-index:999999!important;
    width:min(90vw,342px)!important;
    max-width:342px!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:calc(14px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom))!important;
    border-radius:0!important;
    background:radial-gradient(circle at 32% -8%,rgba(255,255,255,.13),transparent 30%),linear-gradient(180deg,var(--ttm-sidebar-1,#101114),#151820 60%,var(--ttm-sidebar-2,#250306))!important;
    box-shadow:-28px 0 82px rgba(2,6,23,.42)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    transform:translate3d(108%,0,0)!important;
    visibility:hidden!important;
    opacity:1!important;
    pointer-events:none!important;
    transition:transform .24s cubic-bezier(.22,.8,.22,1),visibility .24s ease!important;
    will-change:transform!important;
  }
  body.ttm-drawer-open .ttm-sidebar,
  .ttm-portal.ttm-mobile-menu-open .ttm-sidebar,
  .ttm-sidebar.is-open,
  .ttm-sidebar.ttm-drawer-is-open,
  .ttm-sidebar[aria-hidden="false"]{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  .ttm-sidebar-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:42px!important;
    height:42px!important;
    min-height:42px!important;
    margin-bottom:4px!important;
    border-radius:15px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    background:rgba(255,255,255,.10)!important;
    color:#fff!important;
    font-size:24px!important;
    line-height:1!important;
    box-shadow:0 12px 28px rgba(0,0,0,.20)!important;
    cursor:pointer!important;
  }
}
@media (min-width:1181px){
  .ttm-mobile-fab-menu{display:none!important;}
}


/* Teamora Team Management v1.0.0 — close button hit-area only */
@media (max-width:1180px){
  .ttm-sidebar .ttm-sidebar-close,
  .ttm-sidebar-close[data-ttm-drawer-close]{
    position:relative!important;
    z-index:1000002!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }
}

/* Teamora Team Management v1.0.0 — mobile-first product polish + attendance */
.ttm-sidebar-close,.ttm-sidebar .ttm-sidebar-close,.ttm-sidebar-close[data-ttm-drawer-close]{display:none!important;visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.ttm-icon-btn.ttm-logout-loading,.ttm-logout-form .ttm-btn.ttm-logout-loading{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;gap:0!important;overflow:hidden!important;white-space:nowrap!important}
.ttm-logout-form .ttm-btn.ttm-logout-loading{width:100%!important;min-width:0!important;height:50px!important;min-height:50px!important;border-radius:18px!important}
.ttm-btn-spinner{width:18px!important;height:18px!important;min-width:18px!important;border:2px solid rgba(255,255,255,.45)!important;border-top-color:#fff!important;border-radius:999px!important;display:inline-flex!important;animation:ttmSpin .75s linear infinite!important}.ttm-btn-ghost .ttm-btn-spinner{border-color:rgba(229,9,20,.22)!important;border-top-color:var(--ttm-primary)!important}@keyframes ttmSpin{to{transform:rotate(360deg)}}
.ttm-pwa-standalone .ttm-pwa-install,.ttm-pwa-installed .ttm-pwa-install{display:none!important}
.ttm-mini-note-compact{padding:10px 12px!important;border-radius:14px!important;font-size:11.5px!important;line-height:1.7!important;margin-bottom:10px!important;text-align:center!important}
.ttm-otp-smart-form{display:grid!important;gap:12px!important}.ttm-otp-change{display:inline-flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;color:var(--ttm-primary)!important;font-weight:900!important;font-size:12px!important;text-decoration:none!important;margin-top:2px!important}.ttm-otp-verify{border-top:0!important;padding-top:0!important}
.ttm-section-announcement{margin-bottom:14px!important}.ttm-announcement-strip{display:flex!important;align-items:center!important;gap:8px!important;min-height:42px!important;border-radius:18px!important;padding:9px 14px!important;background:rgba(255,255,255,.85)!important;border:1px solid rgba(226,232,240,.85)!important;box-shadow:0 10px 28px rgba(15,23,42,.045)!important}.ttm-announcement-strip strong{font-size:13px!important}.ttm-announcement-strip small{font-size:12px!important;color:#64748b!important;line-height:1.7!important}
.ttm-security-strip{display:none!important}
.ttm-filter-tabs-chips{display:flex!important;align-items:center!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 10px!important;margin:0 0 12px!important;scrollbar-width:none!important}.ttm-filter-tabs-chips::-webkit-scrollbar{display:none!important}.ttm-filter-tabs-chips button{flex:0 0 auto!important;min-height:38px!important;border:1px solid #e5e7eb!important;background:#fff!important;color:#475569!important;border-radius:999px!important;padding:8px 14px!important;font-size:12px!important;font-weight:950!important;box-shadow:0 8px 22px rgba(15,23,42,.045)!important}.ttm-filter-tabs-chips button.is-active{background:rgba(229,9,20,.08)!important;border-color:rgba(229,9,20,.28)!important;color:var(--ttm-primary)!important}.ttm-notification-row{display:grid!important;grid-template-columns:auto 42px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;min-height:74px!important;padding:12px!important;border:1px solid #eef2f7!important;border-radius:18px!important;background:#fff!important;margin-bottom:9px!important}.ttm-notification-row h3{font-size:13.5px!important;margin:0 0 4px!important;color:#0f172a!important;line-height:1.5!important}.ttm-notification-row p{font-size:12px!important;line-height:1.7!important;margin:0!important;color:#64748b!important}.ttm-notification-row time{font-size:11px!important;color:#64748b!important;white-space:nowrap!important}.ttm-notification-icon{width:42px!important;height:42px!important;border-radius:16px!important;background:rgba(229,9,20,.075)!important;color:var(--ttm-primary)!important;display:flex!important;align-items:center!important;justify-content:center!important}.ttm-notification-row.is-read .ttm-dot{opacity:.22!important}.ttm-notification-side-clean .ttm-premium-card{display:none!important}.ttm-smart-notice{border-radius:20px!important;padding:16px!important;text-align:center!important;background:#fff!important;border:1px solid #eef2f7!important;color:#0f172a!important;font-weight:950!important}
.ttm-payroll-summary-card{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:16px!important;border-radius:28px!important;background:linear-gradient(135deg,#111827,#520611 58%,var(--ttm-primary))!important;color:#fff!important;box-shadow:0 20px 48px rgba(229,9,20,.18)!important;overflow:hidden!important}.ttm-payroll-summary-card>div{min-width:0!important;padding:12px!important;border-radius:20px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.14)!important}.ttm-payroll-summary-card span,.ttm-payroll-summary-card small{display:block!important;color:rgba(255,255,255,.76)!important;font-size:11px!important;font-weight:850!important;line-height:1.6!important}.ttm-payroll-summary-card strong{display:block!important;color:#fff!important;font-size:17px!important;line-height:1.7!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ttm-list-toolbar-compact{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;margin-bottom:12px!important}.ttm-filter-chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;border-radius:999px!important;padding:7px 12px!important;background:#f8fafc!important;border:1px solid #e5e7eb!important;color:#475569!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important}
.ttm-attendance-shell{display:grid!important;gap:16px!important}.ttm-attendance-hero{display:flex!important;align-items:stretch!important;justify-content:space-between!important;gap:14px!important;border-radius:28px!important;padding:18px!important;background:linear-gradient(135deg,#111827,#2a1016 58%,var(--ttm-primary))!important;color:#fff!important;box-shadow:0 22px 54px rgba(15,23,42,.14)!important}.ttm-attendance-hero span{display:inline-flex!important;font-size:12px!important;color:rgba(255,255,255,.74)!important;font-weight:900!important}.ttm-attendance-hero h3{font-size:24px!important;color:#fff!important;margin:4px 0!important}.ttm-attendance-hero p{margin:0!important;color:rgba(255,255,255,.72)!important;font-size:13px!important;line-height:1.8!important}.ttm-attendance-status{min-width:145px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;border-radius:22px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.18)!important;padding:14px!important;text-align:center!important}.ttm-attendance-status strong{font-size:19px!important;color:#fff!important}.ttm-attendance-status small{font-size:11px!important;color:rgba(255,255,255,.72)!important}.ttm-attendance-clock-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-bottom:12px!important}.ttm-attendance-clock-grid>div{border:1px solid #eef2f7!important;background:#fbfdff!important;border-radius:18px!important;padding:12px!important;text-align:center!important}.ttm-attendance-clock-grid span{display:block!important;color:#64748b!important;font-size:11px!important;font-weight:900!important;margin-bottom:5px!important}.ttm-attendance-clock-grid strong{display:block!important;color:#0f172a!important;font-size:15px!important;font-weight:950!important}.ttm-attendance-action-form textarea{width:100%!important;border:1px solid #e5e7eb!important;border-radius:18px!important;padding:12px!important;min-height:62px!important;resize:vertical!important}.ttm-attendance-buttons{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-top:10px!important}.ttm-attendance-buttons .ttm-btn:disabled{opacity:.42!important;filter:grayscale(.2)!important;cursor:not-allowed!important;box-shadow:none!important}.ttm-attendance-team-today,.ttm-attendance-history,.ttm-attendance-obligation-card{overflow:hidden!important}.ttm-line-chart{height:240px!important;display:grid!important;grid-template-columns:repeat(7,1fr)!important;align-items:end!important;gap:10px!important;padding:16px!important;background:linear-gradient(180deg,#fbfdff,#fff)!important;border:1px solid #eef2f7!important;border-radius:22px!important}.ttm-line-point{height:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important}.ttm-line-point i{display:block!important;width:100%!important;max-width:38px!important;height:calc(var(--h) * 1%)!important;min-height:8px!important;border-radius:999px 999px 10px 10px!important;background:linear-gradient(180deg,var(--ttm-primary),#7f0610)!important;box-shadow:0 10px 24px rgba(229,9,20,.18)!important}.ttm-line-point b{font-size:12px!important;color:#0f172a!important}.ttm-line-point span{font-size:10px!important;color:#64748b!important;writing-mode:vertical-rl!important;max-height:74px!important;overflow:hidden!important}.ttm-report-links{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.ttm-report-links button{border:1px solid #e5e7eb!important;background:#fff!important;border-radius:999px!important;padding:10px 14px!important;font-weight:950!important;color:#0f172a!important}.ttm-report-kpi-grid-v111{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.ttm-report-kpi-v111{border-radius:20px!important;padding:15px!important;background:#fff!important;border:1px solid #eef2f7!important;box-shadow:0 12px 32px rgba(15,23,42,.055)!important}.ttm-report-kpi-v111 span,.ttm-report-kpi-v111 small{display:block!important;color:#64748b!important;font-weight:850!important;font-size:11px!important}.ttm-report-kpi-v111 strong{display:block!important;color:#0f172a!important;font-weight:950!important;font-size:20px!important;margin:6px 0!important}
@media (max-width:1180px){.ttm-portal{background:#eef2f7!important}.ttm-main{padding:86px 14px 96px!important}.ttm-topbar{display:none!important}.ttm-mobile-head{border-radius:0 0 24px 24px!important;min-height:60px!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important}.ttm-mobile-head .ttm-icon-btn{flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important}.ttm-sidebar{padding-top:24px!important;gap:12px!important}.ttm-sidebar-brand-pro{margin-top:0!important}.ttm-nav{gap:8px!important}.ttm-nav-item{min-height:54px!important;border-radius:18px!important;padding:11px 12px!important}.ttm-card,.ttm-premium-card,.ttm-identity-card,.ttm-profile-section,.ttm-status-summary,.ttm-notification-list-panel{padding:14px!important;border-radius:22px!important}.ttm-dashboard-hero-row{grid-template-columns:1fr!important}.ttm-cinematic-hero{min-height:168px!important}.ttm-premium-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ttm-premium-metric{min-height:112px!important;padding:12px!important;border-radius:20px!important}.ttm-payroll-summary-card{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:12px!important;border-radius:24px!important;gap:8px!important}.ttm-payroll-summary-card>div{padding:9px 7px!important;border-radius:17px!important}.ttm-payroll-summary-card strong{font-size:13px!important}.ttm-payroll-summary-card span,.ttm-payroll-summary-card small{font-size:10px!important}.ttm-list-toolbar-compact{grid-template-columns:auto minmax(0,1fr)!important}.ttm-list-toolbar-compact .ttm-filter-chip{grid-column:1 / -1!important;justify-content:flex-start!important;width:max-content!important}.ttm-table-wrap{overflow-x:auto!important;border-radius:18px!important}.ttm-table{min-width:720px!important}.ttm-notifications-premium{grid-template-columns:1fr!important}.ttm-notification-side{display:none!important}.ttm-notification-row{grid-template-columns:8px 38px minmax(0,1fr)!important}.ttm-notification-row time{grid-column:3!important;justify-self:start!important;margin-top:-4px!important}.ttm-notification-icon{width:38px!important;height:38px!important;border-radius:14px!important}.ttm-attendance-hero{display:grid!important;grid-template-columns:1fr!important;padding:16px!important;border-radius:24px!important}.ttm-attendance-status{width:100%!important;min-width:0!important;align-items:flex-start!important;text-align:right!important}.ttm-attendance-clock-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-attendance-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-report-kpi-grid-v111{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-line-chart{height:210px!important;gap:6px!important;padding:12px!important}.ttm-login-card{box-shadow:0 24px 70px rgba(15,23,42,.12)!important}.ttm-login-form .ttm-btn{width:100%!important}.ttm-pwa-install{display:flex!important}.ttm-pwa-standalone .ttm-pwa-install,.ttm-pwa-installed .ttm-pwa-install{display:none!important}}
@media (max-width:390px){.ttm-premium-metrics{grid-template-columns:1fr!important}.ttm-payroll-summary-card{grid-template-columns:1fr!important}.ttm-attendance-buttons,.ttm-attendance-clock-grid,.ttm-report-kpi-grid-v111{grid-template-columns:1fr!important}.ttm-filter-tabs-chips button{padding-inline:12px!important}.ttm-main{padding-inline:10px!important}}

/* v1.0.0 — Documents compact row + attendance timezone polish */
.ttm-docs-premium .ttm-wide-gradient{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  padding:14px!important;
  border-radius:24px!important;
  min-height:0!important;
}
.ttm-docs-premium .ttm-wide-gradient>div{
  min-height:74px!important;
  padding:10px 8px!important;
  border-radius:18px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:3px!important;
}
.ttm-docs-premium .ttm-wide-gradient span,
.ttm-docs-premium .ttm-wide-gradient small{
  font-size:10.5px!important;
  line-height:1.45!important;
}
.ttm-docs-premium .ttm-wide-gradient strong{
  font-size:17px!important;
  line-height:1.2!important;
}
.ttm-docs-layout{
  grid-template-columns:1fr!important;
  gap:12px!important;
}
.ttm-doc-side-compact{
  padding:12px!important;
  border-radius:22px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
}
.ttm-doc-side-compact h3{
  margin:0!important;
  font-size:14px!important;
  font-weight:950!important;
  color:#0f172a!important;
  white-space:nowrap!important;
}
.ttm-doc-side-compact .ttm-doc-category-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
}
.ttm-doc-side-compact .ttm-doc-category-chip{
  min-width:0!important;
  min-height:46px!important;
  padding:8px 10px!important;
  border-radius:16px!important;
  background:#fbfdff!important;
  border:1px solid #eef2f7!important;
  box-shadow:0 8px 18px rgba(15,23,42,.035)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:7px!important;
  color:#475569!important;
  font-weight:900!important;
}
.ttm-doc-side-compact .ttm-doc-category-chip span{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:11.5px!important;
}
.ttm-doc-side-compact .ttm-doc-category-chip b{
  flex:0 0 auto!important;
  min-width:26px!important;
  height:26px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(229,9,20,.08)!important;
  color:var(--ttm-primary,#e50914)!important;
  font-size:11px!important;
  font-weight:950!important;
}
.ttm-doc-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.ttm-doc-card{
  min-height:154px!important;
  padding:14px!important;
  border-radius:20px!important;
  gap:6px!important;
}
.ttm-doc-icon{
  width:42px!important;
  height:42px!important;
  border-radius:15px!important;
  font-size:19px!important;
}
.ttm-doc-card h3{
  font-size:15px!important;
  line-height:1.55!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.ttm-doc-card p,
.ttm-doc-card small{
  font-size:11px!important;
}
.ttm-doc-actions{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
.ttm-attendance-timezone-note{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  width:max-content!important;
  max-width:100%!important;
  margin-top:8px!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.06)!important;
  color:#475569!important;
  font-size:11px!important;
  font-weight:850!important;
}
@media(max-width:1180px){
  .ttm-docs-premium .ttm-wide-gradient{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    padding:10px!important;
  }
  .ttm-docs-premium .ttm-wide-gradient>div{
    min-height:58px!important;
    padding:8px 5px!important;
    align-items:center!important;
    text-align:center!important;
  }
  .ttm-docs-premium .ttm-wide-gradient span,
  .ttm-docs-premium .ttm-wide-gradient small{
    font-size:8.8px!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .ttm-docs-premium .ttm-wide-gradient strong{
    font-size:12.5px!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .ttm-doc-side-compact{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:10px!important;
  }
  .ttm-doc-side-compact h3{
    font-size:13px!important;
  }
  .ttm-doc-side-compact .ttm-doc-category-row{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .ttm-doc-side-compact .ttm-doc-category-chip{
    min-height:44px!important;
    padding:7px 5px!important;
    flex-direction:column!important;
    justify-content:center!important;
    text-align:center!important;
    gap:4px!important;
  }
  .ttm-doc-side-compact .ttm-doc-category-chip span{
    font-size:9.5px!important;
    width:100%!important;
  }
  .ttm-doc-side-compact .ttm-doc-category-chip b{
    min-width:22px!important;
    height:22px!important;
    font-size:10px!important;
  }
  .ttm-doc-grid{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .ttm-doc-card{
    min-height:0!important;
    padding:12px!important;
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:10px!important;
  }
  .ttm-doc-card .ttm-doc-icon{
    grid-row:1 / span 3!important;
  }
  .ttm-doc-card small,
  .ttm-doc-card h3,
  .ttm-doc-card p{
    grid-column:2!important;
  }
  .ttm-doc-card .ttm-status-badge,
  .ttm-doc-card .ttm-doc-actions{
    grid-column:3!important;
    grid-row:auto!important;
    justify-self:end!important;
  }
  .ttm-doc-actions .ttm-table-link{
    min-height:28px!important;
    padding:6px 8px!important;
    font-size:10.5px!important;
  }
}
@media(max-width:390px){
  .ttm-docs-premium .ttm-wide-gradient strong{font-size:11px!important}
  .ttm-doc-side-compact .ttm-doc-category-chip span{font-size:8.6px!important}
}

/* Teamora Team Management v1.0.0 — onboarding wizard + LaLiga attendance polish */
.ttm-onboarding-shell{display:grid!important;gap:18px!important}.ttm-onboarding-hero{position:relative!important;overflow:hidden!important;border-radius:32px!important;padding:24px!important;display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;background:radial-gradient(circle at 8% 20%,rgba(255,255,255,.22),transparent 28%),linear-gradient(135deg,#111827 0%,#241016 52%,var(--ttm-primary) 100%)!important;color:#fff!important;box-shadow:0 28px 70px rgba(15,23,42,.16)!important}.ttm-onboarding-hero:after{content:""!important;position:absolute!important;inset:auto -80px -120px auto!important;width:280px!important;height:280px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 0 0 50px rgba(255,255,255,.035),0 0 0 100px rgba(255,255,255,.025)!important}.ttm-onboarding-logo{width:92px!important;height:92px!important;border-radius:28px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14)!important}.ttm-onboarding-logo img{width:68px!important;height:68px!important;object-fit:contain!important;border-radius:22px!important}.ttm-onboarding-hero span{display:inline-flex!important;font-size:12px!important;font-weight:950!important;color:rgba(255,255,255,.72)!important}.ttm-onboarding-hero h2{margin:6px 0!important;color:#fff!important;font-size:28px!important;line-height:1.35!important;font-weight:1000!important}.ttm-onboarding-hero p{max-width:680px!important;margin:0 0 12px!important;color:rgba(255,255,255,.78)!important;line-height:1.95!important;font-weight:800!important}.ttm-onboarding-hero small{display:block!important;color:rgba(255,255,255,.7)!important;font-size:11px!important;font-weight:900!important}.ttm-onboarding-progress{height:8px!important;border-radius:999px!important;max-width:420px!important;background:rgba(255,255,255,.16)!important;overflow:hidden!important;margin:8px 0!important}.ttm-onboarding-progress i{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#fff,#ffd5dc)!important}.ttm-onboarding-layout{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:16px!important;align-items:start!important}.ttm-onboarding-steps{position:sticky!important;top:92px!important;display:grid!important;gap:10px!important;background:rgba(255,255,255,.78)!important;border:1px solid #e9edf4!important;border-radius:28px!important;padding:12px!important;box-shadow:0 16px 44px rgba(15,23,42,.07)!important;backdrop-filter:blur(14px)!important}.ttm-onboarding-steps button{border:0!important;background:transparent!important;border-radius:20px!important;padding:12px!important;display:flex!important;align-items:center!important;gap:10px!important;text-align:right!important;color:#64748b!important;font-weight:950!important;cursor:pointer!important}.ttm-onboarding-steps button b{width:34px!important;height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:14px!important;background:#f1f5f9!important;color:#0f172a!important}.ttm-onboarding-steps button.is-active{background:linear-gradient(135deg,rgba(229,9,20,.13),rgba(229,9,20,.05))!important;color:#111827!important;box-shadow:inset 3px 0 0 var(--ttm-primary)!important}.ttm-onboarding-steps button.is-active b{background:var(--ttm-primary)!important;color:#fff!important}.ttm-onboarding-card{background:#fff!important;border:1px solid #e9edf4!important;border-radius:30px!important;padding:18px!important;box-shadow:0 18px 52px rgba(15,23,42,.075)!important;min-height:440px!important}.ttm-onboarding-panel{display:none!important;animation:ttmWizardFade .22s ease both!important}.ttm-onboarding-panel.is-active{display:block!important}.ttm-onboarding-panel .ttm-card-head{margin-bottom:16px!important}.ttm-role-primer{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:12px 0 18px!important}.ttm-role-primer article{border:1px solid #eef2f7!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;padding:16px!important;min-height:118px!important}.ttm-role-primer b,.ttm-role-primer span{display:block!important}.ttm-role-primer b{font-size:15px!important;color:#111827!important;margin-bottom:8px!important}.ttm-role-primer span{font-size:12px!important;color:#64748b!important;line-height:1.9!important;font-weight:850!important}.ttm-onboarding-attendance-presets{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.ttm-onboarding-attendance-presets label{display:grid!important;gap:8px!important;border:1px solid #eef2f7!important;border-radius:24px!important;padding:16px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.ttm-onboarding-attendance-presets span{font-weight:950!important;color:#111827!important;font-size:13px!important}.ttm-onboarding-attendance-presets input{border:1px solid #e5e7eb!important;border-radius:18px!important;min-height:48px!important;padding:0 12px!important;font-weight:950!important}.ttm-onboarding-attendance-presets small{color:#64748b!important;font-size:11px!important;font-weight:850!important}.ttm-onboarding-finish{margin-top:16px!important;border-radius:24px!important;padding:18px!important;background:linear-gradient(135deg,rgba(16,185,129,.1),rgba(229,9,20,.06))!important;border:1px solid rgba(16,185,129,.18)!important}.ttm-onboarding-finish b,.ttm-onboarding-finish span{display:block!important}.ttm-onboarding-finish b{color:#065f46!important;font-size:18px!important;margin-bottom:6px!important}.ttm-onboarding-finish span{color:#64748b!important;font-size:12px!important;font-weight:850!important}.ttm-onboarding-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-top:18px!important;border-top:1px solid #eef2f7!important;padding-top:14px!important}.ttm-onboarding-actions button[type=submit]{display:none!important}.ttm-onboarding-actions button[type=submit].is-visible{display:inline-flex!important}.ttm-onboarding-skip{text-align:center!important}.ttm-onboarding-skip .ttm-link-button{color:#64748b!important}.ttm-onboarding-panel .ttm-grid-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.ttm-onboarding-panel .ttm-grid-form label{background:#fbfdff!important;border:1px solid #eef2f7!important;border-radius:20px!important;padding:12px!important}.ttm-onboarding-panel input:not([type=color]):not([type=checkbox]),.ttm-onboarding-panel select{width:100%!important;min-height:46px!important;border:1px solid #e5e7eb!important;border-radius:16px!important;padding:0 12px!important;background:#fff!important}.ttm-onboarding-panel input[type=color]{width:100%!important;height:46px!important;border:0!important;background:transparent!important}.ttm-onboarding-panel .ttm-check{display:flex!important;align-items:center!important;gap:8px!important}.ttm-onboarding-panel .ttm-check input{width:18px!important;height:18px!important}.ttm-onboarding-panel .ttm-span-2{grid-column:1/-1!important}@keyframes ttmWizardFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.ttm-attendance-laliga{gap:14px!important}.ttm-attendance-laliga .ttm-attendance-hero{position:relative!important;overflow:hidden!important;border-radius:30px!important;min-height:150px!important;padding:20px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 180px!important;align-items:center!important;background:radial-gradient(circle at 20% 115%,rgba(229,9,20,.42),transparent 36%),linear-gradient(135deg,#111827 0%,#1d1118 52%,#b00610 100%)!important}.ttm-attendance-laliga .ttm-attendance-hero:before{content:""!important;position:absolute!important;left:-90px!important;bottom:-120px!important;width:320px!important;height:320px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 86px rgba(255,255,255,.018)!important}.ttm-attendance-laliga .ttm-attendance-hero>div{position:relative!important;z-index:1!important}.ttm-attendance-laliga .ttm-attendance-hero h3{font-size:26px!important;line-height:1.35!important}.ttm-attendance-laliga .ttm-attendance-status{min-width:0!important;width:100%!important;border-radius:26px!important;background:rgba(255,255,255,.13)!important;backdrop-filter:blur(14px)!important}.ttm-attendance-laliga .ttm-attendance-status:after{content:""!important;width:100%!important;height:7px!important;border-radius:999px!important;background:linear-gradient(90deg,#fff var(--ttm-attendance-progress),rgba(255,255,255,.18) 0)!important;margin-top:4px!important}.ttm-attendance-laliga .ttm-attendance-actions{padding:14px!important;border-radius:26px!important}.ttm-attendance-laliga .ttm-attendance-clock-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-bottom:10px!important}.ttm-attendance-laliga .ttm-attendance-clock-grid>div{min-height:72px!important;padding:10px!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.ttm-attendance-laliga .ttm-attendance-action-form textarea{min-height:48px!important;border-radius:17px!important;padding:10px 12px!important;font-size:12px!important}.ttm-attendance-laliga .ttm-attendance-buttons{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.ttm-attendance-laliga .ttm-attendance-buttons .ttm-btn{min-height:46px!important;border-radius:17px!important;font-size:12px!important;padding-inline:8px!important}.ttm-attendance-laliga .ttm-premium-metric{min-height:94px!important;border-radius:20px!important;padding:12px!important}.ttm-attendance-laliga .ttm-card-head{margin-bottom:10px!important}.ttm-attendance-laliga .ttm-manager-form{padding:14px!important;border-radius:24px!important}.ttm-attendance-laliga .ttm-grid-form{gap:8px!important}.ttm-attendance-laliga .ttm-grid-form label{border-radius:17px!important;padding:10px!important;background:#fbfdff!important;border:1px solid #eef2f7!important}.ttm-attendance-laliga .ttm-grid-form input,.ttm-attendance-laliga .ttm-grid-form select,.ttm-attendance-laliga .ttm-grid-form textarea{min-height:42px!important;border-radius:14px!important}.ttm-attendance-mobile-list{display:none!important;gap:8px!important}.ttm-attendance-record-card{display:grid!important;gap:10px!important;border:1px solid #eef2f7!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;border-radius:18px!important;padding:12px!important}.ttm-attendance-record-card>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}.ttm-attendance-record-card b{color:#111827!important;font-size:13px!important}.ttm-attendance-record-card ul{list-style:none!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin:0!important;padding:0!important}.ttm-attendance-record-card li{border-radius:14px!important;background:#f8fafc!important;padding:8px!important;text-align:center!important}.ttm-attendance-record-card span{display:block!important;color:#64748b!important;font-size:10px!important;font-weight:850!important}.ttm-attendance-record-card strong{display:block!important;color:#111827!important;font-size:12px!important;margin-top:3px!important}.ttm-attendance-history,.ttm-attendance-team-today{padding:14px!important;border-radius:24px!important}.ttm-attendance-history .ttm-table,.ttm-attendance-team-today .ttm-table{min-width:620px!important}.ttm-attendance-history .ttm-table th,.ttm-attendance-history .ttm-table td,.ttm-attendance-team-today .ttm-table th,.ttm-attendance-team-today .ttm-table td{padding:10px!important;font-size:11px!important}
@media(max-width:1180px){.ttm-onboarding-hero{grid-template-columns:70px minmax(0,1fr)!important;border-radius:26px!important;padding:16px!important;gap:12px!important}.ttm-onboarding-logo{width:70px!important;height:70px!important;border-radius:22px!important}.ttm-onboarding-logo img{width:52px!important;height:52px!important}.ttm-onboarding-hero h2{font-size:20px!important}.ttm-onboarding-hero p{font-size:12px!important;line-height:1.8!important}.ttm-onboarding-layout{grid-template-columns:1fr!important;gap:12px!important}.ttm-onboarding-steps{position:relative!important;top:auto!important;display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;border-radius:22px!important;padding:8px!important}.ttm-onboarding-steps button{flex:0 0 auto!important;min-width:116px!important;scroll-snap-align:start!important;padding:9px!important;border-radius:16px!important}.ttm-onboarding-steps button b{width:28px!important;height:28px!important;border-radius:11px!important}.ttm-onboarding-card{border-radius:24px!important;padding:14px!important;min-height:0!important}.ttm-onboarding-panel .ttm-grid-form,.ttm-role-primer,.ttm-onboarding-attendance-presets{grid-template-columns:1fr!important}.ttm-onboarding-actions{position:sticky!important;bottom:12px!important;z-index:8!important;background:rgba(255,255,255,.9)!important;backdrop-filter:blur(12px)!important;border:1px solid #eef2f7!important;border-radius:22px!important;padding:8px!important;box-shadow:0 14px 34px rgba(15,23,42,.12)!important}.ttm-onboarding-actions .ttm-btn{min-height:42px!important;padding-inline:12px!important;font-size:11px!important}.ttm-attendance-laliga .ttm-attendance-hero{grid-template-columns:1fr!important;min-height:0!important;border-radius:24px!important;padding:16px!important}.ttm-attendance-laliga .ttm-attendance-hero h3{font-size:21px!important}.ttm-attendance-laliga .ttm-attendance-status{align-items:stretch!important}.ttm-attendance-laliga .ttm-attendance-clock-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.ttm-attendance-laliga .ttm-attendance-clock-grid>div{min-height:58px!important;padding:8px 4px!important}.ttm-attendance-laliga .ttm-attendance-clock-grid span{font-size:9px!important}.ttm-attendance-laliga .ttm-attendance-clock-grid strong{font-size:11px!important}.ttm-attendance-laliga .ttm-attendance-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-attendance-laliga .ttm-premium-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-attendance-laliga .ttm-manager-form .ttm-grid-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-attendance-laliga .ttm-manager-form .ttm-span-2{grid-column:1/-1!important}.ttm-attendance-history .ttm-table-wrap,.ttm-attendance-team-today .ttm-table-wrap{display:none!important}.ttm-attendance-mobile-list{display:grid!important}.ttm-attendance-record-card ul{grid-template-columns:repeat(4,minmax(0,1fr))!important}.ttm-attendance-record-card{border-radius:17px!important;padding:10px!important}}
@media(max-width:390px){.ttm-onboarding-hero{grid-template-columns:1fr!important;text-align:center!important}.ttm-onboarding-logo{margin:auto!important}.ttm-onboarding-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.ttm-onboarding-actions button[type=submit].is-visible{grid-column:1/-1!important}.ttm-attendance-laliga .ttm-attendance-clock-grid,.ttm-attendance-record-card ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-attendance-laliga .ttm-manager-form .ttm-grid-form{grid-template-columns:1fr!important}.ttm-attendance-laliga .ttm-premium-metrics{grid-template-columns:1fr!important}}

/* =========================================================
   Teamora Team Management v1.0.0 — stable render, compact onboarding, pro attendance
   Root fixes: stale PWA asset cache symptoms, oversized logo leak, desktop/mobile attendance layout.
   ========================================================= */
.ttm-portal,
.ttm-portal *{
  box-sizing:border-box!important;
}
.ttm-portal img{
  max-width:100%!important;
}
.ttm-main{
  overflow-x:hidden!important;
}
.ttm-section.is-active{
  width:100%!important;
  min-width:0!important;
}
.ttm-dashboard-hero-row{
  display:grid!important;
  grid-template-columns:minmax(260px,340px) minmax(0,1fr)!important;
  gap:18px!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
}
.ttm-identity-card{
  min-width:0!important;
  overflow:hidden!important;
}
.ttm-identity-logo,
.ttm-identity-logo img{
  width:78px!important;
  height:78px!important;
  min-width:78px!important;
  max-width:78px!important;
  max-height:78px!important;
  aspect-ratio:1/1!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  overflow:hidden!important;
}
.ttm-identity-logo{
  display:grid!important;
  place-items:center!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 16px 34px rgba(229,9,20,.14)!important;
}
.ttm-cinematic-hero{
  min-width:0!important;
  min-height:230px!important;
  max-height:360px!important;
  overflow:hidden!important;
}
.ttm-hero-content{
  min-width:0!important;
}
.ttm-portal .ttm-screen-intro,
.ttm-portal .ttm-wide-gradient,
.ttm-portal .ttm-card,
.ttm-portal .ttm-premium-card{
  min-width:0!important;
}

/* Compact onboarding wizard */
.ttm-onboarding-shell{
  display:grid!important;
  gap:14px!important;
  max-width:1180px!important;
  margin:0 auto!important;
}
.ttm-onboarding-hero{
  min-height:0!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:14px!important;
  padding:18px!important;
  border-radius:28px!important;
  align-items:center!important;
  overflow:hidden!important;
}
.ttm-onboarding-logo{
  width:72px!important;
  height:72px!important;
  border-radius:22px!important;
}
.ttm-onboarding-logo img{
  width:52px!important;
  height:52px!important;
  border-radius:18px!important;
}
.ttm-onboarding-hero h2{
  font-size:23px!important;
  margin:3px 0 4px!important;
  line-height:1.35!important;
}
.ttm-onboarding-hero p{
  font-size:12px!important;
  line-height:1.75!important;
  margin:0 0 8px!important;
  max-width:820px!important;
}
.ttm-onboarding-progress{
  height:6px!important;
  max-width:360px!important;
  margin:6px 0!important;
}
.ttm-onboarding-layout{
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
}
.ttm-onboarding-steps{
  top:82px!important;
  gap:6px!important;
  padding:9px!important;
  border-radius:24px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.055)!important;
}
.ttm-onboarding-steps button{
  min-height:44px!important;
  padding:8px 9px!important;
  border-radius:16px!important;
  gap:8px!important;
  font-size:12px!important;
}
.ttm-onboarding-steps button b{
  width:28px!important;
  height:28px!important;
  border-radius:11px!important;
  flex:0 0 28px!important;
  font-size:12px!important;
}
.ttm-onboarding-card{
  min-height:0!important;
  padding:14px!important;
  border-radius:26px!important;
  box-shadow:0 14px 38px rgba(15,23,42,.06)!important;
}
.ttm-onboarding-panel .ttm-card-head{
  margin-bottom:10px!important;
}
.ttm-onboarding-panel .ttm-card-head h3{
  font-size:17px!important;
  margin:0!important;
}
.ttm-onboarding-panel .ttm-card-head p{
  font-size:11px!important;
  line-height:1.7!important;
  margin:2px 0 0!important;
}
.ttm-onboarding-panel .ttm-grid-form{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
}
.ttm-onboarding-panel .ttm-grid-form label,
.ttm-onboarding-attendance-presets label,
.ttm-role-primer article{
  padding:10px!important;
  border-radius:17px!important;
}
.ttm-onboarding-panel input:not([type=color]):not([type=checkbox]),
.ttm-onboarding-panel select,
.ttm-onboarding-attendance-presets input{
  min-height:40px!important;
  border-radius:13px!important;
  font-size:12px!important;
}
.ttm-role-primer,
.ttm-onboarding-attendance-presets{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
}
.ttm-role-primer article{
  min-height:92px!important;
}
.ttm-role-primer b{
  font-size:13px!important;
  margin-bottom:4px!important;
}
.ttm-role-primer span,
.ttm-onboarding-attendance-presets small{
  font-size:10.5px!important;
  line-height:1.65!important;
}
.ttm-onboarding-actions{
  margin-top:12px!important;
  padding-top:10px!important;
  gap:8px!important;
}
.ttm-onboarding-actions .ttm-btn{
  min-height:42px!important;
  padding:9px 14px!important;
  border-radius:15px!important;
  font-size:12px!important;
}
.ttm-onboarding-skip{
  margin:0!important;
}

/* Attendance pro layout */
.ttm-attendance-shell.ttm-attendance-laliga{
  display:grid!important;
  gap:14px!important;
  max-width:1160px!important;
  margin:0 auto!important;
}
.ttm-attendance-laliga .ttm-attendance-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 220px!important;
  min-height:145px!important;
  padding:18px!important;
  border-radius:28px!important;
  align-items:stretch!important;
  overflow:hidden!important;
}
.ttm-attendance-laliga .ttm-attendance-hero h3{
  font-size:25px!important;
  margin:4px 0!important;
}
.ttm-attendance-laliga .ttm-attendance-hero p{
  font-size:12px!important;
  line-height:1.7!important;
}
.ttm-attendance-laliga .ttm-attendance-status{
  min-width:0!important;
  border-radius:20px!important;
  padding:12px!important;
}
.ttm-attendance-laliga .ttm-attendance-status strong{
  font-size:21px!important;
}
.ttm-attendance-actions.ttm-premium-card,
.ttm-attendance-obligation-card,
.ttm-attendance-team-today,
.ttm-attendance-history{
  border-radius:24px!important;
  padding:14px!important;
  margin-bottom:0!important;
}
.ttm-attendance-laliga .ttm-attendance-clock-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin-bottom:10px!important;
}
.ttm-attendance-laliga .ttm-attendance-clock-grid>div{
  min-height:66px!important;
  padding:10px!important;
  border-radius:17px!important;
}
.ttm-attendance-laliga .ttm-attendance-clock-grid span{
  font-size:10px!important;
  margin-bottom:5px!important;
}
.ttm-attendance-laliga .ttm-attendance-clock-grid strong{
  font-size:14px!important;
  white-space:nowrap!important;
}
.ttm-attendance-action-form textarea{
  min-height:48px!important;
  border-radius:16px!important;
  padding:10px 12px!important;
  font-size:12px!important;
}
.ttm-attendance-laliga .ttm-attendance-buttons{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
.ttm-attendance-laliga .ttm-attendance-buttons .ttm-btn{
  min-height:44px!important;
  border-radius:15px!important;
  padding:9px!important;
  font-size:12px!important;
}
.ttm-attendance-metrics.ttm-premium-metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.ttm-attendance-metrics .ttm-premium-metric{
  min-height:96px!important;
  padding:12px!important;
  border-radius:18px!important;
}
.ttm-attendance-metrics .ttm-premium-metric strong{
  font-size:18px!important;
}
.ttm-attendance-obligation-card .ttm-grid-form{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.ttm-attendance-obligation-card .ttm-grid-form label{
  border-radius:16px!important;
}
.ttm-attendance-obligation-card .ttm-grid-form input,
.ttm-attendance-obligation-card .ttm-grid-form select,
.ttm-attendance-obligation-card .ttm-grid-form textarea{
  min-height:42px!important;
  border-radius:13px!important;
}
.ttm-attendance-mobile-list{
  display:none!important;
}
.ttm-attendance-history .ttm-table,
.ttm-attendance-team-today .ttm-table{
  min-width:0!important;
}
.ttm-attendance-history .ttm-table th,
.ttm-attendance-history .ttm-table td,
.ttm-attendance-team-today .ttm-table th,
.ttm-attendance-team-today .ttm-table td{
  padding:11px 12px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.ttm-attendance-record-card{
  width:100%!important;
}

@media (max-width:1180px){
  .ttm-dashboard-hero-row{
    grid-template-columns:1fr!important;
  }
  .ttm-identity-logo,
  .ttm-identity-logo img{
    width:74px!important;
    height:74px!important;
    max-width:74px!important;
    max-height:74px!important;
    margin-inline:auto!important;
  }
  .ttm-onboarding-layout{
    grid-template-columns:1fr!important;
  }
  .ttm-onboarding-steps{
    position:relative!important;
    top:auto!important;
    display:flex!important;
    overflow-x:auto!important;
    gap:7px!important;
    scroll-snap-type:x mandatory!important;
  }
  .ttm-onboarding-steps button{
    flex:0 0 auto!important;
    min-width:112px!important;
    scroll-snap-align:start!important;
  }
  .ttm-onboarding-hero{
    grid-template-columns:56px minmax(0,1fr)!important;
    padding:13px!important;
    border-radius:23px!important;
  }
  .ttm-onboarding-logo{
    width:56px!important;
    height:56px!important;
    border-radius:18px!important;
  }
  .ttm-onboarding-logo img{
    width:40px!important;
    height:40px!important;
    border-radius:14px!important;
  }
  .ttm-onboarding-hero h2{
    font-size:18px!important;
  }
  .ttm-onboarding-hero p{
    font-size:10.5px!important;
    line-height:1.65!important;
  }
  .ttm-onboarding-panel .ttm-grid-form,
  .ttm-role-primer,
  .ttm-onboarding-attendance-presets{
    grid-template-columns:1fr!important;
  }
  .ttm-onboarding-actions{
    position:sticky!important;
    bottom:10px!important;
    background:rgba(255,255,255,.94)!important;
    border:1px solid #eef2f7!important;
    border-radius:20px!important;
    padding:7px!important;
    box-shadow:0 14px 34px rgba(15,23,42,.12)!important;
  }
  .ttm-onboarding-actions .ttm-btn{
    flex:1 1 auto!important;
    min-width:0!important;
    padding-inline:8px!important;
    font-size:10.5px!important;
  }
  .ttm-attendance-laliga .ttm-attendance-hero{
    grid-template-columns:1fr!important;
    min-height:0!important;
    padding:14px!important;
    border-radius:23px!important;
  }
  .ttm-attendance-laliga .ttm-attendance-clock-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .ttm-attendance-laliga .ttm-attendance-clock-grid>div{
    min-height:58px!important;
    padding:8px 5px!important;
  }
  .ttm-attendance-laliga .ttm-attendance-clock-grid strong{
    font-size:11px!important;
  }
  .ttm-attendance-laliga .ttm-attendance-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .ttm-attendance-metrics.ttm-premium-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .ttm-attendance-obligation-card .ttm-grid-form{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .ttm-attendance-obligation-card .ttm-span-2{
    grid-column:1/-1!important;
  }
  .ttm-attendance-history .ttm-table-wrap,
  .ttm-attendance-team-today .ttm-table-wrap{
    display:none!important;
  }
  .ttm-attendance-mobile-list{
    display:grid!important;
    gap:8px!important;
  }
  .ttm-attendance-record-card{
    border:1px solid #eef2f7!important;
    border-radius:17px!important;
    background:#fff!important;
    padding:10px!important;
    box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
  }
  .ttm-attendance-record-card>div{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    margin-bottom:8px!important;
  }
  .ttm-attendance-record-card ul{
    list-style:none!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .ttm-attendance-record-card li{
    border-radius:13px!important;
    background:#f8fafc!important;
    padding:7px 5px!important;
    text-align:center!important;
  }
  .ttm-attendance-record-card span{
    display:block!important;
    color:#64748b!important;
    font-size:9px!important;
    font-weight:850!important;
    margin-bottom:3px!important;
  }
  .ttm-attendance-record-card strong{
    display:block!important;
    color:#111827!important;
    font-size:10px!important;
    font-weight:950!important;
    white-space:nowrap!important;
  }
}
@media (max-width:430px){
  .ttm-attendance-laliga .ttm-attendance-clock-grid,
  .ttm-attendance-record-card ul{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .ttm-attendance-metrics.ttm-premium-metrics,
  .ttm-attendance-obligation-card .ttm-grid-form{
    grid-template-columns:1fr!important;
  }
}


/* Teamora Team Management v1.0.0 — root typography softness + compact attendance + logout spinner fix */
.ttm-portal,
.ttm-login-shell{
  font-size:13px!important;
  line-height:1.62!important;
  -webkit-font-smoothing:antialiased!important;
  text-rendering:optimizeLegibility!important;
}
.ttm-portal :where(p,span,small,label,input,select,textarea,td,th,button,a,li),
.ttm-login-shell :where(p,span,small,label,input,select,textarea,button,a,li){
  letter-spacing:-.012em!important;
}
.ttm-portal :where(strong,b,.ttm-btn,.ttm-nav-item,.ttm-mobile-title,.ttm-status-badge,.ttm-pill,.ttm-table th),
.ttm-login-shell :where(strong,b,.ttm-btn,.ttm-login-tab){
  font-weight:760!important;
}
.ttm-portal :where(h1,h2,h3,h4,.ttm-card h3,.ttm-topbar h1,.ttm-title-block h1),
.ttm-login-shell :where(h1,h2,h3){
  font-weight:820!important;
  letter-spacing:-.025em!important;
}
.ttm-portal .ttm-title-block h1,
.ttm-portal .ttm-topbar h1{font-size:27px!important;line-height:1.35!important;}
.ttm-portal .ttm-card h3,
.ttm-portal .ttm-card-head h3,
.ttm-portal .ttm-card-headline h3{font-size:17px!important;line-height:1.5!important;}
.ttm-portal .ttm-card p,
.ttm-portal .ttm-card-head p,
.ttm-portal .ttm-title-block p{font-size:12px!important;font-weight:520!important;line-height:1.75!important;}
.ttm-portal .ttm-nav-item{font-size:13px!important;min-height:48px!important;padding:10px 12px!important;}
.ttm-portal .ttm-nav-item span{width:27px!important;height:27px!important;font-size:12px!important;}
.ttm-portal .ttm-btn{font-size:12px!important;font-weight:780!important;min-height:42px!important;}
.ttm-portal .ttm-table th{font-size:11px!important;font-weight:720!important;padding:10px 12px!important;}
.ttm-portal .ttm-table td{font-size:12px!important;font-weight:520!important;padding:10px 12px!important;}
.ttm-portal .ttm-status-badge{min-height:24px!important;padding:4px 9px!important;font-size:10px!important;font-weight:720!important;}
.ttm-portal .ttm-premium-metrics{gap:9px!important;}
.ttm-portal .ttm-premium-metric{min-height:82px!important;padding:10px!important;border-radius:18px!important;}
.ttm-portal .ttm-premium-metric span{font-size:11px!important;font-weight:680!important;}
.ttm-portal .ttm-premium-metric strong{font-size:20px!important;line-height:1.35!important;font-weight:820!important;letter-spacing:-.035em!important;}
.ttm-portal .ttm-premium-metric small{font-size:10px!important;font-weight:560!important;}

/* Attendance: slimmer cards and records */
.ttm-attendance-shell.ttm-attendance-laliga{gap:11px!important;}
.ttm-attendance-laliga .ttm-attendance-hero{min-height:128px!important;padding:15px!important;border-radius:24px!important;}
.ttm-attendance-laliga .ttm-attendance-hero h3{font-size:22px!important;font-weight:820!important;}
.ttm-attendance-laliga .ttm-attendance-status{padding:10px!important;border-radius:18px!important;}
.ttm-attendance-laliga .ttm-attendance-status strong{font-size:18px!important;font-weight:820!important;}
.ttm-attendance-actions.ttm-premium-card,
.ttm-attendance-obligation-card,
.ttm-attendance-team-today,
.ttm-attendance-history{padding:12px!important;border-radius:22px!important;}
.ttm-attendance-laliga .ttm-attendance-clock-grid{gap:7px!important;margin-bottom:8px!important;}
.ttm-attendance-laliga .ttm-attendance-clock-grid>div{min-height:58px!important;padding:8px!important;border-radius:15px!important;}
.ttm-attendance-laliga .ttm-attendance-clock-grid span{font-size:9.5px!important;font-weight:650!important;margin-bottom:3px!important;}
.ttm-attendance-laliga .ttm-attendance-clock-grid strong{font-size:12px!important;font-weight:780!important;line-height:1.3!important;}
.ttm-attendance-action-form textarea{min-height:42px!important;font-size:11px!important;padding:9px 11px!important;border-radius:14px!important;}
.ttm-attendance-laliga .ttm-attendance-buttons{gap:7px!important;}
.ttm-attendance-laliga .ttm-attendance-buttons .ttm-btn{min-height:40px!important;border-radius:14px!important;font-size:11px!important;padding:8px!important;}
.ttm-attendance-metrics .ttm-premium-metric{min-height:78px!important;padding:10px!important;}
.ttm-attendance-metrics .ttm-premium-metric strong{font-size:18px!important;line-height:1.32!important;word-break:normal!important;overflow-wrap:normal!important;}
.ttm-attendance-obligation-card .ttm-grid-form{gap:8px!important;}
.ttm-attendance-obligation-card .ttm-grid-form label{padding:9px!important;border-radius:15px!important;font-size:11px!important;font-weight:650!important;}
.ttm-attendance-obligation-card .ttm-grid-form input,
.ttm-attendance-obligation-card .ttm-grid-form select,
.ttm-attendance-obligation-card .ttm-grid-form textarea{min-height:38px!important;font-size:11.5px!important;border-radius:12px!important;}
.ttm-attendance-history .ttm-table th,
.ttm-attendance-history .ttm-table td,
.ttm-attendance-team-today .ttm-table th,
.ttm-attendance-team-today .ttm-table td{padding:8px 10px!important;font-size:11px!important;}
.ttm-attendance-record-card{gap:6px!important;padding:8px!important;border-radius:15px!important;box-shadow:0 8px 18px rgba(15,23,42,.035)!important;}
.ttm-attendance-record-card>div{margin-bottom:5px!important;gap:6px!important;}
.ttm-attendance-record-card b{font-size:11px!important;font-weight:760!important;}
.ttm-attendance-record-card ul{gap:5px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.ttm-attendance-record-card li{padding:6px 4px!important;border-radius:11px!important;min-height:42px!important;}
.ttm-attendance-record-card span{font-size:8.5px!important;font-weight:620!important;margin-bottom:2px!important;}
.ttm-attendance-record-card strong{font-size:9.5px!important;font-weight:760!important;line-height:1.35!important;white-space:nowrap!important;}

/* Logout: never become a blank/white box while submitting */
.ttm-logout-button.ttm-logout-loading,
.ttm-logout-form .ttm-btn.ttm-logout-loading,
.ttm-mobile-logout-form .ttm-icon-btn.ttm-logout-loading{
  position:relative!important;
  overflow:hidden!important;
  pointer-events:none!important;
  opacity:1!important;
}
.ttm-mobile-logout-form .ttm-icon-btn.ttm-logout-loading,
.ttm-icon-btn.ttm-logout-loading{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#99030a))!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 12px 28px rgba(229,9,20,.22)!important;
}
.ttm-logout-form .ttm-btn.ttm-logout-loading{
  min-height:48px!important;
  height:48px!important;
  background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#99030a))!important;
  color:#fff!important;
  border:0!important;
}
.ttm-logout-loading .ttm-btn-spinner,
.ttm-logout-spinner{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:0!important;
  border-radius:999px!important;
  border:2px solid rgba(255,255,255,.42)!important;
  border-top-color:#fff!important;
  display:inline-flex!important;
  animation:ttmSpin .72s linear infinite!important;
}
.ttm-mobile-logout-form .ttm-icon-btn.ttm-logout-loading .ttm-btn-spinner,
.ttm-icon-btn.ttm-logout-loading .ttm-btn-spinner{border-color:rgba(255,255,255,.38)!important;border-top-color:#fff!important;}

@media (max-width:1180px){
  .ttm-portal,.ttm-login-shell{font-size:12px!important;}
  .ttm-main{padding-top:80px!important;}
  .ttm-mobile-title{font-size:12px!important;font-weight:760!important;}
  .ttm-card,.ttm-premium-card,.ttm-identity-card,.ttm-profile-section,.ttm-status-summary,.ttm-notification-list-panel{padding:12px!important;border-radius:20px!important;}
  .ttm-card h3,.ttm-card-head h3{font-size:15px!important;}
  .ttm-premium-metric{min-height:74px!important;padding:9px!important;border-radius:16px!important;}
  .ttm-premium-metric strong{font-size:17px!important;}
  .ttm-attendance-laliga .ttm-attendance-hero{padding:12px!important;border-radius:20px!important;}
  .ttm-attendance-laliga .ttm-attendance-clock-grid>div{min-height:52px!important;padding:7px 4px!important;}
  .ttm-attendance-laliga .ttm-attendance-buttons .ttm-btn{min-height:38px!important;font-size:10.5px!important;}
  .ttm-attendance-metrics.ttm-premium-metrics{gap:7px!important;}
  .ttm-attendance-metrics .ttm-premium-metric{min-height:68px!important;}
  .ttm-attendance-metrics .ttm-premium-metric strong{font-size:15px!important;}
  .ttm-attendance-history,.ttm-attendance-team-today{padding:10px!important;border-radius:19px!important;}
  .ttm-attendance-record-card{padding:7px!important;border-radius:14px!important;}
  .ttm-attendance-record-card ul{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;}
  .ttm-attendance-record-card li{min-height:38px!important;padding:5px 3px!important;}
  .ttm-attendance-record-card span{font-size:8px!important;}
  .ttm-attendance-record-card strong{font-size:8.8px!important;}
}
@media (max-width:430px){
  .ttm-attendance-record-card ul{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .ttm-attendance-record-card strong{font-size:8.4px!important;}
}

/* Teamora Team Management v1.0.0 — final UX typography + smart forms + role polish */
.ttm-portal,
.ttm-login-shell{
  font-size:12.5px!important;
  line-height:1.58!important;
}
.ttm-portal :where(.ttm-nav-item,.ttm-mobile-title,.ttm-login-tab,.ttm-filter-tabs button,.ttm-card-head h3,.ttm-premium-metric span,.ttm-premium-metric small,.ttm-table th,.ttm-status-badge,.ttm-btn,label,.ttm-pill,.ttm-floating-new),
.ttm-login-shell :where(.ttm-login-tab,.ttm-btn,label,.ttm-alert){
  font-weight:620!important;
}
.ttm-portal :where(h1,h2,h3,h4,.ttm-title-block h1,.ttm-topbar h1,.ttm-welcome h2,.ttm-card h3,.ttm-card-head h3),
.ttm-login-shell :where(h1,h2,h3){
  font-weight:720!important;
  letter-spacing:-.018em!important;
}
.ttm-portal :where(strong,b),
.ttm-login-shell :where(strong,b){
  font-weight:700!important;
}
.ttm-portal .ttm-nav-item{
  font-size:12px!important;
  min-height:44px!important;
  padding:9px 11px!important;
  gap:8px!important;
}
.ttm-portal .ttm-nav-item span{
  width:25px!important;
  height:25px!important;
  border-radius:10px!important;
  font-size:11px!important;
}
.ttm-sidebar-brand-pro strong,
.ttm-user-profile-main strong,
.ttm-topbar h1,
.ttm-title-block h1{font-weight:720!important;}
.ttm-portal .ttm-title-block h1,
.ttm-portal .ttm-topbar h1{font-size:25px!important;}
.ttm-portal .ttm-card h3,
.ttm-portal .ttm-card-head h3{font-size:15.5px!important;}
.ttm-portal .ttm-card-head p,
.ttm-portal .ttm-title-block p,
.ttm-portal .ttm-screen-intro p{font-weight:460!important;font-size:11.5px!important;}
.ttm-portal .ttm-premium-metric strong{font-size:18px!important;font-weight:720!important;line-height:1.3!important;}
.ttm-portal .ttm-premium-metric{min-height:76px!important;padding:10px 12px!important;}
.ttm-portal .ttm-status-badge{font-size:9.5px!important;font-weight:620!important;}
.ttm-portal .ttm-btn{font-weight:660!important;font-size:11.5px!important;min-height:40px!important;}
.ttm-login-shell .ttm-btn{font-weight:680!important;}

/* Smart, non-tiring forms */
.ttm-form.ttm-grid-form,
.ttm-profile-grid,
.ttm-onboarding-panel .ttm-grid-form,
.ttm-attendance-obligation-card .ttm-grid-form{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(140px,1fr))!important;
  gap:10px!important;
  align-items:end!important;
}
.ttm-manager-form .ttm-form.ttm-grid-form,
.ttm-leave-form-card .ttm-form.ttm-grid-form,
.ttm-single-payroll-card .ttm-form.ttm-grid-form,
.ttm-attendance-obligation-card .ttm-grid-form,
.ttm-onboarding-panel .ttm-grid-form{
  grid-template-columns:repeat(4,minmax(135px,1fr))!important;
}
.ttm-form.ttm-grid-form label,
.ttm-profile-section,
.ttm-attendance-obligation-card .ttm-grid-form label,
.ttm-onboarding-panel .ttm-grid-form label{
  min-width:0!important;
  gap:5px!important;
  padding:9px 10px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border:1px solid #eef2f7!important;
  box-shadow:0 8px 18px rgba(15,23,42,.025)!important;
  font-size:10.5px!important;
  line-height:1.45!important;
  color:#273244!important;
  font-weight:560!important;
}
.ttm-form.ttm-grid-form input,
.ttm-form.ttm-grid-form select,
.ttm-form.ttm-grid-form textarea,
.ttm-profile-grid input,
.ttm-profile-grid select,
.ttm-profile-grid textarea,
.ttm-onboarding-panel .ttm-grid-form input,
.ttm-onboarding-panel .ttm-grid-form select,
.ttm-onboarding-panel .ttm-grid-form textarea{
  min-height:36px!important;
  border-radius:12px!important;
  padding:8px 10px!important;
  font-size:11.5px!important;
  font-weight:520!important;
  line-height:1.45!important;
}
.ttm-form.ttm-grid-form textarea,
.ttm-profile-grid textarea,
.ttm-onboarding-panel .ttm-grid-form textarea{min-height:56px!important;resize:vertical!important;}
.ttm-span-2,
.ttm-form.ttm-grid-form .ttm-span-2,
.ttm-profile-grid .ttm-span-2,
.ttm-onboarding-panel .ttm-span-2{grid-column:span 2!important;}
.ttm-form-actions.ttm-span-2,
.ttm-save-ribbon.ttm-span-2{grid-column:1/-1!important;}
.ttm-manager-form,
.ttm-leave-form-card,
.ttm-single-payroll-card,
.ttm-attendance-obligation-card,
.ttm-notification-list-panel,
.ttm-doc-create{
  padding:14px!important;
  border-radius:22px!important;
}
.ttm-card-head{gap:9px!important;margin-bottom:10px!important;}
.ttm-card-head>span{width:36px!important;height:36px!important;min-width:36px!important;border-radius:14px!important;font-size:14px!important;}
.ttm-form-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;margin-top:2px!important;}
.ttm-form-actions .ttm-btn{min-width:150px!important;}
.ttm-inline-form{display:grid!important;grid-template-columns:minmax(94px,.8fr) minmax(120px,1fr) auto!important;gap:6px!important;align-items:center!important;}
.ttm-inline-form input,
.ttm-inline-form select{min-height:34px!important;border-radius:11px!important;padding:7px 9px!important;font-size:11px!important;}
.ttm-inline-form .ttm-btn-mini{min-height:34px!important;padding:6px 10px!important;}

/* Attendance lists finally compact and balanced */
.ttm-attendance-record-card{padding:7px 8px!important;gap:5px!important;border-radius:14px!important;}
.ttm-attendance-record-card>div{margin-bottom:4px!important;}
.ttm-attendance-record-card b{font-size:10.5px!important;font-weight:650!important;}
.ttm-attendance-record-card ul{gap:4px!important;}
.ttm-attendance-record-card li{min-height:34px!important;padding:4px 3px!important;border-radius:10px!important;}
.ttm-attendance-record-card span{font-size:7.8px!important;font-weight:520!important;}
.ttm-attendance-record-card strong{font-size:8.4px!important;font-weight:650!important;}
.ttm-attendance-history .ttm-table th,
.ttm-attendance-history .ttm-table td,
.ttm-attendance-team-today .ttm-table th,
.ttm-attendance-team-today .ttm-table td{padding:7px 8px!important;font-size:10.5px!important;}
.ttm-attendance-laliga .ttm-attendance-buttons .ttm-btn{font-weight:650!important;}

/* Stable logout loading: red box + visible spinner, never blank */
.ttm-logout-button.ttm-logout-loading,
.ttm-logout-form .ttm-btn.ttm-logout-loading,
.ttm-mobile-logout-form .ttm-icon-btn.ttm-logout-loading,
.ttm-logout-is-loading .ttm-logout-button{
  background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#9b020a))!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 12px 28px rgba(229,9,20,.28)!important;
  opacity:1!important;
}
.ttm-logout-button.ttm-logout-loading *:not(.ttm-btn-spinner),
.ttm-logout-is-loading .ttm-logout-button *:not(.ttm-btn-spinner){display:none!important;}
.ttm-logout-button.ttm-logout-loading .ttm-btn-spinner,
.ttm-logout-is-loading .ttm-logout-button .ttm-btn-spinner{display:inline-flex!important;}
.ttm-mobile-logout-form .ttm-logout-button.ttm-logout-loading{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;}
.ttm-logout-form .ttm-logout-button.ttm-logout-loading{height:48px!important;min-height:48px!important;}

@media (max-width:1180px){
  .ttm-portal{font-size:11.6px!important;}
  .ttm-portal .ttm-mobile-title{font-size:11px!important;font-weight:620!important;}
  .ttm-form.ttm-grid-form,
  .ttm-profile-grid,
  .ttm-manager-form .ttm-form.ttm-grid-form,
  .ttm-leave-form-card .ttm-form.ttm-grid-form,
  .ttm-single-payroll-card .ttm-form.ttm-grid-form,
  .ttm-attendance-obligation-card .ttm-grid-form,
  .ttm-onboarding-panel .ttm-grid-form{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .ttm-form.ttm-grid-form label,
  .ttm-profile-section,
  .ttm-attendance-obligation-card .ttm-grid-form label,
  .ttm-onboarding-panel .ttm-grid-form label{
    padding:7px 8px!important;
    border-radius:12px!important;
    font-size:9.4px!important;
  }
  .ttm-form.ttm-grid-form input,
  .ttm-form.ttm-grid-form select,
  .ttm-form.ttm-grid-form textarea,
  .ttm-profile-grid input,
  .ttm-profile-grid select,
  .ttm-profile-grid textarea{
    min-height:32px!important;
    border-radius:10px!important;
    padding:6px 8px!important;
    font-size:10.2px!important;
  }
  .ttm-form.ttm-grid-form textarea,
  .ttm-profile-grid textarea{min-height:50px!important;}
  .ttm-span-2,
  .ttm-form.ttm-grid-form .ttm-span-2,
  .ttm-profile-grid .ttm-span-2{grid-column:1/-1!important;}
  .ttm-form-actions{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;}
  .ttm-form-actions .ttm-btn{width:100%!important;min-width:0!important;}
  .ttm-inline-form{grid-template-columns:1fr 1fr!important;}
  .ttm-inline-form .ttm-btn-mini{grid-column:1/-1!important;width:100%!important;}
  .ttm-portal .ttm-nav-item{font-size:11px!important;font-weight:560!important;min-height:42px!important;}
  .ttm-portal .ttm-premium-metric strong{font-size:15px!important;}
}
@media (max-width:390px){
  .ttm-form.ttm-grid-form,
  .ttm-profile-grid,
  .ttm-manager-form .ttm-form.ttm-grid-form,
  .ttm-leave-form-card .ttm-form.ttm-grid-form,
  .ttm-single-payroll-card .ttm-form.ttm-grid-form,
  .ttm-attendance-obligation-card .ttm-grid-form,
  .ttm-onboarding-panel .ttm-grid-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .ttm-form.ttm-grid-form label{font-size:9px!important;}
}

/* Teamora Team Management v1.0.0 — official A5 documents, requests, archive, signature/stamp */
.ttm-official-docs-shell{display:grid;gap:18px}.ttm-official-hero-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.ttm-official-request-card{overflow:hidden}.ttm-official-request-list .ttm-table td,.ttm-official-archive .ttm-table td{vertical-align:middle}.ttm-official-inline-form{min-width:520px!important}.ttm-official-inline-form input{min-width:170px}.ttm-official-archive{position:relative}.ttm-official-archive:before{content:"آرشیو غیرقابل‌حذف";position:absolute;top:18px;left:22px;border-radius:999px;background:rgba(17,24,39,.06);color:#475569;padding:7px 12px;font-size:12px;font-weight:950}.ttm-official-preview{display:flex;align-items:center;justify-content:center;width:100%;min-height:86px;margin-top:10px;border:1px dashed #dbe2ea;border-radius:18px;background:#f8fafc}.ttm-official-preview img{max-width:180px;max-height:74px;object-fit:contain}.ttm-void-form{min-width:320px!important}.ttm-void-form input{min-width:160px}.ttm-doc-actions,.ttm-action-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ttm-muted-inline{display:inline-flex;align-items:center;border-radius:999px;background:#f1f5f9;color:#64748b;padding:7px 10px;font-size:12px;font-weight:900}.ttm-pdf-link{background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:#fff!important}.ttm-doc-category-row{display:grid;gap:9px}.ttm-doc-category-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:16px;background:#f8fafc;border:1px solid #eef2f7}.ttm-doc-category-chip span{font-weight:900;color:#475569}.ttm-doc-category-chip b{color:var(--ttm-primary)}
@media (max-width: 920px){.ttm-official-hero-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ttm-official-inline-form,.ttm-void-form{min-width:0!important;display:grid!important;grid-template-columns:1fr!important;width:100%}.ttm-official-archive:before{position:static;display:inline-flex;margin-bottom:12px}.ttm-official-request-list .ttm-table,.ttm-official-archive .ttm-table{min-width:980px}}
@media (max-width: 620px){.ttm-official-hero-strip{grid-template-columns:1fr!important}.ttm-doc-actions,.ttm-action-links{align-items:stretch}.ttm-action-links>a,.ttm-action-links form{width:100%}.ttm-void-form input,.ttm-void-form button{width:100%}}

/* Teamora Team Management v1.0.0 — merged dashboard/profile/avatar with official A5 documents */
.ttm-user-profile-head{display:flex;align-items:center;gap:12px;min-width:0}.ttm-user-avatar-pro,.ttm-dashboard-avatar,.ttm-gm-mini-avatar{width:52px;height:52px;border-radius:18px;display:flex!important;align-items:center;justify-content:center;font-weight:950;background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2));color:#fff;overflow:hidden;flex:none;box-shadow:0 12px 28px rgba(0,0,0,.16)}.ttm-gm-mini-avatar{width:44px;height:44px;border-radius:14px;font-size:13px}.ttm-user-avatar-pro img,.ttm-dashboard-avatar img,.ttm-gm-mini-avatar img{width:100%;height:100%;object-fit:cover;display:block}.ttm-user-profile-main strong,.ttm-user-profile-main span{display:block}
.ttm-gm-dashboard{display:grid;gap:18px}.ttm-gm-top-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.64fr);gap:18px;align-items:stretch}.ttm-gm-hero-card{position:relative;overflow:hidden;border-radius:34px;background:radial-gradient(circle at top right,rgba(255,255,255,.12),transparent 26%),linear-gradient(135deg,#120f13 0%,#1a1117 34%,#38050a 72%,var(--ttm-primary) 100%);padding:26px;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;box-shadow:0 24px 70px rgba(15,23,42,.18)}.ttm-gm-hero-card:before{content:"";position:absolute;inset:auto -120px -90px auto;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 64%)}.ttm-gm-hero-copy,.ttm-gm-hero-identity{position:relative;z-index:1}.ttm-gm-hero-copy h2{margin:10px 0 12px;font-size:38px;line-height:1.2;color:#fff}.ttm-gm-hero-copy p{margin:0;max-width:640px;color:rgba(255,255,255,.82);line-height:2}.ttm-gm-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.ttm-gm-hero-identity{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);backdrop-filter:blur(12px);border-radius:28px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;gap:16px}.ttm-gm-hero-avatar .ttm-dashboard-avatar{width:78px;height:78px;border-radius:26px;font-size:24px}.ttm-gm-hero-meta strong{display:block;font-size:22px;color:#fff}.ttm-gm-hero-meta span{display:block;font-size:13px;color:rgba(255,255,255,.72);margin-top:6px}.ttm-gm-hero-status{display:grid;gap:12px}.ttm-gm-hero-status>div{padding:13px 14px;border-radius:18px;background:rgba(255,255,255,.08)}.ttm-gm-hero-status span{display:block;font-size:12px;color:rgba(255,255,255,.7)}.ttm-gm-hero-status b{display:block;margin-top:6px;color:#fff;font-size:15px}.ttm-gm-phone-card{border-radius:34px;padding:20px;background:linear-gradient(180deg,#ffffff,#f8fafc);border:1px solid rgba(226,232,240,.9);box-shadow:0 22px 58px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:18px;position:relative;overflow:hidden}.ttm-gm-phone-card:before{content:"";position:absolute;inset:auto -60px -70px auto;width:180px;height:180px;border-radius:50%;background:color-mix(in srgb,var(--ttm-primary) 18%,transparent)}.ttm-gm-phone-head,.ttm-profile-mobile-head{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.ttm-gm-phone-head .ttm-dashboard-avatar,.ttm-profile-mobile-avatar,.ttm-profile-mobile-avatar-wrap img{width:62px;height:62px;border-radius:22px}.ttm-gm-phone-head strong,.ttm-profile-mobile-head strong{display:block;font-size:17px;color:var(--ttm-text)}.ttm-gm-phone-head span,.ttm-profile-mobile-head span{display:block;margin-top:4px;color:var(--ttm-muted);font-size:12px}.ttm-gm-phone-stat{position:relative;z-index:1;border-radius:24px;padding:18px;background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2));color:#fff}.ttm-gm-phone-stat span,.ttm-gm-phone-stat small{display:block;color:rgba(255,255,255,.75)}.ttm-gm-phone-stat b{display:block;font-size:28px;margin:10px 0 6px}.ttm-gm-phone-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ttm-gm-phone-grid button,.ttm-profile-mobile-actions button{border:1px solid rgba(226,232,240,.9)!important;background:#fff!important;border-radius:18px!important;padding:14px 12px!important;text-align:right!important;color:var(--ttm-text)!important;display:grid!important;gap:6px!important;box-shadow:none!important}.ttm-gm-phone-grid span,.ttm-profile-mobile-actions span{font-size:12px;color:var(--ttm-muted)}.ttm-gm-phone-grid b,.ttm-profile-mobile-actions b{font-size:18px;color:var(--ttm-primary)}.ttm-gm-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.ttm-gm-kpi-card{position:relative;overflow:hidden;border-radius:24px;padding:18px;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid rgba(226,232,240,.9);box-shadow:0 16px 40px rgba(15,23,42,.06)}.ttm-gm-kpi-card:before{content:"";position:absolute;inset-inline-start:0;top:18px;width:4px;height:58px;border-radius:99px;background:linear-gradient(180deg,var(--ttm-primary),var(--ttm-accent))}.ttm-gm-kpi-card span{display:block;font-size:12px;color:var(--ttm-muted);font-weight:900}.ttm-gm-kpi-card strong{display:block;font-size:30px;line-height:1.15;color:var(--ttm-text);margin:12px 0 8px}.ttm-gm-kpi-card small{display:block;color:var(--ttm-muted);font-size:12px}.ttm-gm-content-grid{display:grid;grid-template-columns:1.25fr .75fr .75fr;gap:18px}.ttm-gm-panel-card{background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid rgba(226,232,240,.9);border-radius:28px;padding:22px;box-shadow:0 18px 48px rgba(15,23,42,.06)}.ttm-gm-panel-card .ttm-card-head{margin-bottom:16px}.ttm-gm-chart-card{grid-column:1/span 2}.ttm-gm-chart-shell{position:relative;border-radius:24px;background:#0f1720;padding:18px;overflow:hidden}.ttm-gm-chart-shell svg{width:100%;height:180px;display:block}.ttm-gm-chart-line{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.ttm-gm-chart-line-in{stroke:#ff4d5b}.ttm-gm-chart-line-out{stroke:#fff}.ttm-gm-chart-legend{display:flex;gap:18px;align-items:center;margin-top:8px;color:#fff}.ttm-gm-chart-legend span{display:inline-flex;align-items:center;gap:8px;font-size:12px}.ttm-gm-chart-legend i{width:18px;height:4px;border-radius:999px;display:inline-block}.ttm-gm-chart-legend .is-in{background:#ff4d5b}.ttm-gm-chart-legend .is-out{background:#fff}.ttm-gm-chart-labels{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:10px}.ttm-gm-chart-labels small{color:rgba(255,255,255,.72);font-size:11px;text-align:center}.ttm-gm-activity-list,.ttm-gm-team-list,.ttm-gm-doc-list,.ttm-profile-list-card{display:grid;gap:12px}.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:18px;background:#f8fafc;border:1px solid #eef2f7}.ttm-gm-activity-list article div,.ttm-gm-team-list article div,.ttm-gm-doc-list article div,.ttm-profile-list-card article div{min-width:0}.ttm-gm-activity-list b,.ttm-gm-team-list b,.ttm-gm-doc-list b,.ttm-profile-list-card b{display:block;color:var(--ttm-text);font-size:14px}.ttm-gm-activity-list small,.ttm-gm-team-list small,.ttm-gm-doc-list small,.ttm-profile-list-card small{display:block;margin-top:5px;color:var(--ttm-muted);font-size:12px}.ttm-gm-doc-list strong,.ttm-profile-list-card strong{font-size:14px;color:var(--ttm-primary)}.ttm-gm-dot{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14)}
.ttm-profile-pro-shell{display:block}.ttm-profile-app-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px;align-items:start}.ttm-profile-mobile-card{border-radius:32px;padding:22px;background:linear-gradient(180deg,#17141a 0%,#230b0f 52%,var(--ttm-primary) 100%);color:#fff;position:sticky;top:24px;box-shadow:0 24px 70px rgba(15,23,42,.16)}.ttm-profile-mobile-card:before{content:"";position:absolute;inset:auto -60px -80px auto;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 68%)}.ttm-profile-mobile-card>*{position:relative;z-index:1}.ttm-profile-mobile-avatar-wrap{width:62px;height:62px;border-radius:22px;overflow:hidden;background:#fff;color:var(--ttm-primary);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:950}.ttm-profile-mobile-avatar-wrap img,.ttm-profile-mobile-avatar.has-image{width:100%;height:100%;object-fit:cover;display:block}.ttm-profile-mobile-kpi{margin-top:18px;padding:18px;border-radius:24px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14)}.ttm-profile-mobile-kpi span,.ttm-profile-mobile-kpi small{display:block;color:rgba(255,255,255,.72)}.ttm-profile-mobile-kpi b{display:block;font-size:22px;margin:10px 0 6px;color:#fff}.ttm-profile-mobile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.ttm-profile-mobile-actions button{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important;color:#fff!important}.ttm-profile-mini-card{margin-top:14px;padding:16px;border-radius:22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.ttm-profile-mini-card h4{margin:0 0 10px;font-size:16px;color:#fff}.ttm-profile-mini-card div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid rgba(255,255,255,.08)}.ttm-profile-mini-card div:first-of-type{border-top:0}.ttm-profile-mini-card span{font-size:12px;color:rgba(255,255,255,.72)}.ttm-profile-mini-card b{font-size:13px;color:#fff}.ttm-profile-editor-shell{display:grid;gap:18px}.ttm-profile-hero-updated{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:center;border-radius:30px;background:linear-gradient(135deg,#fff,#fbfbff);border:1px solid rgba(226,232,240,.9);box-shadow:0 18px 48px rgba(15,23,42,.06);padding:22px}.ttm-profile-hero-copy h3{margin:10px 0 8px;font-size:30px}.ttm-profile-hero-copy p{margin:0;color:var(--ttm-muted);line-height:2}.ttm-profile-status-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ttm-profile-avatar-stage{display:grid;gap:12px;justify-items:center}.ttm-profile-avatar-frame{width:148px;height:148px;border-radius:36px;background:linear-gradient(135deg,#f8fafc,#eef2f7);border:2px dashed color-mix(in srgb,var(--ttm-primary) 25%,#cbd5e1);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.ttm-profile-avatar-image{width:100%;height:100%;object-fit:cover;display:none}.ttm-profile-avatar-image.has-image{display:block}.ttm-profile-avatar-initials{font-size:46px;font-weight:950;color:var(--ttm-primary)}.ttm-profile-avatar-initials.is-hidden{display:none}.ttm-profile-upload-box{display:grid;gap:8px;text-align:center;justify-items:center}.ttm-profile-file-field{display:grid;gap:8px;width:100%;font-weight:900;color:var(--ttm-text)}.ttm-profile-file-field input[type=file]{width:100%;border:1px dashed #dbe2ea;border-radius:16px;padding:12px;background:#fff}.ttm-profile-upload-box small{color:var(--ttm-muted)}.ttm-profile-remove-check{width:100%;justify-content:center!important;background:#fff!important}.ttm-profile-grid-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ttm-profile-section{background:#fff;border:1px solid #e9edf3;border-radius:26px;padding:20px;box-shadow:0 16px 40px rgba(15,23,42,.05);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ttm-profile-section .ttm-card-head{grid-column:1/-1;margin-bottom:0}.ttm-profile-section label{display:grid;gap:8px;font-weight:900;color:var(--ttm-text)}.ttm-profile-section input,.ttm-profile-section textarea{width:100%;border:1px solid #dbe2ea;border-radius:16px;padding:13px 14px;background:#f8fafc;color:var(--ttm-text)}.ttm-profile-section textarea{resize:vertical;min-height:96px}.ttm-profile-notification-list article{align-items:flex-start}.ttm-save-ribbon{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-radius:22px;background:linear-gradient(135deg,#fff,#fff7f8);border:1px solid color-mix(in srgb,var(--ttm-primary) 18%,#fff);box-shadow:0 18px 40px rgba(15,23,42,.05)}.ttm-save-ribbon span{color:var(--ttm-muted);line-height:1.9;font-weight:800}
@media (max-width: 1380px){.ttm-gm-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ttm-gm-content-grid{grid-template-columns:1fr 1fr}.ttm-gm-chart-card{grid-column:auto}.ttm-profile-app-layout{grid-template-columns:300px minmax(0,1fr)}}
@media (max-width: 1080px){.ttm-gm-top-grid,.ttm-profile-app-layout,.ttm-profile-hero-updated{grid-template-columns:1fr}.ttm-gm-hero-card{grid-template-columns:1fr}.ttm-gm-kpi-grid,.ttm-gm-content-grid,.ttm-profile-grid-panels{grid-template-columns:1fr 1fr}.ttm-profile-mobile-card{position:static}.ttm-profile-section{grid-template-columns:1fr}}
@media (max-width: 720px){.ttm-gm-kpi-grid,.ttm-gm-content-grid,.ttm-profile-grid-panels{grid-template-columns:1fr}.ttm-gm-phone-grid,.ttm-profile-mobile-actions{grid-template-columns:1fr 1fr}.ttm-profile-hero-updated{padding:18px}.ttm-profile-avatar-frame{width:124px;height:124px;border-radius:30px}.ttm-save-ribbon{flex-direction:column;align-items:stretch}.ttm-gm-hero-copy h2{font-size:29px}.ttm-gm-hero-card,.ttm-gm-panel-card,.ttm-profile-mobile-card,.ttm-profile-section{border-radius:24px}.ttm-profile-app-layout{gap:14px}}

/* Teamora Team Management v1.0.0 — clean desktop layout reset from stable base
   هدف: بدون fixed کردن منو، سایدبار در ستون راست بماند و محتوا هرگز زیر آن نرود. */
@media (min-width:1181px){
  body.ttm-standalone,
  body.ttm-app-page{
    overflow-x:hidden!important;
  }

  .ttm-portal{
    --ttm-sidebar-width:296px;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) var(--ttm-sidebar-width)!important;
    grid-template-areas:"ttm-main ttm-sidebar"!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    min-height:100vh!important;
    min-height:100svh!important;
    padding:0!important;
    margin:0!important;
    overflow-x:hidden!important;
    direction:ltr!important;
    box-sizing:border-box!important;
  }

  .ttm-portal > .ttm-mobile-head,
  .ttm-portal > .ttm-mobile-fab-menu,
  .ttm-portal > .ttm-drawer-overlay{
    display:none!important;
  }

  .ttm-portal > .ttm-sidebar{
    grid-area:ttm-sidebar!important;
    position:sticky!important;
    top:0!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100vh!important;
    height:100svh!important;
    min-height:100vh!important;
    min-height:100svh!important;
    max-height:100vh!important;
    max-height:100svh!important;
    transform:none!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    z-index:30!important;
    align-self:start!important;
    direction:rtl!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  .ttm-portal > .ttm-sidebar .ttm-nav{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding-bottom:10px!important;
  }

  .ttm-portal > .ttm-main{
    grid-area:ttm-main!important;
    position:relative!important;
    z-index:1!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:24px clamp(18px,2.2vw,34px) 52px!important;
    direction:rtl!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  .ttm-portal > .ttm-main > .ttm-section,
  .ttm-portal .ttm-section.is-active{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }

  .ttm-topbar-clean,
  .ttm-premium-topbar{
    min-width:0!important;
    width:100%!important;
    overflow:hidden!important;
  }
}

/* Dashboard: جلوگیری از بیرون‌زدگی متن/عدد در کارت‌های مدیریتی */
@media (min-width:1181px){
  .ttm-gm-top-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(270px,360px)!important;
    gap:18px!important;
    align-items:stretch!important;
    min-width:0!important;
  }
  .ttm-gm-hero-card,
  .ttm-gm-phone-card,
  .ttm-gm-kpi-card,
  .ttm-gm-panel-card,
  .ttm-profile-summary-card,
  .ttm-cinematic-hero{
    min-width:0!important;
  }
  .ttm-gm-kpi-grid,
  .ttm-premium-metrics{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
    min-width:0!important;
  }
  .ttm-gm-kpi-card,
  .ttm-premium-metric{
    overflow:hidden!important;
  }
  .ttm-gm-kpi-card span,
  .ttm-gm-kpi-card small,
  .ttm-premium-metric span,
  .ttm-premium-metric small{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:11.5px!important;
    line-height:1.65!important;
  }
  .ttm-gm-kpi-card strong,
  .ttm-premium-metric strong{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:clamp(20px,1.85vw,27px)!important;
    line-height:1.25!important;
    letter-spacing:-.02em!important;
  }
  .ttm-dashboard-hero-row{
    grid-template-columns:minmax(290px,340px) minmax(0,1fr)!important;
    min-width:0!important;
  }
}

/* Profile: چیدمان کامل، خوانا و بدون چسبیدن/افتادن زیر منو */
@media (min-width:1181px){
  .ttm-profile-pro-shell,
  .ttm-profile-premium{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .ttm-profile-app-layout{
    display:grid!important;
    grid-template-columns:minmax(270px,320px) minmax(0,1fr)!important;
    gap:18px!important;
    align-items:start!important;
    width:100%!important;
    min-width:0!important;
    direction:rtl!important;
  }
  .ttm-profile-mobile-card{
    grid-column:1!important;
    position:sticky!important;
    top:24px!important;
    width:100%!important;
    max-height:calc(100vh - 48px)!important;
    max-height:calc(100svh - 48px)!important;
    overflow:auto!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .ttm-profile-editor-shell{
    grid-column:2!important;
    display:grid!important;
    gap:16px!important;
    min-width:0!important;
    width:100%!important;
  }
  .ttm-profile-hero-updated{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(230px,280px)!important;
    gap:16px!important;
    align-items:center!important;
    min-width:0!important;
    padding:20px!important;
  }
  .ttm-profile-hero-copy,
  .ttm-profile-avatar-stage{
    min-width:0!important;
  }
  .ttm-profile-grid-panels{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
    min-width:0!important;
    width:100%!important;
  }
  .ttm-profile-section{
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .ttm-profile-section.ttm-span-2,
  .ttm-save-ribbon{
    grid-column:1/-1!important;
  }
  .ttm-profile-section input,
  .ttm-profile-section textarea,
  .ttm-profile-section select{
    min-width:0!important;
    max-width:100%!important;
  }
  .ttm-save-ribbon{
    margin-bottom:24px!important;
    position:relative!important;
    z-index:2!important;
  }
}

/* Leaves: فرم و جدول جدا، بدون افتادن روی هم */
@media (min-width:1181px){
  .ttm-leaves-premium{
    display:grid!important;
    grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr)!important;
    gap:16px!important;
    align-items:start!important;
    min-width:0!important;
    width:100%!important;
    direction:rtl!important;
  }
  .ttm-leaves-premium > .ttm-premium-metrics,
  .ttm-leaves-premium > .ttm-floating-new{
    grid-column:1/-1!important;
  }
  .ttm-leave-form-card{
    grid-column:1!important;
    min-width:0!important;
    width:100%!important;
  }
  .ttm-leave-list-card{
    grid-column:2!important;
    min-width:0!important;
    width:100%!important;
    overflow:hidden!important;
  }
  .ttm-leave-list-card .ttm-table-wrap,
  .ttm-table-wrap{
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .ttm-leave-list-card .ttm-table{
    min-width:760px!important;
  }
  .ttm-inline-form{
    max-width:100%!important;
  }
}

/* Chart polish: شفاف‌تر و کامل‌تر */
.ttm-gm-chart-shell{
  border-radius:24px!important;
  background:radial-gradient(circle at 12% 0%,rgba(255,255,255,.08),transparent 30%),linear-gradient(145deg,#0b1220,#111827 58%,#210911)!important;
  padding:18px!important;
}
.ttm-gm-chart-shell svg{
  width:100%!important;
  height:220px!important;
  display:block!important;
  overflow:visible!important;
}
.ttm-gm-chart-line{
  stroke-width:4!important;
  vector-effect:non-scaling-stroke!important;
}
.ttm-gm-chart-labels small{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

@media (max-width:1180px){
  .ttm-portal{
    direction:rtl!important;
  }
  .ttm-gm-kpi-grid,
  .ttm-premium-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .ttm-profile-app-layout,
  .ttm-profile-hero-updated,
  .ttm-profile-grid-panels,
  .ttm-leaves-premium,
  .ttm-gm-top-grid,
  .ttm-gm-content-grid{
    grid-template-columns:1fr!important;
  }
  .ttm-profile-mobile-card{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
  }
  .ttm-profile-editor-shell,
  .ttm-profile-mobile-card,
  .ttm-leave-form-card,
  .ttm-leave-list-card{
    grid-column:auto!important;
  }
}
@media (max-width:560px){
  .ttm-gm-kpi-grid,
  .ttm-premium-metrics{
    grid-template-columns:1fr!important;
  }
}

/* Teamora Team Management v1.0.0 — typography, sidebar identity, profile polish
   scoped only to Teamora panel/admin UI; keeps the clean v1.0.0 grid layout intact. */
.ttm-portal,
.ttm-portal :where(input,select,textarea,button){
  font-family:var(--ttm-font-family,"TTM Yekan Bakh","Yekan_Bakh",Tahoma,Arial,sans-serif)!important;
}
.ttm-portal :where(h1,h2,h3,h4,strong,b){font-weight:780!important;letter-spacing:-.012em!important}
.ttm-portal :where(p,small,span,label,td,th,input,select,textarea){font-weight:520!important}
.ttm-portal :where(button,.ttm-btn,.ttm-nav-item){font-weight:680!important}
.ttm-portal .ttm-topbar-pro .ttm-title-block h1{font-size:clamp(25px,2.15vw,31px)!important;font-weight:800!important}
.ttm-portal .ttm-topbar-pro .ttm-title-block p{font-size:12px!important;font-weight:520!important}
.ttm-portal .ttm-card-head h3,
.ttm-portal .ttm-profile-section h3,
.ttm-portal .ttm-gm-panel-card h3{font-size:16px!important;font-weight:760!important}
.ttm-portal .ttm-card-head p{font-size:12px!important;font-weight:500!important}

/* Sidebar top identity card: avatar/name/position replaces heavy brand screenshot */
.ttm-portal .ttm-sidebar-person-card{
  display:grid!important;
  gap:12px!important;
  padding:14px!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.045))!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 18px 42px rgba(0,0,0,.18)!important;
  min-width:0!important;
}
.ttm-portal .ttm-sidebar-person-main{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  min-width:0!important;
}
.ttm-portal .ttm-sidebar-person-avatar{
  width:58px!important;height:58px!important;border-radius:20px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;color:var(--ttm-primary)!important;
  font-size:20px!important;font-weight:820!important;
  overflow:hidden!important;box-shadow:0 14px 34px rgba(229,9,20,.22)!important;
}
.ttm-portal .ttm-sidebar-person-avatar.has-image img,
.ttm-portal .ttm-sidebar-person-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.ttm-portal .ttm-sidebar-person-copy{min-width:0!important;display:grid!important;gap:3px!important}
.ttm-portal .ttm-sidebar-person-copy strong{color:#fff!important;font-size:14px!important;line-height:1.5!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:800!important}
.ttm-portal .ttm-sidebar-person-copy span{color:rgba(255,255,255,.72)!important;font-size:11.5px!important;line-height:1.55!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:520!important}
.ttm-portal .ttm-sidebar-person-copy small{color:rgba(255,255,255,.45)!important;font-size:10.5px!important;line-height:1.5!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:500!important}
.ttm-portal .ttm-sidebar-person-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important}
.ttm-portal .ttm-sidebar-person-actions .ttm-user-profile-action{height:36px!important;min-height:36px!important;border-radius:14px!important;font-size:11.5px!important;font-weight:680!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.13)!important;color:#fff!important;box-shadow:none!important}
.ttm-portal .ttm-sidebar-brand-badge{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:6px 8px!important;border-radius:14px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.10)!important;color:rgba(255,255,255,.72)!important;font-size:9px!important;font-weight:700!important}
.ttm-portal .ttm-sidebar-brand-badge img{width:22px!important;height:22px!important;border-radius:8px!important;background:#fff!important;object-fit:cover!important}
.ttm-portal .ttm-sidebar-brand-badge b{font-size:8.5px!important;color:rgba(255,255,255,.64)!important;font-weight:700!important}
.ttm-portal .ttm-user-profile-pro{display:none!important}
.ttm-portal .ttm-nav{gap:7px!important}
.ttm-portal .ttm-nav-item{min-height:45px!important;padding:10px 12px!important;border-radius:16px!important;font-size:12.5px!important;color:rgba(255,255,255,.76)!important;line-height:1.5!important}
.ttm-portal .ttm-nav-item span{width:29px!important;height:29px!important;flex:0 0 29px!important;border-radius:11px!important;font-size:15px!important}
.ttm-portal .ttm-logout-form .ttm-btn{height:46px!important;min-height:46px!important;border-radius:16px!important;font-size:12.5px!important}

/* General card polish */
.ttm-portal .ttm-card,
.ttm-portal .ttm-premium-card,
.ttm-portal .ttm-gm-panel-card,
.ttm-portal .ttm-gm-kpi-card,
.ttm-portal .ttm-profile-section,
.ttm-portal .ttm-identity-card,
.ttm-portal .ttm-status-summary,
.ttm-portal .ttm-table-card{
  border-radius:23px!important;
  box-shadow:0 14px 36px rgba(15,23,42,.055)!important;
}
.ttm-portal .ttm-premium-metric,
.ttm-portal .ttm-gm-kpi-card{min-height:102px!important;padding:15px 16px!important}
.ttm-portal .ttm-premium-metric span,
.ttm-portal .ttm-gm-kpi-card span{font-size:11.2px!important;font-weight:520!important;color:var(--ttm-muted)!important}
.ttm-portal .ttm-premium-metric strong,
.ttm-portal .ttm-gm-kpi-card strong{font-size:clamp(21px,1.65vw,27px)!important;font-weight:760!important;line-height:1.18!important;margin:8px 0 4px!important}
.ttm-portal .ttm-premium-metric small,
.ttm-portal .ttm-gm-kpi-card small{font-size:11px!important;font-weight:500!important}

/* Profile: wider, row-based, cleaner and less bulky */
@media (min-width:1181px){
  .ttm-portal .ttm-profile-app-layout{
    grid-template-columns:minmax(260px,300px) minmax(0,1fr)!important;
    gap:20px!important;
    align-items:start!important;
  }
  .ttm-portal .ttm-profile-mobile-card{
    padding:18px!important;
    border-radius:28px!important;
    top:20px!important;
  }
  .ttm-portal .ttm-profile-mobile-head{gap:10px!important}
  .ttm-portal .ttm-profile-mobile-avatar-wrap{width:56px!important;height:56px!important;border-radius:20px!important}
  .ttm-portal .ttm-profile-mobile-head strong{font-size:15px!important;font-weight:780!important}
  .ttm-portal .ttm-profile-mobile-head span{font-size:11.5px!important;font-weight:500!important}
  .ttm-portal .ttm-profile-mobile-kpi{margin-top:14px!important;padding:14px!important;border-radius:20px!important}
  .ttm-portal .ttm-profile-mobile-kpi b{font-size:18px!important;font-weight:760!important;margin:6px 0 3px!important}
  .ttm-portal .ttm-profile-mobile-actions{gap:8px!important;margin-top:12px!important}
  .ttm-portal .ttm-profile-mobile-actions button{min-height:42px!important;padding:10px!important;border-radius:15px!important;font-size:11.5px!important}
  .ttm-portal .ttm-profile-mini-card{margin-top:12px!important;padding:13px!important;border-radius:19px!important}
  .ttm-portal .ttm-profile-mini-card h4{font-size:14px!important;font-weight:760!important}

  .ttm-portal .ttm-profile-editor-shell{gap:16px!important}
  .ttm-portal .ttm-profile-hero-updated{
    grid-template-columns:minmax(0,1fr) minmax(210px,260px)!important;
    gap:16px!important;
    padding:18px 20px!important;
    border-radius:28px!important;
  }
  .ttm-portal .ttm-profile-hero-copy h3{font-size:25px!important;font-weight:800!important;margin:8px 0 6px!important}
  .ttm-portal .ttm-profile-hero-copy p{font-size:13px!important;line-height:1.75!important;font-weight:500!important}
  .ttm-portal .ttm-profile-status-pills{margin-top:12px!important;gap:8px!important}
  .ttm-portal .ttm-pill{font-size:11.5px!important;font-weight:560!important;padding:7px 10px!important}
  .ttm-portal .ttm-profile-avatar-frame{width:118px!important;height:118px!important;border-radius:30px!important}
  .ttm-portal .ttm-profile-avatar-initials{font-size:36px!important;font-weight:780!important}
  .ttm-portal .ttm-profile-upload-box{gap:6px!important}
  .ttm-portal .ttm-profile-file-field{font-size:12px!important;font-weight:650!important}
  .ttm-portal .ttm-profile-file-field input[type=file]{min-height:42px!important;padding:9px!important;border-radius:14px!important}

  .ttm-portal .ttm-profile-grid-panels{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    gap:14px!important;
  }
  .ttm-portal .ttm-profile-section{
    grid-column:span 6!important;
    padding:16px!important;
    border-radius:22px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-content:start!important;
  }
  .ttm-portal .ttm-profile-section.ttm-span-2{grid-column:span 12!important}
  .ttm-portal .ttm-profile-section .ttm-card-head{min-height:34px!important;margin:0 0 2px!important}
  .ttm-portal .ttm-profile-section label{gap:6px!important;font-size:11.5px!important;font-weight:600!important;color:#334155!important}
  .ttm-portal .ttm-profile-section input,
  .ttm-portal .ttm-profile-section select,
  .ttm-portal .ttm-profile-section textarea{
    min-height:41px!important;
    padding:9px 11px!important;
    border-radius:13px!important;
    font-size:12px!important;
    font-weight:520!important;
  }
  .ttm-portal .ttm-profile-section textarea{min-height:78px!important}
  .ttm-portal .ttm-profile-list-card article{padding:10px 12px!important;border-radius:15px!important;min-height:48px!important}
  .ttm-portal .ttm-save-ribbon{padding:13px 15px!important;border-radius:20px!important;margin-bottom:24px!important}
  .ttm-portal .ttm-save-ribbon span{font-size:12px!important;font-weight:520!important;line-height:1.75!important}
  .ttm-portal .ttm-save-ribbon .ttm-btn{min-height:42px!important;border-radius:14px!important;padding:0 16px!important}
}

/* Leaves and dashboard spacing polish */
@media (min-width:1181px){
  .ttm-portal .ttm-leaves-premium{gap:16px!important}
  .ttm-portal .ttm-leave-form-card,
  .ttm-portal .ttm-leave-list-card{border-radius:24px!important;padding:17px!important}
  .ttm-portal .ttm-form input,
  .ttm-portal .ttm-form select,
  .ttm-portal .ttm-form textarea{min-height:42px!important;padding:9px 12px!important;font-size:12px!important;border-radius:13px!important}
  .ttm-portal .ttm-form label{font-size:11.5px!important;font-weight:600!important;color:#334155!important}
  .ttm-portal .ttm-gm-content-grid{gap:16px!important}
  .ttm-portal .ttm-gm-chart-shell{border-radius:22px!important;padding:16px!important}
  .ttm-portal .ttm-gm-chart-shell svg{height:205px!important}
}

/* Admin official seal/signature preview */
.ttm-admin-shell .ttm-admin-official-preview{display:flex;align-items:center;justify-content:center;width:100%;min-height:88px;margin-top:8px;border:1px dashed #dbe2ea;border-radius:18px;background:#f8fafc;padding:10px}
.ttm-admin-shell .ttm-admin-official-preview img{max-width:100%;max-height:92px;object-fit:contain;display:block}

@media (max-width:1180px){
  .ttm-portal .ttm-sidebar-person-card{padding:13px!important;border-radius:22px!important}
  .ttm-portal .ttm-sidebar-person-main{grid-template-columns:54px minmax(0,1fr)!important}
  .ttm-portal .ttm-sidebar-person-avatar{width:54px!important;height:54px!important;border-radius:18px!important}
  .ttm-portal .ttm-profile-section{padding:14px!important;border-radius:22px!important}
  .ttm-portal .ttm-profile-grid-panels{gap:12px!important}
}

/* Teamora Team Management v1.0.0 — desktop app shell: fixed non-scrolling sidebar, only main content scrolls
   This intentionally avoids position:fixed so the sidebar cannot overlap the content. */
@media (min-width:1181px){
  body.ttm-standalone,
  body.ttm-app-page{
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
  }

  .ttm-portal{
    --ttm-sidebar-width:296px;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) var(--ttm-sidebar-width)!important;
    grid-template-areas:"ttm-main ttm-sidebar"!important;
    width:100%!important;
    max-width:100%!important;
    height:100vh!important;
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    direction:ltr!important;
    box-sizing:border-box!important;
  }

  .ttm-portal > .ttm-sidebar{
    grid-area:ttm-sidebar!important;
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    transform:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100vh!important;
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    margin:0!important;
    z-index:20!important;
    direction:rtl!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    box-sizing:border-box!important;
  }

  .ttm-portal > .ttm-sidebar .ttm-nav{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable!important;
  }

  .ttm-portal > .ttm-sidebar .ttm-logout-form{
    flex:0 0 auto!important;
    margin-top:auto!important;
  }

  .ttm-portal > .ttm-main{
    grid-area:ttm-main!important;
    position:relative!important;
    z-index:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:100vh!important;
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:24px clamp(18px,2.2vw,34px) 52px!important;
    direction:rtl!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable both-edges!important;
    box-sizing:border-box!important;
  }

  .ttm-portal > .ttm-main > .ttm-section,
  .ttm-portal .ttm-section.is-active{
    max-width:100%!important;
    min-width:0!important;
  }
}

/* Teamora Team Management v1.0.0 — readable attendance chart */
.ttm-portal .ttm-gm-chart-shell-readable{
  background:linear-gradient(135deg,#0f1720 0%,#111827 52%,#251018 100%)!important;
  color:#fff!important;
  padding:18px!important;
  border-radius:24px!important;
  overflow:hidden!important;
}
.ttm-portal .ttm-gm-chart-explain{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:14px!important;
}
.ttm-portal .ttm-gm-chart-explain b{
  display:block!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:760!important;
  line-height:1.5!important;
}
.ttm-portal .ttm-gm-chart-explain span{
  display:block!important;
  color:rgba(255,255,255,.66)!important;
  font-size:11.5px!important;
  font-weight:500!important;
  line-height:1.8!important;
}
.ttm-portal .ttm-gm-chart-summary{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  justify-content:flex-end!important;
  flex:0 0 auto!important;
}
.ttm-portal .ttm-gm-chart-summary span{
  min-width:82px!important;
  padding:8px 10px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.07)!important;
  border-radius:14px!important;
  text-align:center!important;
}
.ttm-portal .ttm-gm-chart-summary small{
  display:block!important;
  color:rgba(255,255,255,.62)!important;
  font-size:10px!important;
  font-weight:520!important;
  margin-bottom:2px!important;
}
.ttm-portal .ttm-gm-chart-summary b{
  display:block!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
.ttm-portal .ttm-gm-chart-canvas{
  position:relative!important;
  border-radius:20px!important;
  padding:8px 0 0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015))!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.ttm-portal .ttm-gm-chart-canvas svg{
  width:100%!important;
  height:250px!important;
  display:block!important;
  overflow:visible!important;
  direction:ltr!important;
}
.ttm-portal .ttm-gm-chart-grid{
  stroke:rgba(255,255,255,.10)!important;
  stroke-width:1!important;
}
.ttm-portal .ttm-gm-chart-axis-line{
  stroke:rgba(255,255,255,.18)!important;
  stroke-width:1.2!important;
}
.ttm-portal .ttm-gm-chart-axis{
  fill:rgba(255,255,255,.58)!important;
  font-size:11px!important;
  font-weight:650!important;
  text-anchor:middle!important;
  direction:rtl!important;
}
.ttm-portal .ttm-gm-chart-line{
  fill:none!important;
  stroke-width:3.6!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))!important;
}
.ttm-portal .ttm-gm-chart-line-in{stroke:#ff3f59!important}
.ttm-portal .ttm-gm-chart-line-out{stroke:#f8fafc!important;stroke-dasharray:0!important}
.ttm-portal .ttm-gm-chart-dot{
  stroke:#111827!important;
  stroke-width:2.5!important;
}
.ttm-portal .ttm-gm-chart-dot-in{fill:#ff3f59!important}
.ttm-portal .ttm-gm-chart-dot-out{fill:#f8fafc!important}
.ttm-portal .ttm-gm-chart-value{
  font-size:11px!important;
  font-weight:800!important;
  text-anchor:middle!important;
  paint-order:stroke!important;
  stroke:#101722!important;
  stroke-width:4px!important;
  stroke-linejoin:round!important;
}
.ttm-portal .ttm-gm-chart-value-in{fill:#ffb3bd!important}
.ttm-portal .ttm-gm-chart-value-out{fill:#fff!important}
.ttm-portal .ttm-gm-chart-shell-readable .ttm-gm-chart-labels{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:4px!important;
  padding:0 54px 10px 22px!important;
  margin-top:-4px!important;
}
.ttm-portal .ttm-gm-chart-shell-readable .ttm-gm-chart-labels small{
  color:rgba(255,255,255,.62)!important;
  font-size:10px!important;
  font-weight:600!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.ttm-portal .ttm-gm-chart-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-top:12px!important;
  color:rgba(255,255,255,.72)!important;
}
.ttm-portal .ttm-gm-chart-footer p{
  margin:0!important;
  font-size:11px!important;
  font-weight:560!important;
  color:rgba(255,255,255,.62)!important;
}
.ttm-portal .ttm-gm-chart-shell-readable .ttm-gm-chart-legend{
  display:flex!important;
  gap:14px!important;
  align-items:center!important;
  margin:0!important;
  color:#fff!important;
}
.ttm-portal .ttm-gm-chart-shell-readable .ttm-gm-chart-legend span{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  color:rgba(255,255,255,.82)!important;
  font-size:11.5px!important;
  font-weight:650!important;
}
.ttm-portal .ttm-gm-chart-shell-readable .ttm-gm-chart-legend i{
  width:22px!important;
  height:4px!important;
  border-radius:999px!important;
  display:inline-block!important;
}
.ttm-portal .ttm-gm-chart-shell-readable .ttm-gm-chart-legend .is-in{background:#ff3f59!important}
.ttm-portal .ttm-gm-chart-shell-readable .ttm-gm-chart-legend .is-out{background:#f8fafc!important}
.ttm-portal .ttm-gm-chart-empty{
  padding:18px!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  color:var(--ttm-muted)!important;
  text-align:center!important;
}
@media (max-width:1180px){
  .ttm-portal .ttm-gm-chart-explain,
  .ttm-portal .ttm-gm-chart-footer{flex-direction:column!important;align-items:stretch!important}
  .ttm-portal .ttm-gm-chart-summary{justify-content:stretch!important}
  .ttm-portal .ttm-gm-chart-summary span{flex:1 1 90px!important;min-width:0!important}
  .ttm-portal .ttm-gm-chart-canvas{overflow-x:auto!important;overflow-y:hidden!important}
  .ttm-portal .ttm-gm-chart-canvas svg{min-width:620px!important;height:230px!important}
  .ttm-portal .ttm-gm-chart-shell-readable .ttm-gm-chart-labels{min-width:620px!important;padding-left:22px!important;padding-right:54px!important}
}

/* Teamora Team Management v1.0.0 — render backlog: compact dashboard, readable attendance, cleaner profile, mobile sidebar reset */
@media (min-width:1181px){
  .ttm-portal > .ttm-sidebar{
    position:sticky!important;
    top:0!important;
    height:100vh!important;
    height:100svh!important;
    min-height:100vh!important;
    min-height:100svh!important;
    overflow:hidden!important;
  }
  .ttm-portal > .ttm-sidebar .ttm-nav{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding-inline-end:4px!important;
    scrollbar-width:thin!important;
  }
  .ttm-portal > .ttm-main{
    min-height:100vh!important;
    min-height:100svh!important;
  }

  .ttm-gm-top-grid{
    grid-template-columns:minmax(0,1fr) minmax(248px,300px)!important;
    gap:16px!important;
  }
  .ttm-gm-hero-card{
    grid-template-columns:minmax(0,1fr) 250px!important;
    padding:18px!important;
    border-radius:28px!important;
    min-height:214px!important;
    gap:14px!important;
  }
  .ttm-gm-hero-copy h2{
    font-size:clamp(27px,2.4vw,34px)!important;
    margin:8px 0 8px!important;
    line-height:1.28!important;
  }
  .ttm-gm-hero-copy p{
    font-size:13px!important;
    line-height:1.85!important;
    max-width:100%!important;
  }
  .ttm-gm-hero-actions{
    gap:8px!important;
    margin-top:14px!important;
  }
  .ttm-gm-hero-actions .ttm-btn{
    min-height:42px!important;
    padding:10px 14px!important;
    border-radius:14px!important;
    font-size:12px!important;
  }
  .ttm-gm-hero-identity{
    padding:14px!important;
    gap:12px!important;
    border-radius:22px!important;
  }
  .ttm-gm-hero-avatar .ttm-dashboard-avatar{
    width:64px!important;
    height:64px!important;
    border-radius:20px!important;
    font-size:20px!important;
  }
  .ttm-gm-hero-meta strong{font-size:18px!important}
  .ttm-gm-hero-meta span{font-size:11.5px!important;margin-top:4px!important}
  .ttm-gm-hero-status{gap:9px!important}
  .ttm-gm-hero-status > div{padding:10px 12px!important;border-radius:15px!important}
  .ttm-gm-phone-card{
    padding:14px!important;
    border-radius:28px!important;
    min-height:214px!important;
    gap:12px!important;
  }
  .ttm-gm-phone-head .ttm-dashboard-avatar{
    width:54px!important;
    height:54px!important;
    border-radius:18px!important;
  }
  .ttm-gm-phone-head strong{font-size:15px!important}
  .ttm-gm-phone-head span{font-size:11px!important}
  .ttm-gm-phone-stat{
    padding:14px!important;
    border-radius:18px!important;
  }
  .ttm-gm-phone-stat b{
    font-size:22px!important;
    margin:6px 0 3px!important;
    line-height:1.2!important;
  }
  .ttm-gm-phone-grid{gap:8px!important}
  .ttm-gm-phone-grid button{
    padding:11px 10px!important;
    border-radius:15px!important;
    min-height:66px!important;
  }
  .ttm-gm-phone-grid span{font-size:11px!important}
  .ttm-gm-phone-grid b{font-size:16px!important}

  .ttm-profile-app-layout{
    grid-template-columns:minmax(250px,285px) minmax(0,1fr)!important;
    gap:18px!important;
  }
  .ttm-profile-mobile-card{
    position:sticky!important;
    top:22px!important;
    max-height:none!important;
    overflow:visible!important;
    padding:16px!important;
    border-radius:26px!important;
  }
  .ttm-profile-mobile-head{gap:10px!important}
  .ttm-profile-mobile-avatar-wrap{width:54px!important;height:54px!important;border-radius:18px!important}
  .ttm-profile-mobile-head strong{font-size:15px!important;font-weight:760!important}
  .ttm-profile-mobile-head span{font-size:11px!important}
  .ttm-profile-mobile-kpi{padding:14px!important;border-radius:18px!important;margin-top:12px!important}
  .ttm-profile-mobile-kpi b{font-size:17px!important;margin:5px 0 2px!important}
  .ttm-profile-mobile-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important}
  .ttm-profile-mobile-actions button{min-height:40px!important;padding:10px 9px!important;border-radius:14px!important;font-size:11px!important}
  .ttm-profile-mini-card{padding:12px!important;border-radius:18px!important;margin-top:10px!important}
  .ttm-profile-mini-card h4{font-size:14px!important;margin-bottom:8px!important}
  .ttm-profile-mini-card div{padding:7px 0!important}
  .ttm-profile-editor-shell{gap:14px!important}
  .ttm-profile-hero-updated{
    grid-template-columns:minmax(0,1fr) 240px!important;
    gap:14px!important;
    padding:18px!important;
    border-radius:26px!important;
  }
  .ttm-profile-hero-copy h3{font-size:24px!important;margin:8px 0 4px!important}
  .ttm-profile-hero-copy p{font-size:12.5px!important;line-height:1.85!important}
  .ttm-profile-status-pills{margin-top:10px!important;gap:7px!important}
  .ttm-profile-avatar-frame{width:112px!important;height:112px!important;border-radius:28px!important}
  .ttm-profile-grid-panels{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:14px!important}
  .ttm-profile-grid-panels > .ttm-profile-section{grid-column:span 6!important}
  .ttm-profile-grid-panels > .ttm-profile-section.ttm-span-2,
  .ttm-profile-grid-panels > .ttm-save-ribbon{grid-column:1 / -1!important}
  .ttm-profile-section{
    padding:16px!important;
    border-radius:22px!important;
    gap:12px!important;
  }
  .ttm-profile-section label{font-size:11.5px!important}
  .ttm-profile-section input,
  .ttm-profile-section textarea,
  .ttm-profile-section select{min-height:42px!important;font-size:12px!important;padding:10px 11px!important}
  .ttm-profile-list-card article{padding:11px 12px!important;border-radius:15px!important}
  .ttm-save-ribbon{padding:14px 16px!important;border-radius:20px!important}
  .ttm-save-ribbon .ttm-btn{min-height:42px!important}

  .ttm-leaves-premium{
    grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr)!important;
    gap:14px!important;
  }
  .ttm-leave-form-card,
  .ttm-leave-list-card{
    padding:16px!important;
    border-radius:24px!important;
  }
  .ttm-leave-list-card .ttm-table{min-width:680px!important}
}

/* Readable attendance summary replacing confusing line chart */
.ttm-gm-attendance-overview{
  display:grid!important;
  gap:14px!important;
  border-radius:24px!important;
  padding:18px!important;
  background:linear-gradient(180deg,#101723 0%,#0c1220 100%)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
.ttm-gm-attendance-intro{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.ttm-gm-attendance-intro b{
  display:block!important;
  font-size:16px!important;
  color:#fff!important;
  margin-bottom:5px!important;
}
.ttm-gm-attendance-intro span{
  display:block!important;
  font-size:12px!important;
  line-height:1.9!important;
  color:rgba(255,255,255,.75)!important;
  max-width:560px!important;
}
.ttm-gm-attendance-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.ttm-gm-attendance-kpis article{
  padding:14px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.ttm-gm-attendance-kpis small{
  display:block!important;
  font-size:11px!important;
  color:rgba(255,255,255,.68)!important;
}
.ttm-gm-attendance-kpis b{
  display:block!important;
  margin:6px 0 4px!important;
  font-size:24px!important;
  line-height:1.1!important;
  color:#fff!important;
}
.ttm-gm-attendance-kpis span{
  display:block!important;
  font-size:11px!important;
  color:rgba(255,255,255,.58)!important;
}
.ttm-gm-attendance-list{
  display:grid!important;
  gap:10px!important;
}
.ttm-gm-attendance-row{
  padding:12px 14px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(255,255,255,.07)!important;
}
.ttm-gm-attendance-row-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:10px!important;
}
.ttm-gm-attendance-row-head strong{
  font-size:13px!important;
  color:#fff!important;
}
.ttm-gm-attendance-row-head span{
  font-size:11.5px!important;
  color:rgba(255,255,255,.7)!important;
}
.ttm-gm-attendance-bars{
  display:grid!important;
  gap:8px!important;
}
.ttm-gm-attendance-bar-item{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 30px!important;
  align-items:center!important;
  gap:10px!important;
}
.ttm-gm-attendance-bar-item label{
  color:rgba(255,255,255,.72)!important;
  font-size:11.5px!important;
  font-weight:700!important;
}
.ttm-gm-attendance-bar-item b{
  color:#fff!important;
  font-size:12px!important;
  text-align:left!important;
}
.ttm-gm-attendance-bar-track{
  position:relative!important;
  height:10px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.08)!important;
}
.ttm-gm-attendance-bar-track i{
  position:absolute!important;
  inset-inline-start:0!important;
  top:0!important;
  bottom:0!important;
  border-radius:999px!important;
  display:block!important;
}
.ttm-gm-attendance-bar-track i.is-in{background:linear-gradient(90deg,#ff6672,#ff3447)!important}
.ttm-gm-attendance-bar-track i.is-out{background:linear-gradient(90deg,#ffffff,#dbe5f3)!important}
.ttm-gm-attendance-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding-top:4px!important;
}
.ttm-gm-attendance-footer p{
  margin:0!important;
  color:rgba(255,255,255,.74)!important;
  font-size:12px!important;
}
.ttm-gm-attendance-legend{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  flex-wrap:wrap!important;
}
.ttm-gm-attendance-legend span{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  color:rgba(255,255,255,.84)!important;
  font-size:11.5px!important;
}
.ttm-gm-attendance-legend i{
  width:18px!important;
  height:6px!important;
  border-radius:999px!important;
  display:inline-block!important;
}
.ttm-gm-attendance-legend .is-in{background:#ff4356!important}
.ttm-gm-attendance-legend .is-out{background:#ffffff!important}

/* Desktop sidebar typography and composition reset */
.ttm-portal .ttm-sidebar-person-card{
  gap:10px!important;
  padding:12px!important;
  border-radius:22px!important;
}
.ttm-portal .ttm-sidebar-person-main{grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important}
.ttm-portal .ttm-sidebar-person-avatar{width:54px!important;height:54px!important;border-radius:18px!important;font-size:18px!important}
.ttm-portal .ttm-sidebar-person-copy strong{font-size:13.5px!important;font-weight:760!important}
.ttm-portal .ttm-sidebar-person-copy span{font-size:11px!important;font-weight:520!important}
.ttm-portal .ttm-sidebar-person-copy small{font-size:10px!important}
.ttm-portal .ttm-sidebar-person-actions{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
.ttm-portal .ttm-sidebar-brand-badge{padding:6px 8px!important;border-radius:12px!important}
.ttm-portal .ttm-sidebar-brand-badge img{width:20px!important;height:20px!important}
.ttm-portal .ttm-nav-item{font-size:12px!important;font-weight:700!important;min-height:44px!important}
.ttm-portal .ttm-nav-item span{width:28px!important;height:28px!important;border-radius:10px!important}

@media (max-width:1180px){
  .ttm-gm-attendance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:780px){
  .ttm-mobile-head{
    padding-top:calc(10px + env(safe-area-inset-top,0px))!important;
  }
  .ttm-sidebar{
    width:min(88vw,340px)!important;
    padding:14px 14px calc(18px + env(safe-area-inset-bottom,0px))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    border-inline-start:1px solid rgba(255,255,255,.08)!important;
    box-shadow:-18px 0 46px rgba(2,6,23,.42)!important;
  }
  .ttm-sidebar .ttm-nav{
    overflow:visible!important;
    padding-top:10px!important;
    margin-top:4px!important;
    border-top:1px solid rgba(255,255,255,.07)!important;
  }
  .ttm-portal .ttm-sidebar-person-card{
    padding:12px!important;
    gap:10px!important;
  }
  .ttm-portal .ttm-sidebar-person-main{
    grid-template-columns:50px minmax(0,1fr)!important;
  }
  .ttm-portal .ttm-sidebar-person-avatar{
    width:50px!important;
    height:50px!important;
    border-radius:16px!important;
  }
  .ttm-portal .ttm-sidebar-person-actions{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
  .ttm-portal .ttm-sidebar-brand-badge{
    justify-self:start!important;
  }
  .ttm-portal .ttm-nav-item{min-height:46px!important}
  .ttm-profile-mobile-card{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .ttm-profile-grid-panels,
  .ttm-gm-attendance-kpis{
    grid-template-columns:1fr!important;
  }
  .ttm-gm-attendance-intro,
  .ttm-gm-attendance-footer,
  .ttm-gm-attendance-row-head{
    display:grid!important;
    gap:8px!important;
  }
  .ttm-gm-attendance-bar-item{
    grid-template-columns:42px minmax(0,1fr) 28px!important;
    gap:8px!important;
  }
}

/* Teamora v1.0.0 — Phase 1: Dashboard Command Center Preview
   Scoped to dashboard only; locked base v1.0.0 is preserved. */
.ttm-command-dashboard{display:grid;gap:18px;min-width:0;width:100%}
.ttm-command-hero{position:relative;overflow:hidden;border-radius:30px;padding:22px;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:18px;align-items:stretch;background:radial-gradient(circle at 8% 12%,rgba(255,255,255,.16),transparent 24%),linear-gradient(135deg,#101114 0%,#21141a 52%,#b00610 100%);color:#fff;box-shadow:0 24px 70px rgba(15,23,42,.16)}
.ttm-command-hero:before{content:"";position:absolute;inset:auto -80px -100px auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 66%);pointer-events:none}.ttm-command-hero>*{position:relative;z-index:1}.ttm-command-hero-copy h2{margin:10px 0 8px;color:#fff;font-size:clamp(28px,3vw,42px);line-height:1.25;font-weight:900}.ttm-command-hero-copy p{margin:0;max-width:760px;color:rgba(255,255,255,.78);line-height:2;font-weight:650}.ttm-command-status-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.ttm-command-status-line small{color:rgba(255,255,255,.70);font-weight:700}.ttm-command-hero-profile{display:flex;align-items:center;gap:14px;min-width:0;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);border-radius:24px;padding:16px;backdrop-filter:blur(10px)}.ttm-command-hero-profile .ttm-dashboard-avatar{width:70px;height:70px;border-radius:24px;flex:0 0 70px}.ttm-command-hero-profile div{min-width:0}.ttm-command-hero-profile strong{display:block;color:#fff;font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ttm-command-hero-profile span,.ttm-command-hero-profile small{display:block;margin-top:6px;color:rgba(255,255,255,.72);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ttm-command-today-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ttm-command-today-grid article{position:relative;overflow:hidden;border-radius:22px;padding:16px;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid rgba(226,232,240,.9);box-shadow:0 14px 36px rgba(15,23,42,.055)}.ttm-command-today-grid article:before{content:"";position:absolute;inset-inline-start:0;top:18px;width:4px;height:52px;border-radius:99px;background:linear-gradient(180deg,var(--ttm-primary),var(--ttm-primary-2))}.ttm-command-today-grid article.is-hot{background:linear-gradient(135deg,#fff7f7,#fff)}.ttm-command-today-grid span{display:block;color:var(--ttm-muted);font-size:12px;font-weight:850}.ttm-command-today-grid strong{display:block;margin:9px 0 5px;color:#111827;font-size:27px;line-height:1.15;font-weight:900}.ttm-command-today-grid small{display:block;color:#8a94a6;font-size:11.5px;font-weight:650;line-height:1.6}
.ttm-command-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,370px);gap:16px;align-items:start}.ttm-command-maincol,.ttm-command-sidecol{display:grid;gap:16px;min-width:0}.ttm-command-panel{min-width:0;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid rgba(226,232,240,.9);border-radius:26px;padding:18px;box-shadow:0 16px 42px rgba(15,23,42,.06);overflow:hidden}.ttm-command-panel-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}.ttm-command-panel-head>span{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--ttm-soft);color:var(--ttm-primary);font-weight:900;flex:0 0 40px}.ttm-command-panel-head h3{margin:0 0 4px;color:#111827;font-size:18px;font-weight:900}.ttm-command-panel-head p{margin:0;color:#6b7280;font-size:12.5px;line-height:1.7;font-weight:650}.ttm-command-alert-list{display:grid;gap:10px}.ttm-command-alert{width:100%;appearance:none;border:1px solid #eef2f7;background:#f8fafc;color:#111827;border-radius:18px;padding:13px 14px;text-align:right;display:grid;gap:5px;box-shadow:none}.ttm-command-alert b{font-size:14px;color:#111827}.ttm-command-alert span{font-size:12px;line-height:1.7;color:#64748b}.ttm-command-alert.is-danger{background:#fff1f2;border-color:#fecdd3}.ttm-command-alert.is-warning{background:#fff7ed;border-color:#fed7aa}.ttm-command-alert.is-success{background:#ecfdf5;border-color:#bbf7d0}.ttm-command-alert:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(15,23,42,.07)}.ttm-command-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ttm-command-action-grid button{appearance:none;border:1px solid rgba(229,9,20,.12);background:linear-gradient(135deg,#fff,rgba(229,9,20,.035));color:var(--ttm-primary);border-radius:16px;min-height:52px;padding:12px;font-weight:850;text-align:center;box-shadow:none}.ttm-command-action-grid button:hover{background:#fff5f6}.ttm-command-finance-total{border-radius:20px;padding:16px;background:linear-gradient(135deg,var(--ttm-primary),#2a1014);color:#fff}.ttm-command-finance-total span,.ttm-command-finance-total small{display:block;color:rgba(255,255,255,.72);font-size:12px}.ttm-command-finance-total b{display:block;margin:8px 0 5px;color:#fff;font-size:25px;line-height:1.2}.ttm-command-mini-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.ttm-command-mini-metrics span{display:grid;gap:5px;border-radius:16px;background:#f8fafc;border:1px solid #eef2f7;padding:12px}.ttm-command-mini-metrics small{color:#64748b;font-size:11.5px}.ttm-command-mini-metrics b{color:#111827;font-size:21px}.ttm-command-bottom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.ttm-command-dashboard .ttm-gm-chart-shell{border-radius:22px}.ttm-command-dashboard .ttm-gm-chart-shell svg{max-height:220px}.ttm-command-dashboard .ttm-gm-team-list article,.ttm-command-dashboard .ttm-gm-activity-list article,.ttm-command-dashboard .ttm-gm-doc-list article{border-radius:16px;padding:12px 13px}
@media(max-width:1280px){.ttm-command-today-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ttm-command-layout{grid-template-columns:1fr}.ttm-command-sidecol{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-command-bottom-grid{grid-template-columns:1fr 1fr}}
@media(max-width:860px){.ttm-command-hero{grid-template-columns:1fr}.ttm-command-today-grid,.ttm-command-sidecol,.ttm-command-bottom-grid{grid-template-columns:1fr}.ttm-command-action-grid,.ttm-command-mini-metrics{grid-template-columns:1fr 1fr}.ttm-command-hero-profile{align-items:center}.ttm-command-hero-copy h2{font-size:28px}}
@media(max-width:520px){.ttm-command-action-grid,.ttm-command-mini-metrics{grid-template-columns:1fr}.ttm-command-panel,.ttm-command-hero{border-radius:22px;padding:15px}.ttm-command-today-grid article{border-radius:18px;padding:14px}.ttm-command-hero-profile .ttm-dashboard-avatar{width:58px;height:58px;border-radius:20px;flex-basis:58px}}

/* Teamora Team Management v1.0.0 — Phase 2 Employee Profile System
   Scoped to profile and employee dossier surfaces only. Locked modules remain untouched. */
.ttm-profile-dossier-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:0 0 16px;
}
.ttm-profile-dossier-strip article,
.ttm-employee-dossier-metrics article{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(226,232,240,.92);
  border-radius:24px;
  padding:16px 18px;
  background:linear-gradient(180deg,#fff,#fbfcff);
  box-shadow:0 14px 36px rgba(15,23,42,.055);
}
.ttm-profile-dossier-strip article:before,
.ttm-employee-dossier-metrics article:before{
  content:"";
  position:absolute;
  inset-inline-end:0;
  top:18px;
  width:4px;
  height:48px;
  border-radius:99px;
  background:linear-gradient(180deg,var(--ttm-primary),var(--ttm-accent,#f97316));
}
.ttm-profile-dossier-strip span,
.ttm-employee-dossier-metrics span{
  display:block;
  color:var(--ttm-muted,#64748b);
  font-size:12px;
  font-weight:800;
  line-height:1.7;
}
.ttm-profile-dossier-strip strong,
.ttm-employee-dossier-metrics strong{
  display:block;
  margin:8px 0 5px;
  color:var(--ttm-text,#111827);
  font-size:20px;
  font-weight:900;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ttm-profile-dossier-strip small,
.ttm-employee-dossier-metrics small{
  display:block;
  color:var(--ttm-muted,#64748b);
  font-size:12px;
  line-height:1.65;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ttm-profile-hero-updated .ttm-profile-status-pills{
  align-items:center;
}
.ttm-profile-hero-updated .ttm-pill{
  line-height:1.45;
}
.ttm-profile-grid-panels .ttm-profile-section{
  align-content:start;
}
.ttm-profile-list-card article strong,
.ttm-profile-list-card article b,
.ttm-profile-list-card article small{
  overflow-wrap:anywhere;
}
.ttm-profile-mini-card div{
  min-width:0;
}
.ttm-profile-mini-card b{
  min-width:0;
  text-align:left;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ttm-employee-dossier-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:16px;
}
.ttm-employee-dossier-form h3{
  margin-bottom:14px;
}
.ttm-table td small{
  display:inline-block;
  margin-top:4px;
  color:var(--ttm-muted,#64748b);
  font-size:11px;
}
@media (max-width:1180px){
  .ttm-profile-dossier-strip,
  .ttm-employee-dossier-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .ttm-profile-dossier-strip,
  .ttm-employee-dossier-metrics{
    grid-template-columns:1fr;
  }
  .ttm-profile-dossier-strip article,
  .ttm-employee-dossier-metrics article{
    border-radius:20px;
    padding:14px 15px;
  }
}


/* Teamora Team Management v1.0.0 — Contracts & Employment Status
   Scope: employee dossier / profile contracts only. Locked modules are not touched. */
.ttm-contract-dossier-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:16px;
}
.ttm-contract-dossier-metrics article,
.ttm-contract-alert-grid article{
  background:linear-gradient(180deg,#fff,#fbfcff);
  border:1px solid rgba(226,232,240,.95);
  border-radius:22px;
  padding:16px;
  box-shadow:0 14px 34px rgba(15,23,42,.055);
  min-width:0;
}
.ttm-contract-dossier-metrics span,
.ttm-contract-alert-grid span{
  display:block;
  color:var(--ttm-muted,#64748b);
  font-size:12px;
  font-weight:700;
}
.ttm-contract-dossier-metrics strong,
.ttm-contract-alert-grid strong{
  display:block;
  color:var(--ttm-text,#111827);
  font-size:27px;
  line-height:1.15;
  margin:8px 0 5px;
  font-weight:800;
}
.ttm-contract-dossier-metrics small,
.ttm-contract-alert-grid small{
  color:var(--ttm-muted,#64748b);
  font-size:11.5px;
  line-height:1.7;
}
.ttm-contract-alert-panel{
  margin-bottom:16px;
}
.ttm-contract-alert-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.ttm-contract-fieldset{
  border:1px solid rgba(226,232,240,.95);
  border-radius:24px;
  padding:16px;
  background:linear-gradient(135deg,#f8fafc,#fff);
}
.ttm-contract-fieldset .ttm-card-head{
  margin-bottom:12px;
}
.ttm-contract-field-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.ttm-contract-profile-card .ttm-contract-state{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:10px 0 0;
}
.ttm-contract-editor-form .ttm-media-name{
  display:block;
  margin-top:8px;
  color:var(--ttm-muted,#64748b);
  font-size:11.5px;
}
@media (max-width:1180px){
  .ttm-contract-dossier-metrics,
  .ttm-contract-alert-grid,
  .ttm-contract-field-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .ttm-contract-dossier-metrics,
  .ttm-contract-alert-grid,
  .ttm-contract-field-grid{
    grid-template-columns:1fr;
  }
  .ttm-contract-fieldset{
    padding:13px;
    border-radius:20px;
  }
}


/* Teamora Team Management v1.0.0 — Payroll Adjustments */
.ttm-payroll-adjustment-shell{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:16px;
  margin-bottom:18px;
  align-items:stretch;
}
.ttm-payroll-adjustment-form-card,
.ttm-payroll-adjustment-summary-card,
.ttm-payroll-adjustment-list-card,
.ttm-payroll-adjustment-profile-card{
  overflow:hidden;
}
.ttm-payroll-adjustment-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.ttm-payroll-adjustment-metrics article{
  border-radius:18px;
  padding:14px;
  background:#f8fafc;
  border:1px solid #e9edf3;
  display:grid;
  gap:6px;
}
.ttm-payroll-adjustment-metrics span{
  color:var(--ttm-muted,#64748b);
  font-size:12px;
  font-weight:800;
}
.ttm-payroll-adjustment-metrics strong{
  color:var(--ttm-text,#111827);
  font-size:22px;
  line-height:1.2;
}
.ttm-payroll-adjustment-metrics small{
  color:var(--ttm-muted,#64748b);
  font-size:11px;
}
.ttm-payroll-adjustment-list-card .ttm-table td,
.ttm-payroll-adjustment-list-card .ttm-table th{
  white-space:nowrap;
}
.ttm-payroll-adjustment-profile-card .ttm-profile-list-card article:first-child{
  background:linear-gradient(135deg,#fff7f8,#fff);
  border-color:#fee2e2;
}
@media (max-width:1180px){
  .ttm-payroll-adjustment-shell{
    grid-template-columns:1fr;
  }
  .ttm-payroll-adjustment-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width:680px){
  .ttm-payroll-adjustment-metrics{
    grid-template-columns:1fr;
  }
}

/* Teamora Team Management v1.0.0 — Request Center */
.ttm-request-center-shell{display:grid;gap:18px;min-width:0}.ttm-request-center-hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px;align-items:center;border-radius:30px;padding:24px;background:linear-gradient(135deg,#111827,#1f2937 58%,var(--ttm-primary));color:#fff;box-shadow:0 22px 62px rgba(15,23,42,.16);overflow:hidden}.ttm-request-center-hero h2{margin:8px 0 10px;color:#fff;font-size:32px;line-height:1.25}.ttm-request-center-hero p{margin:0;color:rgba(255,255,255,.78);line-height:1.9;max-width:760px}.ttm-request-center-score{display:grid;gap:6px;justify-items:center;text-align:center;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.08);border-radius:24px;padding:18px}.ttm-request-center-score strong{font-size:42px;color:#fff;line-height:1}.ttm-request-center-score span{font-weight:900;color:#fff}.ttm-request-center-score small{color:rgba(255,255,255,.65)}.ttm-request-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ttm-request-metrics article{background:#fff;border:1px solid #e9edf3;border-radius:22px;padding:16px;box-shadow:0 14px 34px rgba(15,23,42,.055);display:grid;gap:6px;min-width:0}.ttm-request-metrics span{font-size:12px;color:var(--ttm-muted);font-weight:800}.ttm-request-metrics strong{font-size:28px;color:var(--ttm-text);line-height:1.1}.ttm-request-metrics small{font-size:11px;color:var(--ttm-muted)}.ttm-request-center-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);gap:16px;align-items:start}.ttm-request-form-card,.ttm-request-guide-card,.ttm-request-list-card{border-radius:26px}.ttm-request-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ttm-request-type-grid span{display:flex;align-items:center;min-height:38px;padding:8px 10px;border-radius:14px;background:#f8fafc;border:1px solid #eef2f7;color:#334155;font-size:12px;font-weight:800}.ttm-muted-note{margin:14px 0 0;color:var(--ttm-muted);line-height:1.9;font-size:12px}.ttm-request-table td{vertical-align:top}.ttm-request-table small{line-height:1.75;color:var(--ttm-muted)}.ttm-request-review-form{display:grid!important;grid-template-columns:130px minmax(160px,1fr) auto!important;gap:8px!important;align-items:center!important;min-width:420px!important}.ttm-request-review-form select,.ttm-request-review-form input{min-height:36px!important;border:1px solid #dbe2ea!important;border-radius:12px!important;padding:7px 9px!important;background:#fff!important;font-size:12px!important}.ttm-request-review-form .ttm-btn-mini{min-height:36px!important;border-radius:12px!important;padding:0 12px!important;white-space:nowrap!important}
@media (max-width:1180px){.ttm-request-center-hero,.ttm-request-center-grid{grid-template-columns:1fr}.ttm-request-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-request-center-hero{padding:18px;border-radius:24px}.ttm-request-center-hero h2{font-size:25px}.ttm-request-review-form{min-width:520px!important}}
@media (max-width:620px){.ttm-request-metrics,.ttm-request-type-grid{grid-template-columns:1fr}.ttm-request-center-score{justify-items:start;text-align:right}.ttm-request-center-score strong{font-size:34px}.ttm-request-table{min-width:920px}}


/* Teamora Team Management v1.0.0 — Advanced Attendance & Shifts */
.ttm-shift-mini-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:14px 0 12px;
}
.ttm-shift-mini-grid>div{
  border:1px solid #eef2f7;
  background:#f8fafc;
  border-radius:18px;
  padding:12px 14px;
  display:grid;
  gap:6px;
}
.ttm-shift-mini-grid span{
  color:var(--ttm-muted);
  font-size:11px;
  font-weight:800;
}
.ttm-shift-mini-grid strong{
  color:var(--ttm-text);
  font-size:14px;
  font-weight:950;
}
.ttm-shift-guide-card{
  overflow:hidden;
}
.ttm-shift-guide-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.ttm-shift-guide-grid article{
  border:1px solid #edf2f7;
  background:linear-gradient(180deg,#fff,#f8fafc);
  border-radius:18px;
  padding:14px;
  display:grid;
  gap:7px;
}
.ttm-shift-guide-grid b{
  color:var(--ttm-text);
  font-size:13px;
  font-weight:950;
}
.ttm-shift-guide-grid span{
  color:var(--ttm-muted);
  font-size:11.5px;
  line-height:1.8;
}
.ttm-checkbox-label{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:44px;
}
.ttm-checkbox-label input[type=checkbox]{
  width:18px!important;
  height:18px!important;
  min-height:18px!important;
}
.ttm-attendance-obligation-card .ttm-grid-form{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media (max-width:1180px){
  .ttm-shift-mini-grid,
  .ttm-shift-guide-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ttm-attendance-obligation-card .ttm-grid-form{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .ttm-shift-mini-grid,
  .ttm-shift-guide-grid,
  .ttm-attendance-obligation-card .ttm-grid-form{
    grid-template-columns:1fr;
  }
}


/* Teamora Team Management v1.0.0 — Performance & Daily Work */
.ttm-performance-shell{display:grid;gap:18px}.ttm-performance-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;border-radius:28px;background:linear-gradient(135deg,#101827,#233149);color:#fff;box-shadow:0 18px 45px rgba(15,23,42,.12)}.ttm-performance-hero h2{margin:8px 0 8px;color:#fff;font-size:28px}.ttm-performance-hero p{margin:0;color:rgba(255,255,255,.78);line-height:1.9}.ttm-performance-hero-score{min-width:145px;text-align:center;padding:16px;border-radius:22px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12)}.ttm-performance-hero-score small,.ttm-performance-hero-score span{display:block;color:rgba(255,255,255,.72);font-size:12px}.ttm-performance-hero-score strong{display:block;color:#fff;font-size:34px;line-height:1.15;margin:6px 0}.ttm-performance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ttm-performance-kpis article{padding:16px;border-radius:22px;background:#fff;border:1px solid #e9edf3;box-shadow:0 12px 34px rgba(15,23,42,.05)}.ttm-performance-kpis span,.ttm-performance-kpis small{display:block;color:var(--ttm-muted);font-size:12px}.ttm-performance-kpis strong{display:block;margin:8px 0;color:var(--ttm-text);font-size:25px}.ttm-performance-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px;align-items:start}.ttm-performance-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ttm-performance-mini-stats article{padding:14px;border-radius:18px;background:#f8fafc;border:1px solid #eef2f7}.ttm-performance-mini-stats span{display:block;color:var(--ttm-muted);font-size:12px}.ttm-performance-mini-stats b{display:block;margin-top:6px;color:var(--ttm-primary);font-size:22px}.ttm-performance-help{margin:14px 0 0;color:var(--ttm-muted);line-height:1.9}.ttm-performance-table-card .ttm-table td small,.ttm-performance-table-card .ttm-table td b{display:block}.ttm-performance-table-card .ttm-inline-form{min-width:320px}.ttm-performance-profile-card .ttm-profile-list-card article strong{color:var(--ttm-primary)}
@media (max-width:1180px){.ttm-performance-hero{display:grid}.ttm-performance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-performance-grid{grid-template-columns:1fr}.ttm-performance-table-card .ttm-table{min-width:980px}}
@media (max-width:640px){.ttm-performance-kpis,.ttm-performance-mini-stats{grid-template-columns:1fr}.ttm-performance-hero{padding:18px;border-radius:22px}.ttm-performance-hero h2{font-size:23px}}


/* Teamora Team Management v1.0.0 — Company Assets */
.ttm-assets-shell{display:grid;gap:18px}
.ttm-assets-hero{position:relative;overflow:hidden}
.ttm-assets-hero:after{content:"";position:absolute;inset:auto -60px -80px auto;width:190px;height:190px;border-radius:50%;background:color-mix(in srgb,var(--ttm-primary) 12%,transparent);pointer-events:none}
.ttm-assets-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:14px;position:relative;z-index:1}
.ttm-assets-metrics article{border:1px solid #edf1f6;background:linear-gradient(180deg,#fff,#fbfcff);border-radius:20px;padding:14px 16px;box-shadow:0 12px 30px rgba(15,23,42,.045)}
.ttm-assets-metrics span{display:block;color:var(--ttm-muted);font-size:12px;font-weight:850}
.ttm-assets-metrics strong{display:block;color:var(--ttm-text);font-size:23px;line-height:1.2;margin:8px 0 4px;font-weight:900}
.ttm-assets-metrics small{display:block;color:var(--ttm-muted);font-size:11px;line-height:1.7}
.ttm-assets-form-card .ttm-form textarea{min-height:78px}
.ttm-assets-table-card .ttm-table td{vertical-align:middle}
.ttm-asset-inline-form{min-width:720px!important;display:grid!important;grid-template-columns:150px 180px 120px 150px minmax(160px,1fr) auto!important;gap:8px!important;align-items:center!important}
.ttm-asset-inline-form select,.ttm-asset-inline-form input{min-height:36px!important;border-radius:12px!important;font-size:12px!important}
.ttm-assets-profile-card .ttm-profile-list-card article{border-inline-start:3px solid color-mix(in srgb,var(--ttm-primary) 55%,#fff)}
@media (max-width:1320px){.ttm-assets-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.ttm-asset-inline-form{min-width:760px!important}}
@media (max-width:820px){.ttm-assets-metrics{grid-template-columns:1fr 1fr}.ttm-assets-form-card,.ttm-assets-table-card{border-radius:22px}.ttm-assets-table-card .ttm-table{min-width:980px}}
@media (max-width:560px){.ttm-assets-metrics{grid-template-columns:1fr}.ttm-assets-metrics article{padding:13px 14px}.ttm-assets-metrics strong{font-size:20px}}


/* Teamora Team Management v1.0.0 — Official Documents & PDF Engine */
.ttm-official-v19-hero{grid-template-columns:repeat(4,minmax(0,1fr))}
.ttm-official-engine-card{border:1px solid rgba(17,24,39,.08);background:linear-gradient(135deg,#fff,#f8fafc)}
.ttm-official-engine-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.ttm-official-engine-flow span{display:inline-flex;align-items:center;min-height:38px;border-radius:999px;background:#111827;color:#fff;padding:8px 13px;font-size:12px;font-weight:900}
.ttm-official-engine-flow i{width:28px;height:2px;border-radius:999px;background:linear-gradient(90deg,var(--ttm-primary),rgba(17,24,39,.18));display:inline-block}
.ttm-doc-card-v19 small{display:block;line-height:1.7}.ttm-doc-validity-line{display:grid;gap:6px;margin:10px 0}.ttm-doc-validity-line span{display:inline-flex;align-items:center;border-radius:13px;background:#f8fafc;border:1px solid #edf2f7;color:#64748b;padding:7px 10px;font-size:11px;font-weight:850}.ttm-official-archive-table td small{display:block;margin-top:4px;color:#94a3b8;font-size:11px;font-weight:800}.ttm-official-archive-table b{font-weight:950}.ttm-official-request-card .ttm-grid-form label,.ttm-manager-form .ttm-grid-form label{min-width:0}.ttm-official-request-card .ttm-form select,.ttm-manager-form .ttm-form select{width:100%}.ttm-pdf-link{box-shadow:0 8px 20px rgba(229,9,20,.18)}
@media (max-width:920px){.ttm-official-v19-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-official-engine-flow{align-items:stretch}.ttm-official-engine-flow span{width:100%;justify-content:center}.ttm-official-engine-flow i{display:none}.ttm-official-archive-table{min-width:1180px}}
@media (max-width:620px){.ttm-official-v19-hero{grid-template-columns:1fr}.ttm-doc-validity-line{grid-template-columns:1fr}.ttm-official-engine-card{padding:14px}.ttm-official-engine-flow span{font-size:11.5px}}

/* Teamora v1.0.0 — Security & Activity Logs */
.ttm-security-shell{display:grid;gap:18px}.ttm-security-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;background:linear-gradient(135deg,#101827,#172033);color:#fff;border:0}.ttm-security-hero .ttm-eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.1);font-size:11px;font-weight:900;color:#fff}.ttm-security-hero h2{margin:10px 0 8px;font-size:26px;color:#fff}.ttm-security-hero p{margin:0;max-width:720px;color:rgba(255,255,255,.74);line-height:1.9;font-size:13px}.ttm-security-hero-badge{min-width:148px;padding:16px;border-radius:22px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);text-align:center}.ttm-security-hero-badge b{display:block;font-size:30px;line-height:1;color:#fff}.ttm-security-hero-badge span{display:block;margin-top:8px;font-size:12px;color:rgba(255,255,255,.76)}.ttm-security-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ttm-security-kpis article{padding:16px;border-radius:22px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 34px rgba(15,23,42,.06)}.ttm-security-kpis span,.ttm-security-kpis small{display:block;color:#64748b;font-size:12px}.ttm-security-kpis b{display:block;margin:8px 0 5px;color:#0f172a;font-size:25px}.ttm-security-filter-card,.ttm-security-log-card{padding:18px}.ttm-security-filter-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:12px;align-items:end}.ttm-security-filter-form label{display:grid;gap:6px;font-size:12px;font-weight:900;color:#475569}.ttm-security-filter-form select,.ttm-security-filter-form input{height:42px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:0 12px;color:#0f172a;font-weight:800}.ttm-security-log-list{display:grid;gap:10px}.ttm-security-log-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:14px;border-radius:18px;border:1px solid #e5e7eb;background:#fff}.ttm-security-log-item.is-sensitive{background:#fffbeb;border-color:#fde68a}.ttm-security-log-item.is-critical{background:#fff1f2;border-color:#fecdd3}.ttm-security-log-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:#f1f5f9;color:#334155;font-weight:950}.ttm-security-log-item.is-sensitive .ttm-security-log-icon{background:#f59e0b;color:#fff}.ttm-security-log-item.is-critical .ttm-security-log-icon{background:#e11d48;color:#fff}.ttm-security-log-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.ttm-security-log-top strong{color:#0f172a;font-size:14px}.ttm-security-log-top span{color:#64748b;font-size:11px;font-weight:800}.ttm-security-log-main p{margin:6px 0 10px;color:#475569;font-size:12px;line-height:1.8}.ttm-security-log-meta{display:flex;flex-wrap:wrap;gap:8px}.ttm-security-log-meta span{padding:5px 9px;border-radius:999px;background:#f8fafc;color:#64748b;font-size:11px;font-weight:800}.ttm-security-log-item.is-sensitive .ttm-security-log-meta span{background:rgba(255,255,255,.72)}.ttm-security-log-item.is-critical .ttm-security-log-meta span{background:rgba(255,255,255,.72)}@media(max-width:1180px){.ttm-security-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-security-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-security-filter-form .ttm-btn{grid-column:1/-1}.ttm-security-hero{display:grid}}@media(max-width:720px){.ttm-security-kpis,.ttm-security-filter-form{grid-template-columns:1fr}.ttm-security-log-top,.ttm-security-log-meta{display:grid}.ttm-security-log-item{grid-template-columns:1fr}.ttm-security-log-icon{width:34px;height:34px}}


/* Teamora v1.0.0 — Smart Notifications */
.ttm-smart-notification-shell{display:grid;gap:16px;margin-bottom:18px}.ttm-smart-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;background:linear-gradient(135deg,#101827,#182033);color:#fff;border:0}.ttm-smart-hero .ttm-eyebrow{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:11px;font-weight:900}.ttm-smart-hero h2{margin:10px 0 8px;color:#fff;font-size:26px}.ttm-smart-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.74);line-height:1.9;font-size:13px}.ttm-smart-hero .ttm-btn{white-space:nowrap}.ttm-smart-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ttm-smart-kpis article{padding:16px;border-radius:22px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 34px rgba(15,23,42,.06)}.ttm-smart-kpis span,.ttm-smart-kpis small{display:block;color:#64748b;font-size:12px}.ttm-smart-kpis b{display:block;margin:8px 0 5px;color:#0f172a;font-size:25px}.ttm-smart-rules-card{padding:18px}.ttm-smart-alert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ttm-smart-alert{display:grid!important;gap:7px;text-align:right!important;border:1px solid #e5e7eb!important;background:#fff!important;border-radius:20px!important;padding:15px 16px!important;box-shadow:none!important;color:#0f172a!important}.ttm-smart-alert span{width:max-content;padding:5px 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:900}.ttm-smart-alert strong{font-size:14px;color:#0f172a}.ttm-smart-alert small{color:#64748b;line-height:1.8;font-size:12px}.ttm-smart-alert.is-critical{border-color:#fecdd3!important;background:#fff1f2!important}.ttm-smart-alert.is-critical span{background:#e11d48;color:#fff}.ttm-smart-alert.is-warning{border-color:#fde68a!important;background:#fffbeb!important}.ttm-smart-alert.is-warning span{background:#f59e0b;color:#fff}.ttm-smart-alert.is-success{border-color:#bbf7d0!important;background:#f0fdf4!important}.ttm-smart-alert.is-success span{background:#16a34a;color:#fff}.ttm-smart-alert.is-neutral span{background:#e0f2fe;color:#0369a1}.ttm-notifications-premium-smart{margin-top:16px}.ttm-notification-row.is-unread{background:linear-gradient(135deg,#fff,#fff7f7)!important;border-color:rgba(229,9,20,.14)!important}.ttm-notification-row.is-unread .ttm-dot{background:var(--ttm-primary,#e50914)!important}.ttm-notification-row.is-read{opacity:.84}.ttm-notification-row small{display:block;margin-top:4px;color:#94a3b8;font-size:11px;font-weight:800}@media(max-width:1180px){.ttm-smart-kpis,.ttm-smart-alert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-smart-hero{display:grid}}@media(max-width:720px){.ttm-smart-kpis,.ttm-smart-alert-grid{grid-template-columns:1fr}.ttm-smart-hero{padding:18px}.ttm-smart-hero .ttm-btn{width:100%}}

/* Teamora v1.0.0 — Knowledge Base & Policies */
.ttm-knowledge-shell{display:grid;gap:18px}
.ttm-knowledge-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:18px;align-items:center;padding:24px;border-radius:28px;background:linear-gradient(135deg,rgba(25,34,48,.98),rgba(15,22,35,.98));color:#fff;overflow:hidden;position:relative}
.ttm-knowledge-hero:before{content:"";position:absolute;inset:auto -80px -120px auto;width:260px;height:260px;border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,.16),rgba(255,255,255,0) 62%)}
.ttm-knowledge-hero h2{margin:8px 0 8px;font-size:clamp(24px,2vw,34px);line-height:1.35;color:#fff}
.ttm-knowledge-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.78);font-size:13px;line-height:2}
.ttm-knowledge-score{position:relative;z-index:1;display:grid;place-items:center;text-align:center;gap:7px;padding:20px;border-radius:24px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.ttm-knowledge-score strong{font-size:42px;line-height:1;color:#fff}
.ttm-knowledge-score span{font-weight:850;color:#fff}
.ttm-knowledge-score small{color:rgba(255,255,255,.7);font-size:11px}
.ttm-knowledge-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ttm-knowledge-kpis article{padding:16px;border-radius:22px;background:var(--ttm-card,#fff);border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 35px rgba(15,23,42,.06)}
.ttm-knowledge-kpis span{display:block;color:var(--ttm-muted,#64748b);font-size:11.5px;font-weight:750}
.ttm-knowledge-kpis b{display:block;margin:8px 0 4px;font-size:26px;color:var(--ttm-text,#111827);line-height:1.15}
.ttm-knowledge-kpis small{display:block;color:var(--ttm-muted,#64748b);font-size:11px;line-height:1.7}
.ttm-knowledge-editor-card{padding:18px;border-radius:24px}
.ttm-checkline{display:flex!important;align-items:center;gap:10px;min-height:48px;padding:12px 14px;border-radius:16px;background:rgba(15,23,42,.035);border:1px solid rgba(15,23,42,.07);font-weight:750;color:var(--ttm-text,#111827)}
.ttm-checkline input{width:auto!important;min-height:auto!important;accent-color:var(--ttm-primary,#ef4444)}
.ttm-knowledge-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}
.ttm-knowledge-list{display:grid;gap:14px}
.ttm-knowledge-article{padding:18px;border-radius:24px;border:1px solid rgba(15,23,42,.08)}
.ttm-knowledge-article.needs-confirm{border-color:rgba(245,158,11,.34);box-shadow:0 16px 40px rgba(245,158,11,.1)}
.ttm-knowledge-article header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid rgba(15,23,42,.07)}
.ttm-knowledge-article h3{margin:8px 0 6px;font-size:18px;line-height:1.6;color:var(--ttm-text,#111827)}
.ttm-knowledge-article small{display:block;color:var(--ttm-muted,#64748b);font-size:11.5px;line-height:1.8}
.ttm-knowledge-badges{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:190px}
.ttm-knowledge-body{padding:14px 0;color:var(--ttm-text,#111827);font-size:13px;line-height:2.15;white-space:normal}
.ttm-knowledge-body p{margin:0 0 10px}
.ttm-knowledge-article footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:12px;border-top:1px solid rgba(15,23,42,.07)}
.ttm-confirmed-note{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(34,197,94,.1);color:#15803d;font-size:12px;font-weight:800}
.ttm-knowledge-quick-status{gap:8px;align-items:center;flex-wrap:wrap}
.ttm-knowledge-quick-status select{min-height:38px;border-radius:12px;max-width:160px}
.ttm-knowledge-guide{position:sticky;top:18px;padding:18px;border-radius:24px}
.ttm-knowledge-guide ul{margin:0;padding:0;display:grid;gap:10px;list-style:none}
.ttm-knowledge-guide li{padding:12px 13px;border-radius:16px;background:rgba(15,23,42,.035);border:1px solid rgba(15,23,42,.065);font-size:12px;line-height:1.9;color:var(--ttm-muted,#64748b)}
.ttm-knowledge-guide b{color:var(--ttm-text,#111827)}
@media (max-width:1080px){.ttm-knowledge-layout,.ttm-knowledge-hero{grid-template-columns:1fr}.ttm-knowledge-guide{position:relative;top:auto}.ttm-knowledge-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.ttm-knowledge-kpis{grid-template-columns:1fr}.ttm-knowledge-hero{padding:18px;border-radius:22px}.ttm-knowledge-article header,.ttm-knowledge-article footer{display:grid;justify-content:stretch}.ttm-knowledge-badges{justify-content:flex-start;min-width:0}.ttm-knowledge-quick-status{display:grid!important}.ttm-knowledge-quick-status select{max-width:none;width:100%}}


/* Teamora v1.0.0 — Onboarding & Offboarding */
.ttm-lifecycle-shell{display:grid;gap:18px}
.ttm-lifecycle-hero{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:18px;align-items:center;padding:22px;border-radius:28px;background:linear-gradient(135deg,rgba(17,24,39,.96),rgba(30,41,59,.92));color:#fff;overflow:hidden;position:relative}
.ttm-lifecycle-hero h2{margin:8px 0;font-size:25px;line-height:1.45;color:#fff}
.ttm-lifecycle-hero p{margin:0;color:rgba(255,255,255,.74);font-size:13px;line-height:2}
.ttm-lifecycle-score{padding:18px;border-radius:22px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);text-align:center}
.ttm-lifecycle-score strong{display:block;font-size:36px;line-height:1.1;color:#fff}
.ttm-lifecycle-score span{display:block;margin-top:6px;font-weight:800;color:#fff}
.ttm-lifecycle-score small{display:block;margin-top:4px;color:rgba(255,255,255,.68)}
.ttm-lifecycle-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ttm-lifecycle-kpis article{padding:16px;border-radius:20px;background:var(--ttm-card,#fff);border:1px solid rgba(15,23,42,.07);box-shadow:0 14px 34px rgba(15,23,42,.05)}
.ttm-lifecycle-kpis span{display:block;color:var(--ttm-muted,#64748b);font-size:12px}
.ttm-lifecycle-kpis strong{display:block;margin:7px 0 4px;font-size:24px;color:var(--ttm-text,#111827)}
.ttm-lifecycle-kpis small{color:var(--ttm-muted,#64748b);font-size:11.5px}
.ttm-lifecycle-form-card{padding:18px;border-radius:24px}
.ttm-lifecycle-form textarea{resize:vertical}
.ttm-lifecycle-list{display:grid;gap:14px}
.ttm-lifecycle-item{padding:18px;border-radius:24px;background:var(--ttm-card,#fff);border:1px solid rgba(15,23,42,.07)}
.ttm-lifecycle-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.ttm-lifecycle-item-head h3{margin:6px 0 4px;font-size:18px;line-height:1.55;color:var(--ttm-text,#111827)}
.ttm-lifecycle-item-head p{margin:0;color:var(--ttm-muted,#64748b);font-size:12px;line-height:1.9}
.ttm-lifecycle-status{text-align:left;min-width:150px}
.ttm-lifecycle-status strong{display:block;margin-top:8px;font-size:24px;color:var(--ttm-text,#111827)}
.ttm-lifecycle-status small{display:block;color:var(--ttm-muted,#64748b);font-size:11px}
.ttm-lifecycle-note{margin:12px 0 0;padding:12px 14px;border-radius:16px;background:rgba(15,23,42,.035);color:var(--ttm-text,#111827);font-size:12.5px;line-height:2}
.ttm-lifecycle-progress{height:10px;border-radius:999px;background:rgba(15,23,42,.08);overflow:hidden;margin:14px 0}
.ttm-lifecycle-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--ttm-primary,#2563eb),var(--ttm-accent,#22c55e))}
.ttm-lifecycle-tasks{display:grid;gap:9px}
.ttm-lifecycle-task{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border-radius:16px;background:rgba(15,23,42,.035);border:1px solid rgba(15,23,42,.055)}
.ttm-lifecycle-task span{width:24px;height:24px;border-radius:999px;display:grid;place-items:center;background:#fff;border:1px solid rgba(15,23,42,.08);color:var(--ttm-muted,#64748b);font-weight:900}
.ttm-lifecycle-task b{font-size:12.5px;line-height:1.8;color:var(--ttm-text,#111827)}
.ttm-lifecycle-task.is-done{background:rgba(34,197,94,.08);border-color:rgba(34,197,94,.16)}
.ttm-lifecycle-task.is-done span{background:rgba(34,197,94,.16);color:#15803d;border-color:rgba(34,197,94,.2)}
.ttm-lifecycle-task.is-done b{text-decoration:line-through;color:#15803d}
.ttm-mini-btn{border:0;border-radius:999px;background:#fff;color:var(--ttm-text,#111827);padding:8px 11px;font-size:11px;font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.06)}
.ttm-lifecycle-status-form{display:flex;align-items:end;justify-content:flex-end;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(15,23,42,.07)}
.ttm-lifecycle-status-form label{display:grid;gap:6px;min-width:210px}
.ttm-lifecycle-status-form span{font-size:11px;color:var(--ttm-muted,#64748b);font-weight:700}
.ttm-lifecycle-status-form select{min-height:40px;border-radius:12px;border:1px solid rgba(15,23,42,.12);padding:8px 10px;background:#fff}
@media (max-width:920px){
  .ttm-lifecycle-hero{grid-template-columns:1fr}
  .ttm-lifecycle-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ttm-lifecycle-item-head{display:grid}
  .ttm-lifecycle-status{text-align:right;min-width:0}
  .ttm-lifecycle-task{grid-template-columns:28px minmax(0,1fr)}
  .ttm-lifecycle-task form{grid-column:1/-1}
  .ttm-lifecycle-status-form{display:grid;justify-content:stretch}
}
@media (max-width:560px){
  .ttm-lifecycle-kpis{grid-template-columns:1fr}
  .ttm-lifecycle-hero,.ttm-lifecycle-item,.ttm-lifecycle-form-card{border-radius:20px;padding:14px}
}


/* Teamora v1.0.0 — Export Center */
.ttm-export-shell{display:grid;gap:18px}
.ttm-export-hero{display:grid;grid-template-columns:minmax(0,1fr)220px;gap:18px;align-items:center;padding:22px;border-radius:28px;background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(34,197,94,.08)),var(--ttm-card,#fff);border:1px solid rgba(15,23,42,.07)}
.ttm-export-hero h2{margin:6px 0 8px;font-size:24px;line-height:1.5;color:var(--ttm-text,#111827)}
.ttm-export-hero p{margin:0;color:var(--ttm-muted,#64748b);font-size:13px;line-height:2}
.ttm-export-hero-badge{padding:16px;border-radius:22px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 12px 30px rgba(15,23,42,.06);text-align:center}
.ttm-export-hero-badge strong{display:block;font-size:30px;color:var(--ttm-primary,#2563eb);line-height:1.2}
.ttm-export-hero-badge span{display:block;margin-top:4px;font-size:12px;font-weight:900;color:var(--ttm-text,#111827)}
.ttm-export-hero-badge small{display:block;margin-top:4px;color:var(--ttm-muted,#64748b);font-size:11px;line-height:1.8}
.ttm-export-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ttm-export-kpis article{padding:15px 16px;border-radius:20px;background:var(--ttm-card,#fff);border:1px solid rgba(15,23,42,.07);box-shadow:0 10px 25px rgba(15,23,42,.04)}
.ttm-export-kpis span{display:block;color:var(--ttm-muted,#64748b);font-size:11.5px;font-weight:800}
.ttm-export-kpis strong{display:block;margin:7px 0 4px;font-size:17px;color:var(--ttm-text,#111827);line-height:1.65;word-break:break-word}
.ttm-export-kpis small{display:block;color:var(--ttm-muted,#64748b);font-size:11px}
.ttm-export-filter-card{padding:18px;border-radius:24px}
.ttm-export-preview-form{align-items:end}
.ttm-export-download-form{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:14px;border-radius:18px;background:rgba(37,99,235,.06);border:1px dashed rgba(37,99,235,.22)}
.ttm-export-download-form small{color:var(--ttm-muted,#64748b);font-size:11.5px;line-height:1.8}
.ttm-export-dataset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ttm-export-dataset-grid article{display:grid;gap:8px;padding:15px;border-radius:20px;background:var(--ttm-card,#fff);border:1px solid rgba(15,23,42,.07);box-shadow:0 10px 24px rgba(15,23,42,.04)}
.ttm-export-dataset-grid article.is-active{border-color:rgba(37,99,235,.35);box-shadow:0 16px 34px rgba(37,99,235,.10)}
.ttm-export-dataset-grid b{color:var(--ttm-text,#111827);font-size:13px;line-height:1.7}
.ttm-export-dataset-grid span{color:var(--ttm-muted,#64748b);font-size:11.5px;line-height:1.9;min-height:42px}
.ttm-export-dataset-grid button{border:0;border-radius:999px;background:rgba(15,23,42,.06);color:var(--ttm-text,#111827);padding:9px 12px;font-size:11.5px;font-weight:900;cursor:pointer}
.ttm-export-dataset-grid article.is-active button{background:var(--ttm-primary,#2563eb);color:var(--ttm-button-text,#fff)}
.ttm-export-preview-card{padding:18px;border-radius:24px;overflow:hidden}
.ttm-export-preview-table td{max-width:220px;white-space:normal;line-height:1.8}
@media (max-width:980px){.ttm-export-hero{grid-template-columns:1fr}.ttm-export-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ttm-export-dataset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.ttm-export-kpis,.ttm-export-dataset-grid{grid-template-columns:1fr}.ttm-export-download-form{display:grid}.ttm-export-hero,.ttm-export-filter-card,.ttm-export-preview-card{border-radius:20px;padding:14px}}


/* Teamora Team Management v1.0.0 — Design System & Theme Settings
   Scoped visual system controls. No business logic or module behavior is changed here. */
.ttm-portal[data-ttm-density="compact"]{--ttm-section-gap:12px;--ttm-card-pad:16px;--ttm-control-height:40px}
.ttm-portal[data-ttm-density="comfortable"]{--ttm-section-gap:18px;--ttm-card-pad:22px;--ttm-control-height:46px}
.ttm-portal[data-ttm-density="spacious"]{--ttm-section-gap:24px;--ttm-card-pad:28px;--ttm-control-height:52px}
.ttm-portal[data-ttm-density] .ttm-card,.ttm-portal[data-ttm-density] .ttm-premium-card,.ttm-portal[data-ttm-density] .ttm-command-panel{padding:var(--ttm-card-pad,22px)}
.ttm-portal[data-ttm-density] .ttm-section{gap:var(--ttm-section-gap,18px)}
.ttm-portal[data-ttm-density] input,.ttm-portal[data-ttm-density] select,.ttm-portal[data-ttm-density] textarea,.ttm-portal[data-ttm-density] .ttm-btn{min-height:var(--ttm-control-height,46px)}
.ttm-portal[data-ttm-card-style="flat"] .ttm-card,.ttm-portal[data-ttm-card-style="flat"] .ttm-premium-card,.ttm-portal[data-ttm-card-style="flat"] .ttm-command-panel{box-shadow:none;border-color:rgba(226,232,240,.95)}
.ttm-portal[data-ttm-card-style="bordered"] .ttm-card,.ttm-portal[data-ttm-card-style="bordered"] .ttm-premium-card,.ttm-portal[data-ttm-card-style="bordered"] .ttm-command-panel{box-shadow:0 8px 24px rgba(15,23,42,.045);border:1.5px solid rgba(148,163,184,.34)}
.ttm-portal[data-ttm-card-style="glass"] .ttm-card,.ttm-portal[data-ttm-card-style="glass"] .ttm-premium-card,.ttm-portal[data-ttm-card-style="glass"] .ttm-command-panel{background:rgba(255,255,255,.78);backdrop-filter:blur(16px);border-color:rgba(255,255,255,.72)}
.ttm-portal[data-ttm-button-style="pill"] .ttm-btn,.ttm-portal[data-ttm-button-style="pill"] button{border-radius:999px}
.ttm-portal[data-ttm-button-style="solid"] .ttm-btn-primary{background:var(--ttm-primary);box-shadow:none}
.ttm-portal[data-ttm-table-style="compact"] .ttm-table th,.ttm-portal[data-ttm-table-style="compact"] .ttm-table td{padding:9px 10px}
.ttm-portal[data-ttm-table-style="zebra"] .ttm-table tbody tr:nth-child(even){background:rgba(148,163,184,.075)}
.ttm-portal[data-ttm-form-style="minimal"] input,.ttm-portal[data-ttm-form-style="minimal"] select,.ttm-portal[data-ttm-form-style="minimal"] textarea{background:transparent;border-width:0 0 1px;border-radius:0;box-shadow:none}
.ttm-portal[data-ttm-form-style="classic"] input,.ttm-portal[data-ttm-form-style="classic"] select,.ttm-portal[data-ttm-form-style="classic"] textarea{border-radius:12px;background:#fff}
.ttm-portal[data-ttm-sidebar-style="solid"] .ttm-sidebar{background:var(--ttm-sidebar-1)}
.ttm-portal[data-ttm-sidebar-style="soft"] .ttm-sidebar{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.96));color:var(--ttm-text);border-inline-start:1px solid rgba(226,232,240,.9)}
.ttm-portal[data-ttm-sidebar-style="soft"] .ttm-sidebar *{color:inherit}
.ttm-portal[data-ttm-appearance="soft"]{--ttm-panel-bg:#f8fafc}
.ttm-portal[data-ttm-appearance="contrast"]{--ttm-muted:#475569}
.ttm-design-system-shell{overflow:hidden}
.ttm-design-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:stretch;margin:-4px 0 22px;padding:24px;border-radius:calc(var(--ttm-radius,28px) + 4px);background:radial-gradient(circle at 4% 0,rgba(255,255,255,.18),transparent 28%),linear-gradient(135deg,var(--ttm-dark),var(--ttm-primary));color:#fff}
.ttm-design-hero span{display:inline-flex;width:max-content;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.14);font-size:12px;font-weight:950}
.ttm-design-hero h3{margin:12px 0 8px;color:#fff;font-size:24px;font-weight:950}
.ttm-design-hero p{margin:0;color:rgba(255,255,255,.78);line-height:1.95;font-weight:800}
.ttm-design-preview{border-radius:var(--r,28px);background:radial-gradient(circle at 20% 5%,rgba(255,255,255,.28),transparent 28%),linear-gradient(145deg,var(--p),var(--s));padding:20px;display:grid;align-content:end;min-height:220px;box-shadow:0 24px 55px rgba(0,0,0,.20)}
.ttm-design-preview img{width:74px;height:74px;object-fit:cover;border-radius:22px;background:#fff;box-shadow:0 16px 34px rgba(0,0,0,.20);margin-bottom:22px}
.ttm-design-preview strong{color:#fff;font-size:20px;font-weight:950}.ttm-design-preview small{color:rgba(255,255,255,.78);font-weight:850}.ttm-design-preview div{display:flex;gap:8px;margin-top:16px}.ttm-design-preview b{height:10px;border-radius:999px;background:rgba(255,255,255,.35);flex:1}.ttm-theme-settings-form .ttm-form-section-title{background:linear-gradient(135deg,rgba(15,23,42,.045),rgba(148,163,184,.08));border:1px solid rgba(226,232,240,.95)}
@media(max-width:900px){.ttm-design-hero{grid-template-columns:1fr}.ttm-design-preview{min-height:170px}}

/* === TTM v1.0.0 UI polish, safe layout lock, profile/dashboard cleanup and CSV import === */
.ttm-portal,
.ttm-portal *{
  box-sizing:border-box;
}

.ttm-portal{
  --ttm-ui-font:13px;
  --ttm-ui-small:11.5px;
  --ttm-ui-title:20px;
  --ttm-ui-card-title:15px;
  --ttm-ui-radius:18px;
  overflow-x:hidden !important;
  min-width:0;
  font-size:var(--ttm-ui-font);
  line-height:1.75;
}

.ttm-portal h1,
.ttm-portal h2,
.ttm-portal h3,
.ttm-portal h4{
  letter-spacing:-.25px;
  line-height:1.45;
}

.ttm-portal h1{font-size:clamp(19px,2vw,24px) !important;}
.ttm-portal h2{font-size:clamp(17px,1.8vw,22px) !important;}
.ttm-portal h3{font-size:clamp(14px,1.35vw,17px) !important;}
.ttm-portal p,
.ttm-portal small,
.ttm-portal span,
.ttm-portal label,
.ttm-portal input,
.ttm-portal select,
.ttm-portal textarea,
.ttm-portal button,
.ttm-portal td,
.ttm-portal th{
  line-height:1.65;
}

.ttm-main,
.ttm-topbar,
.ttm-section,
.ttm-table-wrap,
.ttm-dashboard-bottom-grid,
.ttm-profile-grid-panels,
.ttm-export-shell{
  min-width:0 !important;
  max-width:100%;
}

.ttm-sidebar{
  width:clamp(248px,20vw,286px) !important;
  flex:0 0 clamp(248px,20vw,286px) !important;
  min-width:0 !important;
  overflow-x:hidden !important;
}

.ttm-sidebar-person-card{
  padding:14px !important;
  border-radius:22px !important;
}

.ttm-sidebar-person-main{
  align-items:center !important;
  gap:10px !important;
}

.ttm-sidebar-person-copy strong{
  font-size:13.5px !important;
  line-height:1.4 !important;
}

.ttm-sidebar-person-copy span,
.ttm-sidebar-person-copy small{
  font-size:11px !important;
  line-height:1.45 !important;
}

.ttm-sidebar-greeting{
  margin:10px 0 0;
  padding:9px 10px;
  border-radius:16px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:right;
}

.ttm-sidebar-greeting strong{
  font-size:12.5px;
  font-weight:850;
  line-height:1.35;
}

.ttm-sidebar-greeting span{
  font-size:10.5px;
  opacity:.76;
  line-height:1.55;
}

.ttm-nav-item,
.ttm-btn,
.ttm-icon-btn,
.ttm-user-profile-action,
.ttm-sidebar-brand-badge,
.ttm-pill,
.ttm-status,
.ttm-badge,
.ttm-table-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.25 !important;
}

.ttm-nav-item{
  min-height:38px !important;
  padding:8px 10px !important;
  font-size:12px !important;
  justify-content:flex-start !important;
  gap:8px !important;
}

.ttm-topbar{
  gap:14px !important;
  margin-bottom:16px !important;
}

.ttm-title-block p,
.ttm-card-head p,
.ttm-export-hero p,
.ttm-command-hero p,
.ttm-dashboard-welcome-strip p{
  font-size:12px !important;
  line-height:1.75 !important;
}

.ttm-premium-card,
.ttm-card,
.ttm-profile-summary-card,
.ttm-dashboard-welcome-strip,
.ttm-command-hero,
.ttm-command-panel,
.ttm-export-hero,
.ttm-export-filter-card,
.ttm-export-preview-card,
.ttm-csv-import-card,
.ttm-profile-section{
  padding:clamp(14px,1.6vw,20px) !important;
  border-radius:var(--ttm-ui-radius) !important;
  min-height:auto !important;
}

.ttm-card-head{
  gap:10px !important;
  align-items:center !important;
  margin-bottom:12px !important;
}

.ttm-card-head > span{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:12px !important;
  font-size:14px !important;
}

.ttm-card-head h3{
  margin:0 !important;
  font-size:var(--ttm-ui-card-title) !important;
  line-height:1.45 !important;
}

.ttm-grid-form,
.ttm-form-grid,
.ttm-profile-grid-panels{
  gap:12px !important;
}

.ttm-grid-form label,
.ttm-profile-section label{
  gap:6px !important;
  font-size:12px !important;
}

.ttm-grid-form label > span,
.ttm-profile-section label > span{
  font-size:11.5px !important;
  font-weight:750;
}

.ttm-portal input,
.ttm-portal select,
.ttm-portal textarea{
  min-height:38px !important;
  padding:8px 11px !important;
  font-size:12.5px !important;
  border-radius:12px !important;
}

.ttm-portal textarea{
  min-height:86px !important;
}

.ttm-dashboard-layout-v105,
.ttm-dashboard-hero-row{
  align-items:stretch !important;
  gap:14px !important;
}

.ttm-premium-dashboard,
.ttm-command-dashboard{
  display:grid;
  gap:14px !important;
}

.ttm-profile-summary-card,
.ttm-dashboard-hero-main,
.ttm-command-hero{
  overflow:hidden;
}

.ttm-dashboard-kpi-grid,
.ttm-command-kpis,
.ttm-export-kpis,
.ttm-report-kpi-grid-v111{
  gap:10px !important;
}

.ttm-dashboard-kpi-grid article,
.ttm-command-kpis article,
.ttm-export-kpis article,
.ttm-report-kpi-v111,
.ttm-profile-dossier-strip article{
  padding:12px !important;
  min-height:auto !important;
  border-radius:16px !important;
}

.ttm-dashboard-kpi-grid strong,
.ttm-command-kpis strong,
.ttm-export-kpis strong,
.ttm-report-kpi-v111 strong,
.ttm-profile-dossier-strip strong{
  font-size:clamp(18px,2vw,26px) !important;
  line-height:1.25 !important;
}

.ttm-dashboard-kpi-grid span,
.ttm-command-kpis span,
.ttm-export-kpis span,
.ttm-report-kpi-v111 span,
.ttm-profile-dossier-strip span,
.ttm-dashboard-kpi-grid small,
.ttm-command-kpis small,
.ttm-export-kpis small,
.ttm-report-kpi-v111 small,
.ttm-profile-dossier-strip small{
  font-size:11px !important;
  line-height:1.55 !important;
}

.ttm-profile-hero-v111,
.ttm-profile-hero{
  padding:16px !important;
  border-radius:22px !important;
}

.ttm-profile-dossier-strip{
  gap:10px !important;
}

.ttm-profile-grid-panels{
  align-items:start !important;
}

.ttm-profile-section{
  display:grid;
  align-content:start;
}

.ttm-profile-section .ttm-card-head{
  padding-bottom:9px;
  border-bottom:1px solid rgba(15,23,42,.07);
}

.ttm-profile-list-card article{
  padding:10px !important;
  border-radius:14px !important;
  align-items:center !important;
}

.ttm-profile-list-card article b,
.ttm-profile-list-card article strong{
  font-size:12.5px !important;
  line-height:1.45 !important;
}

.ttm-profile-list-card article small{
  font-size:10.5px !important;
  line-height:1.55 !important;
}

.ttm-table-wrap{
  overflow:auto !important;
  max-width:100% !important;
}

.ttm-table th,
.ttm-table td{
  padding:9px 10px !important;
  font-size:12px !important;
  vertical-align:middle !important;
  text-align:right !important;
}

.ttm-empty,
.ttm-empty-state{
  padding:14px !important;
  min-height:auto !important;
  border-radius:16px !important;
  text-align:center !important;
}

.ttm-csv-import-layout{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(230px,.75fr);
  gap:14px;
  align-items:stretch;
}

.ttm-csv-sample-form{
  padding:14px;
  border:1px dashed rgba(15,23,42,.14);
  border-radius:18px;
  background:rgba(255,255,255,.58);
  display:grid;
  gap:10px;
  align-content:start;
}

.ttm-csv-sample-form label{
  display:grid;
  gap:6px;
  font-size:12px;
}

.ttm-csv-import-form input[type="file"]{
  padding:9px !important;
  background:rgba(255,255,255,.85);
}

@media (max-width:1100px){
  .ttm-csv-import-layout{grid-template-columns:1fr;}
}

@media (max-width:900px){
  .ttm-portal{font-size:12.5px;}
  .ttm-sidebar{
    width:min(86vw,310px) !important;
    flex-basis:auto !important;
  }
  .ttm-topbar{
    flex-direction:column !important;
    align-items:stretch !important;
  }
  .ttm-top-actions{
    width:100%;
    display:grid !important;
    grid-template-columns:1fr auto;
    gap:8px !important;
  }
  .ttm-search-lite{grid-column:1 / -1;}
  .ttm-dashboard-hero-row,
  .ttm-dashboard-layout-v105,
  .ttm-profile-grid-panels,
  .ttm-profile-dossier-strip{
    grid-template-columns:1fr !important;
  }
  .ttm-premium-card,
  .ttm-card,
  .ttm-profile-summary-card,
  .ttm-dashboard-welcome-strip,
  .ttm-command-hero,
  .ttm-command-panel,
  .ttm-profile-section{
    padding:13px !important;
  }
  .ttm-table th,
  .ttm-table td{font-size:11.5px !important;}
}

@media (max-width:520px){
  .ttm-nav-item{font-size:11.5px !important;}
  .ttm-btn{min-height:36px !important;padding:8px 11px !important;font-size:11.5px !important;}
  .ttm-card-head > span{width:30px !important;height:30px !important;min-width:30px !important;}
  .ttm-card-head h3{font-size:13.5px !important;}
}

/* === Teamora v1.0.0 Premium UI/UX Polish
   Scope: visual polish, alignment, sizing, mobile safety and perceived smoothness only.
   Locked: roles, routing, database, forms, CSV logic, payroll/attendance logic.
========================================================================== */
:root{
  --ttm-polish-bg:#f6f7fb;
  --ttm-polish-surface:rgba(255,255,255,.92);
  --ttm-polish-surface-2:rgba(255,255,255,.78);
  --ttm-polish-border:rgba(15,23,42,.075);
  --ttm-polish-border-2:rgba(15,23,42,.105);
  --ttm-polish-text:#111827;
  --ttm-polish-muted:#64748b;
  --ttm-polish-radius-sm:12px;
  --ttm-polish-radius:18px;
  --ttm-polish-radius-lg:24px;
  --ttm-polish-shadow:0 14px 38px rgba(15,23,42,.055);
  --ttm-polish-shadow-strong:0 22px 60px rgba(15,23,42,.085);
  --ttm-polish-fast:.16s ease;
  --ttm-polish-font-xs:11px;
  --ttm-polish-font-sm:12px;
  --ttm-polish-font:13px;
  --ttm-polish-font-md:14px;
  --ttm-polish-card-title:15.5px;
  --ttm-polish-title:clamp(19px,1.8vw,24px);
}

/* global rhythm */
html,
body.ttm-standalone,
body.ttm-app-page{
  background:
    radial-gradient(circle at 4% 5%, color-mix(in srgb,var(--ttm-primary) 6%, transparent), transparent 28%),
    radial-gradient(circle at 96% 2%, rgba(15,23,42,.04), transparent 24%),
    var(--ttm-polish-bg) !important;
}

.ttm-portal{
  background:transparent !important;
  color:var(--ttm-polish-text) !important;
  grid-template-columns:clamp(246px,19vw,282px) minmax(0,1fr) !important;
  min-width:0 !important;
}

.ttm-portal,
.ttm-portal *{
  box-sizing:border-box;
}

.ttm-main{
  padding:clamp(18px,2.2vw,28px) clamp(16px,2.6vw,34px) 34px !important;
  max-width:1480px !important;
  min-width:0 !important;
  overflow-x:hidden !important;
}

.ttm-section.is-active{
  animation:ttmPremiumEnter .22s ease both !important;
}

@keyframes ttmPremiumEnter{
  from{opacity:.08;transform:translateY(7px)}
  to{opacity:1;transform:none}
}

.ttm-portal :where(h1,h2,h3,h4){
  letter-spacing:-.25px !important;
  text-wrap:balance;
}

.ttm-portal :where(p,small,span,label,input,select,textarea,button,td,th){
  line-height:1.6 !important;
}

.ttm-portal h1{
  font-size:var(--ttm-polish-title) !important;
  line-height:1.35 !important;
}

.ttm-portal h2{
  font-size:clamp(17px,1.55vw,22px) !important;
  line-height:1.42 !important;
}

.ttm-portal h3{
  font-size:var(--ttm-polish-card-title) !important;
  line-height:1.45 !important;
}

.ttm-portal p{
  font-size:12.5px !important;
  color:var(--ttm-polish-muted) !important;
}

/* sidebar: premium but safe */
.ttm-sidebar{
  width:clamp(246px,19vw,282px) !important;
  flex:0 0 clamp(246px,19vw,282px) !important;
  padding:14px !important;
  gap:11px !important;
  background:
    radial-gradient(circle at 15% 2%, rgba(255,255,255,.11), transparent 25%),
    linear-gradient(180deg,#0f1117 0%, #161922 68%, color-mix(in srgb,var(--ttm-primary) 26%,#14090b) 100%) !important;
  box-shadow:-10px 0 34px rgba(15,23,42,.16) !important;
  overflow:hidden !important;
}

.ttm-sidebar-brand,
.ttm-sidebar-person-card,
.ttm-user-mini{
  border-radius:20px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.065) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.ttm-sidebar-person-card{
  padding:12px !important;
  display:grid !important;
  gap:10px !important;
}

.ttm-sidebar-person-main{
  gap:10px !important;
  align-items:center !important;
}

.ttm-sidebar-person-avatar,
.ttm-avatar{
  width:42px !important;
  height:42px !important;
  border-radius:15px !important;
  flex:0 0 42px !important;
}

.ttm-sidebar-person-copy{
  min-width:0 !important;
}

.ttm-sidebar-person-copy strong{
  font-size:13px !important;
  line-height:1.35 !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ttm-sidebar-person-copy span,
.ttm-sidebar-person-copy small,
.ttm-sidebar-brand span{
  font-size:10.5px !important;
  line-height:1.45 !important;
  margin-top:2px !important;
}

.ttm-sidebar-greeting{
  margin:0 !important;
  padding:9px 10px !important;
  border-radius:15px !important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.055)),
    color-mix(in srgb,var(--ttm-primary) 16%, transparent) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.ttm-sidebar-greeting strong{
  font-size:12.4px !important;
  font-weight:900 !important;
}

.ttm-sidebar-greeting span{
  font-size:10.2px !important;
  opacity:.74 !important;
}

.ttm-sidebar-person-actions{
  gap:8px !important;
  align-items:center !important;
}

.ttm-user-profile-action,
.ttm-sidebar-brand-badge{
  min-height:31px !important;
  padding:6px 9px !important;
  border-radius:12px !important;
  font-size:10.6px !important;
}

.ttm-nav{
  gap:5px !important;
  padding:1px 0 4px !important;
  scrollbar-width:thin;
}

.ttm-nav-item{
  min-height:35px !important;
  padding:7px 10px !important;
  border-radius:13px !important;
  font-size:11.7px !important;
  font-weight:850 !important;
  justify-content:flex-start !important;
  border:1px solid transparent !important;
}

.ttm-nav-item:hover{
  background:rgba(255,255,255,.075) !important;
  transform:translateX(-1px);
}

.ttm-nav-item.is-active{
  background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2)) !important;
  box-shadow:0 12px 26px color-mix(in srgb,var(--ttm-primary) 28%, transparent) !important;
  border-color:rgba(255,255,255,.16) !important;
}

.ttm-logout-form{
  margin-top:auto !important;
}

.ttm-logout-button{
  min-height:36px !important;
  border-radius:14px !important;
}

/* topbar */
.ttm-topbar,
.ttm-premium-topbar{
  margin-bottom:14px !important;
  padding:0 !important;
  align-items:center !important;
  min-width:0 !important;
}

.ttm-title-block{
  min-width:0 !important;
}

.ttm-title-block h1{
  margin:0 0 4px !important;
  max-width:100%;
}

.ttm-title-block p{
  margin:0 !important;
  font-size:12px !important;
}

.ttm-top-actions,
.ttm-premium-actions{
  gap:8px !important;
  align-items:center !important;
}

.ttm-search-lite{
  min-height:38px !important;
  border-radius:15px !important;
  background:rgba(255,255,255,.86) !important;
  border:1px solid var(--ttm-polish-border) !important;
  box-shadow:0 8px 24px rgba(15,23,42,.035) !important;
}

.ttm-search-lite input{
  font-size:12px !important;
}

/* card system */
.ttm-card,
.ttm-premium-card,
.ttm-profile-summary-card,
.ttm-dashboard-welcome-strip,
.ttm-command-hero,
.ttm-command-panel,
.ttm-export-hero,
.ttm-export-filter-card,
.ttm-export-preview-card,
.ttm-csv-import-card,
.ttm-profile-section,
.ttm-profile-hero-updated,
.ttm-save-ribbon,
.ttm-table-card{
  border-radius:var(--ttm-polish-radius-lg) !important;
  border:1px solid var(--ttm-polish-border) !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.88)) !important;
  box-shadow:var(--ttm-polish-shadow) !important;
}

.ttm-card,
.ttm-premium-card,
.ttm-command-panel,
.ttm-export-filter-card,
.ttm-export-preview-card,
.ttm-csv-import-card,
.ttm-profile-section{
  padding:clamp(13px,1.28vw,18px) !important;
  margin-bottom:14px !important;
  min-height:auto !important;
}

.ttm-card:hover,
.ttm-premium-card:hover,
.ttm-command-panel:hover,
.ttm-profile-section:hover,
.ttm-csv-import-card:hover{
  border-color:var(--ttm-polish-border-2) !important;
}

.ttm-card h3,
.ttm-card-head h3,
.ttm-command-panel-head h3{
  margin:0 !important;
  font-size:var(--ttm-polish-card-title) !important;
}

.ttm-card p,
.ttm-card-head p,
.ttm-command-panel-head p{
  margin:3px 0 0 !important;
  font-size:12px !important;
}

.ttm-card-head,
.ttm-command-panel-head,
.ttm-card-headline{
  gap:10px !important;
  align-items:center !important;
  margin-bottom:11px !important;
}

.ttm-card-head > span,
.ttm-card-icon,
.ttm-command-panel-head > span{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  border-radius:13px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* buttons and chips */
.ttm-btn,
.ttm-icon-btn,
.ttm-table-link,
.ttm-pill,
.ttm-status,
.ttm-badge,
.ttm-soft-tag,
.ttm-login-tab{
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  line-height:1.2 !important;
}

.ttm-btn{
  min-height:38px !important;
  padding:9px 14px !important;
  border-radius:14px !important;
  font-size:12px !important;
  font-weight:900 !important;
  box-shadow:none;
}

.ttm-btn-primary{
  box-shadow:0 10px 24px color-mix(in srgb,var(--ttm-primary) 24%, transparent) !important;
}

.ttm-btn:hover{
  transform:translateY(-1px);
}

.ttm-pill,
.ttm-status,
.ttm-badge,
.ttm-soft-tag{
  min-height:24px !important;
  padding:5px 9px !important;
  border-radius:999px !important;
  font-size:10.7px !important;
  font-weight:850 !important;
}

/* forms */
.ttm-grid-form,
.ttm-form-grid,
.ttm-profile-grid-panels,
.ttm-profile-section{
  gap:11px !important;
}

.ttm-grid-form label,
.ttm-form-grid label,
.ttm-profile-section label,
.ttm-csv-sample-form label{
  gap:6px !important;
  font-size:11.8px !important;
  font-weight:850 !important;
}

.ttm-grid-form label > span,
.ttm-form-grid label > span,
.ttm-profile-section label > span{
  font-size:11.2px !important;
  color:var(--ttm-polish-muted) !important;
}

.ttm-portal input,
.ttm-portal select,
.ttm-portal textarea{
  min-height:38px !important;
  padding:8px 11px !important;
  border-radius:13px !important;
  border:1px solid rgba(15,23,42,.115) !important;
  background:rgba(248,250,252,.9) !important;
  font-size:12.3px !important;
  color:var(--ttm-polish-text) !important;
  outline:none !important;
  transition:border-color var(--ttm-polish-fast), box-shadow var(--ttm-polish-fast), background var(--ttm-polish-fast) !important;
}

.ttm-portal input:focus,
.ttm-portal select:focus,
.ttm-portal textarea:focus{
  border-color:color-mix(in srgb,var(--ttm-primary) 42%, #cbd5e1) !important;
  background:#fff !important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--ttm-primary) 10%, transparent) !important;
}

.ttm-portal textarea{
  min-height:82px !important;
}

/* manager/employee dashboards */
.ttm-stats-grid,
.ttm-command-today-grid,
.ttm-command-kpis,
.ttm-dashboard-kpi-grid,
.ttm-export-kpis,
.ttm-report-kpi-grid-v111,
.ttm-profile-dossier-strip{
  gap:10px !important;
}

.ttm-stats-grid{
  margin-bottom:14px !important;
}

.ttm-stat,
.ttm-command-today-grid article,
.ttm-command-kpis article,
.ttm-dashboard-kpi-grid article,
.ttm-export-kpis article,
.ttm-report-kpi-v111,
.ttm-profile-dossier-strip article{
  border-radius:18px !important;
  padding:12px 13px !important;
  min-height:auto !important;
  background:linear-gradient(180deg,#fff,#fbfcff) !important;
  border:1px solid var(--ttm-polish-border) !important;
  box-shadow:0 10px 26px rgba(15,23,42,.045) !important;
}

.ttm-stat span,
.ttm-command-today-grid span,
.ttm-command-kpis span,
.ttm-dashboard-kpi-grid span,
.ttm-export-kpis span,
.ttm-report-kpi-v111 span{
  font-size:11.2px !important;
  color:var(--ttm-polish-muted) !important;
  font-weight:850 !important;
}

.ttm-stat strong,
.ttm-command-today-grid strong,
.ttm-command-kpis strong,
.ttm-dashboard-kpi-grid strong,
.ttm-export-kpis strong,
.ttm-report-kpi-v111 strong,
.ttm-profile-dossier-strip strong{
  margin:6px 0 3px !important;
  font-size:clamp(18px,1.75vw,25px) !important;
  line-height:1.15 !important;
  letter-spacing:-.3px !important;
}

.ttm-stat small,
.ttm-command-today-grid small,
.ttm-command-kpis small,
.ttm-dashboard-kpi-grid small,
.ttm-export-kpis small,
.ttm-report-kpi-v111 small{
  font-size:10.7px !important;
  color:#8a94a6 !important;
}

.ttm-command-dashboard,
.ttm-premium-dashboard,
.ttm-export-shell,
.ttm-profile-editor-shell{
  gap:13px !important;
}

.ttm-command-hero,
.ttm-dashboard-welcome-strip,
.ttm-profile-hero-updated,
.ttm-export-hero{
  padding:clamp(15px,1.8vw,22px) !important;
  overflow:hidden !important;
}

.ttm-command-hero h2,
.ttm-dashboard-welcome-strip h2,
.ttm-export-hero h2,
.ttm-profile-hero-copy h3{
  margin:6px 0 6px !important;
  font-size:clamp(18px,1.9vw,25px) !important;
}

.ttm-command-hero p,
.ttm-dashboard-welcome-strip p,
.ttm-export-hero p,
.ttm-profile-hero-copy p{
  max-width:720px;
  font-size:12.2px !important;
  line-height:1.8 !important;
}

.ttm-command-layout{
  gap:13px !important;
  grid-template-columns:minmax(0,1fr) minmax(282px,340px) !important;
}

.ttm-command-maincol,
.ttm-command-sidecol{
  gap:13px !important;
}

/* profile polish */
.ttm-profile-app-layout,
.ttm-profile-grid-panels{
  gap:13px !important;
}

.ttm-profile-hero-updated{
  grid-template-columns:minmax(0,1fr) minmax(220px,290px) !important;
}

.ttm-profile-status-pills{
  gap:7px !important;
  margin-top:12px !important;
}

.ttm-profile-avatar-frame{
  width:126px !important;
  height:126px !important;
  border-radius:28px !important;
}

.ttm-profile-avatar-initials{
  font-size:38px !important;
}

.ttm-profile-section{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-content:start !important;
}

.ttm-profile-section .ttm-card-head{
  grid-column:1/-1 !important;
  padding-bottom:9px !important;
  border-bottom:1px solid rgba(15,23,42,.065) !important;
}

.ttm-profile-list-card article{
  padding:10px !important;
  border-radius:14px !important;
  gap:9px !important;
}

.ttm-profile-list-card article b,
.ttm-profile-list-card article strong{
  font-size:12.2px !important;
}

.ttm-save-ribbon{
  padding:13px 15px !important;
  gap:10px !important;
  align-items:center !important;
}

/* tables */
.ttm-table-card{
  overflow:hidden !important;
}

.ttm-table-wrap{
  overflow:auto !important;
  max-width:100% !important;
  scrollbar-width:thin;
}

.ttm-table{
  min-width:680px !important;
}

.ttm-table th{
  padding:10px 11px !important;
  font-size:11.3px !important;
  background:#f8fafc !important;
  color:#64748b !important;
  text-align:right !important;
  white-space:nowrap;
}

.ttm-table td{
  padding:10px 11px !important;
  font-size:12px !important;
  text-align:right !important;
  vertical-align:middle !important;
}

.ttm-table tbody tr{
  transition:background var(--ttm-polish-fast);
}

.ttm-table tbody tr:hover{
  background:rgba(15,23,42,.025);
}

/* CSV center */
.ttm-csv-import-layout{
  grid-template-columns:minmax(0,1.45fr) minmax(220px,.75fr) !important;
  gap:12px !important;
}

.ttm-csv-sample-form,
.ttm-csv-import-form{
  border-radius:18px !important;
}

.ttm-csv-sample-form{
  background:rgba(248,250,252,.72) !important;
  border:1px dashed rgba(15,23,42,.16) !important;
  padding:13px !important;
}

.ttm-csv-import-form input[type="file"]{
  width:100% !important;
  background:#fff !important;
}

/* empty/loading states */
.ttm-empty,
.ttm-empty-state,
.ttm-no-data,
.ttm-mini-note,
.ttm-alert{
  border-radius:16px !important;
  padding:12px 14px !important;
  min-height:auto !important;
}

.ttm-alert{
  margin:10px 0 14px !important;
  font-size:12.4px !important;
}

/* reduce layout overflow */
.ttm-main,
.ttm-section,
.ttm-card,
.ttm-premium-card,
.ttm-command-dashboard,
.ttm-command-layout,
.ttm-profile-editor-shell,
.ttm-profile-grid-panels,
.ttm-export-shell,
.ttm-csv-import-layout,
.ttm-table-wrap{
  min-width:0 !important;
  max-width:100% !important;
}

.ttm-portal img,
.ttm-portal svg{
  max-width:100%;
}

/* motion safety */
@media (prefers-reduced-motion: reduce){
  .ttm-portal *,
  .ttm-section.is-active{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

@media (max-width:1280px){
  .ttm-command-today-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .ttm-command-layout{
    grid-template-columns:1fr !important;
  }
}

@media (max-width:1080px){
  .ttm-portal{
    grid-template-columns:1fr !important;
  }
  .ttm-sidebar{
    width:min(86vw,310px) !important;
    flex-basis:auto !important;
    max-width:310px !important;
    overflow-y:auto !important;
  }
  .ttm-main{
    padding:16px 13px 28px !important;
  }
  .ttm-topbar,
  .ttm-premium-topbar{
    flex-direction:column !important;
    align-items:stretch !important;
    gap:10px !important;
  }
  .ttm-top-actions{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr auto auto !important;
    gap:8px !important;
  }
  .ttm-search-lite{
    grid-column:1/-1 !important;
  }
  .ttm-dashboard-layout,
  .ttm-dashboard-layout-v105,
  .ttm-dashboard-hero-row,
  .ttm-profile-hero-updated,
  .ttm-profile-grid-panels,
  .ttm-export-hero,
  .ttm-csv-import-layout{
    grid-template-columns:1fr !important;
  }
}

@media (max-width:680px){
  .ttm-main{
    padding:14px 10px 24px !important;
  }
  .ttm-card,
  .ttm-premium-card,
  .ttm-command-panel,
  .ttm-export-filter-card,
  .ttm-export-preview-card,
  .ttm-csv-import-card,
  .ttm-profile-section,
  .ttm-command-hero,
  .ttm-dashboard-welcome-strip,
  .ttm-profile-hero-updated,
  .ttm-export-hero{
    border-radius:18px !important;
    padding:12px !important;
  }
  .ttm-stats-grid,
  .ttm-command-today-grid,
  .ttm-command-kpis,
  .ttm-dashboard-kpi-grid,
  .ttm-export-kpis,
  .ttm-report-kpi-grid-v111{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  .ttm-profile-section{
    grid-template-columns:1fr !important;
  }
  .ttm-btn{
    min-height:36px !important;
    padding:8px 10px !important;
    font-size:11.5px !important;
  }
  .ttm-table{
    min-width:620px !important;
  }
  .ttm-table th,
  .ttm-table td{
    padding:8px 9px !important;
    font-size:11.3px !important;
  }
}

@media (max-width:430px){
  .ttm-stats-grid,
  .ttm-command-today-grid,
  .ttm-command-kpis,
  .ttm-dashboard-kpi-grid,
  .ttm-export-kpis,
  .ttm-report-kpi-grid-v111{
    grid-template-columns:1fr !important;
  }
  .ttm-top-actions{
    grid-template-columns:1fr auto !important;
  }
  .ttm-top-actions .ttm-btn{
    grid-column:1/-1 !important;
  }
}

/* v1.0.0 JS-assisted safe states */
.ttm-nav-item.ttm-nav-search-dim{
  opacity:.38 !important;
}
.ttm-nav-item.ttm-nav-search-match{
  outline:1px solid rgba(255,255,255,.18) !important;
}
.ttm-table-wrap.has-scroll-x{
  position:relative;
}
.ttm-table-wrap.has-scroll-x:after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:26px;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,0));
}
.ttm-portal:not(.ttm-ux-ready){
  opacity:.985;
}

/* === Teamora v1.0.0 final UX cleanup: compact, row-based, no overflow === */
:root{
  --ttm-v262-font-xs:10px;
  --ttm-v262-font-sm:11px;
  --ttm-v262-font-md:12px;
  --ttm-v262-font:12.5px;
  --ttm-v262-title:15px;
  --ttm-v262-number:clamp(17px,1.45vw,23px);
  --ttm-v262-radius:16px;
  --ttm-v262-radius-lg:20px;
  --ttm-v262-border:rgba(15,23,42,.085);
  --ttm-v262-shadow:0 10px 28px rgba(15,23,42,.045);
}

.ttm-portal,
.ttm-portal *{
  word-break:normal;
  overflow-wrap:anywhere;
}

.ttm-portal :where(h1,h2,h3,h4,p,span,b,strong,small,label,td,th,button,input,select,textarea){
  max-width:100%;
}

.ttm-portal :where(p,span,small,label,td,th,input,select,textarea,button){
  font-size:var(--ttm-v262-font) !important;
  line-height:1.48 !important;
}

.ttm-portal :where(small,.ttm-muted-inline,.ttm-mini-note-inline){
  font-size:var(--ttm-v262-font-sm) !important;
}

.ttm-portal h1{font-size:clamp(19px,1.7vw,23px)!important;line-height:1.3!important}
.ttm-portal h2{font-size:clamp(17px,1.45vw,21px)!important;line-height:1.35!important}
.ttm-portal h3{font-size:var(--ttm-v262-title)!important;line-height:1.38!important}

/* Sidebar request: remove brand box, slim one-line greeting */
.ttm-sidebar-brand-badge{display:none!important}
.ttm-sidebar-greeting-slim,
.ttm-sidebar-greeting{
  min-height:32px!important;
  padding:7px 10px!important;
  margin:0!important;
  border-radius:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.ttm-sidebar-greeting-slim span,
.ttm-sidebar-greeting span,
.ttm-sidebar-greeting strong{
  display:block!important;
  font-size:11.5px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ttm-sidebar-greeting-slim strong + span,
.ttm-sidebar-greeting strong + span{display:none!important}
.ttm-sidebar-person-actions{display:block!important}
.ttm-user-profile-action{width:100%!important;min-height:30px!important}

/* global cards: less height, cleaner fit */
.ttm-card,
.ttm-premium-card,
.ttm-profile-summary-card,
.ttm-dashboard-welcome-strip,
.ttm-command-hero,
.ttm-command-panel,
.ttm-export-hero,
.ttm-export-filter-card,
.ttm-export-preview-card,
.ttm-csv-import-card,
.ttm-profile-section,
.ttm-profile-hero-updated,
.ttm-table-card,
.ttm-wide-gradient,
.ttm-attendance-hero,
.ttm-attendance-actions{
  border-radius:var(--ttm-v262-radius-lg)!important;
  padding:clamp(11px,1.1vw,16px)!important;
  min-height:0!important;
  box-shadow:var(--ttm-v262-shadow)!important;
}

.ttm-card-head,
.ttm-command-panel-head,
.ttm-card-headline{
  margin-bottom:9px!important;
  gap:8px!important;
}
.ttm-card-head > span,
.ttm-command-panel-head > span,
.ttm-card-icon,
.ttm-premium-icon{
  width:30px!important;height:30px!important;min-width:30px!important;border-radius:11px!important;font-size:12px!important;
}

/* big KPI numbers everywhere */
.ttm-premium-metric,
.ttm-stat,
.ttm-command-today-grid article,
.ttm-dashboard-kpi-grid article,
.ttm-command-kpis article,
.ttm-export-kpis article,
.ttm-report-kpi-v111,
.ttm-profile-dossier-strip article,
.ttm-smart-kpis article,
.ttm-request-metrics article,
.ttm-employee-dossier-metrics article,
.ttm-contract-alert-grid article,
.ttm-asset-metrics article,
.ttm-gm-kpi-grid article{
  padding:10px 11px!important;
  border-radius:16px!important;
  min-height:74px!important;
  overflow:hidden!important;
  align-content:center!important;
}
.ttm-premium-metric b,
.ttm-premium-metric strong,
.ttm-stat strong,
.ttm-command-today-grid strong,
.ttm-dashboard-kpi-grid strong,
.ttm-command-kpis strong,
.ttm-export-kpis strong,
.ttm-report-kpi-v111 strong,
.ttm-profile-dossier-strip strong,
.ttm-smart-kpis b,
.ttm-request-metrics strong,
.ttm-employee-dossier-metrics strong,
.ttm-contract-alert-grid strong,
.ttm-asset-metrics strong,
.ttm-gm-kpi-grid strong{
  font-size:var(--ttm-v262-number)!important;
  line-height:1.12!important;
  margin:3px 0!important;
  letter-spacing:-.35px!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:hidden!important;
}
.ttm-premium-metric strong{
  font-size:13px!important;
  line-height:1.35!important;
}
.ttm-premium-metric small,
.ttm-stat small,
.ttm-command-today-grid small,
.ttm-dashboard-kpi-grid small,
.ttm-command-kpis small,
.ttm-export-kpis small,
.ttm-report-kpi-v111 small,
.ttm-profile-dossier-strip small,
.ttm-smart-kpis small{
  font-size:10.5px!important;
  line-height:1.35!important;
}

/* forms/buttons/tables fit */
.ttm-btn,
.ttm-table-link,
.ttm-status-badge,
.ttm-status,
.ttm-pill,
.ttm-badge,
.ttm-soft-tag{
  min-height:24px!important;
  padding:5px 9px!important;
  font-size:10.6px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.ttm-btn{min-height:34px!important;padding:7px 11px!important;border-radius:12px!important}
.ttm-inline-form{min-width:0!important;display:flex!important;gap:6px!important;align-items:center!important;flex-wrap:nowrap!important}
.ttm-inline-form input,.ttm-inline-form select{min-width:88px!important;height:34px!important;font-size:11px!important;padding:6px 8px!important}
.ttm-table{min-width:640px!important;table-layout:auto!important}
.ttm-table th,.ttm-table td{padding:8px 9px!important;font-size:11.3px!important;line-height:1.45!important;vertical-align:middle!important}
.ttm-table td small,.ttm-table th small{display:block!important;font-size:10px!important;margin-top:2px!important;color:#7b8495!important}
.ttm-action-links{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}

/* Employee dashboard cleanup */
.ttm-dashboard-welcome-strip{display:none!important}
.ttm-premium-dashboard{gap:12px!important}
.ttm-dashboard-hero-row{grid-template-columns:minmax(230px,.72fr) minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important}
.ttm-cinematic-hero{min-height:176px!important;border-radius:22px!important;padding:18px!important;display:flex!important;align-items:center!important}
.ttm-cinematic-hero h2{font-size:clamp(20px,2vw,27px)!important;margin:6px 0!important}
.ttm-cinematic-hero p{font-size:12.4px!important;line-height:1.7!important;max-width:430px!important}
.ttm-profile-summary-card{gap:11px!important;justify-content:center!important}
.ttm-dashboard-bottom-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed{display:grid!important;gap:7px!important}
.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article{min-height:44px!important;padding:8px 10px!important;border-radius:14px!important}

/* Attendance redesign */
.ttm-attendance-shell{display:grid!important;gap:11px!important}
.ttm-attendance-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(150px,210px)!important;gap:12px!important;align-items:center!important}
.ttm-attendance-hero h3{font-size:clamp(18px,1.7vw,23px)!important;margin:3px 0!important}
.ttm-attendance-status{padding:10px!important;border-radius:16px!important;text-align:center!important;background:#fff!important;border:1px solid var(--ttm-v262-border)!important}
.ttm-attendance-status strong[data-ttm-attendance-live]{font-size:clamp(20px,2vw,28px)!important;line-height:1.05!important;display:block!important;direction:ltr!important;unicode-bidi:embed!important;white-space:nowrap!important}
.ttm-attendance-clock-grid,.ttm-shift-mini-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.ttm-attendance-clock-grid>div,.ttm-shift-mini-grid>div{min-height:56px!important;padding:8px 9px!important;border-radius:14px!important;overflow:hidden!important}
.ttm-attendance-clock-grid strong,.ttm-shift-mini-grid strong{font-size:13px!important;line-height:1.3!important;white-space:normal!important;overflow:hidden!important}
.ttm-attendance-action-form textarea{min-height:50px!important;max-height:74px!important}
.ttm-attendance-buttons{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.ttm-attendance-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
.ttm-attendance-metrics .ttm-premium-metric{min-height:78px!important;text-align:right!important;align-items:flex-start!important}
.ttm-attendance-metrics .ttm-premium-metric b{font-size:clamp(17px,1.55vw,22px)!important;line-height:1.2!important;direction:rtl!important}

/* Documents: row-first, compact, no duplicate card display */
.ttm-docs-layout,.ttm-doc-grid{display:none!important}
.ttm-doc-category-card-compact{padding:12px!important}
.ttm-doc-category-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.ttm-doc-category-chip{min-height:38px!important;padding:7px 10px!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
.ttm-doc-category-chip span{font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ttm-doc-category-chip b{font-size:13px!important;min-width:22px;text-align:center!important}
.ttm-documents-row-list,.ttm-official-request-list,.ttm-official-archive{padding:12px!important}
.ttm-documents-table td,.ttm-official-archive-table td{height:44px!important}
.ttm-void-form input{max-width:150px!important}

/* Notifications: calmer, less clutter */
.ttm-smart-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;min-height:auto!important;padding:14px!important}
.ttm-smart-hero form{align-self:center!important}
.ttm-smart-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}
.ttm-smart-rules-card{padding:12px!important}
.ttm-smart-alert-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.ttm-smart-alert{min-height:74px!important;padding:10px 12px!important;border-radius:16px!important;text-align:right!important;display:grid!important;gap:4px!important;align-content:center!important}
.ttm-smart-alert strong{font-size:13px!important;line-height:1.35!important}
.ttm-smart-alert small{font-size:11px!important;line-height:1.5!important}
.ttm-notifications-premium-smart{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
.ttm-notification-side{display:none!important}
.ttm-filter-tabs-chips{gap:7px!important;flex-wrap:wrap!important;margin-bottom:9px!important}
.ttm-filter-tabs-chips button{min-height:30px!important;padding:6px 10px!important;font-size:10.8px!important;border-radius:999px!important}
.ttm-notification-row{min-height:50px!important;padding:8px 10px!important;border-radius:14px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:8px!important;align-items:center!important}
.ttm-notification-row .ttm-notification-icon,.ttm-notification-row .ttm-dot{display:none!important}
.ttm-notification-row h3{font-size:12.6px!important;margin:0 0 2px!important}
.ttm-notification-row p{font-size:11px!important;line-height:1.45!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ttm-notification-row time{font-size:10px!important;white-space:nowrap!important;color:#768196!important}

/* Profile: remove noisy side card, simplify top */
.ttm-profile-app-layout{display:block!important}
.ttm-profile-mobile-card{display:none!important}
.ttm-profile-editor-shell{gap:11px!important}
.ttm-profile-hero-updated{grid-template-columns:minmax(0,1fr) minmax(170px,230px)!important;padding:14px!important;border-radius:20px!important;min-height:0!important}
.ttm-profile-hero-copy h3{font-size:clamp(20px,1.8vw,25px)!important;margin:4px 0!important}
.ttm-profile-hero-copy p{font-size:12px!important;line-height:1.65!important;max-width:720px!important}
.ttm-profile-status-pills{gap:6px!important;margin-top:9px!important}
.ttm-profile-avatar-frame{width:96px!important;height:96px!important;border-radius:22px!important}
.ttm-profile-upload-box small{font-size:10px!important}
.ttm-profile-file-field input[type=file]{padding:7px!important;font-size:10.5px!important}
.ttm-profile-dossier-strip{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
.ttm-profile-grid-panels{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.ttm-profile-section{padding:11px!important;border-radius:17px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.ttm-profile-section .ttm-card-head{padding-bottom:7px!important;margin-bottom:2px!important}
.ttm-profile-section input,.ttm-profile-section textarea,.ttm-profile-section select{min-height:34px!important;font-size:11.5px!important;padding:7px 9px!important}
.ttm-profile-section textarea{min-height:62px!important}
.ttm-profile-list-card article{min-height:42px!important;padding:8px!important;border-radius:12px!important}
.ttm-profile-list-card article strong{font-size:12.5px!important;line-height:1.25!important}
.ttm-save-ribbon{padding:10px 12px!important;border-radius:16px!important}
.ttm-save-ribbon span{font-size:11px!important;line-height:1.55!important}

/* Assets/cards overflow guard */
.ttm-asset-metrics,.ttm-request-metrics,.ttm-employee-dossier-metrics,.ttm-contract-dossier-metrics{gap:9px!important}
.ttm-asset-metrics article *,.ttm-request-metrics article *,.ttm-employee-dossier-metrics article *,.ttm-contract-dossier-metrics article *{overflow:hidden!important;text-overflow:ellipsis!important}

@media (max-width:1180px){
  .ttm-dashboard-bottom-grid,.ttm-smart-kpis,.ttm-doc-category-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-profile-dossier-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-profile-grid-panels{grid-template-columns:1fr!important}
}
@media (max-width:760px){
  .ttm-dashboard-hero-row,.ttm-attendance-hero,.ttm-profile-hero-updated,.ttm-smart-hero{grid-template-columns:1fr!important}
  .ttm-dashboard-bottom-grid,.ttm-smart-alert-grid,.ttm-attendance-metrics,.ttm-attendance-clock-grid,.ttm-shift-mini-grid,.ttm-attendance-buttons{grid-template-columns:1fr!important}
  .ttm-smart-kpis,.ttm-doc-category-row{grid-template-columns:1fr!important}
  .ttm-cinematic-hero{min-height:130px!important}
  .ttm-table{min-width:560px!important}
}

/* === Teamora v1.0.0 — HARD SIDEBAR REPAIR ON TOP OF BROKEN v1.0.0
   Scope: only app shell/sidebar/main placement. Keeps the latest v1.0.0 UI changes.
========================================================================== */
@media (min-width:900px){
  body.ttm-standalone,
  body.ttm-app-page{
    height:100dvh !important;
    min-height:100dvh !important;
    overflow:hidden !important;
  }

  .ttm-portal{
    --ttm-sidebar-width:296px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) var(--ttm-sidebar-width) !important;
    grid-template-areas:"ttm-main ttm-sidebar" !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:100vh !important;
    height:100dvh !important;
    min-height:0 !important;
    max-height:100dvh !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    direction:ltr !important;
    box-sizing:border-box !important;
  }

  .ttm-portal > .ttm-mobile-head,
  .ttm-portal > .ttm-mobile-fab-menu,
  .ttm-portal > .ttm-drawer-overlay{
    display:none !important;
  }

  .ttm-portal > .ttm-sidebar{
    grid-area:ttm-sidebar !important;
    position:relative !important;
    inset:auto !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    transform:none !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    width:var(--ttm-sidebar-width) !important;
    min-width:var(--ttm-sidebar-width) !important;
    max-width:var(--ttm-sidebar-width) !important;
    height:100vh !important;
    height:100dvh !important;
    min-height:0 !important;
    max-height:100dvh !important;
    margin:0 !important;
    padding:14px 14px 16px !important;
    z-index:20 !important;
    direction:rtl !important;
    overflow:hidden !important;
    display:flex !important;
    flex-direction:column !important;
    box-sizing:border-box !important;
    border-radius:0 !important;
  }

  .ttm-portal > .ttm-sidebar .ttm-nav{
    flex:1 1 auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding:2px 0 10px !important;
    scrollbar-gutter:stable !important;
  }

  .ttm-portal > .ttm-sidebar .ttm-logout-form{
    flex:0 0 auto !important;
    margin-top:auto !important;
  }

  .ttm-portal > .ttm-main{
    grid-area:ttm-main !important;
    position:relative !important;
    z-index:1 !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:100vh !important;
    height:100dvh !important;
    min-height:0 !important;
    max-height:100dvh !important;
    margin:0 !important;
    padding:24px clamp(18px,2.2vw,34px) 52px !important;
    direction:rtl !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain !important;
    scrollbar-gutter:stable both-edges !important;
    box-sizing:border-box !important;
  }

  .ttm-portal > .ttm-main > .ttm-section,
  .ttm-portal .ttm-section.is-active{
    max-width:100% !important;
    min-width:0 !important;
  }

  .ttm-portal > .ttm-sidebar .ttm-sidebar-person-card{
    flex:0 0 auto !important;
    width:100% !important;
    max-width:100% !important;
  }

  .ttm-portal > .ttm-sidebar .ttm-sidebar-greeting{
    width:100% !important;
    min-height:30px !important;
    max-height:32px !important;
    padding:6px 10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    white-space:nowrap !important;
    overflow:hidden !important;
  }

  .ttm-portal > .ttm-sidebar .ttm-sidebar-greeting span{
    display:none !important;
  }

  .ttm-portal > .ttm-sidebar .ttm-sidebar-brand-badge{
    display:none !important;
  }
}

/* true mobile drawer remains mobile */
@media (max-width:899px){
  body.ttm-standalone,
  body.ttm-app-page{
    overflow-x:hidden !important;
  }

  .ttm-portal{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    direction:rtl !important;
    overflow-x:hidden !important;
  }

  .ttm-portal > .ttm-main{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
}


/* ===== v1.0.0 UI polish render ===== */
.ttm-sidebar-greeting.ttm-sidebar-greeting-slim{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:10px 14px!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.08))!important;border:1px solid rgba(255,255,255,.18)!important;text-align:center!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important}
.ttm-sidebar-greeting.ttm-sidebar-greeting-slim strong,.ttm-sidebar-greeting.ttm-sidebar-greeting-slim span{display:block!important;width:100%!important;margin:0!important;color:#fff!important;font-size:13px!important;font-weight:900!important;line-height:1.55!important;opacity:1!important;letter-spacing:0!important}
.ttm-sidebar-greeting.ttm-sidebar-greeting-slim small{display:none!important}

.ttm-topbar{padding:16px 18px!important;min-height:108px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;border-radius:28px!important;background:rgba(255,255,255,.84)!important;border:1px solid rgba(226,232,240,.88)!important;box-shadow:0 16px 36px rgba(15,23,42,.055)!important}
.ttm-topbar h1{margin:0!important;font-size:32px!important;line-height:1.2!important}
.ttm-topbar .ttm-title-block{min-width:0!important;flex:1 1 320px!important}
.ttm-topbar .ttm-title-block p{margin:6px 0 0!important;max-width:100%!important}
.ttm-topbar > *{min-width:0!important}

.ttm-dashboard-hero-row.ttm-dashboard-layout-v105{grid-template-columns:minmax(245px,286px) minmax(0,1fr)!important;gap:14px!important;align-items:stretch!important}
.ttm-profile-summary-card{padding:18px!important;border-radius:26px!important;gap:12px!important}
.ttm-profile-summary-top{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:12px!important;align-items:center!important}
.ttm-profile-summary-top .ttm-dashboard-avatar,.ttm-profile-summary-top img{width:64px!important;height:64px!important;border-radius:18px!important;min-width:64px!important}
.ttm-profile-summary-top strong{font-size:18px!important;line-height:1.35!important}
.ttm-profile-summary-top span,.ttm-profile-summary-top small{font-size:12px!important;line-height:1.6!important}
.ttm-profile-summary-status{padding:10px 12px!important;border-radius:16px!important;background:#f8fafc!important;border:1px solid #e7edf5!important}
.ttm-profile-summary-status b{font-size:16px!important}
.ttm-cinematic-hero{min-height:220px!important;border-radius:28px!important}
.ttm-hero-content{padding:24px!important;max-width:100%!important}
.ttm-hero-content h2{font-size:27px!important;line-height:1.25!important;margin:10px 0 8px!important}
.ttm-hero-content p{max-width:62ch!important;font-size:13px!important;line-height:1.85!important}
.ttm-hero-actions-v107{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:14px!important}

.ttm-premium-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.ttm-premium-metric{display:grid!important;align-content:start!important;justify-items:start!important;text-align:right!important;gap:5px!important;padding:16px!important;min-height:118px!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#fcfdff)!important;border:1px solid rgba(226,232,240,.92)!important;box-shadow:0 14px 34px rgba(15,23,42,.05)!important}
.ttm-premium-icon{width:38px!important;height:38px!important;border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;font-size:16px!important}
.ttm-premium-metric b{font-size:24px!important;line-height:1.15!important;color:#111827!important}
.ttm-premium-metric strong{font-size:16px!important;line-height:1.45!important;color:#334155!important}
.ttm-premium-metric small{font-size:11px!important;line-height:1.7!important;color:#64748b!important}
.ttm-attendance-metrics .ttm-premium-metric{min-height:108px!important;padding:14px 16px!important}
.ttm-attendance-metrics .ttm-premium-metric b{font-size:20px!important;font-weight:850!important}
.ttm-attendance-metrics .ttm-premium-metric strong{font-size:14px!important;font-weight:900!important}
.ttm-attendance-metrics .ttm-premium-metric small{font-size:10.75px!important}

.ttm-gm-attendance-overview{display:grid!important;gap:12px!important}
.ttm-gm-attendance-intro{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:14px 16px!important;border-radius:18px!important;background:#111827!important}
.ttm-gm-attendance-intro b{font-size:14px!important;color:#fff!important}
.ttm-gm-attendance-intro span{font-size:12px!important;line-height:1.8!important;color:rgba(255,255,255,.72)!important}
.ttm-gm-attendance-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.ttm-gm-attendance-kpis article{padding:12px!important;border-radius:18px!important;background:#0f172a!important;border:1px solid rgba(255,255,255,.06)!important}
.ttm-gm-attendance-kpis small{font-size:11px!important}
.ttm-gm-attendance-kpis b{font-size:20px!important;margin:4px 0!important}
.ttm-gm-attendance-kpis span{font-size:10.75px!important;line-height:1.65!important}
.ttm-gm-attendance-list{display:grid!important;gap:10px!important}
.ttm-gm-attendance-row{padding:12px 14px!important;border-radius:18px!important;background:#111827!important;border:1px solid rgba(255,255,255,.06)!important}
.ttm-gm-attendance-row-head strong{font-size:12.5px!important}
.ttm-gm-attendance-row-head span{font-size:11px!important}
.ttm-gm-attendance-bars{gap:8px!important;margin-top:10px!important}
.ttm-gm-attendance-bar-item{grid-template-columns:46px minmax(0,1fr) 24px!important;gap:8px!important;align-items:center!important}
.ttm-gm-attendance-bar-item label,.ttm-gm-attendance-bar-item b{font-size:11px!important}
.ttm-gm-attendance-bar-track{height:10px!important;border-radius:999px!important}
.ttm-gm-attendance-footer{padding:10px 2px 0!important}
.ttm-gm-attendance-footer p,.ttm-gm-attendance-legend span{font-size:11px!important}

.ttm-command-dashboard{display:grid!important;gap:16px!important}
.ttm-command-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:16px!important;align-items:end!important;padding:20px!important;border-radius:28px!important;background:linear-gradient(135deg,#fff,#fff6f7)!important;border:1px solid rgba(229,9,20,.10)!important;box-shadow:0 18px 46px rgba(15,23,42,.06)!important;color:#111827!important}
.ttm-command-hero .ttm-soft-tag{background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;border:1px solid rgba(229,9,20,.12)!important}
.ttm-command-hero h2{margin:10px 0 8px!important;font-size:28px!important;line-height:1.25!important;color:#111827!important}
.ttm-command-hero p{margin:0!important;color:#64748b!important;line-height:1.9!important;max-width:68ch!important}
.ttm-command-status-line{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin-top:14px!important}
.ttm-command-hero-profile{display:flex!important;align-items:center!important;gap:12px!important;padding:14px 16px!important;border-radius:22px!important;background:linear-gradient(135deg,#0e1520,#1b2330)!important;color:#fff!important;min-height:100%!important}
.ttm-command-hero-profile strong,.ttm-command-hero-profile span,.ttm-command-hero-profile small{display:block!important;color:#fff!important}
.ttm-command-hero-profile strong{font-size:18px!important}
.ttm-command-hero-profile span,.ttm-command-hero-profile small{font-size:12px!important;opacity:.84!important}
.ttm-command-hero-profile img,.ttm-command-hero-profile .ttm-dashboard-avatar,.ttm-command-hero-profile .ttm-dashboard-avatar img{width:64px!important;height:64px!important;min-width:64px!important;border-radius:18px!important}
.ttm-command-today-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
.ttm-command-today-grid article{padding:16px!important;border-radius:22px!important;background:#fff!important;border:1px solid #e7edf5!important;box-shadow:0 12px 28px rgba(15,23,42,.04)!important}
.ttm-command-today-grid span{font-size:12px!important}
.ttm-command-today-grid strong{font-size:24px!important;line-height:1.15!important}
.ttm-command-today-grid small{font-size:11px!important;line-height:1.7!important}
.ttm-command-layout{grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important;align-items:start!important}
.ttm-command-alert-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.ttm-command-alert{min-height:110px!important;padding:14px!important;border-radius:18px!important}
.ttm-command-alert b{font-size:14px!important}
.ttm-command-alert span{font-size:11.5px!important;line-height:1.8!important}
.ttm-command-action-grid{grid-template-columns:1fr!important}
.ttm-command-action-grid button{min-height:48px!important;font-size:13px!important}

.ttm-official-request-list td:last-child,.ttm-official-archive-list td:last-child{white-space:nowrap!important}
.ttm-official-request-list .ttm-inline-form,.ttm-official-request-list .ttm-form-actions,.ttm-official-request-list .ttm-action-links,.ttm-official-archive-list .ttm-action-links,.ttm-official-archive-list .ttm-inline-form,.ttm-inline-form.ttm-void-form{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
.ttm-action-links .ttm-table-link,.ttm-action-links .ttm-inline-form,.ttm-official-request-list .ttm-btn-mini,.ttm-official-archive-list .ttm-btn-mini{flex:0 0 auto!important}
.ttm-official-request-list .ttm-inline-form select,.ttm-official-request-list .ttm-inline-form input,.ttm-inline-form.ttm-void-form input{min-width:0!important}
.ttm-official-request-list .ttm-inline-form select{width:120px!important}
.ttm-official-request-list .ttm-inline-form input{width:150px!important}
.ttm-inline-form.ttm-void-form input{width:116px!important}

.ttm-profile-hero-updated{grid-template-columns:minmax(0,1fr) 216px!important;gap:16px!important;align-items:center!important;padding:16px 18px!important;border-radius:28px!important}
.ttm-profile-hero-copy h3{margin:0 0 6px!important;font-size:24px!important;line-height:1.25!important}
.ttm-profile-hero-copy p{font-size:13px!important;line-height:1.85!important}
.ttm-profile-status-pills{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:12px!important}
.ttm-profile-status-pills .ttm-status-badge{font-size:11px!important;padding:7px 10px!important;border-radius:999px!important}
.ttm-profile-avatar-stage{gap:8px!important}
.ttm-profile-avatar-frame{width:96px!important;height:96px!important;border-radius:24px!important}
.ttm-profile-avatar-image{border-radius:24px!important}
.ttm-profile-avatar-initials{font-size:30px!important}
.ttm-profile-upload-box{gap:6px!important;width:100%!important;text-align:center!important}
.ttm-profile-file-field{gap:6px!important;width:100%!important}
.ttm-profile-file-field input[type=file]{min-height:42px!important;padding:6px 10px!important;border-radius:14px!important;font-size:11.5px!important}
.ttm-profile-upload-box small{font-size:10.5px!important;line-height:1.6!important}
.ttm-profile-remove-check{min-height:42px!important;padding:8px 12px!important;border-radius:14px!important}
.ttm-profile-grid-panels{gap:14px!important}
.ttm-profile-section{padding:18px!important;border-radius:24px!important;gap:12px!important}
.ttm-profile-section .ttm-card-head h3{font-size:16px!important}
.ttm-profile-section label{font-size:11.5px!important;gap:6px!important}
.ttm-profile-section input,.ttm-profile-section textarea{min-height:42px!important;padding:9px 12px!important;font-size:12px!important;border-radius:14px!important}
.ttm-profile-section textarea{min-height:84px!important}

.ttm-smart-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;padding:20px!important}
.ttm-smart-hero h2{margin:8px 0!important;font-size:24px!important;line-height:1.3!important}
.ttm-smart-hero p{margin:0!important;font-size:13px!important;line-height:1.85!important;color:#64748b!important}
.ttm-smart-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.ttm-smart-kpis article{padding:16px!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;border:1px solid #e7edf5!important;box-shadow:0 14px 34px rgba(15,23,42,.045)!important}
.ttm-smart-kpis span{font-size:12px!important}
.ttm-smart-kpis b{font-size:24px!important;line-height:1.15!important}
.ttm-smart-kpis small{font-size:11px!important;line-height:1.7!important}
.ttm-smart-alert-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.ttm-smart-alert{position:relative!important;min-height:126px!important;padding:16px!important;border-radius:22px!important;text-align:right!important;box-shadow:0 14px 34px rgba(15,23,42,.05)!important}
.ttm-smart-alert span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;padding:6px 10px!important;border-radius:999px!important;font-size:11px!important;font-weight:900!important}
.ttm-smart-alert strong{display:block!important;margin-top:10px!important;font-size:15px!important;line-height:1.55!important}
.ttm-smart-alert small{display:block!important;margin-top:8px!important;font-size:12px!important;line-height:1.8!important}
.ttm-notifications-premium-smart{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:16px!important;align-items:start!important}
.ttm-notification-list-panel{padding:18px!important;border-radius:28px!important}
.ttm-filter-tabs-chips{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:0 0 14px!important;margin-bottom:14px!important;border-bottom:1px solid #eef2f7!important}
.ttm-filter-tabs-chips button{min-height:38px!important;padding:0 14px!important;border-radius:999px!important;background:#f8fafc!important;border:1px solid #e7edf5!important;color:#475569!important;font-size:12px!important;font-weight:850!important}
.ttm-filter-tabs-chips button.is-active{background:linear-gradient(135deg,rgba(229,9,20,.10),rgba(229,9,20,.02))!important;border-color:rgba(229,9,20,.28)!important;color:var(--ttm-primary,#e50914)!important}
.ttm-notification-row{display:grid!important;grid-template-columns:10px 42px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:16px!important;margin-bottom:10px!important;border:1px solid #e7edf5!important;border-radius:22px!important;background:linear-gradient(135deg,#fff,#fcfdff)!important;box-shadow:0 12px 28px rgba(15,23,42,.04)!important}
.ttm-notification-row.is-unread{background:linear-gradient(135deg,#fff,#fff6f7)!important;border-color:rgba(229,9,20,.16)!important}
.ttm-notification-row .ttm-dot{width:8px!important;height:8px!important;border-radius:999px!important;background:var(--ttm-primary,#e50914)!important;box-shadow:0 0 0 6px rgba(229,9,20,.08)!important}
.ttm-notification-icon{width:42px!important;height:42px!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary,#e50914)!important;font-size:16px!important}
.ttm-notification-row h3{margin:0 0 4px!important;font-size:15px!important;color:#111827!important}
.ttm-notification-row p{margin:0!important;font-size:12.5px!important;line-height:1.75!important;color:#64748b!important}
.ttm-notification-row small{display:block!important;margin-top:6px!important;font-size:11px!important;color:#94a3b8!important}
.ttm-notification-row time{padding:8px 10px!important;border-radius:12px!important;background:#f8fafc!important;color:#64748b!important;font-size:11px!important;white-space:nowrap!important}
.ttm-notification-side-clean{display:grid!important;gap:14px!important}
.ttm-unread-panel,.ttm-smart-notice{padding:18px!important;border-radius:24px!important;background:linear-gradient(135deg,#0e1520,#bf0712)!important;color:#fff!important;box-shadow:0 20px 48px rgba(15,23,42,.12)!important}
.ttm-unread-panel strong{display:block!important;font-size:32px!important;line-height:1.1!important;color:#fff!important}
.ttm-unread-panel span,.ttm-unread-panel small,.ttm-smart-notice,.ttm-smart-notice small{color:rgba(255,255,255,.82)!important;font-size:12px!important;line-height:1.75!important}

@media (max-width: 1280px){
  .ttm-premium-metrics,.ttm-smart-kpis,.ttm-command-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-command-layout,.ttm-notifications-premium-smart,.ttm-dashboard-hero-row.ttm-dashboard-layout-v105,.ttm-profile-hero-updated{grid-template-columns:1fr!important}
  .ttm-command-alert-list,.ttm-smart-alert-grid{grid-template-columns:1fr!important}
  .ttm-command-hero{grid-template-columns:1fr!important}
}
@media (max-width: 767px){
  .ttm-topbar{min-height:auto!important;padding:14px!important}
  .ttm-premium-metrics,.ttm-smart-kpis,.ttm-gm-attendance-kpis{grid-template-columns:1fr 1fr!important}
  .ttm-notification-row{grid-template-columns:10px 36px minmax(0,1fr)!important}
  .ttm-notification-row time{grid-column:2/-1!important;justify-self:start!important}
  .ttm-dashboard-hero-row.ttm-dashboard-layout-v105,.ttm-profile-hero-updated,.ttm-command-layout,.ttm-notifications-premium-smart{grid-template-columns:1fr!important}
  .ttm-command-today-grid,.ttm-smart-alert-grid,.ttm-command-alert-list{grid-template-columns:1fr!important}
  .ttm-official-request-list .ttm-inline-form,.ttm-action-links,.ttm-inline-form.ttm-void-form{flex-wrap:wrap!important}
}

/* ===== v1.0.0 compact phase render: dashboard, PWA, profile, leaves, performance, notifications, uploads ===== */
:where(.ttm-portal,.ttm-portal *){overflow-wrap:break-word!important;word-break:normal!important}
.ttm-main{padding:18px 24px 42px!important}
.ttm-topbar{min-height:64px!important;padding:10px 14px!important;margin-bottom:12px!important;border-radius:22px!important;align-items:center!important;gap:10px!important}
.ttm-topbar h1{font-size:25px!important;line-height:1.15!important;margin:0!important;font-weight:900!important}
.ttm-topbar .ttm-title-block p{font-size:11px!important;margin:3px 0 0!important;line-height:1.65!important;color:#64748b!important}
.ttm-top-actions.ttm-premium-actions{gap:8px!important;align-items:center!important;flex:0 1 auto!important}
.ttm-search-lite{min-height:38px!important;height:38px!important;border-radius:15px!important;max-width:230px!important}
.ttm-search-lite input{height:36px!important;font-size:11px!important;padding:0 8px!important}
.ttm-bell-lite{width:38px!important;height:38px!important;min-height:38px!important;border-radius:14px!important}
.ttm-topbar .ttm-btn{min-height:38px!important;padding:8px 13px!important;border-radius:14px!important;font-size:11.5px!important;font-weight:800!important}

/* dashboard cards typography */
.ttm-premium-metrics{gap:10px!important}
.ttm-premium-metric{min-height:86px!important;padding:12px 14px!important;border-radius:18px!important;gap:3px!important;align-content:center!important;overflow:hidden!important}
.ttm-premium-icon{width:30px!important;height:30px!important;border-radius:12px!important;font-size:13px!important;position:absolute!important;inset-inline-start:14px!important;top:14px!important;opacity:.9!important}
.ttm-premium-metric b{font-size:18px!important;line-height:1.25!important;font-weight:820!important;max-width:100%!important}
.ttm-premium-metric strong{font-size:12.5px!important;line-height:1.45!important;font-weight:780!important;color:#334155!important}
.ttm-premium-metric small{font-size:10px!important;line-height:1.55!important;font-weight:520!important;color:#64748b!important}

/* manager attendance summary - compact managerial strip */
.ttm-command-dashboard{gap:12px!important}
.ttm-command-hero{padding:14px 16px!important;border-radius:22px!important;grid-template-columns:minmax(0,1fr) 220px!important}
.ttm-command-hero h2{font-size:22px!important;margin:6px 0!important;font-weight:860!important}
.ttm-command-hero p{font-size:12px!important;line-height:1.75!important}
.ttm-command-today-grid{gap:9px!important}
.ttm-command-today-grid article{min-height:76px!important;padding:11px 12px!important;border-radius:17px!important}
.ttm-command-today-grid strong{font-size:18px!important;font-weight:820!important}
.ttm-command-today-grid span,.ttm-command-today-grid small{font-size:10.5px!important;line-height:1.5!important;font-weight:560!important}
.ttm-command-panel{border-radius:22px!important;padding:13px!important}
.ttm-command-panel-head{gap:8px!important;margin-bottom:10px!important;align-items:center!important}
.ttm-command-panel-head h3{font-size:14px!important;font-weight:820!important;margin:0!important}
.ttm-command-panel-head p{font-size:10.5px!important;line-height:1.55!important;margin:2px 0 0!important}
.ttm-command-attendance-panel{max-height:none!important;overflow:hidden!important}
.ttm-gm-attendance-overview{gap:8px!important}
.ttm-gm-attendance-intro{padding:10px 12px!important;border-radius:16px!important;align-items:center!important;background:linear-gradient(135deg,#111827,#151c2a)!important}
.ttm-gm-attendance-intro b{font-size:12.5px!important;font-weight:780!important}
.ttm-gm-attendance-intro span{font-size:10px!important;line-height:1.55!important}
.ttm-gm-attendance-intro .ttm-status-badge{padding:5px 8px!important;font-size:9.5px!important}
.ttm-gm-attendance-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.ttm-gm-attendance-kpis article{min-height:56px!important;padding:8px!important;border-radius:13px!important;background:#0f172a!important}
.ttm-gm-attendance-kpis small{font-size:9px!important;line-height:1.35!important;font-weight:520!important}
.ttm-gm-attendance-kpis b{font-size:15px!important;margin:1px 0!important;font-weight:820!important}
.ttm-gm-attendance-kpis span{font-size:8.5px!important;line-height:1.3!important;font-weight:480!important}
.ttm-gm-attendance-list{gap:6px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
.ttm-gm-attendance-row{padding:8px!important;border-radius:14px!important;min-height:72px!important;display:grid!important;align-content:start!important;background:#111827!important}
.ttm-gm-attendance-row-head{display:grid!important;gap:2px!important;margin-bottom:5px!important}
.ttm-gm-attendance-row-head strong{font-size:10px!important;font-weight:760!important}
.ttm-gm-attendance-row-head span{font-size:8.5px!important;line-height:1.35!important}
.ttm-gm-attendance-bars{gap:4px!important;margin-top:0!important}
.ttm-gm-attendance-bar-item{grid-template-columns:28px minmax(0,1fr) 16px!important;gap:4px!important}
.ttm-gm-attendance-bar-item label,.ttm-gm-attendance-bar-item b{font-size:8.5px!important;font-weight:600!important}
.ttm-gm-attendance-bar-track{height:7px!important}
.ttm-gm-attendance-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:5px 2px 0!important}
.ttm-gm-attendance-footer p,.ttm-gm-attendance-legend span{font-size:9.5px!important;line-height:1.4!important}

/* profile compact hero + dossier */
.ttm-profile-pro-shell{gap:12px!important}
.ttm-profile-app-layout{gap:12px!important}
.ttm-profile-hero-updated{grid-template-columns:minmax(0,1fr) 170px!important;gap:12px!important;align-items:center!important;padding:12px 14px!important;border-radius:22px!important;min-height:116px!important}
.ttm-profile-hero-copy h3{font-size:18px!important;margin:0 0 3px!important;font-weight:850!important}
.ttm-profile-hero-copy p{font-size:11px!important;line-height:1.65!important;margin:0!important}
.ttm-profile-status-pills{gap:6px!important;margin-top:8px!important}
.ttm-profile-status-pills .ttm-pill{padding:5px 8px!important;font-size:10px!important;font-weight:650!important}
.ttm-profile-avatar-stage{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:8px!important;align-items:center!important}
.ttm-profile-avatar-frame{width:58px!important;height:58px!important;border-radius:16px!important}
.ttm-profile-avatar-image{border-radius:16px!important}
.ttm-profile-avatar-initials{font-size:20px!important}
.ttm-profile-upload-box{gap:4px!important;text-align:right!important}
.ttm-profile-file-field{font-size:10px!important;gap:3px!important}
.ttm-profile-file-field input[type=file]{min-height:32px!important;height:32px!important;padding:3px 6px!important;font-size:10px!important;border-radius:10px!important;max-width:100%!important}
.ttm-profile-upload-box small{font-size:9px!important;line-height:1.35!important}
.ttm-profile-remove-check{min-height:32px!important;padding:5px 8px!important;border-radius:10px!important;font-size:10px!important}
.ttm-profile-dossier-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}
.ttm-profile-dossier-strip article{min-height:72px!important;padding:10px 12px!important;border-radius:16px!important;align-content:center!important}
.ttm-profile-dossier-strip span{font-size:10px!important;font-weight:560!important}
.ttm-profile-dossier-strip strong{font-size:15px!important;line-height:1.35!important;font-weight:760!important;margin:2px 0!important}
.ttm-profile-dossier-strip small{font-size:9.5px!important;line-height:1.45!important;font-weight:480!important}
.ttm-profile-grid-panels{gap:10px!important}
.ttm-profile-section{padding:13px!important;border-radius:19px!important;gap:8px!important}
.ttm-profile-section .ttm-card-head h3{font-size:13px!important;font-weight:760!important}
.ttm-profile-list-card article{min-height:46px!important;padding:8px 10px!important;border-radius:13px!important;align-items:center!important}
.ttm-profile-list-card article b,.ttm-profile-list-card article strong{font-size:12px!important;font-weight:720!important;line-height:1.4!important}
.ttm-profile-list-card article small{font-size:9.5px!important;font-weight:480!important;line-height:1.4!important}

/* leaves section */
.ttm-section-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 10px!important;padding:10px 13px!important;border-radius:18px!important;background:rgba(255,255,255,.86)!important;border:1px solid #e7edf5!important;box-shadow:0 12px 30px rgba(15,23,42,.045)!important}
.ttm-section-toolbar h2{margin:0!important;font-size:18px!important;line-height:1.25!important;font-weight:850!important;color:#111827!important}
.ttm-section-toolbar p{margin:2px 0 0!important;font-size:10.5px!important;line-height:1.55!important;color:#64748b!important}
.ttm-section-toolbar .ttm-btn{min-height:36px!important;padding:8px 12px!important;border-radius:13px!important;font-size:11px!important;text-decoration:none!important;white-space:nowrap!important}
.ttm-leave-metrics .ttm-premium-metric{min-height:78px!important}
.ttm-leave-metrics .ttm-premium-metric b{font-size:17px!important;font-weight:780!important}
.ttm-leave-metrics .ttm-premium-metric strong{font-size:12px!important;font-weight:700!important}
.ttm-leave-metrics .ttm-premium-metric small{font-size:9.5px!important;font-weight:480!important}
.ttm-floating-new{display:none!important}

/* performance clarity */
.ttm-performance-hero{min-height:auto!important;padding:14px!important;border-radius:22px!important}
.ttm-performance-hero h2{font-size:22px!important;line-height:1.25!important;margin:5px 0!important}
.ttm-performance-hero p{font-size:11.5px!important;line-height:1.7!important}
.ttm-performance-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.ttm-performance-kpis article{min-height:74px!important;padding:11px 12px!important;border-radius:17px!important;display:grid!important;align-content:center!important;justify-items:start!important;text-align:right!important;overflow:hidden!important}
.ttm-performance-kpis span{font-size:10.5px!important;line-height:1.4!important;font-weight:600!important;max-width:100%!important}
.ttm-performance-kpis strong{font-size:17px!important;line-height:1.25!important;font-weight:760!important;margin:2px 0!important;max-width:100%!important}
.ttm-performance-kpis small{font-size:9.5px!important;line-height:1.4!important;font-weight:480!important;max-width:100%!important}
.ttm-performance-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.ttm-performance-mini-stats article{min-height:58px!important;padding:9px!important;border-radius:14px!important;display:grid!important;align-content:center!important;overflow:hidden!important}
.ttm-performance-mini-stats span{font-size:10px!important;font-weight:560!important;line-height:1.35!important}
.ttm-performance-mini-stats b{font-size:15px!important;font-weight:740!important;line-height:1.25!important}
.ttm-performance-help{font-size:10.5px!important;line-height:1.65!important;margin-top:8px!important}

/* request forms and upload fields - no overflow */
.ttm-request-create-grid,.ttm-performance-grid{gap:12px!important;align-items:start!important}
.ttm-manager-form,.ttm-request-form-card,.ttm-leave-form-card,.ttm-performance-form-card{overflow:hidden!important;min-width:0!important}
.ttm-grid-form{gap:10px!important;align-items:start!important;min-width:0!important}
.ttm-grid-form label{min-width:0!important;overflow:hidden!important}
.ttm-grid-form input,.ttm-grid-form select,.ttm-grid-form textarea{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.ttm-grid-form input[type=file],.ttm-upload-field input[type=file],.ttm-profile-file-field input[type=file]{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;overflow:hidden!important;white-space:normal!important;direction:ltr!important;text-align:left!important}
.ttm-grid-form input[type=file]::file-selector-button,.ttm-upload-field input[type=file]::file-selector-button,.ttm-profile-file-field input[type=file]::file-selector-button{border:0!important;border-radius:10px!important;background:#f1f5f9!important;color:#334155!important;padding:6px 9px!important;margin-inline-end:8px!important;font-size:10px!important;font-family:inherit!important}
.ttm-form-actions{gap:8px!important;flex-wrap:wrap!important;justify-content:flex-start!important}
.ttm-form-actions .ttm-btn{min-height:38px!important;border-radius:13px!important;font-size:11px!important;padding:8px 14px!important}

/* notifications - repair broken vertical text and layout */
.ttm-smart-notification-shell{display:grid!important;gap:12px!important}
.ttm-smart-hero{padding:14px!important;border-radius:22px!important}
.ttm-smart-hero h2{font-size:20px!important;margin:4px 0!important;font-weight:820!important}
.ttm-smart-hero p{font-size:11.5px!important;line-height:1.65!important}
.ttm-smart-kpis{gap:9px!important}
.ttm-smart-kpis article{min-height:72px!important;padding:10px 12px!important;border-radius:16px!important;overflow:hidden!important}
.ttm-smart-kpis span{font-size:10px!important;font-weight:560!important;line-height:1.35!important}
.ttm-smart-kpis b{font-size:17px!important;font-weight:780!important;line-height:1.2!important}
.ttm-smart-kpis small{font-size:9.5px!important;font-weight:480!important;line-height:1.35!important}
.ttm-notifications-premium-smart{grid-template-columns:minmax(0,1fr) 210px!important;gap:12px!important;min-width:0!important}
.ttm-notification-list-panel{padding:13px!important;border-radius:22px!important;min-width:0!important;overflow:hidden!important}
.ttm-filter-tabs-chips{gap:6px!important;padding-bottom:9px!important;margin-bottom:9px!important;overflow-x:auto!important;flex-wrap:nowrap!important;white-space:nowrap!important}
.ttm-filter-tabs-chips button{min-height:32px!important;padding:0 11px!important;font-size:10.5px!important;font-weight:700!important;flex:0 0 auto!important}
.ttm-notification-row{grid-template-columns:8px 34px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;padding:11px!important;margin-bottom:8px!important;border-radius:17px!important;min-width:0!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important}
.ttm-notification-row>*{min-width:0!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;max-width:100%!important}
.ttm-notification-icon{width:34px!important;height:34px!important;border-radius:12px!important;font-size:13px!important}
.ttm-notification-row h3{font-size:12.5px!important;line-height:1.45!important;margin:0 0 3px!important;font-weight:760!important;white-space:normal!important}
.ttm-notification-row p{font-size:10.5px!important;line-height:1.55!important;margin:0!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.ttm-notification-row small{font-size:9.5px!important;margin-top:3px!important}
.ttm-notification-row time{font-size:9.5px!important;padding:6px 8px!important;border-radius:10px!important;white-space:nowrap!important}
.ttm-notification-side-clean{gap:9px!important}
.ttm-unread-panel,.ttm-smart-notice{padding:12px!important;border-radius:18px!important}
.ttm-unread-panel strong{font-size:22px!important}

/* employee dashboard compaction */
.ttm-premium-dashboard{display:grid!important;gap:12px!important}
.ttm-dashboard-hero-row.ttm-dashboard-layout-v105{grid-template-columns:minmax(220px,250px) minmax(0,1fr)!important;gap:12px!important;margin-bottom:0!important}
.ttm-profile-summary-card{padding:12px!important;border-radius:21px!important;gap:8px!important}
.ttm-profile-summary-top{grid-template-columns:48px minmax(0,1fr)!important;gap:8px!important}
.ttm-profile-summary-top .ttm-dashboard-avatar,.ttm-profile-summary-top img{width:48px!important;height:48px!important;min-width:48px!important;border-radius:14px!important}
.ttm-profile-summary-top strong{font-size:14px!important;font-weight:760!important;line-height:1.35!important}
.ttm-profile-summary-top span,.ttm-profile-summary-top small{font-size:10px!important;font-weight:500!important;line-height:1.4!important}
.ttm-profile-summary-status{padding:8px!important;margin:0!important;border-radius:13px!important}
.ttm-profile-summary-status span{font-size:10px!important;font-weight:520!important}
.ttm-profile-summary-status b{font-size:13px!important;font-weight:740!important;margin-top:0!important}
.ttm-profile-summary-card .ttm-btn{min-height:34px!important;border-radius:12px!important;font-size:10.5px!important}
.ttm-cinematic-hero{min-height:148px!important;border-radius:22px!important}
.ttm-hero-content{padding:16px!important}
.ttm-hero-content h2{font-size:22px!important;margin:7px 0 4px!important;font-weight:850!important}
.ttm-hero-content p{font-size:11.5px!important;line-height:1.65!important;max-width:52ch!important}
.ttm-hero-actions-v107{gap:7px!important;margin-top:10px!important}
.ttm-hero-actions-v107 .ttm-btn{min-height:35px!important;padding:8px 11px!important;border-radius:12px!important;font-size:10.5px!important}
.ttm-dashboard-bottom-grid{gap:12px!important}

/* PWA/mobile compact app layout */
@media (max-width:899px){
  body.ttm-standalone .ttm-main,body.ttm-app-page .ttm-main{padding:74px 10px 88px!important;max-width:100%!important;overflow-x:hidden!important}
  body.ttm-standalone .ttm-mobile-head,body.ttm-app-page .ttm-mobile-head{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1500!important;min-height:54px!important;height:54px!important;padding:8px 12px calc(8px + env(safe-area-inset-top,0px))!important;border-radius:0 0 18px 18px!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px)!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;box-shadow:0 10px 28px rgba(15,23,42,.08)!important}
  body.ttm-standalone .ttm-mobile-title,body.ttm-app-page .ttm-mobile-title{font-size:13px!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;color:#111827!important}
  body.ttm-standalone .ttm-mobile-head .ttm-icon-btn,body.ttm-app-page .ttm-mobile-head .ttm-icon-btn{width:38px!important;height:38px!important;min-height:38px!important;border-radius:14px!important;font-size:17px!important}
  .ttm-mobile-fab-menu{top:calc(8px + env(safe-area-inset-top,0px))!important;right:12px!important;z-index:1600!important;min-height:38px!important;height:38px!important;border-radius:15px!important;padding:0 12px!important;gap:7px!important;font-size:12px!important;box-shadow:0 10px 24px rgba(229,9,20,.22)!important}
  .ttm-mobile-fab-menu b{font-size:12px!important;font-weight:800!important}
  .ttm-mobile-fab-menu span{width:18px!important;height:14px!important}
  .ttm-topbar{display:flex!important;min-height:78px!important;padding:12px!important;margin:0 0 10px!important;border-radius:20px!important;align-items:center!important}
  .ttm-topbar h1{font-size:22px!important}
  .ttm-topbar .ttm-title-block p{font-size:10.5px!important;line-height:1.55!important}
  .ttm-top-actions.ttm-premium-actions{width:100%!important;order:2!important;display:grid!important;grid-template-columns:minmax(0,1fr) 38px!important;gap:7px!important}
  .ttm-search-lite{max-width:none!important;width:100%!important;order:1!important}
  .ttm-bell-lite{order:2!important}
  .ttm-topbar .ttm-btn{grid-column:1/-1!important;width:100%!important}
  .ttm-dashboard-hero-row.ttm-dashboard-layout-v105{grid-template-columns:1fr!important;gap:10px!important}
  .ttm-profile-summary-card{display:none!important}
  .ttm-cinematic-hero{min-height:132px!important;border-radius:22px!important}
  .ttm-hero-content h2{font-size:21px!important}
  .ttm-hero-content p{font-size:10.5px!important;line-height:1.55!important}
  .ttm-premium-metrics,.ttm-attendance-metrics.ttm-premium-metrics,.ttm-leave-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-command-today-grid,.ttm-report-kpi-grid-v111{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ttm-premium-metric{min-height:78px!important;padding:10px!important;border-radius:17px!important}
  .ttm-premium-metric b{font-size:15px!important;font-weight:760!important}
  .ttm-premium-metric strong{font-size:11px!important;font-weight:660!important}
  .ttm-premium-metric small{font-size:9px!important;line-height:1.45!important}
  .ttm-premium-icon{width:28px!important;height:28px!important;inset-inline-start:10px!important;top:10px!important;border-radius:11px!important}
  .ttm-command-hero,.ttm-command-layout,.ttm-notifications-premium-smart,.ttm-profile-hero-updated,.ttm-request-create-grid,.ttm-performance-grid{grid-template-columns:1fr!important}
  .ttm-command-hero{padding:12px!important;border-radius:20px!important}
  .ttm-command-hero-profile{display:none!important}
  .ttm-gm-attendance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-gm-attendance-list{grid-template-columns:1fr!important;max-height:210px!important;overflow:auto!important;padding-inline-end:2px!important}
  .ttm-gm-attendance-row{min-height:64px!important}
  .ttm-gm-attendance-footer{flex-direction:column!important;align-items:flex-start!important}
  .ttm-profile-hero-updated{min-height:auto!important}
  .ttm-profile-avatar-stage{grid-template-columns:52px minmax(0,1fr)!important}
  .ttm-profile-avatar-frame{width:52px!important;height:52px!important}
  .ttm-profile-dossier-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-section-toolbar{padding:9px 10px!important;border-radius:16px!important;align-items:center!important}
  .ttm-section-toolbar h2{font-size:15px!important}
  .ttm-section-toolbar p{display:none!important}
  .ttm-section-toolbar .ttm-btn{min-height:33px!important;font-size:10px!important;padding:7px 10px!important}
  .ttm-grid-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ttm-grid-form .ttm-span-2{grid-column:1/-1!important}
  .ttm-grid-form label{font-size:10px!important;padding:8px!important;border-radius:13px!important}
  .ttm-grid-form input,.ttm-grid-form select,.ttm-grid-form textarea{min-height:36px!important;font-size:10.5px!important;border-radius:11px!important;padding:8px!important}
  .ttm-notification-side-clean{display:none!important}
  .ttm-notification-row{grid-template-columns:7px 30px minmax(0,1fr)!important;padding:9px!important;gap:7px!important}
  .ttm-notification-row time{grid-column:3!important;justify-self:start!important;margin-top:2px!important}
  .ttm-notification-icon{width:30px!important;height:30px!important;border-radius:11px!important}
  .ttm-filter-tabs-chips{margin-inline:-2px!important;padding-inline:2px!important}
  .ttm-performance-kpis article,.ttm-smart-kpis article{min-height:66px!important;padding:9px!important}
  .ttm-performance-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-attendance-hero{min-height:auto!important;padding:12px!important;border-radius:20px!important}
  .ttm-attendance-laliga .ttm-attendance-hero h3{font-size:18px!important}
  .ttm-attendance-status strong{font-size:15px!important;font-weight:760!important}
  .ttm-attendance-record-card ul{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .ttm-pwa-install{display:none!important}
}
@media (max-width:420px){
  .ttm-grid-form{grid-template-columns:1fr!important}
  .ttm-premium-metrics,.ttm-attendance-metrics.ttm-premium-metrics,.ttm-leave-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-command-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-premium-metric b{font-size:14px!important}
  .ttm-premium-metric strong{font-size:10.5px!important}
  .ttm-premium-metric small{font-size:8.7px!important}
}

/* ===== v1.0.0 phase 0+1: final desktop UI compaction and stable layout pass ===== */
.ttm-portal,.ttm-portal *{box-sizing:border-box!important}
.ttm-portal{overflow-x:hidden!important}
.ttm-main{padding:16px 22px 34px!important;max-width:1480px!important}
.ttm-section.is-active{min-width:0!important}
.ttm-premium-card,.ttm-card,.ttm-command-panel,.ttm-profile-section{overflow:hidden!important;min-width:0!important}

/* unified compact page header */
.ttm-topbar.ttm-premium-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px 14px!important;min-height:58px!important;padding:10px 12px!important;margin-bottom:10px!important;border-radius:19px!important;background:rgba(255,255,255,.88)!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 12px 28px rgba(15,23,42,.045)!important}
.ttm-topbar.ttm-premium-topbar .ttm-title-block{min-width:0!important;flex:auto!important}
.ttm-topbar.ttm-premium-topbar h1{font-size:23px!important;line-height:1.15!important;letter-spacing:-.02em!important;margin:0!important;font-weight:860!important;color:#111827!important}
.ttm-topbar.ttm-premium-topbar .ttm-title-block p{font-size:10.5px!important;line-height:1.45!important;margin:2px 0 0!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:70ch!important}
.ttm-top-actions.ttm-premium-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:0!important;width:auto!important;order:initial!important;flex:0 0 auto!important}
.ttm-search-lite{height:34px!important;min-height:34px!important;width:210px!important;max-width:210px!important;border-radius:13px!important;padding:0 8px!important;background:#fff!important}
.ttm-search-lite span{font-size:13px!important;line-height:1!important;opacity:.72!important}
.ttm-search-lite input{height:32px!important;min-height:32px!important;font-size:10.5px!important;padding:0 6px!important;background:transparent!important}
.ttm-bell-lite,.ttm-topbar .ttm-btn{height:34px!important;min-height:34px!important;border-radius:13px!important;font-size:10.5px!important;line-height:1!important}
.ttm-bell-lite{width:34px!important;min-width:34px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.ttm-topbar .ttm-btn{padding:7px 11px!important;font-weight:760!important;white-space:nowrap!important}

/* section headers and local toolbars */
.ttm-section-announcement{margin:0 0 10px!important}
.ttm-announcement-strip{min-height:38px!important;padding:8px 11px!important;border-radius:15px!important;display:flex!important;align-items:center!important;gap:8px!important}
.ttm-announcement-strip strong{font-size:11.5px!important;font-weight:760!important}
.ttm-announcement-strip small{font-size:10.5px!important;line-height:1.45!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ttm-section-toolbar{min-height:48px!important;padding:8px 10px!important;margin:0 0 10px!important;border-radius:17px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.ttm-section-toolbar h2{font-size:15.5px!important;line-height:1.25!important;margin:0!important;font-weight:820!important}
.ttm-section-toolbar p{font-size:10.5px!important;line-height:1.4!important;margin:2px 0 0!important;color:#64748b!important}
.ttm-section-toolbar .ttm-btn{min-height:32px!important;border-radius:12px!important;padding:7px 10px!important;font-size:10.5px!important;font-weight:760!important}

/* universal KPI cards: less shouty, less height */
.ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-report-kpi-grid-v111,.ttm-command-today-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
.ttm-premium-metric,.ttm-smart-kpis article,.ttm-performance-kpis article,.ttm-command-today-grid article,.ttm-report-kpi-grid-v111 article{position:relative!important;min-height:76px!important;padding:10px 12px!important;border-radius:17px!important;display:grid!important;align-content:center!important;justify-items:start!important;text-align:right!important;gap:3px!important;overflow:hidden!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;border:1px solid rgba(226,232,240,.92)!important;box-shadow:0 10px 24px rgba(15,23,42,.04)!important}
.ttm-premium-icon{width:28px!important;height:28px!important;border-radius:11px!important;inset-inline-start:10px!important;top:10px!important;font-size:12px!important;opacity:.86!important}
.ttm-premium-metric b,.ttm-smart-kpis b,.ttm-performance-kpis strong,.ttm-command-today-grid strong,.ttm-report-kpi-grid-v111 strong{font-size:16px!important;line-height:1.18!important;font-weight:760!important;color:#111827!important;letter-spacing:-.01em!important;max-width:100%!important}
.ttm-premium-metric strong,.ttm-smart-kpis span,.ttm-performance-kpis span,.ttm-command-today-grid span,.ttm-report-kpi-grid-v111 span{font-size:11.5px!important;line-height:1.35!important;font-weight:680!important;color:#334155!important;max-width:100%!important}
.ttm-premium-metric small,.ttm-smart-kpis small,.ttm-performance-kpis small,.ttm-command-today-grid small,.ttm-report-kpi-grid-v111 small{font-size:9.5px!important;line-height:1.35!important;font-weight:480!important;color:#64748b!important;max-width:100%!important}
.ttm-leave-metrics .ttm-premium-metric{min-height:74px!important}
.ttm-leave-metrics .ttm-premium-metric b{font-size:15.5px!important;font-weight:740!important}
.ttm-leave-metrics .ttm-premium-metric strong{font-size:11px!important;font-weight:650!important}

/* manager dashboard attendance: compact executive strip */
.ttm-command-dashboard{gap:10px!important}
.ttm-command-layout{gap:10px!important}
.ttm-command-hero{min-height:118px!important;padding:12px 14px!important;border-radius:20px!important;grid-template-columns:minmax(0,1fr) 180px!important;gap:10px!important}
.ttm-command-hero h2{font-size:19px!important;line-height:1.2!important;margin:5px 0 3px!important;font-weight:820!important}
.ttm-command-hero p{font-size:10.8px!important;line-height:1.55!important;margin:0!important}
.ttm-command-panel{padding:10px!important;border-radius:18px!important}
.ttm-command-panel-head{margin-bottom:8px!important}
.ttm-command-panel-head h3{font-size:13px!important;font-weight:760!important}
.ttm-command-panel-head p{font-size:9.5px!important;line-height:1.4!important}
.ttm-gm-attendance-intro{min-height:42px!important;padding:7px 9px!important;border-radius:13px!important}
.ttm-gm-attendance-intro b{font-size:11.5px!important}
.ttm-gm-attendance-intro span{font-size:9.2px!important}
.ttm-gm-attendance-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.ttm-gm-attendance-kpis article{min-height:48px!important;padding:7px!important;border-radius:12px!important}
.ttm-gm-attendance-kpis b{font-size:13px!important;font-weight:740!important}
.ttm-gm-attendance-kpis small,.ttm-gm-attendance-kpis span{font-size:8.5px!important;line-height:1.25!important}
.ttm-gm-attendance-list{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
.ttm-gm-attendance-row{min-height:58px!important;padding:7px!important;border-radius:12px!important}
.ttm-gm-attendance-row-head strong{font-size:9.5px!important;line-height:1.3!important}
.ttm-gm-attendance-row-head span{font-size:8px!important}
.ttm-gm-attendance-bar-item{grid-template-columns:22px minmax(0,1fr) 14px!important;gap:3px!important}
.ttm-gm-attendance-bar-track{height:5px!important;border-radius:999px!important}
.ttm-gm-attendance-bar-item label,.ttm-gm-attendance-bar-item b{font-size:7.8px!important}
.ttm-gm-attendance-footer{padding-top:3px!important;min-height:22px!important}
.ttm-gm-attendance-footer p,.ttm-gm-attendance-legend span{font-size:8.7px!important}

/* employee dashboard: remove empty air */
.ttm-premium-dashboard{gap:10px!important}
.ttm-dashboard-hero-row.ttm-dashboard-layout-v105{grid-template-columns:220px minmax(0,1fr)!important;gap:10px!important;align-items:stretch!important;margin:0!important}
.ttm-profile-summary-card{padding:10px!important;border-radius:18px!important;gap:7px!important;min-height:0!important}
.ttm-profile-summary-top{grid-template-columns:42px minmax(0,1fr)!important;gap:7px!important}
.ttm-profile-summary-top .ttm-dashboard-avatar,.ttm-profile-summary-top img{width:42px!important;height:42px!important;min-width:42px!important;border-radius:13px!important}
.ttm-profile-summary-top strong{font-size:12.5px!important;line-height:1.3!important;font-weight:720!important}
.ttm-profile-summary-top span,.ttm-profile-summary-top small{font-size:9.5px!important;line-height:1.35!important;font-weight:480!important}
.ttm-profile-summary-status{padding:7px!important;border-radius:12px!important}
.ttm-profile-summary-status b{font-size:12px!important;font-weight:700!important}
.ttm-profile-summary-status span{font-size:9.5px!important}
.ttm-cinematic-hero{min-height:124px!important;border-radius:20px!important}
.ttm-hero-content{padding:13px!important}
.ttm-hero-content h2{font-size:19px!important;line-height:1.2!important;margin:5px 0 4px!important;font-weight:820!important}
.ttm-hero-content p{font-size:10.5px!important;line-height:1.5!important;max-width:48ch!important}
.ttm-hero-actions-v107{margin-top:8px!important;gap:6px!important}
.ttm-hero-actions-v107 .ttm-btn{min-height:31px!important;border-radius:11px!important;padding:7px 9px!important;font-size:10px!important}
.ttm-dashboard-bottom-grid{gap:10px!important}

/* compact profile for employee and manager */
.ttm-profile-pro-shell,.ttm-profile-app-layout{gap:10px!important}
.ttm-profile-hero-updated{grid-template-columns:minmax(0,1fr) 156px!important;gap:10px!important;padding:10px 12px!important;border-radius:20px!important;min-height:92px!important;align-items:center!important}
.ttm-profile-hero-copy h3{font-size:16px!important;line-height:1.25!important;margin:0 0 2px!important;font-weight:780!important}
.ttm-profile-hero-copy p{font-size:10px!important;line-height:1.45!important;margin:0!important;max-width:75ch!important}
.ttm-profile-status-pills{margin-top:6px!important;gap:5px!important}
.ttm-profile-status-pills .ttm-pill{padding:4px 7px!important;font-size:9.2px!important;font-weight:560!important}
.ttm-profile-avatar-stage{grid-template-columns:48px minmax(0,1fr)!important;gap:7px!important}
.ttm-profile-avatar-frame{width:48px!important;height:48px!important;border-radius:13px!important}
.ttm-profile-avatar-image{border-radius:13px!important}
.ttm-profile-avatar-initials{font-size:16px!important}
.ttm-profile-file-field input[type=file],.ttm-profile-upload-box input[type=file]{height:28px!important;min-height:28px!important;font-size:9px!important;padding:2px 5px!important;border-radius:9px!important;width:100%!important;max-width:100%!important}
.ttm-profile-upload-box small{font-size:8.4px!important;line-height:1.25!important}
.ttm-profile-remove-check{min-height:28px!important;padding:5px 7px!important;font-size:9px!important;border-radius:10px!important}
.ttm-profile-dossier-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
.ttm-profile-dossier-strip article{min-height:62px!important;padding:9px!important;border-radius:15px!important}
.ttm-profile-dossier-strip span{font-size:9.5px!important;line-height:1.25!important;font-weight:500!important}
.ttm-profile-dossier-strip strong{font-size:13px!important;line-height:1.25!important;font-weight:720!important;margin-top:2px!important}
.ttm-profile-dossier-strip small{font-size:8.5px!important;line-height:1.25!important}

/* performance/reporting cards: safe alignment */
.ttm-performance-shell{gap:10px!important}
.ttm-performance-hero{min-height:110px!important;padding:13px!important;border-radius:20px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 116px!important;gap:10px!important;align-items:center!important}
.ttm-performance-hero h2{font-size:18px!important;line-height:1.25!important;margin:5px 0!important;font-weight:800!important}
.ttm-performance-hero p{font-size:10.5px!important;line-height:1.5!important;margin:0!important}
.ttm-performance-hero-score{min-height:82px!important;border-radius:16px!important;padding:10px!important;display:grid!important;place-items:center!important;text-align:center!important}
.ttm-performance-hero-score strong{font-size:20px!important;font-weight:760!important;line-height:1!important}
.ttm-performance-grid{grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr)!important;gap:10px!important}
.ttm-performance-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.ttm-performance-mini-stats article{min-height:58px!important;padding:9px!important;border-radius:14px!important;display:grid!important;align-content:center!important;gap:2px!important;overflow:hidden!important}
.ttm-performance-mini-stats span{font-size:10px!important;line-height:1.25!important;color:#64748b!important}
.ttm-performance-mini-stats b{font-size:14px!important;line-height:1.25!important;font-weight:720!important;color:#111827!important}
.ttm-performance-help{font-size:10.5px!important;line-height:1.6!important;margin:8px 0 0!important}

/* requests and uploads: no overflow */
.ttm-request-create-grid,.ttm-form-layout,.ttm-grid-form{min-width:0!important;max-width:100%!important}
.ttm-request-create-grid{grid-template-columns:minmax(0,1fr) minmax(260px,.42fr)!important;gap:12px!important;align-items:start!important}
.ttm-grid-form label,.ttm-form label{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.ttm-form input,.ttm-form select,.ttm-form textarea,.ttm-grid-form input,.ttm-grid-form select,.ttm-grid-form textarea{max-width:100%!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
.ttm-form input[type=file],.ttm-grid-form input[type=file],.ttm-upload-field input[type=file]{width:100%!important;max-width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:6px 7px!important;border-radius:12px!important;font-size:10px!important;line-height:1.2!important;overflow:hidden!important;background:#fff!important}
.ttm-upload-field,.ttm-attachment-field{max-width:100%!important;min-width:0!important;overflow:hidden!important}
.ttm-form-actions{min-width:0!important;flex-wrap:wrap!important}

/* notifications: repaired list layout, no vertical text */
.ttm-notifications-premium-smart{grid-template-columns:minmax(0,1fr) 210px!important;gap:10px!important;align-items:start!important;min-width:0!important}
.ttm-notification-list-panel{padding:12px!important;border-radius:20px!important;min-width:0!important;overflow:hidden!important}
.ttm-filter-tabs-chips{display:flex!important;gap:6px!important;overflow-x:auto!important;white-space:nowrap!important;padding:0 0 8px!important;margin:0 0 8px!important;max-width:100%!important}
.ttm-filter-tabs-chips button,.ttm-filter-tabs-chips a{flex:0 0 auto!important;min-height:31px!important;padding:6px 10px!important;border-radius:999px!important;font-size:10px!important;font-weight:700!important}
.ttm-notification-row{direction:rtl!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;display:grid!important;grid-template-columns:6px 32px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;min-height:54px!important;padding:9px 10px!important;margin-bottom:7px!important;border-radius:15px!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
.ttm-notification-row *{writing-mode:horizontal-tb!important;text-orientation:mixed!important;min-width:0!important;max-width:100%!important;word-break:normal!important;overflow-wrap:break-word!important}
.ttm-notification-icon{width:32px!important;height:32px!important;border-radius:11px!important;font-size:12px!important}
.ttm-notification-row h3{font-size:11.8px!important;line-height:1.38!important;font-weight:720!important;margin:0 0 2px!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ttm-notification-row p{font-size:10.2px!important;line-height:1.45!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;white-space:normal!important}
.ttm-notification-row small{font-size:9px!important;margin-top:2px!important}
.ttm-notification-row time{font-size:9px!important;padding:5px 7px!important;border-radius:9px!important;white-space:nowrap!important;justify-self:end!important}
.ttm-notification-side-clean{gap:8px!important}
.ttm-unread-panel,.ttm-smart-notice{padding:10px!important;border-radius:16px!important}
.ttm-unread-panel strong{font-size:19px!important}

/* PWA/mobile final pass */
@media (max-width:1180px){
  .ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-report-kpi-grid-v111,.ttm-command-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-dashboard-hero-row.ttm-dashboard-layout-v105,.ttm-command-hero,.ttm-command-layout,.ttm-performance-grid,.ttm-request-create-grid,.ttm-notifications-premium-smart,.ttm-profile-hero-updated{grid-template-columns:1fr!important}
  .ttm-profile-dossier-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:899px){
  body.ttm-standalone,body.ttm-app-page{overflow-x:hidden!important;background:#f7f8fc!important}
  body.ttm-standalone .ttm-main,body.ttm-app-page .ttm-main{padding:66px 10px 82px!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body.ttm-standalone .ttm-mobile-head,body.ttm-app-page .ttm-mobile-head{height:50px!important;min-height:50px!important;padding:7px 10px calc(7px + env(safe-area-inset-top,0px))!important;border-radius:0 0 15px 15px!important;grid-template-columns:38px minmax(0,1fr) 38px!important;box-shadow:0 8px 20px rgba(15,23,42,.075)!important}
  body.ttm-standalone .ttm-mobile-title,body.ttm-app-page .ttm-mobile-title{font-size:12px!important;font-weight:820!important}
  body.ttm-standalone .ttm-mobile-head .ttm-icon-btn,body.ttm-app-page .ttm-mobile-head .ttm-icon-btn{width:34px!important;height:34px!important;min-height:34px!important;border-radius:12px!important;font-size:15px!important}
  .ttm-mobile-fab-menu{height:34px!important;min-height:34px!important;top:calc(8px + env(safe-area-inset-top,0px))!important;right:10px!important;border-radius:13px!important;padding:0 10px!important;font-size:11px!important}
  .ttm-mobile-fab-menu b{font-size:11px!important}
  .ttm-mobile-fab-menu span{width:16px!important;height:12px!important}
  .ttm-topbar.ttm-premium-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;min-height:0!important;padding:9px!important;margin-bottom:8px!important;border-radius:17px!important;gap:7px!important;align-items:center!important}
  .ttm-topbar.ttm-premium-topbar .ttm-title-block{grid-column:1/2!important;grid-row:1!important}
  .ttm-topbar.ttm-premium-topbar h1{font-size:20px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ttm-topbar.ttm-premium-topbar .ttm-title-block p{display:none!important}
  .ttm-top-actions.ttm-premium-actions{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;gap:6px!important;width:100%!important}
  .ttm-search-lite{width:100%!important;max-width:none!important;height:32px!important;min-height:32px!important;border-radius:12px!important}
  .ttm-search-lite input{height:30px!important;min-height:30px!important;font-size:10px!important}
  .ttm-bell-lite{position:absolute!important;top:9px!important;inset-inline-start:9px!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
  .ttm-topbar .ttm-btn{grid-column:1/-1!important;width:100%!important;height:32px!important;min-height:32px!important;font-size:10px!important;border-radius:12px!important}
  .ttm-section-announcement,.ttm-announcement-strip{display:none!important}
  .ttm-premium-dashboard,.ttm-command-dashboard,.ttm-performance-shell,.ttm-leaves-premium,.ttm-profile-pro-shell{gap:8px!important}
  .ttm-dashboard-hero-row.ttm-dashboard-layout-v105{grid-template-columns:1fr!important;gap:8px!important}
  .ttm-profile-summary-card{display:none!important}
  .ttm-cinematic-hero{min-height:104px!important;border-radius:18px!important}
  .ttm-hero-content{padding:12px!important}
  .ttm-hero-content h2{font-size:19px!important;margin:4px 0!important}
  .ttm-hero-content p{font-size:10px!important;line-height:1.45!important;max-width:100%!important}
  .ttm-hero-actions-v107{display:none!important}
  .ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-report-kpi-grid-v111,.ttm-command-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .ttm-premium-metric,.ttm-smart-kpis article,.ttm-performance-kpis article,.ttm-command-today-grid article,.ttm-report-kpi-grid-v111 article{min-height:68px!important;padding:8px!important;border-radius:14px!important}
  .ttm-premium-icon{width:24px!important;height:24px!important;border-radius:9px!important;top:8px!important;inset-inline-start:8px!important;font-size:10px!important}
  .ttm-premium-metric b,.ttm-smart-kpis b,.ttm-performance-kpis strong,.ttm-command-today-grid strong,.ttm-report-kpi-grid-v111 strong{font-size:13.5px!important;font-weight:700!important}
  .ttm-premium-metric strong,.ttm-smart-kpis span,.ttm-performance-kpis span,.ttm-command-today-grid span,.ttm-report-kpi-grid-v111 span{font-size:9.7px!important;font-weight:600!important;line-height:1.3!important}
  .ttm-premium-metric small,.ttm-smart-kpis small,.ttm-performance-kpis small,.ttm-command-today-grid small,.ttm-report-kpi-grid-v111 small{font-size:8.3px!important;line-height:1.3!important}
  .ttm-section-toolbar{min-height:42px!important;padding:7px 8px!important;border-radius:14px!important;margin-bottom:8px!important}
  .ttm-section-toolbar h2{font-size:13.2px!important}
  .ttm-section-toolbar p{display:none!important}
  .ttm-section-toolbar .ttm-btn{min-height:30px!important;font-size:9.5px!important;padding:6px 8px!important;border-radius:11px!important}
  .ttm-command-hero,.ttm-performance-hero,.ttm-profile-hero-updated{padding:10px!important;border-radius:17px!important;min-height:0!important}
  .ttm-command-hero-profile,.ttm-performance-hero-score{display:none!important}
  .ttm-gm-attendance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-gm-attendance-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:none!important;overflow:visible!important;gap:6px!important}
  .ttm-gm-attendance-row{min-height:52px!important}
  .ttm-gm-attendance-footer{display:none!important}
  .ttm-profile-hero-updated{grid-template-columns:1fr!important}
  .ttm-profile-avatar-stage{grid-template-columns:46px minmax(0,1fr)!important}
  .ttm-profile-avatar-frame{width:46px!important;height:46px!important}
  .ttm-profile-dossier-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .ttm-profile-dossier-strip article{min-height:58px!important;padding:8px!important}
  .ttm-grid-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .ttm-grid-form .ttm-span-2{grid-column:1/-1!important}
  .ttm-grid-form label{font-size:9.5px!important;padding:7px!important;border-radius:12px!important}
  .ttm-grid-form input,.ttm-grid-form select,.ttm-grid-form textarea{min-height:33px!important;font-size:9.8px!important;border-radius:10px!important;padding:7px!important}
  .ttm-notifications-premium-smart{grid-template-columns:1fr!important}
  .ttm-notification-side-clean{display:none!important}
  .ttm-notification-list-panel{padding:9px!important;border-radius:17px!important}
  .ttm-notification-row{grid-template-columns:5px 28px minmax(0,1fr)!important;padding:8px!important;gap:6px!important;min-height:48px!important}
  .ttm-notification-row time{grid-column:3!important;justify-self:start!important;margin-top:2px!important}
  .ttm-notification-icon{width:28px!important;height:28px!important;border-radius:10px!important}
  .ttm-performance-grid,.ttm-request-create-grid{grid-template-columns:1fr!important;gap:8px!important}
  .ttm-performance-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-attendance-record-card ul{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}
  .ttm-attendance-record-card li{padding:6px!important;border-radius:10px!important}
  .ttm-attendance-record-card li span,.ttm-attendance-record-card li b{font-size:8.5px!important}
  .ttm-pwa-install{display:none!important}
}
@media (max-width:430px){
  .ttm-main{padding-inline:8px!important}
  .ttm-grid-form{grid-template-columns:1fr!important}
  .ttm-gm-attendance-list{grid-template-columns:1fr!important}
  .ttm-profile-dossier-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-premium-metric b,.ttm-smart-kpis b,.ttm-performance-kpis strong{font-size:13px!important}
  .ttm-premium-metric strong{font-size:9.3px!important}
}

/* ===== v1.0.0 phase 2: PWA & mobile final pass ===== */
:root{--ttm-mobile-head-h:52px;--ttm-mobile-bottom-nav-h:66px;--ttm-vh:1vh;--ttm-safe-bottom:env(safe-area-inset-bottom,0px);--ttm-safe-top:env(safe-area-inset-top,0px)}
html.ttm-pwa-runtime,body.ttm-pwa-runtime{overscroll-behavior-y:none!important;background:#f6f7fb!important}
body.ttm-pwa-runtime .ttm-portal,body.ttm-standalone .ttm-portal,body.ttm-app-page .ttm-portal{min-height:calc(var(--ttm-vh,1vh) * 100)!important}
.ttm-mobile-quick-nav{display:none}
.ttm-mobile-quick-item{font-family:inherit!important}
.ttm-mobile-quick-item em{position:absolute;top:4px;inset-inline-start:14px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ef1723;color:#fff;font-size:9px;font-style:normal;line-height:17px;text-align:center;box-shadow:0 4px 10px rgba(239,23,35,.22)}

@media (max-width:899px){
  html.ttm-pwa-runtime,body.ttm-pwa-runtime,body.ttm-standalone,body.ttm-app-page{width:100%!important;min-width:0!important;overflow-x:hidden!important;background:#f6f7fb!important}
  body.ttm-pwa-runtime .ttm-portal,body.ttm-standalone .ttm-portal,body.ttm-app-page .ttm-portal{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;background:linear-gradient(180deg,#f8fafc,#eef2f7)!important;padding:0!important}
  body.ttm-pwa-runtime .ttm-main,body.ttm-standalone .ttm-main,body.ttm-app-page .ttm-main{width:100%!important;max-width:100%!important;min-width:0!important;padding:calc(var(--ttm-mobile-head-h) + 10px + var(--ttm-safe-top)) 9px calc(var(--ttm-mobile-bottom-nav-h) + 18px + var(--ttm-safe-bottom))!important;margin:0!important;overflow-x:hidden!important}

  /* app-like header: small, stable, no giant empty space */
  body.ttm-pwa-runtime .ttm-mobile-head,body.ttm-standalone .ttm-mobile-head,body.ttm-app-page .ttm-mobile-head,.ttm-portal>.ttm-mobile-head[data-ttm-mobile-head]{position:fixed!important;inset:0 0 auto 0!important;height:calc(var(--ttm-mobile-head-h) + var(--ttm-safe-top))!important;min-height:calc(var(--ttm-mobile-head-h) + var(--ttm-safe-top))!important;padding:calc(7px + var(--ttm-safe-top)) 9px 7px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;align-items:center!important;gap:7px!important;border-radius:0 0 16px 16px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border:1px solid rgba(226,232,240,.82)!important;border-top:0!important;box-shadow:0 8px 24px rgba(15,23,42,.075)!important;z-index:1800!important;margin:0!important}
  body.ttm-pwa-runtime .ttm-mobile-title,body.ttm-standalone .ttm-mobile-title,body.ttm-app-page .ttm-mobile-title{display:block!important;min-width:0!important;text-align:center!important;font-size:11.6px!important;line-height:1.2!important;font-weight:850!important;letter-spacing:-.01em!important;color:#111827!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:0 2px!important}
  body.ttm-pwa-runtime .ttm-mobile-head .ttm-icon-btn,body.ttm-standalone .ttm-mobile-head .ttm-icon-btn,body.ttm-app-page .ttm-mobile-head .ttm-icon-btn{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;flex:0 0 34px!important;border-radius:12px!important;font-size:14px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 6px 16px rgba(15,23,42,.07)!important;background:#fff!important;border:1px solid #e5e7eb!important;color:#111827!important}
  body.ttm-pwa-runtime .ttm-mobile-logout-form,body.ttm-standalone .ttm-mobile-logout-form,body.ttm-app-page .ttm-mobile-logout-form{display:flex!important;justify-content:flex-end!important;margin:0!important;min-width:0!important}
  body.ttm-pwa-runtime .ttm-mobile-fab-menu,body.ttm-standalone .ttm-mobile-fab-menu,body.ttm-app-page .ttm-mobile-fab-menu{display:none!important}

  /* page topbar inside content: becomes a tiny tool chip, not a second header */
  body.ttm-pwa-runtime .ttm-topbar.ttm-premium-topbar,body.ttm-standalone .ttm-topbar.ttm-premium-topbar,body.ttm-app-page .ttm-topbar.ttm-premium-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) 32px!important;gap:6px!important;min-height:0!important;margin:0 0 8px!important;padding:7px!important;border-radius:15px!important;box-shadow:0 8px 20px rgba(15,23,42,.045)!important}
  body.ttm-pwa-runtime .ttm-topbar.ttm-premium-topbar h1,body.ttm-standalone .ttm-topbar.ttm-premium-topbar h1,body.ttm-app-page .ttm-topbar.ttm-premium-topbar h1{font-size:17px!important;line-height:1.1!important}
  body.ttm-pwa-runtime .ttm-topbar.ttm-premium-topbar .ttm-title-block p,body.ttm-standalone .ttm-topbar.ttm-premium-topbar .ttm-title-block p,body.ttm-app-page .ttm-topbar.ttm-premium-topbar .ttm-title-block p{display:none!important}
  body.ttm-pwa-runtime .ttm-top-actions.ttm-premium-actions,body.ttm-standalone .ttm-top-actions.ttm-premium-actions,body.ttm-app-page .ttm-top-actions.ttm-premium-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 32px!important;grid-column:1/-1!important;gap:5px!important;width:100%!important}
  body.ttm-pwa-runtime .ttm-search-lite,body.ttm-standalone .ttm-search-lite,body.ttm-app-page .ttm-search-lite{height:30px!important;min-height:30px!important;border-radius:11px!important;padding:0 7px!important;width:100%!important;max-width:none!important;background:#f8fafc!important}
  body.ttm-pwa-runtime .ttm-search-lite input,body.ttm-standalone .ttm-search-lite input,body.ttm-app-page .ttm-search-lite input{height:28px!important;min-height:28px!important;font-size:9.5px!important}
  body.ttm-pwa-runtime .ttm-bell-lite,body.ttm-standalone .ttm-bell-lite,body.ttm-app-page .ttm-bell-lite{position:static!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;border-radius:11px!important}
  body.ttm-pwa-runtime .ttm-topbar .ttm-btn,body.ttm-standalone .ttm-topbar .ttm-btn,body.ttm-app-page .ttm-topbar .ttm-btn{height:30px!important;min-height:30px!important;font-size:9.5px!important;border-radius:11px!important;padding:5px 8px!important;grid-column:1/-1!important}

  /* bottom quick navigation for PWA/mobile */
  body.ttm-pwa-runtime .ttm-mobile-quick-nav,body.ttm-standalone .ttm-mobile-quick-nav,body.ttm-app-page .ttm-mobile-quick-nav{position:fixed!important;left:9px!important;right:9px!important;bottom:calc(7px + var(--ttm-safe-bottom))!important;height:58px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;padding:6px!important;border-radius:20px!important;background:rgba(255,255,255,.97)!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 14px 36px rgba(15,23,42,.14)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;z-index:1750!important;direction:rtl!important}
  .ttm-mobile-quick-item{position:relative!important;border:0!important;background:transparent!important;box-shadow:none!important;display:grid!important;grid-template-rows:22px 1fr!important;align-items:center!important;justify-items:center!important;gap:1px!important;min-width:0!important;border-radius:15px!important;padding:4px 2px!important;color:#64748b!important;font-size:9px!important;font-weight:780!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ttm-mobile-quick-item span{width:22px!important;height:22px!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:#f1f5f9!important;color:#334155!important;font-size:11px!important;line-height:1!important}
  .ttm-mobile-quick-item.is-active{background:linear-gradient(135deg,rgba(229,9,20,.1),rgba(229,9,20,.04))!important;color:var(--ttm-primary,#e50914)!important}
  .ttm-mobile-quick-item.is-active span{background:var(--ttm-primary,#e50914)!important;color:#fff!important;box-shadow:0 6px 14px rgba(229,9,20,.22)!important}

  /* drawer: true mobile drawer, not a broken page column */
  body.ttm-pwa-runtime .ttm-sidebar,body.ttm-standalone .ttm-sidebar,body.ttm-app-page .ttm-sidebar{position:fixed!important;top:0!important;right:0!important;bottom:0!important;width:min(84vw,310px)!important;height:calc(var(--ttm-vh,1vh) * 100)!important;max-height:calc(var(--ttm-vh,1vh) * 100)!important;transform:translate3d(104%,0,0)!important;transition:transform .25s ease!important;z-index:1900!important;padding:calc(12px + var(--ttm-safe-top)) 12px calc(18px + var(--ttm-safe-bottom))!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:0 0 0 24px!important;box-shadow:-22px 0 56px rgba(15,23,42,.28)!important}
  body.ttm-drawer-open .ttm-sidebar,body.ttm-pwa-runtime .ttm-sidebar.is-open,body.ttm-standalone .ttm-sidebar.is-open,body.ttm-app-page .ttm-sidebar.is-open{transform:translate3d(0,0,0)!important}
  body.ttm-pwa-runtime .ttm-drawer-overlay,body.ttm-standalone .ttm-drawer-overlay,body.ttm-app-page .ttm-drawer-overlay{display:block!important;position:fixed!important;inset:0!important;z-index:1850!important;background:rgba(15,23,42,.42)!important;backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .2s ease,visibility .2s ease!important}
  body.ttm-drawer-open .ttm-drawer-overlay,body.ttm-pwa-runtime .ttm-drawer-overlay.is-open,body.ttm-standalone .ttm-drawer-overlay.is-open,body.ttm-app-page .ttm-drawer-overlay.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  body.ttm-pwa-runtime .ttm-sidebar-person-card,body.ttm-standalone .ttm-sidebar-person-card,body.ttm-app-page .ttm-sidebar-person-card{padding:10px!important;border-radius:18px!important;margin-bottom:6px!important}
  body.ttm-pwa-runtime .ttm-sidebar-person-avatar,body.ttm-standalone .ttm-sidebar-person-avatar,body.ttm-app-page .ttm-sidebar-person-avatar{width:42px!important;height:42px!important;border-radius:14px!important}
  body.ttm-pwa-runtime .ttm-sidebar-person-copy strong,body.ttm-standalone .ttm-sidebar-person-copy strong,body.ttm-app-page .ttm-sidebar-person-copy strong{font-size:12px!important}
  body.ttm-pwa-runtime .ttm-sidebar-person-copy span,body.ttm-pwa-runtime .ttm-sidebar-person-copy small,body.ttm-standalone .ttm-sidebar-person-copy span,body.ttm-standalone .ttm-sidebar-person-copy small,body.ttm-app-page .ttm-sidebar-person-copy span,body.ttm-app-page .ttm-sidebar-person-copy small{font-size:9px!important}
  body.ttm-pwa-runtime .ttm-nav,body.ttm-standalone .ttm-nav,body.ttm-app-page .ttm-nav{gap:5px!important;padding:2px!important;overflow:visible!important}
  body.ttm-pwa-runtime .ttm-nav-item,body.ttm-standalone .ttm-nav-item,body.ttm-app-page .ttm-nav-item{min-height:42px!important;border-radius:14px!important;padding:8px 9px!important;font-size:11px!important;gap:8px!important}
  body.ttm-pwa-runtime .ttm-nav-item span,body.ttm-standalone .ttm-nav-item span,body.ttm-app-page .ttm-nav-item span{width:24px!important;height:24px!important;border-radius:9px!important;font-size:11px!important}

  /* compact app cards: use screen width intelligently */
  body.ttm-pwa-runtime .ttm-premium-metrics,body.ttm-pwa-runtime .ttm-attendance-metrics,body.ttm-pwa-runtime .ttm-leave-metrics,body.ttm-pwa-runtime .ttm-smart-kpis,body.ttm-pwa-runtime .ttm-performance-kpis,body.ttm-pwa-runtime .ttm-command-today-grid,body.ttm-pwa-runtime .ttm-dashboard-kpi-grid,body.ttm-pwa-runtime .ttm-request-metrics,body.ttm-pwa-runtime .ttm-export-kpis,body.ttm-pwa-runtime .ttm-report-kpi-grid-v111,
  body.ttm-standalone .ttm-premium-metrics,body.ttm-standalone .ttm-attendance-metrics,body.ttm-standalone .ttm-leave-metrics,body.ttm-standalone .ttm-smart-kpis,body.ttm-standalone .ttm-performance-kpis,body.ttm-standalone .ttm-command-today-grid,body.ttm-standalone .ttm-dashboard-kpi-grid,body.ttm-standalone .ttm-request-metrics,body.ttm-standalone .ttm-export-kpis,body.ttm-standalone .ttm-report-kpi-grid-v111,
  body.ttm-app-page .ttm-premium-metrics,body.ttm-app-page .ttm-attendance-metrics,body.ttm-app-page .ttm-leave-metrics,body.ttm-app-page .ttm-smart-kpis,body.ttm-app-page .ttm-performance-kpis,body.ttm-app-page .ttm-command-today-grid,body.ttm-app-page .ttm-dashboard-kpi-grid,body.ttm-app-page .ttm-request-metrics,body.ttm-app-page .ttm-export-kpis,body.ttm-app-page .ttm-report-kpi-grid-v111{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;min-width:0!important}
  body.ttm-pwa-runtime .ttm-premium-metric,body.ttm-pwa-runtime .ttm-smart-kpis article,body.ttm-pwa-runtime .ttm-performance-kpis article,body.ttm-pwa-runtime .ttm-command-today-grid article,body.ttm-pwa-runtime .ttm-dashboard-kpi-grid article,body.ttm-pwa-runtime .ttm-request-metrics article,body.ttm-pwa-runtime .ttm-report-kpi-grid-v111 article,
  body.ttm-standalone .ttm-premium-metric,body.ttm-standalone .ttm-smart-kpis article,body.ttm-standalone .ttm-performance-kpis article,body.ttm-standalone .ttm-command-today-grid article,body.ttm-standalone .ttm-dashboard-kpi-grid article,body.ttm-standalone .ttm-request-metrics article,body.ttm-standalone .ttm-report-kpi-grid-v111 article,
  body.ttm-app-page .ttm-premium-metric,body.ttm-app-page .ttm-smart-kpis article,body.ttm-app-page .ttm-performance-kpis article,body.ttm-app-page .ttm-command-today-grid article,body.ttm-app-page .ttm-dashboard-kpi-grid article,body.ttm-app-page .ttm-request-metrics article,body.ttm-app-page .ttm-report-kpi-grid-v111 article{min-height:62px!important;padding:8px!important;border-radius:14px!important;align-content:center!important;gap:2px!important;overflow:hidden!important}
  body.ttm-pwa-runtime .ttm-premium-metric b,body.ttm-pwa-runtime .ttm-smart-kpis b,body.ttm-pwa-runtime .ttm-performance-kpis strong,body.ttm-pwa-runtime .ttm-command-today-grid strong,body.ttm-pwa-runtime .ttm-dashboard-kpi-grid strong,
  body.ttm-standalone .ttm-premium-metric b,body.ttm-standalone .ttm-smart-kpis b,body.ttm-standalone .ttm-performance-kpis strong,body.ttm-standalone .ttm-command-today-grid strong,body.ttm-standalone .ttm-dashboard-kpi-grid strong,
  body.ttm-app-page .ttm-premium-metric b,body.ttm-app-page .ttm-smart-kpis b,body.ttm-app-page .ttm-performance-kpis strong,body.ttm-app-page .ttm-command-today-grid strong,body.ttm-app-page .ttm-dashboard-kpi-grid strong{font-size:13px!important;line-height:1.15!important;font-weight:720!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
  body.ttm-pwa-runtime .ttm-premium-metric strong,body.ttm-pwa-runtime .ttm-premium-metric span,body.ttm-pwa-runtime .ttm-smart-kpis span,body.ttm-pwa-runtime .ttm-performance-kpis span,body.ttm-pwa-runtime .ttm-command-today-grid span,body.ttm-pwa-runtime .ttm-dashboard-kpi-grid span,
  body.ttm-standalone .ttm-premium-metric strong,body.ttm-standalone .ttm-premium-metric span,body.ttm-standalone .ttm-smart-kpis span,body.ttm-standalone .ttm-performance-kpis span,body.ttm-standalone .ttm-command-today-grid span,body.ttm-standalone .ttm-dashboard-kpi-grid span,
  body.ttm-app-page .ttm-premium-metric strong,body.ttm-app-page .ttm-premium-metric span,body.ttm-app-page .ttm-smart-kpis span,body.ttm-app-page .ttm-performance-kpis span,body.ttm-app-page .ttm-command-today-grid span,body.ttm-app-page .ttm-dashboard-kpi-grid span{font-size:9.2px!important;line-height:1.25!important;font-weight:590!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
  body.ttm-pwa-runtime .ttm-premium-metric small,body.ttm-pwa-runtime .ttm-smart-kpis small,body.ttm-pwa-runtime .ttm-performance-kpis small,body.ttm-pwa-runtime .ttm-command-today-grid small,body.ttm-standalone .ttm-premium-metric small,body.ttm-standalone .ttm-smart-kpis small,body.ttm-standalone .ttm-performance-kpis small,body.ttm-standalone .ttm-command-today-grid small,body.ttm-app-page .ttm-premium-metric small,body.ttm-app-page .ttm-smart-kpis small,body.ttm-app-page .ttm-performance-kpis small,body.ttm-app-page .ttm-command-today-grid small{font-size:8px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}

  /* all hero/large blocks: no giant mobile slabs */
  body.ttm-pwa-runtime .ttm-cinematic-hero,body.ttm-pwa-runtime .ttm-command-hero,body.ttm-pwa-runtime .ttm-performance-hero,body.ttm-pwa-runtime .ttm-request-center-hero,body.ttm-pwa-runtime .ttm-smart-hero,body.ttm-pwa-runtime .ttm-attendance-hero,
  body.ttm-standalone .ttm-cinematic-hero,body.ttm-standalone .ttm-command-hero,body.ttm-standalone .ttm-performance-hero,body.ttm-standalone .ttm-request-center-hero,body.ttm-standalone .ttm-smart-hero,body.ttm-standalone .ttm-attendance-hero,
  body.ttm-app-page .ttm-cinematic-hero,body.ttm-app-page .ttm-command-hero,body.ttm-app-page .ttm-performance-hero,body.ttm-app-page .ttm-request-center-hero,body.ttm-app-page .ttm-smart-hero,body.ttm-app-page .ttm-attendance-hero{min-height:0!important;padding:10px!important;border-radius:17px!important;margin-bottom:8px!important;gap:8px!important;overflow:hidden!important}
  body.ttm-pwa-runtime .ttm-hero-content,body.ttm-standalone .ttm-hero-content,body.ttm-app-page .ttm-hero-content{padding:9px!important}
  body.ttm-pwa-runtime .ttm-cinematic-hero h2,body.ttm-pwa-runtime .ttm-command-hero h2,body.ttm-pwa-runtime .ttm-performance-hero h2,body.ttm-pwa-runtime .ttm-request-center-hero h2,body.ttm-pwa-runtime .ttm-smart-hero h2,
  body.ttm-standalone .ttm-cinematic-hero h2,body.ttm-standalone .ttm-command-hero h2,body.ttm-standalone .ttm-performance-hero h2,body.ttm-standalone .ttm-request-center-hero h2,body.ttm-standalone .ttm-smart-hero h2,
  body.ttm-app-page .ttm-cinematic-hero h2,body.ttm-app-page .ttm-command-hero h2,body.ttm-app-page .ttm-performance-hero h2,body.ttm-app-page .ttm-request-center-hero h2,body.ttm-app-page .ttm-smart-hero h2{font-size:16px!important;line-height:1.25!important;margin:2px 0 4px!important;max-width:100%!important}
  body.ttm-pwa-runtime .ttm-cinematic-hero p,body.ttm-pwa-runtime .ttm-command-hero p,body.ttm-pwa-runtime .ttm-performance-hero p,body.ttm-pwa-runtime .ttm-request-center-hero p,body.ttm-pwa-runtime .ttm-smart-hero p,
  body.ttm-standalone .ttm-cinematic-hero p,body.ttm-standalone .ttm-command-hero p,body.ttm-standalone .ttm-performance-hero p,body.ttm-standalone .ttm-request-center-hero p,body.ttm-standalone .ttm-smart-hero p,
  body.ttm-app-page .ttm-cinematic-hero p,body.ttm-app-page .ttm-command-hero p,body.ttm-app-page .ttm-performance-hero p,body.ttm-app-page .ttm-request-center-hero p,body.ttm-app-page .ttm-smart-hero p{font-size:9.4px!important;line-height:1.45!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}

  /* profile/leave/request/notification forms: no horizontal overflow */
  body.ttm-pwa-runtime .ttm-profile-hero-updated,body.ttm-pwa-runtime .ttm-profile-section,body.ttm-pwa-runtime .ttm-card,body.ttm-pwa-runtime .ttm-premium-card,body.ttm-pwa-runtime .ttm-request-form-card,body.ttm-pwa-runtime .ttm-notification-list-panel,
  body.ttm-standalone .ttm-profile-hero-updated,body.ttm-standalone .ttm-profile-section,body.ttm-standalone .ttm-card,body.ttm-standalone .ttm-premium-card,body.ttm-standalone .ttm-request-form-card,body.ttm-standalone .ttm-notification-list-panel,
  body.ttm-app-page .ttm-profile-hero-updated,body.ttm-app-page .ttm-profile-section,body.ttm-app-page .ttm-card,body.ttm-app-page .ttm-premium-card,body.ttm-app-page .ttm-request-form-card,body.ttm-app-page .ttm-notification-list-panel{padding:10px!important;border-radius:17px!important;margin-bottom:8px!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
  body.ttm-pwa-runtime .ttm-grid-form,body.ttm-standalone .ttm-grid-form,body.ttm-app-page .ttm-grid-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;max-width:100%!important;min-width:0!important}
  body.ttm-pwa-runtime .ttm-grid-form label,body.ttm-standalone .ttm-grid-form label,body.ttm-app-page .ttm-grid-form label{min-width:0!important;max-width:100%!important;overflow:hidden!important;font-size:9px!important;font-weight:650!important;padding:7px!important;border-radius:11px!important;gap:5px!important}
  body.ttm-pwa-runtime .ttm-grid-form input,body.ttm-pwa-runtime .ttm-grid-form select,body.ttm-pwa-runtime .ttm-grid-form textarea,body.ttm-pwa-runtime input[type=file],body.ttm-pwa-runtime .ttm-upload-field,
  body.ttm-standalone .ttm-grid-form input,body.ttm-standalone .ttm-grid-form select,body.ttm-standalone .ttm-grid-form textarea,body.ttm-standalone input[type=file],body.ttm-standalone .ttm-upload-field,
  body.ttm-app-page .ttm-grid-form input,body.ttm-app-page .ttm-grid-form select,body.ttm-app-page .ttm-grid-form textarea,body.ttm-app-page input[type=file],body.ttm-app-page .ttm-upload-field{width:100%!important;max-width:100%!important;min-width:0!important;min-height:31px!important;font-size:9.5px!important;border-radius:10px!important;padding:6px!important;overflow:hidden!important}
  body.ttm-pwa-runtime .ttm-grid-form .ttm-span-2,body.ttm-standalone .ttm-grid-form .ttm-span-2,body.ttm-app-page .ttm-grid-form .ttm-span-2{grid-column:1/-1!important}
  body.ttm-pwa-runtime .ttm-form-actions,body.ttm-standalone .ttm-form-actions,body.ttm-app-page .ttm-form-actions{gap:6px!important;align-items:stretch!important}
  body.ttm-pwa-runtime .ttm-form-actions .ttm-btn,body.ttm-standalone .ttm-form-actions .ttm-btn,body.ttm-app-page .ttm-form-actions .ttm-btn{min-height:31px!important;border-radius:11px!important;font-size:9.5px!important;padding:6px 8px!important}

  /* notification list: small, readable, never vertical */
  body.ttm-pwa-runtime .ttm-notifications-premium-smart,body.ttm-standalone .ttm-notifications-premium-smart,body.ttm-app-page .ttm-notifications-premium-smart{grid-template-columns:1fr!important;gap:8px!important;margin-top:8px!important;max-width:100%!important;overflow:hidden!important}
  body.ttm-pwa-runtime .ttm-notification-row,body.ttm-standalone .ttm-notification-row,body.ttm-app-page .ttm-notification-row{grid-template-columns:5px 27px minmax(0,1fr)!important;gap:6px!important;min-height:46px!important;padding:7px!important;border-radius:13px!important;max-width:100%!important;overflow:hidden!important;align-items:center!important}
  body.ttm-pwa-runtime .ttm-notification-row *,body.ttm-standalone .ttm-notification-row *,body.ttm-app-page .ttm-notification-row *{writing-mode:horizontal-tb!important;word-break:normal!important;overflow-wrap:anywhere!important;min-width:0!important;max-width:100%!important}
  body.ttm-pwa-runtime .ttm-notification-row h3,body.ttm-standalone .ttm-notification-row h3,body.ttm-app-page .ttm-notification-row h3{font-size:10.5px!important;line-height:1.3!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.ttm-pwa-runtime .ttm-notification-row p,body.ttm-standalone .ttm-notification-row p,body.ttm-app-page .ttm-notification-row p{font-size:9px!important;line-height:1.35!important;-webkit-line-clamp:2!important;margin:1px 0 0!important}
  body.ttm-pwa-runtime .ttm-notification-row time,body.ttm-standalone .ttm-notification-row time,body.ttm-app-page .ttm-notification-row time{grid-column:3!important;justify-self:start!important;font-size:8px!important;padding:3px 5px!important;border-radius:8px!important;margin-top:1px!important}

  /* tables become contained cards with scroll hint, not page overflow */
  body.ttm-pwa-runtime .ttm-table-wrap,body.ttm-standalone .ttm-table-wrap,body.ttm-app-page .ttm-table-wrap{max-width:100%!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;border-radius:14px!important;-webkit-overflow-scrolling:touch!important}
  body.ttm-pwa-runtime .ttm-table,body.ttm-standalone .ttm-table,body.ttm-app-page .ttm-table{min-width:680px!important}
  body.ttm-pwa-runtime .ttm-table th,body.ttm-pwa-runtime .ttm-table td,body.ttm-standalone .ttm-table th,body.ttm-standalone .ttm-table td,body.ttm-app-page .ttm-table th,body.ttm-app-page .ttm-table td{font-size:10px!important;padding:9px!important}
}

@media (max-width:380px){
  :root{--ttm-mobile-bottom-nav-h:62px;--ttm-mobile-head-h:48px}
  body.ttm-pwa-runtime .ttm-main,body.ttm-standalone .ttm-main,body.ttm-app-page .ttm-main{padding-inline:7px!important}
  body.ttm-pwa-runtime .ttm-mobile-quick-nav,body.ttm-standalone .ttm-mobile-quick-nav,body.ttm-app-page .ttm-mobile-quick-nav{left:7px!important;right:7px!important;height:54px!important;border-radius:18px!important;gap:3px!important}
  .ttm-mobile-quick-item{font-size:8px!important;padding:3px 1px!important}
  .ttm-mobile-quick-item span{width:20px!important;height:20px!important;font-size:10px!important;border-radius:8px!important}
  body.ttm-pwa-runtime .ttm-premium-metric,body.ttm-standalone .ttm-premium-metric,body.ttm-app-page .ttm-premium-metric{min-height:58px!important;padding:7px!important}
}

@media (min-width:520px) and (max-width:899px){
  body.ttm-pwa-runtime .ttm-premium-metrics,body.ttm-pwa-runtime .ttm-smart-kpis,body.ttm-pwa-runtime .ttm-performance-kpis,body.ttm-pwa-runtime .ttm-dashboard-kpi-grid,body.ttm-pwa-runtime .ttm-command-today-grid,
  body.ttm-standalone .ttm-premium-metrics,body.ttm-standalone .ttm-smart-kpis,body.ttm-standalone .ttm-performance-kpis,body.ttm-standalone .ttm-dashboard-kpi-grid,body.ttm-standalone .ttm-command-today-grid,
  body.ttm-app-page .ttm-premium-metrics,body.ttm-app-page .ttm-smart-kpis,body.ttm-app-page .ttm-performance-kpis,body.ttm-app-page .ttm-dashboard-kpi-grid,body.ttm-app-page .ttm-command-today-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* =========================================================
   Teamora Team Management v1.0.0 — Component System Pass
   Shared UI language for cards, KPI blocks, headers, forms,
   uploads, lists, notifications and PWA/mobile surfaces.
   ========================================================= */
.ttm-portal.ttm-ui-system-ready,
.ttm-portal{
  --ttm-ui-gap-xs:6px;
  --ttm-ui-gap-sm:8px;
  --ttm-ui-gap-md:12px;
  --ttm-ui-gap-lg:16px;
  --ttm-ui-radius-sm:12px;
  --ttm-ui-radius-md:16px;
  --ttm-ui-radius-lg:20px;
  --ttm-ui-radius-xl:24px;
  --ttm-ui-border:1px solid rgba(226,232,240,.82);
  --ttm-ui-shadow:0 14px 34px rgba(15,23,42,.065);
  --ttm-ui-shadow-soft:0 8px 22px rgba(15,23,42,.052);
  --ttm-ui-text:#111827;
  --ttm-ui-muted:#64748b;
  --ttm-ui-soft:#f8fafc;
  --ttm-ui-line:#e5e7eb;
}

/* Global component hygiene */
.ttm-portal :where(.ttm-ui-surface,.ttm-ui-kpi-card,.ttm-ui-hero,.ttm-ui-list-item,.ttm-ui-upload,.ttm-ui-table-wrap){
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
}
.ttm-portal :where(.ttm-ui-surface,.ttm-ui-kpi-card){
  border:var(--ttm-ui-border)!important;
  background:linear-gradient(180deg,#fff,#fbfcff)!important;
  box-shadow:var(--ttm-ui-shadow-soft)!important;
}
.ttm-portal :where(.ttm-ui-surface,.ttm-ui-kpi-card) :where(h1,h2,h3,h4,p,span,strong,b,small){
  max-width:100%!important;
  overflow-wrap:break-word!important;
}

/* Unified section headers */
.ttm-portal :where(.ttm-command-panel-head,.ttm-section-head,.ttm-card-head,.ttm-premium-card-head,.ttm-list-head,.ttm-form-head,.ttm-table-head){
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:var(--ttm-ui-gap-md)!important;
  min-width:0!important;
  margin-bottom:10px!important;
}
.ttm-portal :where(.ttm-command-panel-head,.ttm-section-head,.ttm-card-head,.ttm-premium-card-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h2,
.ttm-portal :where(.ttm-command-panel-head,.ttm-section-head,.ttm-card-head,.ttm-premium-card-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h3{
  margin:0!important;
  color:var(--ttm-ui-text)!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:760!important;
}
.ttm-portal :where(.ttm-command-panel-head,.ttm-section-head,.ttm-card-head,.ttm-premium-card-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) p,
.ttm-portal :where(.ttm-command-panel-head,.ttm-section-head,.ttm-card-head,.ttm-premium-card-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) small{
  margin:2px 0 0!important;
  color:var(--ttm-ui-muted)!important;
  font-size:10.4px!important;
  line-height:1.55!important;
  font-weight:520!important;
}

/* Hero / page intro component */
.ttm-portal .ttm-ui-hero{
  border-radius:var(--ttm-ui-radius-xl)!important;
  padding:14px 16px!important;
  min-height:0!important;
  gap:12px!important;
  overflow:hidden!important;
}
.ttm-portal .ttm-ui-hero :where(h1,h2,h3){
  margin:0 0 5px!important;
  font-size:20px!important;
  line-height:1.28!important;
  font-weight:820!important;
  letter-spacing:-.01em!important;
}
.ttm-portal .ttm-ui-hero :where(p){
  margin:0!important;
  font-size:11.4px!important;
  line-height:1.65!important;
  color:var(--ttm-ui-muted)!important;
  font-weight:520!important;
}
.ttm-portal .ttm-ui-hero :where(.ttm-soft-tag,.ttm-eyebrow,.ttm-pill){
  min-height:24px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  font-size:9.5px!important;
  font-weight:700!important;
}

/* KPI card component: used across dashboard, leave, attendance, reports */
.ttm-portal .ttm-ui-kpi-card{
  position:relative!important;
  display:grid!important;
  align-content:center!important;
  gap:4px!important;
  min-height:74px!important;
  padding:11px 12px!important;
  border-radius:var(--ttm-ui-radius-lg)!important;
  overflow:hidden!important;
}
.ttm-portal .ttm-ui-kpi-card:before{
  content:"";
  position:absolute;
  inset-block:10px;
  inset-inline-start:auto;
  inset-inline-end:0;
  width:3px;
  border-radius:99px;
  background:linear-gradient(180deg,var(--ttm-primary),rgba(229,9,20,.22));
  opacity:.78;
}
.ttm-portal .ttm-ui-kpi-card :where(span){
  display:block!important;
  color:var(--ttm-ui-muted)!important;
  font-size:10.2px!important;
  line-height:1.35!important;
  font-weight:600!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ttm-portal .ttm-ui-kpi-card :where(strong,b){
  display:block!important;
  color:var(--ttm-ui-text)!important;
  font-size:18px!important;
  line-height:1.16!important;
  font-weight:760!important;
  letter-spacing:-.015em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ttm-portal .ttm-ui-kpi-card :where(small){
  display:block!important;
  color:#94a3b8!important;
  font-size:9.4px!important;
  line-height:1.35!important;
  font-weight:500!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Surface cards */
.ttm-portal .ttm-ui-surface{
  border-radius:var(--ttm-ui-radius-xl)!important;
  padding:14px!important;
  overflow:hidden!important;
}
.ttm-portal .ttm-ui-surface :where(.ttm-btn){
  min-height:34px!important;
  border-radius:12px!important;
  padding:8px 11px!important;
  font-size:10.8px!important;
  font-weight:760!important;
}

/* Unified forms */
.ttm-portal .ttm-ui-form,
.ttm-portal .ttm-grid-form,
.ttm-portal .ttm-form{
  gap:10px!important;
  min-width:0!important;
  max-width:100%!important;
}
.ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) label{
  min-width:0!important;
  max-width:100%!important;
  border-radius:14px!important;
  gap:6px!important;
  color:var(--ttm-ui-text)!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:660!important;
}
.ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) :where(input,select,textarea){
  min-height:38px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  border-radius:13px!important;
  padding:8px 10px!important;
  font-size:11.2px!important;
  line-height:1.45!important;
  box-shadow:none!important;
}
.ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) textarea{
  min-height:82px!important;
  resize:vertical!important;
}
.ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) :where(input,select,textarea):focus{
  border-color:var(--ttm-primary)!important;
  box-shadow:0 0 0 3px rgba(229,9,20,.09)!important;
}
.ttm-portal .ttm-form-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}

/* Upload component */
.ttm-portal .ttm-ui-upload{
  display:grid!important;
  gap:6px!important;
  align-content:start!important;
  width:100%!important;
  border-radius:14px!important;
  overflow:hidden!important;
}
.ttm-portal .ttm-ui-file-input,
.ttm-portal .ttm-ui-upload input[type=file]{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:36px!important;
  height:auto!important;
  padding:7px!important;
  border-radius:12px!important;
  font-size:10.2px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.ttm-portal .ttm-ui-file-input::file-selector-button,
.ttm-portal .ttm-ui-upload input[type=file]::file-selector-button{
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;
  color:#fff!important;
  padding:6px 9px!important;
  margin-inline-end:8px!important;
  font-family:inherit!important;
  font-size:10px!important;
  font-weight:750!important;
  cursor:pointer!important;
}

/* List item / notifications */
.ttm-portal .ttm-ui-list-item{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  border-radius:15px!important;
}
.ttm-portal .ttm-ui-list-item :where(h3,b,strong){
  font-size:12px!important;
  line-height:1.38!important;
  font-weight:720!important;
  margin:0!important;
}
.ttm-portal .ttm-ui-list-item :where(p,span,small,time){
  line-height:1.48!important;
  font-weight:520!important;
}
.ttm-portal .ttm-notification-row.ttm-ui-list-item{
  grid-template-columns:5px 31px minmax(0,1fr) auto!important;
  min-height:50px!important;
  padding:8px 9px!important;
  gap:8px!important;
}
.ttm-portal .ttm-notification-row.ttm-ui-list-item p{
  -webkit-line-clamp:2!important;
}

/* Tables */
.ttm-portal .ttm-ui-table-wrap{
  position:relative!important;
  border-radius:var(--ttm-ui-radius-lg)!important;
  overflow:auto!important;
  background:#fff!important;
  border:var(--ttm-ui-border)!important;
  box-shadow:var(--ttm-ui-shadow-soft)!important;
  -webkit-overflow-scrolling:touch!important;
}
.ttm-portal .ttm-ui-table-wrap.has-scroll-x:after,
.ttm-portal .ttm-ui-table-wrap.is-scrollable-x:after{
  content:none!important;
  display:none!important;
}
.ttm-portal .ttm-table th,
.ttm-portal .ttm-table td{
  font-size:11px!important;
  line-height:1.5!important;
  padding:10px!important;
}

/* Shared grids: stable card density */
.ttm-portal :where(.ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-dashboard-kpi-grid,.ttm-command-today-grid,.ttm-report-kpi-grid-v111,.ttm-profile-dossier-strip,.ttm-performance-mini-stats){
  gap:10px!important;
  align-items:stretch!important;
}

/* Desktop component layout polish */
@media (min-width:900px){
  .ttm-portal :where(.ttm-premium-metrics,.ttm-smart-kpis,.ttm-attendance-metrics,.ttm-leave-metrics,.ttm-command-today-grid){
    grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important;
  }
  .ttm-portal :where(.ttm-performance-kpis,.ttm-dashboard-kpi-grid,.ttm-report-kpi-grid-v111){
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  }
  .ttm-portal .ttm-grid-form{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .ttm-portal .ttm-grid-form .ttm-span-2,
  .ttm-portal .ttm-grid-form label:has(textarea),
  .ttm-portal .ttm-grid-form label:has(input[type=file]){
    grid-column:1/-1!important;
  }
}

/* PWA/mobile component final normalizer */
@media (max-width:899px){
  .ttm-portal.ttm-ui-system-ready{
    --ttm-ui-gap-xs:4px;
    --ttm-ui-gap-sm:6px;
    --ttm-ui-gap-md:8px;
    --ttm-ui-gap-lg:10px;
    --ttm-ui-radius-md:13px;
    --ttm-ui-radius-lg:16px;
    --ttm-ui-radius-xl:18px;
  }
  body.ttm-pwa-runtime .ttm-portal :where(.ttm-ui-surface,.ttm-ui-hero),
  body.ttm-standalone .ttm-portal :where(.ttm-ui-surface,.ttm-ui-hero),
  body.ttm-app-page .ttm-portal :where(.ttm-ui-surface,.ttm-ui-hero){
    padding:10px!important;
    border-radius:var(--ttm-ui-radius-xl)!important;
    margin-bottom:8px!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-ui-hero :where(h1,h2,h3),
  body.ttm-standalone .ttm-portal .ttm-ui-hero :where(h1,h2,h3),
  body.ttm-app-page .ttm-portal .ttm-ui-hero :where(h1,h2,h3){
    font-size:15.5px!important;
    line-height:1.24!important;
    margin-bottom:3px!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-ui-hero :where(p),
  body.ttm-standalone .ttm-portal .ttm-ui-hero :where(p),
  body.ttm-app-page .ttm-portal .ttm-ui-hero :where(p){
    font-size:9.2px!important;
    line-height:1.45!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-ui-kpi-card,
  body.ttm-standalone .ttm-portal .ttm-ui-kpi-card,
  body.ttm-app-page .ttm-portal .ttm-ui-kpi-card{
    min-height:58px!important;
    padding:8px 9px!important;
    border-radius:15px!important;
    gap:2px!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-ui-kpi-card :where(span),
  body.ttm-standalone .ttm-portal .ttm-ui-kpi-card :where(span),
  body.ttm-app-page .ttm-portal .ttm-ui-kpi-card :where(span){
    font-size:8.7px!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-ui-kpi-card :where(strong,b),
  body.ttm-standalone .ttm-portal .ttm-ui-kpi-card :where(strong,b),
  body.ttm-app-page .ttm-portal .ttm-ui-kpi-card :where(strong,b){
    font-size:13.5px!important;
    font-weight:730!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-ui-kpi-card :where(small),
  body.ttm-standalone .ttm-portal .ttm-ui-kpi-card :where(small),
  body.ttm-app-page .ttm-portal .ttm-ui-kpi-card :where(small){
    font-size:7.8px!important;
  }
  body.ttm-pwa-runtime .ttm-portal :where(.ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-dashboard-kpi-grid,.ttm-command-today-grid,.ttm-report-kpi-grid-v111,.ttm-profile-dossier-strip,.ttm-performance-mini-stats),
  body.ttm-standalone .ttm-portal :where(.ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-dashboard-kpi-grid,.ttm-command-today-grid,.ttm-report-kpi-grid-v111,.ttm-profile-dossier-strip,.ttm-performance-mini-stats),
  body.ttm-app-page .ttm-portal :where(.ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-dashboard-kpi-grid,.ttm-command-today-grid,.ttm-report-kpi-grid-v111,.ttm-profile-dossier-strip,.ttm-performance-mini-stats){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  body.ttm-pwa-runtime .ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) label,
  body.ttm-standalone .ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) label,
  body.ttm-app-page .ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) label{
    font-size:8.8px!important;
    padding:7px!important;
    border-radius:11px!important;
  }
  body.ttm-pwa-runtime .ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) :where(input,select,textarea),
  body.ttm-standalone .ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) :where(input,select,textarea),
  body.ttm-app-page .ttm-portal :where(.ttm-ui-form,.ttm-grid-form,.ttm-form) :where(input,select,textarea){
    min-height:31px!important;
    border-radius:10px!important;
    padding:6px!important;
    font-size:9.2px!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-ui-upload input[type=file],
  body.ttm-standalone .ttm-portal .ttm-ui-upload input[type=file],
  body.ttm-app-page .ttm-portal .ttm-ui-upload input[type=file]{
    min-height:31px!important;
    font-size:8.8px!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-notification-row.ttm-ui-list-item,
  body.ttm-standalone .ttm-portal .ttm-notification-row.ttm-ui-list-item,
  body.ttm-app-page .ttm-portal .ttm-notification-row.ttm-ui-list-item{
    grid-template-columns:4px 26px minmax(0,1fr)!important;
    min-height:44px!important;
    padding:7px!important;
  }
  body.ttm-pwa-runtime .ttm-portal .ttm-notification-row.ttm-ui-list-item time,
  body.ttm-standalone .ttm-portal .ttm-notification-row.ttm-ui-list-item time,
  body.ttm-app-page .ttm-portal .ttm-notification-row.ttm-ui-list-item time{
    grid-column:3!important;
    justify-self:start!important;
  }
}

@media (max-width:390px){
  body.ttm-pwa-runtime .ttm-portal :where(.ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-dashboard-kpi-grid,.ttm-command-today-grid,.ttm-report-kpi-grid-v111,.ttm-profile-dossier-strip,.ttm-performance-mini-stats),
  body.ttm-standalone .ttm-portal :where(.ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-dashboard-kpi-grid,.ttm-command-today-grid,.ttm-report-kpi-grid-v111,.ttm-profile-dossier-strip,.ttm-performance-mini-stats),
  body.ttm-app-page .ttm-portal :where(.ttm-premium-metrics,.ttm-smart-kpis,.ttm-performance-kpis,.ttm-leave-metrics,.ttm-attendance-metrics,.ttm-dashboard-kpi-grid,.ttm-command-today-grid,.ttm-report-kpi-grid-v111,.ttm-profile-dossier-strip,.ttm-performance-mini-stats){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* Teamora v1.0.0 QA stability pass — regression guards */
.ttm-portal.ttm-qa-stable{max-width:100%;overflow-x:clip;isolation:isolate;}
.ttm-portal.ttm-qa-stable *, .ttm-portal.ttm-qa-stable *:before, .ttm-portal.ttm-qa-stable *:after{box-sizing:border-box;}
.ttm-portal.ttm-qa-stable :where(img,video,canvas,svg){max-width:100%;}
.ttm-portal .ttm-img-broken{opacity:.08!important;filter:grayscale(1)!important;background:linear-gradient(135deg,#f8fafc,#e5e7eb)!important;}
.ttm-portal :where(input,select,textarea,button,a):focus-visible{outline:3px solid rgba(29,174,60,.24)!important;outline-offset:2px!important;}
.ttm-portal .ttm-ui-table-wrap,.ttm-portal .ttm-table-wrap{max-width:100%!important;contain:layout paint;}
.ttm-portal .ttm-ui-upload,.ttm-portal .ttm-upload-field,.ttm-portal .ttm-attachment-field{max-width:100%!important;min-width:0!important;}
.ttm-portal .ttm-ui-file-input,.ttm-portal input[type="file"]{max-width:100%!important;min-width:0!important;}
.ttm-portal .ttm-ui-list-item,.ttm-portal .ttm-notification-row,.ttm-portal .ttm-request-row{word-break:normal!important;overflow-wrap:anywhere!important;}
@media (max-width:899px){.ttm-portal.ttm-qa-stable{overflow-x:hidden;}.ttm-portal.ttm-qa-stable :where(.ttm-section,.ttm-card,.ttm-premium-card,.ttm-command-panel,.ttm-ui-surface,.ttm-ui-hero){max-width:100%!important;}.ttm-portal.ttm-qa-stable :where(.ttm-grid-form,.ttm-form,.ttm-ui-form){max-width:100%!important;overflow:hidden!important;}.ttm-portal.ttm-qa-stable :where(.ttm-mobile-quick-nav){padding-bottom:max(7px, env(safe-area-inset-bottom))!important;}}


/* Teamora Team Management v1.0.0 — focused UI/UX repair: profile avatar, employee dashboard, GM attendance clarity */
.ttm-profile-hero-updated{
  grid-template-columns:minmax(0,1fr) minmax(220px,280px)!important;
  align-items:stretch!important;
  padding:16px!important;
  border-radius:24px!important;
}
.ttm-profile-hero-copy h3{font-size:22px!important;margin:6px 0 4px!important;line-height:1.35!important}
.ttm-profile-hero-copy p{font-size:12.5px!important;line-height:1.85!important;max-width:760px!important}
.ttm-profile-status-pills{margin-top:10px!important;gap:7px!important}
.ttm-profile-status-pills .ttm-pill{padding:7px 9px!important;font-size:11px!important;font-weight:850!important}
.ttm-profile-avatar-stage{
  display:grid!important;
  grid-template-columns:84px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  justify-items:stretch!important;
  padding:10px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#f8fafc,#fff)!important;
  border:1px solid #e6ebf2!important;
}
.ttm-profile-avatar-frame{width:84px!important;height:84px!important;border-radius:24px!important;border-style:solid!important;background:#fff!important}
.ttm-profile-avatar-initials{font-size:28px!important}
.ttm-profile-avatar-uploader{display:grid!important;gap:8px!important;text-align:right!important;justify-items:stretch!important;min-width:0!important}
.ttm-profile-upload-copy strong{display:block!important;font-size:13px!important;line-height:1.4!important;color:#111827!important;font-weight:900!important}
.ttm-profile-upload-copy span{display:block!important;margin-top:3px!important;font-size:11px!important;line-height:1.7!important;color:#64748b!important;font-weight:750!important}
.ttm-profile-avatar-picker{position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;padding:8px!important;border:1px dashed #cbd5e1!important;border-radius:16px!important;background:#fff!important;cursor:pointer!important;overflow:hidden!important}
.ttm-profile-avatar-picker input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;padding:0!important;border:0!important}
.ttm-profile-avatar-picker span{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 10px!important;border-radius:12px!important;background:var(--ttm-primary)!important;color:#fff!important;font-size:11px!important;font-weight:900!important;white-space:nowrap!important}
.ttm-profile-avatar-picker em{font-style:normal!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#64748b!important;font-size:11px!important;font-weight:800!important}
.ttm-profile-remove-check{margin:0!important;padding:8px 10px!important;min-height:34px!important;border-radius:14px!important;font-size:11px!important;color:#b91c1c!important;background:#fff7f7!important;border-color:#fecaca!important}
.ttm-profile-dossier-strip{gap:10px!important}
.ttm-profile-dossier-strip article{padding:12px!important;border-radius:18px!important;min-height:84px!important}
.ttm-profile-dossier-strip article strong{font-size:15px!important;font-weight:850!important;line-height:1.55!important}
.ttm-profile-dossier-strip article span,.ttm-profile-dossier-strip article small{font-size:11px!important;line-height:1.55!important}

.ttm-attendance-clarity{border-radius:22px!important;padding:14px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;border:1px solid #e5eaf1!important;box-shadow:none!important}
.ttm-attendance-clarity-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:12px!important}
.ttm-attendance-clarity-head b{display:block!important;font-size:15px!important;color:#111827!important;line-height:1.6!important}
.ttm-attendance-clarity-head span{display:block!important;color:#64748b!important;font-size:12px!important;line-height:1.7!important;margin-top:2px!important}
.ttm-attendance-clarity-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:0 0 12px!important}
.ttm-attendance-clarity-kpis article{padding:11px 12px!important;border-radius:18px!important;background:#f8fafc!important;border:1px solid #e7edf5!important;box-shadow:none!important;min-height:82px!important}
.ttm-attendance-clarity-kpis article.is-hot{background:#fff7ed!important;border-color:#fed7aa!important}
.ttm-attendance-clarity-kpis small{font-size:11px!important;color:#64748b!important;font-weight:850!important}
.ttm-attendance-clarity-kpis b{display:block!important;font-size:22px!important;line-height:1.1!important;margin:7px 0 4px!important;color:#111827!important;font-weight:900!important}
.ttm-attendance-clarity-kpis span{font-size:10.5px!important;color:#94a3b8!important;line-height:1.5!important;font-weight:750!important}
.ttm-attendance-day-strip{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
.ttm-attendance-day-card{padding:10px!important;border:1px solid #e7edf5!important;border-radius:18px!important;background:#fff!important;min-width:0!important}
.ttm-attendance-day-card.is-warning{border-color:#fed7aa!important;background:#fffaf4!important}
.ttm-attendance-day-date{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;margin-bottom:9px!important}
.ttm-attendance-day-date strong{font-size:11px!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ttm-attendance-day-date span{font-size:10px!important;font-weight:850!important;color:#16a34a!important;background:#dcfce7!important;padding:3px 7px!important;border-radius:999px!important;white-space:nowrap!important}
.ttm-attendance-day-card.is-warning .ttm-attendance-day-date span{color:#c2410c!important;background:#ffedd5!important}
.ttm-attendance-day-numbers{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
.ttm-attendance-day-numbers span{display:grid!important;gap:3px!important;text-align:center!important;padding:6px 3px!important;border-radius:12px!important;background:#f8fafc!important;min-width:0!important}
.ttm-attendance-day-numbers small{font-size:9.5px!important;color:#64748b!important;font-weight:800!important}
.ttm-attendance-day-numbers b{font-size:15px!important;color:#111827!important;line-height:1.1!important;font-weight:900!important}
.ttm-attendance-clarity-footer{margin-top:10px!important;padding-top:10px!important;border-top:1px solid #edf2f7!important}
.ttm-attendance-clarity-footer p{font-size:11.5px!important;color:#64748b!important;margin:0!important;line-height:1.7!important}

.ttm-premium-dashboard.is-employee-dashboard{display:grid!important;gap:14px!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-dashboard-hero-row{grid-template-columns:280px minmax(0,1fr)!important;gap:14px!important;margin-bottom:0!important;align-items:stretch!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-card,
.ttm-premium-dashboard.is-employee-dashboard .ttm-cinematic-hero{border-radius:24px!important;min-height:0!important;padding:16px!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-top{gap:10px!important;align-items:center!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-top .ttm-gm-mini-avatar,
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-top .ttm-avatar,
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-top img{width:54px!important;height:54px!important;border-radius:18px!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-top span{font-size:11px!important;color:#64748b!important;font-weight:850!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-top strong{font-size:16px!important;line-height:1.5!important;color:#111827!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-top small{font-size:11px!important;line-height:1.6!important;color:#64748b!important;font-weight:800!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-status{margin:12px 0!important;padding:10px 12px!important;border-radius:16px!important;background:#f8fafc!important;border:1px solid #e7edf5!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-status span{font-size:11px!important;color:#64748b!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-profile-summary-status b{font-size:14px!important;font-weight:850!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-cinematic-hero{display:flex!important;align-items:center!important;background:linear-gradient(135deg,#111827,#1f2937 60%,var(--ttm-primary))!important;overflow:hidden!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-cinematic-hero h2{font-size:25px!important;line-height:1.45!important;margin:8px 0 5px!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-cinematic-hero p{font-size:13px!important;line-height:1.9!important;max-width:760px!important;margin-bottom:0!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-hero-actions-v107{margin-top:12px!important;gap:8px!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-premium-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-premium-metric,
.ttm-premium-dashboard.is-employee-dashboard .ttm-stat{padding:13px!important;border-radius:18px!important;min-height:92px!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-premium-metric strong,
.ttm-premium-dashboard.is-employee-dashboard .ttm-stat strong{font-size:21px!important;margin:6px 0 3px!important;font-weight:900!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-premium-metric span,
.ttm-premium-dashboard.is-employee-dashboard .ttm-stat span{font-size:11px!important;font-weight:850!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-premium-metric small,
.ttm-premium-dashboard.is-employee-dashboard .ttm-stat small{font-size:10.5px!important;line-height:1.6!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-dashboard-bottom-grid{gap:12px!important;margin-top:0!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-premium-card{padding:15px!important;border-radius:22px!important;margin-bottom:0!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-card-head h3{font-size:15px!important;line-height:1.5!important}
.ttm-premium-dashboard.is-employee-dashboard .ttm-card-head p{font-size:11.5px!important;line-height:1.6!important;margin:0!important}

@media (max-width: 980px){
  .ttm-profile-hero-updated{grid-template-columns:1fr!important}
  .ttm-profile-avatar-stage{grid-template-columns:76px minmax(0,1fr)!important}
  .ttm-profile-avatar-frame{width:76px!important;height:76px!important;border-radius:22px!important}
  .ttm-attendance-clarity-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-attendance-day-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ttm-premium-dashboard.is-employee-dashboard .ttm-dashboard-hero-row{grid-template-columns:1fr!important}
  .ttm-premium-dashboard.is-employee-dashboard .ttm-premium-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width: 560px){
  .ttm-profile-avatar-stage{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important}
  .ttm-profile-avatar-uploader{text-align:center!important;width:100%!important}
  .ttm-profile-avatar-picker{grid-template-columns:1fr!important;text-align:center!important}
  .ttm-profile-avatar-picker em{white-space:normal!important;line-height:1.5!important}
  .ttm-attendance-day-strip{grid-template-columns:1fr!important}
  .ttm-premium-dashboard.is-employee-dashboard .ttm-cinematic-hero h2{font-size:21px!important}
  .ttm-premium-dashboard.is-employee-dashboard .ttm-cinematic-hero p{font-size:12px!important}
}


/* Teamora Team Management v1.0.0 — UI System Refresh
   Scope: visual/header/profile/dashboard only. No DB/API/business logic touched. */
:root{--ttm-ui-border:rgba(226,232,240,.92);--ttm-ui-shadow:0 16px 42px rgba(15,23,42,.065);--ttm-ui-shadow-soft:0 10px 28px rgba(15,23,42,.052);}
.ttm-portal *{scrollbar-width:thin;}
.ttm-topbar .ttm-search-lite,.ttm-mobile-head .ttm-search-lite{display:none!important;}
.ttm-main{gap:14px!important;}
.ttm-topbar-unified{min-height:76px!important;padding:14px 18px!important;border-radius:26px!important;background:rgba(255,255,255,.90)!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow-soft)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:14px!important;}
.ttm-title-block-brand{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;}
.ttm-title-block-brand h1{margin:0!important;font-size:clamp(22px,2vw,30px)!important;line-height:1.25!important;font-weight:950!important;color:#101827!important;letter-spacing:-.03em!important;}
.ttm-title-block-brand p{margin:3px 0 0!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.65!important;}
.ttm-topbar-logo{width:54px!important;height:54px!important;border-radius:18px!important;object-fit:cover!important;background:#fff!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important;flex:0 0 auto!important;}
.ttm-top-actions-compact{gap:8px!important;align-items:center!important;}
.ttm-top-actions-compact .ttm-btn{height:42px!important;padding:0 14px!important;border-radius:14px!important;font-size:12px!important;font-weight:900!important;}
.ttm-bell-lite{width:42px!important;height:42px!important;border-radius:14px!important;background:#fff!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:0 8px 20px rgba(15,23,42,.055)!important;color:#111827!important;}
.ttm-section-announcement,.ttm-screen-intro,.ttm-page-title-box{display:none!important;}

/* Unified PWA/mobile header */
.ttm-mobile-head-unified{min-height:64px!important;padding:10px 12px!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px)!important;border-bottom:1px solid var(--ttm-ui-border)!important;box-shadow:0 10px 26px rgba(15,23,42,.055)!important;color:#111827!important;}
.ttm-mobile-brandline{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;flex:1 1 auto!important;}
.ttm-mobile-brandline img{width:40px!important;height:40px!important;border-radius:13px!important;object-fit:cover!important;background:#fff!important;border:1px solid rgba(226,232,240,.9)!important;}
.ttm-mobile-brandline div{min-width:0!important;display:flex!important;flex-direction:column!important;gap:1px!important;}
.ttm-mobile-brandline strong{font-size:14px!important;font-weight:950!important;color:#101827!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.ttm-mobile-brandline small{font-size:10px!important;font-weight:800!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.ttm-mobile-head-unified .ttm-icon-btn{background:#fff!important;color:#111827!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:0 8px 18px rgba(15,23,42,.055)!important;width:40px!important;height:40px!important;border-radius:14px!important;}

/* Employee dashboard: compact, same rhythm as metrics */
.ttm-premium-dashboard{display:grid!important;gap:14px!important;}
.ttm-dashboard-compact-welcome{position:relative;overflow:hidden;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:14px!important;min-height:108px!important;padding:18px 20px!important;border-radius:26px!important;background:radial-gradient(circle at 0 0,rgba(229,9,20,.08),transparent 28%),linear-gradient(135deg,#fff,#fbfcff)!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow)!important;}
.ttm-dashboard-compact-welcome:before{content:"";position:absolute;inset-inline-start:0;top:18px;width:4px;height:58px;border-radius:999px;background:linear-gradient(180deg,var(--ttm-primary),var(--ttm-primary-2));}
.ttm-dashboard-compact-copy{min-width:0!important;padding-inline-start:8px!important;}
.ttm-dashboard-compact-copy .ttm-soft-tag{margin:0 0 7px!important;padding:5px 10px!important;border-radius:999px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary)!important;font-size:11px!important;font-weight:950!important;}
.ttm-dashboard-compact-copy h2{margin:0!important;font-size:clamp(20px,2.1vw,28px)!important;line-height:1.32!important;font-weight:950!important;color:#111827!important;letter-spacing:-.03em!important;}
.ttm-dashboard-compact-copy p{margin:5px 0 0!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.8!important;max-width:720px!important;}
.ttm-dashboard-compact-user{display:flex!important;align-items:center!important;gap:10px!important;min-width:180px!important;padding:10px 12px!important;border-radius:20px!important;background:#fff!important;border:1px solid rgba(226,232,240,.9)!important;box-shadow:0 10px 24px rgba(15,23,42,.045)!important;}
.ttm-dashboard-compact-user .ttm-dashboard-avatar,.ttm-dashboard-compact-user .ttm-avatar{width:50px!important;height:50px!important;border-radius:17px!important;}
.ttm-dashboard-compact-user strong{display:block!important;font-size:13px!important;font-weight:950!important;color:#111827!important;max-width:150px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.ttm-dashboard-compact-user small{display:block!important;margin-top:3px!important;font-size:10px!important;font-weight:800!important;color:#64748b!important;max-width:150px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.ttm-dashboard-compact-actions{display:flex!important;gap:8px!important;align-items:center!important;}
.ttm-dashboard-compact-actions .ttm-btn{height:40px!important;min-width:86px!important;border-radius:14px!important;padding:0 13px!important;font-size:12px!important;font-weight:950!important;}
.ttm-premium-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
.ttm-premium-metric{min-height:126px!important;padding:16px!important;border-radius:22px!important;background:#fff!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow-soft)!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:"title icon" "value icon" "note link"!important;align-items:center!important;text-align:right!important;}
.ttm-premium-metric .ttm-premium-icon{grid-area:icon!important;width:46px!important;height:46px!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(229,9,20,.12),rgba(229,9,20,.04))!important;color:var(--ttm-primary)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;}
.ttm-premium-metric strong{grid-area:title!important;font-size:13px!important;font-weight:950!important;color:#111827!important;line-height:1.5!important;}
.ttm-premium-metric b{grid-area:value!important;font-size:30px!important;font-weight:950!important;line-height:1.1!important;color:#111827!important;}
.ttm-premium-metric small{grid-area:note!important;font-size:11px!important;color:#64748b!important;font-weight:800!important;}

/* General manager command center: compact executive header */
.ttm-command-dashboard{display:grid!important;gap:14px!important;}
.ttm-command-hero{min-height:126px!important;padding:18px 20px!important;border-radius:26px!important;background:linear-gradient(135deg,#fff,#fbfcff)!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow)!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:18px!important;align-items:center!important;}
.ttm-command-hero-profile{order:1!important;min-width:260px!important;max-width:330px!important;padding:13px!important;border-radius:22px!important;background:linear-gradient(135deg,#111827,#1f2937)!important;color:#fff!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 18px 38px rgba(15,23,42,.12)!important;display:flex!important;align-items:center!important;gap:12px!important;}
.ttm-command-hero-profile .ttm-dashboard-avatar,.ttm-command-hero-profile .ttm-avatar{width:62px!important;height:62px!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:none!important;}
.ttm-command-hero-profile strong{font-size:14px!important;color:#fff!important;font-weight:950!important;}
.ttm-command-hero-profile span{font-size:11px!important;color:rgba(255,255,255,.72)!important;font-weight:850!important;}
.ttm-command-hero-profile small{font-size:10px!important;color:rgba(255,255,255,.52)!important;font-weight:800!important;}
.ttm-command-hero-copy{order:2!important;text-align:right!important;min-width:0!important;display:grid!important;justify-items:start!important;}
.ttm-command-hero-copy .ttm-soft-tag{padding:5px 10px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary)!important;border-radius:999px!important;font-size:11px!important;font-weight:950!important;}
.ttm-command-hero-copy h2{margin:5px 0 0!important;font-size:clamp(21px,2vw,28px)!important;line-height:1.35!important;font-weight:950!important;color:#111827!important;letter-spacing:-.03em!important;}
.ttm-command-hero-copy p{margin:5px 0 0!important;max-width:720px!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.85!important;}
.ttm-command-status-line{display:flex!important;align-items:center!important;gap:8px!important;margin-top:8px!important;}
.ttm-command-status-line small{font-size:10px!important;color:#94a3b8!important;font-weight:800!important;}
.ttm-command-primary-action{margin-top:10px!important;height:40px!important;padding:0 16px!important;border-radius:14px!important;background:#fff!important;color:var(--ttm-primary)!important;border:1px solid rgba(229,9,20,.25)!important;font-weight:950!important;box-shadow:0 10px 22px rgba(229,9,20,.08)!important;cursor:pointer!important;}
.ttm-command-today-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;}
.ttm-command-today-grid article,.ttm-command-panel{border-radius:22px!important;background:#fff!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow-soft)!important;}
.ttm-command-today-grid article{min-height:112px!important;padding:15px!important;}
.ttm-command-today-grid strong{font-size:28px!important;line-height:1.1!important;}
.ttm-command-today-grid span{font-size:12px!important;font-weight:950!important;color:#111827!important;}
.ttm-command-today-grid small{font-size:10px!important;color:#64748b!important;font-weight:800!important;}

/* Profile: clean master card + uploader */
.ttm-profile-premium{display:block!important;}
.ttm-profile-app-layout{display:block!important;}
.ttm-profile-mobile-card{display:none!important;}
.ttm-profile-editor-shell{display:grid!important;gap:14px!important;}
.ttm-profile-hero-v310{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;gap:22px!important;align-items:center!important;min-height:0!important;padding:22px!important;border-radius:28px!important;background:#fff!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow)!important;}
.ttm-profile-hero-v310 .ttm-profile-hero-copy{min-width:0!important;}
.ttm-profile-hero-v310 .ttm-soft-tag{display:inline-flex!important;margin:0 0 8px!important;padding:5px 10px!important;border-radius:999px!important;background:rgba(229,9,20,.08)!important;color:var(--ttm-primary)!important;font-size:11px!important;font-weight:950!important;}
.ttm-profile-hero-v310 h3{margin:0!important;font-size:clamp(24px,2.25vw,34px)!important;line-height:1.3!important;font-weight:950!important;color:#111827!important;letter-spacing:-.03em!important;}
.ttm-profile-hero-v310 p{margin:6px 0 0!important;max-width:760px!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.9!important;}
.ttm-profile-status-pills{margin-top:14px!important;display:grid!important;grid-template-columns:repeat(5,minmax(112px,1fr))!important;gap:9px!important;}
.ttm-profile-status-pills .ttm-pill{height:auto!important;min-height:54px!important;border-radius:16px!important;background:#f8fafc!important;border:1px solid rgba(226,232,240,.92)!important;color:#334155!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:8px!important;font-size:11px!important;font-weight:900!important;line-height:1.6!important;}
.ttm-profile-avatar-stage{display:grid!important;gap:10px!important;justify-items:stretch!important;align-self:stretch!important;}
.ttm-profile-avatar-frame{position:relative!important;width:144px!important;height:144px!important;margin:0 auto!important;border-radius:34px!important;background:linear-gradient(135deg,#fff,#f8fafc)!important;border:1px solid rgba(226,232,240,.95)!important;box-shadow:0 18px 40px rgba(15,23,42,.11)!important;overflow:visible!important;}
.ttm-profile-avatar-image,.ttm-profile-avatar-initials{width:100%!important;height:100%!important;border-radius:34px!important;object-fit:cover!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:40px!important;font-weight:950!important;background:linear-gradient(135deg,#f8fafc,#fff)!important;color:var(--ttm-primary)!important;}
.ttm-profile-avatar-camera{position:absolute!important;inset-inline-end:-8px!important;bottom:-8px!important;width:42px!important;height:42px!important;border-radius:16px!important;background:#fff!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:0 12px 26px rgba(15,23,42,.13)!important;color:var(--ttm-primary)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:18px!important;font-weight:950!important;cursor:pointer!important;}
.ttm-profile-upload-box{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;display:grid!important;gap:8px!important;}
.ttm-profile-upload-copy{text-align:center!important;display:grid!important;gap:3px!important;}
.ttm-profile-upload-copy strong{font-size:13px!important;font-weight:950!important;color:#111827!important;}
.ttm-profile-upload-copy span{font-size:10px!important;color:#64748b!important;font-weight:800!important;line-height:1.6!important;}
.ttm-profile-avatar-picker{min-height:42px!important;border-radius:14px!important;background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;color:#fff!important;border:0!important;box-shadow:0 12px 28px rgba(229,9,20,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:0 12px!important;cursor:pointer!important;}
.ttm-profile-avatar-picker span{font-size:12px!important;font-weight:950!important;color:#fff!important;}
.ttm-profile-avatar-picker em{display:none!important;}
.ttm-profile-remove-button{min-height:38px!important;border-radius:13px!important;border:1px solid rgba(239,68,68,.23)!important;background:#fff!important;color:#dc2626!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:900!important;}
.ttm-profile-remove-button input{accent-color:#dc2626!important;}
.ttm-profile-dossier-strip{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;}
.ttm-profile-dossier-strip article{min-height:82px!important;padding:13px!important;border-radius:20px!important;background:#fff!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow-soft)!important;}
.ttm-profile-dossier-strip article span{font-size:10px!important;color:#64748b!important;font-weight:900!important;}
.ttm-profile-dossier-strip article strong{margin-top:5px!important;font-size:14px!important;color:#111827!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.ttm-profile-dossier-strip article small{font-size:10px!important;color:#94a3b8!important;font-weight:800!important;}
.ttm-profile-grid-panels{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.ttm-profile-section{border-radius:22px!important;background:#fff!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow-soft)!important;padding:16px!important;}
.ttm-card-head{margin-bottom:12px!important;}
.ttm-card-head h3{font-size:14px!important;font-weight:950!important;}
.ttm-save-ribbon{border-radius:22px!important;min-height:62px!important;background:#fff!important;border:1px solid var(--ttm-ui-border)!important;box-shadow:var(--ttm-ui-shadow-soft)!important;}

/* RTL/type polishing */
.ttm-portal h1,.ttm-portal h2,.ttm-portal h3,.ttm-portal strong,.ttm-portal b{letter-spacing:-.025em;}
.ttm-portal .ttm-btn,.ttm-portal button{font-family:var(--ttm-font-family),Tahoma,Arial,sans-serif!important;}
.ttm-status-badge{border-radius:999px!important;font-size:11px!important;font-weight:950!important;padding:6px 10px!important;}

@media(max-width:1180px){
  .ttm-premium-metrics,.ttm-command-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .ttm-profile-status-pills,.ttm-profile-dossier-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .ttm-profile-hero-v310{grid-template-columns:1fr!important;}
  .ttm-profile-avatar-stage{max-width:280px!important;margin-inline:auto!important;width:100%!important;}
}
@media(max-width:780px){
  .ttm-main{padding:12px 12px 28px!important;}
  .ttm-topbar-unified{display:none!important;}
  .ttm-mobile-head{display:flex!important;}
  .ttm-dashboard-compact-welcome{grid-template-columns:1fr!important;gap:11px!important;min-height:0!important;padding:16px!important;border-radius:22px!important;}
  .ttm-dashboard-compact-copy h2{font-size:20px!important;}
  .ttm-dashboard-compact-user{min-width:0!important;width:100%!important;}
  .ttm-dashboard-compact-actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;}
  .ttm-dashboard-compact-actions .ttm-btn{width:100%!important;}
  .ttm-premium-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .ttm-premium-metric{min-height:114px!important;padding:13px!important;border-radius:19px!important;}
  .ttm-premium-metric b{font-size:25px!important;}
  .ttm-command-hero{grid-template-columns:1fr!important;padding:15px!important;border-radius:22px!important;}
  .ttm-command-hero-profile{min-width:0!important;max-width:none!important;width:100%!important;}
  .ttm-command-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .ttm-command-today-grid article{min-height:100px!important;padding:12px!important;}
  .ttm-command-layout,.ttm-command-bottom-grid{grid-template-columns:1fr!important;}
  .ttm-profile-hero-v310{padding:15px!important;border-radius:22px!important;gap:16px!important;}
  .ttm-profile-hero-v310 h3{font-size:23px!important;}
  .ttm-profile-status-pills,.ttm-profile-dossier-strip,.ttm-profile-grid-panels{grid-template-columns:1fr!important;}
  .ttm-profile-avatar-frame{width:128px!important;height:128px!important;border-radius:30px!important;}
  .ttm-profile-avatar-image,.ttm-profile-avatar-initials{border-radius:30px!important;}
  .ttm-save-ribbon{display:grid!important;gap:10px!important;text-align:center!important;}
}
@media(max-width:460px){
  .ttm-premium-metrics,.ttm-command-today-grid{grid-template-columns:1fr!important;}
  .ttm-mobile-brandline img{width:36px!important;height:36px!important;border-radius:12px!important;}
  .ttm-mobile-brandline strong{font-size:13px!important;}
}


/* Teamora Team Management v1.0.0 — phase 1 hotfixes */
.ttm-attendance-shell .ttm-attendance-hero,
.ttm-attendance-shell .ttm-attendance-hero h3,
.ttm-attendance-shell .ttm-attendance-hero p,
.ttm-attendance-shell .ttm-attendance-hero span,
.ttm-attendance-shell .ttm-attendance-hero small,
.ttm-attendance-shell .ttm-attendance-actions,
.ttm-attendance-shell .ttm-attendance-actions .ttm-attendance-clock-grid > div,
.ttm-attendance-shell .ttm-attendance-actions .ttm-shift-mini-grid > div,
.ttm-attendance-shell .ttm-attendance-actions .ttm-attendance-clock-grid > div span,
.ttm-attendance-shell .ttm-attendance-actions .ttm-shift-mini-grid > div span,
.ttm-attendance-shell .ttm-attendance-actions .ttm-attendance-clock-grid > div strong,
.ttm-attendance-shell .ttm-attendance-actions .ttm-shift-mini-grid > div strong{
  color:#fff!important;
}
.ttm-attendance-shell .ttm-attendance-timezone-note{color:rgba(255,255,255,.86)!important;}
.ttm-attendance-shell .ttm-attendance-status{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.24)!important;color:#fff!important;backdrop-filter:blur(8px)!important;}
.ttm-attendance-shell .ttm-attendance-status small,
.ttm-attendance-shell .ttm-attendance-status strong{color:#fff!important;}
.ttm-attendance-shell .ttm-attendance-status .ttm-status-badge{background:rgba(255,255,255,.16)!important;color:#fff!important;border-color:rgba(255,255,255,.24)!important;}

.ttm-search-lite{position:relative!important;}
.ttm-search-lite input[type="search"]{-webkit-appearance:textfield!important;appearance:textfield!important;}
.ttm-search-lite input[type="search"]::-webkit-search-decoration,
.ttm-search-lite input[type="search"]::-webkit-search-cancel-button,
.ttm-search-lite input[type="search"]::-webkit-search-results-button,
.ttm-search-lite input[type="search"]::-webkit-search-results-decoration{display:none!important;}
.ttm-search-lite span{font-size:0!important;line-height:0!important;color:transparent!important;}


/* Teamora Team Management v1.0.0 — header, PWA and mobile polish */
.ttm-topbar.ttm-premium-topbar,
.ttm-topbar-clean,
.ttm-topbar-pro,
.ttm-topbar-unified{
  min-height:62px!important;
  padding:12px 16px!important;
  margin:0 0 14px!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(226,232,240,.88)!important;
  box-shadow:0 16px 42px rgba(15,23,42,.07)!important;
  backdrop-filter:blur(18px)!important;
  overflow:hidden!important;
}
.ttm-topbar.ttm-premium-topbar .ttm-title-block,
.ttm-topbar-clean .ttm-title-block,
.ttm-topbar-pro .ttm-title-block{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important;
  min-width:0!important;
}
.ttm-topbar-logo,
.ttm-topbar.ttm-premium-topbar .ttm-title-block img,
.ttm-topbar-clean .ttm-title-block img,
.ttm-topbar-pro .ttm-title-block img{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  object-fit:contain!important;
  border-radius:15px!important;
  padding:4px!important;
  background:#fff!important;
  border:1px solid rgba(226,232,240,.9)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.075)!important;
}
.ttm-topbar.ttm-premium-topbar .ttm-title-block h1,
.ttm-topbar-clean .ttm-title-block h1,
.ttm-topbar-pro .ttm-title-block h1,
.ttm-topbar h1{
  font-size:clamp(21px,2vw,29px)!important;
  line-height:1.25!important;
  margin:0!important;
  color:#111827!important;
  letter-spacing:-.025em!important;
}
.ttm-topbar.ttm-premium-topbar .ttm-title-block p,
.ttm-topbar-clean .ttm-title-block p,
.ttm-topbar-pro .ttm-title-block p,
.ttm-topbar p{
  font-size:12px!important;
  line-height:1.7!important;
  margin:3px 0 0!important;
  color:#64748b!important;
  font-weight:650!important;
  max-width:720px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ttm-top-actions-compact,
.ttm-top-actions,
.ttm-premium-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
.ttm-bell-lite,
.ttm-top-actions .ttm-btn,
.ttm-premium-actions .ttm-btn{
  min-height:40px!important;
  border-radius:14px!important;
}
.ttm-premium-topbar .ttm-search-lite,
.ttm-topbar .ttm-search-lite,
.ttm-topbar-clean .ttm-search-lite,
.ttm-topbar-pro .ttm-search-lite,
.ttm-mobile-head .ttm-search-lite,
.ttm-screen-intro .ttm-search-lite{
  display:none!important;
}
.ttm-portal .ttm-mobile-head + .ttm-screen-intro,
.ttm-portal .ttm-premium-topbar + .ttm-screen-intro,
.ttm-portal .ttm-topbar + .ttm-screen-intro,
.ttm-portal .ttm-topbar-clean + .ttm-screen-intro,
.ttm-portal .ttm-topbar-pro + .ttm-screen-intro{
  display:none!important;
}
@media(max-width:980px){
  .ttm-main{padding-top:10px!important;}
  .ttm-title-block,
  .ttm-screen-intro,
  .ttm-page-title-box,
  .ttm-section-announcement{display:none!important;}
  body.ttm-standalone .ttm-screen-intro,
  body.ttm-app-page .ttm-screen-intro,
  .ttm-pwa-runtime .ttm-screen-intro,
  body.ttm-standalone .ttm-page-title-box,
  body.ttm-app-page .ttm-page-title-box,
  .ttm-pwa-runtime .ttm-page-title-box{display:none!important;}
  .ttm-portal .ttm-mobile-head ~ .ttm-mobile-head{display:none!important;}
  .ttm-mobile-head{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 42px!important;
    align-items:center!important;
    gap:10px!important;
    position:sticky!important;
    top:0!important;
    z-index:960!important;
    width:100%!important;
    min-height:58px!important;
    margin:0 0 12px!important;
    padding:9px 12px!important;
    border-radius:0 0 22px 22px!important;
    background:rgba(255,255,255,.96)!important;
    color:#0f172a!important;
    border:1px solid rgba(226,232,240,.92)!important;
    box-shadow:0 14px 34px rgba(15,23,42,.09)!important;
    backdrop-filter:blur(18px)!important;
    overflow:hidden!important;
  }
  body.ttm-standalone .ttm-mobile-head,
  body.ttm-app-page .ttm-mobile-head,
  .ttm-pwa-runtime .ttm-mobile-head{padding-top:max(9px,env(safe-area-inset-top))!important;}
  .ttm-mobile-head *{min-width:0!important;}
  .ttm-mobile-brandline{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:9px!important;
    min-width:0!important;
    justify-self:stretch!important;
  }
  .ttm-mobile-brandline > div{min-width:0!important;display:block!important;}
  .ttm-mobile-title{
    display:block!important;
    font-size:15.5px!important;
    font-weight:900!important;
    line-height:1.35!important;
    color:#111827!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-align:right!important;
  }
  .ttm-mobile-brandline small,
  .ttm-mobile-head p{display:none!important;}
  .ttm-mobile-head img,
  .ttm-mobile-brandline img{
    width:35px!important;
    height:35px!important;
    max-width:35px!important;
    max-height:35px!important;
    min-width:35px!important;
    object-fit:contain!important;
    border-radius:12px!important;
    padding:3px!important;
    background:#fff!important;
    border:1px solid rgba(226,232,240,.9)!important;
    box-shadow:0 10px 22px rgba(15,23,42,.10)!important;
  }
  .ttm-mobile-menu-toggle,
  .ttm-mobile-head .ttm-icon-btn,
  .ttm-mobile-head button{
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    display:inline-grid!important;
    place-items:center!important;
    border-radius:14px!important;
    background:#fff!important;
    color:var(--ttm-primary,#e50914)!important;
    border:1px solid rgba(226,232,240,.92)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.08)!important;
    padding:0!important;
    margin:0!important;
  }
  .ttm-mobile-logout-form{display:flex!important;justify-content:flex-end!important;align-items:center!important;margin:0!important;}
  .ttm-premium-topbar,
  .ttm-topbar,
  .ttm-topbar-clean,
  .ttm-topbar-pro,
  .ttm-topbar-unified{display:none!important;}
}
@media(max-width:520px){
  .ttm-mobile-head{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    border-radius:0 0 18px 18px!important;
    min-height:54px!important;
    margin-bottom:10px!important;
    padding-inline:10px!important;
  }
  .ttm-mobile-title{font-size:14.5px!important;}
  .ttm-mobile-head img,
  .ttm-mobile-brandline img{
    width:33px!important;height:33px!important;max-width:33px!important;max-height:33px!important;min-width:33px!important;
  }
}

/* Teamora Team Management v1.0.0 — Phase 3: profile + avatar uploader polish
   Scope: profile UI, avatar preview/upload/remove UX only. No DB/API/business logic touched. */
.ttm-profile-pro-shell,
.ttm-profile-pro-shell *{box-sizing:border-box!important;}
.ttm-profile-hero-v310{
  grid-template-columns:minmax(0,1fr) minmax(238px,292px)!important;
  align-items:start!important;
  overflow:visible!important;
}
.ttm-profile-hero-v310 .ttm-profile-hero-copy{align-self:center!important;}
.ttm-profile-avatar-stage{
  align-self:start!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  min-width:0!important;
  width:100%!important;
  max-width:292px!important;
  margin-inline:auto!important;
  padding:12px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#f8fafc,#ffffff)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
}
.ttm-profile-avatar-frame{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:132px!important;
  height:132px!important;
  margin:0 auto!important;
  border-radius:32px!important;
  overflow:visible!important;
  isolation:isolate!important;
  background:linear-gradient(135deg,#fff,#f8fafc)!important;
  border:1px solid rgba(226,232,240,.96)!important;
  box-shadow:0 18px 38px rgba(15,23,42,.10)!important;
}
.ttm-profile-avatar-image,
.ttm-profile-avatar-initials{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border-radius:32px!important;
  background:linear-gradient(135deg,#f8fafc,#fff)!important;
}
.ttm-profile-avatar-image{
  display:none!important;
  object-fit:cover!important;
  z-index:1!important;
}
.ttm-profile-avatar-image.has-image{display:block!important;}
.ttm-profile-avatar-initials{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:var(--ttm-primary)!important;
  font-size:38px!important;
  font-weight:950!important;
  z-index:0!important;
}
.ttm-profile-avatar-initials.is-hidden{display:none!important;}
.ttm-profile-avatar-camera{
  z-index:3!important;
  inset-inline-end:-7px!important;
  bottom:-7px!important;
  width:40px!important;
  height:40px!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;
  color:#fff!important;
  border:3px solid #fff!important;
  box-shadow:0 12px 24px rgba(229,9,20,.22)!important;
  line-height:1!important;
  font-size:19px!important;
}
.ttm-profile-avatar-uploader{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  gap:10px!important;
  text-align:center!important;
}
.ttm-profile-upload-copy strong{font-size:13px!important;font-weight:950!important;color:#111827!important;}
.ttm-profile-upload-copy span{font-size:10.5px!important;font-weight:800!important;line-height:1.75!important;color:#64748b!important;}
.ttm-profile-avatar-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}
.ttm-profile-avatar-picker{
  position:relative!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  min-height:52px!important;
  width:100%!important;
  min-width:0!important;
  padding:7px!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#334155!important;
  border:1px dashed #cbd5e1!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.ttm-profile-avatar-picker input[type=file]{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  cursor:pointer!important;
  padding:0!important;
  border:0!important;
}
.ttm-profile-avatar-picker span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  padding:0 12px!important;
  border-radius:12px!important;
  background:var(--ttm-primary)!important;
  color:#fff!important;
  font-size:11.5px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.ttm-profile-avatar-picker em{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-style:normal!important;
  color:#64748b!important;
  font-size:10.5px!important;
  font-weight:850!important;
  text-align:right!important;
  direction:rtl!important;
}
.ttm-profile-remove-button{
  width:100%!important;
  min-height:40px!important;
  margin:0!important;
  padding:8px 10px!important;
  border-radius:14px!important;
  background:#fff7f7!important;
  border:1px solid #fecaca!important;
  color:#b91c1c!important;
  font-size:11.5px!important;
  font-weight:950!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  line-height:1.5!important;
}
.ttm-profile-remove-button input{width:15px!important;height:15px!important;min-height:15px!important;padding:0!important;margin:0!important;accent-color:#dc2626!important;box-shadow:none!important;}
.ttm-profile-remove-button:has(input:checked){background:#fee2e2!important;border-color:#fca5a5!important;color:#991b1b!important;}
.ttm-profile-mobile-avatar-wrap{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
}
.ttm-profile-mobile-avatar-image,
.ttm-profile-mobile-avatar-fallback{
  width:100%!important;
  height:100%!important;
  border-radius:inherit!important;
}
.ttm-profile-mobile-avatar-image{display:none!important;object-fit:cover!important;}
.ttm-profile-mobile-avatar-image.has-image{display:block!important;}
.ttm-profile-mobile-avatar-fallback{display:flex!important;align-items:center!important;justify-content:center!important;font-size:22px!important;font-weight:950!important;color:var(--ttm-primary)!important;background:#fff!important;}
.ttm-profile-mobile-avatar-fallback.is-hidden{display:none!important;}
.ttm-profile-grid-panels{align-items:start!important;}
.ttm-profile-section{min-width:0!important;overflow:hidden!important;}
.ttm-profile-section label{min-width:0!important;}
.ttm-profile-section :where(input,textarea,select){min-width:0!important;}
.ttm-profile-list-card article{min-width:0!important;}
.ttm-save-ribbon{position:sticky!important;bottom:12px!important;z-index:8!important;}

@media(max-width:1180px){
  .ttm-profile-hero-v310{grid-template-columns:1fr!important;gap:16px!important;}
  .ttm-profile-avatar-stage{max-width:360px!important;}
  .ttm-profile-avatar-actions{grid-template-columns:1fr!important;}
}
@media(max-width:780px){
  .ttm-profile-hero-v310{padding:14px!important;border-radius:22px!important;}
  .ttm-profile-avatar-stage{padding:10px!important;border-radius:20px!important;gap:10px!important;max-width:100%!important;}
  .ttm-profile-avatar-frame{width:108px!important;height:108px!important;border-radius:27px!important;}
  .ttm-profile-avatar-image,.ttm-profile-avatar-initials{border-radius:27px!important;}
  .ttm-profile-avatar-initials{font-size:31px!important;}
  .ttm-profile-avatar-camera{width:36px!important;height:36px!important;border-radius:14px!important;font-size:17px!important;}
  .ttm-profile-avatar-picker{grid-template-columns:1fr!important;text-align:center!important;gap:6px!important;min-height:74px!important;}
  .ttm-profile-avatar-picker span{width:100%!important;}
  .ttm-profile-avatar-picker em{text-align:center!important;white-space:normal!important;line-height:1.55!important;}
  .ttm-profile-upload-copy span{font-size:10px!important;}
  .ttm-save-ribbon{position:static!important;}
}
@media(max-width:420px){
  .ttm-profile-avatar-stage{padding:9px!important;}
  .ttm-profile-avatar-frame{width:96px!important;height:96px!important;border-radius:24px!important;}
  .ttm-profile-avatar-image,.ttm-profile-avatar-initials{border-radius:24px!important;}
  .ttm-profile-avatar-initials{font-size:28px!important;}
}


/* Teamora Team Management v1.0.0 — Phase 4: mobile/PWA responsive pass
   Scope: front-end layout resilience only. No business logic, data, roles or REST behavior changes. */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}
*,
*::before,
*::after{
  box-sizing:border-box;
}
img,
svg,
video,
canvas{
  max-width:100%;
  height:auto;
}
.ttm-panel,
.ttm-app,
.ttm-wrap,
.ttm-main,
.ttm-content,
.ttm-page,
.ttm-shell,
.ttm-panel-shell,
.ttm-dashboard,
.ttm-profile,
.ttm-card,
.ttm-panel-card,
.ttm-section,
.ttm-card-grid,
.ttm-grid,
.ttm-stats-grid,
.ttm-dashboard-grid,
.ttm-profile-grid{
  max-width:100%;
  min-width:0;
}
.ttm-panel *,
.ttm-app *,
.ttm-wrap *{
  min-width:0;
  overflow-wrap:anywhere;
}
.ttm-table-wrap,
.ttm-table-responsive,
.ttm-scroll-table,
.ttm-list-table,
.ttm-data-table-wrap{
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

@media (max-width: 768px){
  .ttm-panel,
  .ttm-app,
  .ttm-wrap,
  .ttm-main,
  .ttm-content,
  .ttm-page,
  .ttm-shell,
  .ttm-panel-shell{
    width:100%!important;
    max-width:100%!important;
    padding-left:max(12px, env(safe-area-inset-left))!important;
    padding-right:max(12px, env(safe-area-inset-right))!important;
  }

  .ttm-topbar,
  .ttm-header,
  .ttm-panel-header,
  .ttm-page-header,
  .ttm-mobile-header,
  .ttm-pwa-header{
    width:100%!important;
    min-height:auto!important;
    padding:10px 12px!important;
    gap:10px!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
  }

  .ttm-header-search,
  .ttm-topbar-search,
  .ttm-panel-search,
  .ttm-global-search,
  .ttm-mobile-header .ttm-search-lite,
  .ttm-pwa-header .ttm-search-lite{
    display:none!important;
  }

  .ttm-grid,
  .ttm-card-grid,
  .ttm-stats-grid,
  .ttm-dashboard-grid,
  .ttm-profile-grid,
  .ttm-form-grid,
  .ttm-field-grid,
  .ttm-two-col,
  .ttm-three-col,
  .ttm-columns{
    grid-template-columns:minmax(0, 1fr)!important;
    gap:12px!important;
  }

  .ttm-card,
  .ttm-panel-card,
  .ttm-stat-card,
  .ttm-dashboard-card,
  .ttm-profile-card,
  .ttm-attendance-card,
  .ttm-section{
    width:100%!important;
    max-width:100%!important;
    padding:14px!important;
    border-radius:18px!important;
  }

  .ttm-actions,
  .ttm-form-actions,
  .ttm-card-actions,
  .ttm-toolbar,
  .ttm-filters,
  .ttm-action-row{
    width:100%!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }

  .ttm-actions .button,
  .ttm-actions button,
  .ttm-form-actions .button,
  .ttm-form-actions button,
  .ttm-card-actions .button,
  .ttm-card-actions button,
  .ttm-toolbar .button,
  .ttm-toolbar button{
    min-height:42px!important;
    max-width:100%!important;
    justify-content:center!important;
  }

  .ttm-form-actions .button,
  .ttm-form-actions button{
    width:100%!important;
  }

  input,
  select,
  textarea{
    width:100%!important;
    max-width:100%!important;
  }

  .ttm-tabs,
  .ttm-profile-tabs,
  .ttm-mobile-tabs,
  .ttm-payroll-tabs,
  .ttm-nav-tabs{
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    flex-wrap:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }

  .ttm-tabs::-webkit-scrollbar,
  .ttm-profile-tabs::-webkit-scrollbar,
  .ttm-mobile-tabs::-webkit-scrollbar,
  .ttm-payroll-tabs::-webkit-scrollbar,
  .ttm-nav-tabs::-webkit-scrollbar{
    display:none!important;
  }

  .ttm-tabs > *,
  .ttm-profile-tabs > *,
  .ttm-mobile-tabs > *,
  .ttm-payroll-tabs > *,
  .ttm-nav-tabs > *{
    flex:0 0 auto!important;
  }

  .ttm-badge,
  .ttm-chip,
  .ttm-status-badge{
    font-size:11px!important;
    padding:6px 10px!important;
    white-space:nowrap!important;
  }

  .ttm-page-title,
  .ttm-header-title,
  .ttm-panel-title,
  .ttm-content h1{
    font-size:22px!important;
    line-height:1.35!important;
  }

  .ttm-content h2,
  .ttm-section-title{
    font-size:18px!important;
    line-height:1.45!important;
  }

  .ttm-page-subtitle,
  .ttm-header-subtitle,
  .ttm-panel-subtitle{
    font-size:12px!important;
    line-height:1.8!important;
  }

  .ttm-table-wrap table,
  .ttm-table-responsive table,
  .ttm-scroll-table table,
  .ttm-data-table-wrap table{
    min-width:620px;
  }
}

@media (max-width: 480px){
  .ttm-panel,
  .ttm-app,
  .ttm-wrap,
  .ttm-main,
  .ttm-content,
  .ttm-page,
  .ttm-shell,
  .ttm-panel-shell{
    padding-left:max(10px, env(safe-area-inset-left))!important;
    padding-right:max(10px, env(safe-area-inset-right))!important;
  }

  .ttm-card,
  .ttm-panel-card,
  .ttm-stat-card,
  .ttm-dashboard-card,
  .ttm-profile-card,
  .ttm-attendance-card,
  .ttm-section{
    padding:12px!important;
    border-radius:16px!important;
  }

  .ttm-page-title,
  .ttm-header-title,
  .ttm-panel-title,
  .ttm-content h1{
    font-size:20px!important;
  }

  .ttm-actions .button,
  .ttm-actions button,
  .ttm-card-actions .button,
  .ttm-card-actions button,
  .ttm-toolbar .button,
  .ttm-toolbar button{
    width:100%!important;
  }
}

@media all and (display-mode: standalone){
  html,
  body{
    max-width:100%;
    overflow-x:hidden;
    padding-top:env(safe-area-inset-top);
    padding-bottom:env(safe-area-inset-bottom);
  }

  .ttm-panel,
  .ttm-app,
  .ttm-wrap{
    padding-bottom:max(16px, env(safe-area-inset-bottom))!important;
  }

  .ttm-page-titlebox,
  .ttm-panel-titlebox,
  .ttm-title-card{
    margin-top:0!important;
  }
}

/* v1.0.0 — General manager dashboard employee attendance dots */
.ttm-command-dashboard .ttm-gm-attendance-legend{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important;
  margin:-4px 0 12px!important;
  padding:8px!important;
  border:1px solid #eef2f7!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fff,#f8fafc)!important;
}
.ttm-command-dashboard .ttm-gm-attendance-legend span{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:25px!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#475569!important;
  font-size:10.5px!important;
  font-weight:850!important;
  border:1px solid rgba(226,232,240,.9)!important;
  white-space:nowrap!important;
}
.ttm-command-dashboard .ttm-gm-attendance-legend i,
.ttm-command-dashboard .ttm-gm-dot{
  width:11px!important;
  height:11px!important;
  min-width:11px!important;
  border-radius:50%!important;
  display:inline-block!important;
  border:2px solid #fff!important;
  box-shadow:0 0 0 4px rgba(15,23,42,.07)!important;
}
.ttm-command-dashboard .ttm-gm-dot{margin-inline-start:auto!important;position:relative!important}
.ttm-command-dashboard .ttm-gm-dot:after{
  content:""!important;
  position:absolute!important;
  inset:-7px!important;
  border-radius:50%!important;
  opacity:.12!important;
  background:currentColor!important;
}
.ttm-command-dashboard .ttm-gm-dot.is-complete,
.ttm-command-dashboard .ttm-gm-attendance-legend .is-complete{
  background:#2563eb!important;
  color:#2563eb!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.13)!important;
}
.ttm-command-dashboard .ttm-gm-dot.is-late,
.ttm-command-dashboard .ttm-gm-attendance-legend .is-late{
  background:#f97316!important;
  color:#f97316!important;
  box-shadow:0 0 0 4px rgba(249,115,22,.14)!important;
}
.ttm-command-dashboard .ttm-gm-dot.is-on-time,
.ttm-command-dashboard .ttm-gm-attendance-legend .is-on-time{
  background:#22c55e!important;
  color:#22c55e!important;
  box-shadow:0 0 0 4px rgba(34,197,94,.14)!important;
}
.ttm-command-dashboard .ttm-gm-dot.is-absent,
.ttm-command-dashboard .ttm-gm-attendance-legend .is-absent{
  background:#ef4444!important;
  color:#ef4444!important;
  box-shadow:0 0 0 4px rgba(239,68,68,.14)!important;
}
.ttm-command-dashboard .ttm-gm-dot.is-overtime,
.ttm-command-dashboard .ttm-gm-attendance-legend .is-overtime{
  background:#eab308!important;
  color:#eab308!important;
  box-shadow:0 0 0 4px rgba(234,179,8,.18)!important;
}
.ttm-command-dashboard .ttm-gm-team-list article{
  grid-template-columns:auto minmax(0,1fr) auto!important;
}
@media(max-width:760px){
  .ttm-command-dashboard .ttm-gm-attendance-legend{
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }
  .ttm-command-dashboard .ttm-gm-attendance-legend::-webkit-scrollbar{display:none!important}
  .ttm-command-dashboard .ttm-gm-attendance-legend span{flex:0 0 auto!important;font-size:10px!important}
}
.ttm-command-dashboard .ttm-gm-team-list article{display:grid!important;align-items:center!important;grid-template-columns:auto minmax(0,1fr) auto!important;justify-content:initial!important}


/* Teamora Team Management v1.0.0 — final UI polish & regression guard */
.ttm-panel,
.ttm-app,
.ttm-wrap,
.ttm-front{
  --ttm-ui-radius-lg:24px;
  --ttm-ui-radius-md:18px;
  --ttm-ui-radius-sm:14px;
  --ttm-ui-border:#e8edf5;
  --ttm-ui-muted:#64748b;
  --ttm-ui-ink:#0f172a;
  --ttm-ui-soft:#f8fafc;
  --ttm-ui-shadow:0 18px 44px rgba(15,23,42,.07);
  --ttm-ui-shadow-soft:0 10px 26px rgba(15,23,42,.055);
  --ttm-ui-focus:0 0 0 4px rgba(239,68,68,.14);
}
.ttm-panel *,
.ttm-app *,
.ttm-wrap *,
.ttm-front *{box-sizing:border-box;}
.ttm-panel img,
.ttm-app img,
.ttm-wrap img,
.ttm-front img{max-width:100%;height:auto;}
.ttm-panel .ttm-card,
.ttm-panel .ttm-stat-card,
.ttm-panel .ttm-profile-card,
.ttm-panel .ttm-section-card,
.ttm-panel .ttm-dashboard-card,
.ttm-app .ttm-card,
.ttm-app .ttm-stat-card,
.ttm-app .ttm-profile-card,
.ttm-app .ttm-section-card,
.ttm-app .ttm-dashboard-card,
.ttm-wrap .ttm-card,
.ttm-wrap .ttm-stat-card,
.ttm-wrap .ttm-profile-card,
.ttm-wrap .ttm-section-card,
.ttm-wrap .ttm-dashboard-card{
  border-color:var(--ttm-ui-border)!important;
  border-radius:var(--ttm-ui-radius-lg)!important;
  box-shadow:var(--ttm-ui-shadow-soft)!important;
}
.ttm-panel .ttm-card:hover,
.ttm-app .ttm-card:hover,
.ttm-wrap .ttm-card:hover,
.ttm-panel .ttm-stat-card:hover,
.ttm-app .ttm-stat-card:hover,
.ttm-wrap .ttm-stat-card:hover{
  box-shadow:var(--ttm-ui-shadow)!important;
}
.ttm-panel button,
.ttm-app button,
.ttm-wrap button,
.ttm-panel .button,
.ttm-app .button,
.ttm-wrap .button,
.ttm-panel input,
.ttm-app input,
.ttm-wrap input,
.ttm-panel select,
.ttm-app select,
.ttm-wrap select,
.ttm-panel textarea,
.ttm-app textarea,
.ttm-wrap textarea{
  border-radius:var(--ttm-ui-radius-sm)!important;
}
.ttm-panel button:focus-visible,
.ttm-app button:focus-visible,
.ttm-wrap button:focus-visible,
.ttm-panel .button:focus-visible,
.ttm-app .button:focus-visible,
.ttm-wrap .button:focus-visible,
.ttm-panel a:focus-visible,
.ttm-app a:focus-visible,
.ttm-wrap a:focus-visible,
.ttm-panel input:focus-visible,
.ttm-app input:focus-visible,
.ttm-wrap input:focus-visible,
.ttm-panel select:focus-visible,
.ttm-app select:focus-visible,
.ttm-wrap select:focus-visible,
.ttm-panel textarea:focus-visible,
.ttm-app textarea:focus-visible,
.ttm-wrap textarea:focus-visible{
  outline:0!important;
  box-shadow:var(--ttm-ui-focus)!important;
}
.ttm-panel .ttm-badge,
.ttm-app .ttm-badge,
.ttm-wrap .ttm-badge,
.ttm-panel .ttm-status-badge,
.ttm-app .ttm-status-badge,
.ttm-wrap .ttm-status-badge,
.ttm-panel .ttm-pill,
.ttm-app .ttm-pill,
.ttm-wrap .ttm-pill{
  min-height:26px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}
.ttm-panel .ttm-table-wrap,
.ttm-app .ttm-table-wrap,
.ttm-wrap .ttm-table-wrap,
.ttm-panel .ttm-table-shell,
.ttm-app .ttm-table-shell,
.ttm-wrap .ttm-table-shell{
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:var(--ttm-ui-radius-md)!important;
}
.ttm-panel table,
.ttm-app table,
.ttm-wrap table{max-width:100%;}
.ttm-panel .ttm-actions,
.ttm-app .ttm-actions,
.ttm-wrap .ttm-actions,
.ttm-panel .ttm-card-actions,
.ttm-app .ttm-card-actions,
.ttm-wrap .ttm-card-actions{
  min-width:0!important;
}
.ttm-panel .ttm-actions > *,
.ttm-app .ttm-actions > *,
.ttm-wrap .ttm-actions > *,
.ttm-panel .ttm-card-actions > *,
.ttm-app .ttm-card-actions > *,
.ttm-wrap .ttm-card-actions > *{
  min-width:0;
}
.ttm-panel .ttm-kpi-value,
.ttm-app .ttm-kpi-value,
.ttm-wrap .ttm-kpi-value,
.ttm-panel .ttm-stat-value,
.ttm-app .ttm-stat-value,
.ttm-wrap .ttm-stat-value{
  letter-spacing:-.02em!important;
  line-height:1.08!important;
}
@media(max-width:760px){
  .ttm-panel,
  .ttm-app,
  .ttm-wrap,
  .ttm-front{--ttm-ui-radius-lg:20px;--ttm-ui-radius-md:16px;--ttm-ui-radius-sm:12px;}
  .ttm-panel .ttm-badge,
  .ttm-app .ttm-badge,
  .ttm-wrap .ttm-badge,
  .ttm-panel .ttm-status-badge,
  .ttm-app .ttm-status-badge,
  .ttm-wrap .ttm-status-badge,
  .ttm-panel .ttm-pill,
  .ttm-app .ttm-pill,
  .ttm-wrap .ttm-pill{font-size:11px!important;}
}
@media(prefers-reduced-motion:reduce){
  .ttm-panel *,
  .ttm-app *,
  .ttm-wrap *,
  .ttm-front *{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}

/* Teamora Team Management v1.0.0 — PWA passkey / biometric login */
.ttm-passkey-login-card,
.ttm-passkey-panel-card{
  border:1px solid rgba(15,23,42,.10);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(248,250,252,.92));
  box-shadow:0 18px 55px rgba(15,23,42,.08);
  position:relative;
  overflow:hidden;
}
.ttm-passkey-login-card:before,
.ttm-passkey-panel-card:before{
  content:"";
  position:absolute;
  inset:auto -20% -65% -20%;
  height:130px;
  background:radial-gradient(circle at center,rgba(29,174,60,.18),transparent 68%);
  pointer-events:none;
}
.ttm-passkey-login-card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  padding:14px;
  margin:14px 0;
}
.ttm-passkey-login-icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(29,174,60,.10);
  font-size:22px;
}
.ttm-passkey-login-card strong,
.ttm-passkey-panel-card h3{
  color:var(--ttm-text,#111827);
  font-weight:900;
}
.ttm-passkey-login-card small,
.ttm-passkey-panel-card p,
.ttm-passkey-device small{
  color:var(--ttm-muted,#64748b);
  line-height:1.8;
}
.ttm-passkey-panel-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:20px;
  margin:16px 0;
}
.ttm-passkey-panel-copy,
.ttm-passkey-panel-actions,
.ttm-passkey-device-list{
  position:relative;
  z-index:1;
}
.ttm-passkey-panel-copy h3{margin:6px 0 8px;font-size:18px;}
.ttm-passkey-panel-copy p{margin:0;max-width:680px;}
.ttm-passkey-panel-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center;}
.ttm-passkey-status{grid-column:1/-1;font-size:12px;font-weight:800;color:var(--ttm-muted,#64748b);min-height:18px;}
.ttm-passkey-status.is-success{color:#15803d;}
.ttm-passkey-status.is-error{color:#b91c1c;}
.ttm-passkey-status.is-info{color:#2563eb;}
.ttm-passkey-device-list{grid-column:1/-1;display:grid;gap:10px;margin-top:4px;}
.ttm-passkey-device{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.74);
}
.ttm-passkey-device div{display:grid;gap:3px;}
.ttm-passkey-device strong{font-size:13px;color:var(--ttm-text,#111827);}
.is-passkey-unsupported{opacity:.72;}
.is-passkey-unsupported .ttm-btn{cursor:not-allowed;}
@media (max-width: 760px){
  .ttm-passkey-login-card{grid-template-columns:auto 1fr;}
  .ttm-passkey-login-card .ttm-btn{grid-column:1/-1;width:100%;justify-content:center;}
  .ttm-passkey-panel-card{grid-template-columns:1fr;padding:16px;border-radius:22px;}
  .ttm-passkey-panel-actions{justify-content:stretch;}
  .ttm-passkey-panel-actions .ttm-btn{width:100%;justify-content:center;}
  .ttm-passkey-device{align-items:flex-start;flex-direction:column;}
  .ttm-passkey-device .ttm-btn{width:100%;justify-content:center;}
}

/* Teamora Team Management working pass — hide horizontal-scroll helper badge in PWA/mobile tables.
   Keep the actual horizontal scrolling behavior; only remove the gray visual label. */
.ttm-portal .ttm-ui-table-wrap.has-scroll-x:after,
.ttm-portal .ttm-ui-table-wrap.is-scrollable-x:after{
  content:none!important;
  display:none!important;
}


/* Teamora Team Management working pass — repair notifications list layout in PWA/mobile.
   Prevents vertical one-letter text, huge blank cards and cramped filter chips while keeping existing data/filter behavior. */
.ttm-portal .ttm-notifications-premium-smart,
body.ttm-pwa-runtime .ttm-portal .ttm-notifications-premium-smart,
body.ttm-standalone .ttm-portal .ttm-notifications-premium-smart,
body.ttm-app-page .ttm-portal .ttm-notifications-premium-smart{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  align-items:start!important;
}
.ttm-portal .ttm-notification-list-panel,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-list-panel,
body.ttm-standalone .ttm-portal .ttm-notification-list-panel,
body.ttm-app-page .ttm-portal .ttm-notification-list-panel{
  direction:rtl!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips,
body.ttm-standalone .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips,
body.ttm-app-page .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  overflow:visible!important;
  white-space:normal!important;
  padding:2px 0 12px!important;
  margin:0 0 12px!important;
}
.ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips button,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips button,
body.ttm-standalone .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips button,
body.ttm-app-page .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips button{
  width:auto!important;
  min-width:max-content!important;
  max-width:100%!important;
  flex:0 0 auto!important;
  min-height:38px!important;
  padding:8px 13px!important;
  line-height:1.4!important;
}
.ttm-portal .ttm-notification-row,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row,
body.ttm-standalone .ttm-portal .ttm-notification-row,
body.ttm-app-page .ttm-portal .ttm-notification-row{
  direction:rtl!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  display:grid!important;
  grid-template-columns:8px 40px minmax(0,1fr)!important;
  grid-template-areas:"dot icon content" "dot icon meta"!important;
  column-gap:10px!important;
  row-gap:5px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:12px!important;
  margin:0 0 10px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.ttm-portal .ttm-notification-row .ttm-dot,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row .ttm-dot,
body.ttm-standalone .ttm-portal .ttm-notification-row .ttm-dot,
body.ttm-app-page .ttm-portal .ttm-notification-row .ttm-dot{
  grid-area:dot!important;
  align-self:start!important;
  margin-top:15px!important;
  width:8px!important;
  height:8px!important;
  min-width:8px!important;
}
.ttm-portal .ttm-notification-row .ttm-notification-icon,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row .ttm-notification-icon,
body.ttm-standalone .ttm-portal .ttm-notification-row .ttm-notification-icon,
body.ttm-app-page .ttm-portal .ttm-notification-row .ttm-notification-icon{
  grid-area:icon!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  border-radius:15px!important;
  font-size:16px!important;
}
.ttm-portal .ttm-notification-row .ttm-notification-content,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row .ttm-notification-content,
body.ttm-standalone .ttm-portal .ttm-notification-row .ttm-notification-content,
body.ttm-app-page .ttm-portal .ttm-notification-row .ttm-notification-content{
  grid-area:content!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  text-align:right!important;
  direction:rtl!important;
}
.ttm-portal .ttm-notification-row time,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row time,
body.ttm-standalone .ttm-portal .ttm-notification-row time,
body.ttm-app-page .ttm-portal .ttm-notification-row time{
  grid-area:meta!important;
  justify-self:start!important;
  align-self:start!important;
  display:inline-flex!important;
  width:auto!important;
  max-width:100%!important;
  margin:2px 0 0!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  color:#64748b!important;
  font-size:10.5px!important;
  line-height:1.5!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.ttm-portal .ttm-notification-row :where(h3,p,small,time),
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row :where(h3,p,small,time),
body.ttm-standalone .ttm-portal .ttm-notification-row :where(h3,p,small,time),
body.ttm-app-page .ttm-portal .ttm-notification-row :where(h3,p,small,time){
  direction:rtl!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  max-width:100%!important;
  min-width:0!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
  text-align:right!important;
}
.ttm-portal .ttm-notification-row h3,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row h3,
body.ttm-standalone .ttm-portal .ttm-notification-row h3,
body.ttm-app-page .ttm-portal .ttm-notification-row h3{
  display:block!important;
  margin:0 0 5px!important;
  font-size:13px!important;
  line-height:1.75!important;
  font-weight:900!important;
  color:#0f172a!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.ttm-portal .ttm-notification-row p,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row p,
body.ttm-standalone .ttm-portal .ttm-notification-row p,
body.ttm-app-page .ttm-portal .ttm-notification-row p{
  display:block!important;
  margin:0!important;
  font-size:11.5px!important;
  line-height:1.8!important;
  color:#64748b!important;
  overflow:visible!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:unset!important;
}
.ttm-portal .ttm-notification-row small,
body.ttm-pwa-runtime .ttm-portal .ttm-notification-row small,
body.ttm-standalone .ttm-portal .ttm-notification-row small,
body.ttm-app-page .ttm-portal .ttm-notification-row small{
  display:inline-block!important;
  margin-top:7px!important;
  font-size:10px!important;
  line-height:1.6!important;
  color:#94a3b8!important;
}
@media (max-width:760px){
  .ttm-portal .ttm-notifications-premium-smart,
  body.ttm-pwa-runtime .ttm-portal .ttm-notifications-premium-smart,
  body.ttm-standalone .ttm-portal .ttm-notifications-premium-smart,
  body.ttm-app-page .ttm-portal .ttm-notifications-premium-smart{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .ttm-portal .ttm-notification-side-clean,
  body.ttm-pwa-runtime .ttm-portal .ttm-notification-side-clean,
  body.ttm-standalone .ttm-portal .ttm-notification-side-clean,
  body.ttm-app-page .ttm-portal .ttm-notification-side-clean{
    display:none!important;
  }
  .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips button,
  body.ttm-pwa-runtime .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips button,
  body.ttm-standalone .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips button,
  body.ttm-app-page .ttm-portal .ttm-notification-list-panel .ttm-filter-tabs-chips button{
    min-height:36px!important;
    padding:7px 12px!important;
    font-size:11px!important;
  }
  .ttm-portal .ttm-notification-row,
  body.ttm-pwa-runtime .ttm-portal .ttm-notification-row,
  body.ttm-standalone .ttm-portal .ttm-notification-row,
  body.ttm-app-page .ttm-portal .ttm-notification-row{
    grid-template-columns:7px 36px minmax(0,1fr)!important;
    column-gap:9px!important;
    padding:11px!important;
    border-radius:18px!important;
  }
  .ttm-portal .ttm-notification-row .ttm-notification-icon,
  body.ttm-pwa-runtime .ttm-portal .ttm-notification-row .ttm-notification-icon,
  body.ttm-standalone .ttm-portal .ttm-notification-row .ttm-notification-icon,
  body.ttm-app-page .ttm-portal .ttm-notification-row .ttm-notification-icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    border-radius:14px!important;
  }
  .ttm-portal .ttm-notification-row h3,
  body.ttm-pwa-runtime .ttm-portal .ttm-notification-row h3,
  body.ttm-standalone .ttm-portal .ttm-notification-row h3,
  body.ttm-app-page .ttm-portal .ttm-notification-row h3{
    font-size:12.5px!important;
    line-height:1.75!important;
  }
}

/* Teamora Team Management working pass — global mobile/PWA text-centering normalizer.
   Scope: mobile and standalone/PWA surfaces only. It centers readable UI text while keeping
   controls usable, tables horizontal, and icon/action layouts stable. */
@media (max-width: 760px){
  :where(.ttm-login-shell,.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap){
    text-align:center!important;
  }

  :where(.ttm-login-shell,.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap)
  :where(h1,h2,h3,h4,h5,h6,p,small,strong,b,em,label,legend,figcaption,li,dt,dd,blockquote,caption,th,td,button,a,.ttm-text,.ttm-label,.ttm-title,.ttm-subtitle,.ttm-desc,.ttm-description,.ttm-muted,.ttm-kicker,.ttm-chip,.ttm-pill,.ttm-status-badge,.ttm-soft-tag,.ttm-mini-note,.ttm-alert){
    text-align:center!important;
    direction:rtl!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
  }

  :where(.ttm-login-shell,.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap)
  :where(input,textarea,select){
    text-align:center!important;
    direction:rtl!important;
  }

  :where(.ttm-login-shell,.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap)
  :where(input[type="tel"],input[type="number"],input[type="email"],input[type="url"],input[inputmode="numeric"],input[dir="ltr"],.ltr){
    direction:ltr!important;
    text-align:center!important;
  }

  :where(.ttm-login-shell,.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap)
  :where(input)::placeholder,
  :where(.ttm-login-shell,.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap)
  :where(textarea)::placeholder{
    text-align:center!important;
    opacity:.72;
  }

  :where(.ttm-login-card-head,.ttm-card-head,.ttm-section-head,.ttm-panel-head,.ttm-command-panel-head,.ttm-title-block,.ttm-screen-intro,.ttm-hero-content,.ttm-smart-hero,.ttm-command-hero,.ttm-cinematic-hero,.ttm-performance-hero,.ttm-attendance-hero,.ttm-onboarding-hero,.ttm-profile-hero-copy,.ttm-profile-summary-top,.ttm-sidebar-greeting,.ttm-sidebar-person-copy,.ttm-mobile-head,.ttm-mobile-title,.ttm-topbar,.ttm-topbar-pro,.ttm-topbar-clean,.ttm-premium-topbar){
    text-align:center!important;
    justify-content:center!important;
    align-items:center!important;
    justify-items:center!important;
  }

  :where(.ttm-login-card-head,.ttm-card-head,.ttm-section-head,.ttm-panel-head,.ttm-command-panel-head,.ttm-title-block,.ttm-screen-intro,.ttm-hero-content,.ttm-smart-hero,.ttm-command-hero,.ttm-cinematic-hero,.ttm-performance-hero,.ttm-attendance-hero,.ttm-onboarding-hero,.ttm-profile-hero-copy,.ttm-profile-summary-top,.ttm-sidebar-greeting,.ttm-sidebar-person-copy,.ttm-mobile-head,.ttm-mobile-title,.ttm-topbar,.ttm-topbar-pro,.ttm-topbar-clean,.ttm-premium-topbar) > :where(div,section,article,header,footer){
    text-align:center!important;
    justify-content:center!important;
    align-items:center!important;
    justify-items:center!important;
  }

  :where(.ttm-login-card-head,.ttm-card-head,.ttm-section-head,.ttm-panel-head,.ttm-command-panel-head){
    gap:10px!important;
  }

  :where(.ttm-login-card-head,.ttm-card-head,.ttm-section-head,.ttm-panel-head,.ttm-command-panel-head) :where(h1,h2,h3,p,small,span){
    margin-inline:auto!important;
  }

  :where(.ttm-login-form,.ttm-form,.ttm-grid-form,.ttm-inline-form,.ttm-form-row,.ttm-form-actions,.ttm-panel-actions,.ttm-top-actions,.ttm-action-links,.ttm-passkey-panel-actions,.ttm-attendance-buttons){
    text-align:center!important;
    justify-content:center!important;
    align-items:center!important;
    justify-items:center!important;
  }

  :where(.ttm-btn,.ttm-icon-btn,.ttm-login-tab,.ttm-filter-tabs-chips button,.ttm-nav-item,.ttm-pwa-install,.ttm-otp-change,.ttm-media-pick){
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
  }

  :where(.ttm-filter-tabs-chips,.ttm-profile-status-pills,.ttm-stats-grid,.ttm-smart-kpis,.ttm-premium-metrics,.ttm-dashboard-kpi-grid,.ttm-performance-kpis,.ttm-attendance-metrics,.ttm-leave-metrics,.ttm-request-metrics,.ttm-export-kpis,.ttm-report-kpi-grid-v111,.ttm-gm-attendance-kpis){
    justify-content:center!important;
    justify-items:center!important;
    align-items:center!important;
    text-align:center!important;
  }

  :where(.ttm-card,.ttm-premium-card,.ttm-section,.ttm-stat,.ttm-premium-metric,.ttm-ui-kpi-card,.ttm-report-kpi-v111,.ttm-profile-summary-card,.ttm-profile-list-card,.ttm-doc-card,.ttm-attendance-record-card,.ttm-attendance-obligation-card,.ttm-command-panel,.ttm-onboarding-panel,.ttm-smart-alert,.ttm-announcement-strip,.ttm-wide-gradient,.ttm-empty,.ttm-empty-state){
    text-align:center!important;
    justify-content:center!important;
    justify-items:center!important;
    align-items:center!important;
  }

  :where(.ttm-card,.ttm-premium-card,.ttm-section,.ttm-stat,.ttm-premium-metric,.ttm-ui-kpi-card,.ttm-report-kpi-v111,.ttm-profile-summary-card,.ttm-profile-list-card,.ttm-doc-card,.ttm-attendance-record-card,.ttm-attendance-obligation-card,.ttm-command-panel,.ttm-onboarding-panel,.ttm-smart-alert,.ttm-announcement-strip,.ttm-wide-gradient,.ttm-empty,.ttm-empty-state) > :where(div,section,article,header,footer){
    text-align:center!important;
    justify-content:center!important;
    justify-items:center!important;
    align-items:center!important;
  }

  :where(.ttm-table,.ttm-ui-table,.ttm-table-wrap table,.ttm-ui-table-wrap table){
    direction:rtl!important;
  }

  :where(.ttm-table,.ttm-ui-table,.ttm-table-wrap table,.ttm-ui-table-wrap table) :where(th,td){
    text-align:center!important;
    vertical-align:middle!important;
    direction:rtl!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
  }

  :where(.ttm-notifications-premium-smart,.ttm-notification-list-panel,.ttm-notification-row,.ttm-notification-content){
    text-align:center!important;
    justify-content:center!important;
    justify-items:center!important;
    align-items:center!important;
  }

  :where(.ttm-notification-row){
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    padding:14px 12px!important;
  }

  :where(.ttm-notification-row .ttm-dot){
    margin:0!important;
    align-self:center!important;
  }

  :where(.ttm-notification-row .ttm-notification-icon){
    margin-inline:auto!important;
  }

  :where(.ttm-notification-row .ttm-notification-content){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    text-align:center!important;
  }

  :where(.ttm-notification-row time){
    align-self:center!important;
    justify-self:center!important;
    margin-inline:auto!important;
    text-align:center!important;
  }

  :where(.ttm-nav,.ttm-mobile-fab-menu,.ttm-bottom-nav,.ttm-sidebar,.ttm-sidebar-brand-pro){
    text-align:center!important;
    justify-content:center!important;
    justify-items:center!important;
  }
}

@media (max-width: 760px){
  body.ttm-pwa-runtime :where(.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap),
  body.ttm-standalone :where(.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap),
  body.ttm-app-page :where(.ttm-portal,.ttm-app,.ttm-panel,.ttm-main,.ttm-wrap){
    text-align:center!important;
  }

  body.ttm-pwa-runtime :where(.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap) *,
  body.ttm-standalone :where(.ttm-portal,.ttm-app,.ttm-app-page,.ttm-panel,.ttm-main,.ttm-wrap) *,
  body.ttm-app-page :where(.ttm-portal,.ttm-app,.ttm-panel,.ttm-main,.ttm-wrap) *{
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
  }
}


/* Teamora Team Management working pass — sidebar active-state hardening.
   Keeps the active tab fully inside the sidebar, removes the protruding side stripe,
   and makes active highlighting deterministic across normal, mobile, and PWA drawer states. */
.ttm-portal .ttm-sidebar,
.ttm-portal .ttm-sidebar *{
  box-sizing:border-box!important;
}
.ttm-portal .ttm-sidebar .ttm-nav{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  padding:3px 4px!important;
  gap:8px!important;
}
.ttm-portal .ttm-sidebar .ttm-nav-item{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  isolation:isolate!important;
  border:1px solid transparent!important;
  outline:0!important;
  transform:none!important;
  box-shadow:none!important;
  background:transparent!important;
  color:rgba(255,255,255,.76)!important;
}
.ttm-portal .ttm-sidebar .ttm-nav-item::before,
.ttm-portal .ttm-sidebar .ttm-nav-item::after{
  display:none!important;
  content:none!important;
}
.ttm-portal .ttm-sidebar .ttm-nav-item:hover,
.ttm-portal .ttm-sidebar .ttm-nav-item:focus-visible{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.10)!important;
  color:#fff!important;
}
.ttm-portal .ttm-sidebar .ttm-nav-item.is-active,
.ttm-portal .ttm-sidebar .ttm-nav-item[aria-current="page"],
.ttm-portal .ttm-sidebar .ttm-nav-item.ttm-nav-current{
  background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610))!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.16)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 12px 26px rgba(0,0,0,.18)!important;
}
.ttm-portal .ttm-sidebar .ttm-nav-item.is-active span,
.ttm-portal .ttm-sidebar .ttm-nav-item[aria-current="page"] span,
.ttm-portal .ttm-sidebar .ttm-nav-item.ttm-nav-current span{
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.13)!important;
}
.ttm-portal .ttm-sidebar .ttm-nav-item.is-active em,
.ttm-portal .ttm-sidebar .ttm-nav-item[aria-current="page"] em,
.ttm-portal .ttm-sidebar .ttm-nav-item.ttm-nav-current em{
  background:#fff!important;
  color:var(--ttm-primary,#e50914)!important;
}
@media (max-width:1180px){
  .ttm-portal .ttm-sidebar .ttm-nav{
    padding-inline:5px!important;
  }
  .ttm-portal .ttm-sidebar .ttm-nav-item{
    min-height:46px!important;
    border-radius:16px!important;
  }
}


/* Teamora Team Management final guard — hide horizontal scroll helper label while preserving real horizontal scrolling. */
.ttm-portal .ttm-ui-table-wrap.has-scroll-x::after,
.ttm-portal .ttm-ui-table-wrap.is-scrollable-x::after{
  content:none!important;
  display:none!important;
}

/* Teamora Team Management working pass — compact clean welcome chip.
   Removes the heavy look from the sidebar greeting and keeps long names readable. */
.ttm-portal .ttm-sidebar-greeting.ttm-sidebar-greeting-slim{
  min-height:34px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.055))!important;
  border-color:rgba(255,255,255,.18)!important;
}
.ttm-portal .ttm-sidebar-greeting.ttm-sidebar-greeting-slim strong,
.ttm-portal .ttm-sidebar-greeting.ttm-sidebar-greeting-slim span{
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.35!important;
  letter-spacing:-.01em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media (max-width:1180px){
  .ttm-portal .ttm-sidebar-greeting.ttm-sidebar-greeting-slim strong,
  .ttm-portal .ttm-sidebar-greeting.ttm-sidebar-greeting-slim span{
    font-size:10.5px!important;
    font-weight:500!important;
  }
}

/* Teamora Team Management v1.0.0 — dashboard micro-fixes, clean sidebar icons, typography polish, team work chart. */
.ttm-portal{
  --ttm-type-title:clamp(17px,1.4vw,23px);
  --ttm-type-subtitle:13px;
  --ttm-type-body:12.5px;
  --ttm-type-small:11px;
  --ttm-type-label:11.5px;
  --ttm-weight-title:820;
  --ttm-weight-body:520;
  --ttm-weight-label:650;
  --ttm-line-body:1.75;
  font-weight:var(--ttm-weight-body)!important;
  text-rendering:geometricPrecision!important;
  -webkit-font-smoothing:antialiased!important;
}
.ttm-portal :where(h1,h2,h3,h4,.ttm-title-block h1,.ttm-topbar h1,.ttm-card h3,.ttm-card-head h3,.ttm-command-panel-head h3){
  font-weight:var(--ttm-weight-title)!important;
  letter-spacing:-.025em!important;
  line-height:1.45!important;
}
.ttm-portal :where(.ttm-card h3,.ttm-card-head h3,.ttm-command-panel-head h3){font-size:var(--ttm-type-title)!important;}
.ttm-portal :where(p,.ttm-card p,.ttm-card-head p,.ttm-command-panel-head p,.ttm-title-block p,.ttm-screen-intro p){
  font-size:var(--ttm-type-body)!important;
  font-weight:var(--ttm-weight-body)!important;
  line-height:var(--ttm-line-body)!important;
  letter-spacing:-.005em!important;
}
.ttm-portal :where(small,.ttm-muted,.ttm-muted-inline,.ttm-empty,.ttm-table td,.ttm-profile-list-card small,.ttm-gm-team-list small,.ttm-gm-doc-list small){
  font-size:var(--ttm-type-small)!important;
  font-weight:500!important;
  line-height:1.65!important;
}
.ttm-portal :where(label,.ttm-table th,.ttm-pill,.ttm-status-badge,.ttm-soft-tag,.ttm-filter-tabs button,.ttm-filter-chip,.ttm-login-tab){
  font-size:var(--ttm-type-label)!important;
  font-weight:var(--ttm-weight-label)!important;
  letter-spacing:-.01em!important;
}
.ttm-portal :where(.ttm-btn,button,.ttm-nav-item){
  font-weight:720!important;
  letter-spacing:-.015em!important;
}
.ttm-portal :where(strong,b){font-weight:760!important;letter-spacing:-.015em!important;}
.ttm-portal :where(input,select,textarea){font-size:12px!important;font-weight:500!important;line-height:1.6!important;}

/* Attendance cards: undo the old white-text regression on light cards. */
.ttm-attendance-shell .ttm-attendance-actions,
.ttm-attendance-shell .ttm-attendance-actions .ttm-attendance-clock-grid > div,
.ttm-attendance-shell .ttm-attendance-actions .ttm-shift-mini-grid > div{
  color:#0f172a!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border-color:#e8edf5!important;
}
.ttm-attendance-shell .ttm-attendance-actions .ttm-attendance-clock-grid > div span,
.ttm-attendance-shell .ttm-attendance-actions .ttm-shift-mini-grid > div span{
  color:#64748b!important;
  font-weight:650!important;
}
.ttm-attendance-shell .ttm-attendance-actions .ttm-attendance-clock-grid > div strong,
.ttm-attendance-shell .ttm-attendance-actions .ttm-shift-mini-grid > div strong{
  color:#111827!important;
  font-weight:760!important;
}
.ttm-attendance-shell .ttm-attendance-action-form textarea{
  color:#111827!important;
  background:#fff!important;
}
.ttm-attendance-shell .ttm-attendance-action-form textarea::placeholder{color:#94a3b8!important;opacity:1!important;}

/* Sidebar: one clean icon only, no doubled glyph/mask mess. */
.ttm-nav-item[data-section-target="dashboard"]{--ttm-nav-icon:var(--ttm-icon-dashboard)!important;}
.ttm-nav-item[data-section-target="profile"]{--ttm-nav-icon:var(--ttm-icon-profile)!important;}
.ttm-nav-item[data-section-target="attendance"]{--ttm-nav-icon:var(--ttm-icon-clock,var(--ttm-icon-dashboard))!important;}
.ttm-nav-item[data-section-target="payroll"]{--ttm-nav-icon:var(--ttm-icon-payroll)!important;}
.ttm-nav-item[data-section-target="leaves"]{--ttm-nav-icon:var(--ttm-icon-leaves)!important;}
.ttm-nav-item[data-section-target="requests"]{--ttm-nav-icon:var(--ttm-icon-docs,var(--ttm-icon-dashboard))!important;}
.ttm-nav-item[data-section-target="performance"]{--ttm-nav-icon:var(--ttm-icon-reports)!important;}
.ttm-nav-item[data-section-target="assets"]{--ttm-nav-icon:var(--ttm-icon-docs)!important;}
.ttm-nav-item[data-section-target="documents"]{--ttm-nav-icon:var(--ttm-icon-docs)!important;}
.ttm-nav-item[data-section-target="notifications"]{--ttm-nav-icon:var(--ttm-icon-notifications)!important;}
.ttm-nav-item[data-section-target="knowledge"]{--ttm-nav-icon:var(--ttm-icon-docs)!important;}
.ttm-nav-item[data-section-target="lifecycle"]{--ttm-nav-icon:var(--ttm-icon-profile)!important;}
.ttm-nav-item[data-section-target="employees"]{--ttm-nav-icon:var(--ttm-icon-employees)!important;}
.ttm-nav-item[data-section-target="reports"]{--ttm-nav-icon:var(--ttm-icon-reports)!important;}
.ttm-nav-item[data-section-target="exports"]{--ttm-nav-icon:var(--ttm-icon-reports)!important;}
.ttm-nav-item[data-section-target="onboarding"]{--ttm-nav-icon:var(--ttm-icon-settings)!important;}
.ttm-nav-item[data-section-target="settings"]{--ttm-nav-icon:var(--ttm-icon-settings)!important;}
.ttm-portal .ttm-sidebar .ttm-nav-item > span{
  position:relative!important;
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:0!important;
  line-height:0!important;
  overflow:hidden!important;
  color:currentColor!important;
}
.ttm-portal .ttm-sidebar .ttm-nav-item > span::before{
  content:""!important;
  width:16px!important;
  height:16px!important;
  display:block!important;
  flex:0 0 16px!important;
  background:currentColor!important;
  -webkit-mask:var(--ttm-nav-icon,var(--ttm-icon-dashboard)) center/contain no-repeat!important;
  mask:var(--ttm-nav-icon,var(--ttm-icon-dashboard)) center/contain no-repeat!important;
}
.ttm-portal .ttm-sidebar .ttm-nav-item > span::after{content:none!important;display:none!important;}
.ttm-portal .ttm-sidebar .ttm-nav-item{gap:9px!important;line-height:1.45!important;}

/* Manager dashboard status dots: keep dots inside each row. */
.ttm-command-dashboard .ttm-gm-team-list article{
  position:relative!important;
  overflow:hidden!important;
  padding-left:38px!important;
  padding-right:12px!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  max-width:100%!important;
}
.ttm-command-dashboard .ttm-gm-team-list article .ttm-gm-dot{
  position:absolute!important;
  left:15px!important;
  right:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  width:11px!important;
  height:11px!important;
  min-width:11px!important;
  z-index:2!important;
}
.ttm-command-dashboard .ttm-gm-team-list article .ttm-gm-dot::after{content:none!important;display:none!important;}
@media(max-width:760px){
  .ttm-command-dashboard .ttm-gm-team-list article{padding-left:34px!important;padding-right:10px!important;}
  .ttm-command-dashboard .ttm-gm-team-list article .ttm-gm-dot{left:13px!important;}
}

/* New team work line chart with period filters. */
.ttm-team-work-card{overflow:hidden!important;}
.ttm-team-work-head{align-items:center!important;}
.ttm-team-work-filters{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:0 0 14px!important;
  padding:8px!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  border:1px solid #edf2f7!important;
}
.ttm-team-work-filters button{
  appearance:none!important;
  border:1px solid #e5e7eb!important;
  background:#fff!important;
  color:#334155!important;
  border-radius:999px!important;
  min-height:34px!important;
  padding:8px 13px!important;
  font-size:11.5px!important;
  font-weight:720!important;
  box-shadow:none!important;
}
.ttm-team-work-filters button.is-active{
  background:linear-gradient(135deg,var(--ttm-primary),var(--ttm-primary-2))!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 12px 24px rgba(229,9,20,.16)!important;
}
.ttm-team-work-panel{display:none!important;}
.ttm-team-work-panel.is-active{display:grid!important;gap:12px!important;}
.ttm-team-work-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
.ttm-team-work-summary article{
  border:1px solid #e8edf5!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border-radius:18px!important;
  padding:12px!important;
  text-align:center!important;
}
.ttm-team-work-summary small{display:block!important;color:#64748b!important;font-size:11px!important;font-weight:620!important;}
.ttm-team-work-summary b{display:block!important;color:#0f172a!important;font-size:18px!important;font-weight:800!important;margin-top:4px!important;}
.ttm-team-work-stage{
  border:1px solid #e8edf5!important;
  background:radial-gradient(circle at 20% 0,rgba(229,9,20,.06),transparent 28%),linear-gradient(180deg,#fff,#fbfdff)!important;
  border-radius:24px!important;
  padding:14px!important;
  overflow:hidden!important;
}
.ttm-team-work-stage svg{width:100%!important;height:260px!important;display:block!important;overflow:visible!important;}
.ttm-team-work-stage svg line{stroke:#e8edf5!important;stroke-width:1!important;}
.ttm-team-work-stage svg polygon{fill:rgba(229,9,20,.075)!important;stroke:none!important;}
.ttm-team-work-stage svg polyline{fill:none!important;stroke:var(--ttm-primary)!important;stroke-width:4!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:drop-shadow(0 8px 13px rgba(229,9,20,.18))!important;}
.ttm-team-work-stage svg circle{fill:#fff!important;stroke:var(--ttm-primary)!important;stroke-width:3!important;}
.ttm-team-work-xlabels{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(70px,1fr))!important;gap:7px!important;margin-top:8px!important;}
.ttm-team-work-xlabels span{display:grid!important;gap:3px!important;place-items:center!important;min-width:0!important;border-radius:14px!important;background:#fff!important;border:1px solid #eef2f7!important;padding:7px 5px!important;}
.ttm-team-work-xlabels b{font-size:11px!important;color:#0f172a!important;font-weight:760!important;line-height:1.2!important;}
.ttm-team-work-xlabels small{font-size:9.5px!important;color:#64748b!important;font-weight:500!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important;}
@media(max-width:760px){
  .ttm-team-work-summary{grid-template-columns:1fr!important;}
  .ttm-team-work-stage{padding:10px!important;border-radius:20px!important;}
  .ttm-team-work-stage svg{height:210px!important;}
  .ttm-team-work-xlabels{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* Teamora Team Management v1.0.0 — root sidebar shell rebuild only.
   Sidebar is now three real regions: fixed profile card, independent scrollable menu, fixed logout. */
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  min-height:0!important;
  box-sizing:border-box!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-fixed-head,
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-fixed-foot{
  flex:0 0 auto!important;
  min-height:0!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-menu-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
  box-sizing:border-box!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-menu-scroll > .ttm-nav{
  overflow:visible!important;
  max-height:none!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-fixed-foot .ttm-logout-form{
  margin:0!important;
  padding:0!important;
  width:100%!important;
}

@media (max-width:1180px){
  body.ttm-app-page .ttm-portal > .ttm-sidebar.ttm-sidebar-shell,
  body.ttm-standalone .ttm-portal > .ttm-sidebar.ttm-sidebar-shell,
  body.ttm-pwa-runtime .ttm-portal > .ttm-sidebar.ttm-sidebar-shell,
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell{
    position:fixed!important;
    inset:auto 0 auto auto!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    z-index:1900!important;
    width:min(88vw,340px)!important;
    max-width:340px!important;
    height:100vh!important;
    height:100dvh!important;
    height:100svh!important;
    max-height:100vh!important;
    max-height:100dvh!important;
    max-height:100svh!important;
    margin:0!important;
    padding:calc(12px + env(safe-area-inset-top,0px)) 12px calc(14px + env(safe-area-inset-bottom,0px))!important;
    gap:10px!important;
    direction:rtl!important;
    border-radius:0 0 0 22px!important;
    overflow:hidden!important;
    transform:translate3d(108%,0,0)!important;
    visibility:hidden!important;
    opacity:1!important;
    pointer-events:none!important;
    box-shadow:-22px 0 56px rgba(15,23,42,.36)!important;
    transition:transform .25s cubic-bezier(.22,.8,.22,1),visibility .25s ease!important;
  }

  body.ttm-drawer-open .ttm-portal > .ttm-sidebar.ttm-sidebar-shell,
  .ttm-portal.ttm-mobile-menu-open > .ttm-sidebar.ttm-sidebar-shell,
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell.is-open,
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell.ttm-drawer-is-open,
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell[aria-hidden="false"]{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-fixed-head{
    position:relative!important;
    z-index:2!important;
  }
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-fixed-head .ttm-sidebar-person-card{
    margin:0!important;
  }

  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-menu-scroll{
    position:relative!important;
    z-index:1!important;
    padding:8px 2px 10px!important;
    margin:0!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-menu-scroll > .ttm-nav{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    padding:0!important;
    margin:0!important;
  }
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-nav-item{
    flex:0 0 auto!important;
  }

  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-fixed-foot{
    position:relative!important;
    z-index:2!important;
    padding-top:0!important;
  }
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-fixed-foot .ttm-btn{
    width:100%!important;
  }
}


/* Teamora Team Management v1.0.0 — keep v1.0.0 sidebar exactly, keep mobile header cleanup only.
   Scope: no sidebar override after this point. Pages/forms/dashboard/logic untouched. */
/* Teamora Team Management v1.0.0 — RTL mobile header/sidebar correction only.
   Scope: keep drawer physically on the right, remove the duplicate desktop header in mobile. */
@media (max-width:1180px){
  body.ttm-app-page,
  body.ttm-standalone,
  body.ttm-pwa-runtime{
    overflow-x:hidden!important;
  }

  body.ttm-app-page .ttm-portal,
  body.ttm-standalone .ttm-portal,
  body.ttm-pwa-runtime .ttm-portal,
  .ttm-portal{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:100svh!important;
    direction:rtl!important;
    overflow-x:hidden!important;
    background:linear-gradient(180deg,#f7f8fc 0%,#eef2f7 100%)!important;
  }

  /* Keep exactly one mobile header; the desktop topbar lives inside .ttm-main, so hide that real node. */
  body.ttm-app-page .ttm-portal > .ttm-main > .ttm-desktop-topbar,
  body.ttm-app-page .ttm-portal > .ttm-main > .ttm-topbar,
  body.ttm-standalone .ttm-portal > .ttm-main > .ttm-desktop-topbar,
  body.ttm-standalone .ttm-portal > .ttm-main > .ttm-topbar,
  body.ttm-pwa-runtime .ttm-portal > .ttm-main > .ttm-desktop-topbar,
  body.ttm-pwa-runtime .ttm-portal > .ttm-main > .ttm-topbar,
  .ttm-portal > .ttm-main > .ttm-desktop-topbar,
  .ttm-portal > .ttm-main > .ttm-topbar{
    display:none!important;
  }

  body.ttm-app-page .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head],
  body.ttm-standalone .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head],
  body.ttm-pwa-runtime .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head],
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head]{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 42px!important;
    align-items:center!important;
    gap:9px!important;
    position:sticky!important;
    top:0!important;
    inset:auto!important;
    z-index:1700!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:58px!important;
    margin:0!important;
    padding:calc(8px + env(safe-area-inset-top,0px)) 11px 8px!important;
    border-radius:0 0 22px 22px!important;
    background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(255,246,247,.96))!important;
    border:1px solid rgba(226,232,240,.90)!important;
    border-top:0!important;
    box-shadow:0 14px 34px rgba(15,23,42,.10)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    color:#0f172a!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head]::after{
    content:""!important;
    position:absolute!important;
    inset:auto 18% 0 18%!important;
    height:3px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,transparent,var(--ttm-primary,#e50914),transparent)!important;
    opacity:.75!important;
    pointer-events:none!important;
  }

  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-brandline,
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-brandline-textonly{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    width:100%!important;
    text-align:center!important;
    justify-self:center!important;
    gap:0!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-brandline img{
    display:none!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-brandline > div{
    display:grid!important;
    place-items:center!important;
    min-width:0!important;
    width:100%!important;
    gap:1px!important;
    text-align:center!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-title{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    text-align:center!important;
    margin:0!important;
    color:#101827!important;
    font-size:14px!important;
    font-weight:850!important;
    line-height:1.32!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    letter-spacing:-.015em!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-brandline small{
    display:block!important;
    max-width:100%!important;
    color:#64748b!important;
    font-size:10px!important;
    font-weight:620!important;
    line-height:1.45!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-align:center!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-icon-btn,
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] button{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
    margin:0!important;
    display:inline-grid!important;
    place-items:center!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.95)!important;
    color:#111827!important;
    border:1px solid rgba(226,232,240,.96)!important;
    box-shadow:0 8px 19px rgba(15,23,42,.075)!important;
    font-size:16px!important;
    line-height:1!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-menu-toggle{
    color:var(--ttm-primary,#e50914)!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-logout-form{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
  }

  body.ttm-app-page .ttm-main,
  body.ttm-standalone .ttm-main,
  body.ttm-pwa-runtime .ttm-main,
  .ttm-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding-top:10px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
}


@media (max-width:430px){
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head]{
    grid-template-columns:38px minmax(0,1fr) 38px!important;
    min-height:54px!important;
    border-radius:0 0 18px 18px!important;
    padding-inline:9px!important;
    gap:7px!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-icon-btn,
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] button{
    width:35px!important;
    min-width:35px!important;
    height:35px!important;
    min-height:35px!important;
    border-radius:12px!important;
  }
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-title{font-size:13.5px!important;}
  .ttm-portal > .ttm-mobile-head[data-ttm-mobile-head] .ttm-mobile-brandline small{font-size:9.5px!important;}
}


/* =========================================================
   Teamora Team Management v1.0.0 — Mobile content layout normalization
   Scope: MOBILE CONTENT ONLY. Sidebar/header logic remains locked from v1.0.0.
   Goal: full-width mobile pages, compact typography, 2-up compact cards.
   ========================================================= */
@media (max-width:780px){
  body.ttm-app-page,
  body.ttm-standalone,
  body.ttm-pwa-runtime{
    --ttm-mobile-gutter:10px!important;
    --ttm-mobile-radius:18px!important;
    --ttm-mobile-card-pad:12px!important;
    background:#f3f6fb!important;
  }

  /* Main canvas: no centered narrow islands */
  body.ttm-app-page .ttm-portal > .ttm-main,
  body.ttm-standalone .ttm-portal > .ttm-main,
  body.ttm-pwa-runtime .ttm-portal > .ttm-main,
  .ttm-portal > .ttm-main{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:10px var(--ttm-mobile-gutter) calc(28px + env(safe-area-inset-bottom,0px))!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }

  .ttm-main > .ttm-section,
  .ttm-main > .ttm-section.is-active{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  /* Every page shell should fill the mobile width. */
  .ttm-section > :where(
    .ttm-dashboard-pro-shell,
    .ttm-premium-dashboard,
    .ttm-profile-pro-shell,
    .ttm-profile-premium,
    .ttm-profile-app-layout,
    .ttm-attendance-shell,
    .ttm-leaves-premium,
    .ttm-request-center-shell,
    .ttm-performance-shell,
    .ttm-assets-shell,
    .ttm-official-docs-shell,
    .ttm-notifications-premium,
    .ttm-notifications-premium-smart,
    .ttm-smart-notification-shell,
    .ttm-knowledge-shell,
    .ttm-lifecycle-shell,
    .ttm-report-shell-pro,
    .ttm-report-shell-v111,
    .ttm-export-shell,
    .ttm-command-dashboard,
    .ttm-gm-dashboard
  ){
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
    padding-inline:0!important;
    box-sizing:border-box!important;
  }

  .ttm-section :where(
    .ttm-card,
    .ttm-premium-card,
    .ttm-gm-panel-card,
    .ttm-profile-mobile-card,
    .ttm-profile-section,
    .ttm-leave-form-card,
    .ttm-leave-list-card,
    .ttm-request-form-card,
    .ttm-request-list-card,
    .ttm-request-guide-card,
    .ttm-performance-form-card,
    .ttm-performance-table-card,
    .ttm-assets-form-card,
    .ttm-assets-table-card,
    .ttm-doc-category-card,
    .ttm-notification-list-panel,
    .ttm-smart-rules-card,
    .ttm-knowledge-editor-card,
    .ttm-knowledge-list,
    .ttm-lifecycle-form-card,
    .ttm-payroll-summary-card,
    .ttm-monthly-payroll-card,
    .ttm-single-payroll-card,
    .ttm-table-card,
    .ttm-empty,
    .ttm-empty-state
  ){
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
    box-sizing:border-box!important;
  }

  /* Compact visual language for mobile: smaller, lighter, tighter. */
  .ttm-portal :where(h1,h2,h3,h4){
    letter-spacing:-.018em!important;
    line-height:1.35!important;
  }
  .ttm-portal :where(h1){font-size:18px!important;font-weight:780!important;}
  .ttm-portal :where(h2){font-size:17px!important;font-weight:780!important;}
  .ttm-portal :where(h3){font-size:15px!important;font-weight:760!important;}
  .ttm-portal :where(p,small,span,label,td,th,input,select,textarea,button,a){
    line-height:1.65!important;
  }
  .ttm-portal :where(p,small,span,label,td,th,input,select,textarea){
    font-size:11.5px!important;
    font-weight:520!important;
  }
  .ttm-portal :where(strong,b){
    font-weight:760!important;
  }
  .ttm-portal :where(button,.ttm-btn,.ttm-icon-btn,.ttm-link-button){
    font-size:12px!important;
    font-weight:720!important;
  }

  .ttm-card,
  .ttm-premium-card,
  .ttm-gm-panel-card,
  .ttm-table-card,
  .ttm-profile-section,
  .ttm-leave-form-card,
  .ttm-leave-list-card,
  .ttm-request-form-card,
  .ttm-request-list-card,
  .ttm-performance-form-card,
  .ttm-performance-table-card,
  .ttm-assets-form-card,
  .ttm-assets-table-card,
  .ttm-notification-list-panel,
  .ttm-smart-rules-card,
  .ttm-knowledge-editor-card,
  .ttm-lifecycle-form-card{
    border-radius:var(--ttm-mobile-radius)!important;
    padding:var(--ttm-mobile-card-pad)!important;
    margin-bottom:10px!important;
    box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
  }

  .ttm-card-head,
  .ttm-card-head-pro,
  .ttm-section-toolbar,
  .ttm-list-toolbar,
  .ttm-list-toolbar-compact,
  .ttm-leaves-toolbar,
  .ttm-payroll-toolbar-pro,
  .ttm-monthly-payroll-toolbar{
    gap:8px!important;
    margin-bottom:9px!important;
  }
  .ttm-card-head h3,
  .ttm-card-head-pro h3,
  .ttm-section-toolbar h3,
  .ttm-card h3{
    margin-bottom:4px!important;
    font-size:15px!important;
  }
  .ttm-card-head p,
  .ttm-card-head-pro p,
  .ttm-card p{
    margin-bottom:8px!important;
    font-size:11px!important;
  }

  /* Hero/welcome blocks: full-width compact app sections, not tall boxes. */
  .ttm-welcome,
  .ttm-welcome-pro-v106,
  .ttm-dashboard-compact-welcome,
  .ttm-command-hero,
  .ttm-gm-hero-card,
  .ttm-attendance-hero,
  .ttm-request-center-hero,
  .ttm-performance-hero,
  .ttm-assets-hero,
  .ttm-knowledge-hero,
  .ttm-lifecycle-hero,
  .ttm-export-hero,
  .ttm-official-hero-strip,
  .ttm-report-hero-v111,
  .ttm-profile-hero-v310,
  .ttm-profile-hero-updated{
    width:100%!important;
    max-width:none!important;
    min-height:auto!important;
    margin:0 0 10px!important;
    padding:14px!important;
    border-radius:20px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .ttm-welcome h2,
  .ttm-welcome-pro-v106 h2,
  .ttm-dashboard-compact-welcome h2,
  .ttm-command-hero h2,
  .ttm-gm-hero-copy h2,
  .ttm-attendance-hero h2,
  .ttm-request-center-hero h2,
  .ttm-performance-hero h2,
  .ttm-assets-hero h2,
  .ttm-knowledge-hero h2,
  .ttm-lifecycle-hero h2,
  .ttm-report-hero-v111 h2,
  .ttm-profile-hero-v310 h2,
  .ttm-profile-hero-updated h2{
    font-size:18px!important;
    line-height:1.42!important;
    margin:4px 0!important;
  }
  .ttm-welcome p,
  .ttm-welcome-pro-v106 p,
  .ttm-dashboard-compact-welcome p,
  .ttm-command-hero p,
  .ttm-gm-hero-copy p,
  .ttm-attendance-hero p,
  .ttm-request-center-hero p,
  .ttm-performance-hero p,
  .ttm-assets-hero p,
  .ttm-knowledge-hero p,
  .ttm-lifecycle-hero p,
  .ttm-report-hero-v111 p,
  .ttm-profile-hero-v310 p,
  .ttm-profile-hero-updated p{
    font-size:11.5px!important;
    line-height:1.8!important;
    margin:0!important;
  }

  /* Compact metric cards: 2 in each row across mobile. */
  .ttm-stats-grid,
  .ttm-stats-grid-pro,
  .ttm-premium-metrics,
  .ttm-gm-kpi-grid,
  .ttm-attendance-metrics,
  .ttm-attendance-clarity-kpis,
  .ttm-leave-metrics,
  .ttm-request-metrics,
  .ttm-performance-kpis,
  .ttm-performance-mini-stats,
  .ttm-assets-metrics,
  .ttm-payroll-adjustment-metrics,
  .ttm-employee-dossier-metrics,
  .ttm-contract-dossier-metrics,
  .ttm-smart-kpis,
  .ttm-knowledge-kpis,
  .ttm-lifecycle-kpis,
  .ttm-export-kpis,
  .ttm-report-kpi-grid-v111,
  .ttm-command-mini-metrics,
  .ttm-command-today-grid,
  .ttm-admin-dashboard-cards,
  .ttm-health-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 10px!important;
    padding:0!important;
    min-width:0!important;
  }

  .ttm-stat,
  .ttm-premium-metric,
  .ttm-gm-kpi-card,
  .ttm-report-kpi-v111,
  .ttm-health-card,
  .ttm-admin-stat,
  .ttm-profile-mini-card,
  .ttm-profile-mobile-kpi,
  .ttm-attendance-status,
  .ttm-attendance-obligation-card,
  .ttm-attendance-day-card,
  .ttm-command-panel,
  .ttm-command-alert-panel,
  .ttm-command-attendance-panel,
  .ttm-command-finance-panel{
    min-width:0!important;
    width:100%!important;
    min-height:82px!important;
    border-radius:16px!important;
    padding:11px 10px!important;
    margin:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .ttm-stat span,
  .ttm-premium-metric span,
  .ttm-gm-kpi-card span,
  .ttm-report-kpi-v111 span,
  .ttm-health-card span,
  .ttm-admin-stat span{
    font-size:10.5px!important;
    line-height:1.55!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ttm-stat strong,
  .ttm-premium-metric strong,
  .ttm-gm-kpi-card strong,
  .ttm-report-kpi-v111 strong,
  .ttm-health-card strong,
  .ttm-admin-stat strong{
    font-size:18px!important;
    line-height:1.25!important;
    margin:5px 0 3px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ttm-stat small,
  .ttm-premium-metric small,
  .ttm-gm-kpi-card small,
  .ttm-report-kpi-v111 small,
  .ttm-health-card small,
  .ttm-admin-stat small{
    font-size:10px!important;
    line-height:1.5!important;
    display:block!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Action/shortcut grids: compact 2-up where cards are small enough. */
  .ttm-quick-grid,
  .ttm-quick-grid-pro,
  .ttm-gm-phone-grid,
  .ttm-profile-mobile-actions,
  .ttm-dashboard-compact-actions,
  .ttm-command-action-grid,
  .ttm-command-actions-panel,
  .ttm-command-bottom-grid,
  .ttm-request-type-grid,
  .ttm-shift-mini-grid,
  .ttm-shift-guide-grid,
  .ttm-export-dataset-grid,
  .ttm-contract-alert-grid,
  .ttm-onboarding-attendance-presets,
  .ttm-passkey-panel-actions,
  .ttm-profile-status-pills,
  .ttm-knowledge-badges{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    min-width:0!important;
  }
  .ttm-quick-grid button,
  .ttm-quick-grid-pro button,
  .ttm-gm-phone-grid button,
  .ttm-profile-mobile-actions button,
  .ttm-dashboard-compact-actions button,
  .ttm-command-action-grid button,
  .ttm-command-actions-panel button,
  .ttm-request-type-grid button,
  .ttm-shift-mini-grid button,
  .ttm-shift-guide-grid button,
  .ttm-passkey-panel-actions button,
  .ttm-profile-status-pills > *,
  .ttm-knowledge-badges > *{
    min-width:0!important;
    width:100%!important;
    min-height:48px!important;
    border-radius:15px!important;
    padding:9px 8px!important;
    font-size:11.5px!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }

  /* Dashboard bottom cards and side panels should fill the canvas, not float in the center. */
  .ttm-manager-grid,
  .ttm-manager-grid-pro,
  .ttm-dashboard-bottom-grid,
  .ttm-dashboard-hero-row,
  .ttm-gm-top-grid,
  .ttm-gm-content-grid,
  .ttm-command-layout,
  .ttm-command-maincol,
  .ttm-command-sidecol,
  .ttm-profile-app-layout,
  .ttm-profile-grid-panels,
  .ttm-request-center-grid,
  .ttm-performance-grid,
  .ttm-team-work-panels,
  .ttm-knowledge-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    min-width:0!important;
  }

  /* Important: small summary rows inside cards stay 2-up, but large forms remain readable. */
  .ttm-grid-form,
  .ttm-contract-field-grid,
  .ttm-form,
  .ttm-admin-form,
  .ttm-admin-form-pro,
  .ttm-manager-form,
  .ttm-asset-inline-form,
  .ttm-contract-editor-form,
  .ttm-lifecycle-form,
  .ttm-employee-dossier-form,
  .ttm-request-review-form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:9px!important;
  }
  .ttm-grid-form,
  .ttm-contract-field-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .ttm-span-2,
  .ttm-form-actions,
  .ttm-form-section-title,
  .ttm-grid-form > .ttm-span-2,
  .ttm-contract-field-grid > .ttm-span-2{
    grid-column:1/-1!important;
  }
  .ttm-form input,
  .ttm-form select,
  .ttm-form textarea,
  .ttm-admin-form input,
  .ttm-admin-form select,
  .ttm-admin-form textarea,
  .ttm-grid-form input,
  .ttm-grid-form select,
  .ttm-grid-form textarea{
    min-width:0!important;
    width:100%!important;
    min-height:40px!important;
    padding:9px 10px!important;
    border-radius:13px!important;
    font-size:11.5px!important;
    box-sizing:border-box!important;
  }
  .ttm-form-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:4px!important;
  }
  .ttm-form-actions .ttm-btn,
  .ttm-form-actions button{
    width:100%!important;
  }

  /* Lists/tables: keep width, reduce visual bulk, avoid giant empty space. */
  .ttm-table-wrap,
  .ttm-list-toolbar,
  .ttm-list-toolbar-compact,
  .ttm-leaves-toolbar,
  .ttm-monthly-payroll-toolbar,
  .ttm-payroll-toolbar-pro{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
  }
  .ttm-table th,
  .ttm-table td,
  .ttm-pretty-table th,
  .ttm-pretty-table td{
    padding:9px 10px!important;
    font-size:11px!important;
  }
  .ttm-inline-form{
    min-width:0!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:8px!important;
  }

  .ttm-notice,
  .ttm-notification-row,
  .ttm-request-feed article,
  .ttm-lifecycle-item,
  .ttm-lifecycle-task,
  .ttm-doc-category-row,
  .ttm-documents-row-list article,
  .ttm-gm-activity-list article,
  .ttm-gm-team-list article,
  .ttm-gm-doc-list article,
  .ttm-profile-list-card article,
  .ttm-priority-list button{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    padding:10px!important;
    border-radius:15px!important;
    min-height:auto!important;
    box-sizing:border-box!important;
  }

  .ttm-priority-list,
  .ttm-shortcut-list,
  .ttm-notice-list,
  .ttm-notification-list,
  .ttm-request-feed,
  .ttm-lifecycle-list,
  .ttm-lifecycle-tasks,
  .ttm-documents-row-list,
  .ttm-official-request-list,
  .ttm-gm-activity-list,
  .ttm-gm-team-list,
  .ttm-gm-doc-list,
  .ttm-profile-list-card{
    display:grid!important;
    gap:8px!important;
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
  }

  /* Prevent long Persian titles from stretching cards. */
  .ttm-section :where(.ttm-stat,.ttm-card,.ttm-premium-card,.ttm-premium-metric,.ttm-gm-kpi-card,.ttm-profile-section,.ttm-notice,.ttm-notification-row) :where(h3,strong,b,span,small,p){
    max-width:100%!important;
    overflow-wrap:break-word!important;
  }
}

@media (max-width:370px){
  body.ttm-app-page,
  body.ttm-standalone,
  body.ttm-pwa-runtime{
    --ttm-mobile-gutter:8px!important;
    --ttm-mobile-card-pad:10px!important;
  }
  .ttm-portal :where(h1){font-size:17px!important;}
  .ttm-portal :where(h2){font-size:16px!important;}
  .ttm-portal :where(h3){font-size:14px!important;}
  .ttm-stat strong,
  .ttm-premium-metric strong,
  .ttm-gm-kpi-card strong,
  .ttm-report-kpi-v111 strong{
    font-size:16.5px!important;
  }
  .ttm-grid-form,
  .ttm-contract-field-grid{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   Teamora Team Management v1.0.0
   Mobile inner-content fit pass only
   Scope: main content cards/boxes in mobile/PWA. Sidebar is intentionally untouched.
   ========================================================= */
@media (max-width:899px){
  body.ttm-pwa-runtime .ttm-main,
  body.ttm-standalone .ttm-main,
  body.ttm-app-page .ttm-main{
    --ttm-box-pad:8px;
    --ttm-box-gap:6px;
    --ttm-box-radius:16px;
  }

  /* Let every inner block use the full width of its card, instead of floating narrow in the middle. */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card,.ttm-premium-card,.ttm-command-panel,.ttm-profile-section,.ttm-request-form-card,.ttm-notification-list-panel,.ttm-profile-hero-updated) > *,
  body.ttm-standalone .ttm-main :where(.ttm-card,.ttm-premium-card,.ttm-command-panel,.ttm-profile-section,.ttm-request-form-card,.ttm-notification-list-panel,.ttm-profile-hero-updated) > *,
  body.ttm-app-page .ttm-main :where(.ttm-card,.ttm-premium-card,.ttm-command-panel,.ttm-profile-section,.ttm-request-form-card,.ttm-notification-list-panel,.ttm-profile-hero-updated) > *{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Compact full-width cards: less vertical height, more usable horizontal content. */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card,.ttm-premium-card,.ttm-command-panel,.ttm-profile-section,.ttm-request-form-card,.ttm-notification-list-panel),
  body.ttm-standalone .ttm-main :where(.ttm-card,.ttm-premium-card,.ttm-command-panel,.ttm-profile-section,.ttm-request-form-card,.ttm-notification-list-panel),
  body.ttm-app-page .ttm-main :where(.ttm-card,.ttm-premium-card,.ttm-command-panel,.ttm-profile-section,.ttm-request-form-card,.ttm-notification-list-panel){
    padding:var(--ttm-box-pad)!important;
    border-radius:var(--ttm-box-radius)!important;
    gap:var(--ttm-box-gap)!important;
    align-items:stretch!important;
  }

  /* Section/card heads should not become tall title islands. */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head),
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head),
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head){
    display:grid!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:7px!important;
    min-height:34px!important;
    margin:0 0 5px!important;
    padding:0!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) > span,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) > span,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) > span{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    border-radius:11px!important;
    font-size:12px!important;
    display:grid!important;
    place-items:center!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) > div,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) > div,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) > div{
    min-width:0!important;
    width:100%!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h2,
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h3,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h2,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h3,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h2,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h3{
    font-size:12.5px!important;
    line-height:1.25!important;
    font-weight:760!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) p,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) p,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) p{
    font-size:9px!important;
    line-height:1.35!important;
    margin:1px 0 0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Dashboard welcome inner content: fill the card, reduce wasted height. */
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-welcome,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-welcome,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-welcome{
    padding:10px!important;
    gap:7px!important;
    border-radius:18px!important;
    align-items:stretch!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-copy,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-copy,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-copy{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-copy h2,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-copy h2,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-copy h2{
    font-size:14.5px!important;
    line-height:1.35!important;
    margin:4px 0!important;
    max-width:100%!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-copy p,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-copy p,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-copy p{
    font-size:9.4px!important;
    line-height:1.55!important;
    margin:0!important;
    max-width:100%!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:46px!important;
    padding:6px 8px!important;
    border-radius:14px!important;
    margin:2px 0!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user .ttm-avatar,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user .ttm-avatar,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user .ttm-avatar{
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user div,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user div,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user div{
    min-width:0!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user strong,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user strong,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user strong{
    display:block!important;
    font-size:10.5px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user small,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user small,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user small{
    display:block!important;
    font-size:8.8px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* KPI/stat cards: inner text and icon fit the compact two-column boxes. */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111,.ttm-smart-kpis > *,.ttm-performance-kpis > *),
  body.ttm-standalone .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111,.ttm-smart-kpis > *,.ttm-performance-kpis > *),
  body.ttm-app-page .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111,.ttm-smart-kpis > *,.ttm-performance-kpis > *){
    min-height:58px!important;
    padding:7px 8px!important;
    border-radius:15px!important;
    display:grid!important;
    align-content:center!important;
    gap:2px!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111) :where(span,small,p),
  body.ttm-standalone .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111) :where(span,small,p),
  body.ttm-app-page .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111) :where(span,small,p){
    font-size:8.8px!important;
    line-height:1.25!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111) :where(strong,b),
  body.ttm-standalone .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111) :where(strong,b),
  body.ttm-app-page .ttm-main :where(.ttm-premium-metric,.ttm-stat,.ttm-health-card,.ttm-gm-kpi-card,.ttm-report-kpi-v111) :where(strong,b){
    font-size:13.2px!important;
    line-height:1.2!important;
    margin:1px 0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Full-width list items/buttons: content uses the full row and row height stays low. */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed,.ttm-priority-list,.ttm-notice-list,.ttm-notification-list,.ttm-documents-row-list,.ttm-gm-activity-list,.ttm-gm-team-list,.ttm-gm-doc-list,.ttm-profile-list-card),
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed,.ttm-priority-list,.ttm-notice-list,.ttm-notification-list,.ttm-documents-row-list,.ttm-gm-activity-list,.ttm-gm-team-list,.ttm-gm-doc-list,.ttm-profile-list-card),
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed,.ttm-priority-list,.ttm-notice-list,.ttm-notification-list,.ttm-documents-row-list,.ttm-gm-activity-list,.ttm-gm-team-list,.ttm-gm-doc-list,.ttm-profile-list-card){
    width:100%!important;
    max-width:100%!important;
    gap:6px!important;
    margin:0!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article),
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article),
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article){
    width:100%!important;
    max-width:100%!important;
    min-height:38px!important;
    padding:6px 7px!important;
    border-radius:13px!important;
    gap:6px!important;
    align-items:center!important;
    box-sizing:border-box!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-shortcut-list button,
  body.ttm-standalone .ttm-main .ttm-shortcut-list button,
  body.ttm-app-page .ttm-main .ttm-shortcut-list button{
    display:grid!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    text-align:right!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-shortcut-list button > span,
  body.ttm-standalone .ttm-main .ttm-shortcut-list button > span,
  body.ttm-app-page .ttm-main .ttm-shortcut-list button > span{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    border-radius:11px!important;
    display:grid!important;
    place-items:center!important;
    font-size:11px!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article) > div,
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article) > div,
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article) > div{
    min-width:0!important;
    width:100%!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article) :where(b,strong),
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article) :where(b,strong),
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article) :where(b,strong){
    display:block!important;
    max-width:100%!important;
    font-size:10.2px!important;
    line-height:1.25!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-gm-doc-list article,.ttm-profile-list-card article) :where(small,p,time,span:not(:first-child)),
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-profile-list-card article) :where(small,p,time,span:not(:first-child)),
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list button,.ttm-mini-feed article,.ttm-request-feed article,.ttm-priority-list button,.ttm-notice,.ttm-notification-row,.ttm-documents-row-list article,.ttm-gm-activity-list article,.ttm-gm-team-list article,.ttm-profile-list-card article) :where(small,p,time,span:not(:first-child)){
    display:block!important;
    max-width:100%!important;
    font-size:8.6px!important;
    line-height:1.25!important;
    margin:1px 0 0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Compact action buttons inside full-width boxes. */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-dashboard-compact-actions,.ttm-profile-mobile-actions,.ttm-command-action-grid,.ttm-command-actions-panel,.ttm-request-type-grid,.ttm-passkey-panel-actions),
  body.ttm-standalone .ttm-main :where(.ttm-dashboard-compact-actions,.ttm-profile-mobile-actions,.ttm-command-action-grid,.ttm-command-actions-panel,.ttm-request-type-grid,.ttm-passkey-panel-actions),
  body.ttm-app-page .ttm-main :where(.ttm-dashboard-compact-actions,.ttm-profile-mobile-actions,.ttm-command-action-grid,.ttm-command-actions-panel,.ttm-request-type-grid,.ttm-passkey-panel-actions){
    width:100%!important;
    max-width:100%!important;
    gap:6px!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-dashboard-compact-actions button,.ttm-profile-mobile-actions button,.ttm-command-action-grid button,.ttm-command-actions-panel button,.ttm-request-type-grid button,.ttm-passkey-panel-actions button,.ttm-btn),
  body.ttm-standalone .ttm-main :where(.ttm-dashboard-compact-actions button,.ttm-profile-mobile-actions button,.ttm-command-action-grid button,.ttm-command-actions-panel button,.ttm-request-type-grid button,.ttm-passkey-panel-actions button,.ttm-btn),
  body.ttm-app-page .ttm-main :where(.ttm-dashboard-compact-actions button,.ttm-profile-mobile-actions button,.ttm-command-action-grid button,.ttm-command-actions-panel button,.ttm-request-type-grid button,.ttm-passkey-panel-actions button,.ttm-btn){
    min-height:34px!important;
    height:auto!important;
    padding:7px 8px!important;
    border-radius:12px!important;
    font-size:9.7px!important;
    line-height:1.2!important;
    font-weight:760!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

/* =========================================================
   Teamora Team Management v1.0.0
   Mobile page-card/form/list fit pass only
   Scope: .ttm-main content in mobile/PWA. Sidebar/header/plugin logic intentionally untouched.
   ========================================================= */
@media (max-width:899px){
  body.ttm-pwa-runtime .ttm-main,
  body.ttm-standalone .ttm-main,
  body.ttm-app-page .ttm-main{
    --ttm-mobile-tight-pad:9px;
    --ttm-mobile-tight-gap:7px;
    --ttm-mobile-tight-radius:16px;
  }

  /* keep all page cards full-width and remove the tall empty-card feeling */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-premium-card,.ttm-card,.ttm-profile-section,.ttm-request-guide-card,.ttm-leave-form-card,.ttm-request-form-card,.ttm-performance-form-card,.ttm-official-request-card,.ttm-doc-category-card,.ttm-lifecycle-hero,.ttm-knowledge-hero,.ttm-assets-hero,.ttm-performance-hero,.ttm-request-center-hero,.ttm-attendance-hero),
  body.ttm-standalone .ttm-main :where(.ttm-premium-card,.ttm-card,.ttm-profile-section,.ttm-request-guide-card,.ttm-leave-form-card,.ttm-request-form-card,.ttm-performance-form-card,.ttm-official-request-card,.ttm-doc-category-card,.ttm-lifecycle-hero,.ttm-knowledge-hero,.ttm-assets-hero,.ttm-performance-hero,.ttm-request-center-hero,.ttm-attendance-hero),
  body.ttm-app-page .ttm-main :where(.ttm-premium-card,.ttm-card,.ttm-profile-section,.ttm-request-guide-card,.ttm-leave-form-card,.ttm-request-form-card,.ttm-performance-form-card,.ttm-official-request-card,.ttm-doc-category-card,.ttm-lifecycle-hero,.ttm-knowledge-hero,.ttm-assets-hero,.ttm-performance-hero,.ttm-request-center-hero,.ttm-attendance-hero){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    align-content:start!important;
    justify-content:stretch!important;
    margin-inline:0!important;
    padding:var(--ttm-mobile-tight-pad)!important;
    border-radius:var(--ttm-mobile-tight-radius)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  body.ttm-pwa-runtime .ttm-main :where(.ttm-request-guide-card,.ttm-doc-category-card,.ttm-lifecycle-hero,.ttm-knowledge-hero),
  body.ttm-standalone .ttm-main :where(.ttm-request-guide-card,.ttm-doc-category-card,.ttm-lifecycle-hero,.ttm-knowledge-hero),
  body.ttm-app-page .ttm-main :where(.ttm-request-guide-card,.ttm-doc-category-card,.ttm-lifecycle-hero,.ttm-knowledge-hero){
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  body.ttm-pwa-runtime .ttm-main :where(.ttm-lifecycle-hero,.ttm-knowledge-hero,.ttm-assets-hero,.ttm-performance-hero,.ttm-request-center-hero,.ttm-attendance-hero) p,
  body.ttm-standalone .ttm-main :where(.ttm-lifecycle-hero,.ttm-knowledge-hero,.ttm-assets-hero,.ttm-performance-hero,.ttm-request-center-hero,.ttm-attendance-hero) p,
  body.ttm-app-page .ttm-main :where(.ttm-lifecycle-hero,.ttm-knowledge-hero,.ttm-assets-hero,.ttm-performance-hero,.ttm-request-center-hero,.ttm-attendance-hero) p{
    font-size:10.2px!important;
    line-height:1.75!important;
    margin:0!important;
    max-width:100%!important;
  }

  /* section/card headers: compact, full-width, no useless vertical area */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head),
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head),
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head){
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    align-items:start!important;
    gap:7px!important;
    margin:0 0 7px!important;
    text-align:right!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) > span,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) > span,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) > span{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    border-radius:11px!important;
    display:grid!important;
    place-items:center!important;
    font-size:11px!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) h3,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) h3,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) h3{
    font-size:13px!important;
    line-height:1.35!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) p,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) p,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-card-head-pro,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head) p{
    font-size:9.3px!important;
    line-height:1.45!important;
    margin:1px 0 0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* forms: two useful columns where possible; upload/textarea/action are always full width */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-grid-form,.ttm-form-grid),
  body.ttm-standalone .ttm-main :where(.ttm-grid-form,.ttm-form-grid),
  body.ttm-app-page .ttm-main :where(.ttm-grid-form,.ttm-form-grid){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    align-items:stretch!important;
    justify-items:stretch!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label,
  body.ttm-standalone .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label,
  body.ttm-app-page .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:5px!important;
    padding:7px!important;
    border-radius:12px!important;
    text-align:right!important;
    box-sizing:border-box!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > :where(.ttm-span-2,.ttm-form-actions),
  body.ttm-pwa-runtime .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label:has(textarea),
  body.ttm-pwa-runtime .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label:has(input[type="file"]),
  body.ttm-standalone .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > :where(.ttm-span-2,.ttm-form-actions),
  body.ttm-standalone .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label:has(textarea),
  body.ttm-standalone .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label:has(input[type="file"]),
  body.ttm-app-page .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > :where(.ttm-span-2,.ttm-form-actions),
  body.ttm-app-page .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label:has(textarea),
  body.ttm-app-page .ttm-main :where(.ttm-grid-form,.ttm-form-grid) > label:has(input[type="file"]){
    grid-column:1/-1!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-grid-form,.ttm-form-grid) :where(input,select,textarea),
  body.ttm-standalone .ttm-main :where(.ttm-grid-form,.ttm-form-grid) :where(input,select,textarea),
  body.ttm-app-page .ttm-main :where(.ttm-grid-form,.ttm-form-grid) :where(input,select,textarea){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:34px!important;
    padding:7px 8px!important;
    border-radius:11px!important;
    font-size:10px!important;
    line-height:1.35!important;
    box-sizing:border-box!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-grid-form,.ttm-form-grid) textarea,
  body.ttm-standalone .ttm-main :where(.ttm-grid-form,.ttm-form-grid) textarea,
  body.ttm-app-page .ttm-main :where(.ttm-grid-form,.ttm-form-grid) textarea{
    min-height:62px!important;
    max-height:92px!important;
    resize:vertical!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-grid-form,.ttm-form-grid) input[type="file"],
  body.ttm-standalone .ttm-main :where(.ttm-grid-form,.ttm-form-grid) input[type="file"],
  body.ttm-app-page .ttm-main :where(.ttm-grid-form,.ttm-form-grid) input[type="file"]{
    height:34px!important;
    min-height:34px!important;
    padding:6px!important;
    font-size:9px!important;
    direction:ltr!important;
    text-align:left!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-form-actions,
  body.ttm-standalone .ttm-main .ttm-form-actions,
  body.ttm-app-page .ttm-main .ttm-form-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    align-items:stretch!important;
    margin:0!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-form-actions :where(button,.ttm-btn),
  body.ttm-standalone .ttm-main .ttm-form-actions :where(button,.ttm-btn),
  body.ttm-app-page .ttm-main .ttm-form-actions :where(button,.ttm-btn){
    width:100%!important;
    min-height:34px!important;
    padding:7px 8px!important;
    border-radius:12px!important;
    font-size:10px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-mini-note-inline,
  body.ttm-standalone .ttm-main .ttm-mini-note-inline,
  body.ttm-app-page .ttm-main .ttm-mini-note-inline{
    display:block!important;
    width:100%!important;
    text-align:center!important;
    font-size:9px!important;
    line-height:1.55!important;
  }

  /* shortcut/request/feed rows: fill the card instead of tiny centered pills */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list,.ttm-request-type-grid,.ttm-doc-category-row),
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list,.ttm-request-type-grid,.ttm-doc-category-row),
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list,.ttm-request-type-grid,.ttm-doc-category-row){
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin:0!important;
    justify-items:stretch!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-shortcut-list button:last-child:nth-child(odd),
  body.ttm-standalone .ttm-main .ttm-shortcut-list button:last-child:nth-child(odd),
  body.ttm-app-page .ttm-main .ttm-shortcut-list button:last-child:nth-child(odd){
    grid-column:1/-1!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list button,.ttm-request-type-grid span,.ttm-doc-category-chip),
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list button,.ttm-request-type-grid span,.ttm-doc-category-chip),
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list button,.ttm-request-type-grid span,.ttm-doc-category-chip){
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:7px 8px!important;
    border-radius:12px!important;
    box-sizing:border-box!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-shortcut-list button,
  body.ttm-standalone .ttm-main .ttm-shortcut-list button,
  body.ttm-app-page .ttm-main .ttm-shortcut-list button{
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr)!important;
    gap:6px!important;
    text-align:right!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-shortcut-list button > span,
  body.ttm-standalone .ttm-main .ttm-shortcut-list button > span,
  body.ttm-app-page .ttm-main .ttm-shortcut-list button > span{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    border-radius:9px!important;
    font-size:10px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-shortcut-list button b,
  body.ttm-standalone .ttm-main .ttm-shortcut-list button b,
  body.ttm-app-page .ttm-main .ttm-shortcut-list button b{
    font-size:9.8px!important;
    line-height:1.25!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-shortcut-list button small,
  body.ttm-standalone .ttm-main .ttm-shortcut-list button small,
  body.ttm-app-page .ttm-main .ttm-shortcut-list button small{
    font-size:8px!important;
    line-height:1.25!important;
  }

  body.ttm-pwa-runtime .ttm-main :where(.ttm-mini-feed,.ttm-request-feed,.ttm-profile-list-card,.ttm-documents-row-list),
  body.ttm-standalone .ttm-main :where(.ttm-mini-feed,.ttm-request-feed,.ttm-profile-list-card,.ttm-documents-row-list),
  body.ttm-app-page .ttm-main :where(.ttm-mini-feed,.ttm-request-feed,.ttm-profile-list-card,.ttm-documents-row-list){
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    margin:0!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-mini-feed article,.ttm-request-feed article,.ttm-profile-list-card article,.ttm-notification-row),
  body.ttm-standalone .ttm-main :where(.ttm-mini-feed article,.ttm-request-feed article,.ttm-profile-list-card article,.ttm-notification-row),
  body.ttm-app-page .ttm-main :where(.ttm-mini-feed article,.ttm-request-feed article,.ttm-profile-list-card article,.ttm-notification-row){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:7px!important;
    padding:7px 8px!important;
    border-radius:12px!important;
    box-sizing:border-box!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-mini-feed article,.ttm-request-feed article,.ttm-profile-list-card article,.ttm-notification-row) > div,
  body.ttm-standalone .ttm-main :where(.ttm-mini-feed article,.ttm-request-feed article,.ttm-profile-list-card article,.ttm-notification-row) > div,
  body.ttm-app-page .ttm-main :where(.ttm-mini-feed article,.ttm-request-feed article,.ttm-profile-list-card article,.ttm-notification-row) > div{
    min-width:0!important;
    width:100%!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-profile-list-card article > strong,.ttm-profile-list-card article .ttm-pill,.ttm-request-feed article .ttm-badge,.ttm-request-feed article .ttm-status,.ttm-notification-row .ttm-pill),
  body.ttm-standalone .ttm-main :where(.ttm-profile-list-card article > strong,.ttm-profile-list-card article .ttm-pill,.ttm-request-feed article .ttm-badge,.ttm-request-feed article .ttm-status,.ttm-notification-row .ttm-pill),
  body.ttm-app-page .ttm-main :where(.ttm-profile-list-card article > strong,.ttm-profile-list-card article .ttm-pill,.ttm-request-feed article .ttm-badge,.ttm-request-feed article .ttm-status,.ttm-notification-row .ttm-pill){
    justify-self:end!important;
    white-space:nowrap!important;
    max-width:116px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:8.8px!important;
    padding:4px 7px!important;
    border-radius:999px!important;
  }

  /* filter tabs/chips: compact and width-aware */
  body.ttm-pwa-runtime .ttm-main :where(.ttm-filter-tabs,.ttm-leaves-tabs,.ttm-payroll-tabs,.ttm-doc-tabs),
  body.ttm-standalone .ttm-main :where(.ttm-filter-tabs,.ttm-leaves-tabs,.ttm-payroll-tabs,.ttm-doc-tabs),
  body.ttm-app-page .ttm-main :where(.ttm-filter-tabs,.ttm-leaves-tabs,.ttm-payroll-tabs,.ttm-doc-tabs){
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    gap:6px!important;
    margin:0 0 8px!important;
    padding:0!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-filter-tabs,.ttm-leaves-tabs,.ttm-payroll-tabs,.ttm-doc-tabs) :where(button,a,span),
  body.ttm-standalone .ttm-main :where(.ttm-filter-tabs,.ttm-leaves-tabs,.ttm-payroll-tabs,.ttm-doc-tabs) :where(button,a,span),
  body.ttm-app-page .ttm-main :where(.ttm-filter-tabs,.ttm-leaves-tabs,.ttm-payroll-tabs,.ttm-doc-tabs) :where(button,a,span){
    min-height:30px!important;
    padding:6px 8px!important;
    border-radius:999px!important;
    font-size:9.5px!important;
    line-height:1.2!important;
    flex:1 1 calc(33.333% - 6px)!important;
    text-align:center!important;
    white-space:nowrap!important;
  }

  /* category chips and request-guide details should use full rows/columns */
  body.ttm-pwa-runtime .ttm-main .ttm-request-guide-card .ttm-muted-note,
  body.ttm-standalone .ttm-main .ttm-request-guide-card .ttm-muted-note,
  body.ttm-app-page .ttm-main .ttm-request-guide-card .ttm-muted-note{
    width:100%!important;
    margin:0!important;
    padding:8px!important;
    border-radius:12px!important;
    font-size:9.5px!important;
    line-height:1.65!important;
    box-sizing:border-box!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-doc-category-chip,
  body.ttm-standalone .ttm-main .ttm-doc-category-chip,
  body.ttm-app-page .ttm-main .ttm-doc-category-chip{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:6px!important;
    text-align:right!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-doc-category-chip span,
  body.ttm-standalone .ttm-main .ttm-doc-category-chip span,
  body.ttm-app-page .ttm-main .ttm-doc-category-chip span{
    font-size:9.8px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-doc-category-chip b,
  body.ttm-standalone .ttm-main .ttm-doc-category-chip b,
  body.ttm-app-page .ttm-main .ttm-doc-category-chip b{
    font-size:11px!important;
    min-width:18px!important;
    text-align:center!important;
  }
}


/* Teamora Team Management v1.0.0 — sidebar identity card alignment only.
   Scope lock: only the top profile card inside the sidebar is touched. */
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-card{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding:12px 12px 10px!important;
  gap:9px!important;
  border-radius:20px!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-main{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-height:54px!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-avatar{
  position:absolute!important;
  inset-inline-end:0!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:48px!important;
  height:48px!important;
  border-radius:16px!important;
  z-index:2!important;
  margin:0!important;
  flex:none!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-copy{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  width:min(148px,calc(100% - 86px))!important;
  max-width:calc(100% - 86px)!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  gap:2px!important;
  justify-items:center!important;
  align-items:center!important;
  text-align:center!important;
  z-index:1!important;
  box-sizing:border-box!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-copy strong,
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-copy span,
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-copy small{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-copy strong{
  font-size:12.2px!important;
  line-height:1.35!important;
  font-weight:780!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-copy span{
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:520!important;
  color:rgba(255,255,255,.70)!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-copy small{
  font-size:9.2px!important;
  line-height:1.35!important;
  font-weight:500!important;
  color:rgba(255,255,255,.48)!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-greeting.ttm-sidebar-greeting-slim{
  width:100%!important;
  max-width:100%!important;
  min-height:32px!important;
  height:auto!important;
  padding:6px 10px!important;
  margin:0!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-greeting.ttm-sidebar-greeting-slim strong,
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-greeting.ttm-sidebar-greeting-slim span{
  width:100%!important;
  max-width:100%!important;
  text-align:center!important;
  font-size:10.2px!important;
  line-height:1.35!important;
  font-weight:520!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-actions{
  display:none!important;
}

@media (max-width:1180px){
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-card{
    padding:11px 11px 9px!important;
    gap:8px!important;
    border-radius:19px!important;
  }
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-main{
    min-height:50px!important;
  }
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-avatar{
    width:44px!important;
    height:44px!important;
    border-radius:15px!important;
  }
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-copy{
    width:min(140px,calc(100% - 78px))!important;
    max-width:calc(100% - 78px)!important;
  }
}


/* Teamora Team Management v1.0.0 — sidebar profile/avatar position restore only.
   Scope lock: only the avatar/profile image placement inside the top sidebar card is restored.
   Text centering, greeting, sidebar menu, pages and all other UI remain untouched. */
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-main{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  direction:rtl!important;
}
.ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-avatar{
  position:static!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  grid-column:1!important;
  justify-self:start!important;
  align-self:center!important;
  margin:0!important;
  flex:none!important;
}
@media (max-width:1180px){
  .ttm-portal > .ttm-sidebar.ttm-sidebar-shell .ttm-sidebar-person-main{
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:9px!important;
  }
}


/* Teamora Team Management v1.0.0 — remove QA runtime warning orange corner dot only. */


/* Teamora Team Management v1.0.0 — Phase UX-1: empty states, notices and safe submit polish only.
   Scope lock: sidebar, header, page layouts, database and business logic are untouched. */
.ttm-portal :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished),
.ttm-login-shell :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished){
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  min-height:74px!important;
  display:grid!important;
  place-items:center!important;
  gap:6px!important;
  padding:16px 18px!important;
  border:1px dashed rgba(148,163,184,.42)!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,rgba(248,250,252,.96),rgba(255,255,255,.98))!important;
  color:#64748b!important;
  text-align:center!important;
  font-size:12.5px!important;
  line-height:1.8!important;
  font-weight:780!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 10px 28px rgba(15,23,42,.035)!important;
  box-sizing:border-box!important;
}
.ttm-portal :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished)::before,
.ttm-login-shell :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished)::before{
  content:""!important;
  width:34px!important;
  height:34px!important;
  border-radius:14px!important;
  display:block!important;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.96),rgba(255,255,255,.24) 38%,transparent 39%),linear-gradient(135deg,rgba(229,9,20,.13),rgba(229,9,20,.035))!important;
  border:1px solid rgba(229,9,20,.10)!important;
  box-shadow:0 10px 22px rgba(229,9,20,.08)!important;
}
.ttm-portal :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished) :where(strong,b),
.ttm-login-shell :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished) :where(strong,b){
  color:#111827!important;
  font-size:13px!important;
  line-height:1.65!important;
  font-weight:850!important;
}
.ttm-portal :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished) :where(span,small,p),
.ttm-login-shell :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished) :where(span,small,p){
  margin:0!important;
  color:#64748b!important;
  font-size:11.5px!important;
  line-height:1.75!important;
  font-weight:650!important;
}
.ttm-portal .ttm-alert,
.ttm-login-shell .ttm-alert{
  position:relative!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  min-height:54px!important;
  padding:12px 14px!important;
  border-radius:18px!important;
  font-size:12.7px!important;
  line-height:1.75!important;
  font-weight:820!important;
  text-align:right!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ttm-portal .ttm-alert::before,
.ttm-login-shell .ttm-alert::before{
  content:""!important;
  width:34px!important;
  height:34px!important;
  border-radius:13px!important;
  display:block!important;
  background:rgba(255,255,255,.72)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)!important;
}
.ttm-portal .ttm-alert-success,
.ttm-login-shell .ttm-alert-success{
  background:linear-gradient(135deg,#ecfdf5,#ffffff)!important;
  border-color:#bbf7d0!important;
  color:#047857!important;
}
.ttm-portal .ttm-alert-error,
.ttm-login-shell .ttm-alert-error{
  background:linear-gradient(135deg,#fff1f2,#ffffff)!important;
  border-color:#fecdd3!important;
  color:#be123c!important;
}
.ttm-form-submitting{
  cursor:progress!important;
}
.ttm-form-submitting :where(button[type="submit"],input[type="submit"]).is-loading,
.ttm-portal :where(button[type="submit"],input[type="submit"]).is-loading,
.ttm-login-shell :where(button[type="submit"],input[type="submit"]).is-loading{
  pointer-events:none!important;
  user-select:none!important;
  min-width:max-content!important;
  opacity:.96!important;
  filter:saturate(.95)!important;
}
.ttm-form-submitting :where(button[type="submit"],input[type="submit"]):not(.ttm-logout-button){
  box-shadow:0 16px 34px rgba(229,9,20,.18)!important;
}
.ttm-form-submitting :where(input,select,textarea){
  transition:opacity .18s ease, filter .18s ease!important;
}
.ttm-submit-helper-note{
  display:block!important;
  margin-top:8px!important;
  color:#64748b!important;
  font-size:11px!important;
  font-weight:700!important;
}
.ttm-skeleton,
.ttm-loading-skeleton{
  position:relative!important;
  overflow:hidden!important;
  border-radius:16px!important;
  background:#eef2f7!important;
  color:transparent!important;
}
.ttm-skeleton::after,
.ttm-loading-skeleton::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  transform:translateX(100%)!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.68),transparent)!important;
  animation:ttmPhaseUxShimmer 1.15s infinite!important;
}
@keyframes ttmPhaseUxShimmer{to{transform:translateX(-100%)}}
@media (max-width:1180px){
  body.ttm-pwa-runtime .ttm-main :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished),
  body.ttm-standalone .ttm-main :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished),
  body.ttm-app-page .ttm-main :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished){
    min-height:58px!important;
    padding:11px 12px!important;
    border-radius:15px!important;
    font-size:10.5px!important;
    line-height:1.65!important;
    gap:4px!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished)::before,
  body.ttm-standalone .ttm-main :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished)::before,
  body.ttm-app-page .ttm-main :where(.ttm-empty,.ttm-empty-state,.ttm-empty-polished)::before{
    width:26px!important;
    height:26px!important;
    border-radius:10px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-alert,
  body.ttm-standalone .ttm-main .ttm-alert,
  body.ttm-app-page .ttm-main .ttm-alert{
    grid-template-columns:28px minmax(0,1fr)!important;
    min-height:46px!important;
    gap:8px!important;
    padding:10px 11px!important;
    border-radius:15px!important;
    font-size:10.6px!important;
    line-height:1.65!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-alert::before,
  body.ttm-standalone .ttm-main .ttm-alert::before,
  body.ttm-app-page .ttm-main .ttm-alert::before{
    width:28px!important;
    height:28px!important;
    border-radius:10px!important;
  }
}



/* Teamora Team Management v1.0.0 — Phase UX-2: forms and uploads polish only.
   Scope lock: sidebar, header, page layouts, database and business logic are untouched. */
.ttm-portal :where(.ttm-form,.ttm-grid-form,.ttm-profile-premium) :where(label,.ttm-upload-field,.ttm-attachment-field,.ttm-profile-file-field){
  box-sizing:border-box!important;
}
.ttm-portal :where(.ttm-form,.ttm-grid-form,.ttm-profile-premium) label.ttm-field-required > :where(span,strong):first-child::after,
.ttm-portal :where(.ttm-form,.ttm-grid-form,.ttm-profile-premium) label.ttm-field-required::after{
  color:#e11d48!important;
  font-weight:900!important;
}
.ttm-portal .ttm-upload-enhanced{
  position:relative!important;
  display:grid!important;
  gap:7px!important;
  align-content:start!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.ttm-portal .ttm-upload-enhanced input[type="file"]{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  border:1px dashed rgba(148,163,184,.58)!important;
  background:linear-gradient(135deg,#fff,#f8fafc)!important;
  color:#334155!important;
  border-radius:14px!important;
  min-height:40px!important;
  padding:7px 8px!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-family:inherit!important;
}
.ttm-portal .ttm-upload-enhanced input[type="file"]::file-selector-button{
  border:0!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,rgba(229,9,20,.10),rgba(229,9,20,.04))!important;
  color:#b91c1c!important;
  padding:7px 10px!important;
  margin-inline-end:8px!important;
  font-size:10.5px!important;
  font-weight:850!important;
  font-family:inherit!important;
  cursor:pointer!important;
}
.ttm-portal .ttm-file-meta{
  display:grid!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
}
.ttm-portal .ttm-file-selected,
.ttm-portal .ttm-file-hint,
.ttm-portal .ttm-field-live-hint{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  color:#64748b!important;
  font-size:10.8px!important;
  line-height:1.65!important;
  font-weight:720!important;
  overflow-wrap:anywhere!important;
}
.ttm-portal .ttm-file-selected{
  padding:7px 9px!important;
  border-radius:12px!important;
  background:#f8fafc!important;
  border:1px solid rgba(226,232,240,.86)!important;
  color:#334155!important;
}
.ttm-portal .ttm-file-selected.has-file{
  color:#047857!important;
  background:linear-gradient(135deg,#ecfdf5,#ffffff)!important;
  border-color:#bbf7d0!important;
  font-weight:850!important;
}
.ttm-portal .ttm-file-error,
.ttm-portal .ttm-form-field-error{
  display:none!important;
  width:100%!important;
  padding:7px 9px!important;
  border-radius:12px!important;
  background:#fff1f2!important;
  border:1px solid #fecdd3!important;
  color:#be123c!important;
  font-size:10.7px!important;
  line-height:1.65!important;
  font-weight:820!important;
  box-sizing:border-box!important;
}
.ttm-portal .ttm-file-error.is-visible,
.ttm-portal .ttm-form-field-error.is-visible{
  display:block!important;
}
.ttm-portal .ttm-upload-enhanced.is-invalid input[type="file"],
.ttm-portal :where(input,select,textarea).ttm-field-invalid{
  border-color:#fb7185!important;
  background:#fff7f8!important;
  box-shadow:0 0 0 3px rgba(244,63,94,.08)!important;
}
.ttm-portal textarea.ttm-auto-grow-ready{
  resize:vertical!important;
  min-height:72px!important;
  max-height:210px!important;
  overflow:auto!important;
}
.ttm-portal .ttm-form-actions{
  align-items:center!important;
}
.ttm-portal .ttm-media-name:not(:empty){
  display:inline-flex!important;
  align-items:center!important;
  max-width:100%!important;
  min-height:28px!important;
  padding:6px 9px!important;
  border-radius:11px!important;
  background:#f8fafc!important;
  border:1px solid rgba(226,232,240,.86)!important;
  color:#475569!important;
  font-size:10.8px!important;
  line-height:1.5!important;
  font-weight:760!important;
  overflow-wrap:anywhere!important;
}
.ttm-portal .ttm-media-name.has-selection,
.ttm-portal .ttm-media-name.ttm-has-file{
  color:#047857!important;
  background:linear-gradient(135deg,#ecfdf5,#fff)!important;
  border-color:#bbf7d0!important;
}
@media (max-width:1180px){
  body.ttm-pwa-runtime .ttm-main .ttm-upload-enhanced,
  body.ttm-standalone .ttm-main .ttm-upload-enhanced,
  body.ttm-app-page .ttm-main .ttm-upload-enhanced{
    gap:5px!important;
    border-radius:14px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-upload-enhanced input[type="file"],
  body.ttm-standalone .ttm-main .ttm-upload-enhanced input[type="file"],
  body.ttm-app-page .ttm-main .ttm-upload-enhanced input[type="file"]{
    min-height:34px!important;
    height:auto!important;
    padding:5px 6px!important;
    border-radius:11px!important;
    font-size:9.8px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-upload-enhanced input[type="file"]::file-selector-button,
  body.ttm-standalone .ttm-main .ttm-upload-enhanced input[type="file"]::file-selector-button,
  body.ttm-app-page .ttm-main .ttm-upload-enhanced input[type="file"]::file-selector-button{
    padding:5px 7px!important;
    border-radius:9px!important;
    font-size:9.2px!important;
    margin-inline-end:6px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-file-selected,
  body.ttm-pwa-runtime .ttm-main .ttm-file-hint,
  body.ttm-pwa-runtime .ttm-main .ttm-field-live-hint,
  body.ttm-pwa-runtime .ttm-main .ttm-file-error,
  body.ttm-standalone .ttm-main .ttm-file-selected,
  body.ttm-standalone .ttm-main .ttm-file-hint,
  body.ttm-standalone .ttm-main .ttm-field-live-hint,
  body.ttm-standalone .ttm-main .ttm-file-error,
  body.ttm-app-page .ttm-main .ttm-file-selected,
  body.ttm-app-page .ttm-main .ttm-file-hint,
  body.ttm-app-page .ttm-main .ttm-field-live-hint,
  body.ttm-app-page .ttm-main .ttm-file-error{
    font-size:9.4px!important;
    line-height:1.45!important;
    padding:5px 7px!important;
    border-radius:9px!important;
  }
  body.ttm-pwa-runtime .ttm-main textarea.ttm-auto-grow-ready,
  body.ttm-standalone .ttm-main textarea.ttm-auto-grow-ready,
  body.ttm-app-page .ttm-main textarea.ttm-auto-grow-ready{
    min-height:58px!important;
    max-height:160px!important;
  }
}

/* TTM v1.0.0 - Phase UX-3: smart dashboard actions + notification filters. */
.ttm-portal .ttm-smart-shortcut{
  position:relative!important;
}
.ttm-portal .ttm-smart-shortcut em,
.ttm-portal .ttm-mini-feed article em{
  flex:0 0 auto!important;
  min-width:26px!important;
  height:26px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(229,9,20,.09)!important;
  color:var(--ttm-primary,#e50914)!important;
  font-size:10.5px!important;
  font-style:normal!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.ttm-portal .ttm-smart-shortcut.is-priority,
.ttm-portal .ttm-notification-row.is-important{
  border-color:rgba(229,9,20,.26)!important;
  background:linear-gradient(135deg,#fff,rgba(254,226,226,.62))!important;
}
.ttm-portal .ttm-smart-shortcut.is-warning,
.ttm-portal .ttm-notification-row.is-followup{
  border-color:rgba(245,158,11,.24)!important;
  background:linear-gradient(135deg,#fff,rgba(255,251,235,.72))!important;
}
.ttm-portal .ttm-smart-shortcut.is-priority > span,
.ttm-portal .ttm-smart-shortcut.is-warning > span{
  background:rgba(229,9,20,.1)!important;
}
.ttm-portal .ttm-mini-feed article.is-unread{
  border-color:rgba(229,9,20,.22)!important;
  background:linear-gradient(135deg,#fff,#fff7f7)!important;
}
.ttm-portal .ttm-notification-row.is-important .ttm-dot{
  background:#e50914!important;
  box-shadow:0 0 0 5px rgba(229,9,20,.08)!important;
}
.ttm-portal .ttm-notification-row.is-followup .ttm-dot{
  background:#f59e0b!important;
  box-shadow:0 0 0 5px rgba(245,158,11,.09)!important;
}
@media (max-width:1180px){
  body.ttm-pwa-runtime .ttm-main .ttm-smart-shortcut-list,
  body.ttm-standalone .ttm-main .ttm-smart-shortcut-list,
  body.ttm-app-page .ttm-main .ttm-smart-shortcut-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-smart-shortcut,
  body.ttm-standalone .ttm-main .ttm-smart-shortcut,
  body.ttm-app-page .ttm-main .ttm-smart-shortcut{
    min-height:64px!important;
    align-items:center!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-smart-shortcut em,
  body.ttm-standalone .ttm-main .ttm-smart-shortcut em,
  body.ttm-app-page .ttm-main .ttm-smart-shortcut em{
    position:absolute!important;
    top:7px!important;
    left:7px!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 6px!important;
    font-size:9px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-filter-tabs-chips,
  body.ttm-standalone .ttm-main .ttm-filter-tabs-chips,
  body.ttm-app-page .ttm-main .ttm-filter-tabs-chips{
    padding-bottom:8px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-filter-tabs-chips button,
  body.ttm-standalone .ttm-main .ttm-filter-tabs-chips button,
  body.ttm-app-page .ttm-main .ttm-filter-tabs-chips button{
    min-height:34px!important;
    padding:7px 11px!important;
    font-size:10.5px!important;
  }
}


/* TTM v1.0.0 - Phase UX-4: mobile login and branding polish only.
   Scope lock: portal/sidebar/header/dashboard/forms/database/business logic are untouched. */
.ttm-login-shell{
  isolation:isolate!important;
}
.ttm-login-shell :where(.ttm-login-card,.ttm-login-hero,.ttm-login-tabs,.ttm-login-form input,.ttm-login-form .ttm-btn){
  box-sizing:border-box!important;
}
.ttm-login-shell .ttm-login-card{
  overflow:hidden!important;
}
.ttm-login-shell .ttm-login-card::before{
  content:""!important;
  position:absolute!important;
  inset:0 0 auto 0!important;
  height:6px!important;
  background:linear-gradient(90deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#92020a),var(--ttm-accent,#ffb703))!important;
  pointer-events:none!important;
}
.ttm-login-shell .ttm-login-card-head{
  position:relative!important;
  z-index:1!important;
}
.ttm-login-shell .ttm-login-card-logo{
  flex:0 0 auto!important;
}
.ttm-login-shell .ttm-login-form input{
  direction:rtl!important;
  text-align:right!important;
}
.ttm-login-shell .ttm-login-form input[type="tel"],
.ttm-login-shell .ttm-login-form input[name="code"]{
  direction:ltr!important;
  text-align:left!important;
  letter-spacing:.04em!important;
}
.ttm-login-shell .ttm-password-wrap{
  position:relative!important;
  display:block!important;
  width:100%!important;
}
.ttm-login-shell .ttm-password-wrap input{
  padding-inline-start:50px!important;
}
.ttm-login-shell .ttm-password-toggle{
  position:absolute!important;
  left:8px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:34px!important;
  height:34px!important;
  min-height:34px!important;
  border:0!important;
  border-radius:12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#f8fafc!important;
  color:#64748b!important;
  box-shadow:none!important;
}
.ttm-login-shell .ttm-otp-change{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:38px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  color:#475569!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:800!important;
}
.ttm-login-shell .ttm-mini-note-compact{
  border-radius:16px!important;
  padding:10px 12px!important;
  background:linear-gradient(135deg,#fff7ed,#fff)!important;
  border:1px solid #fed7aa!important;
  color:#9a3412!important;
  font-size:11.5px!important;
  line-height:1.7!important;
  font-weight:780!important;
}
@media (max-width:1180px){
  .ttm-login-shell.ttm-login-red,
  .ttm-login-shell{
    min-height:100dvh!important;
    width:100%!important;
    display:grid!important;
    place-items:center!important;
    align-content:center!important;
    padding:calc(16px + env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:
      radial-gradient(circle at 82% 9%,rgba(255,255,255,.34),transparent 28%),
      radial-gradient(circle at 12% 92%,rgba(255,255,255,.20),transparent 30%),
      linear-gradient(145deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#92020a) 56%,#0f172a)!important;
  }
  .ttm-login-shell::before{
    opacity:.72!important;
    background:
      radial-gradient(circle at 78% 18%,rgba(255,255,255,.22),transparent 26%),
      radial-gradient(circle at 22% 82%,rgba(15,23,42,.28),transparent 34%)!important;
  }
  .ttm-login-shell::after{
    content:""!important;
    position:fixed!important;
    inset:auto -80px -120px auto!important;
    width:250px!important;
    height:250px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.10)!important;
    filter:blur(1px)!important;
    pointer-events:none!important;
    z-index:0!important;
  }
  .ttm-login-hero{
    display:none!important;
  }
  .ttm-login-card{
    position:relative!important;
    z-index:2!important;
    width:min(100%,420px)!important;
    max-width:420px!important;
    margin:0 auto!important;
    padding:22px!important;
    border-radius:28px!important;
    background:rgba(255,255,255,.97)!important;
    border:1px solid rgba(255,255,255,.78)!important;
    box-shadow:0 26px 80px rgba(15,23,42,.22)!important;
    backdrop-filter:blur(18px)!important;
  }
  .ttm-login-card-head{
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    margin:0 0 18px!important;
    text-align:right!important;
  }
  .ttm-login-card-logo{
    width:58px!important;
    height:58px!important;
    border-radius:20px!important;
    padding:5px!important;
    background:#fff!important;
    box-shadow:0 14px 34px rgba(229,9,20,.17)!important;
    object-fit:contain!important;
  }
  .ttm-login-card h2{
    margin:0!important;
    color:#0f172a!important;
    font-size:22px!important;
    line-height:1.35!important;
    font-weight:850!important;
    letter-spacing:-.02em!important;
  }
  .ttm-login-card p{
    margin:4px 0 0!important;
    color:#64748b!important;
    font-size:11.5px!important;
    line-height:1.75!important;
    font-weight:650!important;
  }
  .ttm-login-tabs{
    height:46px!important;
    margin:14px 0 16px!important;
    padding:4px!important;
    border-radius:17px!important;
    background:#f1f5f9!important;
    border:1px solid rgba(226,232,240,.95)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important;
  }
  .ttm-login-tab{
    min-height:38px!important;
    height:38px!important;
    padding:7px 6px!important;
    border-radius:13px!important;
    font-size:11.5px!important;
    font-weight:800!important;
  }
  .ttm-login-tab.is-active{
    box-shadow:0 10px 22px rgba(15,23,42,.09)!important;
  }
  .ttm-login-form form,
  .ttm-otp-request,
  .ttm-otp-verify{
    gap:11px!important;
  }
  .ttm-login-form label{
    gap:6px!important;
    color:#0f172a!important;
    font-size:11.5px!important;
    line-height:1.55!important;
    font-weight:780!important;
  }
  .ttm-login-form input{
    min-height:46px!important;
    height:46px!important;
    padding:11px 13px!important;
    border-radius:16px!important;
    border-color:#dbe3ee!important;
    background:#fff!important;
    color:#0f172a!important;
    font-size:13px!important;
    font-weight:650!important;
  }
  .ttm-login-form input:focus{
    border-color:var(--ttm-primary,#e50914)!important;
    box-shadow:0 0 0 4px rgba(229,9,20,.08)!important;
  }
  .ttm-login-form .ttm-btn{
    min-height:48px!important;
    height:48px!important;
    border-radius:16px!important;
    margin-top:5px!important;
    padding:11px 14px!important;
    font-size:13px!important;
    font-weight:820!important;
    box-shadow:0 16px 32px rgba(229,9,20,.24)!important;
  }
  .ttm-login-shell .ttm-alert{
    min-height:48px!important;
    padding:10px 12px!important;
    border-radius:16px!important;
    font-size:11.5px!important;
    line-height:1.7!important;
    grid-template-columns:28px minmax(0,1fr)!important;
  }
  .ttm-login-shell .ttm-alert::before{
    width:28px!important;
    height:28px!important;
    border-radius:11px!important;
  }
  .ttm-login-footer{
    margin-top:15px!important;
    padding-top:12px!important;
    border-top:1px solid #eef2f7!important;
    font-size:10.8px!important;
    line-height:1.6!important;
    font-weight:700!important;
  }
  .ttm-login-footer a{
    color:#64748b!important;
  }
  .ttm-pwa-install{
    right:14px!important;
    left:14px!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    max-width:none!important;
    border-radius:18px!important;
  }
}
@media (max-width:430px){
  .ttm-login-shell.ttm-login-red,
  .ttm-login-shell{
    padding-inline:10px!important;
  }
  .ttm-login-card{
    width:100%!important;
    max-width:380px!important;
    padding:18px!important;
    border-radius:24px!important;
  }
  .ttm-login-card::before{
    height:5px!important;
  }
  .ttm-login-card-head{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:10px!important;
    margin-bottom:15px!important;
  }
  .ttm-login-card-logo{
    width:52px!important;
    height:52px!important;
    border-radius:17px!important;
  }
  .ttm-login-card h2{
    font-size:20px!important;
  }
  .ttm-login-card p{
    font-size:10.8px!important;
  }
  .ttm-login-tabs{
    height:44px!important;
    border-radius:16px!important;
  }
  .ttm-login-tab{
    min-height:36px!important;
    height:36px!important;
    font-size:11px!important;
  }
  .ttm-login-form input{
    min-height:44px!important;
    height:44px!important;
    border-radius:14px!important;
    font-size:12.5px!important;
  }
  .ttm-login-form .ttm-btn{
    min-height:46px!important;
    height:46px!important;
    border-radius:14px!important;
    font-size:12.5px!important;
  }
}


/* TTM v1.0.0 - Targeted mobile fixes only:
   1) attendance mobile full-width layout
   2) login mobile full-width fields + visual polish
   3) notifications mobile readability cleanup
   Locked: sidebar, panel header, dashboard logic, database and business rules untouched. */
@media (max-width: 780px){

  /* ---------- Login: full-width, cleaner app-like form ---------- */
  html body .ttm-login-shell.ttm-login-red,
  html body .ttm-login-shell{
    width:100vw!important;
    max-width:100vw!important;
    min-height:100dvh!important;
    margin-inline:calc(50% - 50vw)!important;
    padding:calc(10px + env(safe-area-inset-top)) 8px calc(12px + env(safe-area-inset-bottom))!important;
    place-items:center!important;
    align-content:center!important;
    overflow-x:hidden!important;
  }
  html body .ttm-login-card{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:18px 14px 16px!important;
    border-radius:24px!important;
    background:
      linear-gradient(180deg,rgba(255,255,255,.99),rgba(255,255,255,.965)) padding-box,
      linear-gradient(135deg,rgba(229,9,20,.72),rgba(255,255,255,.92),rgba(146,2,10,.28)) border-box!important;
    border:1px solid transparent!important;
    box-shadow:0 24px 64px rgba(15,23,42,.26), 0 0 0 1px rgba(255,255,255,.45) inset!important;
  }
  html body .ttm-login-card::before{
    height:4px!important;
    background:linear-gradient(90deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#92020a),#111827)!important;
  }
  html body .ttm-login-card-head{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 54px!important;
    direction:rtl!important;
    align-items:center!important;
    gap:11px!important;
    margin-bottom:14px!important;
  }
  html body .ttm-login-card-logo{
    grid-column:2!important;
    width:54px!important;
    height:54px!important;
    border-radius:18px!important;
    padding:5px!important;
    justify-self:end!important;
    background:linear-gradient(135deg,#111827,#050608)!important;
    box-shadow:0 16px 34px rgba(229,9,20,.20)!important;
  }
  html body .ttm-login-card-head > div{
    grid-column:1!important;
    min-width:0!important;
    text-align:right!important;
  }
  html body .ttm-login-card h2{
    font-size:21px!important;
    line-height:1.25!important;
    font-weight:900!important;
    letter-spacing:-.025em!important;
    color:#0f172a!important;
  }
  html body .ttm-login-card p{
    font-size:11px!important;
    line-height:1.65!important;
    color:#64748b!important;
  }
  html body .ttm-login-tabs{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    height:auto!important;
    min-height:46px!important;
    margin:12px 0 14px!important;
    padding:4px!important;
    border-radius:18px!important;
    background:#f1f5f9!important;
  }
  html body .ttm-login-tab{
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    height:38px!important;
    border-radius:14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:11.5px!important;
    font-weight:850!important;
  }
  html body .ttm-login-form,
  html body .ttm-login-form form,
  html body .ttm-otp-smart-form,
  html body .ttm-otp-request,
  html body .ttm-otp-verify{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  html body .ttm-login-form.is-active{
    display:block!important;
  }
  html body .ttm-login-form form,
  html body .ttm-otp-request,
  html body .ttm-otp-verify{
    display:grid!important;
    gap:11px!important;
  }
  html body .ttm-login-form label{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    display:grid!important;
    gap:7px!important;
    margin:0!important;
    font-size:11.5px!important;
    line-height:1.55!important;
    color:#0f172a!important;
    font-weight:850!important;
  }
  html body .ttm-login-form input,
  html body .ttm-login-form select,
  html body .ttm-login-form textarea,
  html body .ttm-login-form .ttm-password-wrap,
  html body .ttm-login-form .ttm-btn,
  html body .ttm-login-form button[type="submit"]{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  html body .ttm-login-form input{
    min-height:48px!important;
    height:48px!important;
    border-radius:17px!important;
    padding:11px 14px!important;
    background:linear-gradient(180deg,#fff,#fbfdff)!important;
    border:1px solid #dbe4ef!important;
    box-shadow:0 9px 22px rgba(15,23,42,.035), inset 0 1px 0 rgba(255,255,255,.9)!important;
    font-size:13px!important;
    font-weight:700!important;
  }
  html body .ttm-login-form input:focus{
    border-color:var(--ttm-primary,#e50914)!important;
    box-shadow:0 0 0 4px rgba(229,9,20,.08),0 12px 28px rgba(15,23,42,.055)!important;
  }
  html body .ttm-password-wrap input{
    padding-inline-start:52px!important;
  }
  html body .ttm-password-toggle{
    left:8px!important;
    width:36px!important;
    height:36px!important;
    min-height:36px!important;
    border-radius:13px!important;
    background:#f1f5f9!important;
  }
  html body .ttm-login-form .ttm-btn,
  html body .ttm-login-form button[type="submit"]{
    min-height:50px!important;
    height:50px!important;
    border-radius:18px!important;
    margin-top:4px!important;
    font-size:13px!important;
    font-weight:950!important;
    letter-spacing:-.01em!important;
    background:linear-gradient(135deg,var(--ttm-primary,#e50914),#7f1118 58%,#231113)!important;
    box-shadow:0 18px 34px rgba(229,9,20,.25)!important;
  }
  html body .ttm-login-footer{
    width:100%!important;
    margin-top:14px!important;
    padding-top:11px!important;
    text-align:center!important;
  }

  /* ---------- Attendance: force true mobile full-width ---------- */
  html body .ttm-main .ttm-attendance-shell,
  html body .ttm-main .ttm-attendance-laliga{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    gap:12px!important;
  }
  html body .ttm-main .ttm-attendance-shell > *,
  html body .ttm-main .ttm-attendance-laliga > *,
  html body .ttm-main .ttm-attendance-hero,
  html body .ttm-main .ttm-attendance-actions,
  html body .ttm-main .ttm-attendance-history,
  html body .ttm-main .ttm-attendance-team-today,
  html body .ttm-main .ttm-attendance-obligation-card,
  html body .ttm-main .ttm-shift-guide-card{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-attendance-hero{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:16px 14px!important;
    border-radius:24px!important;
    min-height:auto!important;
    text-align:center!important;
    background:
      radial-gradient(circle at 12% 0%,rgba(255,255,255,.16),transparent 30%),
      linear-gradient(145deg,#111827,#1f1720 52%,var(--ttm-primary-2,#92020a))!important;
  }
  html body .ttm-main .ttm-attendance-hero h3{
    font-size:22px!important;
    line-height:1.25!important;
    margin:4px 0!important;
  }
  html body .ttm-main .ttm-attendance-hero p,
  html body .ttm-main .ttm-attendance-timezone-note{
    max-width:none!important;
    font-size:11px!important;
    line-height:1.7!important;
  }
  html body .ttm-main .ttm-attendance-status{
    width:100%!important;
    max-width:none!important;
    border-radius:18px!important;
    padding:11px!important;
  }
  html body .ttm-main .ttm-attendance-clock-grid,
  html body .ttm-main .ttm-shift-mini-grid,
  html body .ttm-main .ttm-attendance-metrics,
  html body .ttm-main .ttm-shift-guide-grid{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  html body .ttm-main .ttm-attendance-clock-grid > div,
  html body .ttm-main .ttm-shift-mini-grid > div,
  html body .ttm-main .ttm-attendance-metrics > article,
  html body .ttm-main .ttm-shift-guide-grid > article{
    min-width:0!important;
    width:100%!important;
    min-height:78px!important;
    margin:0!important;
    padding:11px 9px!important;
    border-radius:17px!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-attendance-clock-grid span,
  html body .ttm-main .ttm-shift-mini-grid span,
  html body .ttm-main .ttm-attendance-metrics span,
  html body .ttm-main .ttm-attendance-metrics small{
    font-size:10px!important;
    line-height:1.55!important;
  }
  html body .ttm-main .ttm-attendance-clock-grid strong,
  html body .ttm-main .ttm-shift-mini-grid strong,
  html body .ttm-main .ttm-attendance-metrics strong,
  html body .ttm-main .ttm-attendance-metrics b{
    font-size:15px!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
  }
  html body .ttm-main .ttm-attendance-action-form,
  html body .ttm-main .ttm-attendance-action-form textarea,
  html body .ttm-main .ttm-attendance-buttons{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-attendance-action-form textarea{
    min-height:50px!important;
    max-height:110px!important;
    border-radius:17px!important;
    margin-top:10px!important;
    padding:11px 12px!important;
    font-size:11.5px!important;
  }
  html body .ttm-main .ttm-attendance-buttons{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    margin-top:10px!important;
  }
  html body .ttm-main .ttm-attendance-buttons .ttm-btn,
  html body .ttm-main .ttm-attendance-buttons button{
    width:100%!important;
    max-width:none!important;
    min-height:44px!important;
    height:44px!important;
    padding:8px 6px!important;
    border-radius:15px!important;
    font-size:11px!important;
    line-height:1.35!important;
  }
  html body .ttm-main .ttm-attendance-mobile-list{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    gap:9px!important;
  }
  html body .ttm-main .ttm-attendance-record-card{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    border-radius:18px!important;
    padding:11px!important;
  }
  html body .ttm-main .ttm-attendance-record-card ul{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  /* ---------- Notifications: declutter and create clear hierarchy ---------- */
  html body .ttm-main .ttm-smart-notification-shell,
  html body .ttm-main .ttm-notifications-premium,
  html body .ttm-main .ttm-notifications-premium-smart,
  html body .ttm-main .ttm-notification-list-panel{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-inline:0!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-smart-notification-shell{
    display:grid!important;
    gap:12px!important;
  }
  html body .ttm-main .ttm-smart-hero{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:15px 14px!important;
    border-radius:24px!important;
  }
  html body .ttm-main .ttm-smart-hero .ttm-eyebrow{
    display:inline-flex!important;
    margin-bottom:6px!important;
    font-size:9.5px!important;
  }
  html body .ttm-main .ttm-smart-hero h2{
    font-size:20px!important;
    line-height:1.32!important;
    margin:0 0 5px!important;
  }
  html body .ttm-main .ttm-smart-hero p{
    font-size:11px!important;
    line-height:1.75!important;
    margin:0!important;
  }
  html body .ttm-main .ttm-smart-hero form,
  html body .ttm-main .ttm-smart-hero .ttm-btn{
    width:100%!important;
    max-width:none!important;
  }
  html body .ttm-main .ttm-smart-kpis{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  html body .ttm-main .ttm-smart-kpis article{
    min-height:76px!important;
    padding:11px 9px!important;
    border-radius:18px!important;
  }
  html body .ttm-main .ttm-smart-kpis article span,
  html body .ttm-main .ttm-smart-kpis article small{
    font-size:10px!important;
    line-height:1.55!important;
  }
  html body .ttm-main .ttm-smart-kpis article b{
    font-size:20px!important;
    line-height:1.2!important;
  }
  html body .ttm-main .ttm-smart-rules-card{
    padding:13px!important;
    border-radius:24px!important;
  }
  html body .ttm-main .ttm-smart-alert-grid{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  html body .ttm-main .ttm-smart-alert{
    width:100%!important;
    max-width:none!important;
    min-height:auto!important;
    padding:11px 12px!important;
    border-radius:17px!important;
    text-align:right!important;
  }
  html body .ttm-main .ttm-smart-alert strong{
    font-size:12.5px!important;
    line-height:1.55!important;
  }
  html body .ttm-main .ttm-smart-alert small{
    font-size:10.6px!important;
    line-height:1.65!important;
  }
  html body .ttm-main .ttm-notifications-premium,
  html body .ttm-main .ttm-notifications-premium-smart{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  html body .ttm-main .ttm-notification-side{
    display:none!important;
  }
  html body .ttm-main .ttm-notification-list-panel{
    padding:12px!important;
    border-radius:24px!important;
    background:linear-gradient(180deg,#fff,#fbfcff)!important;
  }
  html body .ttm-main .ttm-filter-tabs,
  html body .ttm-main .ttm-filter-tabs-chips{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:0 0 12px!important;
    margin:0 0 10px!important;
    overflow:visible!important;
    border-bottom:1px solid #eef2f7!important;
  }
  html body .ttm-main .ttm-filter-tabs button,
  html body .ttm-main .ttm-filter-tabs-chips button{
    width:100%!important;
    max-width:none!important;
    min-height:34px!important;
    height:auto!important;
    padding:8px 8px!important;
    border-radius:14px!important;
    font-size:10.5px!important;
    line-height:1.35!important;
    white-space:normal!important;
    text-align:center!important;
  }
  html body .ttm-main .ttm-filter-tabs button.is-active,
  html body .ttm-main .ttm-filter-tabs-chips button.is-active{
    background:linear-gradient(135deg,rgba(229,9,20,.12),rgba(229,9,20,.05))!important;
    color:var(--ttm-primary,#e50914)!important;
    border-color:rgba(229,9,20,.18)!important;
  }
  html body .ttm-main .ttm-notification-row{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr)!important;
    grid-template-areas:
      "icon content"
      "time time"!important;
    gap:8px 10px!important;
    align-items:start!important;
    padding:12px!important;
    margin:0 0 9px!important;
    border-radius:18px!important;
    background:#fff!important;
    border:1px solid #eef2f7!important;
    box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
  }
  html body .ttm-main .ttm-notification-row .ttm-dot{
    position:absolute!important;
    inset-inline-end:10px!important;
    top:13px!important;
    width:6px!important;
    height:6px!important;
  }
  html body .ttm-main .ttm-notification-icon{
    grid-area:icon!important;
    width:32px!important;
    height:32px!important;
    border-radius:12px!important;
    font-size:13px!important;
  }
  html body .ttm-main .ttm-notification-content{
    grid-area:content!important;
    min-width:0!important;
    width:100%!important;
  }
  html body .ttm-main .ttm-notification-content h3{
    font-size:12.8px!important;
    line-height:1.55!important;
    margin:0 0 4px!important;
    padding-inline-end:12px!important;
  }
  html body .ttm-main .ttm-notification-content p{
    font-size:10.8px!important;
    line-height:1.75!important;
    margin:0 0 6px!important;
    color:#64748b!important;
  }
  html body .ttm-main .ttm-notification-content small{
    display:inline-flex!important;
    align-items:center!important;
    min-height:24px!important;
    padding:4px 8px!important;
    border-radius:999px!important;
    font-size:9.8px!important;
    line-height:1.25!important;
    background:#f8fafc!important;
    color:#64748b!important;
  }
  html body .ttm-main .ttm-notification-row time{
    grid-area:time!important;
    justify-self:start!important;
    width:auto!important;
    margin-inline-start:42px!important;
    font-size:9.8px!important;
    color:#94a3b8!important;
  }
  html body .ttm-main .ttm-notification-row.is-unread{
    border-color:rgba(229,9,20,.16)!important;
    background:linear-gradient(135deg,#fff,#fff7f8)!important;
  }
  html body .ttm-main .ttm-notification-row.is-critical,
  html body .ttm-main .ttm-notification-row.is-important{
    border-color:rgba(229,9,20,.24)!important;
    box-shadow:0 12px 30px rgba(229,9,20,.075)!important;
  }
}

/* ==========================================================
   Teamora Team Management v1.0.0 FINAL MOBILE LOCK
   Scope: final mobile full-width repair for attendance + clear notifications hierarchy.
   Non-invasive: CSS-only visual/layout layer, no data or backend changes.
   ========================================================== */
@media (max-width: 780px){
  html,
  body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  /* Escape theme/content wrappers on the mobile app panel. This is what makes
     Attendance/Notifications truly fill the phone viewport instead of sitting
     inside a narrow centered column. */
  html body .entry-content:has(.ttm-portal),
  html body .wp-site-blocks:has(.ttm-portal),
  html body .site-content:has(.ttm-portal),
  html body .content-area:has(.ttm-portal),
  html body .elementor-widget-container:has(.ttm-portal){
    width:100vw!important;
    max-width:100vw!important;
    margin-inline:calc(50% - 50vw)!important;
    padding-inline:0!important;
    overflow-x:hidden!important;
  }

  html body .ttm-portal,
  html body body.ttm-app-page .ttm-portal,
  html body.ttm-app-page .ttm-portal,
  html body.ttm-standalone .ttm-portal,
  html body.ttm-pwa-runtime .ttm-portal{
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    overflow-x:hidden!important;
    background:linear-gradient(180deg,#f7f8fc 0%,#eef2f7 100%)!important;
  }

  html body .ttm-portal > .ttm-main,
  html body.ttm-app-page .ttm-portal > .ttm-main,
  html body.ttm-standalone .ttm-portal > .ttm-main,
  html body.ttm-pwa-runtime .ttm-portal > .ttm-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:10px 10px calc(30px + env(safe-area-inset-bottom,0px))!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }

  html body .ttm-main > .ttm-section,
  html body .ttm-main > .ttm-section.is-active,
  html body .ttm-screen-intro,
  html body .ttm-alert{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
    padding-inline:0!important;
    box-sizing:border-box!important;
  }

  html body .ttm-screen-intro{
    margin:0 0 10px!important;
    padding:10px 6px 4px!important;
    text-align:center!important;
  }
  html body .ttm-screen-intro h2{font-size:16px!important;line-height:1.35!important;margin:0 0 3px!important;}
  html body .ttm-screen-intro p{font-size:10.5px!important;line-height:1.65!important;margin:0!important;color:#64748b!important;}

  /* ---------------- Attendance: final full-width mobile UI ---------------- */
  html body .ttm-main .ttm-attendance-shell,
  html body .ttm-main .ttm-attendance-laliga{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html body .ttm-main .ttm-attendance-shell > *,
  html body .ttm-main .ttm-attendance-laliga > *,
  html body .ttm-main .ttm-attendance-hero,
  html body .ttm-main .ttm-attendance-actions,
  html body .ttm-main .ttm-attendance-obligation-card,
  html body .ttm-main .ttm-attendance-team-today,
  html body .ttm-main .ttm-attendance-history{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
    box-sizing:border-box!important;
  }

  html body .ttm-main .ttm-attendance-hero,
  html body .ttm-main .ttm-attendance-laliga .ttm-attendance-hero{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    min-height:0!important;
    padding:15px 13px!important;
    border-radius:22px!important;
    overflow:hidden!important;
    text-align:center!important;
    background:
      radial-gradient(circle at 14% 0%,rgba(255,255,255,.16),transparent 28%),
      radial-gradient(circle at 90% 115%,rgba(229,9,20,.34),transparent 34%),
      linear-gradient(145deg,#121827 0%,#1d1520 54%,#8f0710 100%)!important;
    box-shadow:0 16px 38px rgba(15,23,42,.14)!important;
  }
  html body .ttm-main .ttm-attendance-hero > div{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    justify-items:center!important;
    text-align:center!important;
  }
  html body .ttm-main .ttm-attendance-hero span{font-size:10px!important;line-height:1.4!important;color:rgba(255,255,255,.78)!important;}
  html body .ttm-main .ttm-attendance-hero h3{font-size:20px!important;line-height:1.28!important;margin:3px 0!important;color:#fff!important;}
  html body .ttm-main .ttm-attendance-hero p,
  html body .ttm-main .ttm-attendance-timezone-note{font-size:10.5px!important;line-height:1.65!important;margin:0!important;color:rgba(255,255,255,.78)!important;}
  html body .ttm-main .ttm-attendance-status{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    border-radius:18px!important;
    padding:11px!important;
    background:rgba(255,255,255,.14)!important;
    border:1px solid rgba(255,255,255,.2)!important;
  }
  html body .ttm-main .ttm-attendance-status strong{font-size:16px!important;line-height:1.35!important;color:#fff!important;}
  html body .ttm-main .ttm-attendance-status small{font-size:9.5px!important;color:rgba(255,255,255,.76)!important;}
  html body .ttm-main .ttm-attendance-status:after{height:6px!important;margin-top:4px!important;}

  html body .ttm-main .ttm-attendance-actions{
    padding:12px!important;
    border-radius:22px!important;
    background:linear-gradient(180deg,#fff,#fbfdff)!important;
    border:1px solid #e9eef5!important;
    box-shadow:0 14px 32px rgba(15,23,42,.065)!important;
  }

  html body .ttm-main .ttm-attendance-clock-grid,
  html body .ttm-main .ttm-shift-mini-grid,
  html body .ttm-main .ttm-attendance-metrics{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:0 0 9px!important;
    box-sizing:border-box!important;
  }

  html body .ttm-main .ttm-attendance-clock-grid > div,
  html body .ttm-main .ttm-shift-mini-grid > div,
  html body .ttm-main .ttm-attendance-metrics > article,
  html body .ttm-main .ttm-attendance-metrics .ttm-premium-metric{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:68px!important;
    margin:0!important;
    padding:10px 8px!important;
    border-radius:16px!important;
    text-align:center!important;
    box-sizing:border-box!important;
    background:linear-gradient(180deg,#fff,#fbfdff)!important;
    border:1px solid #edf2f7!important;
    overflow:hidden!important;
  }

  html body .ttm-main .ttm-attendance-clock-grid span,
  html body .ttm-main .ttm-shift-mini-grid span,
  html body .ttm-main .ttm-attendance-metrics span,
  html body .ttm-main .ttm-attendance-metrics small{
    display:block!important;
    font-size:9.6px!important;
    line-height:1.45!important;
    font-weight:650!important;
    color:#64748b!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  html body .ttm-main .ttm-attendance-clock-grid strong,
  html body .ttm-main .ttm-shift-mini-grid strong,
  html body .ttm-main .ttm-attendance-metrics strong,
  html body .ttm-main .ttm-attendance-metrics b{
    display:block!important;
    margin-top:4px!important;
    font-size:13.5px!important;
    line-height:1.35!important;
    font-weight:850!important;
    color:#101827!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  html body .ttm-main .ttm-attendance-action-form,
  html body .ttm-main .ttm-attendance-action-form textarea,
  html body .ttm-main .ttm-attendance-buttons{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-attendance-action-form textarea{
    min-height:52px!important;
    max-height:96px!important;
    margin:2px 0 9px!important;
    padding:10px 12px!important;
    border-radius:16px!important;
    font-size:11px!important;
    line-height:1.65!important;
    text-align:center!important;
    background:#fff!important;
    color:#111827!important;
  }
  html body .ttm-main .ttm-attendance-buttons{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:0!important;
  }
  html body .ttm-main .ttm-attendance-buttons .ttm-btn,
  html body .ttm-main .ttm-attendance-buttons button{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:43px!important;
    height:auto!important;
    padding:8px 6px!important;
    border-radius:14px!important;
    font-size:10.8px!important;
    line-height:1.35!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
  }

  html body .ttm-main .ttm-attendance-history .ttm-table-wrap,
  html body .ttm-main .ttm-attendance-team-today .ttm-table-wrap{
    display:none!important;
  }
  html body .ttm-main .ttm-attendance-mobile-list{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    gap:8px!important;
    margin:0!important;
  }
  html body .ttm-main .ttm-attendance-record-card{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:10px!important;
    border-radius:17px!important;
    background:#fff!important;
    border:1px solid #edf2f7!important;
    box-shadow:0 9px 22px rgba(15,23,42,.045)!important;
  }
  html body .ttm-main .ttm-attendance-record-card > div{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    margin-bottom:8px!important;
  }
  html body .ttm-main .ttm-attendance-record-card ul{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }
  html body .ttm-main .ttm-attendance-record-card li{
    min-width:0!important;
    padding:8px!important;
    border-radius:13px!important;
    background:#f8fafc!important;
    text-align:center!important;
  }

  /* ---------------- Notifications: final clean mobile hierarchy ---------------- */
  html body .ttm-main .ttm-smart-notification-shell,
  html body .ttm-main .ttm-notifications-premium,
  html body .ttm-main .ttm-notifications-premium-smart,
  html body .ttm-main .ttm-notification-list-panel,
  html body .ttm-main .ttm-smart-rules-card,
  html body .ttm-main .ttm-manager-form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-smart-notification-shell{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin:0!important;
    padding:0!important;
  }
  html body .ttm-main .ttm-smart-hero{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    min-height:0!important;
    padding:14px 13px!important;
    border-radius:22px!important;
    text-align:center!important;
    overflow:hidden!important;
  }
  html body .ttm-main .ttm-smart-hero > div,
  html body .ttm-main .ttm-smart-hero form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    justify-items:center!important;
    text-align:center!important;
  }
  html body .ttm-main .ttm-smart-hero .ttm-eyebrow{font-size:9px!important;margin:0 0 4px!important;}
  html body .ttm-main .ttm-smart-hero h2{font-size:18px!important;line-height:1.35!important;margin:0 0 4px!important;}
  html body .ttm-main .ttm-smart-hero p{font-size:10.5px!important;line-height:1.75!important;margin:0!important;}
  html body .ttm-main .ttm-smart-hero .ttm-btn{width:100%!important;max-width:100%!important;min-height:40px!important;border-radius:14px!important;font-size:10.8px!important;}

  html body .ttm-main .ttm-smart-kpis{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:0!important;
  }
  html body .ttm-main .ttm-smart-kpis article{
    width:100%!important;
    min-width:0!important;
    min-height:70px!important;
    padding:10px 8px!important;
    border-radius:16px!important;
    text-align:center!important;
    background:#fff!important;
    border:1px solid #edf2f7!important;
    box-shadow:0 9px 22px rgba(15,23,42,.045)!important;
  }
  html body .ttm-main .ttm-smart-kpis article span,
  html body .ttm-main .ttm-smart-kpis article small{font-size:9.6px!important;line-height:1.45!important;color:#64748b!important;}
  html body .ttm-main .ttm-smart-kpis article b{font-size:18px!important;line-height:1.25!important;margin:2px 0!important;color:#101827!important;}

  html body .ttm-main .ttm-smart-rules-card,
  html body .ttm-main .ttm-manager-form,
  html body .ttm-main .ttm-notification-list-panel{
    padding:12px!important;
    border-radius:22px!important;
    background:linear-gradient(180deg,#fff,#fbfdff)!important;
    border:1px solid #e9eef5!important;
    box-shadow:0 14px 32px rgba(15,23,42,.055)!important;
  }
  html body .ttm-main .ttm-card-head{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    text-align:center!important;
    gap:5px!important;
    margin-bottom:10px!important;
  }
  html body .ttm-main .ttm-card-head > span{
    width:34px!important;
    height:34px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:13px!important;
    background:rgba(229,9,20,.08)!important;
    color:var(--ttm-primary,#e50914)!important;
  }
  html body .ttm-main .ttm-card-head h3{font-size:13.5px!important;line-height:1.45!important;margin:0!important;}
  html body .ttm-main .ttm-card-head p{font-size:10.4px!important;line-height:1.65!important;margin:2px 0 0!important;color:#64748b!important;}

  html body .ttm-main .ttm-smart-alert-grid{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin:0!important;
  }
  html body .ttm-main .ttm-smart-alert{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    display:grid!important;
    gap:3px!important;
    padding:10px 11px!important;
    border-radius:16px!important;
    text-align:right!important;
    background:#fff!important;
  }
  html body .ttm-main .ttm-smart-alert span{font-size:9px!important;line-height:1.3!important;}
  html body .ttm-main .ttm-smart-alert strong{font-size:12.2px!important;line-height:1.55!important;}
  html body .ttm-main .ttm-smart-alert small{font-size:10.4px!important;line-height:1.65!important;color:#64748b!important;}

  html body .ttm-main .ttm-notifications-premium,
  html body .ttm-main .ttm-notifications-premium-smart{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin:10px 0 0!important;
    padding:0!important;
  }
  html body .ttm-main .ttm-notification-side,
  html body .ttm-main .ttm-notification-side-clean{
    display:none!important;
  }
  html body .ttm-main .ttm-filter-tabs,
  html body .ttm-main .ttm-filter-tabs-chips{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    padding:0 0 10px!important;
    margin:0 0 10px!important;
    border-bottom:1px solid #edf2f7!important;
    overflow:visible!important;
  }
  html body .ttm-main .ttm-filter-tabs button,
  html body .ttm-main .ttm-filter-tabs-chips button{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:34px!important;
    height:auto!important;
    padding:7px 6px!important;
    border-radius:13px!important;
    font-size:10.2px!important;
    line-height:1.4!important;
    white-space:normal!important;
    text-align:center!important;
    box-shadow:none!important;
  }
  html body .ttm-main .ttm-filter-tabs button.is-active,
  html body .ttm-main .ttm-filter-tabs-chips button.is-active{
    background:linear-gradient(135deg,rgba(229,9,20,.12),rgba(229,9,20,.045))!important;
    color:var(--ttm-primary,#e50914)!important;
    border-color:rgba(229,9,20,.2)!important;
  }

  html body .ttm-main .ttm-notification-row{
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    grid-template-areas:"icon content" "time time"!important;
    gap:7px 9px!important;
    align-items:start!important;
    padding:11px!important;
    margin:0 0 8px!important;
    border-radius:17px!important;
    background:#fff!important;
    border:1px solid #edf2f7!important;
    box-shadow:0 9px 22px rgba(15,23,42,.045)!important;
    overflow:hidden!important;
    direction:rtl!important;
    writing-mode:horizontal-tb!important;
  }
  html body .ttm-main .ttm-notification-row .ttm-dot{
    position:absolute!important;
    top:12px!important;
    inset-inline-end:10px!important;
    width:6px!important;
    height:6px!important;
    min-width:6px!important;
    border-radius:999px!important;
    opacity:.85!important;
  }
  html body .ttm-main .ttm-notification-icon{
    grid-area:icon!important;
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    border-radius:13px!important;
    font-size:14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  html body .ttm-main .ttm-notification-content{
    grid-area:content!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    text-align:right!important;
    direction:rtl!important;
  }
  html body .ttm-main .ttm-notification-content h3{
    display:block!important;
    margin:0 0 3px!important;
    padding-inline-end:10px!important;
    font-size:12.4px!important;
    line-height:1.55!important;
    font-weight:850!important;
    color:#101827!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  html body .ttm-main .ttm-notification-content p{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    margin:0 0 6px!important;
    font-size:10.6px!important;
    line-height:1.65!important;
    color:#64748b!important;
    overflow:hidden!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  html body .ttm-main .ttm-notification-content small{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    max-width:100%!important;
    min-height:22px!important;
    padding:3px 8px!important;
    border-radius:999px!important;
    background:#f8fafc!important;
    color:#64748b!important;
    font-size:9.4px!important;
    line-height:1.35!important;
    white-space:normal!important;
  }
  html body .ttm-main .ttm-notification-row time{
    grid-area:time!important;
    justify-self:start!important;
    width:auto!important;
    margin:0 45px 0 0!important;
    padding:0!important;
    background:transparent!important;
    border-radius:0!important;
    color:#94a3b8!important;
    font-size:9.2px!important;
    line-height:1.4!important;
    text-align:right!important;
    white-space:normal!important;
  }
  html body .ttm-main .ttm-notification-row.is-unread{
    border-color:rgba(229,9,20,.16)!important;
    background:linear-gradient(135deg,#fff,#fff8f9)!important;
  }
  html body .ttm-main .ttm-notification-row.is-critical,
  html body .ttm-main .ttm-notification-row.is-important{
    border-color:rgba(229,9,20,.24)!important;
    box-shadow:0 11px 26px rgba(229,9,20,.075)!important;
  }
}

@media (max-width: 360px){
  html body .ttm-main .ttm-attendance-clock-grid,
  html body .ttm-main .ttm-shift-mini-grid,
  html body .ttm-main .ttm-attendance-metrics,
  html body .ttm-main .ttm-smart-kpis,
  html body .ttm-main .ttm-filter-tabs,
  html body .ttm-main .ttm-filter-tabs-chips{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  html body .ttm-main .ttm-attendance-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  html body .ttm-main .ttm-attendance-clock-grid > div,
  html body .ttm-main .ttm-shift-mini-grid > div,
  html body .ttm-main .ttm-attendance-metrics > article,
  html body .ttm-main .ttm-smart-kpis article{
    padding:8px 5px!important;
    min-height:64px!important;
  }
}

/* TTM v1.0.0 - login-only final centering and minimalist redesign
   Scope locked to login page only. No panel/sidebar/dashboard overrides here. */
html body .ttm-login-shell,
html body .ttm-login-shell.ttm-login-red{
  min-height:100svh!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:34px 24px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(400px,470px)!important;
  align-items:center!important;
  gap:34px!important;
  background:
    radial-gradient(circle at 10% 14%,rgba(229,9,20,.09),transparent 23%),
    radial-gradient(circle at 88% 86%,rgba(17,24,39,.06),transparent 26%),
    linear-gradient(180deg,#f7f8fb 0%,#eef2f7 100%)!important;
  color:#101827!important;
}
html body .ttm-login-shell::before,
html body .ttm-login-shell::after{
  content:""!important;
  position:absolute!important;
  pointer-events:none!important;
}
html body .ttm-login-shell::before{
  inset:auto auto 9% 4%!important;
  width:220px!important;
  height:220px!important;
  border-radius:999px!important;
  background:radial-gradient(circle,rgba(229,9,20,.08) 0%,rgba(229,9,20,0) 72%)!important;
}
html body .ttm-login-shell::after{
  inset:7% 6% auto auto!important;
  width:180px!important;
  height:180px!important;
  border-radius:999px!important;
  background:radial-gradient(circle,rgba(17,24,39,.07) 0%,rgba(17,24,39,0) 70%)!important;
}
html body .ttm-login-hero{
  position:relative!important;
  min-height:unset!important;
  padding:38px!important;
  margin:0!important;
  border-radius:34px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:linear-gradient(155deg,#11141c 0%,#1a1624 48%,#8f0b14 100%)!important;
  box-shadow:0 26px 60px rgba(15,23,42,.16)!important;
  color:#fff!important;
  justify-content:center!important;
}
html body .ttm-hero-glow{
  opacity:.55!important;
}
html body .ttm-brand-lockup{
  align-items:center!important;
  gap:16px!important;
  margin-bottom:14px!important;
}
html body .ttm-login-logo{
  width:88px!important;
  height:88px!important;
  border-radius:24px!important;
  box-shadow:0 18px 38px rgba(0,0,0,.22)!important;
}
html body .ttm-login-hero .ttm-eyebrow{
  padding:6px 12px!important;
  border-radius:999px!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:0!important;
}
html body .ttm-login-hero h1{
  margin:10px 0 0!important;
  font-size:32px!important;
  line-height:1.35!important;
  font-weight:950!important;
}
html body .ttm-login-hero p{
  max-width:540px!important;
  margin:16px 0 20px!important;
  font-size:15px!important;
  line-height:1.95!important;
  color:rgba(255,255,255,.86)!important;
}
html body .ttm-login-benefits{
  grid-template-columns:1fr!important;
  gap:10px!important;
  max-width:none!important;
}
html body .ttm-login-benefits span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:50px!important;
  padding:12px 16px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:850!important;
}
html body .ttm-login-card{
  position:relative!important;
  width:100%!important;
  max-width:470px!important;
  margin:0 auto!important;
  padding:30px 28px 24px!important;
  border-radius:32px!important;
  border:1px solid #e9edf4!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 22px 55px rgba(15,23,42,.10)!important;
}
html body .ttm-login-card::before{
  content:""!important;
  position:absolute!important;
  inset:0 0 auto 0!important;
  height:4px!important;
  border-radius:32px 32px 0 0!important;
  background:linear-gradient(90deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#92020a))!important;
}
html body .ttm-login-card-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  text-align:center!important;
  margin:0 0 18px!important;
}
html body .ttm-login-card-logo{
  width:70px!important;
  height:70px!important;
  margin:0 auto!important;
  border-radius:22px!important;
  box-shadow:0 14px 28px rgba(229,9,20,.16)!important;
}
html body .ttm-login-card-head > div{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
html body .ttm-login-card h2{
  width:100%!important;
  margin:0!important;
  text-align:center!important;
  color:#0f172a!important;
  font-size:31px!important;
  line-height:1.25!important;
  font-weight:950!important;
}
html body .ttm-login-card p{
  width:100%!important;
  max-width:320px!important;
  margin:6px auto 0!important;
  text-align:center!important;
  color:#64748b!important;
  font-size:13px!important;
  line-height:1.85!important;
  font-weight:700!important;
}
html body .ttm-login-tabs{
  margin:0 0 18px!important;
  padding:6px!important;
  border-radius:18px!important;
  background:#f5f7fb!important;
  border:1px solid #e7edf5!important;
}
html body .ttm-login-tab{
  min-height:46px!important;
  border-radius:14px!important;
  font-size:13px!important;
  font-weight:900!important;
}
html body .ttm-login-tab.is-active{
  background:#fff!important;
  color:var(--ttm-primary,#e50914)!important;
  box-shadow:0 10px 20px rgba(15,23,42,.08)!important;
}
html body .ttm-login-form,
html body .ttm-login-form form,
html body .ttm-otp-request,
html body .ttm-otp-verify{
  width:100%!important;
  gap:12px!important;
}
html body .ttm-login-form label{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  color:#0f172a!important;
  font-size:13px!important;
  font-weight:900!important;
}
html body .ttm-login-form input,
html body .ttm-login-form select,
html body .ttm-login-form textarea,
html body .ttm-login-form .ttm-password-wrap,
html body .ttm-login-form button[type="submit"],
html body .ttm-login-form .ttm-btn{
  width:100%!important;
  max-width:100%!important;
}
html body .ttm-login-form input,
html body .ttm-login-form select,
html body .ttm-login-form textarea{
  min-height:54px!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  border:1px solid #dbe3ee!important;
  background:#f8fafc!important;
  color:#0f172a!important;
  font-size:14px!important;
  line-height:1.45!important;
  box-shadow:none!important;
}
html body .ttm-login-form input::placeholder,
html body .ttm-login-form textarea::placeholder{
  color:#9aa6b2!important;
}
html body .ttm-login-form input:focus,
html body .ttm-login-form select:focus,
html body .ttm-login-form textarea:focus{
  border-color:rgba(229,9,20,.42)!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(229,9,20,.10)!important;
}
html body .ttm-login-shell .ttm-password-wrap{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 46px!important;
  align-items:stretch!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#f8fafc!important;
}
html body .ttm-login-shell .ttm-password-wrap input{
  border:0!important;
  background:transparent!important;
  min-height:54px!important;
  padding-inline-end:16px!important;
  box-shadow:none!important;
}
html body .ttm-login-shell .ttm-password-toggle{
  width:46px!important;
  min-width:46px!important;
  height:54px!important;
  border:0!important;
  border-inline-start:1px solid #e6ebf2!important;
  background:transparent!important;
  color:#64748b!important;
}
html body .ttm-login-form .ttm-btn,
html body .ttm-login-form button[type="submit"]{
  min-height:54px!important;
  margin-top:6px!important;
  border-radius:18px!important;
  font-size:14px!important;
  font-weight:950!important;
  box-shadow:0 16px 34px rgba(229,9,20,.18)!important;
}
html body .ttm-login-footer{
  margin-top:16px!important;
  text-align:center!important;
  color:#94a3b8!important;
  font-size:12px!important;
  font-weight:800!important;
}
html body .ttm-login-footer a{
  color:#64748b!important;
}
@media (max-width: 980px){
  html body .ttm-login-shell,
  html body .ttm-login-shell.ttm-login-red{
    grid-template-columns:minmax(0,1fr)!important;
    max-width:540px!important;
    padding:22px 16px!important;
    gap:18px!important;
  }
  html body .ttm-login-hero{
    display:none!important;
  }
  html body .ttm-login-card{
    max-width:none!important;
  }
}
@media (max-width: 640px){
  html body .ttm-login-shell,
  html body .ttm-login-shell.ttm-login-red{
    padding:16px 12px 24px!important;
  }
  html body .ttm-login-card{
    padding:24px 18px 20px!important;
    border-radius:26px!important;
  }
  html body .ttm-login-card::before{
    border-radius:26px 26px 0 0!important;
  }
  html body .ttm-login-card-head{
    gap:10px!important;
  }
  html body .ttm-login-card-logo{
    width:64px!important;
    height:64px!important;
    border-radius:20px!important;
  }
  html body .ttm-login-card h2{
    font-size:28px!important;
  }
  html body .ttm-login-card p{
    font-size:12.5px!important;
    max-width:260px!important;
  }
  html body .ttm-login-tabs{
    margin-bottom:16px!important;
  }
  html body .ttm-login-tab{
    min-height:44px!important;
  }
}

/* TTM v1.0.0 - login mobile compact height only
   Scope locked to mobile login page only. */
@media (max-width: 640px){
  html body .ttm-login-shell,
  html body .ttm-login-shell.ttm-login-red{
    min-height:100svh!important;
    align-items:start!important;
    align-content:start!important;
    padding:10px 10px 14px!important;
    gap:10px!important;
    background:linear-gradient(180deg,#f6f7fb 0%,#edf1f6 100%)!important;
  }
  html body .ttm-login-shell::before,
  html body .ttm-login-shell::after{
    display:none!important;
  }
  html body .ttm-login-card{
    margin:0 auto!important;
    padding:16px 14px 14px!important;
    border-radius:22px!important;
    box-shadow:0 14px 34px rgba(15,23,42,.08)!important;
  }
  html body .ttm-login-card::before{
    height:3px!important;
    border-radius:22px 22px 0 0!important;
  }
  html body .ttm-login-card-head{
    gap:8px!important;
    margin:0 0 12px!important;
  }
  html body .ttm-login-card-logo{
    width:50px!important;
    height:50px!important;
    border-radius:16px!important;
    box-shadow:0 8px 18px rgba(229,9,20,.12)!important;
  }
  html body .ttm-login-card h2{
    font-size:18px!important;
    line-height:1.2!important;
  }
  html body .ttm-login-card p{
    max-width:220px!important;
    margin-top:2px!important;
    font-size:11px!important;
    line-height:1.55!important;
  }
  html body .ttm-login-tabs{
    margin:0 0 12px!important;
    padding:4px!important;
    border-radius:14px!important;
  }
  html body .ttm-login-tab{
    min-height:38px!important;
    padding:8px 6px!important;
    font-size:12px!important;
    border-radius:11px!important;
  }
  html body .ttm-login-form,
  html body .ttm-login-form form,
  html body .ttm-otp-request,
  html body .ttm-otp-verify{
    gap:9px!important;
  }
  html body .ttm-login-form label{
    gap:5px!important;
    font-size:11.5px!important;
  }
  html body .ttm-login-form input,
  html body .ttm-login-form select,
  html body .ttm-login-form textarea{
    min-height:42px!important;
    padding:10px 13px!important;
    border-radius:14px!important;
    font-size:12.5px!important;
  }
  html body .ttm-login-shell .ttm-password-wrap input{
    min-height:42px!important;
    padding-inline-end:13px!important;
  }
  html body .ttm-login-shell .ttm-password-toggle{
    height:42px!important;
    width:42px!important;
    min-width:42px!important;
  }
  html body .ttm-login-form .ttm-btn,
  html body .ttm-login-form button[type="submit"]{
    min-height:44px!important;
    margin-top:3px!important;
    border-radius:14px!important;
    font-size:12.5px!important;
    box-shadow:0 10px 20px rgba(229,9,20,.14)!important;
  }
  html body .ttm-login-footer{
    margin-top:10px!important;
    font-size:10.5px!important;
  }
  html body .ttm-alert{
    margin-bottom:10px!important;
    padding:10px 12px!important;
    border-radius:13px!important;
    font-size:11.5px!important;
  }
}

/* TTM v1.0.0 - login mobile exact centering only */
@media (max-width: 640px){
  html body .ttm-login-shell,
  html body .ttm-login-shell.ttm-login-red{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }
  html body .ttm-login-card{
    width:100%!important;
    max-width:100%!important;
    margin-inline:auto!important;
    align-self:center!important;
    justify-self:center!important;
  }
  html body .ttm-login-card-head,
  html body .ttm-login-card-head > div{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
  html body .ttm-login-card-logo{
    display:block!important;
    margin:0 auto!important;
  }
  html body .ttm-login-card h2,
  html body .ttm-login-card p{
    width:100%!important;
    text-align:center!important;
    margin-inline:auto!important;
  }
  html body .ttm-login-card p{
    max-width:240px!important;
  }
}

/* TTM v1.0.0 - login mobile full card centering only */
@media (max-width: 640px){
  html body .ttm-login-shell,
  html body .ttm-login-shell.ttm-login-red{
    min-height:100svh!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    align-content:center!important;
    width:100%!important;
    max-width:none!important;
    padding:14px!important;
  }
  html body .ttm-login-card{
    width:min(100%, 360px)!important;
    max-width:min(100%, 360px)!important;
    margin:auto!important;
    align-self:center!important;
    justify-self:center!important;
  }
}


/* TTM v1.0.0 - targeted lock:
   1) uploads reverted to pre-v26 look (no late ugly override)
   2) attendance daily records full-width, one-row metrics
   3) leaves top CTA stays compact
   Scope: mobile only, no sidebar/header/dashboard logic changes. */
@media (max-width: 640px){
  /* Upload: explicitly neutralize the v26 upload redesign if cached CSS order ever overlaps.
     Keeps the previous attractive/default plugin styling instead of forcing the red dashed box. */
  html body .ttm-main .ttm-upload-field,
  html body .ttm-main .ttm-attachment-field{
    padding:unset!important;
    background:unset!important;
    border:unset!important;
    box-shadow:unset!important;
    border-radius:unset!important;
  }
  html body .ttm-main .ttm-upload-field input[type=file],
  html body .ttm-main .ttm-attachment-field input[type=file]{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:36px!important;
    min-height:36px!important;
    padding:6px 7px!important;
    border-radius:12px!important;
    border:1px solid #e5e7eb!important;
    background:#fff!important;
    color:#334155!important;
    font-size:10px!important;
    line-height:1.2!important;
    overflow:hidden!important;
  }
  html body .ttm-main .ttm-upload-field input[type=file]::file-selector-button,
  html body .ttm-main .ttm-attachment-field input[type=file]::file-selector-button{
    border:0!important;
    border-radius:10px!important;
    background:#f1f5f9!important;
    color:#334155!important;
    padding:6px 9px!important;
    margin-inline-end:8px!important;
    font-size:10px!important;
    font-family:inherit!important;
    font-weight:700!important;
  }
  html body .ttm-main .ttm-upload-field small,
  html body .ttm-main .ttm-attachment-field small,
  html body .ttm-main .ttm-upload-field .ttm-media-name,
  html body .ttm-main .ttm-attachment-field .ttm-media-name{
    display:block!important;
    margin-top:6px!important;
    font-size:10px!important;
    line-height:1.55!important;
    color:#64748b!important;
    text-align:center!important;
  }

  /* Leaves toolbar: keep button compact so title does not wrap/break. */
  html body .ttm-main .ttm-leaves-toolbar,
  html body .ttm-main .ttm-section-toolbar.ttm-leaves-toolbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
  }
  html body .ttm-main .ttm-leaves-toolbar > div{min-width:0!important;}
  html body .ttm-main .ttm-leaves-toolbar h2{
    font-size:13px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html body .ttm-main .ttm-new-leave-header-btn,
  html body .ttm-main a.ttm-new-leave-header-btn{
    min-height:28px!important;
    height:28px!important;
    padding:5px 8px!important;
    border-radius:11px!important;
    font-size:8.9px!important;
    font-weight:780!important;
    line-height:1!important;
    white-space:nowrap!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  /* Attendance history/team records: each day is a true full-width row.
     Metrics stay in one horizontal row, not stacked/two-row. */
  html body .ttm-main .ttm-attendance-history,
  html body .ttm-main .ttm-attendance-team-today{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
    padding:12px!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-attendance-history .ttm-table-wrap,
  html body .ttm-main .ttm-attendance-team-today .ttm-table-wrap{
    display:none!important;
  }
  html body .ttm-main .ttm-attendance-mobile-list{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    justify-items:stretch!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-attendance-record-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:9px 10px!important;
    border-radius:17px!important;
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:stretch!important;
    background:#fff!important;
    border:1px solid #edf2f7!important;
    box-shadow:0 9px 22px rgba(15,23,42,.045)!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-attendance-record-card > div{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:5px!important;
  }
  html body .ttm-main .ttm-attendance-record-card > div b{
    max-width:100%!important;
    font-size:11px!important;
    line-height:1.45!important;
    font-weight:850!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  html body .ttm-main .ttm-attendance-record-card .ttm-status-badge{
    min-height:20px!important;
    padding:3px 6px!important;
    border-radius:999px!important;
    font-size:8.5px!important;
    line-height:1.2!important;
  }
  html body .ttm-main .ttm-attendance-record-card ul{
    width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    align-items:stretch!important;
  }
  html body .ttm-main .ttm-attendance-record-card li{
    min-width:0!important;
    min-height:46px!important;
    padding:6px 3px!important;
    border-radius:12px!important;
    background:#f8fafc!important;
    border:1px solid #eef2f7!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:2px!important;
    box-sizing:border-box!important;
  }
  html body .ttm-main .ttm-attendance-record-card li span{
    display:block!important;
    font-size:8.1px!important;
    line-height:1.25!important;
    color:#64748b!important;
    font-weight:650!important;
    white-space:nowrap!important;
  }
  html body .ttm-main .ttm-attendance-record-card li strong{
    display:block!important;
    font-size:9.1px!important;
    line-height:1.25!important;
    color:#0f172a!important;
    font-weight:820!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:100%!important;
  }
}
@media (max-width: 370px){
  html body .ttm-main .ttm-attendance-record-card{
    grid-template-columns:66px minmax(0,1fr)!important;
    gap:6px!important;
    padding:8px!important;
  }
  html body .ttm-main .ttm-attendance-record-card ul{
    gap:4px!important;
  }
  html body .ttm-main .ttm-attendance-record-card li{
    padding:5px 2px!important;
  }
  html body .ttm-main .ttm-attendance-record-card li span{font-size:7.4px!important;}
  html body .ttm-main .ttm-attendance-record-card li strong{font-size:8.2px!important;}
}



/* TTM v1.0.0 - root upload runtime fix + attendance row safety
   Scope locked: upload runtime visual bug and attendance record rows only. */
@media (max-width: 640px){
  html body .ttm-main .ttm-upload-enhanced{
    display:contents!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  html body .ttm-main .ttm-upload-enhanced .ttm-file-meta,
  html body .ttm-main .ttm-upload-enhanced .ttm-file-selected,
  html body .ttm-main .ttm-upload-enhanced .ttm-file-hint,
  html body .ttm-main .ttm-upload-enhanced .ttm-file-error{
    display:none!important;
  }
  html body .ttm-main .ttm-upload-enhanced input[type="file"],
  html body .ttm-main .ttm-profile-file-field input[type="file"],
  html body .ttm-main .ttm-profile-upload-box input[type="file"],
  html body .ttm-main .ttm-upload-field input[type="file"],
  html body .ttm-main .ttm-attachment-field input[type="file"]{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:36px!important;
    min-height:36px!important;
    padding:6px 7px!important;
    border-radius:12px!important;
    border:1px solid #dbe2ea!important;
    background:#fff!important;
    color:#334155!important;
    font-size:10px!important;
    line-height:1.2!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  html body .ttm-main .ttm-upload-enhanced input[type="file"]::file-selector-button,
  html body .ttm-main .ttm-profile-file-field input[type="file"]::file-selector-button,
  html body .ttm-main .ttm-profile-upload-box input[type="file"]::file-selector-button,
  html body .ttm-main .ttm-upload-field input[type="file"]::file-selector-button,
  html body .ttm-main .ttm-attachment-field input[type="file"]::file-selector-button{
    border:0!important;
    border-radius:10px!important;
    background:#f1f5f9!important;
    color:#334155!important;
    padding:6px 9px!important;
    margin-inline-end:8px!important;
    font-size:10px!important;
    font-family:inherit!important;
    font-weight:700!important;
    box-shadow:none!important;
  }
  html body .ttm-main .ttm-attendance-history .ttm-attendance-record-card,
  html body .ttm-main .ttm-attendance-team-today .ttm-attendance-record-card{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:76px minmax(0,1fr)!important;
  }
  html body .ttm-main .ttm-attendance-record-card ul{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

/* Teamora PWA notification controls */
.ttm-pwa-notification-control{display:flex;flex-direction:column;gap:8px;align-items:flex-start;justify-content:center}
.ttm-pwa-notification-control small{display:block;max-width:280px;color:rgba(255,255,255,.78);font-size:11px;font-weight:800;line-height:1.8;text-align:right}
.ttm-pwa-notification-control small[data-state="granted"]{color:#dcfce7}
.ttm-pwa-notification-control small[data-state="denied"],.ttm-pwa-notification-control small[data-state="error"]{color:#fee2e2}
@media(max-width:720px){.ttm-pwa-notification-control{align-items:stretch}.ttm-pwa-notification-control small{max-width:none;text-align:center}}

/* TTM v1.0.1 — locked emergency patch: login full-bleed + one loader + WordPress font inheritance only. */
html body.ttm-standalone,
html body.ttm-app-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow-x:hidden!important;
}
html body .ttm-login-shell,
html body .ttm-login-shell.ttm-login-red{
  width:100vw!important;
  max-width:none!important;
  min-height:100svh!important;
  margin:0!important;
  margin-inline:calc(50% - 50vw)!important;
  padding:34px clamp(18px,3vw,42px)!important;
  box-sizing:border-box!important;
  border-radius:0!important;
  font-family:var(--ttm-wp-font-family,var(--ttm-font-family,inherit))!important;
}
html body .ttm-login-shell *,
html body .ttm-portal *,
html body .ttm-pwa-install{
  font-family:var(--ttm-wp-font-family,var(--ttm-font-family,inherit))!important;
}
html body .ttm-login-form button[type="submit"].is-loading,
html body .ttm-login-form .ttm-btn.is-loading{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
}
html body .ttm-login-form button[type="submit"].is-loading::before,
html body .ttm-login-form button[type="submit"].is-loading::after,
html body .ttm-login-form .ttm-btn.is-loading::before,
html body .ttm-login-form .ttm-btn.is-loading::after{
  content:none!important;
  display:none!important;
  animation:none!important;
}
html body .ttm-login-form button[type="submit"].is-loading .ttm-btn-spinner,
html body .ttm-login-form .ttm-btn.is-loading .ttm-btn-spinner{
  display:inline-flex!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:0!important;
}
@media (max-width:980px){
  html body .ttm-login-shell,
  html body .ttm-login-shell.ttm-login-red{
    width:100vw!important;
    max-width:none!important;
    margin:0!important;
    margin-inline:calc(50% - 50vw)!important;
    padding:22px 16px!important;
  }
}
@media (max-width:640px){
  html body .ttm-login-shell,
  html body .ttm-login-shell.ttm-login-red{
    width:100vw!important;
    max-width:none!important;
    min-height:100svh!important;
    margin:0!important;
    margin-inline:calc(50% - 50vw)!important;
    padding:14px!important;
    justify-content:center!important;
  }
  html body .ttm-login-card{
    width:min(100%, 420px)!important;
    max-width:min(100%, 420px)!important;
  }
}


/* Teamora 1.0.4 — PWA/mobile font and logout loader hardening */
:root{
  --ttm-font-stack:var(--ttm-wp-font-family,var(--ttm-font-family,"TTM Yekan Bakh Local","TTM Yekan Bakh","Yekan_Bakh","Yekan Bakh","YekanBakh","IRANYekanX",Tahoma,Arial,sans-serif))!important;
}
html body.ttm-app-page,
html body.ttm-standalone,
html body.ttm-pwa-runtime,
html body .ttm-login-shell,
html body .ttm-portal,
html body .ttm-pwa-install,
html body .ttm-login-shell *,
html body .ttm-portal *{
  font-family:var(--ttm-wp-font-family,var(--ttm-font-family,var(--ttm-font-stack,inherit)))!important;
}
html body .ttm-logout-loading::before,
html body .ttm-logout-loading::after,
html body .ttm-logout-is-loading .ttm-btn::before,
html body .ttm-logout-is-loading .ttm-btn::after,
html body .ttm-mobile-logout-form .ttm-icon-btn.ttm-logout-loading::before,
html body .ttm-mobile-logout-form .ttm-icon-btn.ttm-logout-loading::after{
  content:none!important;
  display:none!important;
  animation:none!important;
}
html body .ttm-logout-loading .ttm-btn-spinner{
  display:inline-flex!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:0!important;
}
html body .ttm-logout-loading .ttm-btn-spinner ~ .ttm-btn-spinner{
  display:none!important;
}
html body .ttm-logout-loading{
  gap:0!important;
  justify-content:center!important;
}
.ttm-danger-soft{
  border-color:rgba(239,68,68,.22)!important;
  color:#be123c!important;
  background:#fff1f2!important;
}
.ttm-deleted-employee-panel{
  margin-top:18px!important;
  border-color:rgba(254,205,211,.95)!important;
  background:linear-gradient(180deg,#fff,#fff7f8)!important;
}
.ttm-deleted-employee-list{
  display:grid;
  gap:10px;
}
.ttm-deleted-employee-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(254,205,211,.95);
  box-shadow:0 12px 28px rgba(190,18,60,.06);
}
.ttm-deleted-employee-row strong{display:block;color:var(--ttm-text,#111827);font-weight:950}
.ttm-deleted-employee-row span{display:block;margin-top:4px;color:var(--ttm-muted,#64748b);font-size:12px;font-weight:850}
.ttm-deleted-employee-row small{display:block;margin-top:4px;color:#be123c;font-weight:850}
.ttm-deleted-employee-row form{margin:0;flex:0 0 auto}
@media(max-width:720px){
  .ttm-deleted-employee-row{flex-direction:column;align-items:stretch}
  .ttm-deleted-employee-row .ttm-btn{width:100%;justify-content:center}
}

/* Teamora v1.0.7 hotfix: employee inline edit + attendance menu visibility */
.ttm-employee-edit-inline{display:inline-flex!important;margin:0!important}
[data-ttm-employee-row]{cursor:pointer}
[data-ttm-employee-row].is-selected-employee-row{outline:2px solid color-mix(in srgb,var(--ttm-primary,#e50914) 35%,transparent);outline-offset:-2px;background:color-mix(in srgb,var(--ttm-primary,#e50914) 6%,transparent)}
.ttm-employee-form-ready{animation:ttmEmployeeReadyPulse .9s ease both}
@keyframes ttmEmployeeReadyPulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--ttm-primary,#e50914) 30%,transparent)}100%{box-shadow:0 0 0 18px transparent}}

/* Teamora v1.0.8 hotfix — employee editor save, action buttons and Jalali modal polish */
html body .ttm-employee-dossier-form [data-ttm-employee-submit].is-loading,
html body .ttm-employee-dossier-form .ttm-employee-save-loading{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:170px!important;
  white-space:nowrap!important;
}
html body .ttm-employee-dossier-form [data-ttm-employee-submit].is-loading::before,
html body .ttm-employee-dossier-form [data-ttm-employee-submit].is-loading::after,
html body .ttm-employee-dossier-form .ttm-employee-save-loading::before,
html body .ttm-employee-dossier-form .ttm-employee-save-loading::after{
  content:none!important;
  display:none!important;
  animation:none!important;
}
html body .ttm-employee-dossier-form .ttm-btn-spinner{
  flex:0 0 16px!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  margin:0!important;
  border-width:2px!important;
}
html body .ttm-employee-form-submitting :where(input,select,textarea){
  opacity:.78!important;
}
html body .ttm-employee-saved-notice{
  background:linear-gradient(135deg,#ecfdf5,#ffffff)!important;
  border-color:#bbf7d0!important;
  color:#047857!important;
}
html body .ttm-inline-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:78px!important;
}
html body .ttm-employee-action{
  appearance:none!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  min-width:68px!important;
  height:34px!important;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease!important;
}
html body .ttm-employee-action:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 10px 22px rgba(15,23,42,.10)!important;
  text-decoration:none!important;
}
html body .ttm-employee-edit-btn.ttm-employee-action{
  background:#fff1f2!important;
  color:var(--ttm-primary,#e50914)!important;
  border-color:rgba(229,9,20,.18)!important;
}
html body .ttm-employee-edit-btn.ttm-employee-action:hover{
  background:var(--ttm-primary,#e50914)!important;
  color:#fff!important;
  border-color:transparent!important;
}
html body .ttm-employee-delete-btn.ttm-employee-action{
  background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#a8000b))!important;
  color:#fff!important;
  border-color:transparent!important;
}
html body .ttm-employee-delete-btn.ttm-employee-action:hover{
  filter:saturate(1.05)!important;
}
html body tr.is-selected-employee-row{
  background:linear-gradient(90deg,rgba(229,9,20,.055),rgba(255,255,255,.72))!important;
}
html body tr.is-selected-employee-row td:first-child{
  box-shadow:inset -3px 0 0 var(--ttm-primary,#e50914)!important;
}
html body .ttm-jalali-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:999998!important;
  background:rgba(15,23,42,.22)!important;
  backdrop-filter:blur(2px)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .16s ease!important;
}
html body .ttm-jalali-backdrop.is-open{
  opacity:1!important;
  pointer-events:auto!important;
}
html body .ttm-jalali-picker{
  z-index:999999!important;
}
html.ttm-jalali-modal-open body .ttm-jalali-picker.is-open{
  box-shadow:0 28px 90px rgba(15,23,42,.28)!important;
}
@media(max-width:640px){
  html.ttm-jalali-modal-open body .ttm-jalali-picker.is-open{
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    top:auto!important;
    bottom:16px!important;
    width:auto!important;
    max-width:none!important;
    border-radius:26px!important;
  }
}


/* v1.0.9 - employee edit persistence notice + easier Jalali year/month switch */
html body .ttm-jalali-picker{width:360px!important;max-width:calc(100vw - 24px)!important;padding:14px!important}
html body .ttm-jalali-picker-head-v109{display:grid!important;grid-template-columns:34px 34px 1fr 34px 34px!important;align-items:center!important;gap:7px!important}
html body .ttm-jalali-picker-head-v109 .ttm-jalali-picker-title{text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .ttm-jalali-select-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0 0 10px!important}
html body .ttm-jalali-select-row label{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:8px 10px!important;border:1px solid rgba(226,232,240,.95)!important;background:#f8fafc!important;border-radius:14px!important;font-size:11px!important;font-weight:950!important;color:#64748b!important}
html body .ttm-jalali-select-row select{appearance:none!important;-webkit-appearance:none!important;width:100%!important;border:0!important;background:#fff!important;color:#111827!important;border-radius:10px!important;padding:7px 8px!important;font-size:12px!important;font-weight:950!important;outline:none!important;box-shadow:inset 0 0 0 1px rgba(226,232,240,.9)!important;text-align:center!important;cursor:pointer!important}
html body .ttm-jalali-select-row select:focus{box-shadow:0 0 0 3px rgba(229,9,20,.12),inset 0 0 0 1px var(--ttm-primary,#e50914)!important}
html body .ttm-employee-saved-notice{border-color:rgba(34,197,94,.28)!important;background:linear-gradient(135deg,rgba(34,197,94,.10),rgba(255,255,255,.96))!important;color:#166534!important}
@media(max-width:640px){html.ttm-jalali-modal-open body .ttm-jalali-picker.is-open{bottom:12px!important;padding:14px!important}html body .ttm-jalali-picker-head-v109{grid-template-columns:32px 32px 1fr 32px 32px!important}html body .ttm-jalali-select-row{grid-template-columns:1fr 1fr!important}}


/* Teamora v1.0.11 — Jalali calendar native select hotfix */
html body .ttm-jalali-picker,
html body .ttm-jalali-picker *{
  -webkit-tap-highlight-color: transparent!important;
}
html body .ttm-jalali-select-row,
html body .ttm-jalali-select-row label,
html body .ttm-jalali-select-row select{
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
html body .ttm-jalali-select-row select{
  user-select:auto!important;
  -webkit-user-select:auto!important;
}


/* Teamora v1.0.12 — fix RTL Jalali calendar arrows */
html body .ttm-jalali-picker-head-v112{
  display:grid!important;
  grid-template-columns:auto minmax(96px,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  direction:ltr!important;
  margin-bottom:10px!important;
}
html body .ttm-jalali-picker-head-v112 .ttm-jalali-picker-title{
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  direction:rtl!important;
}
html body .ttm-jalali-nav{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  direction:ltr!important;
}
html body .ttm-jalali-nav-prev{justify-content:flex-end!important}
html body .ttm-jalali-nav-next{justify-content:flex-start!important}
html body .ttm-jalali-picker-head-v112 .ttm-jalali-picker-btn{
  min-width:34px!important;
  width:auto!important;
  padding-inline:8px!important;
  line-height:1!important;
  font-size:13px!important;
}
@media (max-width:520px){
  html body .ttm-jalali-picker-head-v112{grid-template-columns:auto minmax(76px,1fr) auto!important;gap:5px!important}
  html body .ttm-jalali-picker-head-v112 .ttm-jalali-picker-btn{min-width:30px!important;height:32px!important;padding-inline:6px!important;font-size:12px!important}
  html body .ttm-jalali-nav{gap:3px!important}
}

/* Teamora 1.1.0 — locked secretariat module */
.ttm-secretariat-shell{display:flex;flex-direction:column;gap:22px}
.ttm-secretariat-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.9fr);gap:18px;align-items:stretch;padding:26px;border-radius:28px;background:linear-gradient(135deg,rgba(229,9,20,.10),rgba(255,255,255,.92));border:1px solid rgba(229,9,20,.12);box-shadow:0 18px 55px rgba(15,23,42,.06)}
.ttm-secretariat-hero h2{margin:8px 0 8px;font-size:26px;color:var(--ttm-dark)}
.ttm-secretariat-hero p{margin:0;color:var(--ttm-muted);line-height:2}
.ttm-secretariat-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ttm-secretariat-kpis article{background:rgba(255,255,255,.84);border:1px solid rgba(226,232,240,.9);border-radius:20px;padding:14px;box-shadow:0 12px 28px rgba(15,23,42,.04)}
.ttm-secretariat-kpis small{display:block;color:var(--ttm-muted);margin-bottom:6px}
.ttm-secretariat-kpis b{font-size:24px;color:var(--ttm-primary)}
.ttm-secretariat-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.75fr);gap:18px;align-items:start}
.ttm-secretariat-form-card,.ttm-secretariat-guide-card,.ttm-secretariat-list-card{border-radius:26px}
.ttm-secretariat-guide-list{display:grid;gap:12px}
.ttm-secretariat-guide-list div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-radius:18px;background:#f8fafc;border:1px solid #e8eef6}
.ttm-secretariat-guide-list b{color:var(--ttm-dark)}
.ttm-secretariat-guide-list span{color:var(--ttm-muted);font-size:13px;text-align:left;direction:ltr}
.ttm-secretariat-filter-form{display:grid;grid-template-columns:160px 170px minmax(220px,1fr) auto;gap:12px;align-items:end;margin:0 0 16px}
.ttm-secretariat-status-form{display:flex;gap:6px;align-items:center;min-width:160px}
.ttm-secretariat-status-form select{height:34px;border-radius:12px;padding:0 10px;font-size:12px}
.ttm-secretariat-table td small{display:block;margin-top:5px;color:var(--ttm-muted);font-size:11px;line-height:1.7}
@media (max-width: 920px){.ttm-secretariat-hero,.ttm-secretariat-grid{grid-template-columns:1fr}.ttm-secretariat-filter-form{grid-template-columns:1fr}.ttm-secretariat-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 520px){.ttm-secretariat-kpis{grid-template-columns:1fr}.ttm-secretariat-hero{padding:18px;border-radius:22px}}

/* Teamora 1.1.1 — employee-facing correspondence center */
.ttm-my-correspondence-shell{display:flex;flex-direction:column;gap:22px}
.ttm-my-correspondence-hero{background:linear-gradient(135deg,rgba(229,9,20,.08),rgba(248,250,252,.96))}
.ttm-my-correspondence-list-card{border-radius:26px}
.ttm-my-correspondence-stack{display:grid;gap:16px}
.ttm-my-letter-card{background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:24px;padding:18px;box-shadow:0 14px 38px rgba(15,23,42,.055)}
.ttm-my-letter-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.ttm-my-letter-card h3{margin:8px 0 6px;color:var(--ttm-dark);font-size:18px}
.ttm-my-letter-card header p{margin:0;color:var(--ttm-muted);font-size:12px;line-height:1.9}
.ttm-my-letter-badges{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.ttm-my-letter-body{background:#f8fafc;border:1px solid #edf2f7;border-radius:18px;padding:14px;margin-bottom:14px}
.ttm-my-letter-body p{margin:0 0 12px;color:var(--ttm-dark);line-height:2;white-space:pre-wrap}
.ttm-my-letter-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;color:var(--ttm-muted);font-size:12px}
.ttm-my-letter-meta span{background:#fff;border:1px solid #edf2f7;border-radius:14px;padding:10px;line-height:1.8}
.ttm-my-letter-form{display:grid;grid-template-columns:minmax(150px,.45fr) minmax(240px,1fr) minmax(190px,.55fr) auto;gap:12px;align-items:end}
.ttm-my-letter-form textarea{min-height:92px}
.ttm-my-letter-form input[type=file]{background:#fff;border:1px dashed rgba(229,9,20,.25);border-radius:16px;padding:12px;min-height:44px}
@media (max-width: 980px){.ttm-my-letter-form{grid-template-columns:1fr}.ttm-my-letter-card header{flex-direction:column}.ttm-my-letter-badges{justify-content:flex-start}.ttm-my-letter-meta{grid-template-columns:1fr}}

/* v1.1.2 - Branded attachment page entry links */
.ttm-file-action-group{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;vertical-align:middle}
.ttm-file-action-group .ttm-table-link{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:12px;text-decoration:none;font-weight:900;line-height:1.2;border:1px solid rgba(229,9,20,.16);background:#fff;color:var(--ttm-primary,#e50914)}
.ttm-file-action-group .ttm-file-view-link{background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610));color:#fff;border-color:transparent;box-shadow:0 8px 18px rgba(229,9,20,.14)}
.ttm-file-action-group .ttm-file-download-link{background:#fff7f8;color:var(--ttm-primary,#e50914)}

/* Teamora 1.1.3 — PWA/cache stabilization: network guard */
.ttm-network-status{
  position:fixed;
  inset:auto 18px 18px auto;
  z-index:999999;
  max-width:min(380px,calc(100vw - 36px));
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 16px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.12);
  box-shadow:0 18px 55px rgba(15,23,42,.18);
  color:#111827;
  transform:translateY(24px);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
  direction:rtl;
  text-align:right;
}
.ttm-network-status.is-visible{opacity:1;transform:translateY(0);pointer-events:auto;}
.ttm-network-status strong{font-size:14px;font-weight:950;}
.ttm-network-status span{font-size:12px;line-height:1.8;color:#64748b;}
.ttm-network-status[data-state="offline"]{border-color:rgba(239,68,68,.28);background:#fff7f7;}
.ttm-network-status[data-state="offline"] strong{color:#b91c1c;}
.ttm-network-status[data-state="online"]{border-color:rgba(34,197,94,.28);background:#f0fdf4;}
.ttm-network-status[data-state="online"] strong{color:#166534;}
html.ttm-is-offline .ttm-btn[type="submit"],
html.ttm-is-offline button[type="submit"]{
  filter:saturate(.75);
}
@media (max-width:640px){
  .ttm-network-status{inset:auto 12px 12px 12px;max-width:none;border-radius:16px;}
}


/* Teamora 1.1.4 — locked secretariat completion */
.ttm-secretariat-filter-wide{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end}
.ttm-secretariat-actions{display:flex;flex-direction:column;gap:8px;min-width:150px}
.ttm-secretariat-actions .ttm-inline-form{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center;margin:0}
.ttm-secretariat-actions .ttm-inline-form select{min-width:115px}
.ttm-inline-check{display:inline-flex!important;align-items:center;gap:8px;margin-top:10px;font-weight:800;color:var(--ttm-muted)}
.ttm-secretariat-table tr.is-selected-row td{background:color-mix(in srgb,var(--ttm-primary) 9%,transparent)!important}
.ttm-secretariat-table td small .ttm-file-action-group{margin-top:6px}
@media(max-width:760px){.ttm-secretariat-actions{min-width:0}.ttm-secretariat-actions .ttm-inline-form{grid-template-columns:1fr}.ttm-secretariat-filter-wide{grid-template-columns:1fr}}


/* v1.1.6 - Security & Access Center */
.ttm-security-center{display:flex;flex-direction:column;gap:18px}.ttm-security-hero{display:flex;justify-content:space-between;gap:18px;align-items:stretch;background:linear-gradient(135deg,rgba(14,30,45,.98),rgba(18,76,64,.92));border-radius:24px;padding:22px;color:#fff;box-shadow:0 18px 45px rgba(15,23,42,.16)}.ttm-security-hero h2{margin:8px 0 8px;font-size:26px}.ttm-security-hero p{margin:0;max-width:720px;color:rgba(255,255,255,.82);line-height:1.9}.ttm-security-locks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:min(540px,100%)}.ttm-security-locks article{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:14px}.ttm-security-locks small{display:block;color:rgba(255,255,255,.7);font-weight:800}.ttm-security-locks b{display:block;margin:6px 0;font-size:16px}.ttm-security-locks span{font-size:12px;color:rgba(255,255,255,.76)}.ttm-security-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.ttm-security-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ttm-security-rules div{border:1px solid rgba(148,163,184,.22);border-radius:16px;padding:12px;background:rgba(248,250,252,.72)}.ttm-security-rules b{display:block;margin-bottom:6px;color:var(--ttm-text)}.ttm-security-rules span{display:block;color:var(--ttm-muted);line-height:1.7;font-size:13px}.ttm-security-matrix-card .ttm-table-wrap{overflow:auto}.ttm-security-matrix th,.ttm-security-matrix td{white-space:nowrap}.ttm-security-matrix td small{display:block;color:var(--ttm-muted);font-size:11px;margin-top:3px}.ttm-security-yes,.ttm-security-no{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.ttm-security-yes{background:rgba(16,185,129,.12);color:#047857}.ttm-security-no{background:rgba(148,163,184,.13);color:#64748b}.ttm-security-log-list{display:flex;flex-direction:column;gap:10px}.ttm-security-log-list article{display:flex;justify-content:space-between;gap:14px;border:1px solid rgba(148,163,184,.2);border-radius:16px;padding:12px;background:rgba(255,255,255,.72)}.ttm-security-log-list b{display:block}.ttm-security-log-list small{display:block;color:var(--ttm-muted);margin-top:4px}.ttm-security-log-list span{max-width:58%;color:var(--ttm-muted);line-height:1.7;font-size:13px}@media(max-width:980px){.ttm-security-hero{flex-direction:column}.ttm-security-locks,.ttm-security-grid,.ttm-security-rules{grid-template-columns:1fr}.ttm-security-log-list article{flex-direction:column}.ttm-security-log-list span{max-width:none}}


/* Teamora 1.1.7 — Final QA + UI cleanup */
.ttm-qa-center{display:flex;flex-direction:column;gap:18px}.ttm-qa-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.34fr);gap:18px;align-items:stretch;padding:24px;border-radius:26px;background:linear-gradient(135deg,rgba(229,9,20,.10),rgba(255,255,255,.96));border:1px solid rgba(229,9,20,.12);box-shadow:0 18px 50px rgba(15,23,42,.06)}.ttm-qa-hero h2{margin:8px 0;font-size:27px;color:var(--ttm-dark,#111827)}.ttm-qa-hero p{margin:0;color:var(--ttm-muted,#64748b);line-height:2}.ttm-qa-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.ttm-qa-score{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:20px;border-radius:22px;background:#fff;border:1px solid rgba(226,232,240,.95);box-shadow:0 14px 36px rgba(15,23,42,.06)}.ttm-qa-score small{font-weight:900;color:var(--ttm-muted,#64748b)}.ttm-qa-score strong{font-size:21px;color:#111827}.ttm-qa-score span{font-size:13px;line-height:1.8;color:var(--ttm-muted,#64748b)}.ttm-qa-score.is-ok{border-color:rgba(16,185,129,.25);background:#f0fdf4}.ttm-qa-score.is-ok strong{color:#047857}.ttm-qa-score.is-warning{border-color:rgba(245,158,11,.28);background:#fffbeb}.ttm-qa-score.is-warning strong{color:#b45309}.ttm-qa-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:16px}.ttm-qa-card{border-radius:24px}.ttm-qa-check-list{display:grid;gap:10px}.ttm-qa-check{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:16px;border:1px solid rgba(226,232,240,.92);background:#fff}.ttm-qa-check>b{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:50%;font-weight:950}.ttm-qa-check strong{display:block;color:#111827}.ttm-qa-check small{display:block;margin-top:4px;color:var(--ttm-muted,#64748b);line-height:1.75;word-break:break-word}.ttm-qa-check.is-ok>b{background:rgba(16,185,129,.12);color:#047857}.ttm-qa-check.is-warning>b{background:rgba(245,158,11,.15);color:#b45309}.ttm-qa-env{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ttm-qa-env div{padding:13px;border-radius:16px;background:#f8fafc;border:1px solid #edf2f7}.ttm-qa-env span{display:block;color:var(--ttm-muted,#64748b);font-size:12px;margin-bottom:5px}.ttm-qa-env b{display:block;color:#111827;font-size:15px;direction:ltr;text-align:right}.ttm-qa-table code{display:inline-block;direction:ltr;background:#f8fafc;border:1px solid #edf2f7;border-radius:10px;padding:4px 7px;font-size:12px}.ttm-qa-pill{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;font-weight:900;font-size:12px}.ttm-qa-pill.is-ok{background:rgba(16,185,129,.12);color:#047857}.ttm-qa-pill.is-warning{background:rgba(245,158,11,.16);color:#b45309}.ttm-qa-manual-list{display:grid;gap:10px}.ttm-qa-manual{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border-radius:18px;background:#fff;border:1px solid rgba(226,232,240,.94);transition:border-color .16s ease, background .16s ease, transform .16s ease}.ttm-qa-manual.is-done{background:#f0fdf4;border-color:rgba(16,185,129,.24)}.ttm-qa-manual:hover{transform:translateY(-1px)}.ttm-qa-tick{width:34px;height:34px;border-radius:50%;border:1px solid rgba(148,163,184,.35);background:#fff;color:#64748b;font-weight:950;cursor:pointer}.ttm-qa-manual.is-done .ttm-qa-tick{background:#10b981;color:#fff;border-color:#10b981}.ttm-qa-manual b{display:block;color:#111827}.ttm-qa-manual span{display:block;margin-top:4px;color:var(--ttm-muted,#64748b);font-size:13px;line-height:1.8}.ttm-qa-activity-list{display:grid;gap:10px}.ttm-qa-activity-list article{display:flex;justify-content:space-between;gap:14px;padding:12px;border-radius:16px;background:#fff;border:1px solid rgba(226,232,240,.94)}.ttm-qa-activity-list b{display:block;color:#111827}.ttm-qa-activity-list small{display:block;color:var(--ttm-muted,#64748b);margin-top:4px}.ttm-qa-activity-list span{max-width:56%;color:var(--ttm-muted,#64748b);line-height:1.7;font-size:13px}.ttm-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.ttm-action-links,.ttm-file-action-group{gap:7px}.ttm-form-actions{gap:10px;flex-wrap:wrap}.ttm-alert{position:relative}.ttm-alert:before{content:'';position:absolute;inset-block:10px;right:10px;width:4px;border-radius:999px;background:currentColor;opacity:.28}@media(max-width:920px){.ttm-qa-hero,.ttm-qa-grid{grid-template-columns:1fr}.ttm-qa-manual{grid-template-columns:auto minmax(0,1fr)}.ttm-qa-manual .ttm-link-button{grid-column:1/-1;justify-self:start}.ttm-qa-activity-list article{flex-direction:column}.ttm-qa-activity-list span{max-width:none}}@media(max-width:620px){.ttm-qa-env{grid-template-columns:1fr}.ttm-qa-hero{padding:18px;border-radius:22px}.ttm-qa-actions .ttm-btn{width:100%;justify-content:center}.ttm-qa-score{padding:16px}}


/* Teamora 1.1.8 — Managerial reports and exports */
.ttm-manager-reports-v118 .ttm-report-filter-card-v118,
.ttm-manager-reports-v118 .ttm-report-export-card-v118,
.ttm-manager-reports-v118 .ttm-report-table-card-v118{position:relative;overflow:hidden}
.ttm-report-export-actions-v118{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ttm-report-export-actions-v118 .ttm-btn{min-height:42px}
.ttm-report-two-cols-v118{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:16px}
.ttm-manager-reports-v118 .ttm-table td small{display:block;margin-top:4px;color:var(--ttm-muted);font-size:11px;line-height:1.6}
.ttm-manager-reports-v118 .ttm-table td strong{display:block;margin-bottom:3px}
.ttm-manager-reports-v118 .ttm-report-kpi-v111 small{line-height:1.7}
@media (max-width: 980px){.ttm-report-two-cols-v118{grid-template-columns:1fr}.ttm-report-export-actions-v118 .ttm-btn{width:100%;justify-content:center}}


/* Teamora 1.1.9 — Event notifications and alerts */
.ttm-event-notification-card{margin-top:18px;}
.ttm-event-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.ttm-event-rule-grid article{border:1px solid rgba(15,23,42,.08);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(248,250,252,.78));padding:14px 15px;box-shadow:0 12px 28px rgba(15,23,42,.05);}
.ttm-event-rule-grid b{display:block;color:var(--ttm-dark,#111827);font-weight:900;margin-bottom:6px;}
.ttm-event-rule-grid span{display:block;color:var(--ttm-muted,#64748b);font-size:12.5px;line-height:1.9;}
.ttm-notification-row[data-category="correspondence"] .ttm-notification-icon{background:rgba(99,102,241,.12);color:#4f46e5;}
@media (max-width:980px){.ttm-event-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.ttm-event-rule-grid{grid-template-columns:1fr;}}


/* Teamora 1.2.0 — Release Candidate handoff */
.ttm-release-card-v120{border:1px solid rgba(16,185,129,.18);background:linear-gradient(135deg,rgba(240,253,244,.75),rgba(255,255,255,.96));}
.ttm-release-grid-v120{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(260px,1fr) minmax(240px,.85fr);gap:14px;align-items:stretch;}
.ttm-release-grid-v120 article{background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:20px;padding:16px;box-shadow:0 12px 32px rgba(15,23,42,.045);}
.ttm-release-grid-v120 small{display:block;color:var(--ttm-muted,#64748b);font-weight:900;margin-bottom:7px;}
.ttm-release-grid-v120 strong{display:block;color:#111827;font-size:18px;margin-bottom:7px;}
.ttm-release-grid-v120 span,.ttm-release-grid-v120 p{display:block;color:var(--ttm-muted,#64748b);font-size:13px;line-height:1.9;margin:0 0 12px;}
.ttm-release-status-v120.is-ready{border-color:rgba(16,185,129,.24);background:#f0fdf4;}
.ttm-release-status-v120.is-ready strong{color:#047857;}
.ttm-release-status-v120.is-warning{border-color:rgba(245,158,11,.28);background:#fffbeb;}
.ttm-release-status-v120.is-warning strong{color:#b45309;}
.ttm-release-locks-v120{margin:0;padding:0 18px 0 0;color:#334155;line-height:2;font-size:13px;}
.ttm-release-locks-v120 li::marker{color:var(--ttm-primary,#e50914);}
@media(max-width:980px){.ttm-release-grid-v120{grid-template-columns:1fr}.ttm-release-grid-v120 .ttm-btn{width:100%;justify-content:center}}

/* =========================================================
   Teamora 1.2.1 — Phase 1 foundation polish
   Scope: font lock, minimal checkboxes/radios, compact file fields, horizontal row actions.
   ========================================================= */
:root{
  --ttm-font-stack:"TTM Yekan Bakh","Yekan_Bakh","Yekan Bakh","YekanBakh","IRANYekanX",Tahoma,Arial,sans-serif!important;
  --ttm-font-family:var(--ttm-font-stack)!important;
}
html body.ttm-standalone,
html body.ttm-app-page,
html body .ttm-login-shell,
html body .ttm-portal,
html body .ttm-admin-shell{
  font-family:var(--ttm-font-stack)!important;
  -webkit-font-smoothing:antialiased!important;
  -moz-osx-font-smoothing:grayscale!important;
  text-rendering:optimizeLegibility!important;
}
html body.ttm-standalone *,
html body.ttm-app-page *,
html body .ttm-login-shell *,
html body .ttm-portal *,
html body .ttm-admin-shell *{
  font-family:inherit!important;
}

/* Compact real checkbox/radio reset — prevents theme text-input styles from making them huge. */
html body .ttm-portal input[type="checkbox"],
html body .ttm-portal input[type="radio"],
html body .ttm-login-shell input[type="checkbox"],
html body .ttm-login-shell input[type="radio"],
html body .ttm-admin-shell input[type="checkbox"],
html body .ttm-admin-shell input[type="radio"],
html body.ttm-standalone input[type="checkbox"],
html body.ttm-standalone input[type="radio"],
html body.ttm-app-page input[type="checkbox"],
html body.ttm-app-page input[type="radio"]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  display:inline-block!important;
  flex:0 0 17px!important;
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  max-width:17px!important;
  min-height:17px!important;
  max-height:17px!important;
  padding:0!important;
  margin:0 0 0 8px!important;
  vertical-align:middle!important;
  border-radius:5px!important;
  box-shadow:none!important;
  cursor:pointer!important;
  accent-color:var(--ttm-primary,#e50914)!important;
}
html body .ttm-portal input[type="radio"],
html body .ttm-login-shell input[type="radio"],
html body .ttm-admin-shell input[type="radio"],
html body.ttm-standalone input[type="radio"],
html body.ttm-app-page input[type="radio"]{
  border-radius:50%!important;
}
html body .ttm-check,
html body .ttm-inline-check,
html body .ttm-admin-checkline,
html body .ttm-profile-remove-check{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:0!important;
  line-height:1.7!important;
}
html body .ttm-check input[type="checkbox"],
html body .ttm-inline-check input[type="checkbox"],
html body .ttm-admin-checkline input[type="checkbox"],
html body .ttm-profile-remove-check input[type="checkbox"]{
  margin-inline-end:0!important;
  margin-inline-start:8px!important;
}

/* Compact native upload/file fields — CSS-only, no risky injected overlay. */
html body .ttm-portal input[type="file"],
html body .ttm-login-shell input[type="file"],
html body .ttm-admin-shell input[type="file"],
html body.ttm-standalone input[type="file"],
html body.ttm-app-page input[type="file"],
html body .ttm-ui-file-input{
  width:100%!important;
  max-width:100%!important;
  min-height:42px!important;
  height:auto!important;
  padding:7px 9px!important;
  border:1px dashed rgba(148,163,184,.55)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fff,#f8fafc)!important;
  color:#475569!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.5!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
html body .ttm-portal input[type="file"]::file-selector-button,
html body .ttm-login-shell input[type="file"]::file-selector-button,
html body .ttm-admin-shell input[type="file"]::file-selector-button,
html body.ttm-standalone input[type="file"]::file-selector-button,
html body.ttm-app-page input[type="file"]::file-selector-button,
html body .ttm-ui-file-input::file-selector-button{
  min-height:30px!important;
  margin:0 0 0 10px!important;
  padding:7px 12px!important;
  border:0!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,var(--ttm-primary,#e50914),var(--ttm-primary-2,#b00610))!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:0 8px 18px rgba(229,9,20,.18)!important;
}
html body .ttm-ui-upload,
html body .ttm-profile-file-field,
html body .ttm-profile-upload-box,
html body .ttm-upload-field,
html body .ttm-attachment-field{
  gap:8px!important;
}

/* Horizontal, tidy row/list actions. */
html body .ttm-inline-actions,
html body .ttm-row-actions,
html body .ttm-action-links,
html body .ttm-doc-actions,
html body .ttm-file-action-group,
html body .ttm-table-actions,
html body .ttm-list-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  min-width:max-content!important;
}
html body .ttm-inline-actions form,
html body .ttm-row-actions form,
html body .ttm-action-links form,
html body .ttm-doc-actions form,
html body .ttm-file-action-group form,
html body .ttm-table-actions form,
html body .ttm-list-actions form{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
  min-width:0!important;
  width:auto!important;
  flex:0 0 auto!important;
}
html body .ttm-inline-actions .ttm-inline-form,
html body .ttm-action-links .ttm-inline-form,
html body .ttm-doc-actions .ttm-inline-form,
html body .ttm-table-actions .ttm-inline-form,
html body .ttm-list-actions .ttm-inline-form{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  width:auto!important;
  flex:0 0 auto!important;
}
html body .ttm-inline-actions .ttm-btn,
html body .ttm-inline-actions button,
html body .ttm-inline-actions a,
html body .ttm-action-links .ttm-btn,
html body .ttm-action-links button,
html body .ttm-action-links a,
html body .ttm-doc-actions .ttm-btn,
html body .ttm-doc-actions button,
html body .ttm-doc-actions a,
html body .ttm-file-action-group .ttm-btn,
html body .ttm-file-action-group button,
html body .ttm-file-action-group a,
html body .ttm-table-actions .ttm-btn,
html body .ttm-table-actions button,
html body .ttm-table-actions a,
html body .ttm-list-actions .ttm-btn,
html body .ttm-list-actions button,
html body .ttm-list-actions a,
html body .ttm-employee-action{
  width:auto!important;
  max-width:none!important;
  min-width:64px!important;
  min-height:34px!important;
  height:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  line-height:1.25!important;
  margin:0!important;
}
html body .ttm-inline-actions .ttm-employee-edit-inline{
  display:inline-flex!important;
  margin:0!important;
}
html body .ttm-inline-actions .ttm-employee-action{
  height:34px!important;
  padding:0 13px!important;
  border-radius:999px!important;
}
html body .ttm-inline-actions .ttm-employee-delete-btn.ttm-employee-action{
  box-shadow:0 10px 22px rgba(229,9,20,.14)!important;
}
html body .ttm-table td:last-child .ttm-inline-actions,
html body .ttm-table td:last-child .ttm-action-links,
html body .ttm-table td:last-child .ttm-doc-actions{
  justify-content:flex-start!important;
}
@media(max-width:720px){
  html body .ttm-inline-actions,
  html body .ttm-row-actions,
  html body .ttm-action-links,
  html body .ttm-doc-actions,
  html body .ttm-file-action-group,
  html body .ttm-table-actions,
  html body .ttm-list-actions{
    min-width:0!important;
    gap:6px!important;
  }
  html body .ttm-inline-actions .ttm-btn,
  html body .ttm-inline-actions button,
  html body .ttm-inline-actions a,
  html body .ttm-action-links .ttm-btn,
  html body .ttm-action-links button,
  html body .ttm-action-links a,
  html body .ttm-employee-action{
    min-width:58px!important;
    min-height:32px!important;
    font-size:11px!important;
  }
}

/* ========================================================================
   Teamora 1.2.2 — Phase 2 operational badge center
   LOCK: badge-only UI layer. No business logic, payroll math, attendance flow,
   correspondence save/update flow, authentication or database destructives here.
   ======================================================================== */
html body .ttm-portal .ttm-sidebar .ttm-nav-item{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
}
html body .ttm-portal .ttm-sidebar .ttm-nav-item .ttm-nav-label{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font:inherit!important;
  font-weight:950!important;
  color:inherit!important;
}
html body .ttm-portal .ttm-sidebar .ttm-nav-item .ttm-nav-badge,
html body .ttm-portal .ttm-sidebar .ttm-nav-item > em.ttm-nav-badge{
  margin-right:auto!important;
  min-width:21px!important;
  height:21px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  font-style:normal!important;
  font-size:10.5px!important;
  font-weight:950!important;
  line-height:1!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.20)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.20)!important;
}
html body .ttm-portal .ttm-sidebar .ttm-nav-item .ttm-nav-badge.is-danger{background:linear-gradient(135deg,#ef4444,#b91c1c)!important;}
html body .ttm-portal .ttm-sidebar .ttm-nav-item .ttm-nav-badge.is-warning{background:linear-gradient(135deg,#f59e0b,#d97706)!important;color:#fff!important;}
html body .ttm-portal .ttm-sidebar .ttm-nav-item .ttm-nav-badge.is-success{background:linear-gradient(135deg,#22c55e,#15803d)!important;}
html body .ttm-portal .ttm-sidebar .ttm-nav-item .ttm-nav-badge.is-info{background:linear-gradient(135deg,#38bdf8,#2563eb)!important;}
html body .ttm-portal .ttm-sidebar .ttm-nav-item .ttm-nav-badge.is-neutral{background:linear-gradient(135deg,#64748b,#334155)!important;}
html body .ttm-portal .ttm-sidebar .ttm-nav-item.is-active .ttm-nav-badge,
html body .ttm-portal .ttm-sidebar .ttm-nav-item[aria-current="page"] .ttm-nav-badge{
  border-color:rgba(255,255,255,.55)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.12)!important;
}
html body .ttm-portal .ttm-bell-lite em{
  background:linear-gradient(135deg,#ef4444,#b91c1c)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.65)!important;
  box-shadow:0 8px 16px rgba(239,68,68,.30)!important;
  font-style:normal!important;
  font-weight:950!important;
}
@media(max-width:720px){
  html body .ttm-portal .ttm-sidebar .ttm-nav-item .ttm-nav-badge{
    min-width:20px!important;
    height:20px!important;
    padding:0 6px!important;
    font-size:10px!important;
  }
}


/* ======================================================================
   Teamora 1.2.3 — Phase 3 Notification Center lock
   Scope: notification center + header notification preview only.
   ====================================================================== */
.ttm-header-notification-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;z-index:30}
.ttm-header-notification-trigger{position:relative;cursor:pointer}
.ttm-header-notification-panel{position:absolute;top:calc(100% + 12px);left:0;width:min(360px,calc(100vw - 28px));background:var(--ttm-card,#fff);border:1px solid rgba(148,163,184,.24);border-radius:24px;box-shadow:0 28px 72px rgba(15,23,42,.22);padding:12px;opacity:0;visibility:hidden;transform:translateY(8px) scale(.98);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;z-index:10050;color:var(--ttm-text,#172033)}
.ttm-header-notification-wrap.is-open .ttm-header-notification-panel{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.ttm-header-notification-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 4px 10px;border-bottom:1px solid rgba(148,163,184,.16);margin-bottom:8px}
.ttm-header-notification-head strong{font-size:14px;font-weight:900;color:var(--ttm-text,#172033)}
.ttm-header-notification-head small{font-size:11px;color:var(--ttm-muted,#64748b)}
.ttm-header-notification-list{display:grid;gap:8px;max-height:330px;overflow:auto;padding:2px}
.ttm-header-notification-item{width:100%;border:1px solid rgba(148,163,184,.18);background:rgba(248,250,252,.72);border-radius:18px;padding:10px 12px;display:grid;grid-template-columns:10px 1fr;gap:4px 10px;text-align:right;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}
.ttm-header-notification-item:hover{transform:translateY(-1px);border-color:rgba(229,9,20,.24);background:rgba(255,255,255,.95)}
.ttm-header-notification-item strong{font-size:12px;font-weight:900;color:var(--ttm-text,#172033);line-height:1.8;grid-column:2}
.ttm-header-notification-item small{font-size:11px;color:var(--ttm-muted,#64748b);line-height:1.75;grid-column:2}
.ttm-header-notification-item em{font-style:normal;font-size:10px;color:rgba(100,116,139,.88);grid-column:2}
.ttm-mini-dot{width:8px;height:8px;border-radius:999px;background:rgba(148,163,184,.7);grid-row:1/4;margin-top:8px}
.ttm-header-notification-item.is-unread .ttm-mini-dot{background:var(--ttm-primary,#e50914);box-shadow:0 0 0 4px rgba(229,9,20,.08)}
.ttm-header-notification-item.is-important{border-color:rgba(239,68,68,.26);background:rgba(254,242,242,.72)}
.ttm-header-notification-item.is-followup{border-color:rgba(245,158,11,.3);background:rgba(255,251,235,.76)}
.ttm-header-notification-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 2px 2px;border-top:1px solid rgba(148,163,184,.16);margin-top:8px}
.ttm-header-notification-actions form{margin:0}
.ttm-empty-compact{padding:12px!important;font-size:12px!important;min-height:unset!important}
.ttm-notification-center-v123{display:grid;gap:16px;margin-top:16px}
.ttm-notification-summary-v123{display:grid;gap:14px;padding:18px!important}
.ttm-notification-kpis-v123{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ttm-notification-kpis-v123 article{border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:12px;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(248,250,252,.7));display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px}
.ttm-notification-kpis-v123 span{font-size:12px;color:var(--ttm-muted,#64748b);font-weight:800}
.ttm-notification-kpis-v123 b{font-size:20px;color:var(--ttm-text,#172033);font-weight:950}
.ttm-notification-toolbar-v123{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
.ttm-notification-toolbar-v123 .ttm-filter-tabs{overflow:auto;justify-content:flex-start;padding-bottom:4px}
.ttm-notification-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.ttm-notification-toolbar-actions form{margin:0}
.ttm-notification-smart-strip-v123{padding:16px!important}
.ttm-smart-alert-grid-v123{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ttm-smart-alert-mini{border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(248,250,252,.72);padding:12px;text-align:right;display:grid;gap:4px;cursor:pointer;min-height:98px;transition:transform .16s ease,border-color .16s ease}
.ttm-smart-alert-mini:hover{transform:translateY(-1px);border-color:rgba(229,9,20,.24)}
.ttm-smart-alert-mini span{justify-self:start;padding:3px 9px;border-radius:999px;font-size:10px;font-weight:900;background:rgba(226,232,240,.8);color:var(--ttm-muted,#64748b)}
.ttm-smart-alert-mini strong{font-size:13px;font-weight:950;color:var(--ttm-text,#172033);line-height:1.8}
.ttm-smart-alert-mini small{font-size:11px;color:var(--ttm-muted,#64748b);line-height:1.8}
.ttm-smart-alert-mini.is-critical{background:rgba(254,242,242,.82);border-color:rgba(239,68,68,.24)}
.ttm-smart-alert-mini.is-warning{background:rgba(255,251,235,.82);border-color:rgba(245,158,11,.28)}
.ttm-smart-alert-mini.is-success{background:rgba(240,253,244,.82);border-color:rgba(34,197,94,.22)}
.ttm-manager-notification-send-v123{padding:0!important;overflow:hidden}
.ttm-manager-notification-send-v123 summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;font-weight:950;color:var(--ttm-text,#172033)}
.ttm-manager-notification-send-v123 summary::-webkit-details-marker{display:none}
.ttm-manager-notification-send-v123 summary small{font-weight:700;color:var(--ttm-muted,#64748b)}
.ttm-manager-notification-send-v123 form{padding:0 18px 18px}
.ttm-notification-list-panel-v123{display:grid;gap:10px;padding:14px!important}
.ttm-notification-row-v123{position:relative;border:1px solid rgba(148,163,184,.18);border-radius:22px;background:rgba(255,255,255,.82);padding:14px;display:grid;grid-template-columns:12px 44px minmax(0,1fr) auto;gap:12px;align-items:center;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
.ttm-notification-row-v123:hover{transform:translateY(-1px);border-color:rgba(229,9,20,.22);box-shadow:0 18px 44px rgba(15,23,42,.08)}
.ttm-notification-row-v123.is-unread{background:linear-gradient(90deg,rgba(255,245,245,.78),rgba(255,255,255,.92));border-color:rgba(229,9,20,.18)}
.ttm-notification-row-v123.is-important{border-color:rgba(239,68,68,.26)}
.ttm-notification-row-v123.is-followup{border-color:rgba(245,158,11,.28)}
.ttm-notification-state-dot{width:9px;height:9px;border-radius:999px;background:rgba(148,163,184,.7)}
.ttm-notification-row-v123.is-unread .ttm-notification-state-dot{background:var(--ttm-primary,#e50914);box-shadow:0 0 0 5px rgba(229,9,20,.08)}
.ttm-notification-icon-v123{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:rgba(229,9,20,.08);color:var(--ttm-primary,#e50914);font-weight:950}
.ttm-notification-main-v123{min-width:0;display:grid;gap:3px}
.ttm-notification-title-line-v123{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ttm-notification-title-line-v123 h3{font-size:14px;font-weight:950;color:var(--ttm-text,#172033);margin:0;line-height:1.9}
.ttm-notification-title-line-v123 span{font-size:10px;font-weight:900;color:var(--ttm-muted,#64748b);background:rgba(241,245,249,.9);border:1px solid rgba(148,163,184,.18);border-radius:999px;padding:3px 9px;white-space:nowrap}
.ttm-notification-main-v123 p{font-size:12px;color:var(--ttm-muted,#64748b);line-height:1.9;margin:0;white-space:normal}
.ttm-notification-main-v123 small{font-size:11px;color:rgba(100,116,139,.86)}
.ttm-notification-actions-v123{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.ttm-notification-actions-v123 form{margin:0;display:inline-flex}
.ttm-notification-read-form{margin:0!important;display:inline-flex!important}
.ttm-notification-actions-v123 .ttm-btn,.ttm-notification-toolbar-actions .ttm-btn{min-height:36px!important;height:36px!important;padding:0 14px!important;border-radius:14px!important;font-size:12px!important;width:auto!important;min-width:auto!important}
.ttm-notification-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}
.ttm-notification-modal.is-open{display:flex}
.ttm-notification-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(8px)}
.ttm-notification-modal-card{position:relative;width:min(560px,calc(100vw - 28px));background:var(--ttm-card,#fff);border:1px solid rgba(255,255,255,.42);border-radius:28px;box-shadow:0 34px 90px rgba(15,23,42,.32);padding:22px;display:grid;gap:16px;color:var(--ttm-text,#172033)}
.ttm-modal-close{position:absolute;top:12px;left:12px;width:36px;height:36px;border:0;border-radius:14px;background:rgba(241,245,249,.9);color:var(--ttm-text,#172033);font-size:22px;line-height:1;cursor:pointer}
.ttm-notification-modal-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding-left:36px}
.ttm-notification-modal-icon{display:inline-flex;align-items:center;justify-content:center;min-width:74px;height:36px;border-radius:999px;background:rgba(229,9,20,.09);color:var(--ttm-primary,#e50914);font-size:12px;font-weight:950;padding:0 12px}
.ttm-notification-modal-head h3{font-size:18px;font-weight:950;margin:0 0 4px;color:var(--ttm-text,#172033);line-height:1.8}
.ttm-notification-modal-head small{font-size:12px;color:var(--ttm-muted,#64748b)}
.ttm-notification-modal-body{font-size:14px;line-height:2.1;color:var(--ttm-text,#172033);margin:0;background:rgba(248,250,252,.72);border:1px solid rgba(148,163,184,.16);border-radius:20px;padding:14px 16px;white-space:pre-wrap}
.ttm-notification-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.ttm-notification-modal-actions form{margin:0}
.ttm-notification-modal-actions .ttm-btn{width:auto!important;min-width:130px!important}
.ttm-notification-modal-open{overflow:hidden!important}
.ttm-mobile-head-unified .ttm-header-notification-wrap{margin-inline-start:auto}
.ttm-mobile-head-unified .ttm-header-notification-panel{top:calc(100% + 10px);left:8px;right:auto;width:min(340px,calc(100vw - 18px))}
.ttm-mobile-head-unified .ttm-header-notification-trigger{width:42px;height:42px;border-radius:16px;background:rgba(255,255,255,.82);border:1px solid rgba(148,163,184,.2)}
@media (max-width:1180px){
  .ttm-header-notification-panel{left:0;right:auto}
  .ttm-notification-kpis-v123{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ttm-notification-toolbar-v123{grid-template-columns:1fr;align-items:stretch}
  .ttm-notification-toolbar-actions{justify-content:flex-start;flex-wrap:wrap}
  .ttm-smart-alert-grid-v123{grid-template-columns:1fr}
  .ttm-notification-row-v123{grid-template-columns:10px 40px minmax(0,1fr);align-items:start}
  .ttm-notification-actions-v123{grid-column:1/-1;justify-content:flex-start;flex-wrap:wrap;padding-top:6px}
  .ttm-notification-title-line-v123{align-items:flex-start;flex-direction:column;gap:4px}
}
@media (max-width:640px){
  .ttm-notification-center-v123{gap:12px;margin-top:12px}
  .ttm-notification-kpis-v123{grid-template-columns:1fr 1fr;gap:8px}
  .ttm-notification-kpis-v123 article{padding:10px;min-height:54px}
  .ttm-notification-kpis-v123 b{font-size:17px}
  .ttm-notification-row-v123{border-radius:18px;padding:12px;gap:10px}
  .ttm-notification-main-v123 p{font-size:11px}
  .ttm-notification-modal{padding:10px}
  .ttm-notification-modal-card{border-radius:24px;padding:18px}
  .ttm-notification-modal-head{grid-template-columns:1fr;padding-left:34px}
  .ttm-notification-modal-actions{justify-content:stretch}
  .ttm-notification-modal-actions .ttm-btn,.ttm-notification-modal-actions form{width:100%!important}
}

/* ======================================================================
   Teamora 1.2.4 — Phase 4 My Correspondence UI lock
   Scope: employee-facing correspondence cards, details/reply panels and
   safe notification focus anchor only. Business logic remains untouched.
   ====================================================================== */
html{scroll-padding-top:120px}
html body .ttm-my-correspondence-shell-v124{display:grid!important;gap:18px!important}
html body .ttm-my-correspondence-hero-v124{align-items:center!important;gap:18px!important;overflow:hidden!important}
html body .ttm-my-correspondence-hero-v124 h2{font-weight:950!important;letter-spacing:-.025em!important}
html body .ttm-my-correspondence-hero-v124 p{max-width:760px!important;line-height:1.95!important}
html body .ttm-my-correspondence-kpis-v124 article{position:relative;overflow:hidden!important;text-align:center!important;display:grid!important;place-items:center!important;min-height:74px!important}
html body .ttm-my-correspondence-kpis-v124 article:before{content:"";position:absolute;inset:auto 12px 0 12px;height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,var(--ttm-primary,#e50914),transparent);opacity:.38}
html body .ttm-my-correspondence-list-card-v124{padding:18px!important;border-radius:28px!important;display:grid!important;gap:14px!important;overflow:visible!important}
html body .ttm-my-correspondence-head-v124{margin:0!important;align-items:flex-start!important}
html body .ttm-my-correspondence-filter-v124{display:grid!important;grid-template-columns:minmax(180px,.38fr) minmax(220px,1fr) auto!important;gap:12px!important;align-items:end!important;background:rgba(248,250,252,.72)!important;border:1px solid rgba(148,163,184,.16)!important;border-radius:22px!important;padding:12px!important}
html body .ttm-my-correspondence-filter-v124 label{margin:0!important}
html body .ttm-my-correspondence-filter-v124 .ttm-btn{width:auto!important;min-width:130px!important;height:44px!important;border-radius:16px!important}
html body .ttm-my-correspondence-stack-v124{display:grid!important;gap:12px!important}
html body .ttm-my-letter-card-v124{position:relative!important;display:grid!important;gap:14px!important;padding:16px!important;border-radius:26px!important;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.72))!important;border:1px solid rgba(148,163,184,.18)!important;box-shadow:0 14px 38px rgba(15,23,42,.055)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important;scroll-margin-top:130px!important}
html body .ttm-my-letter-card-v124:hover{transform:translateY(-1px)!important;border-color:rgba(229,9,20,.20)!important;box-shadow:0 20px 52px rgba(15,23,42,.08)!important}
html body .ttm-my-letter-card-v124.is-new{background:linear-gradient(90deg,rgba(255,245,245,.92),rgba(255,255,255,.96))!important;border-color:rgba(229,9,20,.18)!important}
html body .ttm-my-letter-card-v124.is-new:before{content:"";position:absolute;inset-block:18px;inset-inline-start:0;width:4px;border-radius:0 99px 99px 0;background:linear-gradient(180deg,var(--ttm-primary,#e50914),#fb7185)}
html body .ttm-my-letter-card-v124.is-urgent{border-color:rgba(245,158,11,.32)!important}
html body .ttm-my-letter-card-v124.is-focused,
html body .ttm-my-letter-card-v124:target{border-color:rgba(229,9,20,.42)!important;box-shadow:0 0 0 5px rgba(229,9,20,.08),0 24px 70px rgba(15,23,42,.12)!important}
html body .ttm-my-letter-top-v124{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:start!important}
html body .ttm-my-letter-title-v124{min-width:0!important;display:grid!important;gap:7px!important}
html body .ttm-my-letter-chips-v124{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
html body .ttm-letter-type-pill-v124,
html body .ttm-letter-new-pill-v124{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:26px!important;padding:0 10px!important;border-radius:999px!important;font-size:11px!important;font-weight:950!important;line-height:1!important;border:1px solid rgba(148,163,184,.18)!important;background:rgba(241,245,249,.86)!important;color:var(--ttm-muted,#64748b)!important}
html body .ttm-letter-new-pill-v124{background:linear-gradient(135deg,#ef4444,#b91c1c)!important;color:#fff!important;border-color:rgba(255,255,255,.5)!important;box-shadow:0 8px 16px rgba(239,68,68,.18)!important}
html body .ttm-my-letter-title-v124 h3{margin:0!important;color:var(--ttm-text,#172033)!important;font-size:17px!important;font-weight:950!important;line-height:1.8!important}
html body .ttm-my-letter-meta-line-v124{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
html body .ttm-my-letter-meta-line-v124 span{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:28px!important;padding:5px 10px!important;border-radius:999px!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(148,163,184,.16)!important;color:var(--ttm-muted,#64748b)!important;font-size:11px!important;font-weight:800!important;line-height:1.4!important}
html body .ttm-my-letter-meta-line-v124 b{color:var(--ttm-text,#172033)!important;font-weight:950!important}
html body .ttm-my-letter-badges-v124{display:flex!important;align-items:flex-start!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;max-width:320px!important}
html body .ttm-my-letter-badges-v124 .ttm-status-badge{height:27px!important;padding:0 10px!important;border-radius:999px!important;font-size:10.5px!important;font-weight:950!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}
html body .ttm-my-letter-preview-v124{display:grid!important;gap:12px!important}
html body .ttm-my-letter-preview-v124>p{margin:0!important;padding:13px 14px!important;border-radius:20px!important;background:rgba(255,255,255,.75)!important;border:1px solid rgba(148,163,184,.14)!important;color:var(--ttm-text,#172033)!important;line-height:2!important;font-size:13px!important;font-weight:650!important}
html body .ttm-letter-info-grid-v124{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html body .ttm-letter-info-grid-v124>span{display:grid!important;gap:5px!important;align-content:center!important;min-height:58px!important;padding:10px 12px!important;border-radius:18px!important;background:rgba(248,250,252,.78)!important;border:1px solid rgba(148,163,184,.14)!important;color:var(--ttm-muted,#64748b)!important;font-size:12px!important;line-height:1.7!important;min-width:0!important}
html body .ttm-letter-info-grid-v124 b{display:block!important;color:var(--ttm-text,#172033)!important;font-size:11px!important;font-weight:950!important}
html body .ttm-letter-info-grid-v124 a,
html body .ttm-letter-detail-grid-v124 a{color:var(--ttm-primary,#e50914)!important;font-weight:950!important;text-decoration:none!important}
html body .ttm-my-letter-actions-v124{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;align-items:start!important}
html body .ttm-letter-panel-v124{border:1px solid rgba(148,163,184,.16)!important;border-radius:20px!important;background:rgba(255,255,255,.78)!important;overflow:hidden!important;box-shadow:0 10px 26px rgba(15,23,42,.035)!important}
html body .ttm-letter-panel-v124 summary{list-style:none!important;cursor:pointer!important;min-height:44px!important;padding:0 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;color:var(--ttm-text,#172033)!important;font-size:12px!important;font-weight:950!important;user-select:none!important}
html body .ttm-letter-panel-v124 summary::-webkit-details-marker{display:none!important}
html body .ttm-letter-panel-v124 summary:after{content:"⌄";width:26px;height:26px;border-radius:10px;background:rgba(241,245,249,.9);display:grid;place-items:center;color:var(--ttm-muted,#64748b);font-size:15px;transition:transform .16s ease}
html body .ttm-letter-panel-v124[open] summary{border-bottom:1px solid rgba(148,163,184,.13)!important;background:rgba(248,250,252,.72)!important}
html body .ttm-letter-panel-v124[open] summary:after{transform:rotate(180deg)}
html body .ttm-letter-details-body-v124{display:grid!important;gap:12px!important;padding:13px!important}
html body .ttm-letter-full-text-v124{padding:13px 14px!important;border-radius:18px!important;background:rgba(248,250,252,.78)!important;border:1px solid rgba(148,163,184,.13)!important}
html body .ttm-letter-full-text-v124 strong{display:block!important;margin-bottom:7px!important;color:var(--ttm-text,#172033)!important;font-weight:950!important;font-size:12px!important}
html body .ttm-letter-full-text-v124 p{margin:0!important;color:var(--ttm-text,#172033)!important;line-height:2.1!important;font-size:13px!important;white-space:pre-wrap!important}
html body .ttm-letter-detail-grid-v124{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html body .ttm-letter-detail-grid-v124 span{padding:9px 10px!important;border-radius:15px!important;background:#fff!important;border:1px solid rgba(148,163,184,.12)!important;color:var(--ttm-muted,#64748b)!important;font-size:11.5px!important;line-height:1.8!important;min-width:0!important}
html body .ttm-letter-detail-grid-v124 b{color:var(--ttm-text,#172033)!important;font-weight:950!important}
html body .ttm-my-letter-form-v124{display:grid!important;grid-template-columns:minmax(160px,.4fr) minmax(0,1fr)!important;gap:11px!important;padding:13px!important;background:transparent!important;border:0!important;margin:0!important;box-shadow:none!important}
html body .ttm-my-letter-form-v124 label{margin:0!important;font-size:11.5px!important;font-weight:850!important;color:var(--ttm-muted,#64748b)!important;gap:7px!important}
html body .ttm-my-letter-form-v124 select,
html body .ttm-my-letter-form-v124 textarea,
html body .ttm-my-letter-form-v124 input[type=file]{border-radius:16px!important;border:1px solid rgba(148,163,184,.18)!important;background:#fff!important;box-shadow:none!important;font-size:12px!important;color:var(--ttm-text,#172033)!important}
html body .ttm-my-letter-form-v124 textarea{min-height:92px!important;line-height:1.9!important;resize:vertical!important}
html body .ttm-my-letter-form-v124 .ttm-span-2{grid-column:1/-1!important}
html body .ttm-file-field-v124{grid-column:1/-1!important;position:relative!important;padding:12px!important;border-radius:18px!important;background:rgba(248,250,252,.78)!important;border:1px dashed rgba(148,163,184,.32)!important}
html body .ttm-file-field-v124 input[type=file]{margin-top:7px!important;width:100%!important;min-height:42px!important;padding:9px!important;cursor:pointer!important}
html body .ttm-file-field-v124 small{display:block!important;margin-top:6px!important;color:var(--ttm-muted,#64748b)!important;font-size:11px!important;line-height:1.7!important}
html body .ttm-my-letter-submit-v124{grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important;margin:0!important;padding-top:0!important}
html body .ttm-my-letter-submit-v124 .ttm-btn{width:auto!important;min-width:150px!important;height:42px!important;border-radius:15px!important}
html body .ttm-my-letter-card-v124 .ttm-muted-inline{font-size:11.5px!important;color:var(--ttm-muted,#64748b)!important}
@media(max-width:980px){
  html body .ttm-my-correspondence-filter-v124{grid-template-columns:1fr!important}
  html body .ttm-my-correspondence-filter-v124 .ttm-btn{width:100%!important}
  html body .ttm-my-letter-top-v124{grid-template-columns:1fr!important}
  html body .ttm-my-letter-badges-v124{justify-content:flex-start!important;max-width:none!important}
  html body .ttm-letter-info-grid-v124{grid-template-columns:1fr!important}
  html body .ttm-my-letter-actions-v124{grid-template-columns:1fr!important}
  html body .ttm-my-letter-form-v124{grid-template-columns:1fr!important}
  html body .ttm-letter-detail-grid-v124{grid-template-columns:1fr!important}
}
@media(max-width:640px){
  html body .ttm-my-correspondence-list-card-v124{padding:12px!important;border-radius:22px!important}
  html body .ttm-my-letter-card-v124{padding:12px!important;border-radius:21px!important;gap:11px!important}
  html body .ttm-my-letter-title-v124 h3{font-size:15px!important}
  html body .ttm-my-letter-meta-line-v124 span{width:100%!important;justify-content:space-between!important;border-radius:14px!important}
  html body .ttm-my-letter-preview-v124>p{font-size:12px!important;padding:11px!important;border-radius:16px!important}
  html body .ttm-letter-panel-v124{border-radius:17px!important}
  html body .ttm-letter-panel-v124 summary{min-height:42px!important;padding:0 12px!important}
  html body .ttm-my-letter-submit-v124 .ttm-btn{width:100%!important}
}

/* ==========================================================================
   Teamora 1.2.5 — Phase 5 Attendance UI Polish lock
   Scope: Attendance screen only. No attendance calculations, payroll, db or flows.
   ========================================================================== */
html body .ttm-main .ttm-attendance-v125{
  --ttm-att-v125-border:rgba(148,163,184,.16);
  --ttm-att-v125-soft:#f8fafc;
  --ttm-att-v125-text:var(--ttm-text,#172033);
  --ttm-att-v125-muted:var(--ttm-muted,#64748b);
  display:grid!important;
  gap:14px!important;
}
html body .ttm-main .ttm-attendance-v125 .ttm-attendance-hero{
  position:relative!important;
  overflow:hidden!important;
  border-radius:30px!important;
  padding:20px!important;
  align-items:center!important;
}
html body .ttm-main .ttm-attendance-v125 .ttm-attendance-hero:before{
  content:""!important;
  position:absolute!important;
  inset:auto -42px -70px auto!important;
  width:190px!important;
  height:190px!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 0 0 34px rgba(255,255,255,.035),0 0 0 68px rgba(255,255,255,.025)!important;
  pointer-events:none!important;
}
html body .ttm-main .ttm-attendance-v125 .ttm-attendance-hero>div{
  position:relative!important;
  z-index:1!important;
}
html body .ttm-main .ttm-attendance-v125 .ttm-attendance-status{
  min-height:128px!important;
  border-radius:24px!important;
}
html body .ttm-main .ttm-attendance-status-strip-v125{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
}
html body .ttm-main .ttm-attendance-status-card-v125{
  position:relative!important;
  min-width:0!important;
  min-height:96px!important;
  padding:14px 15px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border:1px solid var(--ttm-att-v125-border)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.06)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:6px!important;
  overflow:hidden!important;
}
html body .ttm-main .ttm-attendance-status-card-v125:before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:5px!important;
  border-radius:999px!important;
  background:#94a3b8!important;
}
html body .ttm-main .ttm-attendance-status-card-v125 span{
  display:block!important;
  color:var(--ttm-att-v125-muted)!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.45!important;
}
html body .ttm-main .ttm-attendance-status-card-v125 strong{
  display:block!important;
  color:var(--ttm-att-v125-text)!important;
  font-size:16px!important;
  font-weight:950!important;
  line-height:1.45!important;
}
html body .ttm-main .ttm-attendance-status-card-v125 small{
  display:block!important;
  color:#94a3b8!important;
  font-size:10.5px!important;
  font-weight:750!important;
  line-height:1.7!important;
}
html body .ttm-main .ttm-attendance-status-card-v125.is-success:before{background:#22c55e!important;}
html body .ttm-main .ttm-attendance-status-card-v125.is-warning:before{background:#f59e0b!important;}
html body .ttm-main .ttm-attendance-status-card-v125.is-danger:before{background:#ef4444!important;}
html body .ttm-main .ttm-attendance-status-card-v125.is-info:before{background:#3b82f6!important;}
html body .ttm-main .ttm-attendance-status-card-v125.is-neutral:before{background:#94a3b8!important;}
html body .ttm-main .ttm-attendance-open-alert-v125{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px 12px!important;
  padding:12px 14px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#fffbeb,#fff7ed)!important;
  border:1px solid rgba(245,158,11,.24)!important;
  box-shadow:0 14px 32px rgba(245,158,11,.08)!important;
}
html body .ttm-main .ttm-attendance-open-alert-v125:before{
  content:"!"!important;
  width:34px!important;
  height:34px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:#f59e0b!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:950!important;
}
html body .ttm-main .ttm-attendance-open-alert-v125 b{
  display:block!important;
  color:#92400e!important;
  font-size:12.5px!important;
  font-weight:950!important;
  line-height:1.55!important;
}
html body .ttm-main .ttm-attendance-open-alert-v125 span{
  display:block!important;
  color:#92400e!important;
  font-size:11.5px!important;
  font-weight:760!important;
  line-height:1.8!important;
}
html body .ttm-main .ttm-attendance-actions-v125{
  padding:15px!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 18px 45px rgba(15,23,42,.07)!important;
}
html body .ttm-main .ttm-attendance-clock-grid-v125,
html body .ttm-main .ttm-shift-mini-grid-v125{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 10px!important;
}
html body .ttm-main .ttm-attendance-clock-grid-v125>.ttm-attendance-mini-card-v125,
html body .ttm-main .ttm-shift-mini-grid-v125>.ttm-attendance-mini-card-v125{
  min-width:0!important;
  min-height:82px!important;
  padding:12px 10px!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  border:1px solid rgba(148,163,184,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 10px 24px rgba(15,23,42,.045)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:5px!important;
  overflow:hidden!important;
  color:var(--ttm-att-v125-text)!important;
}
html body .ttm-main .ttm-attendance-mini-card-v125:before{
  content:""!important;
  width:28px!important;
  height:4px!important;
  border-radius:999px!important;
  background:rgba(148,163,184,.34)!important;
  margin-bottom:2px!important;
}
html body .ttm-main .ttm-attendance-mini-card-v125.is-checkin:before{background:#22c55e!important;}
html body .ttm-main .ttm-attendance-mini-card-v125.is-checkout:before{background:#111827!important;}
html body .ttm-main .ttm-attendance-mini-card-v125.is-break:before{background:#3b82f6!important;}
html body .ttm-main .ttm-attendance-mini-card-v125.is-required:before{background:#8b5cf6!important;}
html body .ttm-main .ttm-attendance-mini-card-v125.is-warning:before{background:#f59e0b!important;}
html body .ttm-main .ttm-attendance-mini-card-v125.is-success:before{background:#22c55e!important;}
html body .ttm-main .ttm-attendance-clock-grid-v125>.ttm-attendance-mini-card-v125 span,
html body .ttm-main .ttm-shift-mini-grid-v125>.ttm-attendance-mini-card-v125 span,
html body .ttm-main .ttm-attendance-clock-grid-v125>.ttm-attendance-mini-card-v125 strong,
html body .ttm-main .ttm-shift-mini-grid-v125>.ttm-attendance-mini-card-v125 strong{
  width:100%!important;
  display:block!important;
  text-align:center!important;
  color:inherit!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
html body .ttm-main .ttm-attendance-clock-grid-v125>.ttm-attendance-mini-card-v125 span,
html body .ttm-main .ttm-shift-mini-grid-v125>.ttm-attendance-mini-card-v125 span{
  color:var(--ttm-att-v125-muted)!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.45!important;
  margin:0!important;
}
html body .ttm-main .ttm-attendance-clock-grid-v125>.ttm-attendance-mini-card-v125 strong,
html body .ttm-main .ttm-shift-mini-grid-v125>.ttm-attendance-mini-card-v125 strong{
  color:var(--ttm-att-v125-text)!important;
  font-size:15px!important;
  font-weight:950!important;
  line-height:1.38!important;
  margin:0!important;
}
html body .ttm-main .ttm-attendance-action-form textarea{
  text-align:center!important;
  background:#fff!important;
  color:var(--ttm-att-v125-text)!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
html body .ttm-main .ttm-attendance-buttons{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important;
  align-items:stretch!important;
}
html body .ttm-main .ttm-attendance-buttons .ttm-att-btn-v125{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  border-radius:17px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:9px 10px!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1.35!important;
  white-space:normal!important;
}
html body .ttm-main .ttm-attendance-buttons .ttm-att-btn-v125:before{
  content:""!important;
  width:8px!important;
  height:8px!important;
  border-radius:999px!important;
  background:currentColor!important;
  opacity:.72!important;
  flex:0 0 8px!important;
}
html body .ttm-main .ttm-attendance-buttons .ttm-att-btn-v125:disabled{
  opacity:1!important;
  color:#94a3b8!important;
  background:#f8fafc!important;
  border:1px solid #e5e7eb!important;
  filter:none!important;
  box-shadow:none!important;
  cursor:not-allowed!important;
}
html body .ttm-main .ttm-attendance-buttons .ttm-att-btn-v125:disabled:before{opacity:.28!important;}
html body .ttm-main .ttm-attendance-metrics .ttm-premium-metric{
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
}
html body .ttm-main .ttm-attendance-row-open-v125 td{
  background:#fffbeb!important;
}
html body .ttm-main .ttm-attendance-inline-warning-v125,
html body .ttm-main .ttm-attendance-card-badges-v125 em{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:24px!important;
  padding:4px 8px!important;
  margin-inline-start:6px!important;
  border-radius:999px!important;
  background:#f59e0b!important;
  color:#fff!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:950!important;
  line-height:1!important;
  white-space:nowrap!important;
}
html body .ttm-main .ttm-attendance-record-card.is-open-checkout-v125{
  border-color:rgba(245,158,11,.32)!important;
  background:linear-gradient(180deg,#fff,#fffbeb)!important;
}
html body .ttm-main .ttm-attendance-card-badges-v125{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
html body .ttm-main .ttm-attendance-manager-picker,
html body .ttm-main .ttm-attendance-obligation-card,
html body .ttm-main .ttm-attendance-manager-edit,
html body .ttm-main .ttm-shift-guide-card,
html body .ttm-main .ttm-attendance-team-today,
html body .ttm-main .ttm-attendance-history{
  border-radius:24px!important;
}
@media(max-width:980px){
  html body .ttm-main .ttm-attendance-status-strip-v125,
  html body .ttm-main .ttm-attendance-clock-grid-v125,
  html body .ttm-main .ttm-shift-mini-grid-v125{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body .ttm-main .ttm-attendance-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  html body .ttm-main .ttm-attendance-v125{gap:11px!important;}
  html body .ttm-main .ttm-attendance-v125 .ttm-attendance-hero{
    padding:15px!important;
    border-radius:23px!important;
    text-align:center!important;
  }
  html body .ttm-main .ttm-attendance-v125 .ttm-attendance-status{min-height:108px!important;}
  html body .ttm-main .ttm-attendance-status-strip-v125{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  html body .ttm-main .ttm-attendance-status-card-v125{
    min-height:78px!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  html body .ttm-main .ttm-attendance-open-alert-v125{
    grid-template-columns:1fr!important;
    justify-items:center!important;
    text-align:center!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  html body .ttm-main .ttm-attendance-actions-v125{padding:12px!important;border-radius:21px!important;}
  html body .ttm-main .ttm-attendance-clock-grid-v125,
  html body .ttm-main .ttm-shift-mini-grid-v125{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body .ttm-main .ttm-attendance-clock-grid-v125>.ttm-attendance-mini-card-v125,
  html body .ttm-main .ttm-shift-mini-grid-v125>.ttm-attendance-mini-card-v125{
    min-height:68px!important;
    padding:9px 7px!important;
    border-radius:16px!important;
  }
  html body .ttm-main .ttm-attendance-mini-card-v125:before{width:23px!important;height:3px!important;}
  html body .ttm-main .ttm-attendance-clock-grid-v125>.ttm-attendance-mini-card-v125 span,
  html body .ttm-main .ttm-shift-mini-grid-v125>.ttm-attendance-mini-card-v125 span{font-size:9.8px!important;}
  html body .ttm-main .ttm-attendance-clock-grid-v125>.ttm-attendance-mini-card-v125 strong,
  html body .ttm-main .ttm-shift-mini-grid-v125>.ttm-attendance-mini-card-v125 strong{font-size:12.5px!important;}
  html body .ttm-main .ttm-attendance-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  html body .ttm-main .ttm-attendance-buttons .ttm-att-btn-v125{min-height:43px!important;font-size:11px!important;border-radius:15px!important;padding:8px 6px!important;}
  html body .ttm-main .ttm-attendance-record-card>div{align-items:flex-start!important;}
  html body .ttm-main .ttm-attendance-card-badges-v125{justify-content:flex-start!important;}
}
@media(max-width:360px){
  html body .ttm-main .ttm-attendance-buttons .ttm-att-btn-v125{font-size:10.5px!important;}
}


/* ========================================================================
   Teamora 1.2.6 — Phase 6 Global List / Button / Mobile Polish lock
   Scope: visual-only. No business logic, schema, attendance, correspondence,
   payroll or notification flow is changed here.
   ======================================================================== */
html body .ttm-main{
  --ttm-v126-border:rgba(148,163,184,.18);
  --ttm-v126-soft:#f8fafc;
  --ttm-v126-text:var(--ttm-text,#172033);
  --ttm-v126-muted:var(--ttm-muted,#64748b);
  --ttm-v126-shadow:0 14px 36px rgba(15,23,42,.055);
}
html body .ttm-main .ttm-table-card,
html body .ttm-main .ttm-premium-card:has(.ttm-table-wrap),
html body .ttm-main .ttm-request-list-card,
html body .ttm-main .ttm-leave-list-card,
html body .ttm-main .ttm-payroll-adjustment-list-card{
  overflow:hidden!important;
  border-radius:24px!important;
}
html body .ttm-main .ttm-table-wrap,
html body .ttm-main .ttm-ui-table-wrap{
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:20px!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(148,163,184,.45) transparent!important;
}
html body .ttm-main .ttm-table-wrap::-webkit-scrollbar{height:8px!important;}
html body .ttm-main .ttm-table-wrap::-webkit-scrollbar-thumb{background:rgba(148,163,184,.34)!important;border-radius:999px!important;}
html body .ttm-main .ttm-table-wrap.has-scroll-x:after,
html body .ttm-main .ttm-table-wrap.is-scrollable-x:after,
html body .ttm-main .ttm-table-wrap.ttm-mobile-scroll-ready-v126:after{
  content:"برای دیدن ستون‌های بیشتر، جدول را افقی بکشید"!important;
  position:sticky!important;
  right:10px!important;
  bottom:8px!important;
  z-index:2!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:calc(100% - 20px)!important;
  margin:8px 0 2px!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.82)!important;
  color:#fff!important;
  font-size:10.5px!important;
  font-weight:900!important;
  box-shadow:0 10px 24px rgba(15,23,42,.18)!important;
  pointer-events:none!important;
}
html body .ttm-main .ttm-table,
html body .ttm-main .ttm-pretty-table,
html body .ttm-main .ttm-request-table,
html body .ttm-main .ttm-documents-table,
html body .ttm-main .ttm-official-archive-table{
  border-collapse:separate!important;
  border-spacing:0!important;
  width:100%!important;
  table-layout:auto!important;
  background:#fff!important;
}
html body .ttm-main .ttm-table th,
html body .ttm-main .ttm-table td{
  vertical-align:middle!important;
  border-color:rgba(226,232,240,.86)!important;
  line-height:1.7!important;
}
html body .ttm-main .ttm-table th{
  position:relative!important;
  white-space:nowrap!important;
  font-size:11px!important;
  font-weight:950!important;
  color:#475569!important;
  background:linear-gradient(180deg,#f8fafc,#f1f5f9)!important;
}
html body .ttm-main .ttm-table td{
  font-size:12px!important;
  color:var(--ttm-v126-text)!important;
}
html body .ttm-main .ttm-table td small,
html body .ttm-main .ttm-muted-inline,
html body .ttm-main .ttm-mini-note-inline{
  color:var(--ttm-v126-muted)!important;
  line-height:1.65!important;
}
html body .ttm-main .ttm-table tbody tr{
  transition:background .14s ease, box-shadow .14s ease!important;
}
html body .ttm-main .ttm-table tbody tr:hover td{
  background:rgba(248,250,252,.86)!important;
}
html body .ttm-main .ttm-table .ttm-cell-actions-v126,
html body .ttm-main .ttm-table td:last-child:has(.ttm-btn),
html body .ttm-main .ttm-table td:last-child:has(button),
html body .ttm-main .ttm-table td:last-child:has(form),
html body .ttm-main .ttm-table td:last-child:has(a[href]){
  min-width:168px!important;
  width:1%!important;
  white-space:nowrap!important;
}
html body .ttm-main .ttm-cell-actions-v126,
html body .ttm-main .ttm-action-links,
html body .ttm-main .ttm-row-actions,
html body .ttm-main .ttm-table td:last-child .ttm-action-links{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  max-width:100%!important;
}
html body .ttm-main .ttm-cell-actions-v126 > *,
html body .ttm-main .ttm-action-links > *{
  flex:0 0 auto!important;
}
html body .ttm-main .ttm-table .ttm-inline-form,
html body .ttm-main .ttm-table form.ttm-inline-form,
html body .ttm-main .ttm-inline-action-form-v126{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin:0!important;
  padding:0!important;
  max-width:100%!important;
}
html body .ttm-main .ttm-table .ttm-inline-form select,
html body .ttm-main .ttm-table .ttm-inline-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html body .ttm-main .ttm-inline-action-form-v126 select,
html body .ttm-main .ttm-inline-action-form-v126 input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]){
  width:auto!important;
  min-width:94px!important;
  max-width:150px!important;
  min-height:34px!important;
  height:34px!important;
  padding:6px 9px!important;
  border-radius:12px!important;
  font-size:11px!important;
  font-weight:800!important;
}
html body .ttm-main .ttm-table .ttm-inline-form input[name*="note"],
html body .ttm-main .ttm-table .ttm-inline-form input[name*="manager"],
html body .ttm-main .ttm-inline-action-form-v126 input[name*="note"],
html body .ttm-main .ttm-inline-action-form-v126 input[name*="manager"]{
  min-width:130px!important;
  max-width:190px!important;
}
html body .ttm-main .ttm-btn,
html body .ttm-main button.ttm-btn,
html body .ttm-main a.ttm-btn,
html body .ttm-main .ttm-link-button,
html body .ttm-main .ttm-action-links a,
html body .ttm-main .ttm-table button:not(.ttm-premium-metric):not(.ttm-nav-item):not(.ttm-icon-btn){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border-radius:14px!important;
  text-decoration:none!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  max-width:100%!important;
  cursor:pointer!important;
}
html body .ttm-main .ttm-table .ttm-btn,
html body .ttm-main .ttm-table .ttm-btn-mini,
html body .ttm-main .ttm-table button.ttm-btn-mini,
html body .ttm-main .ttm-action-links a,
html body .ttm-main .ttm-action-links button,
html body .ttm-main .ttm-cell-actions-v126 .ttm-btn,
html body .ttm-main .ttm-cell-actions-v126 button,
html body .ttm-main .ttm-cell-actions-v126 a{
  min-height:32px!important;
  padding:7px 10px!important;
  font-size:10.5px!important;
  font-weight:950!important;
  border-radius:12px!important;
  width:auto!important;
  flex:0 0 auto!important;
}
html body .ttm-main .ttm-form-actions,
html body .ttm-main .ttm-report-export-actions-v118,
html body .ttm-main .ttm-dashboard-compact-actions,
html body .ttm-main .ttm-section-toolbar,
html body .ttm-main .ttm-list-toolbar,
html body .ttm-main .ttm-top-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  flex-wrap:wrap!important;
}
html body .ttm-main .ttm-form-actions .ttm-btn,
html body .ttm-main .ttm-form-actions button,
html body .ttm-main .ttm-report-export-actions-v118 .ttm-btn,
html body .ttm-main .ttm-dashboard-compact-actions .ttm-btn,
html body .ttm-main .ttm-list-toolbar .ttm-btn{
  width:auto!important;
  min-width:unset!important;
  flex:0 0 auto!important;
}
html body .ttm-main .ttm-list-toolbar,
html body .ttm-main .ttm-section-toolbar{
  margin-bottom:12px!important;
}
html body .ttm-main .ttm-list-toolbar .ttm-search-lite,
html body .ttm-main .ttm-section-toolbar .ttm-search-lite{
  flex:1 1 220px!important;
  min-width:180px!important;
  max-width:420px!important;
}
html body .ttm-main .ttm-card-head{
  align-items:center!important;
  gap:10px!important;
}
html body .ttm-main .ttm-card-head h3,
html body .ttm-main .ttm-card-head p{
  overflow-wrap:anywhere!important;
}
html body .ttm-main .ttm-ui-list-item,
html body .ttm-main .ttm-request-row,
html body .ttm-main .ttm-timeline-row,
html body .ttm-main .ttm-document-row,
html body .ttm-main .ttm-notification-row{
  border-radius:18px!important;
}
html body .ttm-main .ttm-filter-chip,
html body .ttm-main .ttm-status-badge,
html body .ttm-main .ttm-badge,
html body .ttm-main .ttm-pill,
html body .ttm-main .ttm-letter-chip-v124,
html body .ttm-main .ttm-letter-new-pill-v124{
  max-width:100%!important;
  white-space:nowrap!important;
  line-height:1.25!important;
}
html body .ttm-main .ttm-table .ttm-status-badge,
html body .ttm-main .ttm-table .ttm-badge,
html body .ttm-main .ttm-table .ttm-pill{
  min-height:24px!important;
  padding:4px 8px!important;
  font-size:10px!important;
}
@media(max-width:980px){
  html body .ttm-main .ttm-table,
  html body .ttm-main .ttm-pretty-table,
  html body .ttm-main .ttm-request-table,
  html body .ttm-main .ttm-documents-table,
  html body .ttm-main .ttm-official-archive-table{
    min-width:720px!important;
  }
  html body .ttm-main .ttm-table th,
  html body .ttm-main .ttm-table td{
    padding:10px 9px!important;
  }
  html body .ttm-main .ttm-cell-actions-v126{
    min-width:190px!important;
  }
}
@media(max-width:640px){
  html body .ttm-main .ttm-table-card,
  html body .ttm-main .ttm-premium-card:has(.ttm-table-wrap),
  html body .ttm-main .ttm-request-list-card,
  html body .ttm-main .ttm-leave-list-card{
    border-radius:20px!important;
  }
  html body .ttm-main .ttm-table-wrap,
  html body .ttm-main .ttm-ui-table-wrap{
    margin-inline:-2px!important;
    border-radius:16px!important;
  }
  html body .ttm-main .ttm-table{
    min-width:680px!important;
  }
  html body .ttm-main .ttm-table th,
  html body .ttm-main .ttm-table td{
    font-size:11px!important;
    padding:9px 8px!important;
  }
  html body .ttm-main .ttm-cell-actions-v126,
  html body .ttm-main .ttm-action-links,
  html body .ttm-main .ttm-table .ttm-inline-form,
  html body .ttm-main .ttm-inline-action-form-v126{
    gap:5px!important;
  }
  html body .ttm-main .ttm-table .ttm-inline-form select,
  html body .ttm-main .ttm-table .ttm-inline-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  html body .ttm-main .ttm-inline-action-form-v126 select,
  html body .ttm-main .ttm-inline-action-form-v126 input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]){
    min-width:82px!important;
    max-width:132px!important;
    height:32px!important;
    min-height:32px!important;
    font-size:10px!important;
    padding:5px 7px!important;
  }
  html body .ttm-main .ttm-table .ttm-btn,
  html body .ttm-main .ttm-table .ttm-btn-mini,
  html body .ttm-main .ttm-action-links a,
  html body .ttm-main .ttm-action-links button,
  html body .ttm-main .ttm-cell-actions-v126 .ttm-btn,
  html body .ttm-main .ttm-cell-actions-v126 button,
  html body .ttm-main .ttm-cell-actions-v126 a{
    min-height:30px!important;
    padding:6px 8px!important;
    font-size:9.8px!important;
    border-radius:10px!important;
  }
  html body .ttm-main .ttm-form-actions,
  html body .ttm-main .ttm-report-export-actions-v118,
  html body .ttm-main .ttm-dashboard-compact-actions,
  html body .ttm-main .ttm-section-toolbar,
  html body .ttm-main .ttm-list-toolbar,
  html body .ttm-main .ttm-top-actions{
    gap:7px!important;
  }
  html body .ttm-main .ttm-form-actions .ttm-btn,
  html body .ttm-main .ttm-form-actions button{
    flex:1 1 auto!important;
    min-width:120px!important;
  }
  html body .ttm-main .ttm-list-toolbar .ttm-search-lite,
  html body .ttm-main .ttm-section-toolbar .ttm-search-lite{
    flex:1 1 100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  html body .ttm-main .ttm-card-head{
    grid-template-columns:auto 1fr!important;
  }
}
@media(max-width:380px){
  html body .ttm-main .ttm-table{min-width:640px!important;}
  html body .ttm-main .ttm-table th,
  html body .ttm-main .ttm-table td{padding:8px 7px!important;}
}


html body .ttm-main .ttm-table-wrap.has-scroll-x:after,
html body .ttm-main .ttm-table-wrap.is-scrollable-x:after,
html body .ttm-main .ttm-table-wrap.ttm-mobile-scroll-ready-v126:after{
  content:none!important;
  display:none!important;
}
body > .ttm-notification-modal,
html body > .ttm-notification-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:20px!important;
  isolation:isolate!important;
  pointer-events:none!important;
}
body > .ttm-notification-modal.is-open,
html body > .ttm-notification-modal.is-open{
  display:flex!important;
  pointer-events:auto!important;
}
body > .ttm-notification-modal .ttm-notification-modal-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  background:rgba(15,23,42,.62)!important;
  backdrop-filter:blur(10px)!important;
}
body > .ttm-notification-modal .ttm-notification-modal-card{
  position:relative!important;
  z-index:1!important;
  max-height:calc(100vh - 42px)!important;
  overflow:auto!important;
}
html.ttm-notification-modal-open,
body.ttm-notification-modal-open{
  overflow:hidden!important;
}
.ttm-portal .ttm-request-center-hero.ttm-ui-hero{
  background:linear-gradient(135deg,#111827,#1f2937 58%,var(--ttm-primary,#e50914))!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 22px 62px rgba(15,23,42,.16)!important;
}
.ttm-portal .ttm-performance-hero.ttm-ui-hero,
.ttm-portal .ttm-attendance-hero.ttm-ui-hero,
.ttm-portal .ttm-smart-hero.ttm-ui-hero,
.ttm-portal .ttm-cinematic-hero.ttm-ui-hero,
.ttm-portal .ttm-assets-hero.ttm-ui-hero,
.ttm-portal .ttm-knowledge-hero.ttm-ui-hero,
.ttm-portal .ttm-lifecycle-hero.ttm-ui-hero,
.ttm-portal .ttm-export-hero.ttm-ui-hero,
.ttm-portal .ttm-report-hero-v111.ttm-ui-hero,
.ttm-portal .ttm-official-hero-strip.ttm-ui-hero{
  background:linear-gradient(135deg,#111827,#1f2937 58%,var(--ttm-primary,#e50914))!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 22px 62px rgba(15,23,42,.16)!important;
}
.ttm-portal .ttm-request-center-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-performance-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-attendance-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-smart-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-cinematic-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-assets-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-knowledge-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-lifecycle-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-export-hero.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-report-hero-v111.ttm-ui-hero :where(h1,h2,h3),
.ttm-portal .ttm-official-hero-strip.ttm-ui-hero :where(h1,h2,h3){
  color:#fff!important;
}
.ttm-portal .ttm-request-center-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-performance-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-attendance-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-smart-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-cinematic-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-assets-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-knowledge-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-lifecycle-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-export-hero.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-report-hero-v111.ttm-ui-hero :where(p,small,span),
.ttm-portal .ttm-official-hero-strip.ttm-ui-hero :where(p,small,span){
  color:rgba(255,255,255,.78)!important;
}
.ttm-secretariat-list-card .ttm-card-head{
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.ttm-secretariat-filter-wide{
  grid-template-columns:repeat(4,minmax(145px,1fr))!important;
  gap:10px 12px!important;
  align-items:end!important;
}
.ttm-secretariat-filter-wide .ttm-btn{
  min-height:42px!important;
  align-self:end!important;
}
.ttm-secretariat-table{
  min-width:1060px!important;
  table-layout:auto!important;
}
.ttm-secretariat-table th,
.ttm-secretariat-table td{
  text-align:right!important;
  vertical-align:middle!important;
}
.ttm-secretariat-table td:nth-child(1){min-width:110px!important;}
.ttm-secretariat-table td:nth-child(3){min-width:210px!important;max-width:270px!important;}
.ttm-secretariat-table td:nth-child(4),
.ttm-secretariat-table td:nth-child(5){min-width:115px!important;}
.ttm-secretariat-table td:nth-child(10){min-width:285px!important;}
.ttm-secretariat-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  min-width:275px!important;
}
.ttm-secretariat-actions .ttm-btn,
.ttm-secretariat-actions .ttm-btn-mini{
  width:auto!important;
  min-width:72px!important;
  min-height:36px!important;
  height:36px!important;
  padding:0 12px!important;
  border-radius:13px!important;
  white-space:nowrap!important;
}
.ttm-secretariat-actions .ttm-secretariat-status-form{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
}
.ttm-secretariat-actions .ttm-secretariat-status-form select{
  width:118px!important;
  min-width:118px!important;
  height:36px!important;
  min-height:36px!important;
  border-radius:13px!important;
  padding:0 10px!important;
  font-size:11px!important;
}
.ttm-secretariat-actions .ttm-secretariat-status-form button{
  min-width:48px!important;
}
@media(max-width:920px){
  .ttm-secretariat-filter-wide{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:620px){
  .ttm-secretariat-filter-wide{grid-template-columns:1fr!important;}
  .ttm-secretariat-actions{min-width:250px!important;}
}

html body .ttm-notification-modal,
html body main .ttm-notification-modal,
html body .ttm-portal .ttm-notification-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:20px!important;
  pointer-events:none!important;
  isolation:isolate!important;
  transform:none!important;
}
html body .ttm-notification-modal.is-open,
html body main .ttm-notification-modal.is-open,
html body .ttm-portal .ttm-notification-modal.is-open{
  display:flex!important;
  pointer-events:auto!important;
}
html body .ttm-notification-modal .ttm-notification-modal-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  background:rgba(15,23,42,.68)!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
}
html body .ttm-notification-modal .ttm-notification-modal-card{
  position:relative!important;
  z-index:2!important;
  max-height:calc(100vh - 44px)!important;
  overflow:auto!important;
  transform:none!important;
}
html body .ttm-floating-notification-panel-v133{
  position:fixed!important;
  top:var(--ttm-popover-top,80px)!important;
  left:var(--ttm-popover-left,20px)!important;
  right:auto!important;
  width:var(--ttm-popover-width,360px)!important;
  z-index:2147483646!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(8px) scale(.985)!important;
  pointer-events:none!important;
}
html body .ttm-floating-notification-panel-v133.is-floating-open{
  opacity:1!important;
  visibility:visible!important;
  transform:translateY(0) scale(1)!important;
  pointer-events:auto!important;
}
html body .ttm-topbar,
html body .ttm-mobile-head-unified,
html body .ttm-header-notification-wrap{
  overflow:visible!important;
  z-index:100000!important;
}
html body .ttm-manager-notification-send-v123{
  border:1px solid rgba(226,232,240,.95)!important;
  background:linear-gradient(180deg,#fff,rgba(248,250,252,.92))!important;
  box-shadow:0 20px 52px rgba(15,23,42,.07)!important;
  border-radius:28px!important;
}
html body .ttm-manager-notification-send-v123 summary{
  min-height:72px!important;
  padding:18px 22px!important;
  border-bottom:1px solid rgba(226,232,240,.85)!important;
}
html body .ttm-manager-notification-send-v123 summary span{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  font-size:16px!important;
  color:#111827!important;
}
html body .ttm-manager-notification-send-v123 summary span:before{
  content:'◇';
  display:inline-grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  border-radius:14px!important;
  background:rgba(229,9,20,.08)!important;
  color:var(--ttm-primary,#e50914)!important;
}
html body .ttm-manager-notification-send-v123 form.ttm-grid-form{
  padding:18px 22px 22px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
html body .ttm-manager-notification-send-v123 label{
  background:rgba(248,250,252,.78)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  border-radius:18px!important;
  padding:10px 12px!important;
}
html body .ttm-manager-notification-send-v123 label.ttm-span-2{
  grid-column:1/-1!important;
}
html body .ttm-manager-notification-send-v123 input,
html body .ttm-manager-notification-send-v123 select,
html body .ttm-manager-notification-send-v123 textarea{
  background:#fff!important;
  border-radius:14px!important;
}
html body .ttm-manager-notification-send-v123 .ttm-form-actions{
  justify-content:flex-end!important;
}
html body .ttm-notification-list-panel-v123{
  border-radius:28px!important;
  border:1px solid rgba(226,232,240,.95)!important;
  background:linear-gradient(180deg,#fff,rgba(248,250,252,.88))!important;
  box-shadow:0 20px 52px rgba(15,23,42,.07)!important;
  min-height:120px!important;
}
html body .ttm-notification-list-panel-v123 > .ttm-empty{
  min-height:96px!important;
  border:1px dashed rgba(203,213,225,.95)!important;
  background:radial-gradient(circle at 50% 0,rgba(229,9,20,.055),rgba(255,255,255,.92) 52%,rgba(248,250,252,.82))!important;
  border-radius:24px!important;
  display:grid!important;
  place-items:center!important;
  color:#64748b!important;
  font-weight:900!important;
  margin:0!important;
}
html body .ttm-notification-list-panel-v123 > .ttm-empty:before{
  content:'◇';
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  border-radius:16px!important;
  background:rgba(229,9,20,.07)!important;
  color:var(--ttm-primary,#e50914)!important;
  margin-bottom:6px!important;
}
@media(max-width:720px){
  html body .ttm-manager-notification-send-v123 form.ttm-grid-form{grid-template-columns:1fr!important;padding:14px!important;}
  html body .ttm-manager-notification-send-v123 summary{padding:15px!important;align-items:flex-start!important;}
  html body .ttm-floating-notification-panel-v133{left:12px!important;width:calc(100vw - 24px)!important;}
}


/* Teamora v1.3.4 — commercial hotfix: single loading indicator, no duplicate pseudo loader */
html body .ttm-portal :where(.ttm-btn,button,input[type="submit"]).is-loading,
html body .ttm-login-shell :where(.ttm-btn,button,input[type="submit"]).is-loading,
html body :where(.ttm-btn,button,input[type="submit"])[data-ttm-loading-normalized="1"]{
  position:relative!important;
  opacity:.92!important;
  pointer-events:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  white-space:nowrap!important;
}
html body .ttm-portal :where(.ttm-btn,button).is-loading::before,
html body .ttm-portal :where(.ttm-btn,button).is-loading::after,
html body .ttm-login-shell :where(.ttm-btn,button).is-loading::before,
html body .ttm-login-shell :where(.ttm-btn,button).is-loading::after,
html body :where(.ttm-btn,button)[data-ttm-loading-normalized="1"]::before,
html body :where(.ttm-btn,button)[data-ttm-loading-normalized="1"]::after{
  content:none!important;
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:none!important;
  animation:none!important;
  transform:none!important;
}
html body :where(.ttm-btn,button)[data-ttm-loading-normalized="1"] > .ttm-btn-spinner,
html body .ttm-portal :where(.ttm-btn,button).is-loading > .ttm-btn-spinner,
html body .ttm-login-shell :where(.ttm-btn,button).is-loading > .ttm-btn-spinner{
  display:inline-flex!important;
  flex:0 0 16px!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  margin:0!important;
  border-radius:999px!important;
  border:2px solid rgba(255,255,255,.42)!important;
  border-top-color:#fff!important;
  background:transparent!important;
  box-shadow:none!important;
  animation:ttmSpin .72s linear infinite!important;
}
html body :where(.ttm-btn,button)[data-ttm-loading-normalized="1"] > .ttm-btn-spinner ~ .ttm-btn-spinner,
html body .ttm-portal :where(.ttm-btn,button).is-loading > .ttm-btn-spinner ~ .ttm-btn-spinner,
html body .ttm-login-shell :where(.ttm-btn,button).is-loading > .ttm-btn-spinner ~ .ttm-btn-spinner{
  display:none!important;
}
html body :where(.ttm-btn,button)[data-ttm-loading-normalized="1"] > .ttm-loading-text,
html body .ttm-portal :where(.ttm-btn,button).is-loading > .ttm-loading-text,
html body .ttm-login-shell :where(.ttm-btn,button).is-loading > .ttm-loading-text{
  display:inline-flex!important;
  align-items:center!important;
  line-height:1.4!important;
  color:inherit!important;
}
html body .ttm-portal :where(.ttm-btn-ghost,.ttm-btn-light,button.ttm-btn-ghost).is-loading > .ttm-btn-spinner,
html body :where(.ttm-btn-ghost,.ttm-btn-light,button.ttm-btn-ghost)[data-ttm-loading-normalized="1"] > .ttm-btn-spinner{
  border-color:rgba(229,9,20,.24)!important;
  border-top-color:var(--ttm-primary,#e50914)!important;
}
html body .ttm-portal .is-loading .ttm-btn-spinner ~ .ttm-btn-spinner,
html body .ttm-login-shell .is-loading .ttm-btn-spinner ~ .ttm-btn-spinner,
html body [data-ttm-loading-normalized="1"] .ttm-btn-spinner ~ .ttm-btn-spinner{
  display:none!important;
}


/* Teamora 1.3.8 — Performance & Font Fix layer */
.ttm-portal :where(.ttm-card,.ttm-table-card,.ttm-premium-card,.ttm-form-card,.ttm-profile-card,.ttm-list-card){content-visibility:auto;contain-intrinsic-size:420px;}
.ttm-portal :where(.ttm-section.is-active){content-visibility:auto;contain-intrinsic-size:900px;}
.ttm-portal :where(img,svg,video,canvas){max-width:100%;}
.ttm-portal :where(.ttm-nav,.ttm-table-wrap,.ttm-mobile-scroll){scrollbar-gutter:stable both-edges;}
.ttm-media-name.has-selection,.ttm-media-name.ttm-has-file{display:inline-flex!important;align-items:center;gap:6px;margin-top:8px;color:#16a34a;font-size:12px;font-weight:900;overflow-wrap:anywhere;}
.ttm-theme-settings-form label small{display:block;margin-top:7px;color:var(--ttm-muted,#64748b);font-size:11px;line-height:1.8;font-weight:800;}
@media (prefers-reduced-motion: reduce){.ttm-portal *,.ttm-login-shell *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}


/* =========================================================
   Teamora 1.3.9 — Phase 1: login, brand, private font and PWA
   ========================================================= */
:root{
  --ttm-font-stack:"TTM IRANYekan",Tahoma,Arial,sans-serif!important;
  --ttm-font-family:var(--ttm-font-stack)!important;
  --ttm-wp-font-family:var(--ttm-font-stack)!important;
}
html body.ttm-standalone,
html body.ttm-app-page,
html body .ttm-login-shell,
html body .ttm-portal,
html body .ttm-admin-shell{
  font-family:var(--ttm-font-stack)!important;
}
html body.ttm-standalone *,
html body.ttm-app-page *,
html body .ttm-login-shell *,
html body .ttm-portal *,
html body .ttm-admin-shell *{
  font-family:inherit!important;
}
/* Transparent uploaded logos: never paint a black/white tile behind PNG artwork. */
html body .ttm-login-logo,
html body .ttm-login-card-logo,
html body .ttm-sidebar-brand img,
html body .ttm-admin-logo{
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  padding:4px!important;
  -webkit-filter:none!important;
  filter:none!important;
}
html body .ttm-login-logo,
html body .ttm-login-card-logo{
  border:0!important;
  box-shadow:0 14px 34px rgba(15,23,42,.11)!important;
}
/* Desktop login description reads like a polished editorial block. */
@media (min-width:981px){
  html body .ttm-login-hero > p,
  html body .ttm-login-card-head p{
    text-align:justify!important;
    text-justify:inter-word!important;
    text-align-last:right!important;
  }
  html body .ttm-login-card-head p{max-width:360px!important;}
}
/* Password eye: stable touch target in Chrome Android and desktop. */
html body .ttm-login-shell .ttm-password-wrap{
  position:relative!important;
  display:block!important;
  overflow:visible!important;
  border:1px solid #dbe3ee!important;
  border-radius:18px!important;
  background:#f8fafc!important;
}
html body .ttm-login-shell .ttm-password-wrap:focus-within{
  border-color:rgba(229,9,20,.42)!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(229,9,20,.10)!important;
}
html body .ttm-login-shell .ttm-password-wrap input{
  display:block!important;
  width:100%!important;
  min-height:54px!important;
  padding:14px 16px!important;
  padding-left:58px!important;
  border:0!important;
  border-radius:18px!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .ttm-login-shell .ttm-password-toggle{
  position:absolute!important;
  left:7px!important;
  right:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:4!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#64748b!important;
  box-shadow:0 5px 16px rgba(15,23,42,.08)!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
html body .ttm-login-shell .ttm-password-toggle:hover,
html body .ttm-login-shell .ttm-password-toggle:focus-visible,
html body .ttm-login-shell .ttm-password-toggle.is-visible{
  color:var(--ttm-primary,#e50914)!important;
  background:#fff7f7!important;
  outline:none!important;
}
html body .ttm-password-toggle .ttm-password-eye{
  display:block!important;
  width:20px!important;
  height:20px!important;
  pointer-events:none!important;
}
html body .ttm-password-toggle .ttm-password-eye-closed{display:none!important;}
html body .ttm-password-toggle.is-visible .ttm-password-eye-open{display:none!important;}
html body .ttm-password-toggle.is-visible .ttm-password-eye-closed{display:block!important;}
/* PWA install and network notices must stay above content but clear mobile safe areas. */
html body .ttm-pwa-install{
  max-width:min(320px,calc(100vw - 32px))!important;
  inset-inline-start:max(16px,env(safe-area-inset-left))!important;
  bottom:max(16px,env(safe-area-inset-bottom))!important;
}
html body .ttm-network-status{
  max-width:min(390px,calc(100vw - 32px))!important;
  inset-inline-end:max(16px,env(safe-area-inset-right))!important;
  bottom:max(16px,env(safe-area-inset-bottom))!important;
}
@media (max-width:760px){
  html body .ttm-pwa-install,
  html body .ttm-network-status{
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
  }
}
/* Isolated shell: theme wrappers are not allowed to affect viewport geometry. */
html body[data-ttm-isolated-shell="1"]{
  margin:0!important;
  padding:0!important;
  min-height:100svh!important;
  overflow-x:hidden!important;
}

/* ========================================================================
   Teamora 1.4.0 — Phase 2: employee contact management and verified mobile
   ======================================================================== */
.ttm-profile-section input[readonly],
.ttm-profile-section input[aria-readonly="true"]{
    background:#f8fafc!important;
    color:#334155!important;
    cursor:not-allowed;
    border-style:dashed!important;
}
.ttm-profile-section label small,
.ttm-grid-form label small{
    display:block;
    margin-top:6px;
    color:var(--ttm-muted,#64748b);
    font-size:11px;
    font-weight:750;
    line-height:1.8;
}
.ttm-mobile-change-card{
    margin-top:18px;
    padding:22px;
    border:1px solid rgba(226,232,240,.95);
    border-radius:26px;
    background:linear-gradient(145deg,#fff,#f8fafc);
    box-shadow:0 16px 42px rgba(15,23,42,.065);
}
.ttm-mobile-change-card .ttm-card-head{
    margin-bottom:16px;
}
.ttm-mobile-change-request-form,
.ttm-mobile-change-verify-form{
    display:grid;
    grid-template-columns:minmax(220px,1fr) auto;
    align-items:end;
    gap:12px;
}
.ttm-mobile-change-request-form label,
.ttm-mobile-change-verify-form label{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:#111827;
    font-weight:900;
}
.ttm-mobile-change-request-form input,
.ttm-mobile-change-verify-form input{
    width:100%;
    min-height:48px;
    border:1px solid #dbe2ea;
    border-radius:15px;
    background:#fff;
    padding:10px 13px;
    direction:ltr;
    text-align:left;
    font:inherit;
}
.ttm-mobile-change-request-form input:focus,
.ttm-mobile-change-verify-form input:focus{
    outline:none;
    border-color:var(--ttm-primary,#e50914);
    box-shadow:0 0 0 4px rgba(229,9,20,.08);
}
.ttm-mobile-change-pending{
    display:grid;
    grid-template-columns:minmax(200px,.75fr) minmax(280px,1.25fr) auto;
    align-items:end;
    gap:14px;
    padding:16px;
    border:1px solid #dbeafe;
    border-radius:20px;
    background:#eff6ff;
}
.ttm-mobile-change-pending>div:first-child span,
.ttm-mobile-change-pending>div:first-child strong,
.ttm-mobile-change-pending>div:first-child small{
    display:block;
}
.ttm-mobile-change-pending>div:first-child span{
    color:#475569;
    font-size:12px;
    font-weight:850;
}
.ttm-mobile-change-pending>div:first-child strong{
    margin-top:5px;
    color:#0f172a;
    font-size:18px;
    font-weight:950;
}
.ttm-mobile-change-pending>div:first-child small{
    margin-top:5px;
    color:#1d4ed8;
    font-weight:800;
}
.ttm-mobile-change-cancel-form{
    margin:0;
}
.ttm-mobile-change-cancel-form .ttm-btn{
    white-space:nowrap;
}
.ttm-smart-notice.is-warning{
    padding:14px 16px;
    border:1px solid #fde68a;
    border-radius:18px;
    background:#fffbeb;
    color:#92400e;
    line-height:1.9;
}
@media(max-width:900px){
    .ttm-mobile-change-request-form,
    .ttm-mobile-change-verify-form,
    .ttm-mobile-change-pending{
        grid-template-columns:1fr;
        align-items:stretch;
    }
    .ttm-mobile-change-card .ttm-btn{
        width:100%;
        justify-content:center;
    }
}
@media(max-width:620px){
    .ttm-mobile-change-card{
        padding:16px;
        border-radius:22px;
    }
}

/* Teamora 1.4.1 - Dynamic role capability matrix */
.ttm-security-edit-badge,.ttm-security-readonly-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:950;white-space:nowrap}.ttm-security-edit-badge{background:rgba(16,185,129,.12);color:#047857}.ttm-security-readonly-badge{background:rgba(148,163,184,.14);color:#64748b}.ttm-security-safety-note{margin:0 0 14px;padding:13px 15px;border:1px solid rgba(59,130,246,.2);border-radius:16px;background:rgba(239,246,255,.88);color:#1e40af;font-size:13px;font-weight:850;line-height:1.9}.ttm-security-matrix-editable td{text-align:center}.ttm-security-matrix-editable th:first-child,.ttm-security-matrix-editable td:first-child{text-align:right}.ttm-security-toggle{display:inline-flex;position:relative;align-items:center;justify-content:center;vertical-align:middle}.ttm-security-toggle input{position:absolute;opacity:0;pointer-events:none}.ttm-security-toggle>span{position:relative;display:block;width:46px;height:26px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px rgba(15,23,42,.06);transition:background .2s ease,opacity .2s ease}.ttm-security-toggle>span:after{content:"";position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 3px 9px rgba(15,23,42,.22);transition:transform .2s ease}.ttm-security-toggle input:checked+span{background:#10b981}.ttm-security-toggle input:checked+span:after{transform:translateX(-20px)}.ttm-security-toggle.is-locked>span{background:#0f172a;opacity:.86}.ttm-security-toggle.is-locked:after{content:"قفل";position:absolute;top:29px;right:50%;transform:translateX(50%);font-size:9px;font-weight:950;color:#64748b}.ttm-security-admin-row td{background:rgba(248,250,252,.8)}.ttm-security-cap-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:15px;border-top:1px solid rgba(148,163,184,.18)}.ttm-security-cap-actions span{font-size:12px;color:var(--ttm-muted);font-weight:800}.ttm-security-reset-form{display:flex;justify-content:flex-end;margin-top:8px}.ttm-security-reset-form .ttm-danger-link{color:#be123c!important}.ttm-security-cap-form{margin:0}@media(max-width:760px){.ttm-security-cap-actions{align-items:stretch;flex-direction:column}.ttm-security-cap-actions .ttm-btn{width:100%}.ttm-security-reset-form{justify-content:stretch}.ttm-security-reset-form button{width:100%;justify-content:center}}


/* ========================================================================
   Teamora 1.4.2 — final attendance correction responsive lock
   The correction editor is intentionally independent from mobile history cards.
   ======================================================================== */
html body .ttm-main .ttm-attendance-manager-edit{
  overflow:visible!important;
}
html body .ttm-main .ttm-attendance-correction-list{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  margin:16px 0 0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
html body .ttm-main .ttm-attendance-correction-empty{
  display:grid!important;
  gap:5px!important;
  padding:18px!important;
  border:1px dashed #cbd5e1!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  color:#475569!important;
  text-align:center!important;
}
html body .ttm-main .ttm-attendance-correction-card{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(148,163,184,.24)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(15,23,42,.055)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html body .ttm-main .ttm-attendance-correction-card.is-open-checkout-v142{
  border-color:rgba(245,158,11,.4)!important;
  box-shadow:0 10px 30px rgba(245,158,11,.08)!important;
}
html body .ttm-main .ttm-attendance-correction-card>summary{
  list-style:none!important;
}
html body .ttm-main .ttm-attendance-correction-card>summary::-webkit-details-marker{display:none!important;}
html body .ttm-main .ttm-attendance-correction-summary{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(150px,1.1fr) minmax(300px,2fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  padding:14px 16px!important;
  cursor:pointer!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-sizing:border-box!important;
}
html body .ttm-main .ttm-attendance-correction-summary:hover{background:#f8fafc!important;}
html body .ttm-main .ttm-attendance-correction-card[open]>.ttm-attendance-correction-summary{
  border-bottom:1px solid #eef2f7!important;
  background:#f8fafc!important;
}
html body .ttm-main .ttm-attendance-correction-person{
  min-width:0!important;
  display:grid!important;
  gap:3px!important;
}
html body .ttm-main .ttm-attendance-correction-person b{
  color:#0f172a!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.55!important;
  overflow-wrap:anywhere!important;
}
html body .ttm-main .ttm-attendance-correction-person small{color:#64748b!important;font-size:11px!important;}
html body .ttm-main .ttm-attendance-correction-summary-metrics{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
}
html body .ttm-main .ttm-attendance-correction-summary-metrics>span{
  min-width:0!important;
  display:grid!important;
  gap:3px!important;
  padding:8px 7px!important;
  border-radius:13px!important;
  background:#fff!important;
  border:1px solid #edf2f7!important;
  text-align:center!important;
}
html body .ttm-main .ttm-attendance-correction-summary-metrics small{font-size:9px!important;color:#64748b!important;}
html body .ttm-main .ttm-attendance-correction-summary-metrics strong{font-size:10.5px!important;color:#0f172a!important;white-space:nowrap!important;}
html body .ttm-main .ttm-attendance-correction-badges{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:6px!important;
}
html body .ttm-main .ttm-attendance-correction-badges em,
html body .ttm-main .ttm-attendance-correction-badges i{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:25px!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  font-size:9.5px!important;
  font-style:normal!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
html body .ttm-main .ttm-attendance-correction-badges em{background:#f59e0b!important;color:#fff!important;}
html body .ttm-main .ttm-attendance-correction-badges i{background:#e2e8f0!important;color:#334155!important;}
html body .ttm-main .ttm-attendance-correction-card[open] .ttm-attendance-correction-badges i{background:#0f172a!important;color:#fff!important;}
html body .ttm-main .ttm-attendance-correction-body{
  display:grid!important;
  gap:14px!important;
  padding:16px!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
html body .ttm-main .ttm-attendance-before-snapshot{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
}
html body .ttm-main .ttm-attendance-before-snapshot>div{
  min-width:0!important;
  display:grid!important;
  gap:4px!important;
  padding:10px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  border:1px solid #eef2f7!important;
  text-align:center!important;
}
html body .ttm-main .ttm-attendance-before-snapshot span{color:#64748b!important;font-size:9.5px!important;}
html body .ttm-main .ttm-attendance-before-snapshot b{color:#0f172a!important;font-size:11px!important;font-weight:850!important;}
html body .ttm-main form.ttm-attendance-correction-form{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:11px!important;
  margin:0!important;
  padding:14px!important;
  border-radius:18px!important;
  background:#fbfdff!important;
  border:1px solid #edf2f7!important;
  box-sizing:border-box!important;
}
html body .ttm-main form.ttm-attendance-correction-form>label{
  min-width:0!important;
  display:grid!important;
  align-content:start!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
html body .ttm-main form.ttm-attendance-correction-form>label>span:first-child{
  color:#334155!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
html body .ttm-main form.ttm-attendance-correction-form :where(input[type="date"],input[type="time"],input[type="number"],textarea){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:10px 11px!important;
  border:1px solid #dbe3ec!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0f172a!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
html body .ttm-main form.ttm-attendance-correction-form textarea{min-height:84px!important;resize:vertical!important;line-height:1.8!important;}
html body .ttm-main form.ttm-attendance-correction-form :where(input,textarea):focus{
  border-color:var(--ttm-primary,#e50914)!important;
  box-shadow:0 0 0 3px rgba(229,9,20,.09)!important;
  outline:0!important;
}
html body .ttm-main form.ttm-attendance-correction-form>.ttm-span-2,
html body .ttm-main form.ttm-attendance-correction-form>.ttm-form-actions{
  grid-column:1/-1!important;
}
html body .ttm-main .ttm-attendance-break-toggle .ttm-inline-check{
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:10px 11px!important;
  border-radius:13px!important;
  background:#fff!important;
  border:1px solid #dbe3ec!important;
  color:#334155!important;
  font-size:10.5px!important;
  font-weight:700!important;
}
html body .ttm-main .ttm-attendance-break-toggle input[type="checkbox"]{width:18px!important;height:18px!important;margin:0!important;accent-color:var(--ttm-primary,#e50914)!important;}
html body .ttm-main .ttm-attendance-break-start[hidden]{display:none!important;}
html body .ttm-main .ttm-attendance-reason-field em{color:#dc2626!important;font-style:normal!important;font-size:9px!important;}
html body .ttm-main .ttm-attendance-reason-field small{color:#64748b!important;font-size:9px!important;text-align:left!important;}
html body .ttm-main .ttm-attendance-live-result{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  padding:10px!important;
  border-radius:15px!important;
  background:#f1f5f9!important;
  border:1px solid #e2e8f0!important;
}
html body .ttm-main .ttm-attendance-live-result>div{display:grid!important;gap:3px!important;text-align:center!important;}
html body .ttm-main .ttm-attendance-live-result span{font-size:9px!important;color:#64748b!important;}
html body .ttm-main .ttm-attendance-live-result strong{font-size:11px!important;color:#0f172a!important;font-weight:900!important;}
html body .ttm-main .ttm-attendance-live-result p{
  grid-column:1/-1!important;
  margin:0!important;
  padding:8px!important;
  border-radius:10px!important;
  background:#fef2f2!important;
  color:#b91c1c!important;
  font-size:10px!important;
  text-align:center!important;
}
html body .ttm-main .ttm-attendance-live-result p[hidden]{display:none!important;}
html body .ttm-main form.ttm-attendance-correction-form .ttm-form-actions{
  display:flex!important;
  justify-content:flex-end!important;
  margin:0!important;
  padding:0!important;
}
html body .ttm-main form.ttm-attendance-correction-form .ttm-form-actions .ttm-btn{
  min-width:230px!important;
  min-height:45px!important;
  border-radius:14px!important;
}
html body .ttm-main .ttm-attendance-edit-history{
  display:grid!important;
  gap:8px!important;
  padding-top:2px!important;
}
html body .ttm-main .ttm-attendance-edit-history h4{margin:0!important;color:#334155!important;font-size:11px!important;}
html body .ttm-main .ttm-attendance-edit-history article{
  display:grid!important;
  gap:5px!important;
  padding:10px 12px!important;
  border-radius:13px!important;
  background:#fff!important;
  border:1px solid #edf2f7!important;
}
html body .ttm-main .ttm-attendance-edit-history article>div{display:flex!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;}
html body .ttm-main .ttm-attendance-edit-history b{font-size:10px!important;color:#0f172a!important;}
html body .ttm-main .ttm-attendance-edit-history time{font-size:9px!important;color:#64748b!important;direction:ltr!important;}
html body .ttm-main .ttm-attendance-edit-history p{margin:0!important;font-size:10px!important;color:#475569!important;line-height:1.75!important;}
html body .ttm-main form.ttm-attendance-correction-form.ttm-attendance-correction-submitting{opacity:.78!important;pointer-events:none!important;}

@media(max-width:1100px){
  html body .ttm-main .ttm-attendance-correction-summary{grid-template-columns:minmax(140px,1fr) minmax(250px,2fr)!important;}
  html body .ttm-main .ttm-attendance-correction-badges{grid-column:1/-1!important;justify-content:flex-start!important;}
  html body .ttm-main .ttm-attendance-before-snapshot{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  html body .ttm-main form.ttm-attendance-correction-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:700px){
  html body .ttm-main .ttm-attendance-manager-edit{padding:12px!important;}
  html body .ttm-main .ttm-attendance-correction-list{gap:9px!important;margin-top:12px!important;}
  html body .ttm-main .ttm-attendance-correction-card{border-radius:18px!important;}
  html body .ttm-main .ttm-attendance-correction-summary{
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:12px!important;
  }
  html body .ttm-main .ttm-attendance-correction-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html body .ttm-main .ttm-attendance-correction-badges{grid-column:auto!important;justify-content:flex-start!important;}
  html body .ttm-main .ttm-attendance-correction-body{padding:11px!important;gap:11px!important;}
  html body .ttm-main .ttm-attendance-before-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
  html body .ttm-main form.ttm-attendance-correction-form{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:11px!important;
    border-radius:15px!important;
  }
  html body .ttm-main form.ttm-attendance-correction-form>*{grid-column:1/-1!important;min-width:0!important;}
  html body .ttm-main .ttm-attendance-live-result{grid-template-columns:1fr!important;}
  html body .ttm-main .ttm-attendance-live-result>*{grid-column:1/-1!important;}
  html body .ttm-main form.ttm-attendance-correction-form .ttm-form-actions .ttm-btn{width:100%!important;min-width:0!important;}
}
@media(max-width:390px){
  html body .ttm-main .ttm-attendance-before-snapshot{grid-template-columns:1fr!important;}
  html body .ttm-main .ttm-attendance-correction-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}


/* Mobile dashboard cleanup: native touch scroll, hidden scrollbar and readable compact layout */
@media (max-width:899px){
  :root{--ttm-mobile-bottom-nav-h:0px!important;}

  html.ttm-pwa-runtime,
  body.ttm-pwa-runtime,
  body.ttm-standalone,
  body.ttm-app-page{
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  html.ttm-pwa-runtime::-webkit-scrollbar,
  body.ttm-pwa-runtime::-webkit-scrollbar,
  body.ttm-standalone::-webkit-scrollbar,
  body.ttm-app-page::-webkit-scrollbar,
  body.ttm-pwa-runtime .ttm-portal::-webkit-scrollbar,
  body.ttm-standalone .ttm-portal::-webkit-scrollbar,
  body.ttm-app-page .ttm-portal::-webkit-scrollbar,
  body.ttm-pwa-runtime .ttm-main::-webkit-scrollbar,
  body.ttm-standalone .ttm-main::-webkit-scrollbar,
  body.ttm-app-page .ttm-main::-webkit-scrollbar,
  body.ttm-pwa-runtime .ttm-sidebar::-webkit-scrollbar,
  body.ttm-standalone .ttm-sidebar::-webkit-scrollbar,
  body.ttm-app-page .ttm-sidebar::-webkit-scrollbar,
  .ttm-sidebar-menu-scroll::-webkit-scrollbar{
    width:0!important;
    height:0!important;
    display:none!important;
  }
  body.ttm-pwa-runtime .ttm-portal,
  body.ttm-standalone .ttm-portal,
  body.ttm-app-page .ttm-portal,
  body.ttm-pwa-runtime .ttm-main,
  body.ttm-standalone .ttm-main,
  body.ttm-app-page .ttm-main{
    height:auto!important;
    max-height:none!important;
    overflow-y:visible!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  body.ttm-pwa-runtime .ttm-main,
  body.ttm-standalone .ttm-main,
  body.ttm-app-page .ttm-main{
    padding-bottom:calc(20px + var(--ttm-safe-bottom,0px))!important;
  }

  .ttm-mobile-quick-nav,
  .ttm-mobile-logout-form{
    display:none!important;
  }

  body.ttm-pwa-runtime .ttm-mobile-head,
  body.ttm-standalone .ttm-mobile-head,
  body.ttm-app-page .ttm-mobile-head,
  .ttm-portal>.ttm-mobile-head[data-ttm-mobile-head]{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    gap:9px!important;
  }
  body.ttm-pwa-runtime .ttm-mobile-title,
  body.ttm-standalone .ttm-mobile-title,
  body.ttm-app-page .ttm-mobile-title{
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:850!important;
  }
  .ttm-mobile-brandline small{
    font-size:9.5px!important;
    line-height:1.35!important;
  }

  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-welcome,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-welcome,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-welcome{
    padding:15px!important;
    gap:10px!important;
    border-radius:20px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-copy,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-copy,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-copy{
    padding-inline-start:3px!important;
    overflow:visible!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-copy .ttm-soft-tag,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-copy .ttm-soft-tag,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-copy .ttm-soft-tag{
    font-size:10px!important;
    line-height:1.2!important;
    padding:5px 9px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-copy h2,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-copy h2,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-copy h2{
    font-size:clamp(18px,5.1vw,21px)!important;
    line-height:1.38!important;
    margin:6px 0 3px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    letter-spacing:-.02em!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-copy p,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-copy p,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-copy p{
    font-size:11px!important;
    line-height:1.75!important;
    margin:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    display:block!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user{
    grid-template-columns:44px minmax(0,1fr)!important;
    min-height:54px!important;
    padding:8px 10px!important;
    border-radius:16px!important;
    gap:9px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user .ttm-dashboard-avatar,
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user .ttm-avatar,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user .ttm-dashboard-avatar,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user .ttm-avatar,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user .ttm-dashboard-avatar,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user .ttm-avatar{
    width:42px!important;
    height:42px!important;
    border-radius:14px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user strong,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user strong,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user strong{
    font-size:12px!important;
    line-height:1.35!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-user small,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-user small,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-user small{
    font-size:10px!important;
    line-height:1.4!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-actions,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-actions,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-actions{
    gap:8px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-dashboard-compact-actions .ttm-btn,
  body.ttm-standalone .ttm-main .ttm-dashboard-compact-actions .ttm-btn,
  body.ttm-app-page .ttm-main .ttm-dashboard-compact-actions .ttm-btn{
    min-height:38px!important;
    padding:8px 10px!important;
    border-radius:13px!important;
    font-size:11px!important;
    line-height:1.35!important;
  }

  body.ttm-pwa-runtime .ttm-main .ttm-premium-metrics,
  body.ttm-standalone .ttm-main .ttm-premium-metrics,
  body.ttm-app-page .ttm-main .ttm-premium-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-premium-metric,
  body.ttm-standalone .ttm-main .ttm-premium-metric,
  body.ttm-app-page .ttm-main .ttm-premium-metric{
    min-height:116px!important;
    padding:12px!important;
    border-radius:18px!important;
    grid-template-columns:minmax(0,1fr) 38px!important;
    grid-template-areas:"value icon" "title title" "note note"!important;
    grid-template-rows:auto auto auto!important;
    align-content:center!important;
    align-items:center!important;
    gap:4px 8px!important;
    overflow:visible!important;
    text-align:right!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-premium-metric .ttm-premium-icon,
  body.ttm-standalone .ttm-main .ttm-premium-metric .ttm-premium-icon,
  body.ttm-app-page .ttm-main .ttm-premium-metric .ttm-premium-icon{
    grid-area:icon!important;
    width:38px!important;
    height:38px!important;
    border-radius:13px!important;
    font-size:16px!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-premium-metric b,
  body.ttm-standalone .ttm-main .ttm-premium-metric b,
  body.ttm-app-page .ttm-main .ttm-premium-metric b{
    grid-area:value!important;
    font-size:clamp(16px,4.6vw,21px)!important;
    line-height:1.25!important;
    margin:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-premium-metric strong,
  body.ttm-standalone .ttm-main .ttm-premium-metric strong,
  body.ttm-app-page .ttm-main .ttm-premium-metric strong{
    grid-area:title!important;
    display:block!important;
    font-size:12px!important;
    line-height:1.5!important;
    margin:2px 0 0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
  }
  body.ttm-pwa-runtime .ttm-main .ttm-premium-metric small,
  body.ttm-standalone .ttm-main .ttm-premium-metric small,
  body.ttm-app-page .ttm-main .ttm-premium-metric small{
    grid-area:note!important;
    display:block!important;
    font-size:10px!important;
    line-height:1.45!important;
    margin:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
  }

  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h2,
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h3,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h2,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h3,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h2,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) h3{
    font-size:14px!important;
    line-height:1.45!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) p,
  body.ttm-standalone .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) p,
  body.ttm-app-page .ttm-main :where(.ttm-card-head,.ttm-command-panel-head,.ttm-section-head,.ttm-list-head,.ttm-form-head,.ttm-table-head) p{
    font-size:10.5px!important;
    line-height:1.6!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed) b,
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed) b,
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed) b{
    font-size:12px!important;
    line-height:1.45!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  body.ttm-pwa-runtime .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed) small,
  body.ttm-standalone .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed) small,
  body.ttm-app-page .ttm-main :where(.ttm-shortcut-list,.ttm-mini-feed,.ttm-request-feed) small{
    font-size:10px!important;
    line-height:1.5!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
}

@media (max-width:360px){
  body.ttm-pwa-runtime .ttm-main .ttm-premium-metrics,
  body.ttm-standalone .ttm-main .ttm-premium-metrics,
  body.ttm-app-page .ttm-main .ttm-premium-metrics{
    grid-template-columns:1fr!important;
  }
}

/* Teamora 1.5.0 — dedicated employee CSV tools */
.ttm-employee-csv-tools{margin:18px 0}
.ttm-employee-csv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ttm-employee-csv-box{min-width:0;padding:18px;border:1px solid rgba(226,232,240,.95);border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.ttm-employee-csv-box>strong{display:block;color:#111827;font-size:15px;font-weight:950;margin-bottom:7px}
.ttm-employee-csv-box>p{margin:0 0 14px;color:#64748b;font-size:12px;line-height:1.9;font-weight:750}
.ttm-employee-csv-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ttm-employee-csv-actions .ttm-check{width:100%;margin-bottom:2px}
.ttm-employee-csv-import-form{grid-template-columns:1fr 1fr}
.ttm-employee-csv-help{margin-top:13px;padding:12px 14px;border-radius:17px;background:#f8fafc;border:1px dashed #cbd5e1;color:#475569;font-size:12px;line-height:1.9}
@media(max-width:820px){.ttm-employee-csv-grid,.ttm-employee-csv-import-form{grid-template-columns:1fr}.ttm-employee-csv-actions .ttm-btn{width:100%;justify-content:center}.ttm-employee-csv-import-form .ttm-span-2{grid-column:auto}}

/* Teamora 1.5.1 — stable CSV download state + root mobile drawer fix */
@media (max-width:1180px){
  html body.ttm-no-scroll,
  html.ttm-no-scroll body{
    overflow:hidden!important;
    touch-action:none!important;
  }

  html body .ttm-portal > .ttm-sidebar.ttm-sidebar-shell,
  html body .ttm-portal .ttm-sidebar[data-ttm-drawer]{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    width:min(88vw,340px)!important;
    max-width:340px!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    overflow:hidden!important;
    transform:translate3d(110%,0,0)!important;
    visibility:hidden!important;
    opacity:1!important;
    pointer-events:none!important;
    z-index:2147483000!important;
    transition:transform .24s cubic-bezier(.22,.8,.22,1),visibility .24s ease!important;
    will-change:transform!important;
  }

  html body.ttm-drawer-open .ttm-portal > .ttm-sidebar.ttm-sidebar-shell,
  html body .ttm-portal.ttm-mobile-menu-open > .ttm-sidebar.ttm-sidebar-shell,
  html body .ttm-portal > .ttm-sidebar.ttm-sidebar-shell.is-open,
  html body .ttm-portal > .ttm-sidebar.ttm-sidebar-shell.ttm-drawer-is-open,
  html body .ttm-portal > .ttm-sidebar.ttm-sidebar-shell[aria-hidden="false"]{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  html body .ttm-portal > .ttm-sidebar.ttm-sidebar-shell > .ttm-sidebar-menu-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
  }

  html body .ttm-portal > .ttm-drawer-overlay,
  html body .ttm-drawer-overlay[data-ttm-drawer-close]{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    margin:0!important;
    background:rgba(15,23,42,.48)!important;
    -webkit-backdrop-filter:blur(3px)!important;
    backdrop-filter:blur(3px)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:2147482990!important;
    transition:opacity .2s ease,visibility .2s ease!important;
  }

  html body.ttm-drawer-open .ttm-portal > .ttm-drawer-overlay,
  html body .ttm-portal > .ttm-drawer-overlay.is-open{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  html body .ttm-mobile-menu-toggle[data-ttm-drawer-open],
  html body .ttm-mobile-fab-menu[data-ttm-drawer-open]{
    pointer-events:auto!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }
}

.ttm-employee-csv-actions .ttm-btn.is-loading,
.ttm-admin-employee-csv-form .button.is-loading{
  cursor:wait!important;
}

/* Teamora 1.5.2 — polished mobile drawer motion (no jump-cut) */
@media (max-width:1180px){
  html body .ttm-portal > .ttm-sidebar[data-ttm-drawer],
  html body .ttm-portal > .ttm-sidebar.ttm-sidebar-shell{
    transform:translate3d(104%,0,0)!important;
    transition:transform 380ms cubic-bezier(.22,1,.36,1)!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
    perspective:1000px!important;
    -webkit-perspective:1000px!important;
  }
  html body .ttm-portal > .ttm-sidebar[data-ttm-drawer][data-ttm-drawer-phase="preopen"],
  html body .ttm-portal > .ttm-sidebar[data-ttm-drawer][data-ttm-drawer-phase="opening"],
  html body .ttm-portal > .ttm-sidebar[data-ttm-drawer][data-ttm-drawer-phase="closing"]{
    visibility:visible!important;
    pointer-events:none!important;
  }
  html body .ttm-portal > .ttm-sidebar[data-ttm-drawer][data-ttm-drawer-phase="closing"]{
    transition-duration:300ms!important;
    transition-timing-function:cubic-bezier(.4,0,.6,1)!important;
  }
  html body .ttm-portal > .ttm-drawer-overlay[data-ttm-drawer-close]{
    display:block!important;
    opacity:0!important;
    transition:opacity 260ms cubic-bezier(.22,1,.36,1)!important;
  }
  html body .ttm-portal > .ttm-drawer-overlay[data-ttm-drawer-close][data-ttm-drawer-phase="preopen"],
  html body .ttm-portal > .ttm-drawer-overlay[data-ttm-drawer-close][data-ttm-drawer-phase="opening"],
  html body .ttm-portal > .ttm-drawer-overlay[data-ttm-drawer-close][data-ttm-drawer-phase="closing"]{
    visibility:visible!important;
  }
  html body .ttm-portal > .ttm-drawer-overlay[data-ttm-drawer-close][data-ttm-drawer-phase="closing"]{
    pointer-events:none!important;
    transition-duration:220ms!important;
    transition-timing-function:ease-out!important;
  }
}
@media (prefers-reduced-motion:reduce) and (max-width:1180px){
  html body .ttm-portal > .ttm-sidebar[data-ttm-drawer],
  html body .ttm-portal > .ttm-drawer-overlay[data-ttm-drawer-close]{
    transition-duration:1ms!important;
  }
}
