.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--ef-header-h);
  background: var(--bg-white);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-sage);
}

.site-header.has-mega-open {
  background: transparent;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.site-header.has-mega-open .m5-nav-pill--soft {
  background: var(--bg-card);
}

[data-theme="dark"] .site-header.has-mega-open .m5-nav-pill--soft {
  background: var(--bg-subtle);
}

@media (hover: hover) and (pointer: fine) {
  .site-header.has-mega-open .m5-nav-pill--soft:hover,
  .site-header.has-mega-open .icon-btn:hover,
  .site-header.has-mega-open .ef-ui-lang-btn:hover {
    background: var(--bg-tint);
  }
}

.nav-row {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--ef-wrap);
  padding: 0 var(--ef-pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  flex-shrink: 0;
  justify-self: start;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.ef-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  user-select: none;
}

.ef-brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
  display: block;
}

.ef-wordmark {
  font-family: var(--brand-font);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--text-ink);
  padding-top: 1px;
  -webkit-font-smoothing: subpixel-antialiased;
}

.ef-primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  height: 100%;
}

.ef-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.ef-nav-item {
  display: flex;
  align-items: center;
  height: 100%;
}

.ef-nav-trigger,
.ef-nav-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--text-ink);
  font-family: var(--sf);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .ef-nav-trigger:hover,
  .ef-nav-direct:hover {
    color: var(--text-muted);
  }
}

.ef-nav-trigger[aria-expanded="true"] {
  color: var(--accent);
}

.ef-nav-trigger:focus-visible,
.ef-nav-direct:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  color: var(--text-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover {
    background: var(--bg-sage);
    color: var(--text-ink);
  }
}

.m5-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 16px;
  border-radius: 9999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease;
}

.m5-nav-pill--soft {
  background: var(--bg-sage);
  color: var(--text-ink);
}

@media (hover: hover) and (pointer: fine) {
  .m5-nav-pill--soft:hover {
    background: var(--bg-tint);
  }
}

.m5-nav-pill--primary {
  background: var(--accent);
  color: #ffffff;
}

[data-theme="dark"] .m5-nav-pill--primary {
  background: #5f7263;
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  .m5-nav-pill--primary:hover {
    background: var(--fam-headline-deep);
  }
  [data-theme="dark"] .m5-nav-pill--primary:hover {
    background: #4e5f53;
  }
}

.ef-mega-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ef-curtain-h);
  z-index: 55;
  background: var(--ef-curtain-bg);
  border-bottom: 1px solid var(--border-sage);
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: clip-path, opacity;
  transition:
    clip-path 380ms var(--ef-ease-out),
    opacity 240ms ease,
    visibility 0s linear 380ms;
}

.ef-mega-shell.is-open {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    clip-path 520ms var(--ef-ease-out),
    opacity 200ms var(--ef-ease-out),
    visibility 0s linear 0s;
}

.ef-mega-shell.is-kb {
  transition: opacity 120ms ease, visibility 0s linear 0s;
}

.ef-mega-panel {
  display: none;
  max-width: var(--ef-wrap);
  margin: 0 auto;
  padding: 96px var(--ef-pad-x) 44px;
  height: 100%;
}

.ef-mega-panel.is-active {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.ef-mega-main {
  grid-column: 2 / 7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  min-width: 0;
}

.ef-mega-main--single {
  grid-template-columns: 1fr;
}

.ef-mega-aside {
  grid-column: 7 / 12;
  min-width: 0;
  opacity: 0;
  transform: translateY(-10px);
}

.ef-mega-panel.is-active .ef-mega-aside {
  animation: efMegaAsideIn 420ms var(--ef-ease-out) 110ms both;
}

.ef-mega-shell.is-switching .ef-mega-panel.is-active .ef-mega-aside {
  animation: efMegaAsideIn 260ms var(--ef-ease-out) 30ms both;
}

.ef-mega-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ef-mega-group + .ef-mega-group {
  margin-top: 24px;
}

.ef-mega-cat {
  margin: 0 0 12px;
  font-family: var(--sf);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-muted);
  overflow: hidden;
}

.ef-mega-cat > span {
  display: block;
}

.ef-mega-panel.is-active .ef-mega-cat > span {
  animation: efMegaItemIn 360ms var(--ef-ease-out) 45ms both;
}

.ef-mega-shell.is-switching .ef-mega-panel.is-active .ef-mega-cat > span {
  animation: efMegaItemIn 220ms var(--ef-ease-out) 0ms both;
}

.ef-mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ef-mega-links--cases {
  gap: 22px;
}

.ef-mega-links li {
  overflow: hidden;
}

.ef-mega-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  font-family: var(--sf);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--text-ink);
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ef-mega-link--live {
  gap: 11px;
  padding: 5px 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.ef-mega-tool-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tint);
  color: var(--accent);
  transition: background-color 150ms ease, color 150ms ease;
}

.ef-mega-tool-ico svg {
  width: 17px;
  height: 17px;
  display: block;
}

[data-theme="dark"] .ef-mega-tool-ico {
  background: var(--ef-sent-hl);
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .ef-mega-link--live:hover .ef-mega-tool-ico {
    background: var(--accent);
    color: var(--fam-card);
  }
  [data-theme="dark"] .ef-mega-link--live:hover .ef-mega-tool-ico {
    background: var(--bg-tint);
    color: var(--fam-dark-ink);
  }
}

.ef-mega-panel.is-active .ef-mega-links li > a {
  animation: efMegaItemIn 380ms var(--ef-ease-out) calc(65ms + var(--i, 0) * 26ms) both;
}

.ef-mega-shell.is-switching .ef-mega-panel.is-active .ef-mega-links li > a {
  animation: efMegaItemIn 240ms var(--ef-ease-out) calc(15ms + var(--i, 0) * 18ms) both;
}

.ef-mega-shell.is-kb .ef-mega-panel.is-active .ef-mega-links li > a,
.ef-mega-shell.is-kb .ef-mega-panel.is-active .ef-mega-cat > span,
.ef-mega-shell.is-kb .ef-mega-panel.is-active .ef-mega-aside {
  animation: none;
  opacity: 1;
  transform: none;
}

@keyframes efMegaItemIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes efMegaAsideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ef-mega-case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 2px 0;
  text-decoration: none;
  touch-action: manipulation;
}

.ef-mega-case-t {
  font-family: var(--sf);
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--text-ink);
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ef-mega-case-s {
  font-family: var(--sf);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .ef-mega-link:hover,
  .ef-mega-case:hover .ef-mega-case-t {
    color: var(--accent);
  }
}

.ef-mega-link:active,
.ef-mega-case:active .ef-mega-case-t {
  color: var(--accent);
}

.ef-mega-link:focus-visible,
.ef-mega-case:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.ef-mega-ext {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--text-muted);
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .ef-mega-link:hover .ef-mega-ext {
    color: var(--accent);
  }
}

[dir="rtl"] .ef-mega-ext,
[dir="rtl"] .ef-live-pill-arr svg,
[dir="rtl"] .bcard-live-link svg {
  transform: scaleX(-1);
}

.ef-mega-scroll-wrap {
  max-width: 380px;
}

.ef-mega-scroll {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ef-mega-scroll-link {
  display: block;
  padding: 4px 0;
  font-family: var(--sf);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-ink);
  text-decoration: none;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .ef-mega-scroll-link:hover {
    color: var(--accent);
  }
}

.ef-mega-scroll-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.ef-mega-promo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  height: 332px;
  padding: 28px;
  background: var(--ef-promo-grad);
  color: #fffefb;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.ef-mega-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 24%, rgba(199, 224, 204, 0.20) 0%, transparent 56%);
  pointer-events: none;
}

.ef-promo-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 182px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4px 0;
}

.ef-promo-title {
  margin: 0;
  font-family: var(--sf);
  font-size: 23px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fffefb;
}

.ef-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 9999px;
  background: #c7e0cc;
  color: #192b1f;
  font-family: var(--sf);
  font-size: 14.5px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color 180ms ease, color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-promo-btn:hover { background: #dcead9; }
}

.ef-promo-btn:active { background: #dcead9; }

.ef-promo-btn:focus-visible {
  outline: 2px solid #fffefb;
  outline-offset: 3px;
}

.ef-promo-dict-stage {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.ef-promo-dict-sheet {
  width: 100%;
  background: #fffefb;
  color: #26241f;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 15px 16px 16px;
  box-shadow: 0 14px 28px -12px rgba(13, 24, 17, 0.34);
  text-align: start;
}

.ef-promo-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
  color: #506957;
}

.ef-promo-sheet-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ef-promo-sheet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a7a68;
}

.ef-promo-dict-text {
  margin: 0;
  font-family: var(--sf);
  font-size: 13.5px;
  line-height: 1.55;
  color: #26241f;
}

.ef-promo-caret {
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-inline-start: 2px;
  vertical-align: -2px;
  border-radius: 2px;
  background: #4a7a68;
}

.ef-promo-lookc-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 4px 5px 4px 12px;
  border-radius: 9999px;
  background: #fffefb;
  color: #26241f;
  box-shadow: 0 10px 22px -10px rgba(13, 24, 17, 0.36);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.ef-promo-lookc-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ef-promo-lookc-disc {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4a7a68;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.2px;
}

.ef-promo-lookc-disc i {
  display: block;
  width: 2.2px;
  border-radius: 2px;
  background: #fffefb;
}
.ef-promo-lookc-disc i:nth-child(1) { height: 7px; }
.ef-promo-lookc-disc i:nth-child(2) { height: 14px; background: #c7e0cc; }
.ef-promo-lookc-disc i:nth-child(3) { height: 10px; }
.ef-promo-lookc-disc i:nth-child(4) { height: 6px; }

.ef-mega-promo--full {
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  gap: 12px;
}

.ef-uc-sheet {
  position: relative;
  z-index: 2;
  background: #fffefb;
  color: #26241f;
  border-radius: 20px;
  padding: 18px 20px 16px;
  box-shadow: 0 18px 34px -16px rgba(13, 24, 17, 0.38);
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: start;
}

.ef-uc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6dfd4;
}

.ef-uc-doc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #403d37;
}

.ef-uc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eaf0e9;
  color: #506957;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.ef-uc-prose {
  margin: 0;
  font-family: var(--df);
  font-size: 16.5px;
  line-height: 1.62;
  color: #26241f;
}

