:root {
  --ma-surface:#f7f6f2; --ma-panel:#fff; --ma-soft:#edf0eb; --ma-text:#152f45;
  --ma-reading:#344c5c; --ma-muted:#51636d; --ma-line:#c7ccc9;
  --ma-action:#3dffa6; --ma-action-ink:#102b24;
  --ma-mint:#007a46; --ma-cyan:#006f8f; --ma-blue:#245cb5; --ma-violet:#6645b8; --ma-amber:#8a5a00;
}
html[data-theme=dark] {
  color-scheme:dark;
  --ma-surface:#111e21; --ma-panel:#192a2d; --ma-soft:#203436; --ma-text:#f1f4ea;
  --ma-reading:#d1dcd7; --ma-muted:#b0c2bb; --ma-line:#41575a;
  --ma-mint:#3dffa6; --ma-cyan:#26d9ff; --ma-blue:#67a8ff; --ma-violet:#a58cff; --ma-amber:#ffbd66;
  --porcelain:var(--ma-surface); --prussian:var(--ma-text); --silver:var(--ma-soft);
  --catalogue-copy:var(--ma-reading); --catalogue-muted:var(--ma-muted); --catalogue-line:var(--ma-line);
  --body-copy:var(--ma-reading); --ink:var(--ma-text); --page-hairline:var(--ma-line);
  --page-quiet:var(--ma-muted); --page-forest:var(--ma-mint); --page-moss:var(--ma-soft);
}
.topbar .theme-switch {
  display:none; align-items:center; justify-content:center; gap:.5rem;
  height:44px; min-width:44px; padding:0 .75rem; border:1px solid var(--ma-line);
  border-radius:9px; background:var(--ma-panel); color:var(--ma-text); cursor:pointer;
  font:500 .91rem/1 Switzer,Arial,sans-serif;
}
html[data-theme] .topbar .theme-switch { display:inline-flex; }
.theme-symbols { display:grid; place-items:center; }
.theme-symbols svg { display:block; width:19px; height:19px; grid-area:1/1; }
.theme-symbols svg:last-child, .topbar .brand-on-dark { display:none; }
[data-theme=dark] .theme-symbols svg:first-child, [data-theme=dark] .topbar .brand-on-light { display:none; }
[data-theme=dark] .theme-symbols svg:last-child, [data-theme=dark] .topbar .brand-on-dark[hidden] { display:block!important; }
.topbar .theme-switch:hover { background:var(--ma-soft); border-color:var(--ma-muted); }
html { scroll-padding-bottom:calc(4.8rem + env(safe-area-inset-bottom, 0px)); }
.meeting-dock {
  position:fixed; z-index:12; right:max(18px,env(safe-area-inset-right, 0px)); bottom:calc(17px + env(safe-area-inset-bottom, 0px));
  display:inline-flex; align-items:center; justify-content:center; gap:.9rem; min-height:49px;
  padding:.64rem .96rem .64rem 1.16rem; background:var(--ma-action); color:var(--ma-action-ink);
  border:1px solid #207454; border-radius:11px; box-shadow:0 3px 15px #10282b29;
  font:500 1rem/1.15 Switzer,Arial,sans-serif; text-decoration:none; white-space:nowrap;
}
.meeting-dock svg { width:21px; height:21px; }
.meeting-dock:hover { background:#96ffcd; }
.meeting-dock:focus-visible, .topbar .theme-switch:focus-visible {
  outline:2px solid var(--ma-text); outline-offset:3px; box-shadow:0 0 0 3px var(--ma-panel);
}
.meeting-dock[hidden], body:has(dialog[open],#studio-menu:not([hidden])) .meeting-dock { display:none; }
.site-footer { padding-bottom:calc(3.25rem + env(safe-area-inset-bottom, 0px)); }
@media(min-width:740px) { .meeting-dock { right:max(26px,env(safe-area-inset-right, 0px)); bottom:calc(22px + env(safe-area-inset-bottom, 0px)); } }
@media(max-width:470px) {
 .theme-label { display:none; }
 .topbar .theme-switch { padding:0; }
 .meeting-dock { min-height:46px; right:max(12px,env(safe-area-inset-right, 0px)); bottom:calc(10px + env(safe-area-inset-bottom, 0px)); gap:.55rem; }
}

.edition-offer, .price-index>a { --category:var(--ma-blue); }
.edition-offer:has(a[href*="matning"]),.price-index>a[href*="matning"] { --category:var(--ma-cyan); }
.edition-offer:has(a[href*="automation"]),.price-index>a[href*="automation"] { --category:var(--ma-violet); }
.edition-offer:has(a[href*="strategi"]),.price-index>a[href*="strategi"] { --category:var(--ma-amber); }
.edition-offer:has(a[href*="produktion"]),.price-index>a[href*="produktion"] { --category:var(--ma-violet); }
.sp-directory .edition-offer h3 a, .motion-edition .price-index>a>span:first-child { text-decoration-color:var(--category); }
.sp-directory .edition-offer h3 a::before, .motion-edition .price-index>a h3::before {
  content:""; display:inline-block; width:.24em; height:.72em; margin-inline-end:.35em;
  background:var(--category); border-radius:2px; vertical-align:.04em;
}
.example-flow li:nth-child(1) { --step:var(--ma-cyan); }
.example-flow li:nth-child(2) { --step:var(--ma-violet); }
.example-flow li:nth-child(3) { --step:var(--ma-amber); }
.work-example .example-flow li::before { border-color:var(--step); }
.work-example .example-flow li:last-child::before { background:var(--step); }
[data-example-kind=tjanster], [data-example-kind=automation] { --ma-cyan:#26d9ff; --ma-violet:#a58cff; --ma-amber:#ffbd66; }
[data-theme=dark] body { background:var(--ma-surface); color:var(--ma-text); }
[data-theme=dark] .topbar { background:var(--ma-surface); color:var(--ma-text); }
[data-theme=dark] .topbar .site-menu-toggle { border-color:var(--ma-line); }
[data-theme=dark] .topbar .site-menu-toggle:hover,[data-theme=dark] .topbar .site-menu-toggle[aria-expanded=true] { background:var(--ma-soft); }
[data-theme=dark] .topbar .mega { background:var(--ma-panel); }
[data-theme=dark] .site-footer { background:#0e191c; color:var(--ma-text); border-color:var(--ma-line); }
[data-theme=dark] .site-footer .foot-links { border-color:var(--ma-line); }
[data-theme=dark] .site-footer .foot-intro>a:last-child:hover { background:var(--ma-soft); color:var(--ma-text); }
[data-theme=dark] .catalog-home { --paper:var(--ma-surface); --blue:var(--ma-text); --secondary:var(--ma-reading); --rule:var(--ma-line); }
[data-theme=dark] :is(.work-page,.work-feature) {
  --w-ink:var(--ma-text); --w-paper:var(--ma-surface); --w-rule:var(--ma-line); --w-dim:var(--ma-muted);
}
[data-theme=dark] .work-carousel { background:var(--ma-panel); border:1px solid var(--ma-line); }
[data-theme=dark] .work-browser { --w-ink:#152f45; }
[data-theme=dark] :is(.visit-story,.motion-edition .closing) { background:var(--ma-soft); }
[data-theme=dark] .visit-sheet { background:var(--ma-panel); border-color:var(--ma-line); }
[data-theme=dark] .visit-sheet header, [data-theme=dark] :is(.origin-list li,.route-fields div,.handoff-list li,.visit-chapters article) { border-color:var(--ma-line); }
[data-theme=dark] .visit-sheet header img,[data-theme=dark] .proof-rail .proof-mark { filter:brightness(0) invert(.93); }
[data-theme=dark] .motion-edition .closing :is(.catalog-kicker,p:not(.catalog-kicker)) { color:var(--ma-reading); }
[data-theme=dark] .motion-edition .price-index>a:hover,[data-theme=dark] .catalog-home .proof-controls button:hover { background:var(--ma-soft); }
[data-theme=dark] .catalog-home .proof-cases { --paper:var(--ma-text); background:#192c31; }
[data-theme=dark] .catalog-home .proof-panel { background:#223b40; }
[data-theme=dark] .motion-edition .closing .catalog-button.primary:hover { color:var(--ma-action-ink); }
[data-theme=dark] :is(.work-intro h2,.work-intro h1,.work-secondary h2,.sp-copy h1,.contact-spread h1,.opening h1,.wp-hero-txt h1,.wp-archive-line h1) span { color:var(--ma-mint); }
[data-theme=dark] :is(.chapter-head,.visit-opening,.method-spread,.closing) h2 span { color:var(--ma-mint); }
[data-theme=dark] :is(.g-main,.service-publication,.folio,.wp-main,.lib) { color-scheme:dark; }
[data-theme=dark] :is(.g-main,.service-publication,.folio,.wp-main,.lib) .btn,
[data-theme=dark] .g-main .g-cover .g-action, [data-theme=dark] .lib .lib-body .lib-action { background:var(--ma-action); color:var(--ma-action-ink); }
[data-theme=dark] :is(.g-main,.service-publication,.folio,.wp-main,.lib) .btn:hover,
[data-theme=dark] .g-main .g-cover .g-action:hover,[data-theme=dark] .lib .lib-body .lib-action:hover { background:#96ffcd; color:var(--ma-action-ink); }
[data-theme=dark] :is(.g-main .g-opening,.lib .lib-opening:not(.lib-hub),.g-paper) { background:var(--ma-surface); color-scheme:dark; }
[data-theme=dark] :is(.g-tool,.folio .check-print,.regional-directory,.verification-sheet,.lib .lib-body .lib-card,.lib .lib-table td) { background:var(--ma-panel); color:var(--ma-text); border-color:var(--ma-line); }
[data-theme=dark] :is(.lib .lib-body blockquote,.lib .lib-body pre,.lib .lib-body .lib-diagram,.folio .paper,.folio .audit-checks label:has(input:checked),.folio .audit-checks>p) { background:var(--ma-soft); color:var(--ma-text); }
[data-theme=dark] :is(.lib .lib-body a:not(.lib-action),.lib .lib-aside nav a:hover,.g-main .g-prose a) { color:var(--ma-cyan); }
[data-theme=dark] :is(.folio .study-head,.folio .end-note,.folio .atlas,.folio .poster,.g-next,.g-ticket,.g-result,.wp-invite,.sp-guide,.lib .lib-hub,.lib-table th) {
  --prussian:#172e34; --porcelain:var(--ma-text); --night:#172e34; --pearl:var(--ma-text);
  background:#172e34; color:var(--ma-text); color-scheme:dark;
}
[data-theme=dark] :is(.lib-search input,.g-field input,.index-tools input,.brief-sheet textarea) { background:var(--ma-surface); color:var(--ma-text); }
[data-theme=dark] :is(.g-main .g-ticket,.folio .study-head,.folio .atlas) :is(.lede,.atlas-caption) { color:var(--ma-reading); }
[data-theme=dark] .folio .atlas-card { background:var(--ma-panel); color:var(--ma-text); --reading:var(--ma-reading); }
[data-theme=dark] :is(.work-example,.brief-sheet) { background:var(--ma-panel); color:var(--ma-text); border-color:var(--ma-line); color-scheme:dark; }
[data-theme=dark] .work-example :is(.example-top h2,.example-pages h3,.example-choices a[aria-selected=true],.example-link) { color:var(--ma-text); }
[data-theme=dark] .work-example :is(.example-top p,.example-choices a,.example-flow li,.example-pages p) { color:var(--ma-reading); }
[data-theme=dark] .work-example .example-choices a[aria-selected=true]::after { background:var(--ma-mint); }
[data-theme=dark] .work-example .example-flow li:last-child { background:transparent; }
[data-theme=dark] .work-example:not([data-example-kind=tjanster],[data-example-kind=automation]) .example-flow li:not(:last-child)::before { background:var(--ma-panel); }
[data-theme=dark] :is(.verification-sheet,.regional-directory) :is(h2,dt,dd,a,p,.regional-all) { color:var(--ma-text); }
[data-theme=dark] :is(.lib-filters button[aria-pressed=true],.folio .filterbar button[aria-pressed=true]) { background:var(--ma-soft); color:var(--ma-text); }
[data-theme=dark] .lib #lib-count { color:var(--ma-muted); }
[data-theme=dark] :is(.site-footer,.lib,.work-feature,.work-page main,.work-example,.topbar,.folio main,.g-main,.service-publication,.wp-main) :is(a,button,input,textarea,summary,[tabindex]):focus-visible { outline-color:var(--ma-action); }
@media(prefers-reduced-motion:no-preference) {
 .meeting-dock svg { transition:transform .18s ease-out; }
 .meeting-dock:hover svg { transform:translate(1px,-1px); }
}
@media print { .meeting-dock,.theme-switch { display:none!important; } .site-footer { padding-bottom:0; } }
.work-browser-bar i { color:#5a6969; }
[data-theme=dark] .sp-filters button[aria-pressed=true] { background:var(--ma-soft); color:var(--ma-action); border-color:var(--ma-mint); }
[data-theme=dark] :is(.g-main .g-index .g-kicker,.g-main .g-index .g-byline,.g-main .g-tool .g-kicker,.g-main .g-field i,.g-main .g-tool small,.folio .audit-checks small,.folio .fine,.folio .index-tools p) { color:var(--ma-muted); }
[data-theme=dark] .wp-main .wp-paper,[data-theme=dark] .wp-main .wp-action-list details { background:var(--ma-panel); }
[data-theme=dark] .wp-main .wp-kicker, [data-theme=dark] .wp-action-list details[open] summary::after { color:var(--ma-mint); }
[data-theme=dark] :is(.folio .index-group small,.wp-record dt,.wp-web-row .eyebrow) { color:var(--ma-muted); }
.meeting-expectation { display:none; }
@media(max-width:620px) {
 .meeting-bar {
   display:flex; align-items:center; justify-content:space-between; gap:.8rem;
   position:fixed; z-index:12; inset:auto 0 0; background:var(--ma-panel); border-top:1px solid var(--ma-line);
   padding:7px max(12px,env(safe-area-inset-right, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(20px,env(safe-area-inset-left, 0px));
 }
 .meeting-bar .meeting-expectation { display:block; color:var(--ma-muted); font:500 .8rem/1.2 Switzer,Arial,sans-serif; }
 .meeting-bar .meeting-dock { position:static; box-shadow:none; }
 body:has(dialog[open],#studio-menu:not([hidden])) .meeting-bar, .meeting-bar:has(.meeting-dock[hidden]) { display:none; }
 .site-footer { padding-bottom:calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media print { .meeting-bar { display:none!important; } }
.lib .lib-body .lib-table th a { color:#d2ffe8; }
.mega .motion-preference:not([hidden]) {
  display:inline-flex;align-items:center;gap:.6rem;min-height:44px;
  width:fit-content;max-width:100%;padding:0;background:none;color:inherit;
  border:0;font:500 .93rem/1.25 Switzer,Arial,sans-serif;cursor:pointer;
}
.mega .motion-state {padding:.15rem .42rem;border:1px solid currentColor;border-radius:5px;font-size:.8em;}
.mega .motion-preference[aria-checked=true] .motion-state {color:#004e36;background:#a9ebc8;}
.mega .motion-preference:focus-visible {outline:2px solid currentColor;outline-offset:3px;}

.brief-hero .founder-print__picture img[src="/wp-content/plugins/ma-webbutgava/public/assets/dardan.webp"],
.about-page .profile-art img[src="/wp-content/plugins/ma-webbutgava/public/assets/dardan.webp"] {
  filter: saturate(.945);
}
