body.notebook.paper-grid {
  --paper: #fff; --ink: #243442; --muted: #576675; --pen: #1467b7;
  --accent: #1467b7; --accent-hover: #10569a; --marker: #f3dc62; --frame: #adc0d3;
  background-color: #fff;
  background-image: linear-gradient(#e2ecf8 1px,transparent 1px),linear-gradient(90deg,#e2ecf8 1px,transparent 1px);
  background-size: 24px 24px;
}
.notebook .site-header { background: #fff; border: 0; }
.notebook .main-nav .random-link::before,.notebook .main-nav > a.on > span::after,.notebook .account-nav > a.on > span::after { content: none; }
.notebook .main-nav .random-link { padding: 6px 0; }
.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; text-decoration: none; background: none; box-shadow: 0 3px var(--pen); }
.notebook .owner-menu > div { background: #fff; border: 0; box-shadow: 0 4px 14px #24344224; }
.real-account { max-width: 1100px; margin: 0 auto; }
.real-account a { color: inherit; }
.real-account .account-person { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.real-account .account-person h1 { min-width: 0; margin: 0; color: var(--ink); font: 600 27px/34px 'IBM Plex Sans',sans-serif; overflow-wrap: anywhere; }
.account-person-name { text-decoration: none; }
.account-person-name:hover { background: linear-gradient(transparent 36%,#f3dc6266 36%,#f3dc6266 78%,transparent 78%); }
.account-person-name:focus-visible { outline: 0; background: none; box-shadow: 0 3px var(--pen); }
.real-account .account-person-avatar { display: grid; place-items: center; flex: 0 0 62px; width: 62px; height: 62px; border: 1px solid var(--frame); border-radius: 50%; background: #fff; overflow: hidden; }
.account-person-avatar .icon { width: 36px; height: 40px; }
.account-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.real-account .account-person-avatar:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; }
.real-account .account-tabs { display: flex; flex-wrap: nowrap; align-items: stretch; max-width: 100%; min-height: 54px; gap: 6px; padding: 6px 2px 0; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #a9bed8 transparent; }
.real-account .account-tabs a { display: inline-flex; position: relative; isolation: isolate; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 48px; padding: 9px 18px 11px; text-decoration: none; white-space: nowrap; font: 600 23px/28px Caveat,cursive; }
.account-tabs a::before { content: ''; position: absolute; z-index: -2; inset: 2px 0 0; background: linear-gradient(#edf0f4,#f6f7f9); box-shadow: inset 0 1px #c4ccd5; clip-path: polygon(0 100%,0 17%,7% 0,93% 0,100% 17%,100% 100%); }
.real-account .account-tabs a[aria-current=page] { color: var(--pen); }
.account-tabs a[aria-current=page]::before { background: #fff; box-shadow: none; }
.account-tabs a::after { content: ''; position: absolute; z-index: -1; left: 14px; right: 14px; top: 43%; height: 30%; background: #f3dc6280; opacity: 0; pointer-events: none; }
.account-tabs a:hover:not([aria-current=page])::after { opacity: 1; }
.account-tabs a:focus-visible::after { opacity: 0; }
.real-account .account-tabs a:is(:hover,:focus-visible) { outline: 0; text-decoration: none; }
.real-account .account-tabs a:focus-visible { box-shadow: inset 0 -3px var(--pen); }
.account-nav-group { display: flex; align-items: center; flex: 0 0 auto; margin: 0 2px 0 16px; padding: 0 8px 3px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.account-content { position: relative; z-index: 1; min-width: 0; min-height: 430px; padding: 24px 20px; background-color: #fff; background-image: linear-gradient(#e7edf466 1px,transparent 1px),linear-gradient(90deg,#e7edf466 1px,transparent 1px); background-size: 24px 24px; }
.real-account .account-content h2 { margin: 0 0 18px; color: var(--pen); font: 600 32px/40px Caveat,cursive; }
.real-account .account-content h3 { margin: 26px 0 12px; color: var(--pen); font: 600 25px/32px Caveat,cursive; }
.account-stats { display: flex; flex-wrap: wrap; gap: 18px 42px; margin: 0; }
.account-stats > div { display: grid; gap: 3px; }
.account-stats dt { color: var(--muted); font-size: 13px; }
.account-stats dd { margin: 0; color: var(--pen); font: 600 28px/36px 'IBM Plex Sans',sans-serif; font-variant-numeric: tabular-nums; }
.account-stats dd a { text-decoration: none; }
.account-stats dd a:is(:hover,:focus-visible) { background: #f3dc6266; }
.account-stats dd small { font: inherit; }
.account-stats .account-no-data { color: var(--muted); font: 400 14px/22px 'IBM Plex Sans',sans-serif; }
.account-interests { margin-top: 18px; font-size: 13px; color: var(--muted); }
.account-section-ratings { margin-bottom: 16px; }
.account-challenge-today { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; max-width: 780px; }
.account-challenge-today .account-caption { margin-bottom: 0; }
.account-challenge-today .account-button { margin-top: 0; }
.account-challenge-row { display: grid; grid-template-columns: 150px 80px minmax(0,1fr) 20px; gap: 8px 18px; align-items: baseline; max-width: 760px; padding: 14px 0; text-decoration: none; font-size: 14px; }
.account-challenge-row:hover { background: #f3dc6233; }
.account-challenge-row:focus-visible { outline: 0; box-shadow: 0 3px var(--pen); }
.account-challenge-row strong { color: var(--pen); font: 600 24px/30px Caveat,cursive; white-space: nowrap; }
.account-challenge-row > span { color: var(--muted); font-size: 13px; }
.account-challenge-row .icon { width: 18px; height: 20px; }
.account-caption,.account-material-meta,.account-material-source { margin: 8px 0 14px; color: var(--muted); font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
.account-calendar-layout { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 6px; }
.account-weekdays { display: grid; grid-template-rows: repeat(7,16px); padding-top: 24px; font-size: 10px; color: var(--muted); }
.account-weekdays span { align-self: center; }
.account-calendar-scroll { min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; padding: 3px; }
.account-months { display: grid; grid-template-columns: repeat(53,16px); width: max-content; height: 21px; font-size: 11px; color: var(--muted); }
.account-year { display: flex; width: max-content; }
.account-week { display: grid; grid-template-rows: repeat(7,16px); }
.real-account .account-day { display: grid; place-items: center; width: 16px; height: 16px; background: transparent; text-decoration: none; }
.account-day > i { width: 12px; height: 12px; background: #e9eef4; }
.account-day.future { visibility: hidden; }
.account-day.count-1 > i,.account-calendar-legend .count-1 { background: #b6cde8; }
.account-day.count-2 > i,.account-calendar-legend .count-2 { background: #7ca2d0; }
.account-day.count-3 > i,.account-calendar-legend .count-3 { background: #4979b7; }
.account-day.count-4 > i,.account-calendar-legend .count-4 { background: #285ea8; }
.real-account a.account-day:is(:hover,:focus-visible) { outline: 2px solid var(--pen); outline-offset: 0; background: var(--marker); }
.account-calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 12px; color: var(--muted); font-size: 11px; }
.account-calendar-legend > span { display: inline-flex; align-items: center; gap: 4px; }
.account-calendar-legend i { width: 10px; height: 10px; background: #e9eef4; }
.real-account .account-subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; width: fit-content; max-width: 100%; margin: -4px 0 14px; padding: 0; border: 0; background: none; }
.real-account .account-subnav a { position: relative; isolation: isolate; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 4px; text-decoration: none; white-space: nowrap; font: 500 14px/22px 'IBM Plex Sans',sans-serif; }
.account-subnav a::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: calc(50% - .6em); height: 1.2em; background: transparent; clip-path: polygon(0 17%,97% 7%,100% 86%,3% 96%); pointer-events: none; }
.account-subnav a[aria-current=page]::after { background: #f3dc6280; }
.real-account .account-subnav a:is(:hover,:focus-visible) { text-decoration: none; outline: 0; }
.account-subnav a:hover:not([aria-current=page])::after { background: #f3dc624d; }
.real-account .account-subnav a:focus-visible { color: var(--ink); box-shadow: 0 3px var(--pen); }
.account-subnav a:focus-visible::after { background: transparent; }
.account-status-nav { margin-bottom: 20px; }
.account-history-date { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 18px; font-size: 13px; }
.real-account .account-history-date input { width: 155px; min-height: 40px; font: inherit; }
.account-task-history { list-style: none; padding: 0; margin: 0; }
.account-task-history li { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 8px 10px; padding: 10px 0 14px; }
.account-task-history li > .icon { width: 21px; height: 23px; margin-top: 2px; color: var(--pen); }
.account-task-history a,.account-history-title { color: var(--pen); font-size: 15px; line-height: 22px; font-weight: 500; text-decoration: none; }
.account-task-history a:hover { background: #f3dc6266; }
.account-task-history a:focus-visible { background: none; outline: 0; box-shadow: 0 3px var(--pen); }
.account-task-history p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 18px; }
.account-task-history time { color: var(--muted); font-size: 12px; white-space: nowrap; padding-top: 3px; }
.account-empty { margin: 16px 0; font-size: 14px; color: var(--muted); }
.account-task-history li.account-empty { display: block; }
.real-account .account-material-row { display: grid; grid-template-columns: minmax(0,1fr) 100px 90px; gap: 12px 18px; align-items: baseline; padding: 14px 0; font-size: 13px; }
.account-material-row a { color: var(--pen); font-size: 15px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.account-material-row a:hover { background: #f3dc6266; }
.account-material-row a:focus-visible { outline: 0; background: none; box-shadow: 0 3px var(--pen); }
.account-material-row time,.account-material-row > span { color: var(--muted); }
.account-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: 14px; }
.account-pagination a { min-height: 40px; padding: 8px 0; }
.account-pagination span { color: var(--muted); }
.real-account .account-material-detail h3 { margin: 12px 0 8px; color: var(--ink); font: 600 21px/29px 'IBM Plex Sans',sans-serif; overflow-wrap: anywhere; }
.account-material-text,.account-material-detail .text { max-width: 780px; font-size: 17px; line-height: 28px; overflow-wrap: anywhere; }
.account-material-image { display: block; max-width: min(100%,780px); height: auto; margin: 20px 0; }
.account-reject-reason { max-width: 780px; margin: 16px 0 22px; padding-left: 14px; border-left: 2px solid var(--pen); font-size: 14px; }
.account-reject-reason p { margin-top: 6px; }
.account-detail { margin: 16px 0 0; }
.account-detail > summary { display: flex; align-items: baseline; gap: 10px; width: fit-content; max-width: 100%; min-height: 40px; padding: 8px 0; cursor: pointer; font-size: 14px; font-weight: 500; list-style: none; }
.account-detail > summary::-webkit-details-marker { display: none; }
.account-detail > summary::after { content: '›'; display: inline-block; flex: 0 0 auto; color: var(--pen); font-size: 21px; line-height: 20px; }
.account-detail[open] > summary::after { transform: rotate(90deg); }
.account-detail > summary:hover { background: linear-gradient(transparent 35%,#f3dc6266 35%,#f3dc6266 78%,transparent 78%); }
.account-detail > summary:focus-visible { outline: 0; background: none; box-shadow: 0 3px var(--pen); }
.real-account .account-settings { max-width: 610px; }
.account-settings .settings-section + .settings-section { margin-top: 32px; }
.real-account .settings-section h3 { margin-top: 0; }
.real-account .settings-section .q { margin: 0 0 18px; }
.account-profile-fields { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: start; gap: 22px; margin-bottom: 20px; }
.account-profile-fields .q { padding-top: 5px; }
.account-photo-setting { position: relative; text-align: center; }
.account-photo-picker { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 4px; border: 1px solid var(--frame); border-radius: 50%; background: #fff; cursor: pointer; }
.account-photo-picker > .icon { width: 45px; height: 48px; }
.account-photo-picker > img { border-radius: 50%; width: 88px; height: 88px; object-fit: cover; }
.account-photo-edit { position: absolute; bottom: 0; right: -1px; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--frame); border-radius: 50%; background: #fff; }
.account-photo-edit .icon { width: 16px; height: 18px; }
.account-photo-setting .account-tool { font-size: 12px; }
.real-account .account-photo-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; overflow: hidden; }
.account-photo-setting:focus-within .account-photo-picker { outline: 3px solid var(--pen); outline-offset: 3px; }
.account-photo-clear { display: flex; justify-content: center; align-items: center; gap: 4px; font-size: 11px; }
.account-photo-clear input { accent-color: var(--pen); }
.real-account input:not([type=hidden]):not([type=file]):not([type=radio]):not([type=checkbox]),.real-account textarea,.real-account select { width: 100%; max-width: 100%; min-width: 0; min-height: 40px; padding: 5px 2px 8px; border: 0; border-radius: 0; color: var(--ink); background: #fff var(--pen-stroke) center bottom / 100% 7px no-repeat; box-shadow: none; font: 16px/24px 'IBM Plex Sans',sans-serif; }
.real-account input:not([type=hidden]):not([type=file]):not([type=radio]):not([type=checkbox]):focus-visible,.real-account textarea:focus-visible,.real-account select:focus-visible { outline: 0; background-image: var(--pen-stroke-focus); }
.real-account textarea { resize: vertical; }
.real-account input[type=radio],.real-account input[type=checkbox] { accent-color: var(--pen); }
.real-account .account-history-date input { width: 155px; }
.real-account .account-button { position: relative; isolation: isolate; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 8px 18px; border: 0; border-radius: 0; background: none; color: #fff; box-shadow: none; font: 600 14px/24px 'IBM Plex Sans',sans-serif; text-decoration: none; cursor: pointer; }
.account-button::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; }
.real-account .account-button:hover::before { background: var(--accent-hover); }
.real-account .account-button:focus-visible { outline: 0; box-shadow: 0 3px var(--pen); }
.real-account .account-button.secondary { background: transparent; color: var(--pen); padding-left: 0; }
.account-button.secondary::before { content: none; }
.real-account .account-button.secondary:hover { background: linear-gradient(transparent 36%,#f3dc6266 36%,#f3dc6266 78%,transparent 78%); }
.real-account .account-button.secondary:focus-visible { background: none; outline: 0; box-shadow: 0 3px var(--pen); }
.real-account .account-tool { display: inline-flex; align-items: center; gap: 7px; width: fit-content; min-height: 40px; padding: 6px 3px; border: 0; background: none; color: var(--ink); font: 400 14px/22px 'IBM Plex Sans',sans-serif; text-decoration: none; cursor: pointer; }
.real-account .account-tool:hover { color: var(--ink); text-decoration: none; background: linear-gradient(transparent 35%,#f3dc6266 35%,#f3dc6266 78%,transparent 78%); }
.real-account .account-tool:focus-visible { outline: 0; color: var(--ink); text-decoration: none; background: none; box-shadow: 0 3px var(--pen); }
.account-exit { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
.account-exit a { color: var(--muted); }
.account-review-form { margin-top: 24px; }
.account-review-fields { max-width: 780px; margin-top: 18px; }
.account-review-fields > .q { margin-bottom: 24px; }
.account-review-fields textarea { min-height: 120px; }
.account-review-fields label,.account-review-decision > label { font-size: 14px; }
.account-review-decision { max-width: 560px; margin-top: 28px; }
.account-review-decision > label { display: block; margin-bottom: 8px; }
.account-review-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; }
.account-review-buttons .account-button { margin: 0; }
.account-review-error { margin-top: 18px; color: var(--no); }
.account-facts { max-width: 740px; margin: 10px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.account-facts > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 8px 24px; padding: 6px 0; }
.account-facts dd { margin: 0; font-weight: 500; text-align: right; }
.account-daily-counts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; font-size: 13px; }
.account-daily-counts > span { display: flex; gap: 12px; }
.account-problem-stat { margin-top: 4px; }
.account-problem-stat > summary { width: 100%; }
.account-problem-stat > summary > span { margin-left: auto; white-space: nowrap; font-size: 12px; font-weight: 400; color: var(--muted); }
.account-problem-stat > summary::after { margin-left: auto; }
.account-people { margin-top: 26px; }
.account-people .table { margin-top: 10px; }
.account-latex-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 3px 0; }
.account-latex-toolbar button { min-width: 32px; min-height: 32px; padding: 3px 6px; border: 0; color: var(--ink); background: transparent; font: 16px/24px Literata,Georgia,serif; cursor: pointer; }
.account-latex-toolbar button:hover { background: #f3dc6266; }
.account-latex-toolbar button:focus-visible { outline: 0; background: none; box-shadow: 0 3px var(--pen); }
.account-latex-preview { max-width: 100%; padding: 14px 0; overflow-wrap: anywhere; }
.account-latex-preview > summary { cursor: pointer; font-size: 13px; }
.account-latex-preview .text { margin-top: 12px; white-space: pre-wrap; }
.account-latex-preview .text:empty::before { content: 'Здесь появится текст с формулами'; color: var(--muted); font: 14px/22px 'IBM Plex Sans',sans-serif; }
.public-profile .account-content { min-height: 0; }
.profile-authored { margin-top: 32px; }
.profile-authored > h2 { margin-bottom: 20px; color: var(--pen); font: 600 32px/40px Caveat,cursive; }
.public-profile .profile-problems { grid-template-columns: minmax(0,1fr); gap: 24px; max-width: 860px; }
@media (forced-colors: active) {
  .real-account input:not([type=hidden]):not([type=file]):not([type=radio]):not([type=checkbox]),.real-account textarea,.real-account select { border-bottom: 2px solid ButtonText; }
  .real-account .account-button { border: 1px solid ButtonText; color: ButtonText; }
}
@media (width < 760px) {
  .real-account .account-person { gap: 12px; margin-bottom: 20px; }
  .real-account .account-person h1 { font-size: 23px; line-height: 31px; }
  .real-account .account-person-avatar { flex-basis: 52px; width: 52px; height: 52px; }
  .account-person-avatar .icon { width: 30px; height: 34px; }
  .real-account .account-tabs { gap: 4px; }
  .real-account .account-tabs a { padding: 9px 11px 11px; font-size: 21px; }
  .account-nav-group { margin-left: 10px; padding: 0 6px 3px; }
  .account-content { padding: 20px 12px; }
  .real-account .account-content h2 { margin-bottom: 14px; font-size: 30px; line-height: 36px; }
  .account-stats { gap: 16px 26px; }
  .account-stats dd { font-size: 25px; line-height: 32px; }
  .account-stats > div:last-child { flex-basis: 100%; }
  .real-account .account-subnav a { min-height: 44px; }
  .account-task-history li { grid-template-columns: 22px minmax(0,1fr); }
  .account-task-history time { grid-column: 2; margin-top: -4px; padding: 0; }
  .real-account .account-material-row { grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; }
  .account-material-row > a { grid-column: 1/-1; }
  .account-material-row time { font-size: 12px; }
  .account-profile-fields { grid-template-columns: 96px minmax(0,1fr); gap: 14px; }
  .account-problem-stat > summary { flex-wrap: wrap; gap: 2px 8px; }
  .account-problem-stat > summary > span { margin-left: 0; }
  .account-facts > div { gap: 6px 14px; }
  .account-challenge-row { grid-template-columns: minmax(0,1fr) auto 20px; gap: 2px 14px; }
  .account-challenge-row > span { grid-column: 1; grid-row: 2; }
  .account-challenge-row > .icon { grid-column: 3; grid-row: 1; }
  .real-account .account-button,.real-account .account-tool { min-height: 44px; }
}
