/* ====================================================================== *
 *  OpsLab Systems Books — design system
 *  "Blueprint": deep slate, cyan signal accent, editorial typography.
 * ====================================================================== */
:root {
  --bg:        #0b0f17;
  --bg-grid:   rgba(255,255,255,.022);
  --surface:   #111722;
  --surface-2: #161d2b;
  --border:    #232c3d;
  --border-soft:#1b2333;
  --text:      #e6ecf5;
  --text-dim:  #9aa7bd;
  --text-faint:#64718a;
  --accent:    #22d3ee;
  --accent-2:  #38e0a6;
  --accent-ink:#06141a;
  --mark:      rgba(34,211,238,.28);
  --code-bg:   #0d1320;
  --shadow:    0 18px 50px -20px rgba(0,0,0,.65);
  --r:         12px;
  --maxw:      760px;
  --sidebar:   276px;
  --toc:       232px;
  --topbar-h:  60px;
  --serif: "Bricolage Grotesque", system-ui, sans-serif;
  --sans:  "IBM Plex Sans", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
}
html.light {
  --bg:        #f7f8fb;
  --bg-grid:   rgba(10,20,40,.03);
  --surface:   #ffffff;
  --surface-2: #f1f4f9;
  --border:    #e1e6ef;
  --border-soft:#eaeef5;
  --text:      #131a26;
  --text-dim:  #51607a;
  --text-faint:#8b97ac;
  --accent:    #0891b2;
  --accent-2:  #0e9f6e;
  --accent-ink:#ffffff;
  --mark:      rgba(8,145,178,.18);
  --code-bg:   #f4f6fb;
  --shadow:    0 18px 50px -24px rgba(20,35,70,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 18px); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    linear-gradient(var(--bg-grid) 1px, transparent 1px) 0 0/34px 34px,
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px) 0 0/34px 34px,
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--mark); }

/* ----------------------------- top bar ------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 20px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.hexmark { color: var(--accent); flex: none; }
.brand-text { font-family: var(--serif); font-size: 1.12rem; letter-spacing: -.01em; }
.brand-text em { font-style: normal; color: var(--text-dim); font-weight: 500; }

.icon-btn {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 9px; cursor: pointer;
  background: var(--surface-2); color: var(--text-dim); transition: .15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--accent); }
.nav-toggle { display: none; }
.ic-sun { display: none; }
html.light .ic-moon { display: none; }
html.light .ic-sun  { display: block; }

.pill {
  font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink); white-space: nowrap;
}
.pill:hover { text-decoration: none; filter: brightness(1.08); }
.pill.ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.pill.ghost:hover { color: var(--text); border-color: var(--accent); }

.crumb { display: flex; align-items: center; gap: 8px; color: var(--text-faint);
  font-size: .9rem; padding-left: 12px; margin-left: 4px; border-left: 1px solid var(--border); }
.crumb a { color: var(--text-dim); }
.crumb b { color: var(--text); font-weight: 600; }

/* ----------------------------- search box ---------------------------- */
.searchbox { position: relative; }
.searchbox input {
  font-family: var(--sans); font-size: .9rem;
  width: 230px; padding: 8px 12px 8px 34px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 9px; color: var(--text); transition: .15s;
}
.searchbox input:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); width: 260px; }
.searchbox svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-faint); pointer-events: none; }
.search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 380px; max-height: 60vh;
  overflow: auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; display: none; z-index: 60;
}
.search-results.open { display: block; }
.search-results a { display: block; padding: 9px 11px; border-radius: 8px; color: var(--text); }
.search-results a:hover, .search-results a.active { background: var(--surface-2); text-decoration: none; }
.search-results .sr-title { font-weight: 600; font-size: .92rem; }
.search-results .sr-group { color: var(--text-faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.search-results .sr-ex { color: var(--text-dim); font-size: .82rem; margin-top: 2px; }
.search-results .sr-empty { padding: 16px; color: var(--text-faint); font-size: .88rem; text-align: center; }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ----------------------------- flash --------------------------------- */
.flash-wrap { max-width: 640px; margin: 14px auto 0; padding: 0 20px; }
.flash { padding: 10px 14px; border-radius: 9px; font-size: .9rem; border: 1px solid var(--border); }
.flash.error { border-color: #b5475d; background: color-mix(in srgb, #b5475d 14%, transparent); }

/* ====================================================================== *
 *  Library (book grid)
 * ====================================================================== */
.library { max-width: 1080px; margin: 0 auto; padding: 64px 24px 96px; }
.library-head { margin-bottom: 44px; }
.eyebrow { font-family: var(--mono); font-size: .76rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); }
.library-head h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem,5vw,3rem);
  letter-spacing: -.025em; margin: 10px 0 8px; }
