@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{--bg:#f4f7fb;--panel:#fff;--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--brand:#2563eb;--brand2:#7c3aed;--dark:#0b1220;--success:#16a34a;--warning:#f59e0b;--danger:#dc2626;--shadow:0 18px 45px rgba(15,23,42,.08);--radius:18px}
*{box-sizing:border-box}body{margin:0;font-family:Cairo,Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:15px}a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit}label{display:block;margin:10px 0 6px;font-weight:800;color:#334155}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff;color:var(--ink);outline:none;transition:.2s}input:focus,select:focus,textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(37,99,235,.12)}textarea{min-height:120px;resize:vertical}.layout{display:flex;min-height:100vh}.sidebar{width:292px;background:linear-gradient(180deg,#0b1220,#111827);color:#e5e7eb;padding:18px;position:sticky;top:0;height:100vh;overflow:auto;box-shadow:8px 0 25px rgba(15,23,42,.16)}.brand{display:flex;gap:12px;align-items:center;margin-bottom:20px}.mark{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-weight:900;box-shadow:0 10px 25px rgba(37,99,235,.35)}.brand strong{font-size:19px}.brand small{display:block;color:#94a3b8;font-size:12px;margin-top:1px}.nav-section{margin:18px 0 8px;color:#94a3b8;font-size:11px;font-weight:900;letter-spacing:.4px;text-transform:uppercase}.sidebar nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:13px;color:#dbeafe;margin:3px 0;transition:.18s;font-weight:700}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(255,255,255,.10);color:#fff;transform:translateX(-2px)}.main{flex:1;min-width:0}.topbar{background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:5}.topbar h1{font-size:25px;line-height:1.1;margin:0}.topbar p{margin:4px 0 0;color:var(--muted)}.userbox{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.chip,.notif,.logout{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px}.notif b{background:var(--danger);color:#fff;border-radius:99px;padding:1px 7px;margin-inline-start:4px}.logout{background:#0f172a;color:#fff;border-color:#0f172a}.content{padding:24px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);margin-bottom:18px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-title h2{margin:0;font-size:20px}.muted{color:var(--muted);font-size:13px}.grid{display:grid;gap:16px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.stat{padding:20px;border-radius:20px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid var(--line);box-shadow:var(--shadow);position:relative;overflow:hidden}.stat:after{content:"";position:absolute;inset:auto -30px -35px auto;width:105px;height:105px;border-radius:50%;background:rgba(37,99,235,.08)}.stat .num{font-size:32px;font-weight:900;margin:6px 0;color:#0f172a}.stat .label{color:var(--muted);font-weight:800}.stat .hint{font-size:12px;color:#94a3b8}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;padding:11px 16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(37,99,235,.18)}.btn.secondary{background:#fff;color:#0f172a;border:1px solid var(--line);box-shadow:none}.btn.danger{background:var(--danger)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.alert{padding:12px 15px;border-radius:14px;margin:12px 0;font-weight:800}.alert.success{background:#dcfce7;color:#166534}.alert.error{background:#fee2e2;color:#991b1b}.alert.info{background:#dbeafe;color:#1e40af}table{width:100%;border-collapse:separate;border-spacing:0 9px}.table-wrap{overflow:auto}th{text-align:right;color:#64748b;font-size:13px;padding:8px 12px}td{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px;vertical-align:top}td:first-child{border-radius:0 14px 14px 0;border-right:1px solid var(--line)}td:last-child{border-radius:14px 0 0 14px;border-left:1px solid var(--line)}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:900;background:#e0f2fe;color:#075985}.badge.new{background:#dbeafe;color:#1d4ed8}.badge.in_progress{background:#ede9fe;color:#6d28d9}.badge.review{background:#ffedd5;color:#c2410c}.badge.changes{background:#fee2e2;color:#b91c1c}.badge.done,.badge.approved{background:#dcfce7;color:#166534}.badge.urgent{background:#fee2e2;color:#b91c1c}.badge.high{background:#ffedd5;color:#c2410c}.kanban{display:grid;grid-template-columns:repeat(6,minmax(230px,1fr));gap:14px;overflow:auto;padding-bottom:10px}.lane{background:#eef2f7;border:1px solid #dbe4ee;border-radius:18px;padding:12px;min-height:250px}.lane h3{margin:0 0 10px;font-size:15px}.task-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;margin-bottom:10px;box-shadow:0 8px 20px rgba(15,23,42,.06)}.task-card strong{display:block;margin-bottom:6px}.hero{background:linear-gradient(135deg,#0f172a,#1e3a8a 55%,#6d28d9);color:#fff;border:0;overflow:hidden;position:relative}.hero:before{content:"";position:absolute;width:320px;height:320px;background:rgba(255,255,255,.10);border-radius:50%;left:-90px;top:-120px}.hero>*{position:relative}.hero h2{font-size:28px;margin:0 0 8px}.hero p{color:#dbeafe}.quick-actions a{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;display:block;font-weight:900;box-shadow:var(--shadow)}.timeline{border-right:3px solid #dbeafe;padding-right:15px}.timeline .item{position:relative;padding:0 0 16px}.timeline .item:before{content:"";position:absolute;right:-23px;top:5px;width:13px;height:13px;background:var(--brand);border-radius:50%;box-shadow:0 0 0 5px #dbeafe}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.tabs a{padding:9px 13px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:900}.profile-head{display:flex;align-items:center;gap:16px}.avatar{width:76px;height:76px;border-radius:24px;background:linear-gradient(135deg,var(--brand),var(--brand2));display:grid;place-items:center;color:#fff;font-size:28px;font-weight:900}.mobile-menu{display:none}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}@media(max-width:1100px){.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}.kanban{grid-template-columns:repeat(3,minmax(230px,1fr))}}@media(max-width:800px){.layout{display:block}.sidebar{position:fixed;right:-310px;z-index:20;transition:.25s}.sidebar.open{right:0}.main{width:100%}.topbar{align-items:flex-start}.mobile-menu{display:inline-flex}.grid-2,.grid-3,.grid-4,.form-grid{grid-template-columns:1fr}.content{padding:16px}.userbox{justify-content:flex-start}.topbar{padding:12px 16px}.kanban{grid-template-columns:repeat(1,minmax(230px,1fr))}}
.column{background:#eef2f7;border:1px solid #dbe4ee;border-radius:18px;padding:12px;min-height:250px}.column h3{margin:0 0 10px;font-size:15px}.progress{height:8px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin-top:10px}.progress span{display:block;height:100%;background:linear-gradient(135deg,var(--brand),var(--brand2));border-radius:99px}

/* ===== V4 Professional upgrades ===== */
.pro-sidebar{width:310px;background:linear-gradient(180deg,#07111f,#0f172a 55%,#111827);padding:16px 14px}
.pro-brand{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:12px;margin-bottom:14px}
.pro-nav details{border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.035);border-radius:18px;margin:10px 0;padding:8px}
.pro-nav summary{list-style:none;cursor:pointer;color:#f8fafc;font-weight:900;padding:9px 10px;border-radius:12px}
.pro-nav summary::-webkit-details-marker{display:none}.pro-nav summary:after{content:'⌄';float:left;color:#94a3b8}.pro-nav details:not([open]) summary:after{content:'›'}
.pro-nav a{display:flex!important;gap:10px!important;align-items:center!important;margin:4px 0!important;padding:10px 11px!important;border-radius:13px!important;background:transparent!important}.pro-nav a .nav-ico{width:24px;height:24px;display:grid;place-items:center;background:rgba(255,255,255,.07);border-radius:9px}.pro-nav a.active{background:linear-gradient(135deg,rgba(37,99,235,.36),rgba(124,58,237,.25))!important;border:1px solid rgba(147,197,253,.25)}
.chat-shell{display:grid;grid-template-columns:340px minmax(0,1fr);height:calc(100vh - 150px);min-height:650px;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);overflow:hidden}.chat-side{background:#f8fafc;border-left:1px solid var(--line);display:flex;flex-direction:column}.chat-side-head{padding:18px;border-bottom:1px solid var(--line);background:#fff}.chat-search{margin-top:10px}.chat-list{overflow:auto;padding:10px}.chat-thread-link{display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;margin-bottom:8px;border:1px solid transparent}.chat-thread-link:hover,.chat-thread-link.active{background:#eaf2ff;border-color:#bfdbfe}.chat-avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand2));display:grid;place-items:center;color:#fff;font-weight:900}.chat-meta{flex:1;min-width:0}.chat-meta b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-meta small{color:#64748b}.chat-main{display:flex;flex-direction:column;min-width:0}.chat-main-head{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff}.chat-wall{flex:1;overflow:auto;padding:24px;background:radial-gradient(circle at 20% 20%,rgba(37,99,235,.08),transparent 28%),#eef3f9}.bubble-row{display:flex;margin-bottom:12px}.bubble-row.mine{justify-content:flex-start}.bubble-row.other{justify-content:flex-end}.bubble{max-width:min(620px,78%);padding:10px 13px;border-radius:20px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 10px 24px rgba(15,23,42,.06)}.bubble-row.mine .bubble{background:#dbeafe;border-color:#bfdbfe;border-bottom-left-radius:7px}.bubble-row.other .bubble{border-bottom-right-radius:7px}.bubble .sender{font-size:12px;color:#2563eb;font-weight:900;margin-bottom:4px}.bubble .time{font-size:11px;color:#64748b;margin-top:5px}.chat-compose{padding:14px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:10px}.chat-compose textarea{min-height:52px;max-height:130px;border-radius:20px}.chat-compose .compose-tools{display:flex;gap:8px;align-items:center}.chat-image img{display:block;max-width:290px;max-height:240px;border-radius:18px;margin-top:8px;border:1px solid #cbd5e1}.file-pill{display:flex;align-items:center;gap:12px;background:#f8fafc;border:1px solid #dbe4ee;border-radius:18px;padding:10px 12px;margin-top:8px;min-width:250px}.file-pill .file-ico{font-size:28px}.file-pill b{display:block;max-width:270px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-pill small{display:block;color:#64748b}.word-doc{max-width:900px;margin:auto;background:#fff;border:1px solid #d8dee9;box-shadow:0 22px 70px rgba(15,23,42,.10);border-radius:10px;padding:48px 56px;line-height:2}.word-doc .doc-head{display:flex;justify-content:space-between;border-bottom:3px solid #0f172a;padding-bottom:18px;margin-bottom:26px}.word-doc h2{font-size:28px;margin:0;text-align:center}.word-doc .doc-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.word-doc .doc-meta div{border:1px solid #cbd5e1;padding:10px;border-radius:10px;background:#f8fafc}.decision-text{white-space:pre-wrap;font-size:17px;color:#111827}.approval-box{border:1px solid #bfdbfe;background:#eff6ff;border-radius:20px;padding:16px;margin-top:18px}.approval-done{background:#dcfce7;border-color:#86efac}.account-card{display:grid;grid-template-columns:56px 1fr auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:22px;padding:16px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.06);margin-bottom:12px}.account-card .site-icon{width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,#0ea5e9,#7c3aed);display:grid;place-items:center;color:#fff;font-size:24px}.user-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.user-checks label{margin:0;padding:9px;border:1px solid var(--line);border-radius:14px;background:#f8fafc;font-weight:700}.payroll-paper{max-width:950px;margin:auto}.money-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.money-box{border:1px solid var(--line);border-radius:18px;padding:15px;background:#f8fafc}.money-box b{font-size:24px}@media(max-width:1000px){.chat-shell{grid-template-columns:1fr;height:auto}.chat-side{border-left:0;border-bottom:1px solid var(--line);max-height:360px}.user-checks{grid-template-columns:1fr}.money-grid{grid-template-columns:1fr}.word-doc{padding:24px}.word-doc .doc-meta{grid-template-columns:1fr}}

/* v5 mobile compact header + task page upgrade */
.top-icon{width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;color:#0f172a;cursor:pointer;flex:0 0 auto}
.compact-topbar{min-height:72px}.top-title{min-width:0;flex:1}.top-title h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-userbox{flex-wrap:nowrap}.hide-sm{display:inline}.role-hide{display:inline}.user-chip{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:start}.task-chat-panel{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);position:sticky;top:96px;height:calc(100vh - 122px);display:flex;flex-direction:column;overflow:hidden}.task-chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#f8fafc,#eef2ff)}.task-chat-head b{display:block;font-size:18px}.task-chat-head small{display:block;color:#64748b;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-chat-wall{flex:1;overflow:auto;padding:18px;background:radial-gradient(circle at 0 0,rgba(37,99,235,.10),transparent 30%),#eef3f9}.empty-chat{background:#fff;border:1px dashed #bfdbfe;border-radius:18px;padding:18px;text-align:center;color:#64748b;font-weight:800}.task-chat-compose{border-top:1px solid var(--line);background:#fff;padding:12px;display:grid;gap:8px}.task-chat-compose textarea{min-height:54px;max-height:110px;border-radius:18px}.compose-line{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.compose-line input[type=file]{padding:9px;border-radius:13px;font-size:12px}.workflow-steps{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px}.wf-step{padding:8px 13px;border-radius:999px;background:#f1f5f9;color:#64748b;font-weight:900;border:1px solid #e2e8f0}.wf-step.active{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;border-color:transparent;box-shadow:0 10px 22px rgba(37,99,235,.22)}.subtask-summary{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;margin-bottom:14px}.subtask-list{display:grid;gap:10px}.subtask-row{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:12px;transition:.18s}.subtask-row:hover{transform:translateY(-1px);box-shadow:0 10px 25px rgba(15,23,42,.06)}.subtask-row.done{background:#f0fdf4;border-color:#bbf7d0}.subtask-row b{display:block}.subtask-row small{display:block;color:#64748b;font-weight:700}.check-btn{width:42px;height:42px;border-radius:14px;border:1px solid #cbd5e1;background:#fff;font-weight:900;font-size:20px;color:#2563eb;cursor:pointer}.subtask-row.done .check-btn{background:#16a34a;color:#fff;border-color:#16a34a}.task-hero-card h2{font-size:24px;margin:0}

@media(max-width:1000px){.task-page-grid{grid-template-columns:1fr}.task-chat-panel{position:relative;top:auto;height:72vh}.task-chat-head small{max-width:220px}}
@media(max-width:760px){body{font-size:14px}.layout{display:block}.sidebar{position:fixed;right:0;top:0;height:100vh;z-index:30;transform:translateX(105%);transition:.22s;width:300px}.sidebar.open{transform:translateX(0)}.main{width:100%}.content{padding:14px}.compact-topbar{display:flex;align-items:center;gap:8px;padding:8px 10px;min-height:58px}.top-icon{width:42px;height:42px;border-radius:13px;font-size:20px;order:3}.top-title{order:2;flex:1;text-align:right}.top-title h1{font-size:18px;line-height:1.15;margin:0}.top-title p{display:none}.compact-userbox{order:1;display:flex;gap:5px;align-items:center;flex:0 0 auto}.compact-userbox .notif,.compact-userbox .logout,.compact-userbox .chip{padding:7px 8px;font-size:12px;border-radius:14px;white-space:nowrap}.hide-sm,.role-hide{display:none}.user-chip{max-width:78px}.word-doc{padding:18px 14px;border-radius:0;border-left:0;border-right:0}.word-doc .doc-head{display:block;text-align:center}.word-doc h2{font-size:24px}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.section-title{align-items:flex-start}.task-chat-panel{height:74vh;border-radius:18px}.compose-line{grid-template-columns:1fr}.bubble{max-width:88%}.chat-image img{max-width:220px}.file-pill{min-width:0}.file-pill b{max-width:180px}}


/* v6 professional desktop activity */
.activity-hero{background:linear-gradient(135deg,#ffffff,#eef6ff);border-color:#bfdbfe}
.employee-device-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-bottom:18px}
.device-card{display:block;background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:var(--shadow);position:relative;overflow:hidden;transition:.18s}
.device-card:hover{transform:translateY(-3px);box-shadow:0 22px 52px rgba(15,23,42,.12)}
.device-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:#94a3b8}.device-card.online:before{background:#16a34a}.device-card.idle:before{background:#f59e0b}.device-card.away:before{background:#38bdf8}.device-card.offline:before{background:#ef4444}
.device-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.avatar-mini{width:48px;height:48px;border-radius:18px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;display:grid;place-items:center;font-weight:900;font-size:22px}.status-dot{width:14px;height:14px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 5px #f1f5f9}.device-card.online .status-dot{background:#16a34a;box-shadow:0 0 0 5px #dcfce7}.device-card.idle .status-dot{background:#f59e0b;box-shadow:0 0 0 5px #fef3c7}.device-card.offline .status-dot{background:#ef4444;box-shadow:0 0 0 5px #fee2e2}
.device-card h3{margin:0;font-size:18px}.device-card p{margin:3px 0 10px;color:#64748b;font-weight:700}.device-status{display:inline-flex;border-radius:999px;background:#f1f5f9;padding:5px 11px;font-weight:900;font-size:12px;margin-bottom:12px}.device-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.device-metrics span,.agent-stats span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:9px;text-align:center;color:#64748b;font-size:12px;font-weight:800}.device-metrics b,.agent-stats b{display:block;color:#0f172a;font-size:14px}.last-line{color:#64748b;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px}.rank-line{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:11px 13px;margin:8px 0}.rank-line span{color:#64748b;font-weight:800}.agent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}.agent-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px;box-shadow:0 14px 34px rgba(15,23,42,.06)}.agent-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.agent-head b{font-size:18px}.agent-card p{color:#64748b;font-weight:800;margin:6px 0 12px}.agent-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.token-box{background:#0b1220;color:#dbeafe;border-radius:14px;padding:10px;margin:10px 0;overflow:auto;direction:ltr;text-align:left}.token-box code{font-size:11px}.steps{margin:0;padding-right:22px}.steps li{margin-bottom:9px;font-weight:800}.activity-timeline{display:grid;gap:10px}.activity-event{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border:1px solid var(--line);border-right:5px solid #2563eb;background:#fff;border-radius:18px;padding:12px}.activity-event.idle{border-right-color:#f59e0b;background:#fffaf0}.activity-event b{display:block}.activity-event small{display:block;color:#64748b;max-width:680px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-event span{color:#64748b;font-weight:900}
@media(max-width:760px){.employee-device-grid,.agent-grid{grid-template-columns:1fr}.device-metrics,.agent-stats{grid-template-columns:1fr 1fr 1fr}.activity-event{grid-template-columns:1fr}.rank-line{display:block}.rank-line span{display:block;margin-top:5px}}
