/* Ośrodek 11 — public consistency layer, 2026-11-05.
   Load after route styles. Existing local Manrope/Cormorant files are reused.
   No layout/state selectors used by scripts are replaced. CMS spacing wins:
   its html body #main#main [data-cms-...] !important rules have two IDs;
   all selectors here have at most one #main. Do not add !important to gutters.
   The sheet intentionally leaves questionnaire questions/results and commerce
   visibility, validation, calendar selection and disabled states to their owners. */

html body.o11-clean {
  --o11-forest:#164a3b;
  --o11-forest-deep:#123e32;
  --o11-text:#30483c;
  --o11-muted:#53695d;
  --o11-cream:#f8f6f0;
  --o11-white:#fffefa;
  --o11-sage:#edf1e9;
  --o11-sand:#e9e0d5;
  --o11-line:#d2dcd2;
  --o11-line-strong:#819b88;
  --o11-shell:1180px;
  --o11-gutter:32px;
  --o11-section:clamp(52px,6vw,80px);
  --o11-card:clamp(24px,2.5vw,34px);
  --o11-radius:14px;
  --o11-radius-small:8px;
  --o11-body:17px;
  --o11-h1:clamp(42px,4.9vw,68px);
  --o11-h2:clamp(32px,3.3vw,46px);
  --o11-h3:clamp(22px,2vw,27px);
  --sans:'O11 Sans',Arial,sans-serif;
  --serif:'O11 Serif',Georgia,serif;
  --display:var(--serif);
  --font-display:var(--serif);
  --ink:var(--o11-forest);
  --green:var(--o11-forest);
  --accent:var(--o11-forest);
  --text:var(--o11-text);
  --muted:var(--o11-muted);
  --paper:var(--o11-cream);
  --white:var(--o11-white);
  --soft:var(--o11-sage);
  --line:var(--o11-line);
  --layout-width:var(--o11-shell);
  --layout-gutter:var(--o11-gutter);
  --u-shell:var(--o11-shell);
  --u-section:var(--o11-section);
  --u-card:var(--o11-card);
  --u-gap:clamp(28px,4vw,56px);
  --u-radius:var(--o11-radius);
  --u-title:var(--o11-h1);
  --u-heading:var(--o11-h2);
  --u-subheading:var(--o11-h3);
  font-family:var(--sans);
  font-size:var(--o11-body);
  font-weight:400;
  line-height:1.75;
  color:var(--o11-text);
  background:var(--o11-cream);
}

/* One page grid. Existing .wrap rules consume --layout-*; these are wrappers
   outside .wrap, with the same grid rather than another nested gutter. */
html body.o11-clean #main :is(.commerce-wrap,.legal-document-shell) {
  box-sizing:border-box;
  width:calc(100% - var(--o11-gutter) * 2);
  max-width:var(--o11-shell);
  margin-inline:auto;
  padding-inline:0;
}
html body.o11-clean #main :is(.nb-section,.nb-page-intro) { padding-inline:0; }
html body.o11-clean #main .nb-root {
  width:calc(100% - var(--o11-gutter) * 2);
  max-width:var(--o11-shell);
  margin-inline:auto;
}
html body.o11-clean #main :is(.o11-offer-layout,.o11-team-person,.kh-hero-layout,.kh-article-grid,.o11-contact-grid,.nb-layout,.commerce-detail,.commerce-resource-grid)>* { min-width:0; }

