:root{--surface280:#202a3c;--raised280:#2c384c;--warm280:#393842}
html:is([data-scene=forest],[data-nature=forest]){--surface280:#263a32;--raised280:#33483d;--warm280:#393e32}
html:is([data-scene=lake],[data-nature=lake]){--surface280:#273c49;--raised280:#354a58;--warm280:#39434a}
html body header.header{container:kh-header / inline-size;position:relative;margin-block:8px 0;padding:0;z-index:auto}
html body header.header:has(.header-service255[data-open=true]){z-index:2147481999}
html body header.header .header-inner{position:relative;display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0;min-height:48px;padding:5px 10px!important;background:var(--surface280);overflow:visible}
html body .header-inner .brand-group212{flex:0 0 auto;gap:5px}
html body header.header .header-search{display:flex;align-items:center;flex:1 1 20rem;min-width:5rem;max-width:40rem;width:auto;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html body .header-inner .header-search label{display:flex;flex:1;min-width:0;margin:0}.header-search input{min-width:0}
html body .header-inner .header-search input{width:100%;height:36px;min-height:36px}
html body .header-inner .header-search button{min-height:36px;margin:0}
html body .header-inner .pins277{display:flex;flex:0 1 auto;min-width:0;max-width:38%;gap:3px;align-items:center;overflow:auto;scrollbar-width:thin;padding:1px}
html body .header-inner .pins277:empty{display:none}.pins277>a,.pins277>button{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 8px;min-height:32px;box-sizing:border-box}
html body header.header .header-service255{display:block;position:relative;flex:0 0 auto;width:auto;margin:0;padding:0;border:0;background:none}
html body header.header .header-service-toggle255{display:inline-flex!important;align-items:center;min-height:36px}
html body header.header .header-service-content255[hidden]{display:none!important}
html body header.header .header-service255[data-open=true] .header-service-content255{display:block!important;position:absolute;top:calc(100% + 5px);right:0;z-index:5;width:max-content;min-width:min(19rem,75vw);max-width:min(29rem,78vw);max-height:65dvh;overflow:auto;box-sizing:border-box;background:var(--surface280);border:1px solid var(--line278);padding:8px;border-radius:10px}
html body header.header .header-service-content255 .header-utilities{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px;background:transparent}
.header-service-content255 .header-utilities>*{max-width:100%}.header-inner .rating238-label{display:none}
html body header.header .header-controls255{flex:0 0 auto;display:flex;min-width:0}.header-inner .header-identity255{flex:0 0 auto;max-width:12rem}
.header-inner .rating238{position:relative}.header-inner .rating238-error{position:absolute;right:0;top:100%;max-width:17rem;background:var(--surface280);z-index:2}
@container kh-header (max-width:860px){
 html body header.header .header-inner{gap:5px}
 html body .header-inner .pins277{max-width:21%}
 html body .header-inner .header-identity255 .role-entry{max-width:6rem;overflow-wrap:anywhere}
}
@container kh-header (max-width:590px){
 html body header.header .header-inner{flex-wrap:wrap;gap:5px}
 html body .header-inner .brand-group212 .brand{display:none}
 html body .header-inner .pins277{order:5;width:100%;max-width:100%;flex:1 0 100%}
 html body .header-inner .header-identity255{max-width:5rem}
 html body .header-inner .header-search button{display:none}
 html body .header-inner .header-controls255{margin-left:auto}
 html body .header-inner .header-service255{position:static}
 html body header.header .header-service255[data-open=true] .header-service-content255{right:0;max-width:100%;width:100%}
}
html body :is(.desktop-frame,.desktop-bar,.sections277-flyout,.workspace-sidebar65,.desktop-menu,.elina-drawer278){background-color:var(--surface280)!important;background-image:none!important;color:var(--ink278)}
html body .desktop-frame>.desktop-body{background-color:var(--surface280)}
html body :is(dialog.details277[open],.purchase-dialog225[open]){background:var(--warm280)!important}
html body .details277 [aria-label^="Закрыть"],html body .science-close280{min-width:40px;min-height:40px;padding:3px;font-size:20px}
html body .sections277-flyout .nav-target69{align-items:center}.sections277-flyout a{overflow-wrap:anywhere}
.constructor-areas280{display:flex;gap:6px;flex-wrap:wrap}.constructor-areas280 button{min-height:42px}.constructor-areas280 [aria-pressed=true]{border-color:var(--tint278)}
html body .constructor-desktop .constructor-row{gap:6px;align-items:center;flex-wrap:wrap}
html body .tutor214>.tutor-tabs214{margin:0 0 .4rem;padding:0 0 .4rem}
html body .tutor214 .tutor-guide214,html body .tutor214 .tutor-goal280{margin:.35rem 0;padding:.25rem .5rem;background:var(--surface280);border:1px solid var(--line278);border-radius:7px}
html body .tutor-guide214>summary,html body .tutor-goal280>summary{border:0;background:transparent;min-height:34px;align-content:center;padding:0 .3rem}
html body .tutor214 .tutor-mode214{margin:.35rem 0;padding:.42rem .65rem}
html body .tutor214 .tutor-filters214{margin:.4rem 0;align-items:end}
html body .tutor214{container:tutor / inline-size}
@container tutor (max-width:620px){html body .tutor214 .tutor-filters214{grid-template-columns:repeat(2,minmax(0,1fr))}.tutor-search237{grid-column:1/-1}}
@container tutor (max-width:360px){html body .tutor214 .tutor-filters214{grid-template-columns:1fr}}
html body .file-collection.single-file280{display:block;padding:0;margin:.5rem 0}
html body :is(.single-file280,.view-list) .file-row.book-file{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 13px;width:100%;min-height:0;padding:10px 12px;box-sizing:border-box}
html body .single-file280 .file-row :is(.book-cover,.book-cover091){flex:0 0 auto;max-width:52px}
html body .single-file280 .file-row>div:nth-child(2){min-width:0;overflow-wrap:anywhere}
html body .single-file280 .file-row .file-primary-actions-a,html body .single-file280 .file-row .file-acquire225{display:flex!important;width:auto;align-items:center;gap:6px;margin:0;padding:0}
html body .single-file280 .file-row .file-primary-actions-a{flex:0 1 auto}
html body .single-file280 .file-row .file-menu-trigger{margin:0}
.file-row .exe-icon280{display:grid;place-content:center;width:42px;height:46px;border-radius:6px;background:var(--raised280);color:var(--ink278);font:650 .76rem system-ui;letter-spacing:.04em;border:1px solid var(--line278)}
html body .file-row .file-primary-actions-a .download-button266{box-shadow:none}
html body .file-row :focus-visible,html body header.header :focus-visible{outline:2px solid var(--tint278);outline-offset:2px}
html body .atlas087{margin:0 auto;max-width:100%;container:atlas / inline-size}
html body .atlas087 .atlas-heading{display:flex;align-items:center;flex-flow:row wrap;gap:6px 14px;margin:.3rem 0 .5rem}
html body .atlas087 .atlas-heading p{font-size:.95rem;margin:0}
html body .atlas087 .map-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px 9px;background:var(--raised280)!important;color:var(--ink278);padding:5px 8px}
html body .atlas087 :is(.map-place-label,.map-toolbar label,.map-detail236 output){color:var(--ink278)}
html body .atlas087 :is(.maplibregl-popup-content,.map-options-a[open]>div,.object-card,.map-notice,.daylight-note,.map-caption){background:var(--surface280)!important;color:var(--ink278)!important}
html body .atlas087 :is(.map-caption,.daylight-note){margin:.25rem 0;padding:5px 8px}
html body .atlas087 .maplibregl-popup-content :is(a,button,strong,small){color:inherit}
html body .sky-clock42{flex-wrap:wrap;gap:4px}.map-detail236{align-items:center}
@container atlas (max-width:560px){html body .atlas087 .map-toolbar :is(button,summary,select){min-height:42px}html body .atlas087 .atlas-heading .eyebrow{display:none}}
html body .community-admin .section-heading{align-items:start;flex-wrap:wrap}.community-admin .community-counts{gap:5px}
@media(max-width:700px){html body .single-file280 .file-row .file-menu-trigger,html body .tutor214 summary,html body .header-service-content255 :is(a,button){min-height:42px}}
/* The older mobile template placed every header child in its own grid row. */
#root header.header .header-inner{
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  justify-content:flex-start!important;gap:6px!important;min-height:48px!important;height:auto!important;
}
#root header.header .header-inner>nav.pins277:not(:empty){
  display:flex!important;flex:0 1 auto!important;flex-flow:row nowrap!important;
  max-width:34%!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;
  padding:0!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;gap:3px;
}
#root header.header .pins277>*{flex:none;white-space:nowrap;min-height:32px!important;width:auto!important}
#root header.header .header-inner>.header-search{flex:1 1 18rem!important;min-width:5.5rem!important;max-width:36rem!important;margin:0!important;padding:0!important;flex-wrap:nowrap!important}
#root header.header .header-inner>.header-search :is(label,input){min-width:0!important;width:100%!important;max-width:none}
#root header.header .header-search input{margin:0!important;padding:6px 9px!important;height:36px!important;min-height:36px!important}
#root header.header .header-inner>.header-service255{position:static!important;order:9!important;flex:0 0 auto!important}
#root header.header .header-service255[data-open=true] .header-service-content255{right:0!important;left:auto!important;top:calc(100% + 3px)!important;max-width:100%!important;max-height:60dvh!important;min-width:0!important;margin:0!important}
#root header.header .header-service-content255 .header-utilities{margin:0!important;padding:4px!important;max-width:100%!important}
#root header.header .header-inner>.header-identity255{display:flex!important;align-items:center;max-width:9rem;min-width:0;flex:0 1 auto!important}
#root header.header .header-inner .header-identity255 .mobile-auth248{display:none!important}
#root header.header .header-inner .rating238-error{position:absolute;inset:100% 0 auto auto;width:min(240px,65vw);max-width:65vw;background:var(--surface280);color:var(--ink278)}
#root header.header .header-inner .header-service-toggle255{height:36px;min-height:36px!important;min-width:42px;padding:4px 8px!important;white-space:nowrap}
@container kh-header (max-width:650px){
 #root header.header .header-inner{flex-wrap:wrap!important}
 #root header.header .header-inner>.header-search{order:1!important;flex:1 1 5.5rem!important;min-width:5.5rem!important;max-width:none!important}
 #root header.header .header-inner>.header-controls255{order:2!important}
 #root header.header .header-inner>.header-identity255{order:3!important}
 #root header.header .header-inner>.header-service255{order:4!important}
 #root header.header .header-inner>nav.pins277:not(:empty){order:5!important;flex:1 0 100%!important;max-width:100%!important}
 #root header.header .header-inner .header-identity255 .role-entry>span{display:none}
 #root header.header .header-inner .header-search button{display:none!important}
 #root header.header .header-inner .brand-group212 :is(.brand,small){display:none!important}
 #root header.header .header-service255[data-open=true] .header-service-content255{width:100%!important}
}
@media(max-width:700px){
 #root header.header{display:block!important;margin:5px 5px 0 46px!important;width:auto!important}
 #root header.header .header-inner{width:100%!important;max-width:100%!important;margin:0!important;padding:4px!important}
}
html body .purchase-dialog225[role=dialog]{background:var(--warm280)!important;color:var(--ink278)}
#root header.header .rating-status280{position:relative;margin:0;padding:0;border:0}
#root header.header .rating-status280>summary{list-style:none;cursor:pointer;padding:2px 4px;background:none;border:0;min-width:20px;min-height:30px;font-size:16px}
#root header.header .rating-status-content280{position:absolute;top:100%;right:0;z-index:7;min-width:12rem;max-width:65vw;background:var(--surface280);border:1px solid var(--line278);padding:8px}
#root header.header:has(.rating-status280[open]){z-index:2147481900}
#root header.header .header-inner>.header-service255{width:auto!important;min-width:0!important}
#root header.header .header-service-toggle255{width:auto!important}
@container kh-header (max-width:650px){
 #root header.header .header-inner{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto!important;grid-template-areas:"brand search search more" "pins pins votes votes"!important;grid-auto-rows:auto!important;gap:3px 4px!important;padding:3px 5px!important}
 #root header.header .header-inner>.brand-group212{grid-area:brand;min-width:0!important;width:auto!important;max-width:38px!important}
 #root header.header .header-inner .brand-group212 .brand{display:none!important}
 #root header.header .header-inner .brand-toggle212{width:36px!important;min-width:36px!important;height:38px!important;min-height:38px!important;padding:0!important}
 #root header.header .header-inner .brand-toggle212 img{max-width:32px!important;max-height:32px!important}
 #root header.header .header-inner>.header-search{grid-area:search;width:100%!important;min-width:0!important}
 #root header.header .header-inner>.header-service255{grid-area:more;justify-self:end!important}
 #root header.header .header-inner>.header-controls255{grid-area:votes;justify-self:end;margin:0!important;width:auto!important}
 #root header.header .header-inner>.header-identity255{position:absolute!important;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
 #root header.header .header-inner>nav.pins277:not(:empty){grid-area:pins;width:100%!important;margin:0!important}
 #root header.header .header-service-content255 .mobile-auth248{display:flex!important}
}
@container kh-header (max-width:650px){
 #root header.header .header-inner>.header-identity255{display:none!important}
}
html body>.rail-track278{pointer-events:none}
html body .atlas087 .object-card :is(h2,dt,dd,.eyebrow){color:inherit!important}
html body .atlas087 .earth-canvas{min-height:clamp(260px,49dvh,650px)}
html body .atlas087 :is(.maplibregl-ctrl-scale,.maplibregl-ctrl-attrib-inner,.maplibregl-cooperative-gesture-screen){background-color:var(--surface280);color:var(--ink278)}
html body .atlas087 .maplibregl-ctrl-attrib-inner a{color:inherit}
