
:root{
  --navy:#0b1d3a;
  --navy2:#10274b;
  --blue:#1677ff;
  --bg:#f5f8fc;
  --card:#ffffff;
  --line:#e6edf5;
  --text:#15233b;
  --muted:#7b8aa5;
  --green:#139c68;
  --red:#df3f44;
  --orange:#e58a13;
  --purple:#7747d6;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);font-family:'Tajawal',sans-serif;color:var(--text)}
body{min-height:100vh}
.atwar-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}
.atwar-sidebar{
  background:linear-gradient(180deg,#0c2342,#0b1d3a 60%,#0a1a33);
  color:#fff;padding:20px 18px;display:flex;flex-direction:column;gap:14px;
  position:sticky;top:0;height:100vh
}
.atwar-brand{padding:8px 10px 22px;border-bottom:1px solid rgba(255,255,255,.08)}
.atwar-brand h1{margin:0;font-size:23px;font-weight:900}
.atwar-brand p{margin:5px 0 0;color:#cbd7e8;font-size:12px}
.atwar-nav{display:flex;flex-direction:column;gap:7px}
.atwar-nav a{
  display:flex;align-items:center;gap:12px;text-decoration:none;color:#e9f0f8;
  padding:13px 14px;border-radius:12px;font-weight:800
}
.atwar-nav a:hover{background:rgba(255,255,255,.07)}
.atwar-nav a.active{
  background:linear-gradient(135deg,#1567d8,#2188ff);
  box-shadow:0 8px 20px rgba(22,119,255,.22)
}
.atwar-nav i{width:20px;height:20px}
.atwar-spacer{flex:1}
.atwar-side-section{border-top:1px solid rgba(255,255,255,.09);padding-top:14px}
.atwar-side-link{display:flex;align-items:center;gap:10px;padding:11px 12px;color:#dbe5f2;font-size:13px;font-weight:700}
.atwar-side-link.logout{color:#ff7474}
.atwar-main{min-width:0}
.atwar-topbar{
  height:96px;background:linear-gradient(90deg,#0b1d3a,#0a2342);color:#fff;
  display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:20px
}
.atwar-top-brand{display:flex;align-items:center;gap:18px}
.atwar-brand-mark{width:6px;height:52px;border-radius:20px;background:#15a8ff}
.atwar-org-title h2{margin:0;font-size:23px;font-weight:900}
.atwar-org-title p{margin:4px 0 0;color:#d3deeb;font-size:13px}
.atwar-pm-label{color:#19a7ff;font-weight:800;font-style:italic;font-size:12px;line-height:1.3}
.atwar-top-actions{display:flex;align-items:center;gap:14px}
.atwar-search{width:340px;position:relative}
.atwar-search input{
  width:100%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);color:#fff;
  padding:12px 42px 12px 14px;border-radius:12px;font-family:inherit
}
.atwar-search input::placeholder{color:#aebbd0}
.atwar-search i{position:absolute;right:14px;top:12px;width:18px}
.atwar-bell{position:relative;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.07)}
.atwar-bell .atwar-badge{position:absolute;top:-3px;left:-3px;background:#ef4444;color:#fff;border-radius:20px;min-width:20px;height:20px;display:grid;place-items:center;font-size:10px;font-weight:900}
.atwar-user{display:flex;align-items:center;gap:10px}
.atwar-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#eef4fb;color:#0b1d3a;font-weight:900;border:3px solid rgba(255,255,255,.3)}
.atwar-user-name{font-weight:900;font-size:15px}
.atwar-user-role{font-size:11px;color:#c9d5e5;margin-top:2px}
.atwar-content{padding:26px 28px 18px;max-width:1600px;margin:auto}
.atwar-footer{margin-top:18px;color:#7d8aa0;font-size:11px;display:flex;justify-content:space-between;padding:12px 4px}
@media(max-width:1200px){
  .atwar-shell{grid-template-columns:88px 1fr}
  .atwar-sidebar .atwar-brand h1,.atwar-sidebar .atwar-brand p,.atwar-nav span,.atwar-side-link span{display:none}
  .atwar-sidebar{padding:18px 12px}.atwar-nav a,.atwar-side-link{justify-content:center}
}
@media(max-width:850px){
  .atwar-search{display:none}.atwar-topbar{padding:0 16px}.atwar-content{padding:18px 14px}
}

.atwar-copyright{
  width:100%;
  box-sizing:border-box;
  text-align:center;
  padding:8px 12px 10px;
  font-size:10px;
  font-weight:600;
  color:#8a98aa;
  line-height:1.5;
}


/* =========================================================
   ATWAR ONE V0.27 — COMPACT PROFESSIONAL UI STANDARD
   Inspired by enterprise work-management density.
   Visual-only layer: no workflow/business logic changes.
   ========================================================= */
:root{
  --atwar-ui-density: .92;
}

/* Shared shell/navigation density */
.atwar-side,
.sidebar,
.app-sidebar{
  font-size: 13px;
}
.atwar-side a,
.sidebar a,
.app-sidebar a{
  min-height: 38px;
}

/* Main content typography */
main, .main, .content, .page-content{
  font-size: 13px;
}
h1{font-size:clamp(24px,2.1vw,34px)}
h2{font-size:20px}
h3{font-size:16px}
small,.muted,.sub,.subtitle{font-size:11px}

/* Cards and controls: compact without changing structure */
.card,.panel,.box,.tile,.stat,.kpi-card{
  border-radius:14px;
}
button,.btn,input,select,textarea{
  font-size:12px;
}
input,select,button,.btn{
  min-height:36px;
}

/* Desktop workspace should prioritize information density */
@media (min-width: 1000px){
  .card,.panel,.box,.tile,.stat,.kpi-card{
    padding-top:14px;
    padding-bottom:14px;
  }
}


/* =========================================================
   ATWAR ONE V0.28 — UNIFIED SHELL STANDARD
   One navigation/header density across all modules.
   ========================================================= */
:root{
  --atwar-nav-width:160px;
  --atwar-topbar-height:72px;
}

.atwar-shell{
  grid-template-columns:var(--atwar-nav-width) minmax(0,1fr) !important;
}

.atwar-sidebar{
  padding:14px 10px !important;
  gap:10px !important;
}

.atwar-brand{
  padding:6px 8px 14px !important;
}
.atwar-brand h1{
  font-size:15px !important;
  line-height:1.2 !important;
}
.atwar-brand p{
  font-size:9px !important;
  line-height:1.45 !important;
}

.atwar-nav{
  gap:5px !important;
}
.atwar-nav a{
  gap:9px !important;
  padding:9px 10px !important;
  min-height:36px !important;
  border-radius:10px !important;
  font-size:10px !important;
  font-weight:900 !important;
}
.atwar-nav i,
.atwar-nav svg{
  width:16px !important;
  height:16px !important;
}

.atwar-side-section{
  padding-top:10px !important;
}
.atwar-side-link{
  gap:8px !important;
  padding:8px 9px !important;
  min-height:34px !important;
  font-size:9.5px !important;
}

.atwar-topbar{
  height:var(--atwar-topbar-height) !important;
  padding:0 20px !important;
  gap:14px !important;
}
.atwar-top-brand{
  gap:12px !important;
}
.atwar-brand-mark{
  width:4px !important;
  height:38px !important;
}
.atwar-org-title h2{
  font-size:17px !important;
}
.atwar-org-title p{
  font-size:9px !important;
}
.atwar-pm-label{
  font-size:8px !important;
  line-height:1.35 !important;
}
.atwar-search{
  height:36px !important;
  min-width:220px !important;
}
.atwar-search input{
  font-size:10px !important;
}
.atwar-user-name{
  font-size:11px !important;
}
.atwar-user-role{
  font-size:9px !important;
}
.atwar-avatar{
  width:34px !important;
  height:34px !important;
  font-size:11px !important;
}

@media(max-width:1100px){
  :root{--atwar-nav-width:68px}
  .atwar-sidebar{padding:14px 8px !important}
  .atwar-sidebar .atwar-brand h1,
  .atwar-sidebar .atwar-brand p,
  .atwar-nav span,
  .atwar-side-link span{display:none !important}
  .atwar-nav a,.atwar-side-link{justify-content:center !important}
}


/* V0.29 — Search icon alignment */
.atwar-search{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  position:relative!important;
}
.atwar-search svg,
.atwar-search i[data-lucide="search"]{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  margin:0!important;
  position:static!important;
}
.atwar-search input{
  line-height:1!important;
  padding-top:0!important;
  padding-bottom:0!important;
}


/* =========================================================
   ATWAR ONE V0.30 — UI STANDARD V1
   Centralized visual system
   ========================================================= */

:root{
  /* Brand */
  --atwar-navy:#0b1d3a;
  --atwar-navy-2:#0c2342;
  --atwar-blue:#1677ff;
  --atwar-blue-hover:#0f68e7;

  /* Surfaces */
  --atwar-bg:#f4f7fb;
  --atwar-surface:#ffffff;
  --atwar-surface-soft:#f8fafc;

  /* Text */
  --atwar-text:#14243a;
  --atwar-text-2:#53657c;
  --atwar-muted:#7b8aa5;

  /* Borders */
  --atwar-border:#e5edf6;
  --atwar-border-strong:#dfe7f1;

  /* Status */
  --atwar-success:#139c68;
  --atwar-warning:#d97706;
  --atwar-danger:#df3f44;
  --atwar-info:#2563eb;

  /* Typography */
  --atwar-font:'Tajawal',sans-serif;
  --atwar-fs-xxs:9px;
  --atwar-fs-xs:10px;
  --atwar-fs-sm:12px;
  --atwar-fs-md:14px;
  --atwar-fs-lg:17px;
  --atwar-fs-xl:24px;
  --atwar-fs-2xl:28px;

  /* Radius */
  --atwar-radius-control:10px;
  --atwar-radius-card:14px;
  --atwar-radius-large:18px;
  --atwar-radius-pill:999px;

  /* Spacing */
  --atwar-sp-1:4px;
  --atwar-sp-2:8px;
  --atwar-sp-3:12px;
  --atwar-sp-4:16px;
  --atwar-sp-5:20px;
  --atwar-sp-6:24px;

  /* Shell */
  --atwar-sidebar-width:160px;
  --atwar-header-height:72px;
}

/* Base */
html,body{
  font-family:var(--atwar-font)!important;
}
body{
  color:var(--atwar-text);
  background:var(--atwar-bg);
}

/* Typography */
.atwar-page-title,
.page-title,
h1.atwar-title{
  font-size:var(--atwar-fs-2xl)!important;
  line-height:1.25!important;
  font-weight:900!important;
}
.atwar-section-title,
.card-title,
.panel-title{
  font-size:var(--atwar-fs-lg)!important;
  line-height:1.3!important;
  font-weight:900!important;
}
.atwar-card-title{
  font-size:var(--atwar-fs-md)!important;
  font-weight:900!important;
}
.atwar-body,
.atwar-text,
body,
button,
input,
select,
textarea{
  font-size:var(--atwar-fs-sm);
}
.atwar-meta,
.muted,
.subtitle,
small{
  font-size:var(--atwar-fs-xs)!important;
  color:var(--atwar-muted);
}

/* Shared shell */
.atwar-shell{
  grid-template-columns:var(--atwar-sidebar-width) minmax(0,1fr)!important;
}
.atwar-sidebar{
  background:linear-gradient(180deg,var(--atwar-navy-2),var(--atwar-navy) 62%,#0a1a33)!important;
  color:#fff!important;
  padding:14px 10px!important;
  gap:10px!important;
}
.atwar-brand{
  padding:6px 8px 14px!important;
}
.atwar-brand h1{
  margin:0!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
.atwar-brand p{
  margin:5px 0 0!important;
  font-size:var(--atwar-fs-xxs)!important;
  color:#cbd7e8!important;
  line-height:1.45!important;
}
.atwar-nav{
  gap:5px!important;
}
.atwar-nav a{
  min-height:36px!important;
  padding:9px 10px!important;
  border-radius:var(--atwar-radius-control)!important;
  gap:9px!important;
  color:#e9f0f8!important;
  font-size:var(--atwar-fs-xs)!important;
  font-weight:900!important;
}
.atwar-nav a:hover{
  background:rgba(255,255,255,.07)!important;
}
.atwar-nav a.active{
  background:linear-gradient(135deg,#1567d8,#2188ff)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(22,119,255,.22)!important;
}
.atwar-nav svg,
.atwar-nav i{
  width:16px!important;
  height:16px!important;
}
.atwar-side-section{
  padding-top:10px!important;
}
.atwar-side-link{
  min-height:34px!important;
  padding:8px 9px!important;
  gap:8px!important;
  font-size:9.5px!important;
  border-radius:var(--atwar-radius-control)!important;
}

/* Header */
.atwar-topbar{
  height:var(--atwar-header-height)!important;
  min-height:var(--atwar-header-height)!important;
  padding:0 20px!important;
  background:var(--atwar-navy)!important;
  color:#fff!important;
  gap:14px!important;
}
.atwar-top-brand{
  gap:12px!important;
}
.atwar-brand-mark{
  width:4px!important;
  height:38px!important;
  background:#22a0ff!important;
  border-radius:var(--atwar-radius-pill)!important;
}
.atwar-org-title h2{
  font-size:var(--atwar-fs-lg)!important;
  font-weight:900!important;
  line-height:1.15!important;
}
.atwar-org-title p{
  font-size:var(--atwar-fs-xxs)!important;
  color:#d7e4f3!important;
}
.atwar-pm-label{
  font-size:8px!important;
  color:#21a4ff!important;
  line-height:1.35!important;
}
.atwar-search{
  height:36px!important;
  min-height:36px!important;
  min-width:220px!important;
  padding:0 11px!important;
  gap:8px!important;
  display:flex!important;
  align-items:center!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:var(--atwar-radius-control)!important;
}
.atwar-search svg,
.atwar-search i{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  position:static!important;
  margin:0!important;
}
.atwar-search input{
  min-height:auto!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  padding:0!important;
  font-size:var(--atwar-fs-xs)!important;
}
.atwar-search input::placeholder{
  color:#91a5bd!important;
}
.atwar-user-name{
  font-size:11px!important;
  font-weight:900!important;
}
.atwar-user-role{
  font-size:var(--atwar-fs-xxs)!important;
  color:#c7d5e7!important;
}
.atwar-avatar{
  width:34px!important;
  height:34px!important;
  font-size:11px!important;
}

/* Cards / panels */
.home-card,
.card,
.panel,
.box,
.tile,
.stat,
.kpi-card,
.employee-card,
.team-card,
.follow-card,
.notification-card{
  background:var(--atwar-surface);
  border-color:var(--atwar-border)!important;
  border-radius:var(--atwar-radius-card)!important;
  box-shadow:0 4px 14px rgba(20,45,80,.035);
}
.atwar-content{
  padding:20px!important;
}

/* Controls */
button,
.btn,
input,
select,
textarea{
  font-family:var(--atwar-font)!important;
}
button,
.btn{
  min-height:36px;
  border-radius:var(--atwar-radius-control)!important;
  font-size:var(--atwar-fs-sm)!important;
}
input,
select,
textarea{
  border-color:var(--atwar-border-strong)!important;
  border-radius:var(--atwar-radius-control)!important;
}
.atwar-primary,
.btn-primary{
  background:var(--atwar-blue)!important;
  color:#fff!important;
}
.atwar-primary:hover,
.btn-primary:hover{
  background:var(--atwar-blue-hover)!important;
}

/* Pills */
.badge,
.pill,
.tag,
.status-chip{
  border-radius:var(--atwar-radius-pill)!important;
}

/* Status colors */
.text-success{color:var(--atwar-success)!important}
.text-warning{color:var(--atwar-warning)!important}
.text-danger{color:var(--atwar-danger)!important}
.text-info{color:var(--atwar-info)!important}

/* Footer */
.atwar-footer,
.atwar-copyright{
  font-size:var(--atwar-fs-xxs)!important;
  color:#8a98aa!important;
}

/* Responsive */
@media(max-width:1100px){
  :root{--atwar-sidebar-width:68px}
  .atwar-sidebar{padding:14px 8px!important}
  .atwar-sidebar .atwar-brand h1,
  .atwar-sidebar .atwar-brand p,
  .atwar-nav span,
  .atwar-side-link span{display:none!important}
  .atwar-nav a,
  .atwar-side-link{justify-content:center!important}
}


/* ATWAR ONE V0.31 — SINGLE UNIFIED SHELL */
atwar-sidebar,atwar-header{display:contents}
.atwar-shell{display:grid!important;grid-template-columns:var(--atwar-sidebar-width,160px) minmax(0,1fr)!important;min-height:100vh!important}
.atwar-main{min-width:0!important;background:var(--atwar-bg,#f4f7fb)!important}
.atwar-sidebar{min-height:100vh!important;height:100vh!important;position:sticky!important;top:0!important;display:flex!important;flex-direction:column!important;overflow-y:auto!important}
.atwar-topbar{position:sticky!important;top:0!important;z-index:900!important;width:100%!important;box-sizing:border-box!important;flex-wrap:nowrap!important;overflow:visible!important}
.atwar-top-brand{flex:0 1 auto!important;min-width:0!important}
.atwar-org-title{min-width:0!important}
.atwar-org-title h2,.atwar-org-title p{white-space:nowrap!important}
.atwar-top-actions{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:0 1 auto!important;flex-wrap:nowrap!important}
.atwar-bell,.atwar-icon-btn{width:36px!important;height:36px!important;min-width:36px!important;display:grid!important;place-items:center!important;position:relative!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;text-decoration:none!important;cursor:pointer!important}
.atwar-bell:hover,.atwar-icon-btn:hover{background:rgba(255,255,255,.14)!important}
.atwar-bell svg,.atwar-icon-btn svg{width:16px!important;height:16px!important}
.atwar-bell .atwar-badge,.atwar-notification-badge{position:absolute!important;top:-5px!important;right:-5px!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border-radius:999px!important;background:#ef4444!important;color:#fff!important;font-size:9px!important;font-weight:900!important;display:flex;align-items:center;justify-content:center}
.atwar-shell-logout{width:100%!important;border:0!important;background:transparent!important;color:#ff7777!important;text-align:right!important;cursor:pointer!important;font-family:var(--atwar-font,'Tajawal',sans-serif)!important;font-weight:900!important}
.atwar-shell-logout:hover{background:rgba(255,255,255,.07)!important}
.atwar-task-tools{gap:7px!important}
.atwar-task-tools .atwar-search{width:230px!important;min-width:180px!important}
.atwar-task-add{min-height:36px!important;padding:0 13px!important;display:flex!important;align-items:center!important;gap:7px!important;border:0!important;border-radius:10px!important;background:var(--atwar-blue,#1677ff)!important;color:#fff!important;font-family:var(--atwar-font,'Tajawal',sans-serif)!important;font-size:10px!important;font-weight:900!important;cursor:pointer!important}
.atwar-task-add svg{width:15px!important;height:15px!important}
.atwar-task-notification-wrap{position:relative}
.atwar-task-notification-panel{position:absolute!important;left:0!important;top:44px!important;width:340px!important;max-width:90vw!important;background:#fff!important;color:#334155!important;border:1px solid #e2e8f0!important;border-radius:14px!important;box-shadow:0 20px 50px rgba(15,23,42,.18)!important;overflow:hidden!important;z-index:1100!important}
.atwar-notification-head{padding:12px 14px;border-bottom:1px solid #eef2f7;display:flex;justify-content:space-between;align-items:center}
.atwar-notification-head button{min-height:auto!important;border:0!important;background:transparent!important;color:#2563eb!important;font-size:10px!important;font-weight:900!important}
.atwar-notification-list{max-height:360px;overflow:auto}
.atwar-task-save-status{font-size:9px!important;padding:6px 8px!important;border-radius:8px!important;background:rgba(255,255,255,.07)!important;color:#dce8f7!important;white-space:nowrap!important}
body.atwar-task-page{padding:0!important;margin:0!important;background:var(--atwar-bg,#f4f7fb)!important}
.atwar-task-content-host{min-height:calc(100vh - var(--atwar-header-height,72px))}
body.atwar-task-page #authLoadingScreen,body.atwar-task-page #loginScreen,body.atwar-task-page #appShell{min-height:calc(100vh - var(--atwar-header-height,72px))!important}
.atwar-auth-loading{display:flex;align-items:center;justify-content:center;background:var(--atwar-bg,#f4f7fb)}
.atwar-auth-loading-card{min-width:280px;background:#fff;border:1px solid var(--atwar-border,#e5edf6);border-radius:14px;padding:24px;text-align:center;box-shadow:0 8px 24px rgba(20,45,80,.05)}
.atwar-auth-loading-spinner{width:34px;height:34px;margin:0 auto 12px;border:3px solid #e5edf6;border-top-color:var(--atwar-blue,#1677ff);border-radius:50%;animation:atwarSpin .8s linear infinite}
@keyframes atwarSpin{to{transform:rotate(360deg)}}
.atwar-profile-host> #root > div{min-height:auto!important;background:transparent!important}
.atwar-profile-host main{max-width:none!important;padding:24px!important}
.atwar-profile-host footer{margin-top:20px!important;padding:18px!important}
.atwar-profile-host .rounded-\[3rem\]{border-radius:18px!important}
.atwar-profile-host .rounded-\[2rem\]{border-radius:14px!important}
.atwar-profile-host .mb-12{margin-bottom:20px!important}
.atwar-profile-host .mb-10{margin-bottom:18px!important}
@media(max-width:1280px){.atwar-task-save-status{display:none!important}.atwar-task-tools .atwar-search{width:180px!important}.atwar-pm-label{display:none!important}}
@media(max-width:1120px){.atwar-task-tools .atwar-search{display:none!important}.atwar-user{display:none!important}}
@media(max-width:1100px){.atwar-shell{grid-template-columns:68px minmax(0,1fr)!important}}


.atwar-global-notification-item{width:100%;border:0;border-bottom:1px solid #eef2f7;background:#fff;padding:10px 12px;display:grid;grid-template-columns:26px 1fr auto;gap:8px;align-items:start;text-align:right;font-family:inherit;color:#334155;cursor:pointer}
.atwar-global-notification-item:hover{background:#f8fafc}.atwar-global-notification-item.is-unread{background:#f4f8ff}
.atwar-global-notification-icon{font-size:14px;line-height:1.4}.atwar-global-notification-copy{min-width:0;display:block}
.atwar-global-notification-copy b{display:block;font-size:10px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.atwar-global-notification-copy small{display:block;font-size:9px;color:#718096;line-height:1.55;margin-top:3px;max-height:30px;overflow:hidden}
.atwar-global-notification-time{font-size:8px;color:#a0aec0;white-space:nowrap;padding-top:2px}

/* Shared visibility utility used by header/dropdowns across non-Tailwind pages */
.hidden{display:none!important}

/* =========================================================
   ATWAR ONE V0.32 — STABILIZATION DESIGN SYSTEM
   Final visual contract shared by every authenticated page.
   ========================================================= */
:root{--atwar-content-max:1440px;--atwar-control-height:40px;--atwar-dialog-width:520px;--atwar-shadow-card:0 4px 16px rgba(20,45,80,.045);--atwar-shadow-dialog:0 24px 70px rgba(15,23,42,.22)}
html{font-size:16px}body{font-size:13px!important;line-height:1.65}.atwar-main{overflow-x:hidden}.atwar-content{width:100%!important;max-width:var(--atwar-content-max)!important;margin-inline:auto!important;padding:24px!important}
.atwar-content>h1,.atwar-content>.head h1,.atwar-content header.head h1{margin:0 0 6px!important;font-size:26px!important;line-height:1.3!important;letter-spacing:0!important}.atwar-content>.head,.atwar-content>header.head{margin-bottom:18px!important}.atwar-content>.head p,.atwar-content>header.head p{font-size:12px!important;line-height:1.8!important;color:var(--atwar-muted)!important}
.atwar-main .card,.atwar-main .panel,.atwar-main .box,.atwar-main .tile,.atwar-main .stat,.atwar-main .kpi-card,.atwar-main .home-card,.atwar-main .section-card,.atwar-main .side-card{border:1px solid var(--atwar-border)!important;border-radius:16px!important;box-shadow:var(--atwar-shadow-card)!important}.atwar-main .card,.atwar-main .panel,.atwar-main .box,.atwar-main .section-card,.atwar-main .side-card{padding:18px!important}.atwar-main h2{line-height:1.4}.atwar-main h3{line-height:1.45}.atwar-main p{line-height:1.85}.atwar-main small,.atwar-main .muted,.atwar-main .subtle,.atwar-main .hint,.atwar-main .meta{font-size:11px!important;line-height:1.7!important}
.atwar-main button,.atwar-main .btn,.atwar-main input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),.atwar-main select{min-height:var(--atwar-control-height)!important;border-radius:10px!important;font-size:12px!important}.atwar-main input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),.atwar-main select,.atwar-main textarea{padding:10px 12px!important}.atwar-main textarea{min-height:96px;border-radius:10px!important;font-size:12px!important;line-height:1.8!important;resize:vertical}.atwar-main button:focus-visible,.atwar-main .btn:focus-visible,.atwar-main input:focus-visible,.atwar-main select:focus-visible,.atwar-main textarea:focus-visible,.atwar-main a:focus-visible{outline:3px solid rgba(22,119,255,.2)!important;outline-offset:2px!important;border-color:var(--atwar-blue)!important}.atwar-main button:disabled,.atwar-main .btn:disabled{opacity:.55!important;cursor:not-allowed!important}
.dialog-backdrop,.password-dialog,.workspace{background:rgba(9,25,48,.58)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.password-box,.dialog-backdrop>div{width:min(var(--atwar-dialog-width),calc(100vw - 32px))!important;max-height:min(82vh,720px)!important;overflow:auto!important;border:1px solid var(--atwar-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--atwar-shadow-dialog)!important}.password-box{padding:22px!important}.password-actions{justify-content:flex-start!important;gap:10px!important;margin-top:18px!important}.password-actions .btn{flex:0 1 auto!important;min-width:110px!important}
.workspace{padding:20px!important;z-index:1000!important}.workspace-shell{width:min(1180px,100%)!important;height:min(900px,calc(100vh - 40px))!important;border-radius:20px!important;box-shadow:var(--atwar-shadow-dialog)!important}.workspace-head{min-height:72px!important;padding:14px 20px!important;gap:16px!important}.workspace-title h2{font-size:20px!important;line-height:1.35!important}.editor-tabs{min-height:52px!important;padding:0 20px!important;gap:8px!important;overflow-x:auto!important}.editor-tabs button,.view-tabs button{min-width:max-content!important;padding:12px 14px!important;font-size:12px!important}.editor-body{padding:20px!important}.content-stack{gap:14px!important}.section-card h3,.side-card h3{font-size:15px!important;margin-bottom:14px!important}.read-text{font-size:13px!important;line-height:2!important}.item-list{gap:10px!important}.read-item{grid-template-columns:34px minmax(0,1fr)!important;padding:14px!important;gap:12px!important}.read-item b{font-size:13px!important;line-height:1.85!important}.read-item p{font-size:11px!important;line-height:1.8!important}.matrix-head,.matrix-row{font-size:11px!important}.matrix-head span,.matrix-row>span,.matrix-row>div{padding:14px!important;line-height:1.8!important}
#toastContainer,.toast{z-index:1300!important}.toast{font-size:12px!important;line-height:1.65!important;border-radius:12px!important}
@media(max-width:850px){.atwar-content{padding:16px!important}.atwar-content>h1,.atwar-content>.head h1,.atwar-content header.head h1{font-size:23px!important}.workspace{padding:0!important}.workspace-shell{height:100vh!important;border-radius:0!important}.workspace-head{padding:12px 14px!important}.editor-tabs{padding:0 12px!important}.editor-body{padding:14px!important}.atwar-main .card,.atwar-main .panel,.atwar-main .box,.atwar-main .section-card,.atwar-main .side-card{padding:15px!important}}
@media(max-width:560px){.atwar-content{padding:12px!important}.password-actions{flex-direction:column!important}.password-actions .btn{width:100%!important}.read-item{padding:12px!important}}

/* ATWAR ONE V0.33 — UNIFIED TASK SUITE
   Active, completed, recurring and executive views share one visual contract. */
.task-suite-page{width:100%;max-width:1440px;margin-inline:auto;padding:20px 24px 28px}
.task-suite-page>*+*{margin-top:14px}
.task-suite-hero{min-height:116px;padding:22px 24px;border-radius:20px;background:linear-gradient(135deg,#0b2f5d,#1769b8);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:22px;box-shadow:0 12px 28px rgba(18,72,130,.12)}
.task-suite-hero h1{margin:0 0 7px!important;font-size:25px!important;line-height:1.3!important;color:#fff!important}
.task-suite-hero p{margin:0!important;max-width:760px;color:#dcecff!important;font-size:11px!important;line-height:1.8!important}
.task-suite-hero-badge{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.11);color:#fff;font-size:10px;font-weight:900;white-space:nowrap}
.task-suite-hero-badge svg{width:15px;height:15px}
.task-suite-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.task-suite-metrics.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.task-suite-metric{min-height:82px;padding:14px 16px!important;border:1px solid var(--atwar-border,#e5edf6)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--atwar-shadow-card)!important}
.task-suite-metric strong,.task-suite-metric span,.task-suite-metric>div{display:block}.task-suite-metric strong,.task-suite-metric>div{font-size:21px;line-height:1.2;color:#0d3a70}.task-suite-metric span,.task-suite-metric p{margin:8px 0 0;font-size:10px;color:#718198;font-weight:800}
.task-suite-panel{padding:16px!important;border:1px solid var(--atwar-border,#e5edf6)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--atwar-shadow-card)!important}
.task-suite-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.task-suite-panel-head h2{margin:0!important;font-size:16px!important}.task-suite-panel-head p{margin:3px 0 0!important;color:#718198!important;font-size:10px!important}
.task-suite-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.task-suite-filters input[type="text"],.task-suite-filters input[type="search"]{flex:1 1 280px}.task-suite-filters select{flex:0 1 210px}
.task-suite-empty{padding:44px 20px;text-align:center;color:#7b899b}
@media(max-width:900px){.task-suite-page{padding:16px}.task-suite-hero{align-items:flex-start;flex-direction:column}.task-suite-metrics,.task-suite-metrics.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.task-suite-page{padding:12px}.task-suite-hero{padding:19px;border-radius:16px}.task-suite-hero h1{font-size:22px!important}.task-suite-metrics,.task-suite-metrics.four{grid-template-columns:1fr 1fr}.task-suite-metric{padding:12px!important}.task-suite-panel-head{align-items:flex-start;flex-direction:column}.task-suite-filters>*{width:100%;flex-basis:100%!important}}