/* Display hierarchy uses the genuine 400 serif face, not a synthetic weight. */
html body.o11-clean #main :is(h1,h2) {
  font-family:var(--serif)!important;
  font-weight:400!important;
  letter-spacing:-.025em!important;
  text-wrap:balance;
}
html body.o11-clean #main :is(.r11-hero,.subhero,.o11-offer-page,.o11-team-page,.knowledge-hub,.nb-page-intro,.commerce,.legal-document) h1 {
  font-family:var(--serif)!important;
  font-weight:400!important;
  font-size:var(--o11-h1)!important;
  line-height:1.08!important;
}
html body.o11-clean #main .knowledge-hub .kh-article-title h1 {
  font-family:var(--serif)!important;
  font-weight:400!important;
  font-size:var(--o11-h1)!important;
  line-height:1.08!important;
}
html body.o11-clean #main :is(.section,.r11-hero,.o11-offer-page,.o11-team-page,.knowledge-hub,.nb-section,.commerce) h2 {
  font-family:var(--serif)!important;
  font-weight:400!important;
  font-size:var(--o11-h2)!important;
  line-height:1.16!important;
}
html body.o11-clean #main :is(.card,.step,.centre-options,.o11-offer-copy,.o11-team-story-copy,.o11-contact-info-grid,.growth-reading__card,.commerce-resource-card) h3 {
  font-family:var(--sans)!important;
  font-size:var(--o11-h3)!important;
  font-weight:600!important;
  line-height:1.35!important;
  letter-spacing:-.025em!important;
}
html body.o11-clean #main :is(.eyebrow,.kicker,.nb-eyebrow,.crm-contact-eyebrow,.commerce-eyebrow,.legal-document-eyebrow,.growth-reading__eyebrow) {
  font-family:var(--sans)!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.55!important;
  letter-spacing:.09em;
  text-transform:uppercase;
}
html body.o11-clean #main :is(.r11-lead,.r11-about-copy>p,.centre-introduction p,.centre-founder-note p,.o11-offer-copy p,.o11-offer-lead,.o11-team-intro>p,.o11-team-story-copy p,.kh-intro p,.kh-entry-copy p,.kh-article-body p,.legal-document-content p,.commerce-library-lead,.commerce-detail-text>p,.o11-contact-lead,.ux-office p) {
  font-size:var(--o11-body);
  line-height:1.8;
}
html body.o11-clean #main :is(.subhero,.o11-editorial-hero,.kh-article-heading,.nb-page-intro) h1 { margin-block:12px 24px; }
html body.o11-clean #main :is(.o11-editorial-hero,.o11-team-profile-head,.kh-article-heading,.kh-hero) { padding-block:48px; }
html body.o11-clean #main :is(.o11-editorial-hero,.kh-article-heading,.kh-hero,.nb-page-intro,.legal-document) { background:var(--o11-cream); }
html body.o11-clean #main :is(.o11-offer-layout,.o11-team-person,.o11-team-story-layout,.kh-hero-layout) { column-gap:clamp(32px,5vw,72px); }

/* Navigation keeps the existing drawer, focus management and open/close logic. */
html body.o11-clean .o11-header { background:var(--o11-cream); border-bottom-color:var(--o11-line); }
html body.o11-clean .o11-header-inner { min-height:88px; }
html body.o11-clean :is(.o11-nav-link,.o11-more-toggle) { min-height:44px; font:600 14px/1.5 var(--sans); color:var(--o11-text); }
html body.o11-clean :is(.o11-nav-link[aria-current],.o11-nav-link:hover,.o11-more-toggle:hover) { color:var(--o11-forest); text-underline-offset:7px; }
html body.o11-clean :is(.o11-menu-toggle,.o11-menu-close) { min-height:48px; border-radius:var(--o11-radius-small); }

/* Only explicit action components receive button dimensions. Calendar grid
   cells, hidden elements, icon-only controls and questionnaire answers retain
   their own layout and state rules. No generic a/button display override. */
