/* Quiet Practice · общий каркас страницы (шаг 4).
   Подключается последним в <head>, поэтому перекрывает локальные правила меню
   без !important. Меняет только боковое меню и ширину его колонки. */
html:not(#_) body .sidebar{border-right:0;box-shadow:none;font-family:var(--sans)}
html:not(#_) body .sidebar :is(.identity,.site-logo,.logo){display:block;width:40px}
html:not(#_) body .sidebar :is(.identity,.site-logo,.logo) img{display:block;width:40px;height:auto}
html:not(#_) body .sidebar nav{display:flex;flex-direction:column;align-items:stretch;gap:8px}
html:not(#_) body .sidebar nav a{font-size:14px;line-height:1.5;padding:4px 0;color:var(--muted);text-decoration:none}
html:not(#_) body .sidebar nav a:hover,html:not(#_) body .sidebar nav a[aria-current]{color:var(--ink)}
html:not(#_) body .sidebar :is(.back,.back-home,.back-link){position:relative;display:block;font-size:14px;line-height:1.5;color:var(--muted);text-decoration:none}
html:not(#_) body .sidebar :is(.back,.back-home,.back-link):hover{color:var(--ink)}
html:not(#_) body .sidebar .back-arrow{position:absolute;left:-18px;top:calc(50% + .02em);transform:translateY(-50%);width:14px;height:14px;margin:0}
html:not(#_) body .sidebar .back-arrow svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
/* Ширину колонки задаёт --sidebar-width (224 / 200 / 176) из stickers.css; здесь не переопределяется. */

/* Контейнер контента — как на главной: 1120 px, поля 48 / 32 / 20. */
html:not(#_) body .page-content :is(main.wrap,main > .wrap,.page-content > .wrap){box-sizing:border-box;width:calc(100% - 96px);max-width:1120px;margin-inline:auto;padding-inline:0}
@media(max-width:1280px){html:not(#_) body .page-content :is(main.wrap,main > .wrap,.page-content > .wrap){width:calc(100% - 64px)}}
@media(max-width:980px){html:not(#_) body .page-content :is(main.wrap,main > .wrap,.page-content > .wrap){width:calc(100% - 40px)}}
