@font-face{font-family:OneClick Arabic;src:url(ibm-plex-arabic-400.ttf) format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:OneClick Arabic;src:url(ibm-plex-arabic-500.ttf) format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:OneClick Arabic;src:url(ibm-plex-arabic-600.ttf) format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:OneClick Arabic;src:url(ibm-plex-arabic-700.ttf) format('truetype');font-style:normal;font-weight:700;font-display:swap}
body.room-ui{--room-ink:#182e4a;--room-muted:#657991;--room-line:#e1e8f1;--room-bg:#f3f5f9;--room-accent:#ee9a32;display:grid;grid-template-columns:178px minmax(0,1fr);align-items:start;background:var(--room-bg);color:var(--room-ink);font-family:OneClick Arabic,Tahoma,Arial,sans-serif;min-height:100vh}
.room-ui h1,.room-ui h2,.room-ui h3,.room-ui input,.room-ui button,.room-ui select{font-family:inherit}
.room-ui button:focus-visible,.room-ui a:focus-visible,.room-ui input:focus-visible,.room-ui summary:focus-visible{outline:3px solid #ed9a32;outline-offset:3px}
.room-ui .room-sidebar{position:sticky;top:0;height:100vh;min-height:620px;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:28px 15px 20px;background:linear-gradient(155deg,#192e49,#11223b);border:0;color:#c2cee0;grid-column:1;z-index:25}
.room-brand{display:flex;gap:9px;align-items:center;padding:0 4px 31px}
.room-mark{display:grid;place-items:center;width:35px;height:39px;flex:none;border:1px solid #e4a34c80;border-radius:12px;background:linear-gradient(140deg,#e8a03e30,#e8a03e08);color:#ffc77e;font:700 24px Arial}
.room-brand b{font:700 13px Arial;letter-spacing:1px;color:#fff;display:block}.room-brand small{font:9px Arial;letter-spacing:2px;color:#b7a38a;display:block;margin-top:5px;direction:ltr;text-align:right}
.room-nav-label{font-size:10px;color:#8498b4;padding:0 11px;margin:0 0 12px}
.room-ui .room-sidebar nav{display:grid;gap:7px;margin:0;direction:rtl}
.room-ui .room-sidebar nav a{display:flex;align-items:center;gap:9px;width:100%;padding:12px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#aebfd5;font-size:11px;font-weight:500;min-height:44px}
.room-ui .room-sidebar nav a>span{width:19px;text-align:center;font:20px Arial}
.room-ui .room-sidebar nav a.active{background:linear-gradient(100deg,#ed9b291c,#ed9b2910);border-color:#efa54045;color:#ffd18d;box-shadow:inset -3px 0 #eea33f}
.room-ui .room-sidebar nav a:hover{background-color:#ffffff08}
.room-side-bottom{margin-top:auto;border-top:1px solid #ffffff15;padding-top:17px;font-size:10px;color:#8fa3bf}
.room-ui .room-side-bottom .b{background:#ffffff09;color:#ced9e8;border:1px solid #ffffff20;width:100%;margin-top:13px;font-size:11px;min-height:38px}
.room-ui>main{grid-column:2;width:100%;max-width:1600px;margin:0 auto;padding:26px 25px 34px;min-width:0}
.room-ui .room-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px}
.room-ui .room-title h1{font-size:25px;font-weight:600;direction:rtl;margin:0;color:var(--room-ink)}
.room-crumb{font-size:11px;color:var(--room-muted);margin:0 0 5px!important}
.room-workspace{border:1px solid var(--room-line);border-radius:7px;padding:5px 9px;background:#fff;color:var(--room-muted);font-size:10px}
.room-hero{background:radial-gradient(ellipse at 0 0,#eea33125,transparent 65%),linear-gradient(110deg,#192c46,#122a46);border:1px solid #274363;border-radius:17px;padding:24px 25px 20px;color:#fff;margin-bottom:22px;position:relative;overflow:hidden}
.room-hero:after{content:'';position:absolute;width:180px;height:180px;left:-65px;top:-65px;border-radius:50%;border:1px solid #d8a45428;box-shadow:0 0 0 25px #e8a54c06,0 0 0 50px #e8a54c04;pointer-events:none}
.room-hero-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;position:relative;z-index:1}
.room-hero-heading>div>small{font:500 10px Arial;letter-spacing:2px;color:#edb970;display:block;text-align:right;margin-bottom:10px}
.room-ui .room-hero h2{font-size:19px;font-weight:500;color:#fff;margin:0 0 5px}
.room-ui .room-hero p{font-size:11px;color:#b7c6da;margin:0}
.room-hero-symbol{width:44px;height:46px;border:1px solid #f1b96640;background:#efb0590b;display:grid;place-items:center;border-radius:15px;font:25px Arial;color:#f5be76;flex:none}
.room-metrics{display:flex;margin-top:21px;padding-top:17px;border-top:1px solid #ffffff16;gap:0}
.room-metrics>div{flex:1;display:flex;align-items:center;gap:10px;min-width:0;color:#b4c5db;font-size:11px}
.room-metrics>div+div{border-right:1px solid #ffffff17;padding-right:17px}
.room-metrics b{font:500 26px Arial;color:#fff;font-variant-numeric:tabular-nums}.room-metrics>div:nth-child(2) b{color:#ffc57f}
.room-metrics small{display:block;font-size:9px;color:#8fa6c2;margin-top:3px}
.room-ui .toptools{margin:0 0 16px;gap:10px}.room-ui .toptools .search{width:260px;max-width:100%;min-width:0;font-size:12px;border:1px solid var(--room-line);border-radius:9px;padding:10px 13px;background:#fff;color:var(--room-ink)}
.room-ui .count{background:#e9eef6;color:#576e8b;border:1px solid #dfe6f0;padding:6px 10px;border-radius:7px;font-size:10px;font-weight:500}
.room-ui .manager{padding:0;border:1px solid var(--room-line);border-radius:16px;box-shadow:0 2px 8px #142f4903;overflow:clip;background:#fff}
.room-ui .manager .panelhead{padding:18px 18px 13px}.room-ui .manager .panelhead h2{font-size:15px;font-weight:600;color:var(--room-ink)}
.room-tabs{display:flex;gap:22px;padding:0 18px;border-bottom:1px solid var(--room-line);flex-wrap:wrap}
.room-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--room-muted);font-size:11px;padding:0 0 12px;min-height:36px;cursor:pointer}
.room-tabs button[aria-pressed=true]{border-color:var(--room-accent);color:var(--room-ink);font-weight:600}
.room-ui .manager .tablewrap{overflow:visible}
.room-ui #robotsTable{min-width:0;width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:11px}
.room-ui #robotsTable thead,.room-ui #robotsTable tbody{display:block}
.room-ui #robotsTable thead>tr,.room-ui #robotsTable tr.robot{display:grid;grid-template-columns:29px minmax(110px,1.3fr) minmax(70px,.9fr) minmax(52px,.6fr) minmax(110px,1.35fr) 46px 52px 49px;gap:8px;align-items:center;padding:14px 15px;border-bottom:1px solid var(--room-line)}
.room-ui #robotsTable thead>tr{padding-top:11px;padding-bottom:11px;background:#f7f9fc;color:var(--room-muted)}
.room-ui #robotsTable th,.room-ui #robotsTable tr.robot>td{border:0!important;background:transparent!important;padding:0;min-width:0;max-width:100%;text-align:center;font-size:10px;color:var(--room-ink)!important}
.room-ui #robotsTable tr.robot:hover{background:#fafbfd}.room-ui #robotsTable tr.robot:hover>td{background:transparent!important}
.room-ui #robotsTable th:nth-child(2),.room-ui #robotsTable tr.robot>td:nth-child(2){text-align:right}
.room-ui #robotsTable thead>tr>th:nth-child(6),.room-ui #robotsTable thead>tr>th:nth-child(7),.room-ui #robotsTable thead>tr>th:nth-child(8),.room-ui #robotsTable tr.robot>td:nth-child(6),.room-ui #robotsTable tr.robot>td:nth-child(7),.room-ui #robotsTable tr.robot>td:nth-child(8){display:none}
.room-ui #robotsTable .badge{min-width:0;max-width:100%;white-space:normal;line-height:1.7;padding:4px 7px;border:0;border-radius:6px;font-size:10px;font-weight:500}
.room-ui #robotsTable .badge.good{background:#edf8f2;color:#197252}.room-ui #robotsTable .badge.warn{background:#fff5e4;color:#935e19}.room-ui #robotsTable .badge.bad{background:#fff0f3;color:#b24758}
.room-ui #robotsTable .adapter{display:none}.room-ui #robotsTable .number,.room-ui #robotsTable .zero,.room-ui #robotsTable .reviewLink{font:500 14px Arial;color:var(--room-ink)}
.room-ui #robotsTable .reviewLink{background:#fff5e4;color:#935e19;border:0;border-radius:6px;padding:5px 8px}
.room-ui #robotsTable .circle{width:25px;height:28px;line-height:22px;border:1px solid #dfe6ef;background:#f7f9fc;color:#647b97;border-radius:7px;font:400 17px Arial;cursor:pointer}
.room-identity{display:flex;align-items:center;gap:8px;max-width:100%;border:0;padding:0;background:transparent;color:inherit;text-align:right;cursor:pointer}
.room-avatar{display:grid;place-items:center;width:33px;height:37px;flex:none;border-radius:10px;border:1px solid var(--room-line);background:#f7f9fc;color:var(--room-ink);font:600 15px Arial}
.room-ui .robotName{min-width:0}.room-ui .robotName b{font-size:12px;font-weight:600;color:var(--room-ink)}.room-ui .robotName small{color:var(--room-muted);font-size:9px;margin-top:3px;opacity:1}
.room-ui #robotsTable .detail{background:#f4f7fb}.room-ui #robotsTable .detail.show{display:block;border-bottom:1px solid var(--room-line)}
.room-ui #robotsTable .detail>td{display:block;width:100%;border:0;padding:19px;text-align:right}
.room-ui .detailGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.room-ui .detailCard{padding:12px;border:1px solid #e4eaf3;border-radius:10px;background:#fff;min-width:0}
.room-ui .detailCard label{font-size:10px;color:var(--room-muted)}.room-ui .detailCard strong{font-size:12px;font-weight:500;word-break:break-word}.room-ui .detailCard small{font-size:9px;color:var(--room-muted);word-break:break-word}
.room-ui .actionrow{gap:8px;align-items:flex-start}.room-ui .b{border-radius:8px;border:1px solid transparent;font-size:11px;font-weight:500;padding:9px 13px;min-height:37px}
.room-ui .actionrow>.b,.room-ui .actionrow>form>.b,.room-ui .settingsbox>summary.b{min-height:37px}
.room-ui .green{background:#ee9a32;color:#172840}.room-ui .red{background:#fff;color:#b24758;border-color:#e9c4cc}.room-ui .gray{background:#eaf0f6;color:#526b89}.room-ui .blue,.room-ui .reviewBtn{background:#1a3555;color:#fff}.room-ui .orange{background:#fff2df;color:#935e19}.room-ui .ghost{background:#f0f4f9;color:#536b89;border-color:#e1e8f1}
.room-ui .settingsbox{max-width:100%;width:auto}.room-ui .settingsinner{width:min(680px,100%);max-width:100%;border:1px solid #dde6f1;border-radius:12px;padding:18px;background:#fff}
.room-ui .settingsinner h3{font-size:15px;font-weight:600}.room-ui .settingsinner p{font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.room-ui .settingsinner input,.room-ui .settingsinner select{min-width:0;max-width:100%;border:1px solid #d6e0ec;border-radius:8px;color:#203956;font-size:12px;flex:1 1 160px}
.room-ui .settingsinner button{flex:none}.room-ui .settingsinner .settings{align-items:flex-start}.room-ui .robotmeta{font-size:11px;gap:13px;border-color:#e0e7f0;color:#677c94}.room-ui .robotmeta b{font-weight:500;color:#334d6b}
.room-ui .safetybox{font-size:11px;border-radius:9px;line-height:1.9}.room-ui .flash{border-radius:10px;font-size:12px;line-height:1.9}
.room-ui .flash.ok{background:#ecf8f1;color:#197252;border:1px solid #d2ebdd}.room-ui .flash.bad{background:#fff1f3;color:#ac4253;border:1px solid #f0d5db}
.room-ui #d-habi table{min-width:0;max-width:100%;table-layout:fixed;font-size:10px}.room-ui #d-habi th,.room-ui #d-habi td{overflow-wrap:anywhere;padding:8px 5px;border-color:#e0e7ef}
.room-ui #d-habi input{min-width:0;max-width:100%;font-size:12px}.room-ui #d-habi .settings{align-items:center}.room-ui #d-habi .settings input{flex:1 1 130px}
@media(min-width:1400px){.room-ui #robotsTable thead>tr,.room-ui #robotsTable tr.robot{grid-template-columns:32px minmax(145px,1.3fr) minmax(85px,.9fr) minmax(65px,.6fr) minmax(155px,1.35fr) 65px 70px 65px;padding:18px 22px}.room-ui #robotsTable .badge{font-size:11px}.room-ui .robotName b{font-size:14px}.room-ui .robotName small{font-size:10px}.room-ui #robotsTable th{font-size:11px}}
@media(max-width:900px){body.room-ui{grid-template-columns:1fr;grid-template-rows:auto 1fr}.room-ui .room-sidebar{position:static;height:auto;min-height:0;grid-column:1;padding:15px 20px;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.room-brand{padding:0}.room-nav-label,.room-side-bottom{display:none}.room-ui .room-sidebar nav{display:flex;gap:5px;flex-wrap:wrap}.room-ui .room-sidebar nav a{width:auto;padding:9px;font-size:10px;gap:6px}.room-ui>main{grid-column:1;padding:22px}.room-ui #robotsTable thead>tr,.room-ui #robotsTable tr.robot{grid-template-columns:29px minmax(110px,1.3fr) minmax(70px,.9fr) minmax(52px,.6fr) minmax(110px,1.35fr) 46px 52px 49px}}
@media(max-width:740px){.room-ui #robotsTable thead{display:none}.room-ui #robotsTable tr.robot{grid-template-columns:29px minmax(0,1fr) auto;gap:13px;padding:18px 15px}.room-ui #robotsTable tr.robot>td:first-child{grid-column:1;grid-row:1}.room-ui #robotsTable tr.robot>td:nth-child(2){grid-column:2;grid-row:1}.room-ui #robotsTable tr.robot>td:nth-child(3){grid-column:3;grid-row:1;max-width:100px;justify-self:end}.room-ui #robotsTable tr.robot>td:nth-child(4){grid-column:2;grid-row:2;text-align:right}.room-ui #robotsTable tr.robot>td:nth-child(5){grid-column:2/4;grid-row:3;text-align:right}.room-ui #robotsTable tr.robot>td:nth-child(9){grid-column:2;grid-row:4;text-align:right}.room-ui #robotsTable tr.robot>td:nth-child(10){grid-column:3;grid-row:4;text-align:left}.room-ui #robotsTable tr.robot>td:nth-child(11){grid-column:3;grid-row:2;text-align:left}.room-ui #robotsTable tr.robot>td:nth-child(4):before,.room-ui #robotsTable tr.robot>td:nth-child(5):before,.room-ui #robotsTable tr.robot>td:nth-child(9):before,.room-ui #robotsTable tr.robot>td:nth-child(10):before,.room-ui #robotsTable tr.robot>td:nth-child(11):before{content:attr(data-label);font:400 10px OneClick Arabic,sans-serif;color:var(--room-muted);margin-inline-end:6px}.room-ui #robotsTable tr.robot>td:nth-child(4) .badge,.room-ui #robotsTable tr.robot>td:nth-child(5) .badge{font-size:10px}.room-ui #robotsTable .detail>td{padding:16px 12px}.room-ui .detailGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.room-ui #robotsTable .settingsinner{width:100%}.room-ui .settingsbox[open]{width:100%;flex-basis:100%}.room-ui .toptools .search{width:100%;flex:1}.room-ui .toptools .count{white-space:nowrap}.room-ui .room-hero{padding:21px 18px}.room-ui .room-hero h2{font-size:17px}.room-metrics>div{flex-direction:column;align-items:flex-start;gap:7px;font-size:10px}.room-metrics>div+div{padding-right:12px}.room-metrics small{font-size:9px}.room-metrics b{font-size:24px}.room-ui input,.room-ui .settingsinner input,.room-ui #d-habi input{font-size:16px}.room-ui #d-habi table{font-size:9px}}
@media(max-width:530px){.room-ui>main{padding:20px 13px 28px}.room-ui .room-sidebar{padding:18px 12px 8px;gap:16px}.room-brand{width:100%;justify-content:center}.room-brand small{text-align:left}.room-ui .room-sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:2px}.room-ui .room-sidebar nav a{flex-direction:column;gap:5px;justify-content:center;text-align:center;padding:9px 3px;font-size:9px}.room-ui .room-sidebar nav a.active{box-shadow:inset 0 -2px #eea33f}.room-ui .room-title h1{font-size:23px}.room-ui .room-title{align-items:flex-start}.room-workspace{font-size:9px}.room-ui .room-hero-heading{gap:10px}.room-hero-symbol{width:35px;height:38px;font-size:20px;border-radius:12px}.room-ui .room-hero h2{font-size:16px}.room-ui .room-hero p{font-size:10px}.room-ui .room-hero-heading>div>small{font-size:9px}.room-ui .toptools{flex-wrap:wrap}.room-ui .toptools .search{flex-basis:100%;font-size:16px}.room-ui .toptools .count{margin-right:auto;font-size:9px}.room-tabs{gap:18px;padding:0 14px}.room-tabs button{font-size:10px}.room-ui .manager .panelhead{padding:16px 14px 11px}.room-ui .manager .panelhead h2{font-size:14px}.room-ui #robotsTable tr.robot{padding:17px 11px;gap:11px}.room-ui .robotName b{font-size:12px}.room-ui .robotName small{font-size:9px}.room-ui .b{padding:9px 11px;white-space:normal}.room-ui .settingsinner{padding:13px}.room-ui .settingsinner input,.room-ui .settingsinner select{flex-basis:100%;width:100%}.room-ui #d-habi th,.room-ui #d-habi td{padding:6px 3px}}
@media(pointer:coarse){.room-ui .b,.room-tabs button{min-height:44px}.room-ui #robotsTable .circle{width:29px;height:36px}.room-identity{min-height:44px}}
@media(prefers-reduced-motion:reduce){.room-ui *{transition:none!important}}

/* Room layout refinement: readable at full desktop size, bounded working width. */
body.room-ui{grid-template-columns:190px minmax(0,1fr);font-size:14px}
.room-ui>main{max-width:1320px;padding:30px 30px 40px}
.room-ui .room-title{margin-bottom:22px}.room-ui .room-title h1{font-size:29px}.room-crumb{font-size:12px}.room-workspace{font-size:11px;padding:7px 11px}
.room-ui .room-sidebar{padding:30px 17px 22px}.room-brand b{font-size:15px}.room-brand small{font-size:10px}.room-nav-label{font-size:11px;margin-bottom:15px}
.room-ui .room-sidebar nav a{font-size:13px;padding:13px 11px;gap:10px;min-height:49px}.room-side-bottom{font-size:11px}.room-ui .room-side-bottom .b{font-size:12px;min-height:41px}
.room-ui .room-hero{display:grid;grid-template-columns:minmax(250px,1.05fr) minmax(0,1.7fr);align-items:center;gap:25px;padding:25px 28px;border-radius:19px;margin-bottom:24px}
.room-ui .room-hero-heading{display:block}.room-ui .room-hero-heading>div>small{font-size:11px;letter-spacing:1.7px;margin-bottom:10px}.room-ui .room-hero h2{font-size:21px;line-height:1.7;font-weight:500}.room-ui .room-hero p{font-size:12px;line-height:1.8}.room-hero-symbol{display:none}
.room-metrics{margin:0;padding:0;border:0;gap:0}.room-metrics>div{flex-direction:column;align-items:center;text-align:center;gap:7px;font-size:12px}.room-metrics>div+div{padding-right:0;border-right:1px solid #ffffff20}.room-metrics b{font-size:33px;font-weight:500}.room-metrics small{font-size:10px;line-height:1.8;margin-top:4px;color:#a1b5ce}
.room-ui .manager{border-radius:18px;box-shadow:0 4px 20px #16305004}.room-ui .manager .panelhead{padding:21px 21px 18px}.room-ui .manager .panelhead h2{font-size:18px;font-weight:600}
.room-ui .panelhead .toptools{margin:0;display:flex;align-items:center;gap:12px;flex-direction:row-reverse}.room-ui .panelhead .toptools .search{width:232px;font-size:13px;padding:10px 13px;background:#f8fafc;border-radius:10px}.room-ui .count{font-size:11px;padding:6px 9px;white-space:nowrap}
.room-tabs{gap:27px;padding:0 21px}.room-tabs button{font-size:13px;padding-bottom:14px;min-height:40px}
.room-ui #robotsTable thead>tr,.room-ui #robotsTable tr.robot{grid-template-columns:minmax(145px,1.3fr) minmax(78px,.75fr) minmax(65px,.65fr) minmax(130px,1.2fr) 54px 64px 54px 144px;gap:12px;padding:19px 20px;min-height:84px}
.room-ui #robotsTable thead>tr{min-height:48px;padding-top:12px;padding-bottom:12px;background:#f8fafc}
.room-ui #robotsTable th,.room-ui #robotsTable tr.robot>td{font-size:12px}
.room-ui #robotsTable th:first-child,.room-ui #robotsTable tr.robot>td:first-child{display:none}
.room-ui #robotsTable th:nth-child(2),.room-ui #robotsTable tr.robot>td:nth-child(2){text-align:right}
.room-ui #robotsTable .badge{font-size:12px;padding:5px 8px;border-radius:7px;font-weight:500}
.room-ui .robotName b{font-size:15px;font-weight:600}.room-ui .robotName small{font-size:11px;margin-top:4px}.room-identity{gap:10px;min-height:42px}.room-avatar{width:39px;height:43px;border-radius:12px;font-size:18px}
.room-ui #robotsTable .number,.room-ui #robotsTable .zero,.room-ui #robotsTable .reviewLink{font-size:16px;font-weight:500}
.room-ui #robotsTable .room-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.room-quick-toggle,.room-quick-details,.room-quick-orders{display:inline-flex;align-items:center;justify-content:center;font:500 12px OneClick Arabic,Tahoma,Arial,sans-serif;min-height:37px;padding:7px 10px;border:1px solid #dce5f0;border-radius:8px;background:#fff;color:#526b88;text-decoration:none;white-space:nowrap;cursor:pointer}
.room-quick-toggle{background:#ee9a32;color:#172840;border-color:transparent;font-weight:600}.room-quick-toggle.is-stop{background:#fff;color:#b24758;border-color:#ebcbd2}.room-quick-orders{background:#f2f6fb;border-color:transparent;color:#657a96}.room-quick-toggle:disabled{opacity:.45;cursor:default}
.room-quick-toggle:not(:disabled):hover{filter:brightness(.97)}.room-quick-details:hover,.room-quick-orders:hover{background:#eaf0f8}
.room-ui .detailGrid{gap:12px}.room-ui .detailCard{padding:15px;border-radius:12px}.room-ui .detailCard label{font-size:12px;margin-bottom:7px}.room-ui .detailCard strong{font-size:14px}.room-ui .detailCard small{font-size:11px}.room-ui .b{font-size:13px;min-height:40px;padding:10px 14px}.room-ui .settingsinner h3{font-size:17px}.room-ui .settingsinner p{font-size:13px}.room-ui .settingsinner input,.room-ui .settingsinner select{font-size:14px}.room-ui .robotmeta{font-size:12px;line-height:1.8}.room-ui .safetybox{font-size:12px}
@media(max-width:1200px){body.room-ui{grid-template-columns:1fr;grid-template-rows:auto 1fr}.room-ui .room-sidebar{position:static;min-height:0;height:auto;grid-column:1;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 24px}.room-brand{padding:0}.room-nav-label,.room-side-bottom{display:none}.room-ui .room-sidebar nav{display:flex;gap:7px;flex-wrap:wrap}.room-ui .room-sidebar nav a{width:auto;min-height:42px;font-size:12px;padding:10px}.room-ui>main{grid-column:1;padding:26px 24px}.room-ui .room-hero{grid-template-columns:minmax(230px,1.05fr) minmax(0,1.7fr);padding:23px 24px;gap:20px}}
@media(max-width:1000px){.room-ui .room-hero{grid-template-columns:1fr;gap:20px;padding:23px}.room-ui .room-hero h2{font-size:21px}.room-metrics{padding-top:18px;border-top:1px solid #ffffff20}.room-metrics>div{font-size:12px}.room-metrics b{font-size:31px}.room-ui #robotsTable thead{display:none}.room-ui #robotsTable tr.robot{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px;padding:20px;min-height:0}.room-ui #robotsTable tr.robot>td:first-child{display:none}.room-ui #robotsTable tr.robot>td:nth-child(2){grid-column:1/3;grid-row:1;text-align:right}.room-ui #robotsTable tr.robot>td:nth-child(3){grid-column:3;grid-row:1;justify-self:end;max-width:100%;text-align:left}.room-ui #robotsTable tr.robot>td:nth-child(4){grid-column:1;grid-row:2;text-align:right}.room-ui #robotsTable tr.robot>td:nth-child(5){grid-column:2/4;grid-row:2;text-align:left}.room-ui #robotsTable tr.robot>td:nth-child(9){grid-column:1;grid-row:3;text-align:center}.room-ui #robotsTable tr.robot>td:nth-child(10){grid-column:2;grid-row:3;text-align:center}.room-ui #robotsTable tr.robot>td:nth-child(11){grid-column:3;grid-row:3;text-align:center}.room-ui #robotsTable tr.robot>td:nth-child(12){grid-column:1/-1;grid-row:4;justify-content:flex-end;padding-top:13px;border-top:1px solid #edf1f6!important}.room-ui #robotsTable tr.robot>td:nth-child(4):before,.room-ui #robotsTable tr.robot>td:nth-child(5):before{content:attr(data-label);font:400 11px OneClick Arabic,sans-serif;color:#657991;margin-inline-end:6px}.room-ui #robotsTable tr.robot>td:nth-child(9):before,.room-ui #robotsTable tr.robot>td:nth-child(10):before,.room-ui #robotsTable tr.robot>td:nth-child(11):before{content:attr(data-label);display:block;font:400 11px OneClick Arabic,sans-serif;color:#657991;margin:0 0 6px}.room-ui #robotsTable .badge{font-size:12px}.room-ui .detailGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.room-ui .settingsbox[open]{width:100%;flex-basis:100%}.room-ui .settingsinner{width:100%;max-width:100%}}
@media(max-width:700px){.room-ui>main{padding:21px 16px 30px}.room-ui .room-title{margin-bottom:18px}.room-ui .room-title h1{font-size:26px}.room-ui .room-hero{padding:22px 19px;border-radius:16px}.room-ui .room-hero h2{font-size:20px}.room-ui .room-hero p{font-size:12px}.room-metrics b{font-size:29px}.room-metrics>div{font-size:11px}.room-metrics small{font-size:10px}.room-ui .manager .panelhead{padding:18px 16px 15px;flex-wrap:wrap}.room-ui .manager .panelhead h2{font-size:17px}.room-ui .panelhead .toptools{width:100%;gap:9px}.room-ui .panelhead .toptools .search{flex:1;width:100%;font-size:16px;min-height:44px}.room-ui .count{font-size:10px}.room-tabs{gap:23px;padding:0 16px}.room-tabs button{font-size:12px}.room-ui #robotsTable tr.robot{padding:20px 16px;gap:16px 9px}.room-ui .robotName b{font-size:15px}.room-ui .robotName small{font-size:11px}.room-avatar{width:37px;height:41px;font-size:17px}.room-ui #robotsTable .room-controls{gap:8px}.room-quick-toggle,.room-quick-details,.room-quick-orders{font-size:13px;min-height:40px;padding:8px 13px}.room-ui .detailCard{padding:12px}.room-ui .detailCard strong{font-size:13px}.room-ui .settingsinner input,.room-ui .settingsinner select,.room-ui #d-habi input{font-size:16px}.room-ui .room-sidebar{padding:18px 15px 10px;gap:17px}.room-brand{width:100%;justify-content:center}.room-brand small{text-align:left}.room-ui .room-sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:3px}.room-ui .room-sidebar nav a{flex-direction:column;justify-content:center;gap:6px;text-align:center;padding:10px 4px;font-size:11px}.room-ui .room-sidebar nav a.active{box-shadow:inset 0 -2px #eea33f}.room-ui .room-sidebar nav a>span{font-size:21px}.room-ui .room-workspace{font-size:10px;padding:5px 7px}}
@media(max-width:370px){.room-ui>main{padding:19px 12px 28px}.room-tabs{gap:17px;padding:0 13px}.room-tabs button{font-size:11px}.room-ui #robotsTable tr.robot{padding:18px 13px}.room-identity{gap:8px}.room-ui .robotName b{font-size:14px}.room-ui #robotsTable .badge{font-size:11px;padding:4px 6px}.room-quick-toggle,.room-quick-details,.room-quick-orders{padding:8px 11px;font-size:12px}.room-ui .count{font-size:9px;padding:6px}.room-metrics>div{font-size:10px}.room-metrics small{font-size:9px}.room-ui .room-hero h2{font-size:18px}}
@media(pointer:coarse){.room-quick-toggle,.room-quick-details,.room-quick-orders{min-height:44px}}

.room-quick-details{background:#1b3656;border-color:#1b3656;color:#fff;font-weight:500}.room-quick-details:hover{background:#234569}

/* Start the robots workspace directly with the agency list. */
.room-ui .room-title,.room-ui .room-hero{display:none}

/* Action notices float independently of the list, like the live order notices. */
.room-ui>main>.flash{display:none}
.room-action-toast{position:fixed;bottom:24px;left:18px;z-index:10000;max-width:min(440px,calc(100vw - 36px));padding:14px 18px;border-radius:8px;background:#168a57;color:#fff;box-shadow:0 4px 16px #0003;direction:rtl;pointer-events:none;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.room-action-toast.is-error{background:#b83240}
.room-action-toast[hidden]{display:none}

/* Each robot and its expanded controls form one clearly bounded card. */
.room-ui #robotsTable tbody{padding:12px;background:#f3f5f9}
.room-ui #robotsTable thead>tr{margin-inline:12px}
.room-ui #robotsTable tbody>tr.robot{background:#fff;border:1px solid #d3ddea;border-radius:13px;margin-bottom:12px;box-shadow:0 2px 5px #182e4a05}
.room-ui #robotsTable tbody>tr.robot:hover{background:#fcfdff;border-color:#b7c8dd}
.room-ui #robotsTable tbody>tr.robot:has(+tr.detail.show){border-bottom:0;border-radius:13px 13px 0 0;margin-bottom:0;box-shadow:none}
.room-ui #robotsTable tbody>tr.detail.show{background:#f8fafc;border:1px solid #d3ddea;border-top:1px solid #e6edf5;border-radius:0 0 13px 13px;margin-bottom:12px}
@media(max-width:700px){.room-ui #robotsTable tbody{padding:10px}.room-ui #robotsTable tbody>tr.robot{margin-bottom:10px}.room-ui #robotsTable tbody>tr.robot:has(+tr.detail.show){margin-bottom:0}.room-ui #robotsTable tbody>tr.detail.show{margin-bottom:10px}}

/* Keep phone navigation and robot summaries compact with full touch targets. */
@media(max-width:700px){
 .room-ui .room-sidebar{padding:10px 12px;gap:10px}
 .room-brand{gap:8px}.room-mark{width:30px;height:33px;border-radius:9px;font-size:22px}
 .room-brand b{font-size:13px}.room-brand small{font-size:8px;margin-top:3px}
 .room-ui .room-sidebar nav{gap:3px}
 .room-ui .room-sidebar nav a{flex-direction:row;gap:4px;padding:6px 3px;font-size:10px;min-height:44px;line-height:1.5;border-radius:8px}
 .room-ui .room-sidebar nav a>span{font-size:17px;width:17px;flex:none}
 .room-ui>main{padding:14px 12px 24px}
 .room-ui .manager{border-radius:14px}
 .room-ui .manager .panelhead{padding:13px 14px 10px;gap:9px}
 .room-ui .manager .panelhead h2{font-size:16px}
 .room-ui .panelhead .toptools{gap:8px}
 .room-ui .panelhead .toptools .search{padding:8px 11px}
 .room-tabs{gap:19px;padding:0 14px}
 .room-tabs button{padding-bottom:9px;min-height:44px}
 .room-ui #robotsTable tr.robot{padding:13px 14px;gap:9px 8px}
 .room-avatar{width:33px;height:36px;font-size:16px;border-radius:10px}
 .room-identity{gap:8px;min-height:44px}
 .room-ui .robotName b{font-size:14px}.room-ui .robotName small{font-size:10px;margin-top:2px}
 .room-ui #robotsTable .badge{font-size:11px;padding:4px 7px}
 .room-ui #robotsTable tr.robot>td:nth-child(9):before,.room-ui #robotsTable tr.robot>td:nth-child(10):before,.room-ui #robotsTable tr.robot>td:nth-child(11):before{font-size:10px;margin-bottom:2px}
 .room-ui #robotsTable .number,.room-ui #robotsTable .zero,.room-ui #robotsTable .reviewLink{font-size:15px}
 .room-ui #robotsTable tr.robot>td:nth-child(12){padding-top:8px}
 .room-quick-details,.room-quick-orders{font-size:12px;min-height:44px;padding:7px 12px}
}