html body.o11-clean #main :is(.btn,.commerce-button,.crm-contact-submit,.ux-start-link),
html body.o11-clean .o11-nav-cta {
  min-height:48px;
  max-width:100%;
  padding:13px 22px;
  border-radius:var(--o11-radius-small);
  font-family:var(--sans);
  font-size:14px;
  font-weight:600;
  line-height:1.5;
  white-space:normal;
  text-align:center;
  text-decoration:none;
}
html body.o11-clean #main :is(.actions,.cta-actions,.o11-team-actions,.commerce-empty-actions) { gap:12px 20px; }
/* Old outline hover used a medium sage behind dark text (2.50:1). */
html body.o11-clean #main .btn.outline:not(:disabled):hover { background:var(--o11-sage); color:var(--o11-forest); border-color:var(--o11-forest); }
html body.o11-clean #main :is(.link,.kh-inline-link,.kh-read,.nb-text-link,.commerce-text-link) { min-height:44px; line-height:1.55; text-underline-offset:4px; }
html body.o11-clean #main :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--o11-forest); outline-offset:4px; }
html body.o11-clean #main :is(.section.dark,.kh-contact,.o11-contact-invitation,.o11-offer-free) :is(a,button,input,select,textarea,summary):focus-visible { outline-color:var(--o11-white); }

/* Surfaces are quiet and consistent; images keep their existing crops. */
html body.o11-clean #main :is(.card:not(.review-card),.step,.centre-principles>article,.centre-options>article,.r11-article-grid>article,.o11-contact-card,.nb-calendar,.nb-filters,.commerce-resource-card,.commerce-catalogue-status,.commerce-checkout-form,.ux-office-grid) {
  border-color:var(--o11-line);
  border-radius:var(--o11-radius);
  box-shadow:none;
}
html body.o11-clean #main :is(.card:not(.review-card),.r11-article-grid>article,.o11-contact-card,.nb-calendar,.nb-filters,.commerce-resource-card) { background:var(--o11-white); }
html body.o11-clean #main :is(.centre-principles>article,.centre-options>article,.r11-article-grid>article,.commerce-resource-card) { padding:var(--o11-card); }
html body.o11-clean #main :is(.o11-team-photo,.r11-hero-photo>img,.r11-about-grid figure>img,.kh-article-image,.ux-office-image img) { border-radius:var(--o11-radius); }
html body.o11-clean #main :is(.o11-contact-practical,.ux-contact-aside,.ux-office-grid,.nb-teaser,.nb-reservation,.commerce-catalogue-status,.commerce-checkout-form) { background:var(--o11-sage); }
html body.o11-clean #main :is(.kh-contact,.section.dark,.o11-contact-invitation) { background:var(--o11-forest); color:var(--o11-white); }
html body.o11-clean #main :is(.kh-contact,.section.dark,.o11-contact-invitation) :is(h2,h3,p,.eyebrow) { color:var(--o11-white); }

/* Forms and native calendar: typography and borders only, never availability. */
html body.o11-clean #main :is(.crm-contact-section,.nb-root) {
  --crm-brand:var(--o11-forest);--crm-ink:var(--o11-text);--crm-muted:var(--o11-muted);--crm-line:var(--o11-line-strong);--crm-paper:var(--o11-white);--crm-soft:var(--o11-sage);
  --nb-brand:var(--o11-forest);--nb-ink:var(--o11-text);--nb-line:var(--o11-line);--nb-paper:var(--o11-white);--nb-soft:var(--o11-sage);
  font-family:var(--sans);
}
html body.o11-clean #main :is(.crm-contact-form,.nb-root,.commerce-checkout-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
  font-family:var(--sans);
  font-size:16px;
  line-height:1.5;
  border-radius:var(--o11-radius-small);
}
html body.o11-clean #main :is(.crm-contact-form,.nb-root) label { font-family:var(--sans); font-size:14px; line-height:1.6; }
html body.o11-clean #main .crm-contact-form textarea { min-height:148px; }
html body.o11-clean #main :is(.crm-contact-note,.crm-contact-privacy,.nb-private-note,.nb-footer-note,.commerce-payment-note) { font-family:var(--sans); font-size:13px; line-height:1.7; }
html body.o11-clean #main .nb-month-bar h3 { font:600 19px/1.4 var(--sans)!important; letter-spacing:0!important; }
html body.o11-clean #main .nb-root :is(.nb-day,.nb-time,.nb-submit,.nb-text-link) { font-family:var(--sans); }
html body.o11-clean #main .nb-root .nb-day { min-height:44px; }
html body.o11-clean #main .nb-root .nb-icon { min-width:44px; width:44px; min-height:44px; height:44px; }
html body.o11-clean #main .nb-month-bar { grid-template-columns:44px minmax(0,1fr) 44px; }
html body.o11-clean #main .nb-reservation { border:1px solid var(--o11-line); border-radius:var(--o11-radius); }
html body.o11-clean #main :is(.nb-empty,.kh-empty,.commerce-filter-empty,.empty-resource) { border-color:var(--o11-line); border-radius:var(--o11-radius); }