.library-head p { color: var(--text-dim); max-width: 56ch; font-size: 1.05rem; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 18px; }
.book-card {
  position: relative; display: block; padding: 24px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border); transition: .18s; overflow: hidden;
}
.book-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(var(--accent), var(--accent-2)); opacity: 0; transition: .18s; }
.book-card:hover { text-decoration: none; transform: translateY(-3px); border-color: color-mix(in srgb,var(--accent) 50%,var(--border)); box-shadow: var(--shadow); }
.book-card:hover::before { opacity: 1; }
.book-card .bk-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 16px; }
.book-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; margin: 0 0 6px; color: var(--text); letter-spacing: -.01em; }
.book-card p { color: var(--text-dim); font-size: .92rem; margin: 0; }
.book-card .bk-meta { margin-top: 18px; color: var(--text-faint); font-family: var(--mono); font-size: .74rem;
  display: flex; gap: 14px; }
.add-card { border-style: dashed; display: grid; place-content: center; text-align: center; color: var(--text-faint); min-height: 168px; }
.add-card:hover { color: var(--accent); }

/* ====================================================================== *
 *  Reader layout
 * ====================================================================== */
.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr) var(--toc); align-items: start; }
.shell.no-toc { grid-template-columns: var(--sidebar) minmax(0,1fr); }

/* sidebar */
.sidebar {
  position: sticky; top: var(--topbar-h); height: calc(100vh - var(--topbar-h));
  overflow-y: auto; padding: 26px 14px 40px 24px;
  border-right: 1px solid var(--border);
}
.sb-book { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding-right: 8px; }
.sb-book .bk-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: color-mix(in srgb,var(--accent) 14%,transparent); color: var(--accent); flex: none; }
.sb-book .t { font-family: var(--serif); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.sb-book .d { color: var(--text-faint); font-size: .76rem; }
.sb-group { margin: 18px 0 4px; padding: 0 10px; font-family: var(--mono); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
/* collapsible nested sections (sub-categories) */
.sb-section { margin: 2px 0; }
.sb-section > summary.sb-group { display: flex; align-items: center; gap: 6px; cursor: pointer;
  list-style: none; margin: 14px 0 4px; user-select: none; }
.sb-section > summary.sb-group::-webkit-details-marker { display: none; }
.sb-section > summary:hover { color: var(--text-dim); }
.sb-caret { display: inline-block; width: 0; height: 0; border-left: 4px solid currentColor;
  border-top: 3px solid transparent; border-bottom: 3px solid transparent; transition: transform .15s; flex: none; }
.sb-section[open] > summary .sb-caret { transform: rotate(90deg); }
.sb-sub { overflow: hidden; }
/* a page that has sub-pages: caret + clickable page link in the summary row */
.sb-pageparent > summary.sb-psum { display: flex; align-items: center; gap: 4px; cursor: pointer;
  list-style: none; margin: 0; }
.sb-pageparent > summary.sb-psum::-webkit-details-marker { display: none; }
.sb-pageparent > summary .sb-caret { flex: none; margin-right: 2px; }
.sb-pageparent > summary .sb-link { flex: 1; padding-left: 2px; }
.sb-link {
  display: block; padding: 7px 10px; border-radius: 8px; color: var(--text-dim);
  font-size: .9rem; line-height: 1.35; transition: .12s; border-left: 2px solid transparent;
}
.sb-link:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.sb-link.active { color: var(--accent); background: color-mix(in srgb,var(--accent) 10%,transparent);
  border-left-color: var(--accent); font-weight: 600; }

/* article column */
.content { padding: 46px 56px 120px; min-width: 0; }
.content-inner { max-width: var(--maxw); margin: 0 auto; }
.page-kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* table of contents */
.toc { position: sticky; top: var(--topbar-h); height: calc(100vh - var(--topbar-h));
  overflow-y: auto; padding: 46px 24px 40px 8px; }
.toc h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 12px; }
.toc a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--border-soft);
  color: var(--text-faint); font-size: .84rem; line-height: 1.4; transition: .12s; }
.toc a.lvl-3 { padding-left: 24px; }
.toc a:hover { color: var(--text-dim); text-decoration: none; }
.toc a.active { color: var(--accent); border-left-color: var(--accent); }

