@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&family=Inter:wght@400;600;700;800&display=swap");:root{--ink:#13293a;--muted:#758797;--line:#e6edf1;--bg:#f5f8f9;--mint:#10b796;--mint-dark:#078a76;--navy:#062531;--white:#fff;--radius:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tajawal,sans-serif;font-size:15px}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:not-allowed}input,select,textarea{outline:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #61cfb9;outline-offset:3px}.shell,.sidebar{min-height:100vh;display:flex}.sidebar{background:var(--navy);width:246px;color:#f3ffff;flex-shrink:0;padding:30px 19px;position:-webkit-sticky;position:sticky;top:0;height:100vh;flex-direction:column}.brand{font:800 34px/1 Inter,sans-serif;letter-spacing:-2.4px;display:flex;align-items:center;gap:10px;direction:ltr;justify-content:flex-end}.brand-symbol{background:#15444c;border:1px solid #28656a;border-radius:11px;color:#6bf2d3;padding:3px 10px;font-size:24px;letter-spacing:0}.brand-dot,.logo span{color:#45d5b5}.sidebar-caption{font:600 9px Inter,sans-serif;color:#769ba0;letter-spacing:1.4px;margin-top:12px;margin-bottom:45px;direction:ltr;text-align:right}.side-section{color:#77969f;font-size:12px;margin:0 12px 12px}.nav-item{padding:15px 14px;color:#c4d9dd;border-radius:11px;display:flex;align-items:center;gap:13px;margin-bottom:5px;font-weight:600}.nav-item.active,.nav-item:hover{background:#17474e;color:#fff}.nav-icon{font-size:18px;width:23px;text-align:center;color:#78d2c4}.sidebar-bottom{margin-top:auto;padding-top:25px;border-top:1px solid #22505a}.side-profile{display:flex;gap:12px;align-items:center}.avatar{height:38px;width:38px;background:#286773;color:#fff;display:grid;place-items:center;border-radius:12px;font-weight:800;font-family:Inter}.side-profile strong{font:700 12px Inter;display:block}.side-profile small{color:#94b4bb;display:block;margin-top:4px;font-size:11px}.logout-btn{border:0;background:transparent;width:100%;color:#c2d9dc;display:flex;justify-content:space-between;padding:18px 3px 4px;font-size:13px}.main{min-width:0;flex:1 1}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 44px}.breadcrumb{font-size:13px;color:#667f8b}.breadcrumb span{color:#b7c4cb;margin:0 9px}.topbar-right{display:flex;align-items:center;gap:9px;color:#687f88;font-size:12px}.live-dot{height:8px;width:8px;border-radius:50%;background:#0cbf90;box-shadow:0 0 0 4px #def9ef}.top-divider{width:1px;height:16px;background:#e0e8e9;margin:0 8px}.count-pill,.version-pill{border:1px solid var(--line);background:#f7fafb;border-radius:24px;padding:6px 12px;color:#546976;font:600 10px Inter}.content-wrap{max-width:1440px;margin:auto;padding:40px 44px 30px}.welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:15px}.welcome h1{font-size:31px;margin:7px 0 8px;font-weight:800}.muted{color:var(--muted);line-height:1.6;margin:0}.eyebrow{color:#7a95a0;font:700 10px Inter;letter-spacing:1.7px;margin:0;direction:ltr;text-align:right}.color-mint,.text-mint{color:var(--mint-dark)}.outlined-btn{background:#fff;border:1px solid #dbe8e8;border-radius:10px;padding:14px 18px;color:#174d54;font-weight:700;white-space:nowrap}.outlined-btn span{margin-right:15px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:18px;gap:18px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:21px 24px;box-shadow:0 4px 18px #14354407}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#778a93;font-size:13px}.stat-icon{height:38px;width:38px;display:grid;place-items:center;border-radius:11px;font-size:22px}.stat-icon.teal{background:#e4f8f2;color:#09a589}.stat-icon.blue{background:#e7f0ff;color:#4e8ce1}.stat-icon.amber{background:#fff4db;color:#e3a431}.stat-icon.purple{background:#f1e9fb;color:#a277da}.stat-card>strong{font:800 33px Inter;display:block;margin:4px 0}.stat-card>small{color:#8a9ca3;font-size:12px}.section{margin-top:43px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.panel h2,.section h2{font-size:21px;margin:7px 0 4px}.section .muted{font-size:13px}.client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px}.client-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-height:260px;box-shadow:0 4px 18px #14354405}.client-card-top{display:flex;align-items:center;justify-content:space-between}.client-avatar{width:49px;height:49px;display:grid;place-items:center;font:800 22px Inter;border-radius:13px;color:#e5fff4;background:#007d68}.avatar-1{background:#5c7cbd}.avatar-2{background:#945ca3}.avatar-3{background:#af7c47}.status{display:inline-flex;align-items:center;gap:7px;border-radius:30px;padding:7px 10px;font-size:11px;font-weight:700}.status.connected{color:#008768;background:#e5f9f1}.status.disconnected{color:#9e7b30;background:#fff4e0}.tiny-dot{height:7px;width:7px;border-radius:50%;background:currentColor}.client-card h3{font:800 19px Inter;margin:17px 0 5px}.client-line,.small{font-size:12px}.client-line{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:18px;padding:14px 0;color:#7f919a}.client-line strong{font:700 15px Inter;color:#28434a}.connect-btn{border:0;color:white;background:#1b74e4;border-radius:9px;padding:11px 14px;width:100%;display:flex;justify-content:center;align-items:center;gap:9px;font-weight:700}.connect-btn span{font:800 18px Arial}.card-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#087b83}.card-actions a:hover{text-decoration:underline}.card-actions button{background:none;border:0;padding:0;font-size:12px}.text-danger{color:#ca5762}.add-client{border:1px dashed #a8cad1;background:#fbffff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.add-icon{height:44px;width:44px;background:#e8f7f4;color:#119c85;display:grid;place-items:center;border-radius:50%;font-size:26px}.add-client h3{font:800 16px Tajawal;margin:10px 0 5px}.add-form{display:flex;gap:6px;margin-top:17px;width:100%}.add-form input{width:60%;min-width:0}.add-form button{flex:1 1;border:0;color:white;background:#0d8975;border-radius:8px;font-weight:700;font-size:12px;padding:8px}.add-form input,.stack-form input,.stack-form select,.stack-form textarea{border:1px solid #dce8ea;border-radius:9px;padding:12px;background:white;color:var(--ink)}.two-columns{display:grid;grid-template-columns:1.06fr .94fr;grid-gap:20px;gap:20px;margin-top:38px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:27px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.panel-icon{width:39px;height:39px;display:grid;place-items:center;background:#e4f6f2;color:#119981;border-radius:11px;font-size:20px}.stack-form{display:flex;flex-direction:column;gap:10px}.stack-form label{font-weight:700;font-size:13px;color:#536b74;margin-top:5px}.stack-form textarea{resize:vertical;min-height:100px}.stack-form input:focus,.stack-form select:focus,.stack-form textarea:focus{border-color:#0ea389}.hint{color:#95a5ad;font-size:11px;line-height:1.6;margin:0}.primary-btn{border:0;border-radius:10px;background:#0a9b81;color:white;font-weight:800;padding:13px 18px;display:inline-flex;justify-content:center;align-items:center;gap:12px}.primary-btn:hover{background:#067c69}.primary-btn.full{margin-top:8px;width:100%}.guide-panel{background:linear-gradient(158deg,#fff,#f9fdfd)}.steps{list-style:none;padding:0;margin:0}.steps li{display:flex;gap:15px;position:relative;padding-bottom:27px}.steps li:not(:last-child):before{content:"";position:absolute;right:17px;top:33px;bottom:0;width:1px;border-right:1px dashed #badbd8}.steps li>span{flex-shrink:0;width:34px;height:34px;border:1px solid #a4ddd3;background:#e9f9f4;border-radius:50%;display:grid;place-items:center;color:#068a72;font-weight:800}.steps strong{display:block;padding-top:3px;font-size:14px}.steps p{font-size:12px;color:#7f939b;line-height:1.6;margin:4px 0}.guide-tip{padding:16px;border-radius:10px;background:#e6f9f2;color:#19735e;font-size:12px;line-height:1.7}.table-wrap{overflow-x:auto;border:1px solid var(--line);background:white;border-radius:var(--radius)}.draft-table{border-collapse:collapse;width:100%;text-align:right;min-width:670px}.draft-table th{background:#f9fbfc;color:#83969f;font-size:12px;font-weight:700;padding:15px 18px}.draft-table td{border-top:1px solid #edf1f3;padding:17px 18px;font-size:13px}.table-client{font-weight:800}.draft-preview{max-width:260px;line-height:1.7}.draft-preview small{color:#0d9580}.draft-status{border-radius:30px;padding:6px 9px;background:#f0f2f4;color:#526270;font-weight:700;font-size:11px;white-space:nowrap}.status-reviewed{background:#e9f2ff;color:#3677b4}.status-approved{background:#e5f9f2;color:#167e65}.status-queued{background:#fff4db;color:#ac7c1c}.status-published{background:#e3f9ef;color:#087a60}.status-failed{background:#fdebed;color:#c04b57}.date-cell{color:#83969f;font-size:11px!important;white-space:nowrap}.action-btn{border:1px solid #cde8e3;border-radius:7px;background:#ecfaf6;color:#06866d;font-weight:800;padding:8px 11px;white-space:nowrap;font-size:11px}.action-btn.positive{background:#07997c;color:white;border-color:#07997c}.empty{text-align:center!important;padding:35px!important;color:#94a9b0}.footer{display:flex;justify-content:space-between;color:#9caeb5;font-size:11px;padding-top:32px}.notice{padding:12px 16px;border-radius:10px;margin:20px 0;font-weight:700;font-size:13px}.notice.success{background:#e2f8ed;color:#0b805d}.notice.error{background:#fce9ed;color:#b64357}.auth-shell{min-height:100vh;background:#052c35;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;flex-direction:column;padding:35px}.auth-orb{position:absolute;border-radius:50%;pointer-events:none;filter:blur(0)}.orb-one{height:500px;width:500px;top:-240px;left:-120px}.orb-one,.orb-two{border:1px solid #225964}.orb-two{height:650px;width:650px;bottom:-400px;right:-150px}.auth-box{background:#fff;border:1px solid #e5f4f0;border-radius:22px;padding:42px;width:min(100%,440px);box-shadow:0 30px 75px #001a2870;z-index:1}.logo{font:800 42px Inter;letter-spacing:-3px;color:#07343d;text-align:center;direction:ltr}.logo.big{font-size:49px}.auth-box .eyebrow{text-align:center;margin:12px 0 34px}.auth-box h1{font-size:27px;margin:0 0 7px}.auth-box>.muted{font-size:13px;margin-bottom:26px}.auth-note{color:#8fa0a5;text-align:center;font-size:11px;line-height:1.8;margin:20px 0 0}.auth-footer{position:absolute;bottom:13px;color:#79aaae;font:500 11px Inter;z-index:1}.connect-shell{max-width:780px;margin:70px auto;padding:25px}.back-link{color:#0a8d74;font-weight:700;font-size:13px}.connect-panel{border:1px solid var(--line);background:#fff;padding:38px;border-radius:18px;margin-top:24px}.connect-panel .logo{text-align:right}.connect-panel .eyebrow{margin:20px 0}.connect-panel h1{font-size:26px}.connect-panel>.muted{margin:15px 0 27px}.selection-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-top:1px solid var(--line);gap:20px}.selection-row small{display:block;color:#8e9fa6;margin-top:7px;font:12px Inter;direction:ltr;text-align:right}@media(max-width:1150px){.sidebar{width:215px}.content-wrap{padding:30px 25px}.topbar{padding:0 25px}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:10px}.stat-card{padding:16px}}@media(max-width:850px){.shell{display:block}.sidebar{width:100%;min-height:unset;height:auto;position:relative;padding:15px 19px}.brand{font-size:25px;justify-content:flex-start}.brand-symbol{font-size:16px}.nav-item,.side-section,.sidebar-bottom,.sidebar-caption{display:none}.topbar{height:54px;padding:0 18px}.content-wrap{padding:24px 18px}.welcome h1{font-size:25px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-columns{grid-template-columns:1fr}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.client-grid,.stats-grid{grid-template-columns:1fr}.welcome{align-items:start;flex-direction:column}.topbar-right{display:none}.section-head{gap:15px}.panel{padding:20px}.selection-row{flex-direction:column;align-items:stretch}.auth-box{padding:28px}.footer{flex-direction:column;gap:6px}.connect-shell{margin:20px auto}}