/* Knowledge has a readable document scale rather than oversized card titles. */
html body.o11-clean #main .knowledge-hub { --kh-ink:var(--o11-forest);--kh-muted:var(--o11-muted);--kh-paper:var(--o11-cream);--kh-mint:var(--o11-sage);--kh-line:var(--o11-line); }
html body.o11-clean #main .knowledge-hub .kh-entry-copy h3 { font-family:var(--serif)!important; font-size:clamp(27px,2.4vw,34px)!important; font-weight:400!important; line-height:1.2!important; }
html body.o11-clean #main .knowledge-hub .kh-article-body h2 { font:600 clamp(25px,2.4vw,31px)/1.35 var(--sans)!important; letter-spacing:-.02em!important; }
html body.o11-clean #main .knowledge-hub .kh-article-body h3 { font:600 22px/1.4 var(--sans)!important; letter-spacing:-.02em!important; }
html body.o11-clean #main .knowledge-hub .kh-article-body :is(p,li) { font-size:var(--o11-body); line-height:1.85; }
html body.o11-clean #main .knowledge-hub .kh-article-body :is(p,ul,ol) { margin-bottom:22px; }
html body.o11-clean #main .knowledge-hub .kh-entry { padding-block:30px; }
html body.o11-clean #main .knowledge-hub .kh-tools { border:1px solid var(--o11-line); border-radius:var(--o11-radius); }
html body.o11-clean #main :is(.growth-reading,.growth-takeaways) { --gr-ink:var(--o11-forest);--gr-muted:var(--o11-muted);--gr-paper:var(--o11-cream);--gr-soft:var(--o11-sage);--gr-line:var(--o11-line); }
html body.o11-clean #main .growth-takeaways h2 { font:600 24px/1.35 var(--sans)!important; letter-spacing:-.02em!important; }

/* Includes the isolated TOC repair; native anchors retain their behavior. */
html body.o11-clean #main .kh-article-aside .ux-contents-details>a {
  display:block;
  margin:0;
  padding-block:10px;
  border-bottom:1px solid var(--o11-line);
  color:var(--o11-forest);
  font:400 15px/1.6 var(--sans);
  overflow-wrap:anywhere;
  text-decoration:none;
}
html body.o11-clean #main .kh-article-aside .ux-contents-details>a:last-of-type { border-bottom:0; }
html body.o11-clean #main .kh-article-aside .ux-contents-details>a:hover { text-decoration:underline; text-underline-offset:4px; }