/* prev / next */
.page-nav { display: flex; gap: 14px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.page-nav a { flex: 1; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r);
  background: var(--surface); transition: .16s; }
.page-nav a:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.page-nav .nx { text-align: right; }
.page-nav .lbl { font-size: .74rem; color: var(--text-faint); font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.page-nav .ttl { color: var(--text); font-weight: 600; margin-top: 3px; }

.edit-fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; }

/* ====================================================================== *
 *  Prose (rendered markdown)
 * ====================================================================== */
.prose { font-size: 1.02rem; }
.prose > *:first-child { margin-top: 0; }
.prose h1 { font-family: var(--serif); font-weight: 800; font-size: 2.3rem; letter-spacing: -.03em;
  line-height: 1.12; margin: 0 0 .5em; }
.prose h2 { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em;
  margin: 2em 0 .6em; padding-top: .3em; }
.prose h3 { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin: 1.7em 0 .5em; }
.prose h4 { font-weight: 600; font-size: 1rem; margin: 1.5em 0 .4em; color: var(--text-dim); }
.prose p, .prose li { color: var(--text); }
.prose p { margin: 1em 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb,var(--accent) 45%,transparent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 1em 0; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.4em 0; padding: 2px 20px; border-left: 3px solid var(--accent);
  color: var(--text-dim); background: color-mix(in srgb,var(--accent) 6%,transparent); border-radius: 0 8px 8px 0; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.4em 0; }
.heading-anchor { color: var(--text-faint); opacity: 0; margin-left: .4em; font-weight: 400; text-decoration: none; transition: .12s; }
.prose h1:hover .heading-anchor, .prose h2:hover .heading-anchor, .prose h3:hover .heading-anchor { opacity: 1; }

/* inline + block code */
.prose :not(pre) > code { font-family: var(--mono); font-size: .86em; background: var(--surface-2);
  border: 1px solid var(--border-soft); border-radius: 6px; padding: .12em .4em; color: var(--accent-2); }
.prose pre { background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px 18px; overflow-x: auto; margin: 1.4em 0; font-size: .86rem; line-height: 1.6; position: relative; }
.prose pre code { font-family: var(--mono); background: none; border: none; padding: 0; color: inherit; }
.highlight { background: transparent !important; }
.copy-btn { position: absolute; top: 9px; right: 9px; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .04em; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-faint); cursor: pointer; opacity: 0; transition: .14s; }
.prose pre:hover .copy-btn { opacity: 1; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }

/* tables */
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 9px 14px; border: 1px solid var(--border); }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose tr:nth-child(even) td { background: color-mix(in srgb,var(--surface) 50%,transparent); }

/* images */
.prose img { max-width: 100%; border-radius: var(--r); border: 1px solid var(--border); }

/* admonitions / hints (GitBook-style callouts) */
.prose .admonition { margin: 1.5em 0; padding: 14px 16px 14px 46px; border-radius: var(--r);
  border: 1px solid var(--border); background: var(--surface); position: relative; }
.prose .admonition::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px;
  background: currentColor; -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.prose .admonition-title { font-weight: 600; margin: 0 0 .4em; }