.ef-uc-word {
  background: #c7e0cc;
  color: #192b1f;
  border-radius: 5px;
  padding: 1px 5px;
}

.ef-uc-clarity-u {
  border-bottom: 2px solid #7c88bc;
  background: rgba(124, 136, 188, 0.12);
  border-radius: 3px 3px 0 0;
  padding: 0 2px;
}

.ef-uc-fix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f2f6f0;
  border: 1px solid #dde6da;
  font-family: var(--sf);
  font-size: 12px;
}

.ef-uc-fix-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex-wrap: wrap;
}

.ef-uc-fix-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c88bc;
  flex: none;
}

.ef-uc-fix-old {
  color: #5f5b54;
  text-decoration: line-through;
}

.ef-uc-fix-new {
  background: #e4e8f7;
  color: #2f3860;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
}

.ef-uc-fix-acc {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #5f7263;
  color: #fffefb;
  font-size: 11px;
  font-weight: 600;
}

.ef-uc-player {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 12px 6px 7px;
  border-radius: 9999px;
  background: #eaf0e9;
}

.ef-uc-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #506957;
  color: #fffefb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ef-uc-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: #d5dfd1;
  overflow: hidden;
}

.ef-uc-track > i {
  display: block;
  width: 56%;
  height: 100%;
  border-radius: 999px;
  background: #5f7263;
}

.ef-uc-voice {
  font-family: var(--sf);
  font-size: 12px;
  font-weight: 600;
  color: #26241f;
  white-space: nowrap;
}

.ef-ent-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ef-ent-eu-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 254, 251, 0.12);
  border: 1px solid rgba(199, 224, 204, 0.28);
  color: #fffefb;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.ef-ent-sheet {
  position: relative;
  z-index: 2;
  background: #fffefb;
  color: #26241f;
  border-radius: 18px;
  padding: 6px 18px;
  box-shadow: 0 18px 34px -16px rgba(13, 24, 17, 0.38);
  display: flex;
  flex-direction: column;
  text-align: start;
}

.ef-ent-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid #e6dfd4;
}

.ef-ent-row:last-child { border-bottom: 0; }

.ef-ent-ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #eaf0e9;
  color: #506957;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ef-ent-row-txt {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ef-ent-row-t {
  font-size: 13.5px;
  line-height: 18px;
  font-weight: 600;
  color: #26241f;
}

.ef-ent-row-s {
  font-size: 12px;
  line-height: 16px;
  color: #5f5b54;
}

.ef-ui-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ef-ui-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 13px;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  color: var(--text-ink);
  font-family: var(--sf);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease;
}

.ef-ui-lang-globe {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--text-body);
}

.ef-ui-lang-code {
  min-width: 21px;
  text-align: center;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.ef-ui-lang-chev {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--text-muted);
  transition: transform 150ms cubic-bezier(0.23, 1, 0.32, 1);
}

[aria-expanded="true"] .ef-ui-lang-chev {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .ef-ui-lang-btn:hover { background: var(--bg-subtle); }
}

.ef-ui-lang-btn:active,
.ef-ui-lang-btn[aria-expanded="true"] {
  background: #dce6d9;
  color: var(--text-ink);
}

[data-theme="dark"] .ef-ui-lang-btn:active,
[data-theme="dark"] .ef-ui-lang-btn[aria-expanded="true"] {
  background: var(--bg-tint);
  color: var(--text-ink);
}

@keyframes efUiLangFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ef-ui-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 70;
  width: 216px;
  padding: 8px;
  border-radius: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-sage);
  box-shadow: 0 16px 32px -8px rgba(27, 36, 30, 0.12), 0 4px 12px rgba(27, 36, 30, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: efUiLangFade 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

[data-theme="dark"] .ef-ui-lang-menu--light {
  background: var(--bg-card);
  border-color: var(--border-sage);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.50), 0 4px 12px rgba(0, 0, 0, 0.28);
}

.ef-ui-lang-opt {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-ink);
  font-family: var(--sf);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: start;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 140ms ease, color 140ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-ui-lang-opt:hover { background: var(--bg-subtle); }
}

.ef-ui-lang-opt:active { background: #dce6d9; }

[data-theme="dark"] .ef-ui-lang-opt:active { background: var(--bg-tint); }

.ef-ui-lang-opt:focus-visible {
  background: var(--bg-subtle);
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.ef-ui-lang-name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ef-ui-lang-check {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--accent);
  opacity: 0;
  visibility: hidden;
}

.ef-ui-lang-opt[aria-checked="true"] .ef-ui-lang-check {
  opacity: 1;
  visibility: visible;
}

.ft-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--fam-dark-line);
  color: var(--fam-dark-ink);
  font-family: var(--sf);
  font-size: 13.5px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.ft-lang-btn .ef-ui-lang-globe { color: var(--fam-dark-accent); }
.ft-lang-btn .ef-ui-lang-chev  { color: var(--fam-dark-muted); }

@media (hover: hover) and (pointer: fine) {
  .ft-lang-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(245, 244, 239, 0.24);
  }
}

.ft-lang-btn:active,
.ft-lang-btn[aria-expanded="true"] {
  background: rgba(158, 194, 167, 0.18);
  border-color: var(--fam-dark-accent);
  color: #ffffff;
}

.ft-lang-btn:focus-visible {
  outline: 2px solid var(--fam-dark-accent);
  outline-offset: 2px;
}

.ef-ui-lang-menu--dark {
  top: auto;
  bottom: calc(100% + 8px);
  background: var(--fam-dark-surface);
  border-color: rgba(245, 244, 239, 0.16);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52), 0 4px 12px rgba(0, 0, 0, 0.30);
}

.ef-ui-lang-menu--dark .ef-ui-lang-opt { color: var(--fam-dark-ink); }

@media (hover: hover) and (pointer: fine) {
  .ef-ui-lang-menu--dark .ef-ui-lang-opt:hover { background: rgba(255, 255, 255, 0.08); }
}

.ef-ui-lang-menu--dark .ef-ui-lang-opt:active { background: rgba(158, 194, 167, 0.16); }

.ef-ui-lang-menu--dark .ef-ui-lang-opt:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline-color: var(--fam-dark-accent);
}

.ef-ui-lang-menu--dark .ef-ui-lang-check { color: var(--fam-dark-accent); }

.ef-nav-burger {
  display: none;
  position: relative;
}

.ef-burger-lines {
  position: relative;
  width: 18px;
  height: 14px;
  display: block;
}

.ef-burger-lines i {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 200ms var(--ef-ease-out), opacity 140ms ease;
}

.ef-burger-lines i:nth-child(1) { top: 0; }
.ef-burger-lines i:nth-child(2) { top: 6px; }
.ef-burger-lines i:nth-child(3) { top: 12px; }

.ef-nav-burger[aria-expanded="true"] .ef-burger-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ef-nav-burger[aria-expanded="true"] .ef-burger-lines i:nth-child(2) { opacity: 0; }
.ef-nav-burger[aria-expanded="true"] .ef-burger-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@keyframes efMobSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ef-mobile-drawer {
  position: fixed;
  inset: var(--ef-header-h) 0 0 0;
  height: calc(100dvh - var(--ef-header-h));
  z-index: 58;
  background: var(--bg-white);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 8px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  animation: efMobSlideIn 220ms var(--ef-ease-out);
}

.ef-mob-list {
  display: flex;
  flex-direction: column;
}

.ef-mob-section {
  border-bottom: 1px solid var(--border-main);
}

.ef-mob-trigger,
.ef-mob-direct {
  width: 100%;
  min-height: 54px;
  padding: 14px 4px;
  border: 0;
  background: transparent;
  color: var(--text-ink);
  font-family: var(--sf);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: start;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: color 140ms ease;
}

.ef-mob-trigger:active,
.ef-mob-direct:active {
  color: var(--accent);
}

.ef-mob-chev {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--text-muted);
  transition: transform 200ms var(--ef-ease-out);
}

.ef-mob-trigger[aria-expanded="true"] .ef-mob-chev {
  transform: rotate(180deg);
  color: var(--accent);
}

.ef-mob-panel {
  margin: 0 -20px;
  padding: 14px 24px 20px;
  background: var(--ef-curtain-bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ef-mob-group-block + .ef-mob-group-block {
  margin-top: 14px;
}

.ef-mob-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ef-promo-grad);
  color: #fffefb;
  text-decoration: none;
}

.ef-mob-promo-txt {
  font-size: 14.5px;
  line-height: 20px;
  font-weight: 500;
}

.ef-mob-promo-pill {
  flex: none;
  padding: 7px 14px;
  border-radius: 9999px;
  background: #c7e0cc;
  color: #192b1f;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.ef-mob-group-label {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.ef-mob-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ef-mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text-ink);
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color 130ms ease, color 130ms ease;
}

.ef-mob-link--live {
  justify-content: flex-start;
  gap: 11px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.ef-mob-link--live .ef-mega-tool-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.ef-mob-link--live .ef-mega-tool-ico svg {
  width: 16px;
  height: 16px;
}

.ef-mob-link:active {
  background: var(--bg-subtle);
  color: var(--accent);
}

.ef-drawer-lang {
  border-bottom: 1px solid var(--border-main);
}

.ef-drawer-lang-toggle {
  width: 100%;
  min-height: 54px;
  padding: 14px 4px;
  border: 0;
  background: transparent;
  color: var(--text-ink);
  font-family: var(--sf);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: color 140ms ease;
}

.ef-drawer-lang-toggle:active,
.ef-drawer-lang-toggle[aria-expanded="true"] {
  color: var(--accent);
}

.ef-drawer-lang-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ef-drawer-lang-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.ef-drawer-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 16px;
  padding: 6px;
  border-radius: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-sage);
}

[data-theme="dark"] .ef-drawer-lang-grid {
  background: var(--bg-card);
}

.ef-drawer-lang-grid .ef-ui-lang-opt {
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  gap: 8px;
}

.ef-mob-cta {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ef-mob-cta .m5-nav-pill {
  height: 48px;
  font-size: 15.5px;
  width: 100%;
}

.ef-live-strip {
  max-width: 1076px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.ef-live-strip-label {
  font-family: var(--sf);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-muted);
  margin-inline-end: 4px;
  white-space: nowrap;
}

.ef-live-strip-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ef-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: var(--bg-sage);
  border: 1px solid var(--border-sage);
  color: var(--text-ink);
  font-family: var(--sf);
  font-size: 14.5px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.ef-live-pill-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--accent);
  transition: background-color 150ms ease, color 150ms ease;
}