/* Legal documents and shop resources share the same reading and action scale. */
html body.o11-clean #main .legal-document { --legal-accent:var(--o11-forest);--legal-muted:var(--o11-muted);--legal-line:var(--o11-line); }
html body.o11-clean #main .legal-document .legal-document-content h2 { font:600 clamp(25px,2.4vw,31px)/1.35 var(--sans)!important; letter-spacing:-.02em!important; }
html body.o11-clean #main .legal-document .legal-document-content p { font-size:var(--o11-body); line-height:1.85; }
html body.o11-clean #main .legal-document .legal-document-toc a { min-height:44px; padding-block:9px; font-size:14px; }
html body.o11-clean #main .commerce { --shop-ink:var(--o11-forest);--shop-paper:var(--o11-cream);--shop-soft:var(--o11-sage);--shop-line:var(--o11-line);--shop-accent:#a58a6c; }
html body.o11-clean #main .commerce .commerce-catalogue-status h2 { font:600 18px/1.45 var(--sans)!important; letter-spacing:0!important; }
html body.o11-clean #main .commerce .commerce-resource-heading h2 { font-size:32px!important; line-height:1.25!important; }
html body.o11-clean #main .commerce .commerce-resource-card h3 { font:600 23px/1.35 var(--sans)!important; letter-spacing:-.02em!important; }
html body.o11-clean #main .commerce .commerce-resource-card>p:not(.commerce-eyebrow) { font-size:16px; line-height:1.8; }
html body.o11-clean #main .commerce .commerce-resource-card>a { min-height:48px; font-size:14px; line-height:1.6; }
html body.o11-clean #main .commerce-empty { background:var(--o11-sage); border:1px solid var(--o11-line); border-radius:var(--o11-radius); padding:var(--o11-card); }

/* Footer remains a compact navigation area with usable links and original logo. */
html body.o11-clean .footer { background:#eee9e0; color:var(--o11-forest); border-top:1px solid var(--o11-line); padding-block:48px 24px; }
html body.o11-clean .footer-grid { gap:32px; }
html body.o11-clean .footer-grid :is(p,strong,nav a) { font-family:var(--sans); font-size:14px; line-height:1.7; }
html body.o11-clean .footer-grid nav a { display:flex; align-items:center; min-height:36px; padding-block:6px; }
html body.o11-clean .footer :is(.fine,.footer-links) { font-size:13px; line-height:1.75; }
html body.o11-clean .footer a:focus-visible { outline:3px solid var(--o11-forest); outline-offset:4px; }

@media(max-width:1000px) {
  html body.o11-clean { --o11-gutter:24px; }
  html body.o11-clean .o11-nav-list { gap:16px; }
}
@media(max-width:760px) {
  html body.o11-clean { --o11-gutter:20px;--o11-body:16px;--o11-section:42px;--o11-card:24px;--o11-h1:clamp(36px,8.8vw,44px);--o11-h2:clamp(30px,7.5vw,36px);--o11-h3:23px; }
  html body.o11-clean #main :is(.o11-editorial-hero,.o11-team-profile-head,.kh-article-heading,.kh-hero) { padding-block:32px; }
  html body.o11-clean #main :is(.subhero,.o11-editorial-hero,.kh-article-heading,.nb-page-intro) h1 { margin-block:10px 20px; }
  html body.o11-clean #main :is(.o11-offer-layout,.o11-team-person,.o11-team-story-layout,.kh-hero-layout) { column-gap:24px; }
  html body.o11-clean #main :is(.btn,.commerce-button,.crm-contact-submit,.ux-start-link) { min-height:48px; padding:12px 18px; }
  html body.o11-clean #main :is(.kh-article-body,.legal-document-content) :is(p,li) { line-height:1.8; }
  html body.o11-clean #main .commerce .commerce-resource-heading h2 { font-size:29px!important; }
  html body.o11-clean .footer { padding-block:36px 24px; }
  html body.o11-clean .footer-grid nav a { min-height:44px; padding-block:10px; }
}
@media(max-width:360px) {
  html body.o11-clean { --o11-gutter:16px;--o11-card:20px; }
}
@media(forced-colors:active) {
  html body.o11-clean #main :is(.card,.nb-calendar,.nb-reservation,.commerce-resource-card,.o11-contact-card) { border:1px solid CanvasText; }
  html body.o11-clean #main :is(a,button,input,select,textarea,summary):focus-visible { outline-color:Highlight; }
}
@media print {
  html body.o11-clean { color:#111; background:#fff; }
  html body.o11-clean #main .legal-document .legal-document-content h2 { font-size:16pt!important; }
  html body.o11-clean #main .legal-document .legal-document-content p { font-size:10pt; line-height:1.5; }
}