.prose .admonition p:last-child { margin-bottom: 0; }
.prose .admonition.note,.prose .admonition.info { color: var(--accent); border-color: color-mix(in srgb,var(--accent) 35%,var(--border)); background: color-mix(in srgb,var(--accent) 7%,transparent);
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Cline x1='12' y1='8' x2='12' y2='8'/%3E%3C/svg%3E"); }
.prose .admonition.warning,.prose .admonition.caution { color: #f0b429; border-color: color-mix(in srgb,#f0b429 35%,var(--border)); background: color-mix(in srgb,#f0b429 8%,transparent);
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Cpath d='M12 3l9 16H3z'/%3E%3Cline x1='12' y1='9' x2='12' y2='14'/%3E%3Cline x1='12' y1='17' x2='12' y2='17'/%3E%3C/svg%3E"); }
.prose .admonition.danger,.prose .admonition.error { color: #f05252; border-color: color-mix(in srgb,#f05252 35%,var(--border)); background: color-mix(in srgb,#f05252 8%,transparent);
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E"); }
.prose .admonition.tip,.prose .admonition.success { color: var(--accent-2); border-color: color-mix(in srgb,var(--accent-2) 35%,var(--border)); background: color-mix(in srgb,var(--accent-2) 8%,transparent);
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 1 4 10c-1 1-1 2-1 3H9c0-1 0-2-1-3a6 6 0 0 1 4-10z'/%3E%3C/svg%3E"); }

/* task lists & tabs */
.prose .task-list-item { list-style: none; margin-left: -1.2em; }
.prose .task-list-item-checkbox { margin-right: .5em; accent-color: var(--accent); }
.prose .tabbed-set { margin: 1.4em 0; }
.prose .tabbed-set > input { display: none; }
.prose .tabbed-labels { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
.prose .tabbed-labels label { padding: 7px 14px; font-size: .86rem; color: var(--text-dim); cursor: pointer; border-bottom: 2px solid transparent; }
.prose .tabbed-set > input:checked + label { color: var(--accent); border-bottom-color: var(--accent); }
.prose .tabbed-content { padding-top: 8px; }
kbd, .keys kbd { font-family: var(--mono); font-size: .78em; background: var(--surface-2); border: 1px solid var(--border);
  border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }

/* ====================================================================== *
 *  Editor
 * ====================================================================== */
.editor-shell { display: grid; grid-template-columns: 1fr 1fr; height: calc(100vh - var(--topbar-h)); }
.editor-pane, .preview-pane { height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.editor-pane { border-right: 1px solid var(--border); }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 18px; border-bottom: 1px solid var(--border); background: var(--surface);
  font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
#monaco { flex: 1; min-height: 0; }
.preview-pane .scroller { flex: 1; overflow-y: auto; padding: 40px 44px 80px; }
.preview-pane .content-inner { margin: 0; }
.save-state { color: var(--text-faint); font-family: var(--mono); font-size: .74rem; text-transform: none; letter-spacing: 0; }
.save-state.ok { color: var(--accent-2); }

/* ====================================================================== *
 *  Auth / forms
 * ====================================================================== */
.auth { width: 100%; max-width: 400px; margin: 0 auto; padding: 6vh 20px 48px;
  display: flex; flex-direction: column; }
.auth.wide { max-width: 760px; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 22px; color: var(--text); }
.auth-brand .hexmark { color: var(--accent); }
.auth-brand span { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.auth-brand em { font-style: normal; color: var(--text-dim); font-weight: 500; }
.auth .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
.auth h1 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 6px; }
.auth p { color: var(--text-dim); font-size: .92rem; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; color: var(--text-dim); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 9px; color: var(--text); font-family: var(--sans); font-size: .94rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent); }
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; width: 100%;
  padding: 11px; background: var(--accent); color: var(--accent-ink); border: none; border-radius: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .94rem; cursor: pointer; transition: .14s; }
.btn:hover { filter: brightness(1.08); }
.btn.sm { width: auto; padding: 7px 14px; font-size: .84rem; }
.btn.ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.btn.ghost:hover { color: var(--text); border-color: var(--accent); filter: none; }

.empty { max-width: 540px; margin: 12vh auto; text-align: center; color: var(--text-dim); padding: 0 20px; }
.empty h1 { font-family: var(--serif); color: var(--text); }

/* ----------------------------- landing ------------------------------- */
.landing { max-width: 1080px; margin: 0 auto; padding: 0 24px 96px; }
.hero { padding: 84px 0 52px; max-width: 760px; }
.hero .eyebrow { margin-bottom: 16px; }
.hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.7rem);
  line-height: 1.04; letter-spacing: -.022em; margin: 0 0 18px; color: var(--text); }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--text-dim); font-size: clamp(1rem, 2.2vw, 1.18rem); max-width: 60ch; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { width: auto; padding: 12px 22px; font-size: .96rem; }
.hero-cta .btn i { width: 17px; height: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 72px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; transition: .16s; }
.feature:hover { border-color: color-mix(in srgb,var(--accent) 40%,var(--border)); transform: translateY(-2px); }
.feature .fi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: color-mix(in srgb,var(--accent) 12%,transparent); color: var(--accent); margin-bottom: 15px; }
.feature .fi i { width: 21px; height: 21px; }
.feature h3 { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; margin: 0 0 7px; color: var(--text); }
.feature p { color: var(--text-dim); font-size: .9rem; margin: 0; line-height: 1.62; }
.feature code, .feature kbd { font-family: var(--mono); font-size: .82em; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; color: var(--text); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 22px; }
.section-head h2 { font-family: var(--serif); font-weight: 800; font-size: 1.55rem; margin: 0; letter-spacing: -.01em; color: var(--text); }
.section-head .muted { font-size: .9rem; }

/* ====================================================================== *
 *  Responsive
 * ====================================================================== */