.ef-live-pill-ico svg { width: 15px; height: 15px; display: block; }

.ef-live-pill-arr {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--text-muted);
  transition: color 150ms ease;
}

[data-theme="dark"] .ef-live-pill {
  background: var(--bg-card);
  border-color: var(--border-sage);
  color: var(--text-ink);
}

[data-theme="dark"] .ef-live-pill-ico {
  background: var(--ef-sent-hl);
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .ef-live-pill:hover {
    background: var(--bg-tint);
    border-color: var(--accent);
    color: var(--text-ink);
  }
  .ef-live-pill:hover .ef-live-pill-arr { color: var(--accent); }
  [data-theme="dark"] .ef-live-pill:hover {
    background: var(--bg-subtle);
    border-color: var(--accent);
  }
  [data-theme="dark"] .ef-live-pill:hover .ef-live-pill-arr { color: var(--accent); }
}

.ef-live-pill:active {
  background: var(--bg-tint);
  border-color: var(--accent);
}

[data-theme="dark"] .ef-live-pill:active {
  background: var(--bg-subtle);
  border-color: var(--accent);
}

.ef-live-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.bcard-top .bcard-eye { margin-bottom: 0; }

.bcard-live-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 12px;
  margin: -5px 0;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-sage);
  color: var(--accent);
  font-family: var(--sf);
  font-size: 13.5px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.bcard-live-link svg { width: 13px; height: 13px; flex: none; }

[data-theme="dark"] .bcard-live-link {
  background: var(--ef-sent-hl);
  border-color: var(--border-sage);
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .bcard-live-link:hover {
    background: var(--bg-tint);
    border-color: var(--accent);
    color: var(--fam-headline-deep);
  }
  [data-theme="dark"] .bcard-live-link:hover {
    background: var(--bg-tint);
    border-color: var(--accent);
    color: var(--fam-dark-ink);
  }
}

.bcard-live-link:active,
[data-theme="dark"] .bcard-live-link:active {
  background: var(--bg-tint);
  border-color: var(--accent);
}

.bcard-live-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.m5-faq-wrap {
  max-width: 896px;
  margin: 0 auto 136px;
}

.m5-faq-wrap:last-child {
  margin-bottom: 0;
}

.sp-faq-item {
  border-bottom: 1px solid var(--border-main);
}

.sp-faq-item summary {
  list-style: none;
  padding: 24px 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
}

.sp-faq-item summary::-webkit-details-marker { display: none; }

.sp-faq-plus {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 160ms ease;
}

.sp-faq-plus svg {
  width: 22px;
  height: 22px;
  display: block;
}

.sp-faq-item[open] .sp-faq-plus {
  transform: rotate(45deg);
}

.sp-faq-ans {
  padding: 0 0 36px;
  font-size: 17px;
  line-height: 27px;
  color: var(--text-muted);
  max-width: 72ch;
}

.site-footer {
  background-color: var(--fam-dark-bg);
  color: var(--fam-dark-body);
  padding: 64px 0 36px;
}

[data-theme="dark"] .site-footer {
  background-color: #0a0f0c;
}

.ft-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--fam-dark-line);
}

.ft-col h4,
.ft-col .ft-col-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fam-dark-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ft-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ft-col a {
  font-size: 14.5px;
  color: var(--fam-dark-body);
  transition: color 140ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ft-col a:hover { color: #ffffff; }
}

.ft-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--fam-dark-muted);
}

.ft-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.ft-legal-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.ft-legal-row a {
  font-size: 13.5px;
  color: var(--fam-dark-muted);
  padding: 4px 0;
  transition: color 140ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ft-legal-row a:hover { color: #ffffff; }
}

#ss-cookie-banner {
  z-index: 99999;
}

@media (max-width: 1380px) {
  #ef-mega-products .ef-mega-main {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 24px;
  }
  #ef-mega-products .ef-mega-link {
    font-size: 20px;
    line-height: 28px;
  }
  #ef-mega-products .ef-mega-link--live { gap: 9px; }
  #ef-mega-products .ef-mega-tool-ico { width: 28px; height: 28px; }
}

@media (max-width: 1340px) {
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
}

@media (max-width: 1279px) {
  .ef-nav-trigger,
  .ef-nav-direct {
    padding: 0 9px;
    font-size: 13.5px;
  }
  .ef-mega-main {
    grid-column: 1 / 8;
    gap: 24px;
  }
  .ef-mega-aside {
    grid-column: 8 / 13;
  }
  .ef-mega-link,
  .ef-mega-case-t {
    font-size: 20px;
    line-height: 28px;
  }
  .ef-mega-promo {
    padding: 20px;
    gap: 14px;
  }
  .ef-promo-copy { flex: 0 0 148px; }
  .ef-promo-title { font-size: 19px; line-height: 25px; }
  .sp-faq-item summary { font-size: 20px; line-height: 26px; }
}

@media (max-width: 1080px) {
  .ef-primary-nav,
  .ef-ui-lang--header,
  .nav-actions .m5-nav-pill--soft,
  .ef-mega-shell {
    display: none !important;
  }
  .ef-nav-burger {
    display: inline-flex;
  }
  .nav-actions .m5-nav-pill--primary {
    height: 36px;
    padding: 0 14px;
    font-size: 13.5px;
  }
}

@media (max-width: 1024px) {
  .bcard-live-link {
    margin: 0;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 13.5px;
  }
}

@media (max-width: 960px) {
  .ft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .icon-btn { width: 34px; height: 34px; }
  .nav-actions .m5-nav-pill--soft { display: none; }
  .nav-actions .m5-nav-pill--primary { height: 34px; padding: 0 12px; font-size: 13px; }
  .ef-brand { gap: 7px; }
  .ef-brand-mark { width: 24px; height: 24px; }
  .ef-wordmark { font-size: 19px; }
  .m5-faq-wrap:not(:last-child) { margin-bottom: 64px; }
  .sp-faq-item summary { font-size: 18px; line-height: 24px; padding: 20px 0; }
  .ef-live-strip {
    margin-top: 18px;
    flex-direction: column;
    gap: 10px;
  }
  .ef-live-strip-label {
    margin-inline-end: 0;
    font-size: 13.5px;
  }
  .ef-live-strip-pills {
    width: 100%;
    gap: 8px;
  }
  .ef-live-pill {
    font-size: 13.5px;
    padding: 6px 13px 6px 7px;
    gap: 7px;
  }
  .bcard-live-link {
    font-size: 13px;
    padding: 8px 13px;
  }
  .ft-bottom-left { gap: 12px 20px; }
  .ft-legal-row { gap: 6px 16px; }
}

@media (max-width: 480px) {
  .ef-ui-lang--footer .ef-ui-lang-menu--dark {
    inset-inline-start: 0;
    inset-inline-end: auto;
  }
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 420px) {
  .nav-row { gap: 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions .m5-nav-pill--primary { padding: 0 12px; font-size: 13px; white-space: nowrap; }
}

@media (max-width: 360px) {
  .nav-row { gap: 6px; }
  .nav-actions { gap: 4px; }
  .ef-wordmark { font-size: 17px; }
  .nav-actions .m5-nav-pill--primary { padding: 0 10px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ef-mega-shell,
  .ef-mega-panel.is-active .ef-mega-links li > a,
  .ef-mega-panel.is-active .ef-mega-cat > span,
  .ef-mega-panel.is-active .ef-mega-aside,
  .ef-mobile-drawer {
    clip-path: none !important;
    transform: none !important;
    animation: none !important;
    transition: opacity 120ms ease !important;
  }
  .ef-mob-chev,
  .ef-burger-lines i,
  .sp-faq-plus {
    transition: none !important;
  }
}

#ss-cookie-banner {
  z-index: 99999 !important;
  font-family: var(--sf) !important;
}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-inner {
  background: #1f2b24;
  border-color: rgba(158, 194, 167, 0.24);
  color: #f5f4ef;
}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-text {
  color: #dce1dc;
}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-toggle {
  color: #b0bdb3;
}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-toggle:hover {
  color: #f5f4ef;
}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-table td {
  border-color: rgba(245, 244, 239, 0.14);
  color: #dce1dc;
}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-table code {
  background: #25332b;
  color: #f5f4ef;
}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-btn--accept {
  background: #5f7263;
  color: #ffffff;
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] #ss-cookie-banner .ss-cb-btn--accept:hover {
    background: #4e5f53;
  }
}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-btn--reject {
  background: #25332b;
  border-color: rgba(245, 244, 239, 0.18);
  color: #f5f4ef;
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] #ss-cookie-banner .ss-cb-btn--reject:hover {
    background: #354a3d;
  }
}

