/* Manager 3.0 — Aurora MiniApp theme, RTL-first, standalone assets. */
:root{--bg:#07101d;--bg2:#091423;--surface:#0c1828;--surface2:#101e31;--surface3:#13243a;--line:#232f40;--line-strong:#3c5270;--text:#f3f7fb;--muted:#91a4ba;--soft:#aabbd0;--accent:#65d8f5;--accent2:#7a7cf4;--green:#55d8ac;--yellow:#f2be67;--red:#ff7b8e;--shadow:0 20px 50px #0002;--radius:20px}
[hidden]{display:none!important}html{scroll-padding-top:110px}body{font-size:14px}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{transform:none;opacity:.4}button,.button-link{border-color:#30425a;background:#18202c;color:var(--text);border-radius:10px;min-height:42px}button:hover,.button-link:hover{background:#202c3c;border-color:#5995a9;transform:translateY(-1px)}.primary{background:var(--accent);border-color:var(--accent);color:#0f1723;box-shadow:none}.primary:hover{background:#83e6ff;border-color:#83e6ff}.ghost{background:transparent}.warn-btn{background:#342c1b;color:var(--yellow);border-color:#655637}.danger{background:#352220;color:var(--red);border-color:#6a413a}input,select,textarea{background:#0f141b;border-color:#2c3c52;color:var(--text);min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #65d8f512}input[type=file]{overflow:hidden}::selection{background:#65d8f540;color:#fff}
.command-body{background:var(--bg)}.app-shell{grid-template-columns:244px minmax(0,1fr);direction:rtl}.sidebar{direction:rtl;border-right:0;border-left:1px solid #232f40;background:#0f141c;padding:30px 18px 20px;gap:0}.sidebar-brand{padding:0 8px 28px;gap:12px}.control-logo,.login-brandmark{background:var(--accent);color:#151d29;border:0;border-radius:14px;box-shadow:none;font-size:18px;letter-spacing:-1px}.sidebar-brand strong{font-size:18px;letter-spacing:-.6px}.sidebar-brand span{font-size:10px;letter-spacing:.5px;color:var(--muted);margin-top:0}.workspace-badge{display:flex;gap:9px;align-items:center;border:1px solid #2b3a50;background:#19222e;padding:10px 12px;border-radius:10px;font-size:11px;color:#cadde4;margin-bottom:30px}.workspace-badge .status-dot{background:var(--accent);width:6px;height:6px;box-shadow:none}.workspace-badge code{margin-right:auto;font-size:10px;color:var(--accent)}.nav-caption{font-size:9px;color:#649caf;letter-spacing:1px;padding:0 10px;margin-bottom:14px}.sidebar-nav{gap:8px}.nav-item{min-height:47px;padding:0 12px;border-radius:10px;color:#83b0bf}.nav-item b{font-weight:500;font-size:12px}.nav-item:hover{background:#18212e;border-color:transparent}.nav-item.active{background:#65d8f514;color:var(--accent);border-color:#65d8f524}.nav-item.active b{font-weight:700}.m-icon{width:19px;height:19px;flex-shrink:0}.nav-item em{background:#1e2837;color:#b6d1da;border:0;font-size:10px}.sidebar-edition{margin-top:auto;margin-bottom:24px;padding:20px 14px;background:linear-gradient(150deg,#253244,#151d28);border:1px solid #33455e;border-radius:16px}.sidebar-edition small{font-size:8px;letter-spacing:1.2px;color:#96bcc9}.sidebar-edition b{display:block;margin:9px 0 15px;font-size:15px}.sidebar-edition a{display:flex;justify-content:space-between;font-size:11px;color:var(--accent)}.sidebar-foot{margin-top:0}.agent-card{background:transparent;border-color:#243144;border-radius:10px;padding:10px}.agent-card b{font-size:10px}.agent-card small{font-size:9px}.release-label{color:#74a7b8;font-size:9px}.command-topbar{height:82px;background:#07101dee;border-color:#212c3c;padding:16px 32px;gap:24px;backdrop-filter:blur(15px)}.workspace-heading{display:grid;gap:1px;min-width:130px}.workspace-heading small{color:#6aa0b2;font-size:8px;letter-spacing:1px;direction:ltr;text-align:right}.workspace-heading b{font-size:13px;font-weight:500}.command-search{border-color:#283649;background:#121821;border-radius:9px;width:310px;font-size:11px;color:#81afbe;margin-left:auto}.command-search:hover{background:#19222e;border-color:#3e5472}.command-search kbd,.hero-actions kbd,.command-input-wrap kbd{border-color:#32445d;background:#18212e;color:#a3c4cf;border-radius:5px;font-size:9px}.top-actions{gap:10px}.live{background:transparent;border:0;font-size:8px;letter-spacing:.6px;color:#99becb;padding:5px}.live i{background:var(--green)}.live.bad i{background:var(--red)}.content-wrap{max-width:1600px;padding:34px 32px 70px}.page-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.eyebrow{font-size:9px;color:#7faebd;letter-spacing:1.5px;direction:ltr;display:block;text-align:right}.page-intro h1{font-size:28px;letter-spacing:-.8px;margin:6px 0}.heading-dot{color:var(--accent)}.page-intro p{color:var(--muted);font-size:12px;margin:0}.sync-info{display:flex;align-items:center;gap:12px}.sync-info span{font-size:10px;color:var(--muted)}.sync-info span.error{color:var(--red)}.sync-info button{min-height:34px;font-size:10px;padding:6px 10px}.page-section{margin-bottom:38px;scroll-margin-top:110px}.skip-link{position:fixed;top:-100px;right:24px;z-index:200;background:var(--accent);color:#0c1623;padding:12px;border-radius:8px}.skip-link:focus{top:12px}
.premium-hero{min-height:290px;padding:34px 36px;border-color:#2f4058;background:radial-gradient(ellipse at 10% 50%,#40859c26,transparent 60%),linear-gradient(120deg,#18212d,#141c26);border-radius:22px;box-shadow:none;grid-template-columns:minmax(0,1fr) 320px}.premium-hero:after{width:480px;height:480px;left:-90px;right:auto;bottom:-290px;background:none;border:1px solid #7cc5dd15}.hero-copy>small{font-size:11px;color:#aad0dc;letter-spacing:0}.hero-copy h2{font-size:clamp(28px,3vw,42px);font-weight:750;line-height:1.5;letter-spacing:-1.2px;margin:10px 0}.hero-copy p{max-width:440px;font-size:12px;color:#9dc0cc;line-height:2}.hero-actions{margin-top:23px;gap:10px}.hero-actions .ghost{border-color:#3c516f;color:#bed7df}.hero-system{position:relative;z-index:1;min-width:0}.system-art{height:204px;position:relative;width:300px;margin:auto;direction:ltr}.orbit-ring{position:absolute;border:1px solid #72b4ca29;border-radius:50%;width:190px;height:190px;top:5px;left:55px;transform:rotate(-25deg) scaleX(1.2)}.orbit-ring.second{width:130px;height:130px;top:35px;left:85px;transform:rotate(30deg) scaleX(1.45)}.system-core{position:absolute;top:58px;left:103px;width:94px;height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#8bd6ef,#5697ad);border:1px solid #aee8fb70;border-radius:25px;box-shadow:0 0 70px #65d8f51a;color:#152030;font-size:32px;font-weight:850;transform:rotate(-8deg);letter-spacing:-2px}.system-core span{font-size:6px;font-weight:700;letter-spacing:1px}.system-node{position:absolute;display:flex;align-items:center;gap:8px;background:#1d2735ee;border:1px solid #487c8d4d;color:#bdd7e0;box-shadow:0 8px 25px #0002;border-radius:9px;padding:9px 12px;font:9px 'IRANSans',monospace;letter-spacing:1px}.system-node i{width:5px;height:5px;background:#65d8f5;border-radius:50%}.node-bot{top:15px;left:3px}.node-panel{top:74px;right:-2px}.node-mini{bottom:6px;left:28px}.target-build{min-width:0;max-width:100%;background:#0c101670;border-color:#487c8d3d;padding:10px 14px;border-radius:10px}.target-build span{font-size:8px;color:#8bb5c3}.target-build b{font-size:9px;color:#bddae3;margin-top:3px}
.stats{gap:12px;margin-top:18px}.stat{padding:20px;border:1px solid #253346;background:#121922;border-radius:14px}.stat:before{width:24px;height:3px;left:20px;right:auto;top:22px;background:var(--stat);border-radius:5px;opacity:.7}.stat small{color:#a1c3cf;font-size:11px}.stat b{font-size:32px;font-weight:600;margin:12px 0 8px;line-height:1.2}.stat em{font-size:9px;color:#659daf}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.quick-card{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:17px;border-radius:12px;border:1px solid #253244;background:#0f151d;text-align:right;min-width:0}.quick-card>svg:first-child{color:var(--accent);background:#65d8f510;box-sizing:content-box;padding:9px;border-radius:10px}.quick-card>svg:last-child{margin-right:auto;width:15px;color:#79aaba}.quick-card span{min-width:0}.quick-card b{display:block;font-size:11px}.quick-card small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:3px}.attention-panel{border-color:#253244;border-radius:16px;padding:20px;background:#0f151d}.section-title small,.section-head small{font-size:9px;letter-spacing:1.5px;color:#93bcc9}.section-title h2,.section-head h2{font-size:20px;margin:6px 0}.section-title p,.section-head p{font-size:11px;line-height:1.9}.section-title.compact h2{font-size:14px}.count-badge{border-color:#344660;background:#1e2939;color:#acd3e0}.attention-list{gap:0}.attention-item{border:0;border-bottom:1px solid #253244;background:transparent;border-radius:0;padding:13px 0;flex-wrap:wrap}.attention-item:last-child{border:0}.attention-item b{font-size:11px}.attention-item span{font-size:10px}.attention-empty{color:#86b2c0;border-color:#30425a}.instance-toolbar{display:flex;justify-content:space-between;align-items:center;margin:20px 0 16px;gap:12px}.instance-filters{display:flex;gap:5px;padding:4px;background:#10161f;border:1px solid #243042;border-radius:10px}.instance-filters button{border:0;background:transparent;color:#79aaba;font-size:10px;min-height:30px;padding:6px 13px}.instance-filters button[aria-pressed=true]{background:#253346;color:#cee5ed}.instance-toolbar>span{font-size:10px;color:#86b2c0}.section-tools input{width:260px;font-size:11px;background:#121821}.manager-empty{padding:32px;text-align:center;background:#10161f;border:1px dashed #33455e;border-radius:14px}.manager-empty p{font-size:12px;color:var(--muted)}.instance-grid{gap:16px}.instance{padding:20px;border-radius:16px;background:#121820;border-color:#273548;box-shadow:none}.instance:hover{border-color:#4f8698;box-shadow:0 10px 30px #0002}.brand-dot{width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,#141b25);border-color:color-mix(in srgb,var(--accent) 30%,#222e3f);font-size:15px}.instance h3{font-size:13px}.instance-head small{font-size:9px}.pill{font-size:8px;border-radius:6px;letter-spacing:.6px}.pill.good,.alert.good{background:#1a2330;color:#a5d0df;border-color:#384c68}.pill.bad,.alert.bad{background:#30201e;color:#f6afa5;border-color:#674139}.build-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-radius:0;border:0;border-bottom:1px solid #243042;background:none;margin:12px 0}.build-row span{color:var(--accent);background:#65d8f510;padding:3px 7px;border-radius:5px;font-size:10px}.build-row code{flex:1;font-size:9px;margin:0;color:#88b3c1}.domains{color:#83b0bf;font-size:10px;min-height:42px;overflow-wrap:anywhere}.svc{gap:7px;margin:12px 0}.svc span{background:#161d28;border-color:#2d3d53;color:#9abfcb;font-size:9px;border-radius:5px}.svc span.active{border-color:#33455e;color:#a5ccd9}.svc span.failed{border-color:#674139;color:#f6afa5}.svc span.inactive{border-color:#655637;color:#f2be67}.instance-actions{border-top:1px solid #243042;padding-top:15px;gap:7px}.instance-actions button{font-size:10px;min-height:36px}.instance-actions .primary{background:#212d3e;color:#b7deeb;border-color:#3c5270}.instance-actions .primary:hover{background:#2e3e55}.update-note{background:#322b1a;color:#f2be67;border-color:#615232;font-size:10px}
.release-studio{display:grid;grid-template-columns:1.1fr 1fr;gap:18px}.studio-tag{font-size:9px;direction:ltr;letter-spacing:1px;color:#a5c5d0;border:1px solid #32445d;border-radius:6px;padding:5px 9px;white-space:nowrap}.release-hub{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:24px;border-radius:18px;box-shadow:none;background:#121820;border-color:#29384d}.release-copy>small{font-size:10px;letter-spacing:.3px;color:var(--accent)}.release-copy h2{font-size:18px}.release-copy p{font-size:11px;line-height:1.9}.package-drop{display:flex;flex-direction:column;align-items:center;gap:6px;padding:24px 12px;border:1px dashed #42597a;border-radius:14px;background:#171f2b;cursor:pointer;transition:background .2s,border-color .2s}.package-drop.dragging{background:#26354b;border-color:var(--accent)}.upload-glyph{font:32px 'IRANSans',monospace;color:var(--accent);line-height:1.3}.package-drop>b{font-size:13px}.package-drop>small{font-size:10px;color:#85b1c0;max-width:100%;overflow-wrap:anywhere;text-align:center}.package-drop button{margin:7px 0;min-height:34px;padding:6px 12px;font-size:10px}.release-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.release-actions button{font-size:10px}.release-meta{margin:0;gap:7px}.release-meta span{background:#0e131b;border-color:#29384c;color:#83b0bf;font-size:9px;overflow-wrap:anywhere;max-width:100%}.release-meta code{color:#b5d9e5;font-size:9px}.manager-update-card{display:flex;flex-direction:column;align-items:stretch;background:linear-gradient(145deg,#1d2735,#131a24);border:1px solid #3e5574;padding:26px;border-radius:18px;position:relative;overflow:hidden}.update-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.manager-symbol{width:56px;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:15px;background:var(--accent);color:#182434;font:bold 24px/1.2 'IRANSans',sans-serif;letter-spacing:-1px;box-shadow:0 5px 40px #65d8f510}.manager-symbol span{font:8px 'IRANSans',monospace;letter-spacing:1px}.manager-update-card h2{font-size:21px;margin:25px 0 10px;letter-spacing:-.6px}.manager-update-card>p{font-size:12px;color:#99beca;margin:0 0 22px;line-height:2}.manager-version-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:18px 0;border-top:1px solid #74acbf24;border-bottom:1px solid #74acbf24}.manager-version-grid div{min-width:0}.manager-version-grid small{display:block;font-size:9px;color:#8db7c5}.manager-version-grid b{font-size:25px;font-weight:500;display:block;margin:8px 0;direction:ltr;text-align:right}.manager-version-grid code{display:block;font-size:9px;color:#afcfda;overflow-wrap:anywhere}.manager-version-grid>span{color:var(--accent)}.update-status{padding:14px 0;color:#b6d3dc;font-size:11px;line-height:1.8}.update-status.good{color:#a8d8e8}.update-status.warn{color:#f2be67}.update-status.bad{color:var(--red)}.manager-update-card>.primary{margin-top:auto;min-height:46px}.update-footnote{display:block;font-size:9px;text-align:center;color:#8eb7c5;margin-top:12px}.update-steps{display:flex;gap:8px;margin:20px 0}.update-step{flex:1;padding:12px;border:1px solid #2f4057;background:#151d28;border-radius:10px;font-size:11px;color:#93bbc8}.update-step.current{border-color:var(--accent);color:var(--accent)}.update-step.done{background:#222e3f;color:#b2dcea}.update-result{font-size:12px;color:var(--muted);line-height:2}
.migration-hub,.dr-hub{background:#121820;border-color:#28374b;box-shadow:none;border-radius:16px;padding:24px;grid-template-columns:1fr;align-content:start}.migration-copy>small,.dr-copy>small{color:#96bcc9;font-size:9px}.migration-copy h2,.dr-copy h2{font-size:18px}.migration-copy p,.dr-copy p{font-size:11px;line-height:2}.migration-actions,.dr-actions{display:flex;flex-wrap:wrap;gap:8px}.migration-actions button,.dr-actions button{font-size:10px}.migration-status,.dr-status{background:#0f141b;border-color:#2c3c52;color:#88b3c1;font-size:10px}.activity-card{background:#121820;border:1px solid #28374b;border-radius:16px;padding:20px}.activity-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #28374b;padding-bottom:14px}.activity-head b{font-size:13px}.activity-head small{font-size:10px;color:var(--muted)}.timeline-row{border-color:#253346;gap:10px;grid-template-columns:auto minmax(0,1fr) auto;padding:14px 0}.timeline-row b{font-size:10px;overflow-wrap:anywhere}.timeline-row small{font-size:9px;overflow-wrap:anywhere}.timeline-row time{color:#699fb1;font-size:9px}.timeline-dot{width:6px;height:6px;background:#77a8b9;border-radius:50%}
.modal-frame{position:relative;width:min(900px,100%);min-width:0}.modal-card{width:100%;max-height:88vh;background:#111720;border-color:#3c516f;border-radius:18px;padding:30px;box-shadow:0 25px 100px #0009}.modal-card>small{color:var(--accent);font-size:9px}.modal-card>h2{font-size:21px;margin:10px 0}.modal-card>p{font-size:12px}.modal-dismiss{position:absolute;left:14px;top:14px;z-index:3;width:30px;height:30px;min-height:30px;background:#1e2837}.modal-dismiss svg{width:14px}.modal-card>h2{padding-left:28px}.backdrop,.command-backdrop{background:#05070bc9;backdrop-filter:blur(8px)}.command-card{background:#121922;border-color:#3a4e6b}.command-input-wrap{border-color:#2b3a50}.command-input-wrap>span{color:var(--accent)}.command-result:hover,.command-result.active{background:#212d3d;border-color:#33455e}.command-result>span{color:var(--accent)}.command-result small{color:#86b2c1}.health-card,.dr-card,.manage-hero,.job,.credential-block,.secret-preview,.admin-chip,.backup-row,.dr-bundle,.migration-row,.dr-report div{background:#0f141b;border-color:#2c3c52;border-radius:10px}.health-card small,.dr-card small,.manage-hero small,.credential-head small{color:#84b1c0}.dr-card p{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.action-tile small{color:var(--accent)}.logbox,.dr-key{background:#080b10;border-color:#2b3b51;color:#b5d2db}.progress-line{background:#222e3e}.progress-line i{background:var(--accent)}.alert{background:#1b2431;border-color:#32445d;color:#c3d9e0}.alert.warn,.dr-note{background:#322b1a;border-color:#615232;color:#f2be67}.form-grid{gap:18px;margin:24px 0}.form-grid label{font-size:11px;color:#a3c5d0}.toast{background:#18212e;border-color:#3a4f6d}.toast.good{border-color:#445d7f;color:#bfdee9}.toast.bad{border-color:#674139;color:#f6afa5}.toast.warn{border-color:#615232;color:#f2be67}.loading,.mini-loading{color:#82afbe}
.login-page{background:radial-gradient(ellipse at 80% 0,#559fb816,transparent 55%),#07101d;padding:40px}.login-shell{width:min(1040px,100%);grid-template-columns:1.15fr 1fr;border:1px solid #304159;background:#131a24;border-radius:24px;box-shadow:0 30px 120px #0004}.login-visual{padding:60px;min-height:620px;background:radial-gradient(ellipse at 0 100%,#3e8faa30,transparent 70%),#18212e}.login-brandmark{font-size:30px;width:70px;height:70px;margin-bottom:38px}.login-visual small{font-size:9px;color:#9fc6d3;letter-spacing:1.8px}.login-visual h1{font-size:44px;line-height:1.6;letter-spacing:-1.3px;margin:14px 0 20px}.login-visual p{font-size:12px;color:#a1c3cf;line-height:2}.login-feature-row{gap:8px;margin-top:30px}.login-feature-row span{border-color:#435b7c60;background:#141b24;color:#b7d1da;font-size:9px}.login-orbit{border-color:#86c6db20!important}.login-card{padding:50px;background:#10161e}.login-title small{color:#94c0cf;font-size:9px;letter-spacing:1px}.login-title h2{font-size:25px;margin:14px 0 10px}.login-title p{font-size:12px;line-height:2;margin-bottom:30px}.login-card form{gap:22px}.login-card label span{color:#b0cdd7;font-size:11px}.login-card input{background:#151d28;min-height:48px}.login-submit{min-height:48px;margin-top:6px}.login-foot{color:#70a4b6;font-size:8px;margin-top:30px}
@media(min-width:1600px){.content-wrap{padding-top:45px}.premium-hero{grid-template-columns:1fr 380px}.system-art{transform:scale(1.08)}}
@media(max-width:1250px){.app-shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:26px 12px}.workspace-heading{display:none}.command-topbar{padding:14px 24px;gap:12px}.content-wrap{padding:28px 24px 60px}.premium-hero{padding:28px;grid-template-columns:1fr 270px}.system-art{width:270px}.system-core{left:88px}.orbit-ring{left:40px}.orbit-ring.second{left:70px}.system-node{font-size:8px}.stats{grid-template-columns:repeat(5,1fr)}.stat{padding:15px}.stat:before{display:none}.stat b{font-size:28px}.quick-card{gap:9px;padding:13px}.quick-card>svg:first-child{padding:7px;width:16px;height:16px}.quick-card>svg:last-child{display:none}.quick-card small{font-size:8px}.release-studio{grid-template-columns:1fr 1fr}.manager-update-card{padding:22px}.studio-tag{font-size:8px}.instance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.command-search{width:240px}.top-actions .desktop-action{display:none}.premium-hero{grid-template-columns:1fr}.hero-system{display:none}.hero-copy p{max-width:550px}.hero-copy h2 br{display:none}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stats .stat:last-child{grid-column:span 2}.release-studio{grid-template-columns:1fr}.ops-grid{grid-template-columns:1fr}.page-intro{align-items:flex-start}.sync-info{flex-direction:column;align-items:flex-end;gap:6px}.quick-actions{grid-template-columns:1fr}.quick-card>svg:last-child{display:block}.quick-card small{font-size:10px}.quick-card{padding:14px 18px}.quick-card b{font-size:12px}.manager-update-card h2{margin-top:20px}}
@media(max-width:900px){.app-shell{display:block}.sidebar{position:sticky;top:64px;height:auto;display:block;padding:0 12px;z-index:17;overflow:auto;background:#0f141cf5;border:0;border-bottom:1px solid #29384c}.sidebar-brand,.workspace-badge,.nav-caption,.sidebar-foot,.sidebar-edition{display:none}.sidebar-nav{display:flex;min-width:max-content;gap:5px;padding:8px 0}.nav-item{display:flex;gap:6px;min-height:36px;padding:7px 10px;border-radius:7px}.nav-item b{font-size:10px}.nav-item .m-icon{width:15px;height:15px}.nav-item em{font-size:8px}.workspace{margin-top:0}.command-topbar{position:fixed;top:0;right:0;left:0;height:64px;padding:10px 16px;gap:12px;z-index:21}.mobile-brand{display:flex;white-space:nowrap}.mobile-brand b{font-size:12px}.mobile-brand .control-logo{width:34px;height:34px;font-size:14px;border-radius:9px}.command-search{margin-right:auto;width:auto;max-width:220px;min-height:36px;padding:8px;flex:1}.command-search span{display:block;font-size:10px}.command-search kbd{display:none}.top-actions .live{display:none}.top-actions button{font-size:10px;min-height:36px}.app-shell{padding-top:64px}.content-wrap{padding-top:24px}.page-section{scroll-margin-top:135px}html{scroll-padding-top:135px}.login-shell{grid-template-columns:1fr 1fr}.login-visual{display:flex;padding:32px}.login-visual h1{font-size:32px}.login-card{padding:32px}}
@media(max-width:640px){.sidebar{top:64px;padding:0 8px}.nav-item{padding:6px 9px}.nav-item .m-icon{display:none}.nav-item b{font-size:9px}.nav-item em{padding:1px 5px}.command-topbar{gap:8px;padding:10px 12px}.mobile-brand b{display:none}.command-search{display:flex;width:36px;max-width:36px;flex:0;margin-right:auto;justify-content:center}.command-search span{display:none}.top-actions{gap:6px}.top-actions button{padding:7px 10px;font-size:10px}.top-actions .icon-btn{width:32px}.content-wrap{padding:24px 14px 45px}.page-intro{display:block;margin-bottom:22px}.page-intro h1{font-size:24px}.page-intro p{font-size:10px}.eyebrow{font-size:8px}.sync-info{flex-direction:row;align-items:center;justify-content:space-between;margin-top:18px}.sync-info span{font-size:9px}.sync-info button{min-height:30px}.premium-hero{padding:24px;border-radius:16px;min-height:0}.hero-copy>small{font-size:10px}.hero-copy h2{font-size:28px;line-height:1.6;margin:14px 0}.hero-copy h2 br{display:block}.hero-copy p{font-size:11px}.hero-actions{display:flex;flex-wrap:wrap;margin-top:22px}.hero-actions button{font-size:10px}.hero-actions kbd{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.stat{padding:16px}.stat b{font-size:29px;margin:12px 0 8px}.stat small{font-size:10px}.stats .stat:last-child{grid-column:span 2;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 14px}.stats .stat:last-child b{grid-column:2;grid-row:1/3;margin:0}.stat em{font-size:9px}.quick-actions{margin:12px 0;gap:9px}.quick-card{padding:13px}.attention-panel{padding:16px}.attention-item{align-items:baseline;gap:8px}.attention-item b{font-size:10px}.attention-item span{width:100%;padding-right:16px;font-size:9px}.section-title,.section-head{display:flex;flex-wrap:wrap;gap:12px}.section-title h2,.section-head h2{font-size:18px;line-height:1.8}.section-title p,.section-head p{font-size:10px}.section-tools{width:100%}.section-tools input{width:100%}.instance-toolbar{gap:8px;flex-wrap:wrap;margin-top:14px}.instance-filters{width:100%;justify-content:space-between}.instance-filters button{flex:1;font-size:10px;padding:6px 8px}.instance-grid{grid-template-columns:1fr;gap:12px}.instance{padding:18px}.instance-actions{grid-template-columns:1fr auto auto}.instance-actions .primary{grid-column:auto}.instance-actions button{padding:7px 10px;font-size:10px}.instance-head small{font-size:10px}.instance h3{font-size:14px}.release-hub,.manager-update-card{padding:20px;border-radius:16px}.release-actions{grid-template-columns:1fr}.release-actions button{font-size:11px}.manager-update-card h2{font-size:20px;line-height:1.8}.manager-version-grid{gap:10px}.manager-version-grid small{font-size:8px}.manager-version-grid code{font-size:8px}.manager-update-card>p{font-size:11px}.update-card-header .studio-tag{font-size:7px}.update-steps{gap:5px}.update-step{font-size:9px;padding:10px 7px}.activity-grid,.ops-grid{grid-template-columns:1fr;gap:12px}.activity-card{padding:16px}.timeline-row{grid-template-columns:auto minmax(0,1fr)}.timeline-row time{grid-column:2;font-size:8px}.modal{padding:8px}.modal-card{padding:24px 18px;max-height:90vh}.modal-card>h2{font-size:18px}.modal-dismiss{left:10px;top:10px}.form-grid{grid-template-columns:1fr;gap:16px}.health-grid,.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.action-tile{padding:12px 9px}.action-tile b{font-size:10px}.health-card b{font-size:11px}.modal-actions button{flex:1;min-width:90px}.manage-hero{flex-wrap:wrap}.dr-grid{grid-template-columns:1fr}.dr-report{grid-template-columns:repeat(2,minmax(0,1fr))}.command-palette{padding:12px}.command-card{margin-top:-10vh}.command-result b{font-size:12px}.login-page{padding:18px}.login-shell{grid-template-columns:1fr;border-radius:20px}.login-visual{display:none}.login-card{min-height:530px;padding:36px 26px}.login-title h2{font-size:27px}.login-title p{font-size:12px}.login-title small{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Owner phone setup remains readable on narrow Manager screens. */
#relay-settings .relay-account{padding:16px;border:1px solid var(--line,#263347);border-radius:16px;margin:14px 0;background:rgba(15,27,42,.45)}
#relay-settings .relay-fingerprint{display:block;direction:ltr;text-align:left;overflow-wrap:anywhere;white-space:normal;font-size:12px;line-height:1.8;color:#82e6f2}
#relay-settings textarea{width:100%;box-sizing:border-box;resize:vertical;overflow-wrap:anywhere;font-size:12px;min-height:110px}
#relay-settings .form-grid>*{min-width:0}
#relay-settings input,#relay-settings select{max-width:100%;box-sizing:border-box}
#relay-settings p{line-height:1.9}
@media(max-width:600px){#relay-settings .form-grid{grid-template-columns:1fr}#relay-settings .health-grid{grid-template-columns:1fr}#relay-settings .modal-actions{align-items:stretch}#relay-settings .modal-actions button{width:100%}#relay-settings .relay-account{padding:12px}}
