.language-control{margin-left:auto}.language-control select{font-size:13px;min-height:44px;padding:8px;max-width:110px}.nav-icon{display:none}.range-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.cloud-shell input[type=range]{display:block;width:100%;margin:20px 0 8px;accent-color:var(--accent);padding:0}.cloud-header .brand{margin-right:0}.cloud-header .theme-control{margin-left:auto}.cloud-header .language-control{margin-left:0}.cloud-header nav{grid-template-columns:repeat(3,minmax(0,1fr))}.slot-summary details{font-size:12px}.slot-summary strong{display:block}.slot-summary .actions{margin-top:10px}.slot-summary details summary{margin-top:14px}
html.standalone[data-theme=dark]{--page:#1c1c1e;--surface:#20282a;--raised:#262628;--soft:#103d40;--line:#3a3a3c;--text:#f5f5f7;--muted:#a2a8aa;--accent:#40c5cb;--button:#12575c;--on-button:#e4fbfc;background:var(--page);color:var(--text);color-scheme:dark}
/* Standalone WebKit can under-report dvh and the fixed-position viewport.
   Anchor overlays to a normal-flow shell using the large viewport instead. */
.standalone{height:100vh;height:100lvh;overflow:hidden}
.standalone{--nav-bottom:clamp(8px,env(safe-area-inset-bottom),16px)}
.standalone body{background:var(--page);margin:0;position:relative;height:100%;overflow:hidden;display:block}
.standalone #app{height:100%;padding-bottom:calc(100px + var(--nav-bottom));min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;position:relative;overflow-anchor:none}
.standalone .cloud-shell{position:relative;max-width:760px;padding:env(safe-area-inset-top) 22px 24px}
.standalone .cloud-header{border:0;margin:0;padding:14px 0 8px;min-height:66px;justify-content:flex-end}
.standalone .cloud-header>.brand,.standalone .cloud-header>.theme-control,.standalone .cloud-header>.logout{display:none}
.standalone .cloud-header>.language-control{margin-left:auto}.standalone .cloud-header>.language-control select{border-radius:22px;background:#303033;color:var(--text);border:1px solid #444448}
.standalone .nav-icon{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.standalone .cloud-heading{margin:20px 0 28px}.standalone .cloud-heading .eyebrow{display:none}.standalone .cloud-heading h1{font-size:38px;font-weight:750;letter-spacing:-1px}.standalone .cloud-heading p{font-size:14px;line-height:1.5}
.standalone .library-toolbar{margin:0 0 16px;align-items:flex-end}
.upload-plus{display:none}
.standalone .library-toolbar .ipa-upload{position:absolute;top:calc(14px + env(safe-area-inset-top));left:22px;height:50px;width:50px;min-height:50px;padding:0;border-radius:50%;background:#303033;border:1px solid #444448;display:grid;place-items:center;box-sizing:border-box;line-height:1}
.standalone .ipa-upload>span{display:none}
.standalone .upload-plus{display:block;width:28px;height:28px;fill:none;stroke:#f5f5f7;stroke-width:1.7;stroke-linecap:round;pointer-events:none}
.standalone .library-toolbar>button{color:var(--accent);border:0;background:transparent;padding:8px 0}
.standalone .slot-summary{background:#103d40;border:0;border-radius:22px;padding:16px 18px;margin-bottom:24px}.standalone .slot-summary .actions button{border-color:#28565a;background:#16474b;color:#b8edef}.standalone .slot-summary details summary{color:#a4d1d3}
.standalone .app-list{background:transparent;border:0;padding:0;box-shadow:none}
.standalone .app-list .app-row{background:#103d40;border:0;border-radius:24px;margin:0 0 14px;padding:18px;gap:14px}
.standalone .app-icon{width:60px;height:60px;border-radius:15px}.standalone .app-text h3{font-size:19px}.standalone .app-text p{font-size:12px;color:#a0c4c6}.standalone .app-text .expiry{color:#c6e9eb;font-size:13px}
.standalone .app-row .actions button{border-radius:18px;border-color:#28565a;background:#174b50;color:#d3f4f5;font-size:12px;min-height:38px}
.standalone .app-row .actions button.primary{background:#23646a;color:#fff}.standalone .cloud-shell footer{display:none}
.standalone .transfer-dock{position:absolute;bottom:calc(96px + var(--nav-bottom));max-width:700px}.standalone #toast{position:absolute;bottom:calc(106px + var(--nav-bottom));left:50%}

.standalone .cloud-heading p{display:none}.standalone .cloud-shell .library-toolbar>button:not(.primary):not(.button-link){background:transparent;border:0;color:var(--accent)}
.standalone .cloud-heading h1{font-size:36px}.standalone .cloud-heading{margin:20px 0 20px}.standalone .library-toolbar{margin:0 0 8px}.standalone .slot-summary{margin-bottom:16px;padding:14px 16px}.standalone .slot-summary .actions{margin-top:4px}.standalone .slot-summary details summary{margin-top:8px}

/* A single viewport-level bar survives route changes and content height changes. */
.app-navigation[hidden]{display:none!important}
.app-navigation{display:none}
.standalone .app-navigation{position:absolute;left:50%;transform:translateX(-50%);bottom:var(--nav-bottom);z-index:25;width:calc(100% - 32px);max-width:700px;margin:0;display:grid;box-sizing:border-box;flex-shrink:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:6px;border:1px solid rgba(255,255,255,.24);border-radius:40px;background:linear-gradient(155deg,rgba(255,255,255,.14),rgba(255,255,255,.035) 46%,rgba(125,207,211,.07)),rgba(36,39,42,.68);-webkit-backdrop-filter:blur(28px) saturate(1.65);backdrop-filter:blur(28px) saturate(1.65);box-shadow:inset 0 1px 1px rgba(255,255,255,.25),inset 0 -1px 1px rgba(255,255,255,.06),0 12px 36px rgba(6,17,20,.3);isolation:isolate;overflow-anchor:none}
.standalone .app-navigation::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 17% 0%,rgba(255,255,255,.12),transparent 52%);z-index:0}
.glass-track{position:absolute;inset:6px;z-index:0;pointer-events:none}
.glass-selection{display:block;width:20%;height:100%;border-radius:32px;border:1px solid rgba(221,255,255,.16);background:linear-gradient(145deg,rgba(224,255,255,.17),rgba(96,185,194,.08)),rgba(14,34,37,.28);box-shadow:inset 0 1px 1px rgba(255,255,255,.17),0 3px 10px rgba(7,24,27,.16);transition:transform 420ms cubic-bezier(.22,1,.36,1);will-change:transform}
[data-active=library] .glass-selection{transform:translateX(0)}[data-active=catalog] .glass-selection{transform:translateX(100%)}[data-active=auto] .glass-selection{transform:translateX(200%)}[data-active=account] .glass-selection{transform:translateX(300%)}[data-active=guide] .glass-selection{transform:translateX(400%)}
.standalone .app-navigation a{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:64px;padding:5px 1px;border-radius:32px;font-size:10px;line-height:1.15;font-weight:550;text-align:center;color:rgba(245,249,251,.78);transition:color 220ms ease,transform 220ms cubic-bezier(.2,.8,.2,1);touch-action:manipulation}
.standalone .app-navigation a[aria-current=page]{color:#77e0e3}
.standalone .app-navigation .nav-icon{width:25px;height:25px;filter:drop-shadow(0 1px 1px rgba(0,0,0,.18));transition:transform 320ms cubic-bezier(.22,1,.36,1),filter 220ms ease}
.standalone .app-navigation a[aria-current=page] .nav-icon{transform:translateY(-1px) scale(1.07);filter:drop-shadow(0 1px 5px rgba(98,228,230,.22))}
.standalone .app-navigation a:active{transform:scale(.93)}
.standalone .app-navigation a:focus-visible{outline:2px solid #8ee7e9;outline-offset:-3px}
.standalone .app-guide{max-width:none;font-size:15px;line-height:1.65;padding-bottom:24px}
.standalone .app-guide .cloud-heading p{display:block}
.standalone .app-guide .cloud-heading h1{font-size:32px}
.standalone .app-guide .setup-step{scroll-margin-top:20px}
.standalone main{overflow-anchor:none}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.standalone .app-navigation{background:#30383bed}}
@media(prefers-reduced-motion:reduce){.glass-selection,.standalone .app-navigation a,.standalone .app-navigation .nav-icon{transition:none!important}.standalone .app-navigation a:active{transform:none}}

/* Profile selection uses the existing app shell and its scroll container. */
.profile-screen{max-width:540px;margin:24px auto 60px}.profile-account{overflow-wrap:anywhere}.profile-list{display:grid;gap:10px;margin:28px 0 18px}.cloud-shell .profile-choice{width:100%;padding:16px;text-align:left;justify-content:flex-start;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:18px;color:var(--text);font-size:18px;transition:background 180ms,transform 180ms}.profile-choice:hover{background:var(--soft)}.profile-choice:active{transform:scale(.985)}.profile-avatar{display:grid;place-items:center;flex-shrink:0;width:52px;height:52px;border-radius:17px;background:var(--soft);color:var(--accent);font-size:18px}.profile-choice svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;margin-left:auto;flex-shrink:0}.profile-new{width:100%;gap:12px}.profile-new>span{font-size:25px;font-weight:400}.profile-form{margin-top:22px}.profile-form h2{margin-bottom:20px}.profile-form input{width:100%}.profile-switch{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standalone .cloud-header>.profile-switch{display:none}.standalone .profile-screen{margin:16px auto 24px}.standalone .profile-screen .cloud-heading p{display:block}.standalone .profile-form{background:var(--soft);border:0}.standalone .profile-choice{background:var(--soft)}
html.standalone[data-theme=light]{--page:#f1f5f3;--surface:#fff;--raised:#e3ebe7;--soft:#dfeeea;--line:#c8d9d2;--text:#19302e;--muted:#5c7570;--accent:#087d80;--button:#146b6e;--on-button:#fff;color-scheme:light;background:var(--page);color:var(--text)}
.standalone[data-theme=light] .cloud-header>.language-control select,.standalone[data-theme=light] .library-toolbar .ipa-upload{background:#fff;color:var(--text);border-color:var(--line)}.standalone[data-theme=light] .upload-plus{stroke:var(--text)}.standalone[data-theme=light] .slot-summary,.standalone[data-theme=light] .app-list .app-row{background:var(--soft)}.standalone[data-theme=light] .app-text p,.standalone[data-theme=light] .app-text .expiry{color:var(--muted)}.standalone[data-theme=light] .app-row .actions button{background:#c8e1da;border-color:var(--line);color:var(--text)}.standalone[data-theme=light] .app-row .actions button.primary{background:var(--button);color:#fff}.standalone[data-theme=light] .slot-summary details summary{color:#276e67}.standalone[data-theme=light] .app-navigation{background:linear-gradient(155deg,#ffffffb8,#edf8f199),#e1ece5b3;border-color:#ffffffc9;box-shadow:inset 0 1px 1px #fff,0 10px 30px #233e2f21}.standalone[data-theme=light] .app-navigation a{color:#3a5a54}.standalone[data-theme=light] .app-navigation a[aria-current=page]{color:#006a6f}.standalone[data-theme=light] .glass-selection{background:#baded177;border-color:#ffffffc9;box-shadow:inset 0 1px 1px #fff,0 3px 10px #173f2821}

.profile-label{display:grid;gap:5px}.profile-label small{font-size:12px;font-weight:400;color:var(--muted)}
.profile-item{display:grid;gap:4px}.profile-manage{display:flex;justify-content:flex-end;gap:8px}.profile-manage button{font-size:13px;padding:7px 12px}.transfer-title{font-variant-numeric:tabular-nums;position:relative;padding-right:34px}.transfer-cancel{position:absolute;right:0;top:-6px;width:32px;height:32px;padding:0!important;border:0!important;background:transparent!important;color:inherit;font-size:26px;line-height:1;cursor:pointer}.transfer-hint{font-size:12px;opacity:.75;margin:7px 0 0}.catalog-note{font-size:13px;line-height:1.5}
@media(max-width:600px){.transfer-title{flex-wrap:wrap;gap:3px}.transfer-title strong,.transfer-title span{flex-basis:100%}.transfer-title span{white-space:normal;flex-shrink:1}.transfer-cancel{top:0}}

/* Profile controls stay in one card; appearance lives at its lower right. */
.profile-card .profile-theme{display:flex;justify-content:flex-end;margin-top:24px}
.profile-card .profile-theme .theme-control{margin:0}
.profile-card .profile-theme select{min-height:44px;max-width:160px}

/* Each installed app owns a separate signature lifetime strip below its card. */
.library-item{margin-bottom:22px}
.cloud-shell .app-list .library-item>.app-row{margin-bottom:0}
.signature-life{--life-color:#39c983;margin:10px 4px 0;padding:11px 14px 13px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.signature-life--warning{--life-color:#e9b935}
.signature-life--danger{--life-color:#ed5555}
.signature-life--critical{--life-color:#a8233c}
.signature-life--unknown{--life-color:var(--muted)}
.signature-life-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--text);font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}
.signature-life-label strong{font-size:14px;white-space:nowrap}
.signature-life-track{display:block;width:100%;height:8px;border:0;border-radius:8px;overflow:hidden;background:var(--raised);margin-top:9px;appearance:none;-webkit-appearance:none;color:var(--life-color);accent-color:var(--life-color)}
.signature-life-track::-webkit-progress-bar{background:var(--raised);border-radius:8px}
.signature-life-track::-webkit-progress-value{background:var(--life-color);border-radius:8px}
.signature-life-track::-moz-progress-bar{background:var(--life-color);border-radius:8px}

.cloud-shell .app-text .catalog-disclosure{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.5}.catalog-disclosure a{text-decoration:underline}