.ef-banner-cta {
  position: relative;
  border-radius: 40px;
  background-color: #3c5445;
  background-image: var(--ef-hero-grad);
  color: #ffffff;
  padding: 88px 32px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

[data-theme="dark"] .ef-banner-cta {
  background-color: #23352a;
}

.ef-bflow-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ef-bflow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ef-bflow-track {
  fill: none;
  stroke: rgba(199, 224, 204, 0.16);
  stroke-width: 1.25;
}

.ef-bflow-dot {
  fill: rgba(199, 224, 204, 0.42);
}

.ef-bflow-tip {
  fill: none;
  stroke: rgba(199, 224, 204, 0.48);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ef-bflow-pulse {
  fill: none;
  stroke: url(#efBannerFlowGrad);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 18 120;
  stroke-dashoffset: 18;
  animation: efBannerBeam 9s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.ef-bflow-pulse--1 { animation-delay: -0.9s; }
.ef-bflow-pulse--2 { animation-delay: -6.9s; }
.ef-bflow-pulse--3 { animation-delay: -3.9s; }

@keyframes efBannerBeam {
  0%, 4%    { stroke-dashoffset: 18; opacity: 0; }
  7%        { opacity: 0.96; }
  24%       { stroke-dashoffset: -100; opacity: 0.92; }
  28%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

.ef-bflow-col {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 262px;
}

.ef-bflow-col--left { left: 26px; }
.ef-bflow-col--right { right: 26px; }

.ef-bflow-node {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 16px;
  text-align: left;
  border: 1px solid rgba(255, 254, 251, 0.14);
  background: rgba(255, 254, 251, 0.065);
  will-change: transform, opacity;
}

.ef-bflow-node--in {
  border-style: dashed;
  border-color: rgba(223, 232, 213, 0.24);
  animation: efBannerIn 9s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.ef-bflow-node--in.r1 { animation-delay: -0.9s; }
.ef-bflow-node--in.r2 { animation-delay: -6.9s; }
.ef-bflow-node--in.r3 { animation-delay: -3.9s; }

@keyframes efBannerIn {
  0%, 24%, 100% {
    opacity: 0.58;
    transform: translateX(0);
    border-color: rgba(223, 232, 213, 0.22);
  }
  7%, 15% {
    opacity: 0.98;
    transform: translateX(5px);
    border-color: rgba(199, 224, 204, 0.56);
  }
}

.ef-bflow-node--out {
  background: rgba(255, 254, 251, 0.085);
  border-color: rgba(199, 224, 204, 0.22);
  animation: efBannerOut 9s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.ef-bflow-node--out.r1 { animation-delay: -0.9s; }
.ef-bflow-node--out.r2 { animation-delay: -6.9s; }
.ef-bflow-node--out.r3 { animation-delay: -3.9s; }

@keyframes efBannerOut {
  0%, 19%, 44%, 100% {
    opacity: 0.64;
    transform: translateX(0);
    background: rgba(255, 254, 251, 0.08);
    border-color: rgba(199, 224, 204, 0.2);
  }
  25%, 36% {
    opacity: 1;
    transform: translateX(4px);
    background: rgba(199, 224, 204, 0.22);
    border-color: rgba(199, 224, 204, 0.62);
  }
}

.ef-bflow-ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 254, 251, 0.12);
  color: #dfe8d5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ef-bflow-node--out .ef-bflow-ico {
  background: rgba(199, 224, 204, 0.22);
  color: #fffefb;
  animation: efBannerIco 9s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.ef-bflow-node--out.r1 .ef-bflow-ico { animation-delay: -0.9s; }
.ef-bflow-node--out.r2 .ef-bflow-ico { animation-delay: -6.9s; }
.ef-bflow-node--out.r3 .ef-bflow-ico { animation-delay: -3.9s; }

@keyframes efBannerIco {
  0%, 19%, 44%, 100% { background: rgba(199, 224, 204, 0.2); color: #fffefb; }
  25%, 36% { background: #c7e0cc; color: #1a2920; }
}

.ef-bflow-txt {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.ef-bflow-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(199, 224, 204, 0.88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ef-bflow-check {
  font-size: 10.5px;
  font-weight: 700;
  color: #c7e0cc;
  opacity: 0.85;
}

.ef-bflow-v {
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 254, 251, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 4px;
}

.ef-bflow-node--in .ef-bflow-v {
  font-family: var(--df);
  font-style: italic;
  color: rgba(255, 254, 251, 0.74);
}

.ef-bflow-hl {
  display: inline-block;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(199, 224, 204, 0.3);
  color: #fffefb;
  font-weight: 600;
}

.ef-bflow-halo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 40% 82% at 50% 48%, rgba(44, 65, 52, 0.74) 0%, rgba(44, 65, 52, 0.32) 56%, transparent 100%);
}

[data-theme="dark"] .ef-bflow-halo {
  background: radial-gradient(ellipse 40% 82% at 50% 48%, rgba(25, 39, 31, 0.8) 0%, rgba(25, 39, 31, 0.36) 56%, transparent 100%);
}

.ef-banner-cta.is-paused *,
.ef-banner-cta.is-paused *::before,
.ef-banner-cta.is-paused *::after {
  animation-play-state: paused !important;
}

.ef-banner-inner {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 12px;
}

.ef-banner-cta h2 {
  font-family: var(--sf);
  font-size: 64px;
  line-height: 76px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 16px;
  text-wrap: balance;
}

.ef-banner-cta p {
  font-family: var(--sf);
  font-size: 20px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 36px;
  max-width: 580px;
}

.ef-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ef-banner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 20px 48px;
  border-radius: 9999px;
  background: #fffefb;
  color: #26241f;
  font-family: var(--sf);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease, color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-banner-pill:hover {
    background: #edf1e9;
    color: #26241f;
  }
}

.ef-banner-pill:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.ef-banner-sublink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 12px;
  color: rgba(255, 254, 251, 0.9);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(199, 224, 204, 0.55);
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-banner-sublink:hover {
    color: #ffffff;
    text-decoration-color: #ffffff;
  }
}

.ef-banner-sublink:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 8px;
}

.ef-banner-email-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  padding: 6px 8px 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 254, 251, 0.1);
  border: 1px solid rgba(199, 224, 204, 0.28);
  color: #fffefb;
  font-size: 14.5px;
  font-weight: 500;
}

.ef-banner-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 254, 251, 0.24);
  background: rgba(255, 254, 251, 0.14);
  color: #fffefb;
  font-family: var(--sf);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-banner-copy-btn:hover {
    background: rgba(255, 254, 251, 0.24);
  }
}

.ef-banner-copy-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.ef-banner-pause {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 254, 251, 0.18);
  background: rgba(24, 34, 28, 0.56);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-banner-pause:hover {
    background: rgba(24, 34, 28, 0.84);
  }
}

.ef-banner-pause:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.ef-bflow-mobile {
  display: none;
}

@media (max-width: 1360px) {
  .ef-banner-cta h2 { font-size: 52px; line-height: 60px; }
}

@media (max-width: 1279px) {
  .ef-bflow-col { width: 228px; }
  .ef-bflow-col--left { left: 20px; }
  .ef-bflow-col--right { right: 20px; }
  .ef-banner-inner { max-width: 580px; }
  .ef-banner-cta h2 { font-size: 40px; line-height: 48px; }
}

@media (max-width: 1120px) {
  .ef-bflow-stage { display: none; }
  .ef-banner-inner { max-width: 640px; }

  .ef-bflow-mobile {
    display: grid;
    margin: 30px auto 0;
    max-width: 360px;
  }

  .ef-bflow-mitem {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(4px);
    animation: efBannerMobile 9s cubic-bezier(0.23, 1, 0.32, 1) infinite;
  }

  .ef-bflow-mitem.r1 { animation-delay: 0s; }
  .ef-bflow-mitem.r2 { animation-delay: -6s; }
  .ef-bflow-mitem.r3 { animation-delay: -3s; }

  @keyframes efBannerMobile {
    0%        { opacity: 0; transform: translateY(4px); }
    6%, 29%   { opacity: 1; transform: translateY(0); }
    35%, 100% { opacity: 0; transform: translateY(-4px); }
  }

  .ef-bflow-mpill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    background: rgba(255, 254, 251, 0.08);
    border: 1px dashed rgba(223, 232, 213, 0.32);
    color: rgba(255, 254, 251, 0.84);
  }

  .ef-bflow-mpill--out {
    border-style: solid;
    background: rgba(199, 224, 204, 0.22);
    border-color: rgba(199, 224, 204, 0.56);
    color: #fffefb;
  }

  .ef-bflow-marrow {
    color: #c7e0cc;
    font-size: 13px;
    line-height: 1;
  }
}

