html.desktop-edition body{padding-bottom:20px;padding-left:220px}
.desktop-edition .topbar{padding:14px 26px;box-shadow:0 2px 18px rgba(76,45,65,.08)}
.desktop-edition main{max-width:1320px;padding:22px 28px}
.desktop-edition .bottom-nav{top:0;bottom:0;left:0;right:auto;width:220px;transform:none;max-width:none;border:0;border-right:1px solid var(--line);border-radius:0;padding:118px 14px 20px;grid-template-columns:1fr;align-content:start;gap:8px;background:linear-gradient(180deg,#fff,#fff7fb)}
.desktop-edition .bottom-nav button{display:grid;grid-template-columns:34px 1fr;align-items:center;text-align:left;font-size:13px;padding:11px 14px;border-radius:13px}
.desktop-edition .bottom-nav button:hover,.desktop-edition .bottom-nav button.active{background:var(--accent-soft)}
.desktop-edition .bottom-nav span{display:inline;font-size:19px;text-align:center}
.desktop-edition .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.desktop-license{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#231b2c 0%,#432848 48%,#70405b 100%)}
.desktop-license[hidden]{display:none}
.desktop-license-card{width:min(100%,520px);max-height:90vh;overflow:auto;background:#fff;border-radius:26px;padding:34px;box-shadow:0 30px 90px rgba(0,0,0,.35);text-align:center}
.desktop-license-logo{width:82px;height:82px;object-fit:contain;margin-bottom:12px}
.desktop-license-card h2{margin:4px 0 8px}.desktop-license-card p{color:#746772;line-height:1.55}
.desktop-license-card input{width:100%;padding:15px;border:1px solid #dfd3db;border-radius:13px;text-align:center;text-transform:uppercase;font-weight:800;letter-spacing:.06em;margin:10px 0}
.desktop-license-card button{width:100%;margin-top:8px}.desktop-license-status{display:block;min-height:24px;margin-top:12px;font-size:12px;color:#a52e56}
.desktop-license-links{display:flex;gap:8px;margin-top:12px}.desktop-license-links button{background:#f5edf3;color:#513c4c}
.desktop-license-card :focus-visible{outline:3px solid #9d61d0;outline-offset:3px}.desktop-license-card button:disabled{opacity:.6;cursor:wait}
.desktop-edition-badge{display:inline-flex;align-items:center;gap:6px;margin-left:10px;padding:6px 9px;border-radius:999px;background:#efe9ff;color:#6940a0;font-size:10px;font-weight:900}
.desktop-update{position:fixed;right:22px;bottom:22px;z-index:1000;max-width:360px;padding:15px;border:1px solid #d9cfea;border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(46,37,48,.2)}
.desktop-update[hidden]{display:none}.desktop-update b,.desktop-update small{display:block}.desktop-update small{margin:5px 0 10px;color:var(--muted);line-height:1.4}.desktop-update .actions{margin:0}.desktop-update button{min-height:36px;padding:8px 10px}
.license-center{position:fixed;inset:0;z-index:18000;display:grid;place-items:center;padding:24px;background:rgba(25,17,25,.62);backdrop-filter:blur(8px)}.license-center[hidden]{display:none}
.license-center-card{width:min(100%,650px);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:26px;background:var(--bg);box-shadow:0 28px 90px rgba(22,12,22,.32);padding:26px}
.license-center-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.license-center-head>div{display:flex;align-items:center;gap:12px}.license-center-head img{width:54px;height:54px;object-fit:contain}.license-center-head small,.license-center-head h2{display:block;margin:0}.license-center-head small{color:var(--accent);font-size:9px;font-weight:900;letter-spacing:.1em}.license-center-close{width:40px;height:40px;border:0;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:20px}
.license-center-state{display:flex;align-items:center;gap:10px;margin:20px 0 12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--card)}.license-state-dot{width:12px;height:12px;border-radius:999px;background:var(--ok);box-shadow:0 0 0 5px rgba(37,132,95,.12)}.license-center-state.offline .license-state-dot{background:var(--warn);box-shadow:0 0 0 5px rgba(178,118,25,.12)}.license-center-state b,.license-center-state small{display:block}.license-center-state small{margin-top:3px;color:var(--muted)}
.license-center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.license-center-grid>div{padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--card)}.license-center-grid span,.license-center-grid b{display:block}.license-center-grid span{font-size:9px;color:var(--muted);font-weight:900;letter-spacing:.07em}.license-center-grid b{margin-top:5px;font-size:13px}.license-center-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.license-center-actions button{min-height:44px}.license-center-message{display:block;min-height:20px;margin-top:10px;color:var(--muted);font-size:11px;text-align:center}
@media(max-width:620px){.license-center-grid,.license-center-actions{grid-template-columns:1fr}}
@media(max-width:1050px){html.desktop-edition body{padding-left:176px}.desktop-edition .bottom-nav{width:176px}.desktop-edition main{padding:18px}.desktop-edition .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-color-scheme:dark){.desktop-edition .bottom-nav{background:linear-gradient(180deg,#211b21,#1b171b)}.desktop-license-card{background:#211b21;color:#f6eef4}.desktop-license-card input{background:#30272e;color:#fff;border-color:#493b45}.desktop-update{background:#211b21}.license-center-card{background:#171317}}
.backup-center{position:fixed;inset:0;z-index:10004;background:rgba(42,27,37,.62);display:grid;place-items:center;padding:24px}.backup-center[hidden]{display:none}.backup-center-card{width:min(620px,100%);background:#fff;border-radius:24px;box-shadow:0 24px 70px rgba(50,25,42,.3);padding:24px;color:#34232e}.backup-center-card header{display:flex;justify-content:space-between;align-items:center;gap:16px}.backup-center-card header>div{display:flex;align-items:center;gap:12px}.backup-center-card h2{margin:2px 0 0}.backup-center-card small,.backup-center-card p{color:#745f6c}.backup-shield{font-size:34px}.backup-center-close{border:0;background:#f7edf2;border-radius:50%;width:40px;height:40px;font-size:25px;cursor:pointer}.backup-status{display:flex;gap:12px;align-items:center;margin:22px 0;padding:15px;background:#edf9f3;border:1px solid #c8ecda;border-radius:16px}.backup-status i{width:12px;height:12px;border-radius:50%;background:#249b65;box-shadow:0 0 0 5px rgba(36,155,101,.12)}.backup-status div{display:grid;gap:3px}.backup-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.backup-facts>div{padding:15px;border:1px solid #eadde4;border-radius:14px;display:grid;gap:5px}.backup-facts span{font-size:11px;color:#8b7180;font-weight:800}.backup-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.backup-message{display:block;min-height:22px;margin-top:12px;color:#7d5268;font-weight:700}@media(max-width:620px){.backup-facts{grid-template-columns:1fr}.backup-actions button{width:100%}}
.backup-history{display:grid;gap:8px;max-height:230px;overflow:auto;margin-top:16px;padding-right:4px}.backup-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #eadde4;border-radius:13px;background:#fff}.backup-history-row>div{display:grid;gap:3px}.backup-history-row.valid{border-left:4px solid #35a871}.backup-history-row.invalid{border-left:4px solid #d35b70;background:#fff7f8}.backup-history-row button{padding:8px 12px;white-space:nowrap}.backup-history-empty{padding:18px;text-align:center;background:#faf5f7;border-radius:13px;color:#806b76}@media(max-width:620px){.backup-history-row{align-items:flex-start;flex-direction:column}.backup-history-row button{width:100%}}
.diagnostics-center{position:fixed;inset:0;z-index:10006;background:rgba(35,24,31,.68);display:grid;place-items:center;padding:24px}.diagnostics-center[hidden]{display:none}.diagnostics-card{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:24px;padding:24px;box-shadow:0 28px 80px rgba(35,20,29,.34);color:#34232e}.diagnostics-card header,.diagnostics-card header>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.diagnostics-card header>div>span{font-size:34px}.diagnostics-card h2{margin:2px 0}.diagnostics-close{border:0;background:#f7edf2;border-radius:50%;width:40px;height:40px;font-size:25px}.diagnostics-summary{margin:20px 0 12px;padding:15px;border-radius:14px;font-weight:800}.diagnostics-summary.healthy{background:#edf9f3;color:#167348}.diagnostics-summary.attention{background:#fff3e7;color:#9a541d}.diagnostics-list{display:grid;gap:9px}.diagnostics-row{display:flex;align-items:center;gap:12px;border:1px solid #eadde4;border-radius:13px;padding:12px}.diagnostics-row i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-style:normal;font-weight:900}.diagnostics-row.ok i{background:#def4e9;color:#167348}.diagnostics-row.warn i{background:#ffe8d4;color:#a5551b}.diagnostics-row>div{display:grid;gap:3px}.diagnostics-card p{color:#745f6c}.diagnostics-actions{display:flex;gap:10px;flex-wrap:wrap}.diagnostics-card [data-diagnostics-message]{display:block;margin-top:12px;font-weight:700;color:#7d5268}
.update-center{position:fixed;inset:0;z-index:10007;background:rgba(35,24,31,.68);display:grid;place-items:center;padding:24px}.update-center[hidden]{display:none}.update-center-card{width:min(620px,100%);background:#fff;border-radius:24px;padding:24px;box-shadow:0 28px 80px rgba(35,20,29,.34);color:#34232e}.update-center-card header,.update-center-card header>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.update-center-card header>div>span{font-size:40px;color:#b4477a}.update-center-card h2{margin:2px 0}.update-center-close{border:0;background:#f7edf2;border-radius:50%;width:40px;height:40px;font-size:25px}.update-state{display:flex;gap:12px;align-items:center;margin:20px 0;padding:15px;border-radius:15px;background:#edf9f3}.update-state i{width:12px;height:12px;border-radius:50%;background:#2a9e68;box-shadow:0 0 0 5px rgba(42,158,104,.12)}.update-state>div{display:grid;gap:3px}.update-state.available{background:#fff3e7}.update-state.available i{background:#d4792d}.update-state.offline{background:#f3f0f2}.update-state.offline i{background:#8e7d87}.update-versions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.update-versions>div{display:grid;gap:5px;padding:15px;border:1px solid #eadde4;border-radius:14px}.update-versions span{font-size:11px;color:#8b7180;font-weight:800}.update-notes{margin:14px 0;padding:15px;background:#faf6f8;border-radius:14px}.update-notes p{margin:7px 0 0;white-space:pre-wrap;color:#6f5a66;line-height:1.5}.update-safety{color:#26744f;font-weight:700}.update-actions{display:flex;gap:10px;flex-wrap:wrap}.update-center-card [data-update-message]{display:block;margin-top:10px}@media(max-width:620px){.update-versions{grid-template-columns:1fr}.update-actions button{width:100%}}
