*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:'Segoe UI',Arial,sans-serif}body{--bg:#fffdfc;--fg:#14213a;--muted:#66738d;--border:#e8e8eb;--card:255,255,255;--card-alpha:1;--button-alpha:.8;--neutral:#fff;--shadow:0 5px 18px #ec781e23;color:var(--fg);background:var(--bg);overflow:hidden}body.dark{--bg:#08111d;--fg:#f4f8ff;--muted:#a0b0ca;--border:#243756;--card:12,20,35;--neutral:#142238;--shadow:0 5px 18px #0005}button,input,a{font:inherit}button,a.colored{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ff9e46;outline-offset:2px}button{border:0}button:disabled{cursor:default}a{text-decoration:none}.titlebar{height:40px;background:linear-gradient(90deg,#d74600,#f45100);color:white;display:flex;align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:700}.tiny-logo{background:white;color:#f45100;border-radius:50%;width:19px;height:19px;display:grid;place-items:center}.title-right{margin-left:auto;display:flex;gap:10px;align-items:center;font-size:11px;letter-spacing:1px}.title-right button{background:transparent;color:white;font-size:22px;padding:0 12px}.online-dot{width:7px;height:7px;background:#b7ffbf;border-radius:50%}.workspace{height:calc(100% - 40px);display:flex;padding:8px;background:var(--bg);background-image:radial-gradient(ellipse at 95% -18%,#ff9a2320,transparent 44%),radial-gradient(ellipse at -5% 110%,#ff7c0020,transparent 32%);background-position:center;background-size:cover}.sidebar{width:260px;flex:none;display:flex;flex-direction:column;padding:20px 15px 18px;gap:9px;min-height:0}.brand{display:flex;align-items:center;gap:9px;font-size:24px;font-weight:900;letter-spacing:-.8px;white-space:nowrap;margin-bottom:18px}.brand b{color:#f45100}.brand-icon{width:27px;height:27px;border-radius:50%;background:white;color:#f45100;display:grid;place-items:center;border:1px solid #e6e6e6}.brand-icon svg{width:22px}.home{height:56px;display:flex;align-items:center;gap:12px;text-align:left;font-size:16px!important;background:#f45100!important;border:1px solid white!important;padding-left:18px!important}.home svg{width:25px;height:25px}.folders{flex:1;min-height:65px;overflow:auto;border:1px solid #e9f0ff;border-radius:12px;background:rgba(var(--card),var(--card-alpha));padding:7px;box-shadow:0 0 11px #e9f0ff55}.side-action{height:46px;text-align:left;padding:0 14px!important;font-size:14px!important}.credit{height:58px;flex:none;font-size:11px!important;line-height:1.5}.colored{--c:#f45100;--c2:#d74800;color:#fff;background:linear-gradient(135deg,color-mix(in srgb,var(--c) calc(var(--button-alpha)*100%),transparent),color-mix(in srgb,var(--c2) calc(var(--button-alpha)*100%),transparent));border:1px solid color-mix(in srgb,var(--c),white 28%);border-radius:13px;font-size:12px;font-weight:800;padding:0 10px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;transition:filter .15s,box-shadow .15s}.colored:hover{filter:brightness(1.1);box-shadow:0 0 0 1px #ffab6b}.orange{--c:#ff7c08;--c2:#f45100}.red{--c:#c11f2d;--c2:#8e1324}.rose{--c:#a52c49;--c2:#80152d}.plum{--c:#823da1;--c2:#55277e}.purple{--c:#7651bb;--c2:#51328c}.green{--c:#199b44;--c2:#126a31}.blue{--c:#2563eb;--c2:#1e40af}.content{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;padding:20px 26px 20px;min-height:0}.top-row,.filter-row,.category-row{display:flex;align-items:center;gap:8px;flex:none;flex-wrap:wrap}.top-row{justify-content:space-between}.top-links,.top-tools,.payment,.utility,.views,.categories,.view-buttons{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.top-links{flex:1}.top-row .colored{height:46px}.square{width:44px;padding:0;font-size:22px}.square svg{width:26px;height:26px}.filter-row{justify-content:space-between}.payment .colored{height:48px;font-size:14px;padding:0 14px;border-radius:16px}.payment .active{background:#d74c00;border:2px solid #ffd3a7}.payment .rose.active{background:#a21d3b}.utility{gap:8px;flex:1;justify-content:flex-end}.neutral,.clock,.search{background:var(--neutral);border:1px solid var(--border);border-radius:13px;box-shadow:var(--shadow);font-weight:700}.neutral{padding:0 10px;height:46px;font-size:12px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.neutral svg{width:21px;height:21px}.clock{font-size:14px;line-height:1.3;text-align:center;min-width:102px;padding:7px;font-variant-numeric:tabular-nums}.clock small{font-size:11px;color:var(--muted)}.weather{height:52px}.search{height:56px;display:flex;align-items:center;padding:0 10px;gap:8px;flex:1;min-width:190px;max-width:290px}.search svg{width:23px;height:23px;color:var(--muted)}.search input{min-width:0;width:100%;border:0;background:transparent;color:var(--fg);outline:none;font-size:14px}.search .neutral{height:30px;font-size:11px;box-shadow:none}.categories{gap:10px}.categories button{background:transparent;border-bottom:4px solid transparent;padding:8px 5px 9px;font-size:14px;color:var(--muted);font-weight:600;min-height:42px;white-space:nowrap}.categories button.active{color:var(--fg);border-color:#ff6a00;font-size:17px;font-weight:900}.category-row{justify-content:space-between}.views{margin-left:auto;gap:8px;font-size:12px;font-weight:800}.view-buttons button{border:1px solid var(--border);border-radius:10px;padding:8px 12px;background:var(--neutral);font-size:12px;font-weight:800}.view-buttons button.active{background:#f45100;color:#fff;border-color:#ff9b52}.range-control input{width:86px;accent-color:#f45100;cursor:pointer}.views input[type=color]{width:34px;height:34px;border:1px solid var(--border);border-radius:8px;background:var(--neutral);padding:4px;cursor:pointer}.folder-heading{display:flex;align-items:center;justify-content:space-between}.folder-heading[hidden]{display:none}.folder-heading button{height:36px}.services{flex:1;min-height:0;overflow:auto;padding:4px 6px 16px 0;scrollbar-color:#f45100 #b6bec32e;scrollbar-width:thin}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-content:start}.card{position:relative;min-height:142px;border:1px solid var(--border);border-radius:17px;background:rgba(var(--card),var(--card-alpha));box-shadow:var(--shadow);padding:9px 14px;display:flex;flex-direction:column;gap:4px;transition:border-color .16s,box-shadow .16s;min-width:0}.card:hover{border-color:#ff8a36;box-shadow:inset 0 0 0 2px #ff8a36,var(--shadow)}.badges{height:22px;display:flex;gap:5px;align-items:center;padding-right:23px;white-space:nowrap}.badge{font-size:11px;font-weight:800;border-radius:6px;padding:2px 6px;line-height:15px;border:1px solid var(--bb);color:var(--bf);background:var(--bgc)}.limit{--bgc:#fff2d5;--bf:#915309;--bb:#e6a54b}.monthly{--bgc:#ffebf0;--bf:#aa2847;--bb:#e1a0b0}.token{--bgc:#f1e8ff;--bf:#6534b2;--bb:#b59ae8}.free{--bgc:#dcf8e8;--bf:#147144;--bb:#80d6a3}.photo{--bgc:#e5f0ff;--bf:#164b9f;--bb:#88b5ef}.vinetka{--bgc:#ffeaf8;--bf:#9a267f;--bb:#e8a0d5}.other{--bgc:#f3e9ff;--bf:#6f3db0;--bb:#c9a6ec}.card-main{flex:1;display:flex;align-items:center;gap:12px;width:100%;background:transparent;text-align:left;padding:0;min-width:0;color:var(--fg)}.service-icon{width:72px;height:72px;flex:none;border-radius:18px;background:linear-gradient(135deg,#ffa01a,#ff7a00 55%,#ff4a00);box-shadow:0 6px 18px #ff640041;color:#fff;display:grid;place-items:center}.service-icon svg{width:42px;height:42px}.service-icon img{width:65px;height:65px;object-fit:contain}.service-text{min-width:0;flex:1;align-self:center}.service-text strong{font-size:16px;line-height:1.25;display:block;font-weight:900;color:var(--fg);overflow-wrap:anywhere}.service-text small{font-size:12px;line-height:1.35;font-weight:650;display:block;margin-top:5px;color:var(--fg)}.card-arrow{flex:none;width:42px;height:42px;display:grid;place-items:center;background:linear-gradient(135deg,#ff9f1b,#ff5700);color:white;border-radius:21px}.card-arrow svg{width:29px}.lesson{background:transparent;padding:0;width:50px;height:50px;flex:none;display:grid;place-items:center}.lesson img{width:100%;height:100%;object-fit:contain}.favorite{position:absolute;top:9px;right:10px;width:23px;height:23px;border-radius:6px;background:var(--neutral);border:1px solid var(--border);font-size:17px;line-height:20px;padding:0;color:var(--muted)}.favorite.on{color:white;background:#f45100;border-color:#ffb37a}.grid.list{grid-template-columns:1fr}.list .card{min-height:142px}.list .service-text strong{font-size:24px}.list .service-text small{font-size:18px}.grid.icons{grid-template-columns:repeat(4,minmax(0,1fr))}.icons .card-main{flex-direction:column;text-align:center;justify-content:center;gap:10px}.icons .card{min-height:204px}.icons .card-arrow,.icons .service-text small{display:none}.icons .service-text strong{font-size:18px}.icons .lesson{position:absolute;right:8px;bottom:8px;width:30px;height:30px}.empty{grid-column:1/-1;text-align:center;padding:100px 10px;color:var(--muted);font-weight:700}.folder-btn{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%;min-height:43px;margin-bottom:5px;border-radius:9px;background:var(--neutral);border:1px solid var(--border);font-weight:700;padding:8px;color:var(--fg);overflow-wrap:anywhere}.folder-btn svg{width:22px;flex:none}.folder-btn.active{border-color:#ff8a36;color:#f45100}.folder-btn span:last-child{overflow:hidden;text-overflow:ellipsis}.folder-btn .count{margin-left:auto;color:var(--muted);font-size:11px}dialog{border:1px solid #334660;border-radius:16px;background:#111c30;color:#fff;max-width:min(900px,94vw);width:680px;max-height:84vh;padding:20px;box-shadow:0 20px 80px #0006}dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.modal-head h2{margin:0;font-size:22px}.close{background:#28364a;color:white;border-radius:8px;width:36px;height:36px}.design-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.design-tile{background:#202f45;color:white;border:1px solid #415677;border-radius:10px;overflow:hidden;padding:0;text-align:left}.design-tile.active{border:2px solid #ff8a36}.design-preview{display:block;width:100%;height:110px;background-size:cover;background-position:center}.design-tile strong{display:block;padding:9px}.design-tile:hover{border-color:#ff8a36}.modal-input{width:100%;background:#202f45;color:white;border:1px solid #526781;border-radius:9px;padding:12px;margin-bottom:12px}.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;max-height:45vh;overflow:auto}.checks label{display:flex;align-items:center;gap:8px;padding:8px;background:#202f45;border-radius:7px;font-size:13px}.checks input{accent-color:#f45100}.modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.modal-footer button{height:42px;padding:0 22px}.manage-row{display:flex;align-items:center;gap:8px;padding:8px;background:#202f45;border-radius:8px;margin-bottom:6px}.manage-row strong{flex:1}.manage-row button{height:34px}.message{color:#cbd8eb;font-size:14px;line-height:1.6}.folder-error{color:#ffadad;font-size:13px}#toast{position:fixed;bottom:24px;right:24px;padding:14px 18px;border-radius:12px;color:white;background:#18273b;border:1px solid #ff8a36;box-shadow:0 5px 25px #0004;max-width:min(420px,90vw);opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s;z-index:100}#toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1500px){.sidebar{width:230px}.content{padding:16px 15px}.top-row .colored{height:39px;padding:0 8px}.top-links{flex-basis:75%}.top-tools{margin-left:auto}.utility{justify-content:flex-start}.service-icon{width:62px;height:62px}.card{padding:9px 10px}.card-main{gap:8px}.lesson{width:42px;height:42px}}@media(max-width:1150px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.icons{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar{width:205px;padding:14px 9px}.brand{font-size:21px}.views{margin-left:0}.search{max-width:none}.top-tools{margin-left:0}.content{gap:9px}}@media(max-width:760px){body{overflow:auto}.workspace{height:auto;min-height:calc(100dvh - 40px);flex-direction:column;padding:7px}.sidebar{width:100%;padding:7px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.brand{grid-column:1/-1;margin:0 0 5px}.home,.side-action{height:40px}.folders{grid-column:1/-1;min-height:0;max-height:110px}.folders:empty{display:none}.credit{height:40px;font-size:10px!important}.content{padding:10px 6px;gap:10px}.top-links,.top-tools{gap:5px}.top-row .colored{height:34px;font-size:11px}.payment .colored{height:38px;font-size:12px;padding:0 10px}.utility{flex-basis:100%}.keyboard,.weather{display:none}.clock{min-width:80px}.search{height:44px;min-width:150px}.categories{gap:5px}.categories button{font-size:12px;min-height:36px}.categories button.active{font-size:14px}.views{flex-wrap:wrap}.grid{grid-template-columns:1fr;gap:10px}.grid.icons{grid-template-columns:repeat(2,minmax(0,1fr))}.card{min-height:130px}.service-icon{width:60px;height:60px}.services{overflow:visible;padding:0}.titlebar{font-size:11px}.title-right{font-size:9px}.design-grid{grid-template-columns:repeat(2,1fr)}.checks{grid-template-columns:1fr}.list .service-text strong{font-size:19px}.list .service-text small{font-size:14px}}

[hidden]{display:none!important}
/* Desktop UI proportions from current Windows main.py. */
.titlebar{height:36px;padding:0 9px;gap:8px;font-size:12px;background:linear-gradient(90deg,#a83b00,#f45100)}.tiny-logo,.brand-icon{object-fit:cover;border-radius:50%;border:0;display:block}.tiny-logo{width:15px;height:15px}.title-nav,.title-right{display:flex;align-items:center;gap:2px;white-space:nowrap}.title-nav .colored,.title-right .colored{height:30px;min-width:100px;padding:0 12px;border-radius:16px;font-size:11px;font-weight:700;letter-spacing:0}.title-right .account-state{background:#101010;min-width:128px}.title-right .language{min-width:130px}.title-right #fullscreen{background:#a52224;min-width:115px;font-size:11px}.navy{--c:#24457b;--c2:#12223f}.amber{--c:#d97a12;--c2:#a74600}.workspace{height:calc(100% - 36px);padding:0;background-position:center center}.sidebar{width:14.3%;min-width:205px;padding:25px 14px 0 20px;gap:8px}.brand{font-size:23px;letter-spacing:0;font-weight:750;margin-bottom:18px;text-shadow:0 1px 2px #0009}.brand b{color:#f47a20;text-shadow:0 1px 1px #000,0 0 1px #fff}.brand-icon{width:25px;height:25px}.home{height:50px;font-size:15px!important;justify-content:flex-start;gap:8px}.home img{width:19px;height:19px}.folders{padding:6px;border-radius:12px}.folder-btn{background:color-mix(in srgb,var(--folder-bg,#AC470E) 87%,transparent);border-color:#ffffff44;min-height:39px;height:39px;font-size:12px;font-weight:650;margin-bottom:5px;padding:6px 12px;gap:6px;box-shadow:0 2px 5px #0002}.folder-btn img{width:18px;height:18px}.folder-btn.active{box-shadow:inset 0 0 0 2px #ff9a46}.side-action{height:43px;font-size:13px!important;justify-content:flex-start}.credit{height:52px;font-size:10px!important}.content{padding:25px 25px 0 17px;gap:10px}.top-row .colored{height:42px;font-size:12px;font-weight:650;padding:0 16px}.top-tools .square{width:43px;padding:0;font-size:24px}.top-tools #design{min-width:120px}.top-links,.top-tools{gap:7px}.top-row .top-links{flex:1 1 auto}.payment .colored{height:43px;font-size:13px;border-radius:15px;font-weight:700;padding:0 13px}.utility{gap:9px;flex:1;justify-content:flex-end}.keyboard{height:44px;min-width:148px;font-size:13px}.keyboard svg{width:17px}.clock{height:49px;min-width:120px;padding:5px;background:#142238cf;font-size:14px;line-height:1.2}.clock small{font-size:13px;color:inherit}.weather{height:49px;min-width:130px;justify-content:center;background:#142238cf}.search{height:51px;max-width:245px;background:#142238cf;min-width:150px}.search input{font-size:12px}.category-row{gap:8px;min-height:37px}.categories{gap:8px}.categories button{font-size:13px;font-weight:500;padding:5px 4px 8px;min-height:35px}.categories button.active{font-size:16px;font-weight:750}.views{font-weight:500;font-size:12px}.views input[type=color]{width:33px;height:33px;padding:1px;background:none}.view-buttons button{font-weight:600;padding:8px 11px}.range-control input{appearance:none;width:78px;height:13px;border:1px solid #e4c8c8;border-radius:10px;background:#7e243c;outline:none;vertical-align:middle}.range-control input::-webkit-slider-thumb{appearance:none;width:17px;height:17px;border-radius:50%;background:#ef550b;border:1px solid #ffac76}.services{padding:6px 5px 8px 0;scrollbar-color:#f45100 #b6bec32e;scrollbar-width:thin}.grid{gap:16px}.card{min-height:142px;height:142px;border-radius:16px;display:block;padding:8px 13px;box-shadow:0 5px 15px #0002}.badges{position:absolute;top:7px;right:12px;padding:0;z-index:2;height:20px;gap:6px;pointer-events:none}.badge{font-size:10px;font-weight:650;border-radius:13px;padding:0 8px;line-height:16px;color:var(--bf);background:var(--bgc);box-shadow:0 2px 5px #0003}.dark .limit{--bgc:#71590bc9;--bf:#ffe799;--bb:#b38c36}.dark .monthly{--bgc:#781f3bc9;--bf:#ffe6ee;--bb:#bc6883}.dark .token{--bgc:#583093c9;--bf:#f2eaff;--bb:#9a6ed9}.dark .free{--bgc:#12623fce;--bf:#d7ffe7;--bb:#338963}.dark .photo{--bgc:#164a9fc9;--bf:#e5efff;--bb:#5c8ccc}.dark .vinetka,.dark .other{--bgc:#57268fc9;--bf:#f7eaff;--bb:#a26fdc}.card-main{height:100%;width:100%;gap:14px;padding-right:57px;align-items:center}.service-icon.custom{height:124px;width:clamp(72px,calc(124px * var(--ratio)),138px);background:transparent;border-radius:0;box-shadow:none}.service-icon.custom img{width:100%;height:100%;object-fit:contain;display:block}.service-icon:not(.custom){width:64px;height:64px}.service-text{align-self:center;min-width:0;padding-top:7px}.service-text strong{font-size:15px;font-weight:700;line-height:1.25;letter-spacing:.1px;text-shadow:0 1px 2px #0008}.service-text small{font-size:12px;font-weight:450;line-height:1.32;margin-top:6px;text-shadow:0 1px 2px #0008}.lesson{position:absolute;right:12px;top:23px;width:60px;height:60px;padding:0;border-radius:50%;background:transparent}.favorite{top:auto;bottom:18px;right:31px;width:25px;height:25px;border-radius:50%;background:linear-gradient(145deg,#fff,#b8c3cb 50%,#70828d);border:1px solid #e1e4e8;color:#121c25;font-size:19px;font-weight:900;line-height:23px;text-shadow:0 1px #fff;box-shadow:0 2px 5px #0008}.favorite.on{background:linear-gradient(145deg,#c2ffbc,#19a85b);border-color:#d1ffc6;color:#10381b}.grid.list .card{height:145px}.list .service-text strong{font-size:24px}.list .service-text small{font-size:17px}.list .lesson{width:78px;height:78px}.list .card-main{padding-right:90px}.icons .card{height:202px;min-height:202px}.icons .card-main{padding:10px 0 0;gap:3px;align-items:center;justify-content:center}.icons .service-icon.custom{width:124px;height:124px}.icons .service-text{padding-top:0;flex:none}.icons .service-text strong{font-size:15px}.icons .lesson{top:auto;bottom:10px;right:9px;width:40px;height:40px}.icons .favorite{bottom:10px;left:12px;right:auto}
@media(min-width:1501px){.top-row .colored{padding:0 15px}.top-links{gap:7px}.top-tools{gap:7px}}
@media(max-width:1500px){.title-nav .colored,.title-right .colored{min-width:0;padding:0 10px}.title-right .account-state,.title-right .language,.title-right #fullscreen{min-width:0}.sidebar{width:218px;padding:18px 12px}.content{padding:18px 15px 0;gap:8px}.top-row .colored{height:38px;padding:0 9px;font-size:11px}.top-tools .square{width:37px}.top-tools #design{min-width:105px}.payment .colored{height:39px;padding:0 10px;font-size:12px}.keyboard{min-width:0;height:40px;padding:0 8px}.weather{min-width:95px;height:44px}.clock{min-width:90px;height:44px}.search{height:44px;max-width:220px}.card{height:138px;min-height:138px;padding:8px 10px}.service-icon.custom{height:116px;width:clamp(68px,calc(116px * var(--ratio)),124px)}.card-main{gap:10px;padding-right:47px}.lesson{width:50px;height:50px;right:8px}.favorite{right:20px}.service-text strong{font-size:14px}.service-text small{font-size:11px}}
@media(max-width:1150px){.title-nav{display:none}.title-right .account-state,.title-right .language{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.utility{justify-content:flex-start}.sidebar{width:205px;min-width:0}.content{padding:12px 10px}.top-tools{margin-left:auto}.weather{min-width:95px}.views{margin-left:0}}
@media(max-width:760px){.titlebar{height:35px;font-size:10px}.title-right .colored:not(#fullscreen){display:none}.title-right #fullscreen{font-size:10px;padding:0 7px}.workspace{height:auto;min-height:calc(100dvh - 35px);padding:6px;background-attachment:fixed}.sidebar{width:100%;padding:7px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.brand{margin-bottom:4px}.folders{max-height:130px}.home,.side-action,.credit{height:39px}.content{padding:7px 4px}.top-row .colored{height:34px}.payment .colored{height:35px}.grid{grid-template-columns:1fr;gap:10px}.grid.icons{grid-template-columns:repeat(2,minmax(0,1fr))}.card{min-height:130px;height:130px}.service-icon.custom{height:110px;width:clamp(68px,calc(110px * var(--ratio)),120px)}.keyboard,.weather{display:none}.search{max-width:none}.utility{flex-basis:100%}.views{gap:5px}.categories button{font-size:12px}.categories button.active{font-size:14px}.card-main{padding-right:52px}.lesson{right:8px}.service-text strong{font-size:14px}.services{overflow:visible}.title-right{margin-left:auto}}

/* V3: Windows MainWindow / FeatureCard layout. Match the first reference at 1920px. */
.title-right .colored,.title-nav .colored{background:linear-gradient(180deg,color-mix(in srgb,var(--c) calc(var(--button-alpha)*100%),transparent),color-mix(in srgb,var(--c2) calc(var(--button-alpha)*100%),transparent));border-color:color-mix(in srgb,var(--c),white 38%)}
.title-right .account-state{background:#101010;border-color:#a78045}
.title-right #fullscreen{background:#a52224;border-color:#d3654b}
.title-right .language{--c:#167b5e;--c2:#075139}
.title-right .navy{--c:#344052;--c2:#202d40}
.title-right .plum{--c:#58386e;--c2:#352447}
.title-nav .green{--c:#17815b;--c2:#075741}
.title-nav .navy{--c:#193f6e;--c2:#13243e}
.top-links .amber{--c:#c96605;--c2:#8b3b00}
.top-links .green{--c:#218b45;--c2:#0a542c}
.top-links .navy{--c:#233c56;--c2:#142231}
.top-links .plum{--c:#984ed5;--c2:#60228e}
.top-links .blue{--c:#3769df;--c2:#1746a3}
.top-links .red{--c:#ab1b2c;--c2:#690c1a}
.top-links .orange{--c:#c96308;--c2:#903700}
.top-links [data-pending="Donat"]{--c:#a45af1;--c2:#6c24b4}
.top-links [data-pending="Himoya"]{--c:#23313f;--c2:#111d2a;color:#ff8c3d}
.shield-mini{color:white;margin-right:7px}
.top-tools .rose{--c:#8f1833;--c2:#480a1c;border-color:#e6667b}
.top-tools .square svg{width:32px;height:32px}
.top-tools .square:last-child svg{width:26px;height:26px}
.keyboard{--c:#167d4b;--c2:#084a34}
.folder-btn{border-color:#ffffff2e;box-shadow:none}
.folder-btn img{width:18px;height:18px}
.favorite,.favorite.on{border:0;background:transparent;box-shadow:none;text-shadow:none;padding:0;line-height:0;border-radius:50%;width:28px;height:28px}
.favorite img{width:100%;height:100%;object-fit:contain;display:block}
.favorite:hover{filter:brightness(1.12)}
.service-text strong,.service-text small{color:var(--fg);text-shadow:none;paint-order:stroke fill;-webkit-text-stroke:.45px #fff}
.dark .service-text strong,.dark .service-text small{-webkit-text-stroke:.45px #000}
.service-text strong{font-weight:800;letter-spacing:.18px}
.service-text small{font-weight:500;letter-spacing:.1px}
@media(min-width:1501px){
.titlebar{height:40px;padding:0 10px;gap:9px;font-size:12px}
.title-nav,.title-right{gap:2px}
.title-nav .colored,.title-right .colored{height:31px;font-size:12px;padding:0 9px}
.title-nav .colored:nth-child(1),.title-nav .colored:nth-child(2){width:120px}
.title-nav .colored:nth-child(3){width:128px}
.title-nav .colored:nth-child(4){width:116px}
.title-right .account-state{width:148px}.title-right .navy{width:117px}.title-right .plum{width:118px}.title-right .language{width:154px}.title-right #fullscreen{width:132px}
/* Native minimize/close buttons are not reproduced in a browser. */
.workspace{height:calc(100% - 40px);padding:8px; background-position:center center;background-size:cover}
.sidebar{width:260px;min-width:260px;padding:20px 15px 18px;gap:9px}
.brand{font-size:24px;font-weight:800;margin-bottom:18px;gap:9px;line-height:34px;min-height:34px}
.brand-icon{width:26px;height:26px}
.home{height:56px;min-height:56px;padding-left:22px!important;font-size:16px!important}
.folders{padding:7px}
.folder-btn{min-height:43px;height:43px;margin-bottom:5px;padding:6px 13px;font-size:13px;font-weight:650}
.side-action{height:46px;min-height:46px;font-size:14px!important}
.credit{height:58px;font-size:11px!important}
.content{padding:20px 26px 20px;gap:0}
.top-row{min-height:46px;height:46px;gap:8px;flex-wrap:nowrap;margin-bottom:16px}
.top-links,.top-tools{gap:8px;flex-wrap:nowrap}
.top-row .colored{height:46px;font-size:12px;font-weight:700;padding:0 13px}
.top-links{flex:0 1 auto}
.top-links [data-pending="Donat"]{width:96px;min-width:96px}
.top-links [data-pending="Himoya"]{width:111px;min-width:111px}
.top-tools{margin-left:auto;flex:0 0 auto}
.top-tools .square{width:44px;padding:0}
.top-tools .square:last-child{width:50px}
.top-tools #design{width:136px;min-width:136px;font-size:14px}
.filter-row{height:60px;min-height:60px;gap:12px;flex-wrap:nowrap;margin-bottom:4px}
.payment{gap:6px;flex-wrap:nowrap}
.payment .colored{height:48px;font-size:14px;padding:0 6px;flex-shrink:0}
.payment .colored:nth-child(1){width:132px}.payment .colored:nth-child(2){width:68px}.payment .colored:nth-child(3){width:116px}.payment .colored:nth-child(4){width:78px}.payment .colored:nth-child(5){width:68px}.payment .colored:nth-child(6){width:118px}
.utility{gap:12px;min-width:0;flex-wrap:nowrap}
.range-control{flex:none}.range-control input{width:85px;height:14px;margin:0}
.keyboard{width:168px;min-width:168px;height:48px;font-weight:800;font-size:14px}
.clock{width:132px;min-width:132px;height:52px;padding:8px;font-size:14px}
.clock small{font-size:14px}
.weather{width:170px;min-width:170px;height:52px;font-size:13px}
.search{width:255px;min-width:210px;max-width:255px;height:60px;flex:0 1 255px;padding:0 12px 0 16px;gap:10px;border-radius:17px}
.search svg{width:26px;height:26px}
.search input{font-size:14px;font-weight:400}
.search .neutral{min-width:76px;height:30px;font-size:11px;font-weight:600;justify-content:center}
.category-row{height:42px;min-height:42px;flex-wrap:nowrap;margin-bottom:16px}
.categories,.views,.view-buttons{flex-wrap:nowrap;gap:10px}
.categories button{font-size:14px;font-weight:500;min-height:42px;padding:5px 5px 8px}
.categories button.active{font-size:18px;font-weight:800}
.views{font-size:12px;font-weight:650}
.views .range-control input{width:90px}
.views input[type=color]{width:36px;height:36px;padding:1px;border-color:#e4e4e4}
.view-buttons button{height:35px;min-width:75px;font-size:12px;padding:0 10px;font-weight:650;border-radius:10px}
.services{padding:4px 5px 4px 0}
.grid{gap:18px}
.card{height:156px;min-height:156px;padding:8px 14px 10px;border-radius:17px;box-shadow:0 5px 18px #0002}
.badges{top:8px;right:14px;gap:6px;height:20px}
.badge{font-size:10px;font-weight:650;line-height:17px;padding:0 8px}
.card-main{height:100%;gap:14px;padding-right:84px;align-items:center}
.service-icon.custom{height:136px;width:clamp(72px,calc(136px * var(--ratio)),150px)}
.service-icon:not(.custom){height:64px;width:64px}
.service-text{align-self:stretch;padding-top:42px;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}
.service-text strong{font-size:16px;line-height:20px;font-weight:800;white-space:nowrap;letter-spacing:.22px}
.service-text small{font-size:12px;line-height:16px;font-weight:500;margin-top:5px;max-width:225px}
.card[data-service-id="0"] .service-text small{max-width:143px}
.card[data-service-id="1"] .service-text small{max-width:130px}
.card[data-service-id="2"] .service-text small{max-width:175px}
.card[data-service-id="4"] .service-text small{max-width:150px}
.card[data-service-id="6"] .service-text small{max-width:162px}
.card[data-service-id="10"] .service-text small{max-width:133px}
.lesson{width:70px;height:70px;right:14px;top:17px;display:grid;place-items:center}
.lesson img{width:64px;height:64px}
.favorite,.favorite.on{width:28px;height:28px;right:35px;bottom:24px}
.grid.list .card{height:156px;min-height:156px}
.list .card-main{padding-right:108px}
.list .service-text strong{font-size:24px;line-height:29px}
.list .service-text small{font-size:18px;line-height:23px;max-width:none!important}
.list .lesson{width:92px;height:92px;top:8px}
.list .lesson img{width:86px;height:86px}
.list .favorite{right:46px;bottom:12px}
.icons .card{height:196px;min-height:196px}
.icons .card-main{padding:12px 0 0;gap:2px}
.icons .service-text{padding:0;align-self:center}
.icons .service-text strong{font-size:19px;line-height:24px;white-space:normal}
.icons .lesson{top:auto;bottom:10px;width:40px;height:40px;right:9px}
.icons .lesson img{width:100%;height:100%}
.icons .favorite{bottom:10px;left:12px;right:auto}
}
@media(min-width:1501px) and (max-width:1750px){
.title-nav .colored,.title-right .colored{width:auto!important;min-width:0!important;padding:0 10px}
.sidebar{width:240px;min-width:240px;padding-left:12px;padding-right:12px}
.content{padding-left:15px;padding-right:15px}
.top-row .colored{padding:0 9px;font-size:11px}.top-links{gap:6px}
.top-links [data-pending="Donat"],.top-links [data-pending="Himoya"]{width:auto;min-width:0}
.top-tools #design{min-width:118px;width:118px}
.payment .colored{width:auto!important;padding:0 10px;font-size:13px}
.utility{gap:8px}.keyboard{width:145px;min-width:145px}.clock{min-width:105px;width:105px}.weather{min-width:110px;width:110px}.search{min-width:175px;width:220px}
.service-icon.custom{height:124px;width:clamp(72px,calc(124px * var(--ratio)),138px)}
.card-main{padding-right:62px;gap:11px}.lesson{right:7px;width:60px;height:60px}.lesson img{width:100%;height:100%}.favorite,.favorite.on{right:23px}
}
@media(max-width:1500px){.service-text{align-self:center}.favorite,.favorite.on{width:28px;height:28px}.top-tools .square svg{width:26px;height:26px}}
@media(max-width:760px){.favorite,.favorite.on{width:25px;height:25px}.service-text strong{white-space:normal}.service-text small{font-size:11px}}

/* Long titles remain readable instead of covering the controls. */
@media(min-width:1501px){.main .service-text strong{white-space:normal;overflow-wrap:normal}.main .service-text{overflow:hidden}.title-right .colored{flex-shrink:0}}
@media(min-width:1501px) and (max-width:1750px){.top-links{min-width:0}.top-row .top-links .colored{padding-left:8px;padding-right:8px}.title-right .colored{flex-shrink:1}}
