:root {
  --paper: #f8f8f5;
  --ink: #11110f;
  --muted: #5e6259;
  --shadow: rgba(31, 35, 28, 0.18);
  --accent: #5b6f5b;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.stage {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.brand-lockup {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(800px, calc(100vw - 72px));
  transform: translate(-50%, -50%);
  pointer-events: none;
  text-align: center;
}

.brand-lockup h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.95;
  user-select: none;
  -webkit-user-drag: none;
}

.piece {
  position: absolute;
  left: calc(var(--x) * 1vw);
  top: calc(var(--y) * 1vh);
  z-index: 3;
  width: var(--w);
  margin: 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
  --tx: 0px;
  --ty: 0px;
  --scale: 1;
  transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--r))
    scale(var(--scale));
  transform-origin: center;
  animation: piece-in 620ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
  animation-delay: var(--delay);
  will-change: transform;
}

.piece::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: -1;
}

.piece:hover,
.piece:focus-visible {
  --scale: 1.055;
}

.piece:hover::before,
.piece:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.piece:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 8px;
}

.piece.is-dragging {
  --scale: 1.075;
  cursor: grabbing;
}

.piece img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 14px 28px var(--shadow);
  pointer-events: none;
  -webkit-user-drag: none;
}

.piece-wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.piece-portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.piece figcaption {
  margin-top: 9px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.12;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.studio-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(35, 35, 32, 0.56);
  box-shadow:
    0 14px 34px rgba(31, 35, 28, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.24) inset;
  backdrop-filter: blur(14px) saturate(1.12);
  transform: translateX(-50%);
}

.dock-link {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  color: var(--paper);
  text-decoration: none;
  transition:
    filter 140ms ease,
    opacity 140ms ease;
}

.dock-link:hover,
.dock-link:focus-visible {
  outline: none;
  filter: brightness(1.06) saturate(1.05);
}

.dock-link:focus-visible .dock-link__logo {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.86),
    0 12px 26px rgba(0, 0, 0, 0.24);
}

.dock-link__logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.dock-link--home .dock-link__logo {
  box-sizing: border-box;
  padding: 7px;
  background: #ffffff;
  object-fit: contain;
}

.dock-link__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 13px);
  z-index: 3;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 14px 5px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(205, 205, 205, 0.96);
  box-shadow: none;
  color: #242424;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translate(-50%, 0);
  transition: none;
  vertical-align: middle;
  white-space: nowrap;
}