@media (max-width: 1100px) {
  .shell { grid-template-columns: var(--sidebar) minmax(0,1fr); }
  .toc { display: none; }
  .content { padding: 40px 40px 100px; }
}
@media (max-width: 820px) {
  .shell, .shell.no-toc { grid-template-columns: 1fr; }
  body.has-sidebar .nav-toggle, body.editor-page .nav-toggle { display: grid; }
  .help-link { display: none; }
  .searchbox input { width: 150px; }
  .searchbox input:focus { width: 190px; }
  .brand-text em { display: none; }
  .sidebar {
    position: fixed; left: 0; top: var(--topbar-h); width: 84%; max-width: 320px; z-index: 45;
    background: var(--surface); transform: translateX(-105%); transition: transform .22s ease;
    box-shadow: var(--shadow);
  }
  body.nav-open .sidebar { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: var(--topbar-h) 0 0; background: rgba(0,0,0,.5); z-index: 44; }
  .content { padding: 30px 22px 90px; }
  .editor-shell { grid-template-columns: 1fr; }
  .preview-pane { display: none; }
  .page-nav { flex-direction: column; }
  /* editor sidebar becomes a slide-in drawer (was hidden, so sections were unreachable on mobile) */
  .ed-shell { grid-template-columns: 1fr; }
  .ed-side {
    position: fixed; left: 0; top: var(--topbar-h); width: 86%; max-width: 320px;
    height: calc(100vh - var(--topbar-h)); z-index: 45; transform: translateX(-105%);
    transition: transform .22s ease; box-shadow: var(--shadow);
  }
  body.nav-open .ed-side { transform: none; }
  .ed-main { padding: 26px 18px 120px; }
}

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .topbar { padding: 0 12px; gap: 8px; }
  .topbar-left, .topbar-right { gap: 8px; }
  .pill { padding: 6px 10px; font-size: .78rem; }
  .brand-text { font-size: 1rem; }
  .features { grid-template-columns: 1fr; margin-bottom: 52px; }
  .hero { padding: 52px 0 36px; }
  .library, .landing { padding-left: 16px; padding-right: 16px; }
  .library { padding-top: 40px; }
  .auth { padding-top: 4vh; }
  .auth .card { padding: 24px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  body.editor-page .brand-text { display: none; }
  .save-state { font-size: .72rem; }
}

/* ====================================================================== *
 *  Multi-tenant additions: auth, dashboard, admin, domains
 * ====================================================================== */
.field select {
  width: 100%; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 9px; color: var(--text); font-family: var(--sans); font-size: .94rem; }
.field select:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent); }

.auth-alt { margin: 18px 0 0; font-size: .86rem; color: var(--text-dim); }
.muted { color: var(--text-dim); }
.muted.sm, .sm { font-size: .8rem; }

/* signup choice cards */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice-card { display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px; transition: .16s; position: relative; }
.choice-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: color-mix(in srgb,var(--accent) 50%,var(--border)); }
.choice-card.accent { border-color: color-mix(in srgb,var(--accent) 42%,var(--border)); }
.choice-card.disabled { opacity: .55; }
.choice-card h3 { font-family: var(--serif); margin: 4px 0 8px; color: var(--text); font-size: 1.12rem; }
.choice-card p { color: var(--text-dim); font-size: .9rem; margin: 0 0 16px; }
.choice-go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: .88rem; }
.choice-go i { width: 15px; height: 15px; }

/* tags */
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600;
  font-family: var(--mono); letter-spacing: .02em; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-dim); }
.tag-partner { color: var(--accent); border-color: color-mix(in srgb,var(--accent) 40%,var(--border)); }
.tag-free    { color: var(--text-dim); }
.tag-pub { color: var(--accent-2); border-color: color-mix(in srgb,var(--accent-2) 40%,var(--border)); }
.tag-priv{ color: #f0a; border-color: color-mix(in srgb,#f0a 40%,var(--border)); }

/* owned book cards on dashboard */
.book-card.owned { display: flex; flex-direction: column; cursor: default; }
.book-card.owned:hover { transform: none; box-shadow: none; border-color: var(--border); }
.bk-open { display: block; flex: 1; }
.bk-open:hover { text-decoration: none; }
.bk-actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-soft); flex-wrap: wrap; align-items: center; }
.bk-actions form { display: inline; }