@media (max-width: 767px) {
  .ef-banner-cta {
    border-radius: 24px;
    padding: 52px 20px 68px;
  }
  .ef-banner-cta h2 {
    font-size: 30px;
    line-height: 34px;
  }
  .ef-banner-cta p {
    font-size: 17px;
    line-height: 25px;
    margin-bottom: 28px;
  }
  .ef-banner-pill {
    width: 100%;
    max-width: 358px;
    height: 60px;
    padding: 16px 24px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ef-bflow-pulse,
  .ef-bflow-node--in,
  .ef-bflow-node--out,
  .ef-bflow-node--out .ef-bflow-ico,
  .ef-bflow-mitem {
    animation: none !important;
  }
  .ef-bflow-node--in { opacity: 0.82; }
  .ef-bflow-node--out { opacity: 0.94; }
  .ef-bflow-node--out.r1 {
    background: rgba(199, 224, 204, 0.18);
    border-color: rgba(199, 224, 204, 0.52);
  }
  .ef-bflow-mitem.r1 { opacity: 1; transform: none; }
}

#ss-cookie-banner .ss-cb-details[data-open="true"] {
  max-height: min(36vh, 240px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@font-face {
  font-family: "Lora";
  src: url("/assets/ss-nd/design/fonts/lora-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/ss-nd/design/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/ss-nd/design/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/ss-nd/design/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/ss-nd/design/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/ss-nd/design/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-white: #ffffff;
  --bg-sage: #edf1e9;
  --bg-linen: #faf6f0;
  --bg-card: #fffefb;
  --bg-subtle: #eaf0e9;
  --bg-tint: #dfe8d5;
  --bg-nav: rgba(255, 255, 255, 0.94);
  --border-main: #e4ded3;
  --border-sage: #d5dfd1;
  --text-ink: #26241f;
  --text-body: #403d37;
  --text-muted: #5f5b54;
  --accent: #506957;
  --btn-bg: #5f7263;
  --btn-bg-hover: #4e5f53;
  --btn-ink: #ffffff;
  --ef-wrap: 1440px;
  --ef-pad-x: 24px;
  --ef-header-h: 56px;
  --ef-curtain-h: 528px;
  --ef-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ef-r-pill: 9999px;
  --ef-promo-grad: linear-gradient(135deg, #2b4033 0%, #466150 54%, #1d2f24 100%);
  --ef-curtain-bg: #edf1e9;
  --ef-sent-hl: #eaf2eb;
  --ef-word-hl: #c7e0cc;
  --ef-mark-clarity: #7c88bc;
  --sf: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --df: "Lora", Georgia, serif;
  --brand-font: "Poppins", "Inter", system-ui, sans-serif;
  --shadow-card: 0 6px 20px -8px rgba(38, 36, 31, 0.08);
  --shadow-nav: 0 4px 18px rgba(27, 36, 30, 0.06);
  --ef-shell: #edf1e9;
  --ef-card: #fffefb;
  --ef-linen: #faf6f0;
  --ef-soft: #eaf0e9;
  --ef-tint: #dfe8d5;
  --ef-line: #e4ded3;
  --ef-line-sage: #d5dfd1;
  --ef-ink: #26241f;
  --ef-body: #403d37;
  --ef-muted: #5f5b54;
  --ef-accent: #506957;
  --ef-card-sage: #edf2eb;
  --ef-card-oat: #f6f1e8;
  --ef-dark-bg: #1b241e;
  --ef-dark-ink: #f5f4ef;
  --ef-dark-body: #d6dcd7;
  --ef-dark-muted: #a6b4aa;
  --ef-dark-accent: #9ec2a7;
  --ef-dark-line: rgba(245, 244, 239, 0.14);
  --ef-shadow-card: 0 4px 14px -6px rgba(27, 36, 30, 0.08), 0 1px 3px rgba(27, 36, 30, 0.04);
  --ef-sf: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ef-brand-font: "Poppins", "Inter", system-ui, sans-serif;
}

@media (max-width: 767px) {
  :root {
    --ef-header-h: 50px;
    --ef-pad-x: 16px;
  }
}

html:not([data-theme="dark"]):not([data-contrast="more"]) {
  --fam-ground: linear-gradient(180deg, #edf1e9 0%, #edf1e9 100%);
  --fam-ground-end: #edf1e9;
  --fam-card: #fffefb;
  --fam-paper: #fdfcf9;
  --fam-soft: #edf2eb;
  --fam-tint: #dfe8d5;
  --fam-line: #e4ded3;
  --fam-edge: rgba(255, 255, 255, 0.92);
  --fam-green: #506957;
  --fam-green-down: #3b5546;
  --fam-headline: #506957;
  --fam-ink: #26241f;
  --fam-body: #403d37;
  --fam-muted: #5f5b54;
  --fam-card-corner: 28px;
  --fam-switch-corner: 14px;
  --fam-switch-part-corner: 10px;
  --fam-card-shade: 0 24px 60px -26px rgba(27, 36, 30, 0.15), 0 2px 10px rgba(27, 36, 30, 0.04);
  --fam-float-shade: 0 14px 36px -14px rgba(27, 36, 30, 0.18), 0 2px 8px rgba(27, 36, 30, 0.06);
  --fam-sheet-shade: 0 20px 50px -16px rgba(27, 36, 30, 0.22), 0 2px 10px rgba(27, 36, 30, 0.05);
  --ef-hero-grad: linear-gradient(135deg, #3c5445 0%, #526c5a 52%, #2c4134 100%);
  --ef-hero-grad-hover: linear-gradient(135deg, #32483b 0%, #445d4c 52%, #23362a 100%);
}

html[data-theme="dark"] {
  --bg-white: #18211c;
  --bg-sage: #25332b;
  --bg-linen: #29312a;
  --bg-card: #1f2b24;
  --bg-subtle: #2b3a31;
  --bg-tint: #354a3d;
  --bg-nav: rgba(24, 33, 28, 0.94);
  --border-main: rgba(245, 244, 239, 0.14);
  --border-sage: rgba(158, 194, 167, 0.24);
  --text-ink: #f5f4ef;
  --text-body: #dce1dc;
  --text-muted: #b0bdb3;
  --accent: #9ec2a7;
  --btn-bg: #5f7263;
  --btn-bg-hover: #718876;
  --btn-ink: #ffffff;
  --ef-promo-grad: linear-gradient(135deg, #1f3126 0%, #30493a 54%, #15221a 100%);
  --ef-curtain-bg: #1f2b24;
  --ef-sent-hl: rgba(158, 194, 167, 0.14);
  --ef-word-hl: rgba(158, 194, 167, 0.34);
  --shadow-card: 0 8px 24px -10px rgba(0, 0, 0, 0.36);
  --shadow-nav: 0 4px 18px rgba(0, 0, 0, 0.32);
  --ef-shell: #18211c;
  --ef-card: #1f2b24;
  --ef-linen: #29312a;
  --ef-soft: #25332b;
  --ef-tint: #354a3d;
  --ef-line: rgba(245, 244, 239, 0.14);
  --ef-line-sage: rgba(158, 194, 167, 0.24);
  --ef-ink: #f5f4ef;
  --ef-body: #dce1dc;
  --ef-muted: #b0bdb3;
  --ef-accent: #9ec2a7;
  --ef-card-sage: #25332b;
  --ef-card-oat: #262d25;
  --ef-shadow-card: 0 6px 18px -8px rgba(0, 0, 0, 0.36);
  --ef-dark-shell: #18211c;
  --ef-dark-sheet: #1b251f;
  --ef-dark-rail: #1f2b24;
  --ef-dark-sage: #25332b;
  --ef-dark-sage-hover: #354a3d;
  --ef-dark-oat: #242b23;
  --ef-dark-elev: #233028;
  --ef-dark-line: rgba(245, 244, 239, 0.11);
  --ef-dark-edge: rgba(245, 244, 239, 0.09);
  --ef-dark-ink: #f5f4ef;
  --ef-dark-body: #dce1dc;
  --ef-dark-muted: #b0bdb3;
  --ef-dark-accent: #9ec2a7;
  --ef-dark-btn: #5f7263;
  --ef-dark-btn-hover: #4e5f53;
  --ef-dark-hero-grad: linear-gradient(135deg, #23352a 0%, #31483a 52%, #19271f 100%);
  --ef-dark-hero-grad-hover: linear-gradient(135deg, #2b4033 0%, #3b5646 52%, #203127 100%);
  --ef-dark-shadow: 0 28px 64px -20px rgba(0, 0, 0, 0.52), inset 0 0 0 1px rgba(245, 244, 239, 0.08);
  --ef-dark-float: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(245, 244, 239, 0.12);
}

html[data-contrast="more"]:not([data-theme="dark"]) {
  --ef-card: #ffffff;
  --ef-linen: #ffffff;
  --ef-soft: #e4e9e4;
  --ef-tint: #d2ded2;
  --ef-line: #4a4f57;
  --ef-line-sage: #4a4f57;
  --ef-ink: #000000;
  --ef-body: #000000;
  --ef-muted: #000000;
  --ef-accent: #1f4a37;
  --ef-card-sage: #ffffff;
  --ef-card-oat: #ffffff;
  --ef-shadow-card: 0 0 0 1px #4a4f57;
}

html[data-contrast="more"][data-theme="dark"] {
  --ef-shell: #101613;
  --ef-card: #161f1a;
  --ef-linen: #161f1a;
  --ef-soft: #1f2b24;
  --ef-tint: #2d4034;
  --ef-line: rgba(255, 255, 255, 0.42);
  --ef-line-sage: rgba(208, 232, 214, 0.56);
  --ef-ink: #ffffff;
  --ef-body: #ffffff;
  --ef-muted: #e5ece7;
  --ef-accent: #c7e5ce;
  --ef-card-sage: #161f1a;
  --ef-card-oat: #161f1a;
  --ef-shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.42);
}

html {
  -webkit-tap-highlight-color: transparent;
}

body#writing-shared ::selection {
  background: #c7e0cc;
  color: #26241f;
}
html[data-theme="dark"] body#writing-shared ::selection {
  background: rgba(158, 194, 167, 0.34);
  color: #f5f4ef;
}

body#writing-shared .ql-editor,
body#writing-shared textarea,
body#writing-shared input {
  caret-color: #506957;
}
html[data-theme="dark"] body#writing-shared .ql-editor,
html[data-theme="dark"] body#writing-shared textarea,
html[data-theme="dark"] body#writing-shared input {
  caret-color: #9ec2a7;
}

body#writing-shared :is(.ed-word-count, .word-counter-div, .calm-review-count, [class*="count"]) {
  font-variant-numeric: tabular-nums;
}

body#writing-shared :is(button, a, [role="tab"], [role="button"]) {
  touch-action: manipulation;
}

body#writing-shared#writing-shared#writing-shared#writing-shared :is(button, a, [role="tab"], [role="button"]):focus-visible,
body#writing-shared#writing-shared#writing-shared#writing-shared #bb-sidebar :is(a, button):focus-visible {
  outline: 2px solid #506957 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body#writing-shared#writing-shared#writing-shared#writing-shared :is(button, a, [role="tab"], [role="button"]):focus-visible,
html[data-theme="dark"] body#writing-shared#writing-shared#writing-shared#writing-shared #bb-sidebar :is(a, button):focus-visible {
  outline-color: #9ec2a7 !important;
  box-shadow: none !important;
}

@supports not selector(::-webkit-scrollbar) {
  body#writing-shared :is(.ql-editor, .ai-card-messages, .sidebar-wrapper, #settingsDropdown) {
    scrollbar-width: thin;
    scrollbar-color: rgba(80, 105, 87, 0.28) transparent;
  }
}
body#writing-shared :is(.ql-editor, .ai-card-messages, .sidebar-wrapper, #settingsDropdown)::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
body#writing-shared :is(.ql-editor, .ai-card-messages, .sidebar-wrapper, #settingsDropdown)::-webkit-scrollbar-button {
  display: none;
}
body#writing-shared :is(.ql-editor, .ai-card-messages, .sidebar-wrapper, #settingsDropdown)::-webkit-scrollbar-track {
  background: transparent;
}
body#writing-shared :is(.ql-editor, .ai-card-messages, .sidebar-wrapper, #settingsDropdown)::-webkit-scrollbar-thumb {
  background: rgba(80, 105, 87, 0.24);
  border-radius: 999px;
}
html[data-theme="dark"] body#writing-shared :is(.ql-editor, .ai-card-messages, .sidebar-wrapper, #settingsDropdown)::-webkit-scrollbar-thumb {
  background: rgba(158, 194, 167, 0.28);
}

#ef-site-header,
#ef-site-header *,
#ef-site-header *::before,
#ef-site-header *::after,
.ef-mega-shell,
.ef-mega-shell *,
.ef-mega-shell *::before,
.ef-mega-shell *::after,
.ef-mobile-drawer,
.ef-mobile-drawer *,
.ef-mobile-drawer *::before,
.ef-mobile-drawer *::after {
  box-sizing: border-box;
}

#ef-site-header,
.ef-mega-shell,
.ef-mobile-drawer {
  font-family: var(--sf);
  color: var(--text-ink);
  -webkit-font-smoothing: antialiased;
}

html[data-theme="dark"] :is(#ef-site-header, .ef-mega-shell, .ef-mobile-drawer) {
  --accent: #9ec2a7;
}

