.notebook { --pen-stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5C75 3 126 6 198 4S325 5 402 3.8S527 5 598 3' fill='none' stroke='%231467b7' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); --pen-stroke-focus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5C75 3 126 6 198 4S325 5 402 3.8S527 5 598 3' fill='none' stroke='%231467b7' stroke-width='3.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
html { scrollbar-gutter: stable; }
.notebook {
  --control-radio-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 2.5C16 1.9 19.3 6.1 19 11.2C18.8 16.3 15.7 19.2 10.6 19C5.2 18.8 2 15.5 2.5 10.4C2.9 5.5 6.2 2.3 11 2.5' fill='none' stroke='%231467b7' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  --control-radio-focus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 2.5C16 1.9 19.3 6.1 19 11.2C18.8 16.3 15.7 19.2 10.6 19C5.2 18.8 2 15.5 2.5 10.4C2.9 5.5 6.2 2.3 11 2.5' fill='none' stroke='%231467b7' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --control-radio-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M8.3 6.8C12 5.4 15.8 8.4 15.2 11.8C15 15.1 11 16.6 8.4 14.7C5.9 13 5.8 8.6 8.3 6.8Z' fill='%231467b7'/%3E%3C/svg%3E");
  --control-check-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3 3.5L18.7 2.7L19.1 18.6L2.8 19.1Z' fill='none' stroke='%231467b7' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --control-check-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 11l5 6M9 16C13 10 16 6 19 3' fill='none' stroke='%231467b7' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.notebook input[type=radio], .notebook input[type=checkbox] {
  appearance: none;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: var(--control-radio-ring);
  background-position: center;
  background-size: 21px 21px;
  background-repeat: no-repeat;
  box-shadow: none;
  cursor: pointer;
  vertical-align: middle;
}
.notebook input[type=radio]:checked { background-image: var(--control-radio-dot),var(--control-radio-ring); }
.notebook input[type=radio]:focus-visible { outline: 0; background-image: var(--control-radio-focus); }
.notebook input[type=radio]:checked:focus-visible { background-image: var(--control-radio-dot),var(--control-radio-focus); }
.notebook input[type=checkbox] { background-image: var(--control-check-box); }
.notebook input[type=checkbox]:checked { background-image: var(--control-check-mark),var(--control-check-box); }
.notebook input[type=checkbox]:focus-visible { outline: 0; filter: drop-shadow(0 0 .6px var(--pen)); }
.notebook .icon { stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notebook .header-wrap { column-gap: 20px; }
.notebook .main-nav { min-width: 0; gap: 6px; }
.notebook .main-nav > a,.notebook .main-nav > form { flex-shrink: 0; }
.notebook .main-nav > a > span,.notebook .header-random-form span { white-space: nowrap; }
.notebook .main-nav > a,.notebook .account-nav > a { min-height: 44px; font-weight: 500; text-decoration: none; }
.notebook .main-nav > a:hover,.notebook .account-nav > a:hover { text-decoration: none; background: linear-gradient(transparent 35%,#f3dc6266 35%,#f3dc6266 78%,transparent 78%); }
.notebook .main-nav > a:focus-visible,.notebook .account-nav > a:focus-visible { outline: 0; background: none; box-shadow: 0 3px var(--pen); }
.notebook .main-nav .random-link { padding: 6px 0; }
.notebook .main-nav .header-random-form .random-link { font-weight: 500; }
.notebook .owner-menu > div { border: 0; background: #fff; box-shadow: 0 4px 14px #24344224; }
.notebook .owner-menu { z-index: 1; color: var(--pen); }
.notebook .btn { position: relative; isolation: isolate; min-height: 46px; padding: 10px 18px; border: 0; border-radius: 0; background: none; color: #fff; box-shadow: none; font: 600 16px/24px 'IBM Plex Sans',sans-serif; }
.notebook .btn::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--pen); clip-path: polygon(1% 5%,98% 0,100% 92%,0 100%); pointer-events: none; }
.notebook .btn:hover::before { background: var(--accent-hover); }
.notebook .btn:active { background: none; transform: none; box-shadow: none; }
.notebook .btn:focus-visible { outline: 0; box-shadow: 0 3px var(--pen); }
.notebook .btn.line,.notebook button.link { min-height: 44px; padding: 6px 3px; border: 0; background: none; color: var(--ink); box-shadow: none; font: 400 14px/22px 'IBM Plex Sans',sans-serif; text-decoration: none; }
.notebook .btn.line::before { content: none; }
.notebook .btn.line:hover,.notebook button.link:hover { background: linear-gradient(transparent 35%,#f3dc6266 35%,#f3dc6266 78%,transparent 78%); color: var(--ink); }
.notebook .btn.danger::before { background: var(--no); }
.notebook .btn:disabled { opacity: .55; cursor: wait; background: none; }
.notebook .field,.notebook select,.notebook textarea,.notebook .form input:not([type=radio]):not([type=checkbox]):not([type=file]),.notebook .settings-section input:not([type=radio]):not([type=checkbox]):not([type=file]) { border: 0; border-radius: 0; outline: 0; background: #ffffffc9 var(--pen-stroke) center bottom / 100% 7px no-repeat; box-shadow: none; }
.notebook .field input { background: none; }
.notebook .field:focus-within { outline: 0; }
.notebook .field:has(:focus-visible),.notebook select:focus-visible,.notebook textarea:focus-visible,.notebook .form input:focus-visible:not([type=radio]):not([type=checkbox]):not([type=file]),.notebook .settings-section input:focus-visible:not([type=radio]):not([type=checkbox]):not([type=file]) { background-image: var(--pen-stroke-focus); }
.notebook .field:has([aria-invalid=true]),.notebook [aria-invalid=true] { color: var(--no); }
.notebook .password-toggle { border: 0; background: none; }
.notebook .answer { padding: 0; background: none; box-shadow: none; }
.notebook .verdict { border: 0; border-radius: 0; background: none; box-shadow: none; }
.notebook .text a,.notebook .source a,.notebook .byline a,.notebook .hint a,.notebook .crumbs a { color: var(--pen); }
.notebook .text a:visited,.notebook .source a:visited,.notebook .byline a:visited,.notebook .hint a:visited { color: var(--pen); }
@media (width < 1100px) {
  .notebook .header-wrap { grid-template-columns: minmax(0,1fr) auto; gap: 8px 20px; }
  .notebook .main-nav { grid-column: 1/-1; grid-row: 2; flex-wrap: wrap; justify-content: space-between; }
  .notebook .account-nav { grid-column: 2; grid-row: 1; }
}
@media (width < 640px) {
  .notebook .header-wrap { grid-template-columns: minmax(0,1fr) minmax(0,min(160px,45vw)); column-gap: 12px; }
  .notebook .account-nav { min-width: 0; flex-wrap: wrap; gap: 0 8px; }
  .notebook .header-wrap:has(.owner-menu) .account-nav { max-width: 100%; justify-self: stretch; }
  .notebook .account-nav .user { min-width: 0; max-width: 100%; }
  .notebook .account-nav .user > span { min-width: 0; max-width: 100%; }
}
@media (forced-colors: active) { .notebook .field,.notebook select,.notebook textarea { border-bottom: 2px solid ButtonText; } .notebook .btn { border: 1px solid ButtonText; color: ButtonText; } }
