:root{--canvas:#f5f7fb;--surface:#fff;--nav:#17243c;--nav-soft:#23324d;--ink:#1d2b40;--muted:#728096;--line:#e4e9f1;--accent:#365ed6;--accent-soft:#edf2ff;--success:#23775a;--warning:#946418;--danger:#b64545;--radius:6px;--sidebar:218px;--shadow:0 8px 32px #13244214}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:13px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:3px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;border:1px solid transparent;border-radius:var(--radius);padding:6px 12px;background:var(--accent);color:#fff;font-weight:600;cursor:pointer;white-space:nowrap}button:hover{filter:brightness(.96)}button:disabled{opacity:.48;cursor:not-allowed}a{color:var(--accent);text-decoration:none}button.secondary,.secondary{border-color:#dce3ef;background:#fff;color:#465775}button.text-button,.text-button{min-height:24px;padding:2px 4px;background:transparent;color:var(--accent);font-size:12px}button.icon-button{padding:5px;min-height:32px;width:32px;background:transparent;color:var(--muted);border-color:transparent}.icon{width:18px;height:18px;flex:none;vertical-align:middle}input,select,textarea{display:block;width:100%;padding:7px 10px;border:1px solid #d8e0ec;border-radius:var(--radius);background:#fff;color:var(--ink);min-height:36px;font-size:13px}input:focus,select:focus,textarea:focus{border-color:#879de4;outline:2px solid #edf2ff}input[type=checkbox]{width:15px;height:15px;min-height:0;accent-color:var(--accent)}input[type=file]{font-size:12px}input[dir=ltr],textarea[dir=ltr]{text-align:left}label{display:flex;flex-direction:column;gap:6px;margin-bottom:13px;color:#45536a;font-size:12px;font-weight:600}.check{flex-direction:row;align-items:center;font-weight:400;font-size:12px;gap:8px;margin-block:16px}.check input{flex:none}h1,h2,h3,p{margin:0}h1{font-size:23px;line-height:1.45;letter-spacing:-.4px}h2{font-size:14px;line-height:1.5;font-weight:700}h3{font-size:13px}p{line-height:1.8}bdi,[dir=ltr]{unicode-bidi:isolate}small{font-size:11px}.muted,.help-text{color:var(--muted);font-size:12px}.help-text{margin-block:10px}.danger-text{color:var(--danger)!important}[hidden]{display:none!important}
.shell{padding-inline-start:var(--sidebar);min-height:100vh}.sidebar{position:fixed;inset-block:0;inset-inline-start:0;width:var(--sidebar);background:var(--nav);color:#c3cee2;display:flex;flex-direction:column;z-index:40;border-inline-end:1px solid #28364e}.brand{display:flex;align-items:center;gap:10px;padding:21px 18px;color:#fff;min-height:83px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:8px;border:1px solid #6486e5;background:#304b85;color:#fff;font-size:22px;font-family:Arial,sans-serif;font-weight:700;flex:none}.brand b{font-size:16px;letter-spacing:.3px}.brand small{display:block;color:#9baac2;font-size:10px;margin-top:2px}.sidebar nav{flex:1;overflow-y:auto;padding:0 10px 15px;scrollbar-width:thin}.nav-group{padding-block:5px 9px}.nav-caption{display:block;font-size:10px;padding:9px 11px 5px;color:#8c9dbb}.nav{display:flex;width:100%;justify-content:flex-start;text-align:start;gap:9px;padding:8px 11px;min-height:34px;border:0;border-radius:5px;font-weight:400;font-size:12px;background:transparent;color:#c9d4e7;margin:2px 0}.nav .icon{width:17px;height:17px;opacity:.8}.nav:hover{background:var(--nav-soft);filter:none;color:#fff}.nav.active{color:#fff;background:#2b4168;box-shadow:inset -3px 0 #83a0f4}.nav.active .icon{color:#a2b9ff;opacity:1}.sidebar-footer{margin:0 13px;padding:14px 4px 17px;border-top:1px solid #30405a;font-size:10px;color:#aab8cf}.sidebar-footer .status-dot{margin-inline-end:5px}.sidebar-footer small{display:block;direction:ltr;text-align:right;color:#7d91b1;font-size:9px;margin-top:4px}.workspace{min-width:0}.topbar{height:60px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);background:#fff;padding:0 25px;position:sticky;top:0;z-index:25}.topbar-start,.topbar-end{display:flex;align-items:center;gap:16px}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{padding-inline:10px;color:#bdc7d6}.breadcrumb b{color:#45546a;font-weight:400}.environment-label{font-size:10px;color:#71819a;background:#f1f4f9;border:1px solid var(--line);border-radius:4px;padding:2px 7px}.user-menu{position:relative}.user-menu summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}.user-menu summary::-webkit-details-marker{display:none}.user-menu .icon{width:14px}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#edf2fc;color:#4567b0;font-size:12px;font-weight:700}.user-context b{display:block;font-size:11px;max-width:190px;overflow:hidden;text-overflow:ellipsis;direction:ltr}.user-context small{display:block;font-size:9px;color:var(--muted)}.user-menu-panel{position:absolute;inset-inline-end:0;top:45px;min-width:195px;border:1px solid var(--line);background:#fff;border-radius:6px;box-shadow:var(--shadow);padding:5px}.menu-action{justify-content:flex-start;display:flex;width:100%;font-size:12px;color:var(--ink);background:transparent;font-weight:400}.menu-action:hover{background:var(--canvas);filter:none}.notification-count{position:absolute;top:0;right:0;font-size:8px;min-width:14px;height:14px;line-height:14px;border-radius:7px;background:var(--danger);color:#fff}.topbar #notifications-button{position:relative}.mobile-menu,.nav-backdrop{display:none}
main{padding:24px 26px 10px;min-width:0}.page-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.page-eyebrow{font-size:10px;color:#8391a5;line-height:1.5;margin-bottom:3px}.page-header p:last-child{font-size:11px;color:var(--muted);margin-top:4px}.page-actions{display:flex;align-items:center;gap:8px}.capability-strip{display:flex;align-items:center;gap:7px;border:1px solid #e5e9f0;border-radius:5px;background:#fafbfd;color:#6f7c90;padding:8px 11px;font-size:10px;margin-bottom:18px}.capability-strip strong{font-size:10px;color:#6b7280}.capability-strip .text-button{margin-inline-start:auto;font-size:10px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8a9bb7;flex:none}.status-dot.amber{background:#c69b45}.status-dot.green{background:#349774}.alert{padding:9px 12px;border:1px solid;border-radius:5px;margin-bottom:13px;font-size:12px}.alert-success{background:#eef8f2;border-color:#d4e9dc;color:#25644a}.alert-error{background:#fff1f1;border-color:#edd4d4;color:#953d3d}.alert button{margin-inline-start:8px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:18px}.stat{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:13px 15px;min-height:87px;text-align:start;color:var(--ink);font-weight:400}.stat-icon{width:35px;height:35px;display:grid;place-items:center;align-self:flex-start;background:#f0f4fc;border-radius:6px;color:#7089be}.stat-icon .icon{width:19px;height:19px}.stat-body{min-width:0}.stat-label{font-size:11px;color:#78859a}.stat strong{display:block;font-size:24px;line-height:1.4;color:#24354d;font-weight:700}.stat-note{display:block;font-size:9px;color:#94a1b3}.overview-stack{display:grid;gap:17px}.overview-columns{align-items:start;display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:17px}.panel{border:1px solid var(--line);border-radius:6px;background:#fff;padding:17px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.panel-heading p{font-size:10px;color:var(--muted);margin-top:3px}.attention-row,.activity-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid #eef1f7}.attention-row b,.activity-row b{display:block;font-size:11px;font-weight:600}.attention-row small,.activity-row small{display:block;color:var(--muted);font-size:10px}.activity-marker{width:27px;height:27px;border-radius:5px;background:#f1f4f9;display:grid;place-items:center;flex:none;color:#8b9bb5}.activity-marker .icon{width:14px}.activity-row .activity-copy{flex:1}.product-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-tile{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:5px;padding:13px;color:var(--ink);background:#fff;font-weight:400}.product-tile .product-copy{flex:1;text-align:start}.product-tile b{display:block;font-size:12px}.product-tile small{font-size:10px;color:var(--muted)}.product-tile> .icon{color:#768ab7}.section-heading{margin:18px 0 10px}.inline-note{padding:9px 12px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#718098;font-size:11px;margin-bottom:14px}
.data-table{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid var(--line);background:#fff}.table-toolbar-start,.table-toolbar-end{display:flex;align-items:center;gap:8px;min-width:0}.table-search{position:relative;min-width:200px;width:255px;margin:0}.table-search input{padding-inline-start:32px;font-size:11px;min-height:33px}.table-search .icon{position:absolute;inset-inline-start:9px;top:9px;width:15px;height:15px;color:#9cabc0}.table-toolbar select{font-size:11px;min-height:33px;max-width:160px;width:auto}.mobile-table-hint{display:none}.table-caption{color:var(--muted);font-size:10px}.table-scroll{overflow-x:auto;max-width:100%;scrollbar-width:thin}.table-scroll:focus-visible{outline:2px solid #95a8db;outline-offset:-2px}table{border-collapse:collapse;table-layout:auto;width:100%;text-align:start;font-size:12px}th{background:#fafbfe;color:#7a879d;font-size:10px;font-weight:400;border-bottom:1px solid var(--line);padding:10px 13px;text-align:start;white-space:nowrap}td{padding:11px 13px;border-bottom:1px solid #edf1f7;white-space:nowrap;vertical-align:middle;max-width:280px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}.sort-button{background:transparent;color:inherit;min-height:0;padding:0;border:0;font-size:10px;font-weight:400}.sort-button:hover{filter:none;color:#465d89}.cell-link{display:block;min-height:18px;padding:0;background:transparent;color:#34445e;font-size:11px;font-weight:600;text-align:start;white-space:normal}.cell-link:hover{color:var(--accent);filter:none;text-decoration:underline}.cell-title{display:block;color:#34445e;font-size:11px;font-weight:600}.cell-secondary{display:block;color:#92a0b3;font-size:9px;line-height:1.9}.cell-technical{direction:ltr;unicode-bidi:isolate;display:inline-block;font-family:"Segoe UI",Arial,sans-serif;font-size:11px}.cell-truncated{max-width:230px;overflow:hidden;text-overflow:ellipsis}.account-cell{display:flex;align-items:center;gap:9px}.account-symbol{display:grid;place-items:center;width:30px;height:30px;background:#f1f4fa;color:#768cae;border-radius:5px;flex:none}.account-symbol .icon{width:16px}.row-actions{display:flex;align-items:center;gap:5px}.row-button{background:#fff;border:1px solid #dfe6f0;color:#557198;font-size:10px;font-weight:400;padding:3px 8px;min-height:26px;border-radius:4px}.row-button.danger{color:#a76363;border-color:#eddede}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border-radius:4px;border:1px solid transparent;font-size:9px;font-weight:400;line-height:1.7;white-space:nowrap;vertical-align:middle}.badge-positive{color:#2e7f60;background:#edf8f2;border-color:#dceee3}.badge-warning{color:#9b792d;background:#fff8e8;border-color:#f0e5c8}.badge-danger{color:#af5d5d;background:#fff0f0;border-color:#f2dddd}.badge-neutral{color:#7c8a9f;background:#f1f4f8;border-color:#e3e9f1}.badge-accent{color:#4c6ba8;background:#f0f4ff;border-color:#e0e7fa}.badge-set{display:flex;flex-wrap:wrap;gap:4px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border-top:1px solid var(--line);font-size:10px;color:#91a0b5}.pagination select{font-size:10px;width:67px;min-height:29px;padding:4px 7px}.pagination-controls{display:flex;gap:5px;align-items:center}.pagination button{font-size:10px;min-height:27px;padding:3px 8px;background:#fff;border-color:#e0e6f0;color:#667c9d}.empty-state,.loading-state,.table-error{padding:34px 18px;text-align:center;color:var(--muted);font-size:11px}.empty-state .icon{width:27px;height:27px;margin-bottom:7px;color:#9db0cf}.empty-state h3{color:#596a84;font-size:12px}.empty-state p{font-size:10px;margin-top:4px}.empty-state button,.table-error button{margin-top:12px}.loading-state:before{content:"";display:inline-block;width:12px;height:12px;border:2px solid #e1e8f5;border-top-color:#7893cf;border-radius:50%;vertical-align:middle;margin-inline-end:7px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.tabs{display:flex;align-items:center;gap:3px;border-bottom:1px solid #dfe6f0;margin-bottom:17px;overflow-x:auto}.tab{border-radius:0;background:transparent;color:#7e8b9e;font-weight:400;font-size:12px;padding:9px 14px;border:0;border-bottom:2px solid transparent}.tab.active{color:var(--accent);border-bottom-color:var(--accent)}.product-status-line{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;font-size:11px;color:var(--muted)}.account-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.account-heading h2{font-size:17px}.account-heading .account-symbol{width:44px;height:44px}.account-heading .account-symbol .icon{width:24px}.account-heading p{font-size:11px;color:var(--muted)}.account-heading-main{display:flex;align-items:center;gap:13px}.account-heading-actions{display:flex;align-items:center;gap:8px}.detail-grid{display:grid;grid-template-columns:120px 1fr;gap:10px 16px;font-size:12px;margin:5px 0}.detail-grid dt{color:var(--muted);font-size:11px}.detail-grid dd{margin:0;color:#43556f;overflow-wrap:anywhere}.ledger-context{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:15px}.ledger-context label{width:220px;margin:0}.wallet-inline{color:#2f4777;font-size:14px;font-weight:600}.wallet-highlight{font-size:26px;color:#304873;margin:13px 0}.form-panel{max-width:850px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.span-full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid var(--line);margin-top:15px}.form-dialog{width:510px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);overflow-y:auto;padding:21px;border:1px solid #dbe3f0;border-radius:9px;box-shadow:var(--shadow);color:var(--ink);background:#fff}.form-dialog::backdrop{background:#101e3d66}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:12px}.dialog-heading h2{font-size:15px}.dialog-heading .icon-button{min-height:26px;width:26px}.action-description{font-size:12px;color:#71809b;margin-bottom:14px}.quote-summary{padding:13px;border:1px solid #dbe4f6;border-radius:5px;background:#f8faff;margin:14px 0;color:#5b7099;font-size:11px}.quote-summary .detail-grid{font-size:11px;gap:8px 10px;grid-template-columns:130px 1fr}.quote-summary .quote-price{font-size:20px;font-weight:700;color:#365ed6}.compact-gate{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.compact-gate p{color:var(--muted);font-size:11px;margin-top:6px}.app-footer{display:flex;justify-content:space-between;gap:20px;color:#9cabbf;font-size:9px;padding:20px 0 10px}.login-page{min-height:100vh;display:grid;place-items:center;background:#f2f5fa}.login-card{width:390px;max-width:calc(100vw - 32px);background:#fff;border:1px solid var(--line);border-radius:9px;padding:28px;box-shadow:0 7px 35px #1d3c6310}.login-brand{color:#243f6b;padding:0;margin-bottom:23px;min-height:0}.login-brand small{color:#7f91ab}.login-card h1{font-size:21px}.login-card>.muted{font-size:11px;margin:6px 0 23px}.login-card label{margin-bottom:16px}.login-submit{width:100%;margin-top:4px;min-height:37px}.login-note{display:flex;justify-content:center;align-items:center;gap:6px;font-size:9px;color:#8594a9;margin-top:18px}
@media(min-width:1700px){.stats{grid-template-columns:repeat(4,minmax(0,1fr))}main{padding-inline:35px}.topbar{padding-inline:35px}}
@media(max-width:1100px){:root{--sidebar:196px}.topbar{padding-inline:18px}main{padding-inline:18px}.stats{gap:9px}.stat{padding:12px;gap:8px}.stat strong{font-size:22px}.stat-icon{width:29px;height:29px}.overview-columns{gap:12px}.table-toolbar-start{flex-wrap:wrap}.table-search{width:205px}.user-context b{max-width:135px}}
@media(max-width:760px){.shell{padding-inline-start:0}.sidebar{width:228px;transform:translateX(100%);transition:transform .16s}.nav-open .sidebar{transform:none}.nav-backdrop{position:fixed;inset:0;z-index:35;background:#11223f55;border:0;border-radius:0;padding:0}.nav-open .nav-backdrop{display:block}.nav-open{overflow:hidden}.mobile-menu{display:inline-flex!important}.topbar{height:55px;padding-inline:13px}.topbar-start,.topbar-end{gap:9px}.breadcrumb{font-size:10px}.breadcrumb span{padding-inline:5px}.environment-label,.user-context,.user-menu summary>.icon{display:none}main{padding:17px 13px 8px}.page-header{align-items:flex-start;margin-bottom:13px;gap:9px}.page-header h1{font-size:20px}.page-header p:last-child{font-size:10px}.page-eyebrow{display:none}.page-actions{flex-wrap:wrap;justify-content:flex-end}.page-actions button{font-size:10px;min-height:30px;padding:5px 8px}.page-actions .icon{width:14px}.capability-strip{gap:5px;flex-wrap:wrap;padding:7px 9px;margin-bottom:13px}.capability-strip>span:not(.status-dot){width:100%;font-size:9px;order:3}.capability-strip .text-button{font-size:9px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:13px}.stat{min-height:76px;padding:11px;gap:8px}.stat-label{font-size:10px}.stat strong{font-size:21px}.stat-note{font-size:8px}.stat-icon{width:27px;height:27px}.overview-columns{grid-template-columns:1fr;gap:13px;margin-bottom:13px}.panel{padding:14px}.product-overview{grid-template-columns:1fr}.table-toolbar{padding:10px;flex-wrap:wrap;gap:8px}.table-toolbar-start{width:100%}.table-search{flex:1;min-width:130px;width:auto}.table-toolbar select{max-width:126px}.table-toolbar-end{width:100%;justify-content:space-between}.table-caption{font-size:9px}.mobile-table-hint{display:block;font-size:9px;color:var(--muted)}th,td{padding-inline:11px}.pagination{padding:9px;font-size:9px;flex-wrap:wrap}.pagination-controls{gap:4px}.pagination button{font-size:9px}.account-heading{align-items:flex-start;flex-direction:column}.account-heading h2{font-size:16px}.account-heading-actions{width:100%;justify-content:flex-end}.tabs .tab{padding-inline:11px;font-size:11px}.product-status-line{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.form-dialog{padding:17px}.detail-grid{grid-template-columns:100px 1fr;font-size:11px;gap:9px}.quote-summary .detail-grid{grid-template-columns:112px 1fr}.compact-gate{flex-direction:column;align-items:flex-start}.ledger-context{gap:10px}.ledger-context label{width:100%}.app-footer{font-size:8px;gap:10px}.login-card{padding:24px}}
/* Original Arabic catalog: commerce and engine status are independent. */
.nav-section summary{cursor:pointer;color:#a9bbd7;font-size:11px;padding:9px 11px}.nav-section .nav{padding-inline-start:19px}.library-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:23px;border:1px solid #dce5f7;border-radius:12px;background:linear-gradient(120deg,#fff,#edf3ff)}.library-intro h2{font-size:21px;color:#263e69}.library-intro p{font-size:12px;color:#657994;margin-top:8px}.library-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:14px;margin-bottom:23px}.library-filters label{margin:0}.library-group{margin-bottom:30px}.library-group-title{font-size:17px;margin-bottom:13px;padding-inline-start:12px;border-inline-start:3px solid #587bcc}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.library-card{padding:20px;border:1px solid #dde5f1;border-radius:11px;background:white;min-width:0;box-shadow:0 4px 14px #233b6010;display:flex;flex-direction:column;gap:10px}.library-card h3{font-size:16px;line-height:1.6;color:#2b4269}.library-card-heading,.library-card-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.library-card-heading{justify-content:space-between;color:#607eb3}.library-card .badge{align-self:flex-start;white-space:normal}.library-description{font-size:12px;color:#75859d;min-height:42px}.included-product{font-size:12px;font-weight:600;color:#526ba0}.product-card{border-top:3px solid #5074c9}.capability-family{min-width:0}.capability-children{margin-block-start:10px;display:grid;gap:8px;padding-inline-start:12px;border-inline-start:2px solid #e3eaf7}.capability-leaf{padding:12px;box-shadow:none;border-radius:7px}.capability-leaf h3{font-size:13px}.capability-leaf .library-description{min-height:0}.library-card-actions button{font-size:11px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:16px}.plan-card{padding:18px;border:1px solid #e0e6f2;border-radius:9px;background:#fff}.plan-card strong{display:block;color:#4468af;font-size:20px;margin-top:10px}.product-profile{margin-bottom:18px;background:linear-gradient(120deg,#fff,#f0f5ff)}.product-profile h2{font-size:22px}.product-profile .badge{margin-inline-end:7px}.capability-workspace{max-width:850px}.capability-workspace>button{margin:10px 0 10px 8px}.automation-settings-form{margin-block-start:20px;max-width:580px}.automation-settings-form label{font-size:13px}.automation-settings-form button{min-height:40px}
@media(max-width:1100px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-filters{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.library-grid,.library-filters,.plan-grid{grid-template-columns:1fr}.library-intro{align-items:flex-start;padding:17px;flex-direction:column}.library-intro h2{font-size:19px}.library-card{padding:16px}.library-filters input,.library-filters select,.library-card button{min-height:44px}.library-card-actions{align-items:stretch}.library-card-actions button{flex:1}.capability-leaf{padding:12px}.product-profile h2{font-size:19px}}

/* UX stage2: compact catalog families and mobile discovery. */
.library-intro{padding:16px 20px;box-shadow:none}.library-intro h2{font-size:18px}.library-filters{grid-template-columns:minmax(240px,2fr) 3fr;align-items:end;gap:16px;padding:16px}.library-secondary-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.library-filters summary{cursor:pointer;font-weight:600;color:var(--accent);padding:8px 0}.capability-children{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;background:var(--surface);gap:0}.capability-family:has(.capability-children)>.library-card{border-radius:10px 10px 0 0}.capability-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid var(--line);min-width:0}.capability-row-copy{min-width:0}.capability-row strong{font-size:13px}.capability-row small{display:block;color:var(--muted);line-height:1.65}.capability-row button{flex:none}.sidebar .nav-caption{margin-block:8px 4px}.sidebar .nav-group{margin-bottom:10px}.sidebar .nav{min-height:36px}.sidebar .nav-section summary{padding-block:8px}.secondary-navigation[open]{padding-bottom:10px}
@media(min-width:761px){.library-filters summary{display:none}}
@media(max-width:760px){.library-intro{padding:12px 16px;gap:6px}.library-intro .page-eyebrow,.library-intro p{display:none}.library-intro h2{font-size:16px}.library-filters{grid-template-columns:1fr;gap:8px;padding:12px;margin-bottom:16px}.library-secondary-fields{grid-template-columns:1fr;gap:10px}.library-filters summary{min-height:44px}.library-group-title{margin-bottom:10px}.capability-row{padding:10px 12px}.capability-row button{min-height:44px}.library-group{margin-bottom:20px}}

/* UX stage3: scanable pricing and product/ability distinction. */
.product-price-summary{background:var(--accent-soft);padding:12px;border-radius:8px;display:grid;gap:5px;min-height:76px}.product-price-summary strong{font-size:16px}.product-price-line{display:flex;justify-content:space-between;gap:12px;font-weight:600}.product-price-line .cell-technical{font-size:14px}.product-price-summary small{color:var(--muted)}.library-card{gap:9px;box-shadow:0 2px 6px #233b6008}.product-card .library-card-heading .icon{width:25px;height:25px}.product-card{border-top-width:4px}.library-description{min-height:0}.library-card-actions{margin-top:auto}.library-card-actions button{min-height:40px}.plan-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.plan-card h3{font-size:17px}.plan-card h3 .cell-technical{font-size:20px;color:var(--ink)}.plan-card .plan-price{margin:0;font-size:22px}.plan-card button{margin-top:auto}.table-group th{background:var(--accent-soft);color:var(--ink);font-size:15px;padding:14px 18px;font-weight:700}.table-group th:before{content:"";display:inline-block;height:14px;border-inline-start:3px solid var(--accent);margin-inline-end:9px}.configuration-status{font-weight:600;color:var(--ink);margin:8px 0}.library-card>h3{font-size:18px}

/* UX stage4: daily overview and readable mobile records. */
.stat-secondary{background:#f8fafc;box-shadow:none}.stat-secondary .stat-body strong{font-size:21px}.product-overview .product-tile{text-align:start}.row-more{position:relative}.row-more summary{cursor:pointer;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:5px 9px;min-height:32px}.row-more-actions{display:flex;flex-wrap:wrap;gap:6px;padding-block:8px;max-width:190px}.row-actions{align-items:flex-start}.row-actions .primary{background:var(--accent);color:#fff;border-color:var(--accent)}.row-actions .secondary{background:white}.row-more-actions button{width:100%;text-align:start}.account-heading-main h2{font-size:18px}.account-heading{padding:14px 18px}.product-overview article[data-subscribed="true"]{border-inline-start:3px solid var(--accent)}
@media(max-width:760px){.responsive-records .table-scroll{overflow:visible;padding:0;border:0;min-width:0}.responsive-records table{min-width:0;width:100%;display:block}.responsive-records thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.responsive-records tbody{display:grid;gap:12px;padding:12px}.responsive-records tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px}.responsive-records tbody td{display:block;border:0;padding:0;min-width:0;white-space:normal;overflow-wrap:anywhere}.responsive-records tbody td:before{content:attr(data-label);display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.responsive-records tbody td:first-child,.responsive-records .record-actions-cell{grid-column:1/-1}.responsive-records tbody td:first-child:before{display:none}.responsive-records tbody .row-actions{flex-wrap:wrap;gap:8px}.responsive-records .row-more summary{min-height:44px;display:flex;align-items:center;padding-inline:12px}.responsive-records .row-more-actions{max-width:none}.responsive-records .cell-technical{white-space:normal;overflow-wrap:anywhere}.stat-secondary .stat-icon{display:none}.stat-secondary{padding:12px}.product-overview{gap:10px}.product-tile{min-height:72px}.product-tile .badge{font-size:11px}}

/* UX stage5: Arabic type scale, contrast, touch targets and direction. */
:root{--muted:#53647a;--line:#dbe3ee;--radius:8px}body{font-size:14px;line-height:1.7}h1{font-size:25px;letter-spacing:0}h2{font-size:17px}h3{font-size:15px}small{font-size:12px}button,input,select,textarea{font-size:14px}button,input,select,textarea,summary{scroll-margin-top:80px}button{min-height:40px}.text-button,.icon-button{min-height:40px}.icon-button{width:40px}.help-text,.muted,.library-description,.library-intro p,.cell-secondary,.stat-note,.page-header p,.page-eyebrow,.breadcrumb,.app-footer,.table-caption{color:var(--muted);font-size:12px}.library-description{line-height:1.85}.page-eyebrow{margin-bottom:4px}.page-header{margin-bottom:16px}.page-header h1{line-height:1.4}.page-header p:last-child{margin-top:5px}.panel{border-radius:10px}.panel-heading{margin-bottom:16px}.nav{font-size:13px}.sidebar .nav{min-height:40px}.sidebar .nav-caption,.sidebar .nav-section summary{color:#b8c7de;font-size:12px}.sidebar .nav-caption{font-size:11px}.brand small{font-size:11px;color:#b8c7de}.sidebar-footer,.sidebar-footer small{color:#b8c7de}.topbar .breadcrumb{color:var(--muted)}.badge{font-size:12px;padding:3px 8px;font-weight:500;line-height:1.65}.badge-positive{color:#1d6247;background:#edf8f2}.badge-warning{color:#75500f;background:#fff7e4}.badge-danger{color:#953c3c;background:#fff0f0}.badge-neutral{color:#52627a;background:#f1f4f8}.badge-accent{color:#365a9b;background:#eef3ff}.cell-title,.cell-link{font-size:13px}.cell-secondary{font-size:12px}.cell-technical{font-size:13px;font-variant-numeric:tabular-nums;max-width:100%;overflow-wrap:anywhere}th{font-size:12px;color:var(--muted);font-weight:600}td{font-size:13px;padding:12px}.row-button{font-size:12px;min-height:40px;font-weight:500}.row-more summary{font-size:13px;min-height:40px}.pagination,.pagination button,.pagination select{font-size:12px;color:var(--muted)}.pagination button,.pagination select{min-height:40px}.table-search input,.table-toolbar select{min-height:40px;font-size:13px}.table-search .icon{top:12px}.sort-button{font-size:12px;min-height:36px}.settings-account-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--line);border-inline-start:3px solid var(--accent);border-radius:8px;margin-top:14px;background:#f8fafc}.settings-account-context strong{font-size:15px}.settings-account-search{display:flex;gap:8px;align-items:center;margin-bottom:18px}.settings-account-search input{min-width:0;flex:1}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}.settings-fields label:has(textarea),.settings-fields label.check{grid-column:1/-1}.settings-fields .check{min-height:44px}.automation-settings-form{max-width:none;margin-top:16px}.automation-settings-form label{font-size:14px}.automation-settings-form .primary{min-height:44px;padding-inline:20px}.capability-workspace{max-width:960px}.capability-workspace>h2{font-size:21px;margin-bottom:8px}.capability-workspace>.badge{margin-inline-end:8px}.capability-workspace>.configuration-status{display:inline-block}.capability-strip{font-size:12px;color:var(--muted);padding:10px 14px}.capability-strip strong{font-size:12px}.product-price-summary .cell-technical{font-size:14px}.library-card .library-card-actions button{font-size:13px}.library-card h3{line-height:1.5}.plan-price{font-variant-numeric:tabular-nums}.product-profile{padding:16px 20px}.account-heading p{color:var(--muted)}.account-heading h2{display:none}.account-heading .account-heading-main{min-width:0}.tabs .tab{font-size:13px;min-height:44px}.product-status-line{font-size:12px;color:var(--muted)}input[dir=ltr],textarea[dir=ltr]{unicode-bidi:plaintext;font-variant-numeric:tabular-nums}button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:760px){button,.text-button,.icon-button,.row-button,.sidebar .nav,.pagination button,.pagination select,.table-toolbar select,.table-search input,.row-more summary{min-height:44px}.icon-button{width:44px}.page-header h1{font-size:22px}.page-header{flex-wrap:wrap}.page-actions{flex-wrap:wrap}.page-actions button{font-size:13px}.capability-strip{padding:8px 12px;gap:6px}.capability-strip>span:not(.status-dot){display:none}.capability-strip .text-button{margin-inline-start:auto}.library-filters{margin-bottom:12px}.library-intro{margin-bottom:12px}.library-card>h3{font-size:18px}.settings-fields{grid-template-columns:1fr}.settings-account-search{flex-wrap:wrap}.settings-account-search input{flex-basis:180px}.settings-account-context{gap:8px}.settings-account-context .text-button{width:100%;justify-content:flex-start}.capability-workspace{padding:16px}.stat-label{font-size:12px}.stat-body strong{font-size:25px}.stats{gap:10px;margin-bottom:16px}.table-toolbar{padding:12px;flex-wrap:wrap}.table-toolbar-start{width:100%;flex-wrap:wrap}.table-search{flex:1;min-width:180px}.table-toolbar-end{width:100%;justify-content:space-between}.responsive-records tbody td{max-width:none}.responsive-records .record-actions-cell:before{display:none}.account-heading-actions{flex-wrap:wrap}.account-heading{gap:10px;flex-wrap:wrap}.product-tile{flex-wrap:wrap}.product-tile .product-copy{flex:1;min-width:160px}.product-tile .badge{margin-inline-start:27px}.stat-secondary .stat-body strong{font-size:20px}.library-secondary-fields label{font-size:13px}}

.stat-label{color:var(--muted)}.overview-columns{margin-top:18px}
@media(max-width:760px){button.icon-button,button.text-button,.page-actions button,.pagination button,.row-actions button,.row-more summary{min-height:44px}button.icon-button{width:44px}}

.extra-stats{grid-column:1/-1}.extra-stats summary,.settings-account-picker summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:var(--accent);font-size:13px;font-weight:600}.extra-stats summary:before,.settings-account-picker summary:before{content:"＋"}.extra-stats[open]>summary:before,.settings-account-picker[open]>summary:before{content:"−"}.secondary-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:8px}.settings-account-picker{margin-block:10px 16px;border:1px solid var(--line);border-radius:8px;padding:0 12px}.settings-account-picker[open] summary{margin-bottom:10px}
@media(max-width:760px){.secondary-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-account-picker{margin-block:8px 12px}.settings-account-context .text-button{width:auto}.extra-stats summary{justify-content:center}}

.mobile-record-sort{display:none}
@media(max-width:760px){.mobile-record-sort{display:flex;width:100%;margin:4px 0 0;gap:5px;font-size:12px}.mobile-record-sort select{max-width:none;width:100%}.responsive-records .table-toolbar-end{flex-wrap:wrap}}

/* Product → castle workspace: UI navigation only, engine and billing remain independent. */
.basic-header h2{font-size:23px;margin-bottom:18px}.basic-header .detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px}.basic-header .detail-grid dt{font-size:12px}.basic-header .detail-grid dd{margin:0 0 14px}.product-settings-body{margin-top:20px}.basic-capability-links{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.table-secondary-filters summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px}.table-secondary-filters select{margin-bottom:8px}.basic-header .badge{white-space:normal}
@media(max-width:760px){.basic-header .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.basic-header{padding:16px}.basic-header h2{font-size:21px}.basic-capability-links button{flex:1 1 140px}.table-secondary-filters{width:100%}.table-secondary-filters select{width:100%}#product-account-list table{min-width:0}}

.product-list-profile{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px}.product-list-profile>h2,.product-list-profile>p{display:none}.basic-header .basic-field{min-width:0}.basic-header .basic-field dt{margin-bottom:6px}.basic-header .basic-field dd{font-size:14px;overflow-wrap:anywhere}main:has([data-page="product"]:not([hidden]))>.capability-strip{display:none}

#product-basic .renewal-action{background:var(--accent);color:#fff;border-color:var(--accent)}.table-secondary-filters .table-caption{display:block;margin-block:8px}.basic-header{margin-bottom:16px}

/* Help configuration only: one login, independently selected castle records. */
.help-castle-row{padding:16px;margin-block:12px;border:1px solid var(--line);border-radius:var(--radius);align-items:center}.help-castle-row label{margin-bottom:8px}.help-castle-row button{grid-column:1/-1;justify-self:end}.help-legacy-list{margin-block:16px}.help-legacy-list>summary{cursor:pointer;min-height:44px;padding:10px;color:var(--muted)}.help-bot-heading{margin-bottom:16px}.help-bot-heading>h2{display:block;font-size:23px}#help-heading .detail-grid{grid-template-columns:120px minmax(0,1fr);margin-block:12px}#help-iggs-form .form-actions{flex-wrap:wrap}
/* Help Bot: the reviewed list → Basic → IGGs workflow, in our own visual identity. */
.help-experience main>.capability-strip,.help-experience #page-eyebrow,.help-experience .product-status-line{display:none}
.help-experience .nav[data-view="telegram"]{display:none}
.help-experience .page-header{margin-bottom:20px;align-items:center}.help-experience #page-title{font-size:24px}.help-experience #page-description{font-size:13px;margin-top:4px}.help-experience #page-description:empty{display:none}
.help-experience #help-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:0;border:0;box-shadow:none;background:transparent;margin-bottom:18px}.help-experience #help-heading h2{font-size:26px;margin:0}.help-heading-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.help-link-command{display:flex;gap:8px;align-items:center;border:1px solid var(--line);padding:6px 10px;border-radius:8px;max-width:100%;overflow-wrap:anywhere}.help-link-command bdi{white-space:normal;overflow-wrap:anywhere;max-width:320px}
.help-experience #help-tabs{background:#fff;border-radius:10px 10px 0 0;padding:0 14px;border-bottom:1px solid var(--line);margin-bottom:18px}.help-experience #help-tabs .tab{padding:13px 18px;min-height:46px;border-radius:0;border:0;border-bottom:2px solid transparent;background:transparent}.help-experience #help-tabs .active{border-bottom-color:var(--accent);color:var(--accent)}
.help-settings-panel{padding:24px;border-radius:12px;margin-bottom:20px;max-width:none;box-shadow:none}.help-settings-panel h2{font-size:17px;margin-bottom:14px}.help-settings-panel form>label:not(.check){display:block;margin:16px 0 10px}.help-settings-panel input{min-height:40px}.help-settings-panel .help-text{margin-block:7px 12px}.help-settings-panel .form-actions{display:flex;gap:10px;justify-content:flex-start;margin-top:20px}.help-settings-panel .help-enabled-label{font-weight:600;gap:9px;margin:0}.help-settings-panel .help-enabled-label input{min-height:0;flex:none}.help-settings-panel button{min-height:38px}.help-expiry{margin-top:16px}.help-expiry>label{font-weight:600;display:block;margin-bottom:6px}.help-expiry-date{display:inline-block;direction:ltr;font-variant-numeric:tabular-nums;border:1px solid var(--line);background:var(--canvas);padding:9px 12px;border-radius:7px;min-width:180px}.help-expiry-remaining{margin-inline-start:12px;color:var(--muted)}.help-expiry small{display:block;margin-top:6px}
.help-form-dialog{width:470px;max-width:calc(100vw - 28px);padding:24px;border-radius:14px}.help-form-dialog .dialog-heading h2{font-size:19px}.help-form-dialog .form-grid{gap:15px}.help-form-dialog .form-grid label{margin:0;font-size:13px}.help-form-dialog input,.help-form-dialog select{min-height:40px;margin-top:6px}.help-form-dialog .form-actions{display:flex;gap:10px;margin-top:20px}.help-form-dialog .form-actions>button{flex:1;min-height:40px}.help-form-dialog .quote-summary{padding:10px 12px;margin-top:12px;font-size:12px}.help-form-dialog .help-text{font-size:12px}
.help-experience #help-iggs-form .help-castle-row{display:flex;align-items:center;gap:12px;padding:0;border:0;margin:14px 0;border-radius:0}.help-castle-row .help-castle-position{flex:0 0 160px;color:var(--muted);font-size:12px}.help-experience .help-castle-row label{flex:1;margin:0;font-size:0;min-width:0}.help-experience .help-castle-row input{font-size:14px}.help-castle-controls{display:flex;gap:6px;flex:none;align-items:center}.help-experience .help-castle-controls button{min-width:38px;min-height:40px}.help-iggs-limit{color:var(--warning);font-size:12px;margin-block:12px}
.help-experience #help-bot-list{border-radius:12px;box-shadow:none}.help-experience #help-bot-list .table-toolbar{border-bottom:1px solid var(--line)}.help-experience #help-bot-list .table-caption{display:none}.help-experience #help-bot-list th,.help-experience #help-bot-list td{padding:16px}.help-experience #help-bot-list .row-actions{gap:7px}.help-experience #help-bot-list .row-button{min-height:34px;padding:6px 12px}.help-experience .help-renew{background:#edf8f2;color:var(--success);border-color:#c7e7d4}.help-danger{background:#fff5f5;color:var(--danger);border-color:#f0cccc}.help-experience #help-bot-list .cell-link{font-size:14px;font-weight:600}.help-experience #action-dialog{border-radius:14px}.help-experience #action-dialog .form-actions{gap:10px}.help-experience #action-dialog .form-actions button{flex:1;min-height:40px}
@media(max-width:760px){.help-experience .page-header{gap:12px}.help-experience #page-title{font-size:21px}.help-experience .help-settings-panel{padding:18px}.help-experience #help-heading h2{font-size:23px}.help-heading-tools{width:100%;gap:7px}.help-heading-tools button{min-height:40px}.help-experience #help-iggs-form .help-castle-row{flex-wrap:wrap;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.help-castle-row .help-castle-position{flex-basis:100%}.help-experience .help-castle-row label{flex-basis:calc(100% - 145px)}.help-experience .help-castle-controls{gap:4px}.help-experience #help-bot-list .record-actions-cell{display:flex;flex-wrap:wrap;gap:8px}.help-experience #help-bot-list .record-actions-cell button{min-height:40px}.help-form-dialog{padding:20px}.help-experience .help-expiry-remaining{display:block;margin:8px 0 0}}
.help-detail .page-header,.help-experience .sidebar-footer{display:none}.help-detail #help-heading .help-text{margin:0 0 3px;font-size:12px}.help-detail #help-heading{margin-top:6px}

/* Reseller overview only: retain unavailable products without navigation. */
#overview-products .product-tile[data-reseller-product]:disabled{opacity:.5;cursor:not-allowed;background:#eef1f5;box-shadow:none}

#product-navigation .nav[data-reseller-product]:disabled{opacity:.5;cursor:not-allowed}
#product-navigation .nav[data-reseller-product]{flex-wrap:wrap}