:where(#ef-site-header, .ef-mega-shell, .ef-mobile-drawer) a {
  color: inherit;
  text-decoration: none;
}

:where(#ef-site-header, .ef-mega-shell, .ef-mobile-drawer) button {
  font-family: var(--sf);
}

:where(#ef-site-header, .ef-mega-shell, .ef-mobile-drawer) ul,
:where(#ef-site-header, .ef-mega-shell, .ef-mobile-drawer) ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

#ef-site-header[hidden],
.ef-mega-shell[hidden],
.ef-mobile-drawer[hidden],
:where(#ef-site-header, .ef-mega-shell, .ef-mobile-drawer) [hidden] {
  display: none !important;
}

:where(#ef-site-header, .ef-mega-shell, .ef-mobile-drawer) .wrap {
  width: 100%;
  max-width: var(--ef-wrap);
  margin: 0 auto;
  padding-inline: var(--ef-pad-x);
}

#ef-site-header.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 510 !important;
  height: var(--ef-header-h);
  background: var(--bg-white);
  border-bottom: 1px solid rgba(213, 223, 209, 0.85);
}

.ef-mega-shell {
  z-index: 505 !important;
}

#ef-site-header .ef-ui-lang-menu {
  z-index: 520 !important;
}

html[data-theme="dark"] #ef-site-header.site-header {
  background: #18211c;
  border-bottom-color: rgba(158, 194, 167, 0.16);
}

#ef-site-header.site-header.has-mega-open {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

body#writing-shared#writing-shared#writing-shared#writing-shared #bb-sidebar,
body#writing-shared#writing-shared#writing-shared#writing-shared .sidebar-home-logo,
body#writing-shared#writing-shared#writing-shared#writing-shared .bb-mkt-drawer-trigger,
body#writing-shared#writing-shared#writing-shared#writing-shared #bb-mobile-nav,
body#writing-shared#writing-shared#writing-shared#writing-shared #bb-mobile-nav.mn-bar {
  display: none !important;
}

@media (min-width: 768px) {
  html:has(body#writing-shared) {
    height: auto !important;
    max-height: none !important;
    min-height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: clip !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(80, 105, 87, 0.34) transparent !important;
    background: var(--ef-shell) !important;
  }

  html[data-theme="dark"]:has(body#writing-shared) {
    scrollbar-color: rgba(158, 194, 167, 0.34) transparent !important;
  }

  html:has(body#writing-shared)::-webkit-scrollbar {
    display: block !important;
    width: 8px !important;
    height: 8px !important;
  }

  html:has(body#writing-shared)::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  html:has(body#writing-shared)::-webkit-scrollbar-track {
    background: transparent !important;
  }

  html:has(body#writing-shared)::-webkit-scrollbar-thumb {
    background: rgba(80, 105, 87, 0.30) !important;
    border-radius: 999px !important;
  }

  html:has(body#writing-shared)::-webkit-scrollbar-thumb:hover {
    background: rgba(80, 105, 87, 0.46) !important;
  }

  html[data-theme="dark"]:has(body#writing-shared)::-webkit-scrollbar-thumb {
    background: rgba(158, 194, 167, 0.32) !important;
  }

  html[data-theme="dark"]:has(body#writing-shared)::-webkit-scrollbar-thumb:hover {
    background: rgba(158, 194, 167, 0.48) !important;
  }

  html body#writing-shared#writing-shared#writing-shared#writing-shared {
    height: auto !important;
    max-height: none !important;
    min-height: 100dvh !important;
    overflow-y: visible !important;
    overflow-x: clip !important;
    background: var(--ef-shell) !important;
  }

  html:has(body#writing-shared .ss-pdfsplit),
  html:has(body#writing-shared .ss-pdfsplit) body#writing-shared#writing-shared#writing-shared#writing-shared {
    overflow: hidden !important;
    height: 100dvh !important;
  }

  html body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .app.grammar-page.bb-skrivebord {
    position: relative !important;
    height: auto !important;
    min-height: 100dvh !important;
    padding: calc(var(--ef-header-h, 56px) + 24px) 24px 32px 24px !important;
    overflow: visible !important;
    background: var(--ef-shell) !important;
  }

  html body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .main-content {
    height: auto !important;
    max-height: none !important;
    min-height: calc(100dvh - var(--ef-header-h, 56px) - 40px) !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: calc(var(--ef-wrap, 1440px) - var(--ef-pad-x, 24px) * 2) !important;
    margin: 0 auto !important;
  }

  html body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .robot-container {
    height: calc(100dvh - var(--ef-header-h, 56px) - 48px) !important;
    min-height: 620px !important;
    max-height: 920px !important;
    flex: none !important;
    width: 100% !important;
  }

  html body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #grammar-bot-container {
    height: 100% !important;
    max-height: 100% !important;
  }
}

