@font-face{font-family:LauncherCairo;src:url(../../../BuildYourSystem/assets/fonts/Cairo-Regular.ttf);font-weight:400;font-display:swap}@font-face{font-family:LauncherCairo;src:url(../../../BuildYourSystem/assets/fonts/Cairo-Bold.ttf);font-weight:700;font-display:swap}
:root{color-scheme:dark;--bg:#111214;--panel:#151719;--text:#f4f5f7;--muted:#989c9f;--line:#303236;--input:#0a0b0d;--button:#fff;--button-text:#141518;--accent:#6095fa;--hover:#202328;--warn:#edb748;--error:#ff9a90;--good:#45c6aa}html[data-theme=light]{color-scheme:light;--bg:#f7f8fa;--panel:#fff;--text:#192330;--muted:#596574;--line:#d4dae3;--input:#fff;--button:#172c4d;--button-text:#fff;--accent:#155be5;--hover:#e9eef7;--warn:#895c00;--error:#ac302d;--good:#08705b}
*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font:14px/1.5 system-ui,sans-serif}html[lang=ar] body,html[lang=ar] button,html[lang=ar] input,html[lang=ar] select{font-family:LauncherCairo,system-ui,sans-serif}button,a,input,select{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button,a{touch-action:manipulation}button,select,input{border:1px solid var(--line);background:transparent;color:inherit;border-radius:0}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button:hover{background:var(--hover)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,select{padding:8px 12px;min-height:38px}select{background:var(--panel);color:var(--text)}input{background:var(--input);min-width:0}select option{background-color:#1e293b;color:#f8fafc}html[data-theme=light] select option{background-color:#ffffff;color:#0f172a}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.launcher-shell{min-height:100dvh;display:flex;flex-direction:column}.launcher-header{min-height:56px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:12px;padding:0 16px;direction:ltr}.launcher-brand{display:flex;align-items:center;gap:11px;padding-inline-end:18px;min-height:56px;border-right:1px solid var(--line)}.launcher-brand img{width:38px!important;height:38px!important;object-fit:contain;display:block}.launcher-brand strong{font-size:18px;letter-spacing:1px;white-space:nowrap}.header-tab{font-size:10px;letter-spacing:1.5px;font-weight:800;padding:5px 10px;background:var(--button);color:var(--button-text)}.suite-link{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--muted);white-space:nowrap}.header-nav-group{display:flex;align-items:center;gap:4px;margin-inline-end:6px}.header-nav-btn{width:32px;height:32px;min-height:32px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:rgba(148,163,184,0.12);border:1px solid rgba(148,163,184,0.22);color:var(--text);font-size:16px;cursor:pointer;transition:background .15s ease,transform .15s ease}.header-nav-btn:hover{background:rgba(148,163,184,0.25);transform:translateY(-1px)}.header-env-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:0.05em;text-transform:uppercase}.header-env-badge.badge-local{background:rgba(16,185,129,0.15);color:#34d399;border:1px solid rgba(16,185,129,0.35)}.header-env-badge.badge-online{background:rgba(59,130,246,0.15);color:#60a5fa;border:1px solid rgba(59,130,246,0.35)}.header-env-badge .env-dot{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}.header-signin-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 14px;border-radius:8px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff!important;font-size:11px;font-weight:800;letter-spacing:0.04em;text-decoration:none;box-shadow:0 3px 10px rgba(37,99,235,0.35);transition:transform .15s,box-shadow .15s}.header-signin-btn:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(37,99,235,0.5)}.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.view-switch{display:flex}.view-switch button{font-size:10px;letter-spacing:1px;min-height:30px;padding:4px 9px;border:0;color:var(--muted);font-weight:700}.view-switch [aria-pressed=true]{background:var(--button);color:var(--button-text)}.icon-button{font-size:22px;width:42px;height:44px;border:0}.header-profile-avatar{border-radius:8px!important;width:38px!important;height:38px!important;min-width:38px;min-height:38px;padding:0!important;overflow:hidden;border:1.5px solid rgba(59,130,246,0.4)!important;background:rgba(59,130,246,0.15);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.header-profile-avatar img,.account-avatar img{width:100%!important;height:100%!important;object-fit:cover;border-radius:8px!important}.account-avatar{border-radius:8px!important;overflow:hidden}#languageChoice{width:100px;font-size:12px;min-height:38px;flex:none}.launcher-shell>main{padding:20px;flex:1;min-width:0}.catalog-toolbar{display:flex;align-items:center;gap:18px;justify-content:space-between;margin-bottom:26px;flex-wrap:wrap}.state-tabs{display:flex;max-width:100%;overflow:auto;flex:none}.state-tabs button{font-size:10px;font-weight:800;letter-spacing:1.4px;white-space:nowrap;min-height:36px;padding:6px 12px;color:var(--muted)}.state-tabs button+button{border-inline-start:0}.state-tabs [aria-pressed=true]{background:var(--button);color:var(--button-text)}.state-tabs [data-filter=updates] span{color:var(--warn)}.catalog-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.catalog-controls select{font-size:12px}#appSearch{width:200px}.primary-action,.app-primary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;background:var(--button);color:var(--button-text);border:1px solid var(--button);font-size:10px;font-weight:800;letter-spacing:1px;text-align:center}.primary-action:hover,.app-primary:hover{background:var(--text);color:var(--bg);opacity:.9}.connection-note{padding:12px 15px;border:1px solid var(--line);color:var(--muted);margin-bottom:18px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.connection-note button{padding:7px 18px}.app-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-inline-start:1px solid var(--line);border-top:1px solid var(--line)}.app-card{min-width:0;border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;--app-color:#6d99f7}.app-card:nth-child(6n+2){--app-color:#f27758}.app-card:nth-child(6n+3){--app-color:#a186f7}.app-card:nth-child(6n+4){--app-color:#edbd50}.app-card:nth-child(6n+5){--app-color:#39bca9}.app-card:nth-child(6n+6){--app-color:#ee75b0}.app-card-top{display:flex;align-items:center;justify-content:space-between;padding:8px 18px;border-bottom:1px solid var(--line);gap:8px;min-height:40px}.app-index{background:var(--app-color);color:#101114;font:800 10px/1.4 ui-monospace,monospace;letter-spacing:1px;padding:2px 7px}.app-group{font-size:9px;letter-spacing:1.3px;font-weight:700;color:var(--muted)}.app-card-top a{font-size:9px;letter-spacing:1px;color:var(--muted)}.app-card-body{padding:20px 18px 16px;display:flex;flex:1;flex-direction:column;min-height:236px;gap:15px}.app-identity{display:flex;align-items:center;gap:14px;min-height:60px;min-width:0}.app-icon{display:grid;place-items:center;width:56px;height:56px;flex:none;background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important}.app-icon svg{width:46px!important;height:46px!important;display:block;filter:drop-shadow(0 4px 12px rgba(0,0,0,0.4))}.app-identity>div{min-width:0;flex:1}.app-primary-title{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:6px!important;font-size:0.98rem!important;white-space:nowrap!important;margin:0!important;width:100%!important}.app-primary-title span.app-title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-ar-badge{display:inline-block!important;background:rgba(148,163,184,0.16);color:#94a3b8;font-size:0.72rem!important;padding:2px 7px!important;border-radius:5px!important;border:1px solid rgba(148,163,184,0.25);font-weight:700!important;vertical-align:middle;white-space:nowrap!important;word-break:keep-all;flex-shrink:0!important}html[data-theme=light] .app-ar-badge{background:rgba(100,116,139,0.1);color:#334155;border-color:rgba(100,116,139,0.22)}.app-subtitle{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.app-state{font-size:9px;letter-spacing:1px;font-weight:800;text-transform:uppercase;padding:2px 6px;color:var(--accent);border:1px solid var(--line);align-self:flex-start;line-height:1.5;border-radius:4px}.app-state.update{color:var(--warn)}.app-state.ready{color:var(--good)}.app-state.blocked{color:var(--warn)}.app-version{margin:0;font-size:11.5px;color:var(--muted);min-height:18px;direction:ltr;text-align:start}.app-actions{display:flex;align-items:stretch;gap:6px;margin-top:auto}.app-actions .app-primary{flex:1;min-width:0}.app-actions .app-download-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:34px;padding:6px 10px;background:rgba(37,99,235,0.14);color:var(--accent);border:1px solid rgba(59,130,246,0.4);font-size:10px;font-weight:800;letter-spacing:.5px;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}.app-actions .app-download-btn:hover{background:#2563eb;color:#fff;border-color:#2563eb}.app-details{width:38px;min-height:38px;font-size:17px;flex:none}.app-list{border:1px solid var(--line)}.app-list table{border-collapse:collapse;width:100%;text-align:start;table-layout:fixed}.app-list th{font-size:10px;font-weight:800;letter-spacing:1.5px;color:var(--muted);padding:14px 18px;text-align:start;background:rgba(15,23,42,0.45)}html[data-theme=light] .app-list th{background:#f1f5f9}.app-list td{padding:12px 18px;border-top:1px solid var(--line);vertical-align:middle}.app-list th:first-child{width:40%}.app-list th:nth-child(2){width:18%}.app-list th:nth-child(3),.app-list th:nth-child(4){width:11%;text-align:center!important}.app-list th:last-child{width:20%}.app-list .app-icon{width:42px;height:42px}.app-list .app-icon svg{width:34px!important;height:34px!important}.app-list .app-identity{min-height:44px}.app-list .version-cell{font:700 12px ui-monospace,monospace;direction:ltr;text-align:center!important}.app-list .version-badge{display:inline-block;padding:2px 8px;border-radius:6px;background:rgba(148,163,184,0.12);border:1px solid rgba(148,163,184,0.22);color:var(--text)}.empty-state{padding:45px 25px;color:var(--muted);grid-column:1/-1}.launcher-shell>footer{display:flex;align-items:center;gap:20px;justify-content:space-between;border-top:1px solid var(--line);min-height:36px;padding:8px 20px;color:var(--muted);font-size:9px;letter-spacing:1.2px}.launcher-shell>footer nav{display:flex;gap:20px;margin-inline-start:auto}.launcher-shell>footer button{border:0;padding:0;color:inherit;font-size:inherit;letter-spacing:inherit}.toast{position:fixed;bottom:45px;left:50%;transform:translateX(-50%);max-width:min(620px,calc(100% - 28px));width:max-content;padding:15px 22px;border:1px solid var(--line);background:var(--panel);box-shadow:0 12px 40px #0004;z-index:20;font-size:13px}dialog{background:var(--bg);color:var(--text);border:1px solid var(--line);padding:32px;width:min(680px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;box-shadow:0 25px 120px #0005;line-height:1.7}dialog::backdrop{background:#06090f99;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;gap:20px;margin-bottom:28px}.dialog-heading img{width:44px;height:44px;object-fit:contain}.dialog-heading h2{font-size:28px;margin:0;line-height:1.25}.dialog-heading p{margin:3px 0 0;font:700 11px ui-monospace,monospace;letter-spacing:2px;color:var(--muted)}.dialog-close{width:40px;height:40px;font-size:25px;flex:none;margin-inline-start:auto;border:0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:22px}.setting-row select{min-width:190px}.setting-row label{font-size:16px}dialog h3{font-size:11px;letter-spacing:2px;color:var(--muted);margin:32px 0 18px}.check-row{display:flex;align-items:center;gap:13px;margin:13px 0;font-size:16px;min-height:32px}.check-row input{width:18px;height:18px;min-height:0;accent-color:var(--accent);flex:none}.setting-note{font-size:12px;color:var(--muted)}.appearance-options{display:flex;flex-wrap:wrap}.appearance-options button{padding:12px 17px;font-size:10px;letter-spacing:1.4px;font-weight:800}.appearance-options [aria-pressed=true]{background:var(--button);color:var(--button-text)}.support-links{display:flex;gap:12px;flex-wrap:wrap}.support-links a{padding:9px 13px;border:1px solid var(--line);font-size:12px}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:30px}.dialog-actions>button,.dialog-actions>a{padding:9px 15px;min-height:44px;border:1px solid var(--line)}#licenseForm>label{display:block;margin-bottom:10px}#licenseCode{width:100%}#licenseMessage{min-height:26px;color:var(--error)}.account-summary{display:flex;align-items:center;gap:14px}.account-avatar{background:var(--accent);color:white;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:20px}.account-summary strong,.account-summary small{display:block;overflow-wrap:anywhere}.account-summary small{color:var(--muted)}.account-data{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;font-size:13px}.account-data dt{color:var(--muted)}.account-data dd{margin:0;overflow-wrap:anywhere}.account-dialog h3{margin-top:20px}.account-licenses{list-style:none;padding:0;font-size:12px;max-height:200px;overflow:auto}.account-licenses li{padding:10px 0;border-bottom:1px solid var(--line)}#appDetailsBody h2{font-size:26px;margin:15px 0}.details-access{padding:16px;border:1px solid var(--line);margin:18px 0}.details-access p{margin:5px 0}.details-access a{color:var(--accent);display:inline-block;margin-top:12px}.download-item{padding:18px;border:1px solid var(--line);margin-bottom:18px}.download-item progress{width:100%;height:7px;accent-color:var(--accent)}.download-item button{padding:8px 15px;margin-top:8px}
@media(max-width:1750px){.app-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(min-width:2300px){.app-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.app-card-body{min-height:280px;padding:26px 24px}.app-card h2{font-size:25px}.app-icon{width:68px;height:68px}.app-icon svg{width:44px;height:44px}.app-identity{gap:18px}.app-subtitle{font-size:14px}.app-version{font-size:14px}.app-primary{min-height:42px}}
@media(max-width:1200px){.app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-toolbar{gap:16px}.catalog-controls{flex:1;justify-content:flex-end}.app-list th:first-child{width:35%}.app-list th:nth-child(2){width:25%}.app-list th:last-child{width:22%}.suite-link{display:none}.app-list th,.app-list td{padding:12px}}
@media(max-width:780px){.launcher-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;min-height:50px}.header-nav-group{display:flex;gap:4px;order:1}.launcher-brand{border:0;padding:0;min-height:36px;gap:7px;order:2}.launcher-brand strong{font-size:14px}.launcher-brand img{width:28px!important;height:28px!important}.header-tab,.suite-link{display:none!important}#headerEnvBadge{order:3;padding:2px 7px;font-size:10px}.header-actions{order:4;display:flex;align-items:center;gap:6px;margin-inline-start:auto}.view-switch{display:none}#languageChoice{width:84px;min-height:34px;font-size:11px;padding:4px 6px}.icon-button{width:34px;height:34px;min-width:34px;font-size:18px}.header-signin-btn{padding:5px 10px;font-size:10px}.launcher-shell>main{padding:14px}.catalog-toolbar{display:block;margin-bottom:20px}.state-tabs{width:100%;margin-bottom:14px}.state-tabs button{flex:1;min-height:44px;font-size:9px;padding:7px 10px;letter-spacing:.5px}.catalog-controls{gap:8px;display:grid;grid-template-columns:1fr 1fr}.catalog-controls select{width:100%;min-width:0;min-height:44px}.catalog-controls #appSearch{width:100%;grid-column:1/-1;min-height:44px}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-card-top{padding:7px 12px}.app-card-top a{display:none}.app-card-body{padding:18px 12px 12px;min-height:256px;gap:14px}.app-identity{align-items:flex-start;flex-direction:column;gap:12px}.app-card h2{font-size:18px}.app-icon{width:48px;height:48px}.app-icon svg{width:31px;height:31px}.app-subtitle{font-size:11px}.app-primary,.app-details{min-height:44px}.app-state{font-size:8px;letter-spacing:.3px}.app-list{overflow:auto}.app-list table{min-width:740px}.launcher-shell>footer{flex-wrap:wrap;font-size:8px;gap:10px;padding:12px 14px}.launcher-shell>footer nav{gap:14px}#platformName{display:none}dialog{padding:22px}.dialog-heading{gap:14px}.dialog-heading h2{font-size:25px}.setting-row{gap:10px}.setting-row select{min-width:140px;max-width:55%;min-height:44px}.setting-row label,.check-row{font-size:14px}.check-row{min-height:44px}.appearance-options button{min-height:44px;padding:10px 13px}.account-dialog{max-width:400px}.account-data{grid-template-columns:1fr}.account-data dd{margin-top:-6px}.connection-note{font-size:12px}}
@media(max-width:390px){.launcher-brand strong{font-size:12px}.launcher-brand img{width:23px!important;height:23px!important}.launcher-header{gap:4px;padding:6px 9px}.icon-button{width:32px}.header-actions>a{font-size:11px}#languageChoice{font-size:11px;padding:7px}.app-card h2{font-size:16px}.app-group{font-size:8px}.app-actions{gap:5px}.app-primary{font-size:9px;padding:7px}.app-details{width:30px}.app-state{font-size:7.5px}.launcher-shell>main{padding:10px}.state-tabs button{font-size:8px;padding:7px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
#accountControl{border-radius:8px!important;color:var(--accent);font-weight:800}
@media(max-width:780px){.app-state{font-size:11px;line-height:1.65;white-space:normal;letter-spacing:0}.app-group{font-size:9px}.header-actions>.icon-button{width:44px;min-width:44px;height:44px}.app-details{width:44px;min-width:44px}.app-primary{font-size:11px}.app-subtitle{font-size:12px}}
@media(max-width:360px){.launcher-brand strong{display:none}.launcher-brand{min-width:36px}.launcher-brand img{width:30px;height:30px}.app-grid{grid-template-columns:minmax(0,1fr)}.app-identity{flex-direction:row;align-items:center}.app-card-body{min-height:220px}.app-card h2{font-size:20px}.app-state{font-size:12px}.app-primary{font-size:12px}.state-tabs{display:grid;grid-template-columns:1fr 1fr}.state-tabs button{font-size:10px}}

/* Transfer status uses actual native byte counts; OS confirmation remains explicit. */
.download-item{position:relative;max-width:740px;margin:16px auto;padding:18px 20px;border:1px solid var(--line,#38404d);border-radius:18px;background:var(--panel,#16191e);box-shadow:0 8px 28px #0002}.download-heading{display:flex;align-items:center;gap:12px}.download-heading>div{min-width:0;flex:1}.download-heading p{margin:5px 0 0;font-size:12px;line-height:1.6;white-space:normal}.download-icon{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;background:#3682ff18;color:#6c9fff}.download-icon svg{width:27px;height:27px}.download-percent{font-size:24px;font-variant-numeric:tabular-nums}.download-item progress{display:block;width:100%;height:8px;margin:18px 0 13px;border:0;border-radius:8px;overflow:hidden;accent-color:#377dff}.download-item progress::-webkit-progress-bar{background:#ffffff19;border-radius:8px}.download-item progress::-webkit-progress-value{background:linear-gradient(90deg,#3178ed,#5dd5b3);border-radius:8px;transition:width .15s linear}.download-metrics{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;font-size:11px;color:var(--muted,#a5adba)}.download-metrics span{display:flex;gap:7px}.download-metrics b{font-weight:600;color:var(--text,#ecf1fa);font-variant-numeric:tabular-nums}.download-item .download-cancel{display:block;margin:14px 0 0 auto;padding:7px 14px;border-radius:9px;font-size:11px;min-height:32px}.download-item:dir(rtl) .download-cancel{margin-left:0;margin-right:auto}[data-theme=light] .download-item{background:#fff}[data-theme=light] .download-metrics b{color:#1b293c}[data-theme=light] .download-item progress::-webkit-progress-bar{background:#e8edf5}@media(max-width:480px){.download-item{padding:14px;margin:10px 0}.download-heading{gap:9px}.download-percent{font-size:20px}.download-metrics{gap:9px;font-size:10px}}

#accountControl img,.account-avatar img,#accountControl,.account-avatar{width:100%;height:100%;object-fit:cover;border-radius:8px!important}#accountControl{overflow:hidden;padding:0}.account-avatar{overflow:hidden}.profile-edit-button{margin-top:14px;width:100%;border-radius:10px;padding:11px}

#downloadStatus:not(:empty){position:fixed;z-index:40;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(740px,calc(100vw - 24px));max-height:calc(100dvh - 28px);overflow:auto}#downloadStatus .download-item{margin:0;box-shadow:0 12px 48px #10264540}

.header-telegram-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:10px;border:1px solid rgba(42,171,238,0.45);background:linear-gradient(135deg,#2AABEE 0%,#229ED9 100%);color:#fff!important;font-weight:700;font-size:0.8rem;cursor:pointer;box-shadow:0 4px 14px rgba(42,171,238,0.35);transition:transform .15s ease,filter .15s ease}
.header-telegram-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}
.header-signin-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 14px;border-radius:8px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff!important;font-size:12px;font-weight:700;text-decoration:none;letter-spacing:.5px;transition:transform .15s ease,filter .15s ease;border:1px solid rgba(255,255,255,0.18);white-space:nowrap}
.header-signin-btn:hover{transform:translateY(-1px);filter:brightness(1.1)}
.header-nav-group{display:inline-flex;align-items:center;gap:4px}
.header-nav-btn{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:6px;background:rgba(148,163,184,0.12);border:1px solid rgba(148,163,184,0.22);color:var(--text);font-size:16px;cursor:pointer;transition:all .15s ease}
.header-nav-btn:hover{background:rgba(148,163,184,0.22);color:var(--accent)}
.header-env-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.header-env-badge.badge-local{background:rgba(16,185,129,0.16);color:#10b981;border:1px solid rgba(16,185,129,0.35)}
.header-env-badge.badge-online{background:rgba(59,130,246,0.16);color:#3b82f6;border:1px solid rgba(59,130,246,0.35)}
.env-dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.launcher-brand img{width:38px!important;height:38px!important;object-fit:contain}
.app-primary-title{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:6px!important;font-size:0.96rem!important;margin:0!important;white-space:nowrap!important;width:100%!important}
.app-ar-badge{display:inline-block!important;background:rgba(148,163,184,0.16);color:#94a3b8;font-size:0.72rem!important;padding:2px 7px!important;border-radius:5px!important;border:1px solid rgba(148,163,184,0.25);font-weight:700!important;vertical-align:middle;white-space:nowrap!important;word-break:keep-all;flex-shrink:0!important}
html[data-theme=light] .app-ar-badge{background:rgba(100,116,139,0.1);color:#334155;border-color:rgba(100,116,139,0.22)}
.app-icon,.app-card .app-icon,.app-list .app-icon,#appDetails .app-icon{background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important}
.continuity-hub{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:12px 0 16px}
.continuity-card{background:rgba(15,23,42,0.65);border:1px solid rgba(148,163,184,0.18);border-radius:0!important;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
html[data-theme=light] .continuity-card{background:rgba(255,255,255,0.85);border-color:rgba(203,213,225,0.8)}
.continuity-head{display:flex;align-items:center;gap:10px}
.continuity-icon{font-size:1.4rem}
.continuity-badge{display:inline-block;font-size:0.72rem;padding:2px 6px;border-radius:0!important;background:rgba(59,130,246,0.15);color:#60a5fa;font-weight:700;margin-inline-start:6px}
.local-badge{background:rgba(16,185,129,0.15);color:#34d399}
.update-badge{background:rgba(245,158,11,0.15);color:#fbbf24}
.continuity-desc{font-size:0.78rem;color:#94a3b8;margin:0;line-height:1.4}
html[data-theme=light] .continuity-desc{color:#64748b}
.continuity-storage-meter{display:flex;flex-direction:column;gap:4px;margin-top:2px}
.meter-bar{width:100%;height:6px;background:rgba(148,163,184,0.2);border-radius:0!important;overflow:hidden}
.meter-bar span{display:block;height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:0!important}
.meter-labels{display:flex;justify-content:space-between;font-size:0.74rem;color:#94a3b8;font-weight:700}
.app-card-status-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0 2px;width:100%}
.app-card-status-line .app-state{margin:0;flex:none}
.app-card-status-line .app-version{margin:0;font-size:11px;color:var(--muted);white-space:nowrap;text-align:end}
.account-env-badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;letter-spacing:.05em;text-transform:uppercase}
.account-env-badge.badge-local{background:rgba(16,185,129,0.18);color:#34d399;border:1px solid rgba(16,185,129,0.35)}
.account-env-badge.badge-online{background:rgba(59,130,246,0.18);color:#60a5fa;border:1px solid rgba(59,130,246,0.35)}
.category-group-section{grid-column:1/-1;width:100%;margin-bottom:12px}
.category-group-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:rgba(148,163,184,0.06);border:1px solid var(--line);border-bottom:0}
.category-group-title{font-size:13px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--text);margin:0}
.category-group-count{font-size:11px;color:var(--muted);font-weight:700}
.category-group-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-inline-start:1px solid var(--line);border-top:1px solid var(--line)}
@media(max-width:1750px){.category-group-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.category-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.category-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .app-grid,.category-group-grid{grid-template-columns:1fr!important}
 .app-card{border-inline-start:1px solid var(--line)}
 .app-card-body{min-height:auto!important;padding:14px 16px!important;gap:12px!important}
 .app-identity{flex-direction:row!important;align-items:center!important;gap:14px!important;min-height:52px!important}
 .app-icon{width:48px!important;height:48px!important}
 .app-icon svg{width:40px!important;height:40px!important}
}
.app-list table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
.app-list th{font-size:11px!important;font-weight:800!important;letter-spacing:1px!important;padding:12px 16px!important;text-align:start!important;background:rgba(15,23,42,0.5)!important}
html[data-theme=light] .app-list th{background:#f1f5f9!important}
.app-list td{padding:10px 16px!important;border-top:1px solid var(--line)!important;vertical-align:middle!important}
.app-list th:first-child,.app-list td:first-child{width:36%!important}
.app-list th:nth-child(2),.app-list td:nth-child(2){width:18%!important}
.app-list th:nth-child(3),.app-list td:nth-child(3){width:13%!important;text-align:center!important}
.app-list th:nth-child(4),.app-list td:nth-child(4){width:13%!important;text-align:center!important}
.app-list th:last-child,.app-list td:last-child{width:20%!important;text-align:end!important}
.app-list .version-cell{text-align:center!important;font:700 12px ui-monospace,monospace!important;direction:ltr!important}
.app-list .version-badge{display:inline-block!important;min-width:60px!important;padding:4px 10px!important;border-radius:4px!important;background:rgba(148,163,184,0.12)!important;border:1px solid rgba(148,163,184,0.22)!important;color:var(--text)!important;font-size:11px!important}

/* ── Suite Launcher Refinement: Square buttons, 32px height, enlarged logo, tight cards ── */
.launcher-brand img{width:44px!important;height:44px!important;object-fit:contain!important}
.header-signin-btn{height:32px!important;min-height:32px!important;border-radius:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 14px!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important}
#accountControl,.header-profile-avatar{height:32px!important;min-height:32px!important;width:32px!important;min-width:32px!important;border-radius:0!important;padding:0!important;display:inline-grid!important;place-items:center!important}
#accountControl img,.header-profile-avatar img,.account-avatar img{border-radius:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
.header-nav-btn{width:32px!important;height:32px!important;min-height:32px!important;border-radius:0!important;font-size:15px!important}
.view-switch button{height:32px!important;min-height:32px!important;border-radius:0!important;padding:0 12px!important;font-size:10px!important;font-weight:800!important}
.header-lang-btn{position:relative!important;height:32px!important;min-height:32px!important;border-radius:0!important;display:inline-flex!important;align-items:center!important;border:1px solid var(--line)!important;background:var(--panel)!important;padding:0 6px 0 8px!important;gap:5px!important;cursor:pointer!important;user-select:none!important}
.header-lang-btn select,#languageChoice{border:none!important;background:transparent!important;height:100%!important;min-height:30px!important;padding:0 4px!important;font-size:11px!important;font-weight:700!important;cursor:pointer!important;color:inherit!important;outline:none!important;width:auto!important}
/* custom-lang select retained */
.lang-current-label{font-size:11px!important;font-weight:700!important;color:var(--text)!important;padding:0 4px!important;display:inline-flex!important;align-items:center!important;gap:4px!important}
.lang-custom-menu{position:absolute!important;top:calc(100% + 4px)!important;right:0!important;min-width:128px!important;background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:0 10px 28px rgba(0,0,0,0.45)!important;z-index:999!important;display:flex;flex-direction:column!important;padding:4px!important}
.lang-custom-menu[hidden]{display:none!important}
.lang-custom-option{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;padding:7px 10px!important;border:none!important;background:transparent!important;color:var(--text)!important;font-size:12px!important;font-weight:700!important;text-align:start!important;cursor:pointer!important;transition:background .12s ease,color .12s ease!important}
.lang-custom-option:hover,.lang-custom-option:focus-visible{background:#2563eb!important;color:#ffffff!important;outline:none!important}
.lang-custom-option.is-active{border-inline-start:2px solid #2563eb!important}
.lang-globe-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;color:var(--muted)!important}
.header-actions .icon-button{width:32px!important;height:32px!important;min-height:32px!important;min-width:32px!important;border-radius:0!important;font-size:16px!important;display:inline-grid!important;place-items:center!important;border:1px solid var(--line)!important}

/* Card Icons & Spacing: Large 64px 3D icons, no unused gap under update status */
.app-identity{gap:14px!important;min-height:64px!important;align-items:center!important}
.app-icon{width:64px!important;height:64px!important;min-width:64px!important;flex:none!important;display:grid!important;place-items:center!important}
.app-icon svg{width:56px!important;height:56px!important;display:block!important;filter:none!important}
.app-card-body{padding:16px 16px 14px!important;min-height:auto!important;gap:8px!important}
.app-card-status-line{margin:4px 0 0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important}
.app-actions{margin-top:8px!important;display:flex!important;align-items:stretch!important;gap:6px!important}
.app-primary{min-height:34px!important;padding:6px 12px!important}

/* App title single-line guarantee with ellipsis and badge */
.app-primary-title{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;font-size:0.90rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;width:100%!important}
.app-primary-title > span:first-child,.app-primary-title span.app-title-text{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;flex:1 1 auto!important;min-width:0!important}
.app-ar-badge{flex-shrink:0!important;font-size:0.70rem!important;padding:1px 6px!important;line-height:1.3!important;white-space:nowrap!important;border-radius:3px!important}
.app-card.is-installed{box-shadow:none!important;border:1px solid #22c55e!important;position:relative!important}
.app-card.is-installed::before{display:none!important;content:none!important}
.app-list table{table-layout:fixed!important;width:100%!important;border-collapse:collapse!important}
.app-list td{vertical-align:middle!important}
.app-list th:nth-child(3),.app-list td:nth-child(3),.app-list th:nth-child(4),.app-list td:nth-child(4){text-align:center!important;width:12%!important}
.app-list .version-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:64px!important;padding:3px 8px!important;font-size:11px!important;font-weight:700!important;border-radius:4px!important}

/* 2000ms App Launch Modal */
.launcher-launch-modal{padding:0!important;border:1px solid rgba(56,189,248,0.35)!important;border-radius:24px!important;background:rgba(15,23,42,0.96)!important;color:#f8fafc!important;max-width:820px!important;width:90vw!important;box-shadow:0 25px 70px rgba(0,0,0,0.75),0 0 50px rgba(56,189,248,0.25)!important;overflow:hidden!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important}
.launcher-launch-modal::backdrop{background:rgba(2,6,23,0.82)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}
.launch-modal-card{display:grid;grid-template-columns:310px 1fr;min-height:440px}
@media(max-width:680px){.launch-modal-card{grid-template-columns:1fr}.launch-modal-poster{display:none!important}}
.launch-modal-poster{background:linear-gradient(160deg,#07101f 0%,#0c182f 60%,#172554 100%);padding:30px 24px;display:flex;flex-direction:column;justify-content:space-between;border-inline-end:1px solid rgba(56,189,248,0.2);position:relative;overflow:hidden}
.launch-modal-poster::before{content:"";position:absolute;top:-40px;left:-40px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,0.25) 0%,transparent 70%);filter:blur(25px);pointer-events:none}
.launch-suite-badge{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#38bdf8;letter-spacing:0.5px}
.launch-suite-badge img{width:22px;height:22px;object-fit:contain}
.launch-hero-icon{margin:auto 0;display:flex;align-items:center;justify-content:center}
.launch-hero-icon svg,.launch-hero-icon img{width:120px!important;height:120px!important;filter:drop-shadow(0 14px 28px rgba(0,0,0,0.5)) drop-shadow(0 0 35px rgba(56,189,248,0.4))!important}
.launch-poster-footer{display:flex;align-items:center;justify-content:space-between;font-size:11px}
.launch-group-sub{color:#94a3b8;font-weight:700}
.launch-ver-pill{padding:3px 8px;border-radius:999px;background:rgba(56,189,248,0.15);color:#38bdf8;font-weight:800;border:1px solid rgba(56,189,248,0.35)}
.launch-modal-content{padding:34px 30px;display:flex;flex-direction:column;justify-content:space-between;gap:16px}
.launch-corp-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.launch-corp-name{font-size:11px;font-weight:900;color:#38bdf8;letter-spacing:1.5px}
.launch-pro-tag{font-size:10px;font-weight:800;color:#cbd5e1;background:rgba(30,41,59,0.8);padding:3px 8px;border-radius:6px;border:1px solid rgba(148,163,184,0.25)}
.launch-app-name{font-size:26px!important;font-weight:900!important;color:#ffffff!important;margin:0 0 6px!important;letter-spacing:-0.5px!important}
.launch-app-desc{font-size:13px!important;color:#94a3b8!important;margin:0!important;line-height:1.6!important}
.launch-progress-wrap{margin:10px 0}
.launch-bar-track{height:8px;border-radius:999px;background:rgba(30,41,59,0.8);overflow:hidden;border:1px solid rgba(56,189,248,0.25);box-shadow:inset 0 2px 4px rgba(0,0,0,0.4)}
.launch-bar-fill{height:100%;width:0%;background:linear-gradient(90deg,#0284c7 0%,#38bdf8 70%,#a5f3fc 100%);box-shadow:0 0 15px rgba(56,189,248,0.8);border-radius:999px;transition:width 2s cubic-bezier(0.2,0.8,0.2,1)}
.launch-status-row{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:12px}
#launchStatusText{color:#7dd3fc;font-weight:700}
.launch-wait-tag{color:#94a3b8;font-size:11px;font-family:'JetBrains Mono',Consolas,monospace}
.launch-photoshop-credits{border-top:1px solid rgba(255,255,255,0.08);padding-top:10px;display:flex;flex-direction:column;gap:6px}
.launch-ps-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.launch-ps-key{display:block;font-size:10px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:0.04em}
.launch-ps-val{display:block;font-size:11.5px;font-weight:700;color:#e2e8f0;margin-top:2px}
.launch-ps-patent{font-size:10.5px;line-height:1.55;color:#64748b;margin:0}
.launch-legal-footer{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#64748b;padding-top:8px;border-top:1px solid rgba(148,163,184,0.15)}
.launch-legal-footer a{color:#38bdf8!important;text-decoration:none!important}



/* Icon-only download and uninstall buttons */
.app-actions .app-download-icon-only{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;border-radius:0!important;box-sizing:border-box!important}
.app-actions .app-uninstall-btn{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important;border-radius:0!important;background:rgba(239,68,68,0.12)!important;border:1px solid rgba(239,68,68,0.35)!important;color:#ef4444!important;cursor:pointer!important;flex:none!important;transition:all .15s ease!important;box-sizing:border-box!important}
.app-actions :is(.app-download-icon-only,.app-uninstall-btn) svg{width:18px!important;height:18px!important;flex:none!important}
.app-actions .app-uninstall-btn:hover{background:#ef4444!important;color:#ffffff!important;transform:translateY(-1px)!important;box-shadow:0 4px 12px rgba(239,68,68,0.35)!important}