.dock-link__label::after {
  position: absolute;
  left: 50%;
  bottom: -5px;
  z-index: -1;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(205, 205, 205, 0.96);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.dock-link:hover .dock-link__label,
.dock-link:focus-visible .dock-link__label {
  opacity: 1;
}

.dock-link.is-active .dock-link__logo {
  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.guestbook-status {
  min-height: 18px;
  margin: 0;
  color: rgba(29, 29, 27, 0.58);
  font-size: 13px;
  font-weight: 850;
}

.guestbook-status[data-state="error"] {
  color: #9d2e26;
}

.guestbook-status[data-state="success"] {
  color: #286342;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.modal-layer.is-open {
  opacity: 1;
}

.mac-window {
  position: absolute;
  left: var(--window-left, 50%);
  top: var(--window-top, 50%);
  width: min(612px, calc(100vw - 32px));
  max-height: min(690px, calc(100svh - 48px));
  overflow: hidden;
  border: 1px solid rgba(24, 25, 23, 0.22);
  border-radius: 10px;
  background: #efebe9;
  box-shadow:
    0 34px 90px rgba(26, 27, 24, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  outline: none;
  pointer-events: auto;
  transform: translate3d(0, 10px, 0) scale(0.985);
  transition:
    box-shadow 160ms ease,
    opacity 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.mac-window.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.mac-window.is-active {
  box-shadow:
    0 38px 96px rgba(26, 27, 24, 0.31),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.mac-window.is-minimized {
  max-height: 32px;
}

.mac-window.is-minimized .mac-window__body {
  display: none;
}

.mac-window.is-zoomed {
  width: min(900px, calc(100vw - 48px));
  max-height: calc(100svh - 48px);
}

.mac-window__bar {
  display: grid;
  grid-template-columns: 76px 1fr 76px;
  align-items: center;
  height: 32px;
  border-bottom: 1px solid rgba(24, 25, 23, 0.28);
  background: linear-gradient(#f5f2f0, #e8e3e1);
  cursor: grab;
  user-select: none;
}

.mac-window.is-window-dragging .mac-window__bar {
  cursor: grabbing;
}

.mac-window__bar p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #11110f;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traffic {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-left: 12px;
}

.traffic__dot {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.65) inset;
  color: rgba(38, 26, 20, 0.72);
  font: inherit;
  line-height: 1;
}

.traffic__dot--close {
  appearance: none;
  cursor: pointer;
  background: #ff5f57;
}

.traffic__dot--minimize {
  appearance: none;
  cursor: pointer;
  background: #ffbd2e;
}

.traffic__dot--zoom {
  appearance: none;
  cursor: pointer;
  background: #28c840;
}

.traffic:hover .traffic__dot::before,
.traffic:hover .traffic__dot::after {
  opacity: 1;
}

.traffic__dot::before,
.traffic__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
  transform-origin: center;
  transition: opacity 100ms ease;
}

.traffic__dot--close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.traffic__dot--close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.traffic__dot--minimize::before {
  transform: translate(-50%, -50%);
}

.traffic__dot--minimize::after {
  display: none;
}

.traffic__dot--zoom::before {
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  background: transparent;
  transform: translate(-50%, -50%);
}

.traffic__dot--zoom::after {
  width: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.mac-window__body {
  max-height: calc(min(690px, calc(100svh - 48px)) - 32px);
  overflow: auto;
  padding: 10px;
  background: #efebe9;
}

.modal-intro {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.modal-thumb {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.modal-intro h2 {
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 900;
}

.modal-kicker {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
}

.modal-copy {
  margin: 0 0 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #6b6b67;
  font-size: 14px;
  line-height: 1.24;
}

.mac-window details {
  margin-top: 8px;
  color: #11110f;
  font-size: 14px;
}

.mac-window summary {
  cursor: default;
  font-weight: 800;
}

.mac-window details p {
  margin: 8px 0 0 16px;
}

.modal-preview {
  display: block;
  width: 100%;
  max-height: min(72svh, 760px);
  margin-top: 8px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8f8f5;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.11);
}

.image-manager-trigger {
  position: fixed;
  right: 18px;
  top: 16px;
  z-index: 80;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 15, 0.08);
  color: rgba(17, 17, 15, 0.36);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  opacity: 0.42;
  transition:
    background 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.image-manager-trigger:hover,
.image-manager-trigger:focus-visible {
  background: rgba(17, 17, 15, 0.13);
  color: rgba(17, 17, 15, 0.82);
  opacity: 1;
  transform: scale(1.04);
}

.auth-overlay,
.manager-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(18, 18, 18, 0.2);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.auth-overlay.is-open,
.manager-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-panel,
.manager-panel {
  width: min(760px, calc(100vw - 56px));
  max-height: min(720px, calc(100svh - 56px));
  overflow: auto;
  border: 1px solid rgba(24, 25, 23, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 54px rgba(24, 25, 23, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  outline: none;
  transform: scale(0.99);
  transition: transform 120ms ease;
}

.auth-panel {
  width: min(360px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
}

.auth-overlay.is-open .auth-panel,
.manager-overlay.is-open .manager-panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.auth-header,
.manager-header {
  display: grid;
  grid-template-columns: 1fr 30px;
  align-items: center;
  min-height: 48px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid rgba(24, 25, 23, 0.08);
}

.auth-header h2,
.manager-header h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

.auth-close,
.manager-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 17, 15, 0.54);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.auth-close:hover,
.auth-close:focus-visible,
.manager-close:hover,
.manager-close:focus-visible {
  background: rgba(17, 17, 15, 0.08);
  color: var(--ink);
}

.auth-form {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
}

.auth-username {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.auth-submit {
  height: 36px;
  border: 1px solid rgba(24, 25, 23, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
  box-shadow: 0 1px 2px rgba(24, 25, 23, 0.08);
}

.auth-submit:hover,
.auth-submit:focus-visible {
  border-color: rgba(216, 179, 51, 0.5);
  background: rgba(216, 179, 51, 0.08);
  outline: none;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.56;
}

.auth-status {
  min-height: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.manager-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.manager-count,
.manager-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.manager-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 34px;
  border: 1px solid rgba(24, 25, 23, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.manager-add.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.manager-add.is-busy {
  pointer-events: none;
  opacity: 0.64;
}

.manager-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.manager-draft {
  margin: 0 16px 14px;
  padding: 12px;
  border: 1px solid rgba(24, 25, 23, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.manager-draft[hidden] {
  display: none;
}

.manager-draft-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.manager-draft-head h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.manager-draft-actions {
  display: flex;
  gap: 8px;
}

.manager-cancel,
.manager-save {
  height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(24, 25, 23, 0.14);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.manager-cancel {
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

.manager-save {
  background: var(--ink);
  color: var(--paper);
}

.manager-save:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.manager-draft-list {
  display: grid;
  gap: 10px;
  max-height: 340px;
  overflow: auto;
}

.manager-draft-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: start;
}

.manager-draft-item img {
  width: 112px;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  object-fit: cover;
}

.manager-draft-fields {
  display: grid;
  gap: 8px;
}

.manager-field {
  display: grid;
  gap: 5px;
}

.manager-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.manager-field input,
.manager-field textarea {
  width: 100%;
  border: 1px solid rgba(24, 25, 23, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.manager-field input {
  height: 36px;
  padding: 0 11px;
}

.manager-field .auth-password-wrap {
  position: relative;
  display: block;
  color: var(--ink);
  font-size: inherit;
  font-weight: inherit;
}

.auth-password-wrap .auth-password {
  padding-right: 42px;
}

.auth-password-reveal {
  position: absolute;
  right: 4px;
  top: 50%;
  display: grid;
  width: 30px;
  height: 26px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.auth-password-reveal:hover,
.auth-password-reveal:focus-visible,
.auth-password-reveal.is-pressed {
  background: rgba(17, 17, 15, 0.08);
  color: var(--ink);
  outline: none;
}

.auth-password-reveal .notes-icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.manager-field textarea {
  min-height: 72px;
  padding: 9px 10px;
  resize: vertical;
}

.manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 12px;
  max-height: min(520px, calc(100svh - 210px));
  overflow: auto;
  padding: 0 16px 16px;
}

.manager-item {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(24, 25, 23, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.manager-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  object-fit: cover;
}

.manager-item p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.manager-item small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.manager-delete {
  height: 28px;
  border: 1px solid rgba(24, 25, 23, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #7a2e2a;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.manager-delete:hover,
.manager-delete:focus-visible {
  background: #fff6f4;
  color: #ad3129;
}

.manager-status {
  min-height: 18px;
  padding: 0 16px 16px;
}

@keyframes piece-in {
  from {
    opacity: 0;
    transform: translate3d(var(--tx), calc(var(--ty) + 18px), 0)
      rotate(var(--r)) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--r))
      scale(var(--scale));
  }
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .stage {
    height: 100svh;
    min-height: 720px;
  }

  .brand-lockup {
    top: 46%;
    width: min(280px, calc(100vw - 24px));
  }

  .piece {
    left: calc(var(--mobile-x, var(--x)) * 1vw);
    top: calc(var(--mobile-y, var(--y)) * 1vh);
    width: min(var(--w), 118px);
  }

  .piece figcaption {
    margin-top: 7px;
    font-size: 10px;
  }

  .studio-dock {
    bottom: 12px;
    gap: 8px;
    min-height: 48px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .dock-link {
    width: 40px;
    height: 40px;
  }

  .dock-link__logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .dock-link__label {
    display: none;
  }

  .modal-layer {
    display: grid;
    place-items: center;
    padding: 20px;
    pointer-events: none;
  }

  .modal-layer.is-open {
    pointer-events: auto;
  }

  .mac-window {
    position: relative;
    left: auto;
    top: auto;
    width: min(320px, calc(100vw - 70px));
    max-height: min(560px, calc(100svh - 150px));
    border-radius: 9px;
  }

  .mac-window.is-zoomed,
  .mac-window.is-minimized {
    width: min(320px, calc(100vw - 70px));
    max-height: min(560px, calc(100svh - 150px));
  }

  .mac-window__bar {
    grid-template-columns: 68px 1fr 40px;
    cursor: default;
  }

  .mac-window__bar p {
    font-size: 12px;
  }

  .mac-window__body {
    max-height: calc(min(560px, calc(100svh - 150px)) - 32px);
  }

  .modal-intro {
    grid-template-columns: 82px 1fr;
  }

  .modal-thumb {
    width: 82px;
    height: 58px;
  }

  .modal-copy,
  .mac-window details {
    font-size: 12px;
  }

  .modal-intro h2 {
    font-size: 15px;
  }

  .modal-kicker {
    font-size: 12px;
  }

  .modal-preview {
    max-height: 360px;
  }

  .image-manager-trigger,
  .auth-overlay,
  .manager-overlay {
    display: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  .piece {
    animation: none;
    transition: none;
  }
}

/* Notes-style guestbook app */
.guestbook-page {
  --notes-backdrop: #070707;
  --notes-window-bg: #fbfbfa;
  --notes-sidebar-bg: #f4f4f3;
  --notes-list-bg: #fbfbfa;
  --notes-editor-bg: #ffffff;
  --notes-elevated-bg: rgba(255, 255, 255, 0.92);
  --notes-selected-bg: #dedede;
  --notes-selected-strong: #d3d3d3;
  --notes-border: rgba(26, 26, 25, 0.13);
  --notes-strong-border: rgba(26, 26, 25, 0.24);
  --notes-text: #2c2c2e;
  --notes-muted: #8c8c91;
  --notes-faint: #b6b6bb;
  --notes-accent: #ffb800;
  --notes-control: rgba(255, 255, 255, 0.78);
  --notes-control-hover: rgba(235, 235, 235, 0.94);
  --notes-shadow: rgba(0, 0, 0, 0.24);
  --notes-radius: 26px;
  min-height: 100svh;
  overflow: auto;
  background: var(--notes-backdrop);
  color: var(--notes-text);
}

.guestbook-page[data-note-theme="dark"] {
  --notes-backdrop: #000000;
  --notes-window-bg: #1f2021;
  --notes-sidebar-bg: #202122;
  --notes-list-bg: #202122;
  --notes-editor-bg: #1d1d1e;
  --notes-elevated-bg: rgba(50, 51, 52, 0.94);
  --notes-selected-bg: #505050;
  --notes-selected-strong: #5a5a5a;
  --notes-border: rgba(255, 255, 255, 0.1);
  --notes-strong-border: rgba(255, 255, 255, 0.2);
  --notes-text: #ececef;
  --notes-muted: #a3a3a8;
  --notes-faint: #6e6e73;
  --notes-control: rgba(48, 49, 50, 0.86);
  --notes-control-hover: rgba(65, 66, 67, 0.94);
  --notes-shadow: rgba(0, 0, 0, 0.52);
}

.guestbook-page .guestbook-shell {
  min-height: 100svh;
  padding: min(6svh, 44px) clamp(18px, 4.6vw, 64px) 104px;
  place-items: center;
}

.notes-window.notes-window--native {
  position: relative;
  width: min(1720px, calc(100vw - clamp(36px, 9vw, 128px)));
  height: min(760px, calc(100svh - 116px));
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--notes-strong-border);
  border-radius: var(--notes-radius);
  background: var(--notes-window-bg);
  box-shadow:
    0 34px 100px var(--notes-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  color: var(--notes-text);
}

.notes-icon-button,
.notes-text-button {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--notes-text);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  letter-spacing: 0;
}

.notes-icon-button {
  width: 42px;
  height: 42px;
  font-size: 25px;
  line-height: 1;
}

.notes-text-button {
  min-width: 62px;
  height: 42px;
  padding: 0 13px;
  font-size: 21px;
}

.notes-icon-button:hover,
.notes-icon-button:focus-visible,
.notes-text-button:hover,
.notes-text-button:focus-visible {
  background: var(--notes-control-hover);
  outline: none;
}

.notes-search {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--notes-border);
  border-radius: 999px;
  background: var(--notes-control);
}

.notes-search {
  gap: 10px;
  padding: 0 18px;
}

.notes-search span {
  color: var(--notes-muted);
  font-size: 23px;
}

.notes-search-field {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--notes-text);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  outline: none;
}

.notes-search-field::placeholder {
  color: var(--notes-muted);
}

.notes-window--native .notes-app-grid {
  display: grid;
  grid-template-columns:
    clamp(228px, 18vw, 304px) clamp(260px, 17vw, 300px)
    minmax(0, 1fr);
  height: calc(100% - 66px);
  min-height: 0;
}

.notes-window--native .notes-folder-pane {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  padding: 28px 14px 16px 26px;
  border-right: 1px solid var(--notes-border);
  background: var(--notes-sidebar-bg);
}

.notes-folder-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--notes-text);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0;
  text-align: left;
}

.notes-folder-row[data-folder="archive"] {
  grid-template-columns: 18px 30px minmax(0, 1fr) auto;
}

.notes-folder-row:hover,
.notes-folder-row:focus-visible,
.notes-folder-row.is-active {
  background: var(--notes-control-hover);
  outline: none;
}

.notes-folder-row.is-active {
  color: var(--notes-accent);
}

.notes-folder-row span:not(.notes-folder-icon) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notes-folder-row strong {
  color: var(--notes-faint);
  font-size: 18px;
  font-weight: 800;
}

.notes-folder-icon {
  display: block;
  width: 24px;
  height: 24px;
  color: #76787f;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.notes-window--native .notes-list-pane {
  min-width: 0;
  overflow: auto;
  border-right: 1px solid var(--notes-strong-border);
  background: var(--notes-list-bg);
}

.notes-window--native .notes-list {
  display: block;
  max-height: none;
  padding: 0 16px 28px;
}

.note-list-item {
  display: grid;
  gap: 5px;
  width: 100%;
  margin: 16px 0 22px;
  padding: 16px 38px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--notes-text);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  text-align: left;
}

.note-list-item:hover,
.note-list-item:focus-visible {
  background: var(--notes-control-hover);
  outline: none;
}

.note-list-item.is-selected {
  background: var(--notes-selected-bg);
}

.guestbook-page[data-note-theme="dark"] .note-list-item.is-selected {
  background: var(--notes-selected-strong);
}

.note-list-item strong {
  min-width: 0;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.16;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-list-item span {
  min-width: 0;
  overflow: hidden;
  color: var(--notes-muted);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-list-item small {
  color: var(--notes-muted);
  font-size: 15px;
  font-weight: 750;
}

.notes-window--native .notes-editor-pane {
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr) 28px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--notes-editor-bg);
}

.note-editor-date {
  align-self: end;
  justify-self: center;
  color: var(--notes-muted);
  font-size: 18px;
  line-height: 1;
  font-weight: 850;
}

.note-editor-surface {
  min-width: 0;
  overflow: auto;
  padding: 16px clamp(28px, 3.2vw, 56px) 56px;
}

.note-title,
.note-body {
  min-width: 0;
  outline: none;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.note-title {
  min-height: 44px;
  margin: 0 0 16px;
  color: var(--notes-text);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
}

.note-body {
  min-height: 420px;
  color: var(--notes-text);
  font-size: 22px;
  line-height: 1.48;
  font-weight: 520;
}

.note-body[data-text-style="title"] {
  font-size: 31px;
  font-weight: 900;
}

.note-body[data-text-style="heading"] {
  font-size: 27px;
  font-weight: 850;
}

.note-body[data-text-style="subheading"] {
  font-size: 23px;
  font-weight: 760;
}

.note-body[data-text-style="mono"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 19px;
}

.note-title:empty::before,
.note-body:empty::before {
  content: attr(data-placeholder);
  color: var(--notes-faint);
}

.notes-window.is-reading-note .note-title,
.notes-window.is-reading-note .note-body {
  cursor: default;
}

.note-table {
  width: min(540px, 100%);
  margin: 10px 0;
  border-collapse: collapse;
}

.note-table td {
  min-width: 120px;
  padding: 9px 12px;
  border: 1px solid var(--notes-border);
}

.notes-window--native .guestbook-status {
  min-height: 18px;
  margin: 0;
  padding: 0 28px;
  color: var(--notes-muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.notes-window--native .guestbook-status[data-state="error"] {
  color: #ff6b5f;
}

.notes-window--native .guestbook-status[data-state="success"] {
  color: #34c759;
}

.submit-note-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.notes-popover {
  position: absolute;
  z-index: 20;
  display: grid;
  gap: 1px;
  width: 258px;
  padding: 8px 8px 10px;
  border: 1px solid rgba(28, 28, 30, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.62) inset;
  backdrop-filter: blur(18px) saturate(1.12);
}

.notes-popover[hidden] {
  display: none;
}

.format-popover {
  left: var(--popover-left, 0);
  top: var(--popover-top, 84px);
}

.format-color-palette {
  left: var(--color-palette-left, 0);
  top: var(--color-palette-top, 84px);
  width: 244px;
  padding: 8px;
  gap: 2px;
}

.format-popover::before {
  content: "";
  position: absolute;
  left: var(--popover-arrow-left, 50%);
  top: -9px;
  width: 17px;
  height: 17px;
  border-left: 1px solid rgba(28, 28, 30, 0.14);
  border-top: 1px solid rgba(28, 28, 30, 0.14);
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.notes-popover button {
  position: relative;
  z-index: 1;
  min-height: 29px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--notes-text);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0;
  text-align: left;
}

.notes-popover button:hover,
.notes-popover button:focus-visible,
.notes-popover button.is-selected {
  background: var(--notes-control-hover);
  outline: none;
}

.format-inline-tools {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--notes-border);
}

.format-inline-tools button {
  display: grid;
  place-items: center;
  min-height: 27px;
  text-align: center;
}

.format-color-trigger {
  color: var(--selected-format-color, #bf5af2);
}

.format-color-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: currentColor;
}

.format-color-dot--violet {
  color: #bf5af2;
}

.format-color-dot--pink {
  color: #ff2d55;
}

.format-color-dot--orange {
  color: #ff9500;
}

.format-color-dot--mint {
  color: #00c7be;
}

.format-color-dot--blue {
  color: #0a84ff;
}

.format-color-dot--black {
  color: #000000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.format-color-palette [data-style-color="black"] {
  --format-color-hover-bg: rgba(0, 0, 0, 0.13);
}

.format-color-palette [data-style-color="violet"] {
  --format-color-hover-bg: rgba(191, 90, 242, 0.16);
}

.format-color-palette [data-style-color="pink"] {
  --format-color-hover-bg: rgba(255, 45, 85, 0.15);
}

.format-color-palette [data-style-color="orange"] {
  --format-color-hover-bg: rgba(255, 149, 0, 0.17);
}

.format-color-palette [data-style-color="mint"] {
  --format-color-hover-bg: rgba(0, 199, 190, 0.15);
}

.format-color-palette [data-style-color="blue"] {
  --format-color-hover-bg: rgba(10, 132, 255, 0.15);
}

.format-color-palette[hidden] {
  display: none;
}

.format-color-palette button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  min-height: 36px;
  padding: 0 8px;
  text-align: left;
}

@media (max-width: 980px) {
  .guestbook-page .guestbook-shell {
    padding: 10px 8px 92px;
  }

  .notes-window.notes-window--native {
    width: calc(100vw - 16px);
    height: auto;
    min-height: calc(100svh - 112px);
    border-radius: 18px;
  }

  .notes-text-button,
  .notes-icon-button {
    width: 40px;
    height: 38px;
    min-width: 40px;
    font-size: 18px;
  }

  .notes-search {
    grid-column: 1 / -1;
    width: 100%;
    height: 38px;
    padding: 0 12px;
  }

  .notes-window--native .notes-app-grid {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .notes-window--native .notes-folder-pane {
    display: none;
  }

  .notes-window--native .notes-list-pane {
    order: 2;
    max-height: 180px;
    border-top: 1px solid var(--notes-border);
    border-right: 0;
  }

  .notes-window--native .notes-editor-pane {
    order: 1;
    min-height: 390px;
    grid-template-rows: 42px minmax(306px, 1fr) 24px;
  }

  .note-editor-date {
    font-size: 13px;
  }

  .note-editor-surface {
    padding: 14px 22px 42px;
  }

  .note-title {
    font-size: 25px;
  }

  .note-body {
    min-height: 250px;
    font-size: 18px;
  }

  .note-list-item {
    margin: 10px 0 16px;
    padding: 12px 16px;
  }

  .format-popover {
    left: 50%;
    top: 110px;
    transform: translateX(-50%);
  }

}

/* Fullscreen Notes fidelity override */
.guestbook-page {
  --notes-window-bg: #ffffff;
  --notes-sidebar-bg: #f5f5f4;
  --notes-list-bg: #ffffff;
  --notes-editor-bg: #ffffff;
  --notes-control: rgba(255, 255, 255, 0.78);
  --notes-control-hover: #ececec;
  --notes-selected-bg: #dcdcdc;
  --notes-border: rgba(0, 0, 0, 0.11);
  --notes-strong-border: rgba(0, 0, 0, 0.16);
  --notes-text: #2b2b2d;
  --notes-muted: #8e8e93;
  --notes-faint: #b4b4b8;
  --notes-accent: #ffb400;
  overflow: hidden;
  background: var(--notes-editor-bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "SF Pro Text",
    "Segoe UI", sans-serif;
}

.notes-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.guestbook-page[data-note-theme="dark"] {
  --notes-window-bg: #1f2021;
  --notes-sidebar-bg: #202122;
  --notes-list-bg: #202122;
  --notes-editor-bg: #1d1d1e;
  --notes-control: rgba(48, 49, 50, 0.86);
  --notes-control-hover: #353637;
  --notes-selected-bg: #565656;
  --notes-border: rgba(255, 255, 255, 0.1);
  --notes-strong-border: rgba(255, 255, 255, 0.17);
  --notes-text: #eeeeef;
  --notes-muted: #9b9ba1;
  --notes-faint: #75757b;
}

.guestbook-page .guestbook-shell {
  display: block;
  min-height: 100svh;
  padding: 0;
}

.notes-window.notes-window--native {
  width: 100vw;
  height: 100svh;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.notes-icon-button {
  width: 32px;
  height: 32px;
  color: var(--notes-text);
  font-size: 0;
  font-weight: 600;
}

.notes-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.notes-icon--solid {
  fill: currentColor;
  stroke: none;
}

.notes-text-button {
  min-width: 54px;
  height: 32px;
  padding: 0 9px;
  color: var(--notes-text);
  font-size: 16px;
  font-weight: 650;
}

.notes-search {
  height: 42px;
  border-color: var(--notes-border);
  background: var(--notes-control);
}

.notes-search {
  flex: 0 1 520px;
  width: min(31vw, 520px);
  padding: 0 18px;
}

.notes-icon--search {
  width: 18px;
  height: 18px;
  color: var(--notes-muted);
  stroke-width: 2.25;
}

.notes-search-field {
  font-size: 15px;
  font-weight: 550;
}

.notes-window--native .notes-app-grid {
  grid-template-columns: 272px 262px minmax(0, 1fr);
}

.notes-window--native .notes-folder-pane {
  padding: 17px 12px 16px 24px;
}

.notes-folder-row {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 650;
}

.notes-folder-row strong {
  font-size: 15px;
  font-weight: 650;
}

.notes-folder-icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.notes-window--native .notes-list {
  padding: 0 11px 112px;
}

.note-list-item {
  gap: 4px;
  margin: 12px 0 32px;
  padding: 11px 33px 12px;
  border-radius: 9px;
}

.note-list-item strong {
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
}

.note-list-item span {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
}

.note-list-item small {
  font-size: 13px;
  font-weight: 500;
}

.notes-window--native .notes-editor-pane {
  grid-template-rows: 44px minmax(0, 1fr) 24px;
}

.note-editor-date {
  font-size: 15px;
  font-weight: 650;
}

.note-editor-surface {
  padding: 18px 30px 112px;
}

.note-title {
  min-height: 36px;
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
}

.note-body {
  min-height: 380px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.note-body[data-text-style="title"] {
  font-size: 26px;
  font-weight: 800;
}

.note-body[data-text-style="heading"] {
  font-size: 22px;
  font-weight: 750;
}

.note-body[data-text-style="subheading"] {
  font-size: 18px;
  font-weight: 650;
}

.note-body[data-text-style="mono"] {
  font-size: 14px;
}

.notes-popover {
  width: 270px;
  border-radius: 18px;
}

.format-popover {
  left: 742px;
  top: 88px;
}

.notes-popover button {
  min-height: 32px;
  font-size: 16px;
  font-weight: 550;
}

@media (max-width: 980px) {
  .guestbook-page {
    overflow: auto;
  }

  .guestbook-page .guestbook-shell {
    padding: 0;
  }

  .notes-window.notes-window--native {
    min-height: 100svh;
  }

  .notes-search {
    grid-column: 1 / -1;
    width: min(242px, calc(100vw - 36px));
  }

  .notes-window--native .notes-app-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes-window--native .notes-list-pane {
    max-height: 190px;
  }

  .notes-window--native .notes-editor-pane {
    min-height: calc(100svh - 300px);
    grid-template-rows: 40px minmax(300px, 1fr) 22px;
  }

  .note-editor-surface {
    padding: 18px 24px 108px;
  }

  .note-title {
    font-size: 24px;
  }

  .note-body {
    min-height: 260px;
    font-size: 16px;
  }

  .note-list-item {
    margin: 10px 0 14px;
    padding: 12px 16px;
  }
}

/* iCloud Notes web fidelity override */
.guestbook-page {
  --icloud-header-height: 44px;
  --icloud-sidebar-width: 212px;
  --icloud-list-width: 260px;
  --icloud-border: #dfe0e5;
  --icloud-sidebar-bg: #f8f8fb;
  --icloud-list-bg: #ffffff;
  --icloud-selected: #e7e7eb;
  --icloud-text: #252529;
  --icloud-muted: #8d8e96;
  --icloud-yellow: #d8b333;
  background: #ffffff;
  color: var(--icloud-text);
}

.notes-window.notes-window--native {
  display: grid;
  grid-template-rows: var(--icloud-header-height) minmax(0, 1fr);
  height: 100svh;
  overflow: hidden;
  background: #ffffff;
}

.icloud-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  height: var(--icloud-header-height);
  padding: 0 15px 0 14px;
  border-bottom: 1px solid var(--icloud-border);
  background: #fbfbfd;
}

.icloud-brand {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  color: #1d1d1f;
  text-decoration: none;
}

.icloud-brand strong {
  color: var(--icloud-yellow);
  font-size: 20px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0;
}

.icloud-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #2e3036;
}

.icloud-header-button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.icloud-header-button .notes-icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.9;
}

.icloud-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ddd7c8, #8b705c);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  font-weight: 800;
  padding: 0;
}

.notes-window--native .notes-app-grid {
  display: grid;
  grid-template-columns:
    var(--icloud-sidebar-width) var(--icloud-list-width)
    minmax(0, 1fr);
  height: auto;
  min-height: 0;
}

.notes-window--native .notes-folder-pane {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 8px;
  border-right: 1px solid var(--icloud-border);
  background: var(--icloud-sidebar-bg);
}

.notes-folder-row {
  grid-template-columns: 25px minmax(0, 1fr) auto;
  min-height: 33px;
  padding: 0 11px;
  border-radius: 7px;
  color: #2d2f35;
  font-size: 14px;
  font-weight: 650;
}

.notes-folder-row.is-active {
  background: #ececf1;
  color: #2d2f35;
}

.notes-folder-row strong {
  color: #a9aab1;
  font-size: 13px;
  font-weight: 700;
}

.notes-folder-icon {
  width: 20px;
  height: 20px;
  color: #7b7d84;
  stroke-width: 1.75;
}

.notes-window--native .notes-list-pane {
  display: grid;
  grid-template-rows: 45px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--icloud-border);
  background: var(--icloud-list-bg);
}

.notes-search.notes-search--list {
  display: flex;
  grid-column: auto;
  align-self: center;
  width: auto;
  height: 32px;
  margin: 7px 8px 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #ededf2;
}

.notes-search--list .notes-icon--search {
  width: 15px;
  height: 15px;
  color: #7d7e87;
  stroke-width: 2.1;
}

.notes-search-field {
  color: var(--icloud-text);
  font-size: 14px;
  font-weight: 500;
}

.notes-search-field::placeholder {
  color: #85868e;
}

.notes-window--native .notes-list {
  display: block;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding: 0 8px 112px;
}

.note-list-item {
  gap: 2px;
  margin: 4px 0 7px;
  padding: 8px 28px;
  border-radius: 7px;
  color: #24252a;
}

.note-list-item.is-selected {
  background: var(--icloud-selected);
}

.note-list-item strong {
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
}

.note-list-item span {
  color: #5c5d64;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
}

.note-list-item small {
  color: #777981;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 500;
}

.notes-window--native .notes-editor-pane {
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr) 28px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
}

.notes-editor-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 17px;
  color: var(--icloud-yellow);
}

.notes-editor-tools,
.notes-editor-actions {
  display: inline-flex;
  align-items: center;
  gap: 17px;
}

.notes-editor-tools {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.notes-editor-actions {
  gap: 8px;
}

.notes-editor-toolbar .notes-icon-button,
.notes-editor-toolbar .notes-text-button {
  width: 22px;
  height: 28px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--icloud-yellow);
}

.notes-editor-toolbar .notes-text-button {
  width: 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.notes-editor-toolbar .notes-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.notes-editor-toolbar .notes-action-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  min-width: 0;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--icloud-yellow);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.notes-editor-toolbar .notes-action-button .notes-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.notes-editor-toolbar .notes-action-button--primary {
  border-color: rgba(216, 179, 51, 0.34);
  background: rgba(216, 179, 51, 0.12);
}

.notes-editor-toolbar .notes-action-button--secondary {
  color: #797a82;
}

.notes-editor-toolbar .notes-action-button:hover,
.notes-editor-toolbar .notes-action-button:focus-visible {
  background: var(--notes-control-hover);
  outline: none;
}

.notes-editor-toolbar .notes-action-button:disabled {
  opacity: 0.38;
  cursor: default;
}

.guestbook-page[data-note-theme="dark"] .notes-editor-toolbar .notes-action-button--secondary {
  color: #b6b7bd;
}

.guestbook-page[data-note-theme="dark"] .notes-editor-toolbar .notes-action-button--primary {
  border-color: rgba(216, 179, 51, 0.42);
  background: rgba(216, 179, 51, 0.16);
}

.delete-note-button {
  margin-right: auto;
}

.note-editor-date {
  display: none;
}

.note-editor-surface {
  position: relative;
  min-width: 0;
  overflow: auto;
  padding: 14px clamp(26px, 3vw, 36px) 118px;
}

.notes-window.is-image-drop-target .note-editor-surface {
  background: rgba(216, 179, 51, 0.08);
  box-shadow: inset 0 0 0 2px rgba(216, 179, 51, 0.34);
}

.notes-window.is-image-drop-target .note-editor-surface::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(216, 179, 51, 0.56);
  border-radius: 12px;
  pointer-events: none;
}

.note-title {
  min-height: 31px;
  margin: 0 0 16px;
  color: #242529;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.note-body {
  min-height: 380px;
  color: #33343a;
  font-size: 16px;
  line-height: 1.52;
  font-weight: 400;
}

.note-body ul,
.note-body ol {
  margin: 0.42em 0 0.42em 1.35em;
  padding: 0;
}

.note-body li {
  margin: 0.18em 0;
  padding-left: 0.2em;
}

.note-body .note-dash-list {
  list-style: none;
  margin-left: 1.1em;
}

.note-body .note-dash-list li::before {
  content: "-";
  display: inline-block;
  width: 1.1em;
  margin-left: -1.1em;
}

.note-body blockquote {
  margin: 0.48em 0;
  padding: 0.08em 0 0.08em 0.8em;
  border-left: 3px solid #8f9097;
  color: #5f6067;
}

.note-image-figure {
  display: grid;
  gap: 7px;
  max-width: min(100%, 520px);
  margin: 12px 0;
}

.note-image-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #f6f6f4;
}

.note-image-figure figcaption {
  overflow: hidden;
  color: #83848b;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-checklist {
  display: grid;
  gap: 0.18em;
  margin: 0.42em 0;
}

.note-check-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  min-height: 1.52em;
}

.note-check-toggle {
  display: inline-grid;
  width: 15px;
  height: 15px;
  margin-top: 0.28em;
  border: 1.5px solid #8f9097;
  border-radius: 50%;
  place-items: center;
}

.note-check-toggle::after {
  content: "";
  width: 7px;
  height: 4px;
  border-bottom: 1.7px solid #ffffff;
  border-left: 1.7px solid #ffffff;
  opacity: 0;
  transform: rotate(-45deg) translate(0, -1px);
}

.note-check-item[data-checked="true"] .note-check-toggle {
  border-color: var(--icloud-yellow);
  background: var(--icloud-yellow);
}

.note-check-item[data-checked="true"] .note-check-toggle::after {
  opacity: 1;
}

.note-check-text {
  display: block;
  min-width: 1ch;
  min-height: 1.2em;
  outline: none;
}

.note-check-item[data-checked="true"] .note-check-text {
  color: #8a8b92;
  text-decoration: line-through;
}

.note-body .note-inline-style--title {
  font-size: 1.62em;
  font-weight: 800;
  line-height: 1.18;
}

.note-body .note-inline-style--heading {
  font-size: 1.36em;
  font-weight: 750;
  line-height: 1.22;
}

.note-body .note-inline-style--subheading {
  font-size: 1.16em;
  font-weight: 650;
  line-height: 1.28;
}

.note-body .note-inline-style--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.note-body .note-inline-style--body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.52;
}

.notes-window--native .guestbook-status {
  min-height: 20px;
  padding: 0 24px 7px;
  color: var(--icloud-muted);
  font-size: 12px;
  text-align: right;
}

.icloud-apps-popover {
  left: var(--popover-left, auto);
  top: var(--popover-top, 39px);
  width: 214px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
}

.icloud-apps-popover a {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  padding: 8px 6px;
  border-radius: 10px;
  color: var(--icloud-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.icloud-apps-popover a:hover,
.icloud-apps-popover a:focus-visible {
  background: var(--notes-control-hover);
  outline: none;
}

.icloud-apps-popover img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.icloud-account-popover {
  left: var(--popover-left, auto);
  top: var(--popover-top, 39px);
  width: 184px;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
}

.icloud-account-popover strong,
.icloud-account-popover span {
  display: block;
  color: var(--icloud-text);
}

.icloud-account-popover strong {
  font-size: 14px;
  font-weight: 750;
}

.icloud-account-popover span {
  color: var(--icloud-muted);
  font-size: 12px;
  font-weight: 500;
}

.guestbook-page[data-note-theme="dark"] {
  --icloud-border: rgba(255, 255, 255, 0.15);
  --icloud-sidebar-bg: #1f2023;
  --icloud-list-bg: #202124;
  --icloud-selected: #3a3b3f;
  --icloud-text: #f2f2f4;
  --icloud-muted: #b4b5bb;
  background: #1d1d1f;
}

.guestbook-page[data-note-theme="dark"] .icloud-notes-header,
.guestbook-page[data-note-theme="dark"] .notes-window.notes-window--native,
.guestbook-page[data-note-theme="dark"] .notes-editor-pane {
  background: #1d1d1f;
}

.guestbook-page[data-note-theme="dark"] .notes-search-field {
  color: var(--icloud-text);
}

@media (max-width: 980px) {
  .notes-window.notes-window--native {
    grid-template-rows: var(--icloud-header-height) auto;
    min-height: 100svh;
  }

  .notes-window--native .notes-app-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes-window--native .notes-folder-pane {
    display: none;
  }

  .notes-window--native .notes-list-pane {
    grid-template-rows: 45px minmax(0, 174px);
    border-right: 0;
  }

  .notes-window--native .notes-editor-pane {
    min-height: 420px;
    grid-template-rows: 38px minmax(320px, 1fr) 28px;
  }

  .notes-editor-tools {
    gap: 14px;
    margin: 0;
  }

  .note-editor-surface {
    padding: 14px 22px 112px;
  }

  .note-title {
    font-size: 26px;
  }
}

/* Final iCloud popover fidelity override */
.notes-window--native .notes-popover {
  width: 258px;
  gap: 1px;
  padding: 8px 8px 10px;
  border: 1px solid rgba(28, 28, 30, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.62) inset;
}

.notes-window--native .format-popover {
  left: var(--popover-left, 8px);
  right: auto;
  top: var(--popover-top, 84px);
  width: 286px;
  padding: 10px 10px 12px;
}

.notes-window--native .icloud-apps-popover,
.notes-window--native .icloud-account-popover {
  left: var(--popover-left, 8px);
  right: auto;
  top: var(--popover-top, 84px);
}

.notes-window--native .format-color-palette {
  left: var(--color-palette-left, 8px);
  top: var(--color-palette-top, 84px);
  gap: 2px;
  width: 244px;
  padding: 8px;
}

.notes-window--native .format-popover:not([hidden]),
.notes-window--native .format-color-palette:not([hidden]),
.notes-window--native .icloud-apps-popover:not([hidden]),
.notes-window--native .icloud-account-popover:not([hidden]) {
  display: grid;
}

.notes-window--native .format-popover::before {
  left: var(--popover-arrow-left, 50%);
  top: -9px;
  width: 17px;
  height: 17px;
  border-left: 1px solid rgba(28, 28, 30, 0.14);
  border-top: 1px solid rgba(28, 28, 30, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.notes-window--native .notes-popover button {
  min-height: 29px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.15;
}

.guestbook-page[data-note-theme="dark"] .notes-window--native .notes-popover,
.guestbook-page[data-note-theme="dark"] .notes-window--native .format-popover::before {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(38, 39, 42, 0.96);
}

/* Final Notes format menu hierarchy override */
.notes-window--native .format-inline-tools {
  gap: 4px;
  margin-bottom: 8px;
  padding: 0 0 10px;
  border-bottom-color: rgba(128, 128, 133, 0.34);
}

.notes-window--native .format-inline-tools button {
  min-height: 32px;
  font-size: 21px;
  line-height: 1;
}

.notes-window--native .format-inline-tools button.is-selected {
  background: rgba(216, 179, 51, 0.28);
}

.notes-window--native .format-inline-tools button.is-selected:hover,
.notes-window--native .format-inline-tools button.is-selected:focus-visible {
  background: rgba(216, 179, 51, 0.38);
}

.notes-window--native .format-inline-tools [data-command="bold"] {
  font-weight: 850;
}

.notes-window--native .format-inline-tools [data-command="italic"] {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
}

.notes-window--native .format-inline-tools [data-command="underline"] {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.notes-window--native .format-inline-tools [data-command="strikeThrough"] {
  font-weight: 500;
  text-decoration: line-through;
}

.notes-window--native .format-inline-tools .format-color-trigger {
  color: var(--selected-format-color, #bf5af2);
}

.notes-window--native .format-inline-tools .format-color-trigger[aria-expanded="true"] {
  background: rgba(216, 179, 51, 0.78);
}

.notes-window--native .format-inline-tools .format-color-trigger:hover,
.notes-window--native .format-inline-tools .format-color-trigger:focus-visible {
  background: rgba(216, 179, 51, 0.2);
}

.notes-window--native .format-inline-tools .format-color-trigger[aria-expanded="true"]:hover,
.notes-window--native .format-inline-tools .format-color-trigger[aria-expanded="true"]:focus-visible {
  background: rgba(216, 179, 51, 0.9);
}

.notes-window--native .format-color-palette button.is-selected {
  background: rgba(216, 179, 51, 0.82);
  color: #ffffff;
}

.notes-window--native .format-color-palette button:hover,
.notes-window--native .format-color-palette button:focus-visible {
  background: var(--format-color-hover-bg, rgba(216, 179, 51, 0.18));
}

.notes-window--native .format-color-palette button.is-selected:hover,
.notes-window--native .format-color-palette button.is-selected:focus-visible {
  background: rgba(216, 179, 51, 0.92);
}

.notes-window--native .format-color-palette[hidden] {
  display: none;
}

.notes-window--native .format-color-palette button {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  min-height: 40px;
  padding: 0 12px 0 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1f2024;
  font-size: 18px;
  font-weight: 520;
  text-align: left;
}

.notes-window--native .format-color-palette .format-color-dot {
  width: 16px;
  height: 16px;
  margin-left: 3px;
}

.notes-window--native .format-popover > button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  padding: 0 8px 0 0;
  color: #1f2024;
  font-weight: 520;
}

.notes-window--native .format-popover > button::before {
  width: 30px;
  color: #1f2024;
  content: "";
  font-size: 18px;
  font-weight: 650;
  line-height: 1;
  text-align: left;
}

.notes-window--native .format-popover > button.is-selected {
  background: transparent;
}

.notes-window--native .format-popover > button.is-selected::before {
  content: "✓";
}

.notes-window--native .format-popover > button:hover,
.notes-window--native .format-popover > button:focus-visible {
  background: var(--notes-control-hover);
}

.notes-window--native .format-popover [data-note-style="title"] {
  min-height: 50px;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: 0;
}

.notes-window--native .format-popover [data-note-style="heading"] {
  min-height: 42px;
  font-size: 23px;
  font-weight: 820;
}

.notes-window--native .format-popover [data-note-style="subheading"] {
  min-height: 38px;
  font-size: 18px;
  font-weight: 760;
}

.notes-window--native .format-popover [data-note-style="body"] {
  min-height: 34px;
  font-size: 16px;
  font-weight: 500;
}

.notes-window--native .format-popover [data-note-style="mono"] {
  min-height: 39px;
  color: #66676d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 420;
}

.notes-window--native .format-popover [data-insert] {
  min-height: 36px;
  color: #5d5e64;
  font-size: 15px;
  font-weight: 430;
}

.guestbook-page[data-note-theme="dark"] .notes-window--native .format-popover > button,
.guestbook-page[data-note-theme="dark"] .notes-window--native .format-color-palette button,
.guestbook-page[data-note-theme="dark"] .notes-window--native .format-popover > button::before {
  color: #f0f0f2;
}

.guestbook-page[data-note-theme="dark"] .notes-window--native .format-color-palette button.is-selected {
  color: #ffffff;
}

.guestbook-page[data-note-theme="dark"] .notes-window--native .format-popover [data-note-style="mono"],
.guestbook-page[data-note-theme="dark"] .notes-window--native .format-popover [data-insert] {
  color: #c2c3c8;
}

/* Final Notes dark contrast override */
.guestbook-page[data-note-theme="dark"] .icloud-notes-header {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.guestbook-page[data-note-theme="dark"] .notes-window--native .notes-folder-pane {
  background: #1f2023;
}

.guestbook-page[data-note-theme="dark"] .notes-folder-row {
  color: #d8d9de;
}

.guestbook-page[data-note-theme="dark"] .notes-folder-row.is-active {
  background: #38393d;
  color: #f2f2f4;
}

.guestbook-page[data-note-theme="dark"] .notes-folder-row strong {
  color: #b9bac1;
}

.guestbook-page[data-note-theme="dark"] .notes-folder-icon {
  color: #a6a8ae;
}

.guestbook-page[data-note-theme="dark"] .notes-search.notes-search--list {
  background: #2a2b2f;
}

.guestbook-page[data-note-theme="dark"] .notes-search-field::placeholder {
  color: #9d9ea6;
}

.guestbook-page[data-note-theme="dark"] .note-list-item {
  color: #e6e7eb;
}

.guestbook-page[data-note-theme="dark"] .note-list-item.is-selected {
  background: #3d3e42;
}

.guestbook-page[data-note-theme="dark"] .note-list-item strong {
  color: #f1f2f4;
}

.guestbook-page[data-note-theme="dark"] .note-list-item span {
  color: #c4c5cb;
}

.guestbook-page[data-note-theme="dark"] .note-list-item small {
  color: #a8a9b0;
}

.guestbook-page[data-note-theme="dark"] .note-title {
  color: #f2f2f4;
}

.guestbook-page[data-note-theme="dark"] .note-body {
  color: #d7d8dd;
}

.guestbook-page[data-note-theme="dark"] .notes-window.is-image-drop-target .note-editor-surface {
  background: rgba(216, 179, 51, 0.12);
  box-shadow: inset 0 0 0 2px rgba(216, 179, 51, 0.38);
}

.guestbook-page[data-note-theme="dark"] .note-body blockquote {
  border-left-color: #a5a6ad;
  color: #c3c4ca;
}

.guestbook-page[data-note-theme="dark"] .note-image-figure img {
  border-color: rgba(255, 255, 255, 0.12);
  background: #2b2c31;
}

.guestbook-page[data-note-theme="dark"] .note-image-figure figcaption {
  color: #aaabb2;
}

.guestbook-page[data-note-theme="dark"] .note-check-toggle {
  border-color: #a5a6ad;
}

.guestbook-page[data-note-theme="dark"] .note-check-item[data-checked="true"] .note-check-text {
  color: #a8a9b0;
}

.guestbook-page[data-note-theme="dark"] .note-title:empty::before {
  color: #c3c4ca;
}

.guestbook-page[data-note-theme="dark"] .note-body:empty::before {
  color: #aeb0b7;
}

.guestbook-page[data-note-theme="dark"] .notes-window--native .format-popover [data-note-style="title"] {
  min-height: 46px;
  font-size: 25px;
}

/* Final Notes placeholder hint override */
.notes-window--native .note-title:empty::before,
.notes-window--native .note-body:empty::before {
  content: attr(data-placeholder);
}

/* Final Notes saved-entry reading mode override */
.notes-window.is-reading-note .notes-editor-pane {
  grid-template-rows: minmax(0, 1fr) 28px;
}

.notes-window.is-reading-note .notes-editor-toolbar {
  display: none;
}

.notes-window.is-reading-note .note-editor-surface {
  padding-top: 44px;
}

.notes-window.is-reading-note .note-title:empty::before,
.notes-window.is-reading-note .note-body:empty::before {
  content: "";
}

/* Final Notes table editing controls */
.note-table {
  position: relative;
}

.note-table.is-table-active {
  outline: 2px solid var(--icloud-yellow);
  outline-offset: -1px;
}

.note-table-cell--active {
  box-shadow: inset 0 0 0 2px var(--icloud-yellow);
}

.note-table-control {
  position: fixed;
  z-index: 80;
  display: inline-grid;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 1px solid rgba(180, 139, 0, 0.42);
  border-radius: 7px;
  background: var(--icloud-yellow);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  color: #ffffff;
  font: 800 17px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  place-items: center;
  transform: translate(-50%, -50%);
}

.note-table-control[hidden] {
  display: none;
}

.note-table-control:hover,
.note-table-control:focus-visible {
  filter: brightness(1.03);
  outline: none;
}

.note-table-menu {
  position: fixed;
  z-index: 81;
  display: grid;
  min-width: 138px;
  padding: 6px;
  border: 1px solid rgba(26, 26, 25, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  backdrop-filter: blur(18px) saturate(1.1);
  transform: translateX(-50%);
}

.note-table-menu[hidden] {
  display: none;
}

.note-table-menu button {
  width: 100%;
  min-height: 31px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #2c2d31;
  font: 600 14px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.note-table-menu button + button {
  border-top: 1px solid rgba(128, 128, 133, 0.18);
  border-radius: 0;
}

.note-table-menu button:hover,
.note-table-menu button:focus-visible {
  background: rgba(216, 179, 51, 0.14);
  outline: none;
}

.note-table-menu button:disabled {
  color: var(--icloud-muted);
  cursor: not-allowed;
  opacity: 0.48;
}

.guestbook-page[data-note-theme="dark"] .note-table.is-table-active {
  outline-color: #d8b333;
}

.guestbook-page[data-note-theme="dark"] .note-table-cell--active {
  box-shadow: inset 0 0 0 2px #d8b333;
}

.guestbook-page[data-note-theme="dark"] .note-table-control {
  border-color: rgba(216, 179, 51, 0.56);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
}

.guestbook-page[data-note-theme="dark"] .note-table-menu {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(38, 39, 42, 0.96);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.guestbook-page[data-note-theme="dark"] .note-table-menu button {
  color: #f1f1f4;
}

.guestbook-page[data-note-theme="dark"] .note-table-menu button + button {
  border-top-color: rgba(255, 255, 255, 0.11);
}

.guestbook-page[data-note-theme="dark"] .note-table-menu button:hover,
.guestbook-page[data-note-theme="dark"] .note-table-menu button:focus-visible {
  background: rgba(216, 179, 51, 0.18);
}