body#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .skv2-title-block {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 0 !important;
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #skv2PublicSaveHint {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  height: 36px !important;
  padding: 0 15px !important;
  border-radius: 9999px !important;
  background: #edf1e9 !important;
  color: #26241f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 0 !important;
  transition: background-color 150ms ease, color 150ms ease !important;
}
@media (hover: hover) and (pointer: fine) {
  html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #skv2PublicSaveHint:hover {
    background: #dfe8d5 !important;
    color: #1b241e !important;
  }
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #grammar-bot-container {
  border-radius: 28px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 24px 60px -26px rgba(27, 36, 30, 0.14), 0 2px 10px rgba(27, 36, 30, 0.04) !important;
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .top-controls :is(#copyBtn, #downloadBtnQuill, #shareBtn, #sk-writing-settings) {
  border-radius: 9999px !important;
  background: #edf1e9 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transition: background-color 140ms ease, color 140ms ease !important;
}
@media (hover: hover) and (pointer: fine) {
  html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .top-controls :is(#copyBtn, #downloadBtnQuill, #shareBtn, #sk-writing-settings):not(:disabled):hover {
    background: #dfe8d5 !important;
  }
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .ai-level-chip {
  border-radius: 20px !important;
  border: 0 !important;
}
html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .ai-level-chip:has(.ai-level-run:disabled) {
  background: var(--ef-card-sage) !important;
}
html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .ai-level-chip:has(.ai-level-run:not(:disabled)) {
  background: var(--ef-hero-grad) !important;
  box-shadow: 0 14px 32px -16px rgba(27, 36, 30, 0.34) !important;
}
@media (hover: hover) and (pointer: fine) {
  html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .ai-level-chip:has(.ai-level-run:not(:disabled):hover) {
    background: var(--ef-hero-grad-hover) !important;
  }
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .sk-tone-controls {
  border-radius: 20px !important;
  border: 0 !important;
}
html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .biq-chip {
  border-radius: 16px !important;
  border: 0 !important;
  background: var(--ef-card-sage) !important;
  box-shadow: none !important;
  transition: background-color 140ms ease !important;
}
html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #biq-humanize.biq-chip {
  background: var(--ef-card-oat) !important;
}
@media (hover: hover) and (pointer: fine) {
  html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .biq-chip:not(:disabled):hover {
    background: #dfe8d5 !important;
  }
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .calm-corr-card {
  border-radius: 18px !important;
  background: var(--ef-card-sage) !important;
  border: 1px solid transparent !important;
}
html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .calm-corr-card:is(.calm-corr-card--active, :focus-within) {
  border-color: rgba(80, 105, 87, 0.36) !important;
  background: #e6eee4 !important;
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .chat-prompt-chip.calm-home-folder {
  background: var(--ef-card-oat) !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}
body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .chat-prompt-chip.calm-home-folder::before,
body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .chat-prompt-chip.chat-prompt-add::before {
  display: none !important;
}
html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .chat-prompt-chip:is(.chat-prompt-create, .chat-prompt-add) {
  background: var(--ef-card-sage) !important;
  border: 0 !important;
  border-radius: 14px !important;
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #sidebar-dropdown-items:not(:has(.calm-review-status-row)) {
  background: #edf1e9 !important;
  border-radius: 14px !important;
  border: 0 !important;
}
body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #sidebar-dropdown-items:has(.calm-review-status-row) {
  background: transparent !important;
  border: 0 !important;
}

html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .counter-nav-div {
  border-radius: 9999px !important;
  background: #fffefb !important;
  box-shadow: 0 14px 36px -14px rgba(27, 36, 30, 0.18), 0 0 0 1px rgba(228, 222, 211, 0.85) !important;
}
html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared :is(#settingsDropdown, #ed-voice-popover, #sk-prediction-settings, #downloadDropdown, #calm-heading-popover) {
  border-radius: 20px !important;
  border-color: #e4ded3 !important;
  box-shadow: var(--fam-sheet-shade) !important;
}

body#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .ql-editor {
  font-size: 17.5px !important;
  line-height: 1.7 !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared {
  background: var(--ef-dark-shell) !important;
  color: var(--ef-dark-ink) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared::before {
  background: var(--ef-dark-shell) !important;
}

html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #grammar-bot-container {
  background: linear-gradient(var(--ef-dark-line), var(--ef-dark-line)) 0 69px / 100% 1px no-repeat var(--ef-dark-sheet) !important;
  border-radius: 28px !important;
  border: 0 !important;
  box-shadow: var(--ef-dark-shadow) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .inner-textarea-bottom {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 28px 0 0 28px !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .sidebar-wrapper {
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid var(--ef-dark-line) !important;
  box-shadow: none !important;
  border-radius: 0 28px 28px 0 !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord :is(.ss-app-content, .text-area-container) {
  gap: 0 !important;
  background: transparent !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord :is(.main-textarea-section, #inputText, .ql-editor, .correction-sidebar) {
  background: transparent !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .textarea-wrapper::before {
  background-image: linear-gradient(var(--ef-dark-sheet), transparent) !important;
}

html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #bb-sidebar {
  background: transparent !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #bb-sidebar :is(.sidebar-icon, .sidebar-ai, .sidebar-avatar) {
  color: var(--ef-dark-muted) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #bb-sidebar .sidebar-icon.is-active {
  background: var(--ef-dark-sage) !important;
  color: var(--ef-dark-accent) !important;
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #bb-sidebar :is(.sidebar-icon, .sidebar-ai, .sidebar-avatar):hover {
    background: var(--ef-dark-sage) !important;
    color: var(--ef-dark-ink) !important;
  }
}

html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #skv2PublicSaveHint {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  height: 36px !important;
  padding: 0 15px !important;
  border-radius: 9999px !important;
  background: var(--ef-dark-sage) !important;
  color: var(--ef-dark-ink) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 0 !important;
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #skv2PublicSaveHint:hover {
    background: var(--ef-dark-sage-hover) !important;
  }
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .top-controls :is(#copyBtn, #downloadBtnQuill, #shareBtn, #sk-writing-settings) {
  border-radius: 9999px !important;
  background: var(--ef-dark-sage) !important;
  border: 0 !important;
  color: var(--ef-dark-ink) !important;
  box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .top-controls :is(#copyBtn, #downloadBtnQuill, #shareBtn, #sk-writing-settings):not(:disabled):hover {
    background: var(--ef-dark-sage-hover) !important;
  }
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord :is(#pasteBtn, #uploadImg) {
  border-radius: 9999px !important;
  background: var(--ef-dark-sage) !important;
  border: 0 !important;
  color: var(--ef-dark-ink) !important;
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord :is(#pasteBtn, #uploadImg):hover {
    background: var(--ef-dark-sage-hover) !important;
  }
}

html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #sidebar-dropdown-items:not(:has(.calm-review-status-row)) {
  background: var(--ef-dark-sage) !important;
  border: 0 !important;
  border-radius: 14px !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #sidebar-dropdown-items [role="tab"] {
  color: var(--ef-dark-muted) !important;
  border-radius: 10px !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared #sidebar-dropdown-items [role="tab"]:is(.active, [aria-selected="true"]) {
  background: #2f4036 !important;
  color: var(--ef-dark-ink) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .ai-level-chip {
  border-radius: 20px !important;
  border: 0 !important;
  background: var(--ef-dark-elev) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .ai-level-chip:has(.ai-level-run:not(:disabled)) {
  background: var(--ef-dark-hero-grad) !important;
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.48) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .sk-tone-controls {
  border-radius: 20px !important;
  border: 0 !important;
  background: var(--ef-dark-elev) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .biq-chip {
  border-radius: 16px !important;
  border: 0 !important;
  background: var(--ef-dark-elev) !important;
  color: var(--ef-dark-ink) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #biq-humanize.biq-chip {
  background: var(--ef-dark-oat) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .calm-corr-card {
  border-radius: 18px !important;
  background: var(--ef-dark-elev) !important;
  border: 1px solid rgba(245, 244, 239, 0.08) !important;
  color: var(--ef-dark-ink) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord :is(.calm-corr-card-accept, .calm-footer-accept-all) {
  background: var(--ef-dark-btn) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  border: 0 !important;
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord :is(.calm-corr-card-accept, .calm-footer-accept-all):hover {
    background: var(--ef-dark-btn-hover) !important;
  }
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .calm-corr-card-skip {
  background: var(--ef-dark-sage) !important;
  color: var(--ef-dark-ink) !important;
  border: 0 !important;
  border-radius: 9999px !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .chat-prompt-chip.calm-home-folder {
  background: var(--ef-dark-oat) !important;
  border: 0 !important;
  border-radius: 16px !important;
  color: var(--ef-dark-ink) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .chat-prompt-chip:is(.chat-prompt-create, .chat-prompt-add) {
  background: var(--ef-dark-sage) !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: var(--ef-dark-ink) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .wm-nudge-action.sk-draft-start {
  background: var(--ef-dark-sage) !important;
  border: 0 !important;
  color: var(--ef-dark-ink) !important;
  border-radius: 9999px !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .ai-card-input-wrap {
  background: var(--ef-dark-shell) !important;
  border: 1px solid var(--ef-dark-line) !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .counter-nav-div {
  background: var(--ef-dark-elev) !important;
  border: 0 !important;
  border-radius: 9999px !important;
  box-shadow: var(--ef-dark-float) !important;
}
html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared :is(#settingsDropdown, #ed-voice-popover, #sk-prediction-settings, #downloadDropdown, #calm-heading-popover) {
  background: #212e26 !important;
  border: 1px solid rgba(245, 244, 239, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 54px -16px rgba(0, 0, 0, 0.62) !important;
}

html[data-theme="dark"] #after-panel.ss-dictation-followup {
  color-scheme: dark !important;
  background: #212e26 !important;
  border: 1px solid rgba(245, 244, 239, 0.14) !important;
  color: #edf1ea !important;
  box-shadow: 0 24px 54px -16px rgba(0, 0, 0, 0.62) !important;
}
html[data-theme="dark"] #after-panel .ss-dict-after-heading strong {
  color: #f3f6f0 !important;
}
html[data-theme="dark"] #after-panel .ss-dict-after-heading button {
  background: transparent !important;
  color: #a9b2a8 !important;
}
html[data-theme="dark"] #after-panel .ss-dict-after-heading button:hover {
  background: #2b3a30 !important;
  color: #f3f6f0 !important;
}
html[data-theme="dark"] #after-panel .after-action:has(input:checked) {
  background: #27352b !important;
  border-color: #4d6754 !important;
}
html[data-theme="dark"] #after-panel .after-action:not(:has(input:checked)):hover {
  background: #25332a !important;
}
html[data-theme="dark"] #after-panel .action-title,
html[data-theme="dark"] #after-panel .after-action:has(input:checked) .action-title {
  color: #f3f6f0 !important;
}
html[data-theme="dark"] #after-panel .action-radio input {
  background: #1b251f !important;
  border-color: #6b7d70 !important;
}
html[data-theme="dark"] #after-panel .action-radio input:checked {
  border-color: #9ec2a9 !important;
  background: radial-gradient(circle at center, #9ec2a9 4.25px, #1b251f 4.75px) border-box !important;
}
html[data-theme="dark"] #after-panel [data-level-toggle] {
  background: #1b251f !important;
  border-color: #4d6754 !important;
  color: #f3f6f0 !important;
}
html[data-theme="dark"] #after-panel [data-level-toggle]::after {
  background: rgba(245, 244, 239, 0.14) !important;
}
html[data-theme="dark"] #after-panel [data-level-toggle][aria-expanded="true"] {
  background: #5f7263 !important;
  border-color: #5f7263 !important;
  color: #ffffff !important;
}
html[data-theme="dark"] #after-panel #after-level-list {
  border-top-color: rgba(245, 244, 239, 0.12) !important;
}
html[data-theme="dark"] #after-panel [data-level] {
  color: #edf1ea !important;
}
html[data-theme="dark"] #after-panel [data-level] small {
  color: #b7c2b8 !important;
}
html[data-theme="dark"] #after-panel [data-level] svg {
  color: #9ec2a9 !important;
}
html[data-theme="dark"] #after-panel [data-level][aria-pressed="true"] {
  background: #1b251f !important;
  border-color: #6c8d75 !important;
}
html[data-theme="dark"] #after-panel [data-level][aria-pressed="false"]:hover {
  background: #2b3a30 !important;
}
html[data-theme="dark"] #after-panel .after-sub {
  color: #b7c2b8 !important;
}
html[data-theme="dark"] #after-panel .after-choice select {
  background: #1b251f !important;
  border-color: #4d6754 !important;
  color: #f3f6f0 !important;
}
html[data-theme="dark"] #after-panel .after-choice-icon,
html[data-theme="dark"] #after-panel .after-choice > .after-chevron {
  color: #b7c2b8 !important;
}
html[data-theme="dark"] #after-panel .ss-dict-after-link {
  background: transparent !important;
  color: #b7c2b8 !important;
}
html[data-theme="dark"] #after-panel .ss-dict-after-link:hover {
  background: #2b3a30 !important;
  color: #f3f6f0 !important;
}
html[data-theme="dark"] #after-panel .ss-dict-after-primary {
  background: #5f7263 !important;
  border-color: #5f7263 !important;
  color: #ffffff !important;
}
html[data-theme="dark"] #after-panel .ss-dict-after-primary:not(:disabled):is(:hover, :active) {
  background: #6d8272 !important;
  border-color: #6d8272 !important;
}

