body {
  background: #f3f7f6;
  color: #172c2b;
}

#menuButton { display: none; }
.panel-toggle[aria-expanded="true"] {
  color: #135e50;
  background: #e6f3ee;
  border-color: #c8e4d9;
}
.topbar .breadcrumb { flex: 1; min-width: 0; }
.topbar .top-tools { flex: none; }
.panel-grip {
  display: none;
  width: 12px;
  cursor: col-resize;
  touch-action: none;
  z-index: 2;
}
.panel-grip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 3px;
  height: 30px;
  border-radius: 3px;
  background: #9bb8b0;
}
.panel-grip:hover, .panel-grip:focus-visible { background: #d0e8df; }
.resizing-panels, .resizing-panels * { cursor: col-resize !important; user-select: none; }
@media (min-width: 701px) {
  .sidebar { width: var(--left-panel-width, 228px); }
  .workspace { margin-left: var(--left-panel-width, 228px); }
  .left-grip { display: block; position: absolute; inset: 0 0 0 auto; }
  .left-panel-closed .sidebar { display: none; }
  .left-panel-closed .workspace { margin-left: 0; }
}
@media (min-width: 1011px) {
  .preview { width: var(--right-panel-width, 326px); }
  .right-grip { display: block; position: absolute; inset: 0 auto 0 0; }
  .right-panel-closed .preview { display: none; }
  .preview .preview-close { display: inline-flex; }
}

.brand > span {
  color: #143c35;
  letter-spacing: -.045em;
}

.eyebrow, .quiet-footer > span { display: none; }
.quiet-footer { justify-content: flex-end; }
.support-link {
  margin-inline-end: auto;
  color: #205a4d;
  font-size: 13px;
  text-underline-offset: 3px;
}
.support-link:hover { color: #0c4d42; }
.page-heading h1 { letter-spacing: -.04em; }
.button.primary { background: #115c4e; }
.button.primary:hover { background: #0c4d42; }
.card-copy { min-height: 210px; }
.card-title { color: #203832; }
.card-text { color: #536762; }
.card-bottom { margin-top: auto; padding-top: 12px; }
.card-copy-label {
  background: #e8f4ef;
  color: #205a4d;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 650;
}
.snippet:focus-within { border-color: #75aa98; }
.snippet:has(.card-copy:active) { transform: scale(.985); }
.snippet.is-copied {
  border-color: #369676;
  box-shadow: 0 0 0 2px #36967633;
  background: #f4fcf8;
}
.is-copied .card-copy-label { background: #12614d; color: #fff; }
.is-copied .card-copy-label svg { animation: copy-check 200ms ease-out; }
@keyframes copy-check {
  from { transform: scale(.66); opacity: .4; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 700px) {
  .preview.open {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
  .preview-actions {
    position: sticky;
    bottom: 0;
    padding: 8px 0;
    background: #fff;
  }
  .card-favorite, .card-edit { min-height: 40px; min-width: 40px; }
  .card-copy-label { min-height: 32px; font-size: 13px; }
}

@media (max-width: 480px) {
  .card-copy { min-height: 164px; }
  .card-text { min-height: 0; -webkit-line-clamp: 2; }
  .card-bottom { margin-top: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .snippet:has(.card-copy:active) { transform: none; }
  .is-copied .card-copy-label svg { animation: none; }
}