/* small buttons */
.btn.xs { width: auto; padding: 6px 11px; font-size: .78rem; border-radius: 7px; }
.btn.danger { background: transparent; color: #ff6b8b; border: 1px solid color-mix(in srgb,#ff6b8b 40%,var(--border)); }
.btn.danger:hover { background: color-mix(in srgb,#ff6b8b 14%,transparent); filter: none; }

/* admin stats + nav */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 26px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; text-align: center; }
.stat span { display: block; font-family: var(--serif); font-size: 2rem; color: var(--accent); line-height: 1; }
.stat label { display: block; margin-top: 8px; font-size: .8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.admin-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-nav .btn { width: auto; }
.admin-nav .btn i { width: 16px; height: 16px; }

/* data tables */
table.data { width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-soft); font-size: .9rem; vertical-align: top; }
table.data th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); background: var(--surface-2); }
table.data tr:last-child td { border-bottom: none; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions form, form.mini { display: inline; margin: 0; }
form.mini select { padding: 5px 8px; font-size: .82rem; width: auto; }

/* inline + misc forms */
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-form input { flex: 1; min-width: 200px; padding: 10px 12px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 9px; color: var(--text); font-family: var(--sans); }
.inline-form select { padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 9px; color: var(--text); font-family: var(--sans); }
.inline-form .btn { width: auto; }
.steps { margin: 6px 0 0; padding-left: 20px; color: var(--text-dim); font-size: .9rem; line-height: 1.9; }
.steps code { font-size: .82em; }
.check { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-dim); }
.card h4 { font-family: var(--serif); margin: 0 0 12px; color: var(--text); }

@media (max-width: 720px) {
  .choice-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}

/* ====================================================================== *
 *  Block editor (Editor.js) — GitBook-style
 * ====================================================================== */
.ed-shell { display: grid; grid-template-columns: 260px minmax(0,1fr); height: calc(100vh - var(--topbar-h)); }
.ed-side { border-right: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; overflow: hidden; }
.ed-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 16px 10px; font-family: var(--serif); font-weight: 600; color: var(--text); font-size: .96rem; border-bottom: 1px solid var(--border-soft); }
.ed-side-head .btn.xs { padding: 5px 7px; }
.ed-pages { flex: 1; overflow-y: auto; padding: 8px; }
.ed-page { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-dim); font-size: .9rem; }
.ed-page:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.ed-page.active { background: color-mix(in srgb,var(--accent) 12%,transparent); color: var(--accent); font-weight: 600; }
.ed-side-foot { padding: 12px; border-top: 1px solid var(--border-soft); }
.ed-side-foot .btn { width: 100%; }

.ed-main { overflow-y: auto; padding: 36px 24px 120px; }
.ed-doc { max-width: 780px; margin: 0 auto; }
.ed-raw { width: 100%; min-height: 70vh; background: var(--code-bg); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; resize: vertical; }
.ed-hint { max-width: 780px; margin: 22px auto 0; color: var(--text-faint); font-size: .82rem; }
#btn-md.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Editor.js theming for dark surface */
.codex-editor { color: var(--text); }
.codex-editor__redactor { padding-bottom: 120px !important; }
.ce-block__content, .ce-toolbar__content { max-width: 780px; }
.ce-paragraph, .ce-header, .cdx-list, .cdx-checklist__item-text, .cdx-quote__text { color: var(--text); }
.ce-header { font-family: var(--serif); font-weight: 700; }
.codex-editor a { color: var(--accent); }
.ce-block a { text-decoration: underline; }
[data-placeholder]:empty::before, .ce-paragraph[data-placeholder]:empty::before { color: var(--text-faint); }
.ce-toolbar__plus, .ce-toolbar__settings-btn { color: var(--text-dim); background: var(--surface); border: 1px solid var(--border-soft); }
.ce-toolbar__plus:hover, .ce-toolbar__settings-btn:hover { color: var(--accent); background: var(--surface-2); }
.ce-inline-toolbar, .ce-conversion-toolbar, .ce-popover, .ce-popover__items {
  background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text) !important;
  box-shadow: var(--shadow) !important; border-radius: 10px !important; }
.ce-popover-item__title, .ce-popover-item__icon, .ce-conversion-tool__icon, .ce-inline-tool {
  color: var(--text) !important; background: transparent !important; }
.ce-popover-item:hover, .ce-popover-item--focused, .ce-conversion-tool:hover, .ce-inline-tool:hover {
  background: var(--surface-2) !important; }
.ce-popover__search, .cdx-search-field { background: var(--surface-2) !important; color: var(--text) !important; border-color: var(--border) !important; }
.cdx-input, .ce-code-area, .tc-cell, .tc-row, .image-tool__caption, .cdx-quote__caption {
  background: var(--surface-2) !important; color: var(--text) !important; border-color: var(--border) !important; }