@media (max-width: 767px) {
  .ef-sk-below {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .ef-sk-below .ef-sk-sub,
  .ef-sk-below .ef-sk-grid,
  .ef-sk-below .ef-sk-steps-wrap,
  .ef-sk-below .ef-sk-guides,
  .ef-sk-below .ef-sk-cross,
  .ef-sk-below .ef-sk-band--linen,
  .ef-sk-below .ef-sk-band + .ef-sk-band,
  .ef-sk-below .ef-sk-footer {
    display: none;
  }
}

@media (min-width: 768px) {
  .ef-sk-below {
    display: block;
    margin: 40px 0 0;
    font-family: var(--ef-sf);
    color: var(--ef-body);
  }

  .ef-sk-band {
    background: var(--ef-card);
    border: 1px solid var(--ef-line-sage);
    border-radius: 32px;
    padding: 80px 64px;
    box-shadow: var(--ef-shadow-card);
  }

  .ef-sk-band + .ef-sk-band {
    margin-top: 32px;
  }

  .ef-sk-band--linen {
    background: var(--ef-linen);
    border-color: var(--ef-line);
  }

  .ef-sk-band-head {
    max-width: 780px;
    margin: 0 auto 52px;
    text-align: center;
  }

  .ef-sk-h1 {
    margin: 0;
    font-family: var(--ef-sf);
    font-size: 40px;
    line-height: 48px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ef-ink);
    text-wrap: balance;
  }

  .ef-sk-h2 {
    margin: 0;
    font-family: var(--ef-sf);
    font-size: 30px;
    line-height: 38px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ef-ink);
    text-wrap: balance;
  }

  .ef-sk-sub {
    margin: 16px auto 0;
    max-width: 64ch;
    font-size: 17.5px;
    line-height: 27px;
    font-weight: 400;
    color: var(--ef-muted);
  }

  .ef-sk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .ef-sk-card {
    border-radius: 32px;
    padding: 36px;
    border: 0;
    background: var(--ef-card-sage);
  }

  .ef-sk-card--oat {
    background: var(--ef-card-oat);
  }

  html[data-contrast="more"] .ef-sk-card,
  html[data-contrast="more"] .ef-sk-step,
  html[data-contrast="more"] .ef-sk-guide-card {
    border: 1px solid var(--ef-line-sage);
  }

  .ef-sk-card-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ef-card);
    color: var(--ef-accent);
    margin-bottom: 22px;
  }

  .ef-sk-card-ico svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .ef-sk-card h2 {
    margin: 0 0 12px;
    font-family: var(--ef-sf);
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ef-ink);
  }

  .ef-sk-card p {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: var(--ef-muted);
  }

  .ef-sk-steps-wrap {
    margin-top: 48px;
    padding-top: 44px;
    border-top: 1px solid var(--ef-line);
  }

  .ef-sk-steps-title {
    margin: 0 0 24px;
    font-family: var(--ef-sf);
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ef-accent);
    text-align: center;
  }

  .ef-sk-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .ef-sk-step {
    background: var(--ef-soft);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ef-sk-step-num {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: var(--ef-card);
    border: 1px solid var(--ef-line-sage);
    color: var(--ef-accent);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ef-sk-step h3 {
    margin: 4px 0 0;
    font-family: var(--ef-sf);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ef-ink);
  }

  .ef-sk-step p {
    margin: 0;
    font-size: 14px;
    line-height: 21.5px;
    color: var(--ef-muted);
  }

  .ef-sk-guides {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .ef-sk-guide-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 28px;
    border-radius: 24px;
    background: var(--ef-card);
    border: 1px solid var(--ef-line-sage);
    text-decoration: none !important;
    color: var(--ef-ink) !important;
    transition: background-color 150ms ease, border-color 150ms ease;
  }

  .ef-sk-guide-card strong {
    font-size: 15.5px;
    line-height: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ef-ink);
  }

  .ef-sk-guide-card span {
    font-size: 14px;
    line-height: 21px;
    color: var(--ef-muted);
  }

  .ef-sk-guide-more {
    font-size: 13.5px !important;
    font-weight: 500;
    color: var(--ef-accent) !important;
  }

  @media (hover: hover) and (pointer: fine) {
    .ef-sk-guide-card:hover {
      background: var(--ef-soft);
      border-color: var(--ef-accent);
    }
  }

  .ef-sk-cross {
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid var(--ef-line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 14px;
  }

  .ef-sk-cross-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ef-muted);
    margin-inline-end: 4px;
  }

  .ef-sk-cross-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 6px 16px 6px 8px;
    border-radius: 9999px;
    background: var(--ef-soft);
    border: 1px solid var(--ef-line-sage);
    color: var(--ef-ink) !important;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 150ms ease, border-color 150ms ease;
  }

  .ef-sk-cross-ico {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ef-card);
    color: var(--ef-accent);
  }

  .ef-sk-cross-ico svg {
    width: 15px;
    height: 15px;
  }

  @media (hover: hover) and (pointer: fine) {
    .ef-sk-cross-pill:hover {
      background: var(--ef-tint);
      border-color: var(--ef-accent);
    }
  }

  .ef-sk-faq-wrap {
    max-width: 820px;
    margin: 0 auto;
  }

  .ef-sk-faq-h2 {
    margin: 0 0 36px;
    text-align: center;
    font-family: var(--ef-sf);
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ef-ink);
  }

  .ef-sk-faq-item {
    border-bottom: 1px solid var(--ef-line);
  }

  .ef-sk-faq-item summary {
    list-style: none;
    padding: 22px 0;
    font-size: 18.5px;
    line-height: 26px;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--ef-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
  }

  .ef-sk-faq-item summary::-webkit-details-marker {
    display: none;
  }

  .ef-sk-faq-plus {
    width: 22px;
    height: 22px;
    color: var(--ef-muted);
    flex-shrink: 0;
    transition: transform 160ms ease;
  }

  .ef-sk-faq-item[open] .ef-sk-faq-plus {
    transform: rotate(45deg);
  }

  .ef-sk-faq-ans {
    padding: 0 0 26px;
    font-size: 15.5px;
    line-height: 25px;
    color: var(--ef-muted);
    max-width: 72ch;
  }

  .ef-sk-footer {
    margin-top: 32px;
    background: var(--ef-dark-bg);
    color: var(--ef-dark-body);
    border-radius: 32px;
    padding: 56px 64px 36px;
  }

  html[data-theme="dark"] .ef-sk-footer {
    background: #0d1410;
    border: 1px solid rgba(245, 244, 239, 0.08);
  }

  .ef-sk-ft-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--ef-dark-line);
  }

  .ef-sk-ft-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none !important;
    color: var(--ef-dark-ink) !important;
  }

  .ef-sk-ft-brand .rf-brand-lockup{display:block;height:34px;width:auto}

  .ef-sk-ft-word {
    font-family: var(--ef-brand-font);
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.028em;
    color: var(--ef-dark-ink);
  }

  .ef-sk-ft-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 9999px;
    background: rgba(245, 244, 239, 0.1);
    border: 1px solid rgba(245, 244, 239, 0.22);
    color: var(--ef-dark-ink) !important;
    font-family: var(--ef-sf);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 150ms ease, border-color 150ms ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .ef-sk-ft-login:hover {
      background: rgba(245, 244, 239, 0.18);
      border-color: rgba(158, 194, 167, 0.5);
    }
  }

  .ef-sk-ft-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--ef-dark-line);
  }

  .ef-sk-ft-col h3 {
    margin: 0 0 12px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ef-dark-accent);
  }

  .ef-sk-ft-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
  }

  .ef-sk-ft-col a {
    font-size: 14px;
    color: var(--ef-dark-body) !important;
    text-decoration: none !important;
    transition: color 140ms ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .ef-sk-ft-col a:hover,
    .ef-sk-ft-legal a:hover {
      color: #ffffff !important;
    }
  }

  .ef-sk-ft-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 13px;
    color: var(--ef-dark-muted);
  }

  .ef-sk-ft-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .ef-sk-ft-legal a {
    color: var(--ef-dark-muted) !important;
    text-decoration: none !important;
    transition: color 140ms ease;
  }

  body#writing-shared#writing-shared#writing-shared#writing-shared .ef-sk-footer :is(a, button):focus-visible {
    outline: 2px solid var(--ef-dark-accent) !important;
    outline-offset: 2px !important;
    border-radius: 4px;
  }

  body#writing-shared#writing-shared#writing-shared#writing-shared .ef-sk-footer .ef-sk-ft-login:focus-visible {
    border-radius: 9999px;
  }

  .ef-sk-faq-item summary:focus-visible,
  .ef-sk-guide-card:focus-visible,
  .ef-sk-cross-pill:focus-visible {
    outline: 2px solid var(--ef-accent);
    outline-offset: 2px;
  }

  @media (max-width: 1024px) {
    .ef-sk-band {
      padding: 48px 36px;
    }
    .ef-sk-footer {
      padding: 44px 36px 32px;
    }
    .ef-sk-card {
      padding: 28px;
      border-radius: 24px;
    }
    .ef-sk-grid,
    .ef-sk-steps,
    .ef-sk-guides {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .ef-sk-ft-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}

@media (max-width: 767px) {
  #ef-site-header.site-header {
    z-index: 9810 !important;
  }

  .ef-mobile-drawer {
    z-index: 9800 !important;
  }

  html body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .app.grammar-page.bb-skrivebord {
    padding-top: calc(var(--ef-header-h, 50px) + env(safe-area-inset-top, 0px) + 10px) !important;
  }

  body#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #grammar-bot-container {
    border-radius: 22px !important;
  }
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #grammar-bot-container {
    background: var(--ef-dark-sheet) !important;
  }
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .top-controls.skv2-top-controls {
    border-bottom: 1px solid var(--ef-dark-line) !important;
  }

  body#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .skv2-title-block {
    gap: 8px !important;
    flex: 0 1 auto !important;
  }

  html:not([data-theme="dark"]):not([data-contrast="more"]) body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #sk-mobile-empty-check.sk-tb-primary {
    background: #506957 !important;
    border-radius: 9999px !important;
  }
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #sk-mobile-empty-check.sk-tb-primary {
    background: #5f7263 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
  }
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .sk-edit-toolbar {
    background: #1b251f !important;
    border-color: rgba(245, 244, 239, 0.12) !important;
  }
  html[data-theme="dark"] body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .format-group.group-2 {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 359px) {
  body#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .top-controls.skv2-top-controls {
    padding: 8px 10px !important;
    flex-wrap: nowrap !important;
  }
  body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #skv2PublicSaveHint {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
  }
  body[data-writing-design]#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord #skv2PublicSaveHint span {
    display: none !important;
  }
  body#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .top-controls .left-controls {
    gap: 4px !important;
  }
  body#writing-shared#writing-shared#writing-shared#writing-shared .bb-skrivebord .top-controls :is(#copyBtn, #downloadBtnQuill, #shareBtn) {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body#writing-shared * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

.ss-brand{display:inline-flex;align-items:center}
.ss-brand .rf-brand-lockup{display:block;height:34px;width:auto}
.ss-brand .rf-brand-dark{display:none}
html[data-theme="dark"] .ss-brand .rf-brand-light{display:none}
html[data-theme="dark"] .ss-brand .rf-brand-dark{display:inline}
.ss-ft-brand{display:inline-flex;align-items:center;text-decoration:none}
.ss-ft-brand .rf-brand-lockup{display:block;height:34px;width:auto}
#ef-mobile-drawer .ef-mob-cta .m5-nav-pill--soft{display:inline-flex}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-inner{background:#1f2b24;border-color:rgba(158,194,167,.24);color:#f5f4ef}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-text{color:#dce1dc}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-toggle{color:#b0bdb3}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-table td{border-color:rgba(245,244,239,.14);color:#dce1dc}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-table code{background:#25332b;color:#f5f4ef}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-btn--accept{background:#5f7263;color:#ffffff}
html[data-theme="dark"] #ss-cookie-banner .ss-cb-btn--reject{background:#25332b;border-color:rgba(245,244,239,.18);color:#f5f4ef}
@media (hover:hover) and (pointer:fine){
  html[data-theme="dark"] #ss-cookie-banner .ss-cb-btn--accept:hover{background:#4e5f53}
  html[data-theme="dark"] #ss-cookie-banner .ss-cb-btn--reject:hover{background:#354a3d}
}
#ss-cookie-banner .ss-cb-details[data-open="true"]{max-height:min(36vh,240px);overflow-y:auto;-webkit-overflow-scrolling:touch}
@media (max-width:480px){
  .ss-brand .rf-brand-lockup{height:28px}
}