.tc-table, .tc-wrap { --color-border: var(--border); --color-background: var(--surface-2); }
.tc-cell { border-color: var(--border) !important; }
.tc-toolbox__toggler, .tc-add-row, .tc-add-column { color: var(--text-dim) !important; }
.cdx-checklist__item-checkbox { border-color: var(--border) !important; }
.image-tool__image { border-radius: 10px; overflow: hidden; }

/* custom Code block */
.ce-code { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--code-bg); }
.ce-code-bar { display: flex; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--border-soft); background: var(--surface-2); }
.ce-code-bar select { background: var(--surface); color: var(--text-dim); border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--mono); font-size: .76rem; padding: 3px 8px; }
.ce-code-area { width: 100%; border: none; outline: none; resize: none; background: transparent; color: var(--text);
  font-family: var(--mono); font-size: 13.5px; line-height: 1.6; padding: 14px 16px; display: block; }

/* custom Callout block */
.ce-callout { border-radius: 10px; padding: 4px 14px 12px; border-left: 4px solid var(--accent); background: color-mix(in srgb,var(--accent) 7%,transparent); }
.ce-callout-bar { padding: 8px 0 6px; }
.ce-callout-bar select { background: var(--surface); color: var(--text-dim); border: 1px solid var(--border); border-radius: 6px; font-size: .74rem; padding: 2px 8px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.ce-callout-body { color: var(--text); outline: none; min-height: 22px; line-height: 1.6; }
.ce-callout-body[data-placeholder]:empty::before { content: attr(data-placeholder); color: var(--text-faint); }
.ce-callout-info    { border-left-color: var(--accent);   background: color-mix(in srgb,var(--accent) 8%,transparent); }
.ce-callout-success { border-left-color: var(--accent-2); background: color-mix(in srgb,var(--accent-2) 8%,transparent); }
.ce-callout-warning { border-left-color: #f5b14c;         background: color-mix(in srgb,#f5b14c 10%,transparent); }
.ce-callout-danger  { border-left-color: #ff6b8b;         background: color-mix(in srgb,#ff6b8b 10%,transparent); }

@media (max-width: 820px) {
  /* editor sidebar handled as a drawer in the main responsive block above */
  .ed-shell { grid-template-columns: 1fr; }
}

/* ====================================================================== *
 *  Feature batch: links, embeds, palette, tree DnD, history, collapse
 * ====================================================================== */
/* wiki-links + backlinks */
.prose .broken-link { color: #ff6b8b; border-bottom: 1px dashed #ff6b8b; cursor: help; }
.backlinks { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-soft); }
.backlinks h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 10px; }
.backlinks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.backlinks a { display: inline-block; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: .84rem; color: var(--text-dim); }
.backlinks a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* CTA + video (reader + editor preview) */
.prose .cta-button, .ce-cta-preview { display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 11px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; margin: 6px 0; }
.prose .cta-button:hover { filter: brightness(1.08); text-decoration: none; }
.prose .embed-video, .ce-embed-prev .embed-video { margin: 1.4em 0; }
.embed-video iframe, .embed-video video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; background:#000; }

/* command palette + modals */
.palette-back { position: fixed; inset: 0; background: rgba(2,6,14,.55); backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 14vh; z-index: 200; }
.palette-back[hidden] { display: none; }
.palette { width: min(620px, 92vw); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.palette input { width: 100%; border: none; outline: none; background: transparent; color: var(--text);
  font-family: var(--sans); font-size: 1rem; padding: 16px 18px; border-bottom: 1px solid var(--border-soft); }
.palette-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.palette-item { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-radius: 9px; color: var(--text); font-size: .92rem; cursor: pointer; }
.palette-item:hover { background: var(--surface-2); text-decoration: none; color: var(--accent); }
.hist-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border-soft); font-family: var(--serif); font-weight: 600; }

/* sidebar collapse */
.sb-collapse { position: fixed; left: 14px; bottom: 16px; z-index: 60; width: 34px; height: 34px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sb-collapse:hover { color: var(--accent); border-color: var(--accent); }
.shell.sidebar-collapsed .sidebar { display: none; }
.shell.sidebar-collapsed { grid-template-columns: 0 minmax(0,1fr) !important; }
.shell.sidebar-collapsed.no-toc { grid-template-columns: 0 minmax(0,1fr) !important; }
@media (max-width: 1100px) { .sb-collapse { display: none; } }

/* editor sidebar tree (drag & drop) */
.tree { list-style: none; margin: 0; padding: 8px; flex: 1; overflow-y: auto; }
.tree li { display: flex; align-items: center; gap: 6px; border-radius: 8px; }
.tree .handle { cursor: grab; color: var(--text-faint); font-size: .8rem; padding: 0 2px; user-select: none; opacity: .55; }
.tree .handle:active { cursor: grabbing; }
.tree .prow a { flex: 1; padding: 7px 8px; border-radius: 7px; color: var(--text-dim); font-size: .9rem; }
.tree .prow a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.tree .prow.active a { background: color-mix(in srgb,var(--accent) 12%,transparent); color: var(--accent); font-weight: 600; }
.tree .grow { margin-top: 10px; padding: 4px 4px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-faint); }
.tree .grow-t { padding: 2px 4px; }
.sortable-ghost { opacity: .4; background: var(--surface-2); }
.ed-side-links { margin-top: 10px; font-size: .78rem; color: var(--text-faint); }
.ed-side-links a { color: var(--text-dim); }
.ed-side-foot { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-side-foot .ed-side-links { flex-basis: 100%; }

/* editor embed/cta tool inputs */
.ce-embed-input { width: 100%; padding: 9px 11px; margin: 4px 0; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: var(--sans); font-size: .9rem; }
.ce-embed-prev { margin-top: 8px; }

/* editor section (group) header controls */
.tree .grow { display: flex; align-items: center; gap: 6px; }
.tree .grow .grow-t { flex: 1; }
.tree .grow-actions { display: inline-flex; gap: 2px; }
.tree .gx { border: 1px solid var(--border); background: var(--surface-2); color: var(--text-dim);
  cursor: pointer; font-size: .9rem; line-height: 1; min-width: 26px; min-height: 24px;
  padding: 3px 6px; border-radius: 6px; }
.tree .gx:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* markdown auto-fix prompt (shown to editors when a page may render wrong) */
.md-fix { display: flex; align-items: center; gap: 14px; margin: 0 0 24px;
  padding: 12px 16px; border-radius: 10px; border: 1px solid color-mix(in srgb,#f5b14c 45%,var(--border));
  background: color-mix(in srgb,#f5b14c 10%,transparent); }
.md-fix-txt { flex: 1; font-size: .9rem; color: var(--text-dim); line-height: 1.5; }
.md-fix-txt strong { color: var(--text); }
.md-fix .btn.xs { white-space: nowrap; }

/* "add sub-section" button — a touch wider, accent-tinted so it's findable */
.tree .gx.gx-sub { font-size: .72rem; padding: 3px 7px; color: var(--accent);
  border-color: color-mix(in srgb,var(--accent) 40%,var(--border)); }
.tree .gx.gx-sub:hover { background: var(--accent); color: var(--accent-ink); }

/* page-row indent/outdent controls (make a page a sub-page) */
.tree .prow-actions { display: inline-flex; gap: 2px; flex: none; }
.tree .prow-actions .gx { padding: 2px 6px; font-size: .82rem; }
/* ====================================================================== *
 *  OpsLab Books — polish layer (additive; appended by opslab-polish.sh)
 *  Accessibility + interaction consistency only. No layout changes.
 *  Marker: OLS-POLISH-V1
 * ====================================================================== */

/* Visible keyboard focus on every interactive element (was missing). */
a:focus-visible,
button:focus-visible,
.pill:focus-visible,
.icon-btn:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}
/* Don't double up the ring on the search input (it has its own glow). */
.searchbox input:focus-visible { outline: none; }

/* Consistent disabled state across buttons/pills. */
.pill[disabled], .btn[disabled], button[disabled],
.pill.is-disabled, .btn.is-disabled {
  opacity: .5; cursor: not-allowed; filter: none !important; pointer-events: none;
}

/* Smoother, consistent transitions on the common interactive chrome. */
.pill, .btn, .icon-btn, .book-card, .search-results a {
  transition: background-color .15s ease, border-color .15s ease,
              color .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* Cards lift gently on hover via shadow only (no layout shift). */
a.book-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px -16px color-mix(in srgb, var(--accent) 50%, transparent);
  text-decoration: none;
}

/* Comfortable tap targets on touch / small screens. */
@media (max-width: 820px) {
  .pill { padding: 9px 15px; }
  .icon-btn { width: 38px; height: 38px; }
  .search-results a { padding: 11px 12px; }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
