


















:root {
  color-scheme: light;         
  --paper: #F7F6FA;            
  --sheet: #FFFFFF;
  --ink: #1C1B22;
  --ink-dim: #5A5766;          

  --ink-faint: #686173;        
  --line: #E1DEEC;
  --field-line: #918D9D;   
  --accent: #8177C9;           
  --accent-ink: #6357BC;       
  --accent-hover: #5145AD;     

  --marker: #D8CEF7;
  --grammar: #93271D;
  --word: #7A6311;            
  --style: #006D9E;
  --ok: #2C7248;              
  --del-bg: #F6E3DF;
  --ins-bg: #E1EFE4;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Code", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent-hover); }
::selection { background: var(--marker); }










a:focus-visible, button:focus-visible, summary:focus-visible,
[tabindex]:not(.screen):focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}










.appbar {
  display: flex; align-items: center;


  min-height: 46px;
  padding: 7px 0;
  font-family: var(--mono); font-size: 13px;
}





















.appbar__inner {
  display: flex; align-items: center; gap: 20px;
  width: 100%; max-width: 1200px;
  margin-inline: auto;
  padding: 0 44px;
}
@media (max-width: 560px) { .appbar__inner { padding: 0 20px; gap: 12px; } }












.appbar__brand {
  display: inline-flex; align-items: baseline; gap: .45em;
  white-space: nowrap; line-height: 1;
  color: var(--ink); text-decoration: none; border-radius: 3px;
}
.appbar__brand:hover { text-decoration: none; color: var(--ink); }
.appbar__brand:focus-visible { outline-offset: 4px; }
.appbar__brand-co { font-weight: 500; letter-spacing: .02em; color: var(--ink-dim); }
.appbar__brand-w {
  position: relative; z-index: 0; display: inline-block;
  font-family: var(--sans); font-weight: 700; letter-spacing: -.02em;
  padding: 0 .12em; margin: 0 -.12em;
}
.appbar__brand-w::before {
  content: ""; position: absolute; z-index: -1;
  left: -.04em; right: -.08em; top: .18em; bottom: -.02em;
  background: var(--marker);
  border-radius: .18em .22em .16em .2em;
  transform: rotate(-1.6deg) skewX(-6deg);
}




















.appbar__me { margin-left: auto; position: relative; display: flex; align-items: center; min-width: 0; }
.appbar__account {
  font: inherit; background: none; border: 0; cursor: pointer;
  min-height: 32px; min-width: 32px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; max-width: 100%;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  color: var(--ink-dim);
}
.appbar__account:hover, .appbar__account[aria-expanded="true"] { color: var(--ink); }
.appbar__login { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 24ch; line-height: 1.25; }

.appbar__login:empty { display: none; }
@media (max-width: 560px) { .appbar__login { max-width: 12ch; } }













.appbar__feather { width: 13px; height: 13px; flex: none; color: var(--accent); }

.appbar__chevron {
  width: 7px; height: 7px; flex: none;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.appbar__account[aria-expanded="true"] .appbar__chevron { transform: translateY(2px) rotate(-135deg); }






















.appbar__menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 8;
  min-width: 168px; max-width: 280px; padding: 6px;
  background: var(--sheet);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--ink) 8%, transparent),
              0 14px 40px color-mix(in srgb, var(--ink) 16%, transparent);
  font-family: var(--mono); font-size: 12.5px;
}
.appbar__menu-login {
  padding: 7px 10px 8px; margin-bottom: 4px;
  color: var(--ink-faint); border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.appbar__menu-login:empty { display: none; }
.appbar__menu-item {
  font: inherit; background: none; border: 0; cursor: pointer;
  display: block; width: 100%; text-align: left;
  min-height: 32px; padding: 7px 10px; border-radius: 6px;
  color: var(--accent-ink);
}
.appbar__menu-item:hover { background: var(--paper); color: var(--accent-hover); }


.page {
  max-width: 960px; width: 100%;
  margin-inline: auto;
  padding: 36px 44px 40px;
  display: flex; flex-direction: column; gap: 28px;


  position: relative;
}
@media (max-width: 560px) { .page { padding: 24px 20px 28px; } }




.screen { display: flex; flex-direction: column; gap: 28px; }



.screen:focus, .screen:focus-visible { outline: none; }

.eyebrow {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink);
}









.chip {
  display: inline-block; padding: 2px 9px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-dim);
  white-space: nowrap;
}
.chip--grammar { color: var(--grammar); border-color: color-mix(in srgb, var(--grammar) 35%, transparent); }
.chip--word    { color: var(--word);    border-color: color-mix(in srgb, var(--word) 40%, transparent); }
.chip--style   { color: var(--style);   border-color: color-mix(in srgb, var(--style) 40%, transparent); }
.chip--ok      { color: var(--ok);      border-color: color-mix(in srgb, var(--ok) 40%, transparent); }

.qlist { padding-left: 20px; color: var(--ink-dim); display: flex; flex-direction: column; gap: 4px; }
.meta-row { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); }



.hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 34px 0 10px;
  gap: 20px;
}
.hero__eyebrow {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink);
}
.hero__title {
  font-family: var(--sans);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700; line-height: 1.16;
  letter-spacing: -.02em; text-wrap: balance;
  margin: 2px 0;
}
.hero__questions {
  list-style: none;
  display: flex; flex-direction: column; gap: 5px;
  color: var(--ink-faint); font-size: 14.5px; line-height: 1.55;
  max-width: 52ch;
  margin-top: 2px;
}



.hero__meta {
  font-family: var(--sans); font-size: 13.5px; font-weight: 400;
  letter-spacing: 0; text-transform: none;
  color: var(--ink-faint);
  margin: 4px 0 0;
}
.btn.btn--pill {
  font-family: var(--sans); font-size: 16.5px; font-weight: 600;
  border-radius: 999px;
  padding: 16px 72px;
}
.hero__reroll { font-size: 12.5px; color: var(--ink-faint); margin-top: -6px; }






















.hero__art, .notfound__art {
  width: 100%; max-width: 820px;
  aspect-ratio: 820 / 220;
}
.hero__art {
  background-position: center; background-size: contain; background-repeat: no-repeat;
}













.hero--open { gap: 24px; padding: 16px 0 0; }
.hero--open .hero__title { margin: -6px 0 0; }
.hero--open .hero__questions { gap: 6px; }



.hero--open .btn { margin-top: -8px; }













































.hero__art--open {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='57%20275%201353%20363'%20fill='none'%3E%3Cg%20stroke='%23E1DEEC'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M181%20596.5H1286'/%3E%3Cg%3E%3Cpath%20d='M370%20590.5C388%20585%20444%20585%20464%20590.5'/%3E%3Cpath%20d='M381%20600C398%20604.5%20433%20605.5%20448%20602'/%3E%3Cpath%20d='M361%20605.5C389%20614.5%20451%20614.5%20476%20605.5'/%3E%3C/g%3E%3Cpath%20d='M1033%20604.5H1092'/%3E%3Cpath%20d='M1048%20613H1076'/%3E%3C/g%3E%3Cg%20stroke='%238177C9'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cg%3E%3Cpath%20d='M432%20473L423%20533L424.5%20596'/%3E%3Cpath%20d='M420%20476L382.5%20507.5L445.5%20534L442%20545'/%3E%3C/g%3E%3Cpath%20d='M468.5%20399C478%20404%20489%20397%20492.5%20389C499%20373%20484%20359%20479%20346C471%20326%20481%20309%20499%20302C513%20296%20530%20301%20536.5%20313.5L606.5%20322L540%20321.5C529%20321.5%20523%20325.5%20511%20322C500%20317.5%20492%20326.5%20493%20338C494%20351.5%20507.5%20359.5%20511%20373C519%20397%20502.5%20417.5%20484.5%20434C462%20455%20448.5%20471.5%20423.5%20475.5L358%20503C369%20451.5%20409%20404%20468.5%20399Z'/%3E%3Cpath%20d='M536.5%20313.5C531%20313.5%20532.5%20320.5%20540%20321.5'/%3E%3Ccircle%20cx='523'%20cy='310.5'%20r='1.6'%20fill='%238177C9'%20stroke='none'/%3E%3Cpath%20d='M358%20503C369%20451.5%20409%20404%20468.5%20399C467.5%20432.5%20451%20457.5%20423.5%20475.5L358%20503Z'%20fill='%23D8CEF7'/%3E%3Cpath%20d='M342.5%20513L423.5%20475.5'/%3E%3C/g%3E%3Cg%20stroke='%238177C9'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cg%3E%3Cpath%20d='M224%20596L224.5%20560.5'/%3E%3Cpath%20d='M224%20596L218.5%20577'/%3E%3Cpath%20d='M224%20596L229%20576'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M1053%20596C1052%20549%201049%20500%201046.5%20455'/%3E%3Cpath%20d='M1046%20421V407.5'/%3E%3Cpath%20d='M1046%20421C1042%20421%201040.5%20424%201040.5%20428L1041%20449.5C1041%20453.5%201042.5%20456%201046.5%20456C1050.5%20456%201052%20453.5%201052%20449.5L1051.5%20428C1051.5%20424%201050%20421%201046%20421Z'%20fill='%23D8CEF7'/%3E%3C/g%3E%3Cg%3E%3Cpath%20d='M1073.5%20596L1074%20505'/%3E%3Cpath%20d='M1074%20475V466.5'/%3E%3Cpath%20d='M1074.5%20475C1071%20475%201069.5%20477.5%201069.5%20481L1070%20499C1070%20503%201071.5%20505%201074.5%20505C1078%20505%201079.5%20502.5%201079.5%20499L1079.5%20481C1079.5%20477.5%201078%20475%201074.5%20475Z'%20fill='%23D8CEF7'/%3E%3Cpath%20d='M1077%20503C1081%20498%201083%20493%201084%20487'/%3E%3C/g%3E%3Cg%3E%3Cpath%20d='M1092%20596C1092.5%20557%201097%20525%201105.5%20499'/%3E%3Cpath%20d='M1105.5%20499C1113%20470%201127%20451%201148.5%20443C1130%20459%201116%20479%201105.5%20499Z'%20fill='%23D8CEF7'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}






.hero--done { gap: 14px; padding-bottom: 0; }

























.hero__art--done {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20820%20220'%20fill='none'%3E%3Cpath%20d='M60%20204%20H760'%20stroke='%23E1DEEC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3Cg%20transform='translate%28150%20180%29%20rotate%2816%29%20scale%281.3%29'%3E%3Cpath%20d='M0%200%20C%20-16%20-28,%20-2%20-70,%2034%20-96%20C%2024%20-60,%2014%20-28,%200%200%20Z'%20fill='%23D8CEF7'%20stroke='%238177C9'%20stroke-width='2'%20stroke-linejoin='round'/%3E%3Cpath%20d='M0%200%20C%208%20-30,%2018%20-60,%2034%20-96'%20stroke='%236357BC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3Cpath%20d='M0%200%20L-6%2014'%20stroke='%236357BC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/g%3E%3Cg%20transform='translate%28410%20150%29%20rotate%28-12%29%20scale%281.0%29'%3E%3Cpath%20d='M0%200%20C%20-16%20-28,%20-2%20-70,%2034%20-96%20C%2024%20-60,%2014%20-28,%200%200%20Z'%20fill='%23D8CEF7'%20stroke='%238177C9'%20stroke-width='2'%20stroke-linejoin='round'/%3E%3Cpath%20d='M0%200%20C%208%20-30,%2018%20-60,%2034%20-96'%20stroke='%236357BC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3Cpath%20d='M0%200%20L-6%2014'%20stroke='%236357BC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/g%3E%3Cg%20transform='translate%28640%20120%29%20rotate%2830%29%20scale%280.8%29'%3E%3Cpath%20d='M0%200%20C%20-16%20-28,%20-2%20-70,%2034%20-96%20C%2024%20-60,%2014%20-28,%200%200%20Z'%20fill='%23D8CEF7'%20stroke='%238177C9'%20stroke-width='2'%20stroke-linejoin='round'/%3E%3Cpath%20d='M0%200%20C%208%20-30,%2018%20-60,%2034%20-96'%20stroke='%236357BC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3Cpath%20d='M0%200%20L-6%2014'%20stroke='%236357BC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/g%3E%3Cg%20transform='translate%28520%20194%29%20rotate%2884%29%20scale%280.9%29'%3E%3Cpath%20d='M0%200%20C%20-16%20-28,%20-2%20-70,%2034%20-96%20C%2024%20-60,%2014%20-28,%200%200%20Z'%20fill='%23D8CEF7'%20stroke='%238177C9'%20stroke-width='2'%20stroke-linejoin='round'/%3E%3Cpath%20d='M0%200%20C%208%20-30,%2018%20-60,%2034%20-96'%20stroke='%236357BC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3Cpath%20d='M0%200%20L-6%2014'%20stroke='%236357BC'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__note { color: var(--ink-faint); font-size: 15.5px; line-height: 1.6; margin-top: 4px; }














.notfound__art { display: block; }
.notfound__water { stroke: var(--line); }
.notfound__ink { stroke: var(--accent); }
.notfound__fill { fill: var(--marker); }




.notfound__eye { fill: var(--accent); stroke: none; }


.notfound .btn { margin-top: 10px; }
.notfound__code { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; }

















body.landing { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }



































.landing__screen {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 44px;
  padding-bottom: min(15.7vh, max(0px, calc((100vh - 400px) * 0.55)));
  padding-bottom: min(15.7svh, max(0px, calc((100svh - 400px) * 0.55)));
}







@media (max-width: 620px) {
  .landing__screen {
    padding-left: 20px; padding-right: 20px;
    padding-bottom: min(11.6vh, max(0px, calc((100vh - 400px) * 0.31)));
    padding-bottom: min(11.6svh, max(0px, calc((100svh - 400px) * 0.31)));
  }
}





.landing__promise {
  margin: 0;
  font-family: var(--sans); font-size: clamp(33px, 5.8vw, 56px);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.14;
  text-wrap: balance; max-width: 26ch;
}












.landing__note {
  margin: 33px 0 33px; max-width: 68ch;
  font-size: 15.5px; line-height: 1.55; color: var(--ink-faint);
}



.appbar__in {
  margin-left: auto;
  font-family: var(--mono); font-size: 12.5px; color: var(--accent-ink);
}




















.landing__fix { position: relative; z-index: 0; display: inline-block; white-space: nowrap; }







.landing__extra {
  display: inline-block; white-space: pre;
  max-width: 0; opacity: 0;
  pointer-events: none; user-select: none; -webkit-user-select: none;
}


.landing__fix::before {
  content: ""; position: absolute; z-index: -1;
  left: -.08em; right: -.08em; top: .16em; bottom: .02em;
  background: var(--marker); border-radius: .18em .22em .16em .2em;
  transform: rotate(-1.4deg) skewX(-6deg) scaleX(0); transform-origin: left center;
  opacity: 0;
}








@media (prefers-reduced-motion: no-preference) {
  .landing__extra { animation: landing-extra 3.7s linear both; }
  .landing__fix::before { animation: landing-mark 3.7s linear both; }
}



@keyframes landing-extra {
  0%, 86.5% { max-width: 10ch; opacity: 1; }
  91.9% { max-width: 6ch; opacity: 0; animation-timing-function: cubic-bezier(.3, .7, .3, 1); }
  100% { max-width: 0; opacity: 0; }
}
@keyframes landing-mark {
  0% { transform: rotate(-1.4deg) skewX(-6deg) scaleX(0); opacity: 1; }
  29.7% { transform: rotate(-1.4deg) skewX(-6deg) scaleX(0); opacity: 1;
          animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  50%, 86.5% { transform: rotate(-1.4deg) skewX(-6deg) scaleX(1); opacity: 1; }
  91.9%, 100% { transform: rotate(-1.4deg) skewX(-6deg) scaleX(1); opacity: 0; }
}






@media (max-width: 440px) {
  .landing__promise { max-width: 100%; line-height: 1.16; }
  .landing__part, .landing__fix { display: block; }
}



.btn {
  display: inline-block; padding: 11px 26px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  border-radius: 999px; border: 1px solid var(--accent-ink);
  background: var(--accent-ink); color: #FFFFFF;
  cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; background: var(--accent-hover); border-color: var(--accent-hover); color: #FFFFFF; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink-dim); color: var(--ink); }

.btn:disabled, .btn[aria-disabled="true"] {
  background: transparent; color: var(--ink-faint); border-color: var(--line);
  cursor: default; opacity: .8;
}
.btn:disabled:hover, .btn[aria-disabled="true"]:hover {
  background: transparent; border-color: var(--line); color: var(--ink-faint);
}
.btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }







.linky {
  font: inherit; background: none; border: 0; padding: 0;
  color: var(--accent-ink); cursor: pointer;
  min-height: 44px; display: inline-flex; align-items: center;
}
.linky:hover { text-decoration: underline; color: var(--accent-hover); }

.divider { border: 0; border-top: 1px solid var(--line); }



.editor {
  font-family: var(--mono);
  font-size: 16.5px; line-height: 1.75;



  max-width: 68ch;
  margin-inline: auto;
  width: 100%;
  display: flex; flex-direction: column; gap: 1em;


  overflow-wrap: break-word;
}




















.editor-frame {
  position: relative;
  flex: 1; min-height: 0;
  width: 100%; max-width: calc(68ch + 14px); margin-inline: auto;






  font-family: var(--mono); font-size: 18px;






  overflow: hidden;
}












textarea.editor, .editor-mirror {
  overflow-y: auto;









  scrollbar-width: thin;
  white-space: pre-wrap; overflow-wrap: break-word;
  font-family: var(--mono); font-size: 18px; line-height: 1.75;
  padding: 0 14px 12px 0;
}



.editor-frame > .editor,
.editor-frame > .editor-mirror {
  position: absolute; inset: 0;








  max-width: none;
}





.editor-mirror {
  visibility: hidden;
  pointer-events: none;
}





.editor-caret {
  position: absolute;
  width: 2px; border-radius: 1px;
  background: var(--accent);
  pointer-events: none;
  animation: caret-blink 1.06s step-end infinite;


  display: none;
}
@keyframes caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}








textarea.editor {
  display: block;







  outline: none;







  -webkit-tap-highlight-color: transparent;


  border: 0; resize: none;
  background: transparent; color: inherit;





  caret-color: var(--accent);




  scrollbar-color: color-mix(in srgb, var(--accent) 45%, transparent) transparent;
}






























.editor-frame[data-painted] .editor-caret:not([hidden]) { display: block; }
.editor-frame[data-painted] textarea.editor { caret-color: transparent; }

textarea.editor::-webkit-scrollbar, .editor-mirror::-webkit-scrollbar { width: 8px; }
textarea.editor::-webkit-scrollbar-track { background: transparent; }
textarea.editor::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 4px;
}

mark {
  background: transparent; color: inherit;
  border-radius: 2px; padding: 1px 0;
}



mark.hl-grammar { background: color-mix(in srgb, var(--grammar) 15%, transparent); box-shadow: inset 0 -2px var(--grammar); }
mark.hl-word    { background: color-mix(in srgb, var(--word) 16%, transparent);    box-shadow: inset 0 -2px var(--word); }
mark.hl-style   { background: color-mix(in srgb, var(--style) 15%, transparent);   box-shadow: inset 0 -2px var(--style); }
mark.hl-ok      { background: color-mix(in srgb, var(--ok) 10%, transparent);      box-shadow: inset 0 -2px color-mix(in srgb, var(--ok) 55%, transparent); }
mark.hl-hint    { background: color-mix(in srgb, var(--accent) 10%, transparent);  box-shadow: inset 0 -2px color-mix(in srgb, var(--accent) 55%, transparent); }
mark.hl-wait    { background: color-mix(in srgb, var(--accent) 14%, transparent);  box-shadow: inset 0 -2px var(--accent); }
mark.hl-skip    { background: color-mix(in srgb, var(--ink-faint) 12%, transparent); box-shadow: inset 0 -2px color-mix(in srgb, var(--ink-faint) 45%, transparent); }

.statusbar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.statusbar .grow { flex: 1; }
.goalbar {
  width: 90px; height: 3px; border-radius: 2px;
  background: var(--line); position: relative; overflow: hidden;
}
.goalbar i {
  position: absolute; inset: 0; right: auto;
  background: var(--accent); border-radius: 2px;
}

.write-col {
  max-width: 62ch; width: 100%;
  margin-inline: auto;
  display: flex; flex-direction: column; gap: 22px;
}















body:has(.screen[data-screen='writing']) {
  height: 100dvh;
  overflow: hidden;
  display: flex; flex-direction: column;
}
body:has(.screen[data-screen='writing']) .appbar { flex: none; }
body:has(.screen[data-screen='writing']) .page { flex: 1; min-height: 0; }


.screen[data-screen='writing'] { flex: 1; min-height: 0; gap: 18px; }




.screen[data-screen='writing'] .write-col {
  max-width: none;
  flex: 1; min-height: 0;
  gap: 18px;
}










@media (max-height: 560px) {
  body:has(.screen[data-screen='writing']) { height: auto; min-height: 100dvh; overflow: visible; }


  .screen[data-screen='writing'] .editor-frame { min-height: 40dvh; }
}



.writing-head {
  flex: none;
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 12px;
}
.writing-head__title { text-align: center; padding-top: 4px; margin: 0; }
.writing-head__questions { margin: 0 auto; text-align: center; }



.hero__questions[hidden] { display: none; }





.qline { font-family: var(--sans); font-size: 13px; color: var(--ink-faint); text-align: center; }
.qline button {
  font: inherit; background: none; border: 0;
  padding: 7px 10px; border-radius: 8px;
  color: var(--accent-ink); cursor: pointer;
}
.qline button:hover { text-decoration: underline; color: var(--accent-hover); }






.writing-head::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 100%;
  height: 62px; z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity .2s ease;
  background: linear-gradient(to bottom, var(--paper) 18px, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to bottom, #000 18px, transparent);
  mask-image: linear-gradient(to bottom, #000 18px, transparent);
}
.writing-head.is-scrolled::after { opacity: 1; }




.writing-foot { flex: none; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.statusline {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.statusline__time, .statusline__dot, .statusline__goal { color: var(--ink-faint); }
.btn-row--centred { justify-content: center; }







.screen[data-screen='writing'] .btn[aria-disabled='true'],
.screen[data-screen='writing'] .btn[aria-disabled='true']:hover {
  background: var(--accent-ink); color: #FFFFFF; border-color: var(--accent-ink);
  opacity: .45;
}






.leaving {
  position: fixed; z-index: 4;
  left: 50%; transform: translateX(-50%); top: 112px;




  max-height: calc(100dvh - 132px);
  overflow-y: auto;
  width: min(480px, calc(100vw - 40px));
  background: var(--sheet);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--ink) 8%, transparent),
              0 18px 50px color-mix(in srgb, var(--ink) 18%, transparent);
}
.leaving__title { font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.leaving__body { color: var(--ink-dim); font-size: 14.5px; line-height: 1.55; }




.btn--danger { color: var(--grammar); border-color: color-mix(in srgb, var(--grammar) 35%, var(--line)); }
.btn--danger:hover { color: var(--grammar); border-color: var(--grammar); }













.screen[data-screen='review'] .write-col {
  font-family: var(--mono); font-size: 18px; line-height: 1.75;
  max-width: 68ch;
}
:where(.screen[data-screen='review'] .write-col) > :where(*) {
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
}
.screen[data-screen='review'] .editor--locked { font-family: var(--mono); font-size: 18px; line-height: 1.75; }



.review-head__title { text-align: center; margin: 0; }
@media (max-width: 560px) { .review-head__title { font-size: 24px; } }








.track { display: flex; gap: 6px; }
.track__seg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }



.track__bar { display: flex; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.track__seg.is-active .track__bar { height: 5px; margin-block: -1.5px; }
.track__seg.is-active .track__bar { background: linear-gradient(90deg, var(--accent-ink) 12%, var(--line) 12%); }
.track__fill { display: block; height: 100%; flex: none; background: var(--accent-ink); }
.track__fill--fixed { width: calc(100% * var(--fixed, 0) / max(var(--total, 0), 1)); }
.track__fill--hint { width: calc(100% * var(--hint, 0) / max(var(--total, 0), 1)); }


.track__label {
  font-family: var(--sans); font-size: 12.5px; text-align: center; color: var(--ink-faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track__seg.is-active .track__label { color: var(--ink); font-weight: 600; }
.track__seg.is-done .track__label { color: var(--ink-dim); }




.editor--locked {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  color: var(--ink-dim);
}

.editor--locked mark { color: var(--ink); cursor: text; }














.editor--locked mark.gone {
  box-shadow: none;
  border: 1px dashed color-mix(in srgb, currentColor 45%, transparent);
  border-radius: 4px;
  padding: 4px 6px;
  color: var(--ink);
  font-family: var(--sans); font-size: 12.5px;
  letter-spacing: 0.02em;
  cursor: pointer;

  white-space: nowrap;
}











.focus-scrim {
  position: fixed; inset: 0; z-index: 3;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px);
}
.focus {
  position: fixed; z-index: 4;
  left: 50%; transform: translateX(-50%);










  top: 112px;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  width: min(560px, calc(100vw - 40px));
  background: var(--sheet);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--ink) 8%, transparent),
              0 18px 50px color-mix(in srgb, var(--ink) 18%, transparent);
  padding: 20px 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
}









.focus-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; }




.focus-tags { display: flex; align-items: center; gap: 8px; min-width: 0; }
.focus-tags .pill { flex: none; }
.focus-head .chip { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.focus-head .pill { margin-left: 0; }
.focus-count {
  font-family: var(--mono); font-size: 12px; color: var(--ink-faint);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}


.focus-close {
  font: inherit; background: none; border: 0;
  padding: 6px 8px; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--ink-faint);
}
.focus-close:hover { color: var(--ink); }
































.ctx {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: var(--ink-faint);
  display: flex; align-items: baseline; white-space: nowrap;
  filter: blur(.45px); opacity: .92;


  clip-path: inset(5px 0 0);
}









































.ctx__line { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ctx[data-ctx="before"] {
  margin-bottom: -8px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 65%);
  mask-image: linear-gradient(to bottom, transparent, #000 65%);
}
.ctx[data-ctx="before"] .ctx__line { direction: rtl; text-align: left; }
.ctx[data-ctx="after"] {
  margin-top: -8px;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 65%);
  mask-image: linear-gradient(to top, transparent, #000 65%);
}



.ctx__para { color: var(--ink-faint); font-weight: 700; margin-inline: 4px; }





textarea.focus-field {
  display: block; width: 100%;
  font-family: var(--mono); font-size: 16px; line-height: 1.65;
  background: var(--sheet); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 8px; padding: 10px 14px;
  resize: none;
}














textarea.focus-field--off {
  border-color: var(--line); color: var(--ink-dim);
  background: color-mix(in srgb, var(--paper) 25%, var(--sheet));
}


.focus-gone {
  font-family: var(--mono); font-size: 15px; line-height: 1.6;
  border-radius: 8px; padding: 10px 14px;
  border: 1px dashed color-mix(in srgb, var(--ink-faint) 55%, transparent);
  color: var(--ink-dim);
}













.focus-hint {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px; color: var(--ink-dim);
}



.focus-says {
  display: flex; flex-direction: column; gap: 8px;
  border-left: 3px solid var(--ok); padding-left: 14px;
  font-size: 13.5px; color: var(--ink-dim);
}


.focus-says .reveal { font-size: 14.5px; color: var(--ink); }

.focus-rungs { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--mono); font-size: 12px; }
.focus-say { border-left: 3px solid var(--line); padding-left: 14px; }
.focus-say--hint { border-left-color: color-mix(in srgb, var(--accent) 45%, var(--sheet)); }
.focus-say--strong { border-left-color: var(--accent); color: var(--ink); }
.focus-say--verdict { border-left-color: var(--grammar); }




















.focus-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 4px;
}
.focus-actions .grow { flex: 1; }




.focus-actions .quiet, .focus-nav button {
  font-family: var(--mono); font-size: 12.5px;
}
.focus-actions .quiet { color: var(--ink-faint); }
.focus-nav { display: flex; gap: 16px; }











@media (max-width: 560px) {
  .focus {
    inset: 0; width: auto; max-width: none; max-height: none;
    transform: none;
    border: 0; border-radius: 0;



    padding: 16px 16px 24px;
  }




  .focus-actions { margin-top: auto; justify-content: center; }



































  .focus-actions .grow { display: none; }








  .focus-nav:empty { display: none; }
  .focus-nav { flex-basis: 100%; justify-content: center; }









  .focus-actions .btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 12px 22px; font-size: 15px;
  }
  .focus-actions .quiet, .focus-nav button { font-size: 13.5px; min-height: 48px; }








  textarea.focus-field { min-height: 8.4em; }
}








.pill {
  margin-left: auto;
  font-family: var(--mono); font-size: 11px; padding: 2px 9px;
  border-radius: 999px; white-space: nowrap;
}
.pill--ok      { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.pill--hint    { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.pill--wait    { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.pill--skip    { color: var(--ink-faint); background: color-mix(in srgb, var(--ink-faint) 14%, transparent); }
.pill--grammar { color: var(--grammar); background: color-mix(in srgb, var(--grammar) 10%, transparent); }
.pill--word    { color: var(--word); background: color-mix(in srgb, var(--word) 12%, transparent); }
.pill--style   { color: var(--style); background: color-mix(in srgb, var(--style) 10%, transparent); }

.reveal {
  border: 1px dashed color-mix(in srgb, var(--ok) 45%, transparent);
  background: color-mix(in srgb, var(--ok) 6%, transparent);
  border-radius: 6px; padding: 8px 12px;
  font-family: var(--mono); font-size: 13.5px;
}


.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 4px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  color: #FFFFFF; flex-shrink: 0;
  font-style: normal;
}
.num--grammar { background: var(--grammar); }
.num--word    { background: var(--word); }
.num--style   { background: var(--style); }
.num--ok      { background: var(--ok); }
.num--hint    { background: color-mix(in srgb, var(--accent-ink) 75%, var(--ok)); }
.num--wait    { background: var(--accent-ink); }
.num--skip    { background: var(--ink-faint); }
sup.num { vertical-align: 6px; margin-left: 3px; width: 15px; height: 15px; font-size: 9.5px; }




.result-head {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding-top: 8px;
}
.result-head .hero__title { margin: 0; }

.result-foot {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding-top: 4px;
}






.summary { display: flex; flex-direction: column; gap: 24px; }




.score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.score__row { display: flex; align-items: baseline; gap: 8px; }
.score__num {
  font-family: var(--mono); font-size: 60px; font-weight: 700; line-height: 1;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.score__of { font-family: var(--mono); font-size: 16px; color: var(--ink-faint); }





.figures { display: flex; justify-content: center; gap: 40px; }
.figure { display: flex; flex-direction: column; align-items: center; gap: 2px; }




.figure__num {
  font-family: var(--mono); font-size: 22px; font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.figure__label {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-faint); white-space: nowrap;
}
@media (max-width: 560px) {
  .figures { gap: 22px; }
  .figure__num { font-size: 20px; }
}






.srows { display: flex; flex-direction: column; gap: 10px; }
.srow {
  display: grid; grid-template-columns: 110px 1fr auto;
  align-items: center; gap: 12px; font-size: 13.5px;
}
.srow__name { font-weight: 500; }





button.srow__name {
  font: inherit; background: none; border: 0; padding: 0; text-align: left;
  color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px;
}
button.srow__name:hover { color: var(--accent-ink); }
button.srow__name::after {
  content: ''; width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px); opacity: .55;
}
button.srow__name[aria-expanded='true']::after { transform: rotate(-135deg) translateY(-1px); }
.srow__num {
  font-family: var(--mono); font-size: 12px; color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}





.srow__bar {
  display: flex; height: 5px; border-radius: 1px;
  overflow: hidden; background: var(--line);
}
.fill { display: block; height: 100%; background: var(--ok); }





.fill--rest { background: none; }
@media (max-width: 560px) {




  .srow { grid-template-columns: 1fr auto; }
  .srow__name { grid-area: 1 / 1; }
  .srow__num { grid-area: 1 / 2; }
  .srow__bar { grid-area: 2 / 1 / 3 / -1; }




}









.bd { grid-column: 1 / -1; padding: 8px 0 12px 16px; }




@media (max-width: 560px) {
  .bd { grid-area: 3 / 1 / 4 / -1; padding-left: 0; }
}




.bd[hidden] { display: none; }
.bd__lines { display: flex; flex-direction: column; gap: 7px; }


.bd__line { display: grid; grid-template-columns: 136px 1fr 22px; gap: 12px; align-items: center; font-size: 13px; }
.bd__name { color: var(--ink-dim); }
.bd__bar { display: flex; height: 3px; border-radius: 1px; overflow: hidden; background: var(--line); }




.srow[data-row='topic'] .bd .fill:not(.fill--rest) { background: var(--ink); }
.bd__num {
  font-family: var(--mono); font-size: 12px; color: var(--ink);
  font-variant-numeric: tabular-nums; text-align: right;
}



.bd__bar--split { margin-bottom: 2px; }









.bd__bar--split .seg + .seg { box-shadow: inset 1px 0 0 var(--paper); }


.bd__line--out { grid-template-columns: 11px 1fr auto; gap: 9px; }
.bd__line--out .seg { width: 11px; height: 3px; border-radius: 1px; }



.seg { display: block; height: 100%; }
.seg--ok { background: var(--ok); }
.seg--hint { background: color-mix(in srgb, var(--ok) 40%, var(--paper)); }













.seg--none { background: var(--ink-faint); }


.bd__said { font-size: 12.5px; color: var(--ink-dim); }
@media (max-width: 560px) {
  .bd__line { grid-template-columns: 1fr 22px; }
  .bd__name { grid-area: 1 / 1; }
  .bd__num { grid-area: 1 / 2; }
  .bd__bar { grid-area: 2 / 1 / 3 / -1; }



  .bd__line--out { grid-template-columns: 11px 1fr auto; }
  .bd__line--out .seg { grid-area: auto; }
  .bd__line--out .bd__name { grid-area: auto; }
  .bd__line--out .bd__num { grid-area: auto; }
}

del { background: var(--del-bg); color: var(--ink-dim); text-decoration: line-through; text-decoration-thickness: 1px; border-radius: 2px; padding: 1px 2px; }
ins { background: var(--ins-bg); text-decoration: none; border-radius: 2px; padding: 1px 2px; }










.difftabs {
  display: flex; gap: 18px; justify-content: center;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  margin: 14px 0 24px;
}
.difftabs button {
  font: inherit; background: none; border: 0; padding: 0 0 1px;
  color: var(--ink-faint); cursor: pointer;




  min-height: 44px; display: inline-flex; align-items: center; position: relative;
}






.difftabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; z-index: 0; }







.difftabs button[aria-selected="true"]::before {
  content: ""; position: absolute; z-index: -1;
  left: -4px; right: -4px; top: 50%; height: .95em;
  transform: translateY(-46%);
  background: var(--marker); border-radius: 2px;
}




.screen[data-screen='result'] .write-col {
  font-family: var(--mono); font-size: 18px; line-height: 1.75;
  max-width: 68ch;
}
:where(.screen[data-screen='result'] .write-col) > :where(*) {
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
}



.report { display: flex; flex-direction: column; gap: 30px; }



.report > [data-notes='none'] { display: none; }



.report > [data-notes='some'] { margin-bottom: 6px; }


.block { display: flex; flex-direction: column; gap: 10px; }






.coach {
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--marker) 25%, var(--paper));
  padding: 14px 18px 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--ink-dim);
}
.coach strong { color: var(--ink); }

.sec-label {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
}





.prose {
  font-family: var(--mono); font-size: 18px; line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  max-width: 68ch; width: 100%; margin-inline: auto;
}





.screen[data-screen='result'] .write-col:has(.report),
.report .prose {
  font-size: 15.5px; line-height: 1.65;
}








.rows {
  display: flex; flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.row {
  position: relative;
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 0 12px 14px;
  font-size: 14px;
  text-align: left; width: 100%;
  font-family: inherit; color: inherit;
  background: none; border: 0;
  cursor: pointer;
}
.row::before {
  content: "";
  position: absolute; left: -17.5px; top: 18px;
  width: 9px; height: 9px; box-sizing: border-box;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--field-line);
}


.row.is-today::before { background: var(--accent-ink); border-color: var(--accent-ink); }





.row:hover .row__title { color: var(--accent-hover); }
.row__date { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); width: 58px; flex-shrink: 0; }



.row__title { font-weight: 400; color: var(--ink-dim); flex: 1; min-width: 0; }
.row__meta { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }




@media (max-width: 560px) {
  .row { flex-wrap: wrap; row-gap: 2px; }
  .row .row__meta { flex-basis: 100%; padding-left: 72px; }
}




.said {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}






















.notice[data-notice] {
  position: fixed; left: 0; right: 0; top: 0; z-index: 7;
  max-width: 960px; margin-inline: auto;
  border-radius: 0 0 8px 8px;
}





@media (max-width: 560px) {
  .notice[data-notice] { right: 52px; border-radius: 0 0 8px 0; }
}

















.waiting {
  position: absolute; inset: 0; z-index: 6;
  display: flex; justify-content: center;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  opacity: 0; visibility: hidden;
  animation: waiting-in .22s ease .15s forwards;
}
.waiting:focus-visible { outline: none; }
@keyframes waiting-in { to { opacity: 1; visibility: visible; } }






.waiting__panel {
  position: sticky; top: 38vh; align-self: flex-start;
  display: flex; align-items: center; gap: 10px;
  max-width: min(420px, calc(100% - 40px));
  padding: 9px 20px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--sheet);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--ink) 10%, transparent);
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-dim);
}












.waiting__dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--accent);
  transition: background .5s ease;
}
.waiting__panel[data-tone="grammar"] .waiting__dot { background: var(--grammar); }
.waiting__panel[data-tone="word"] .waiting__dot { background: var(--word); }
.waiting__panel[data-tone="style"] .waiting__dot { background: var(--style); }
.waiting__panel[data-tone="notes"] .waiting__dot { background: var(--accent-ink); }





.waiting__label { transition: opacity .35s ease; }
.waiting__label.is-out { opacity: 0; }


.waiting__sweep { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.waiting__sweep::before {
  content: ""; position: absolute; left: 0; right: 0; height: 38%;
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--accent) 13%, transparent),
    transparent
  );
  animation: waiting-sweep 2.4s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes waiting-sweep {
  from { transform: translateY(-100%); }
  to { transform: translateY(300%); }
}



@media (prefers-reduced-motion: reduce) {
  .waiting { animation-delay: .15s; animation-duration: .01s; }
  .waiting__sweep { display: none; }



  .waiting__label, .waiting__dot { transition: none; }
}


.notice {
  border: 1px solid color-mix(in srgb, var(--grammar) 30%, var(--line));
  background: color-mix(in srgb, var(--grammar) 6%, var(--paper));
  border-radius: 8px; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
}
.notice__actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}















.signin-step { display: flex; flex-direction: column; align-items: center; width: 100%; }
.signin-step[hidden] { display: none; }


.landing__note--one { margin: 22px 0 36px; }


.signin { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.signin .btn { width: 100%; }
.signin .sentto { justify-content: center; }
.signin__note, .signin .authquiet { text-align: center; text-wrap: balance; }


.signin .authquiet span { white-space: nowrap; }

.signin__title { font-size: clamp(30px, 4.6vw, 44px); }


.authform { display: flex; flex-direction: column; gap: 14px; }



.authform[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }




.field[hidden] { display: none; }
.field__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint);
}
.field input {
  font-family: var(--sans); font-size: 15px; padding: 11px 13px;




  border: 1px solid var(--field-line); border-radius: 10px;
  background: var(--sheet); color: var(--ink);
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.authnote { font-size: 12.5px; color: var(--ink-dim); }






.sentto { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13.5px; color: var(--ink-dim); }
.sentto b { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: 13px; }








.codefield input {
  width: 100%; min-width: 0;
  font-family: var(--mono); font-size: 21px; letter-spacing: .34em; text-align: center;
  padding: 13px 13px 13px 21px;
}





.signedin { max-width: 380px; width: 100%; justify-content: center; margin-bottom: 28px; }

.authquiet { font-size: 12.5px; color: var(--ink-faint); }
.autherror { font-size: 13px; color: var(--grammar); }
















.fb-layer { display: contents; }




.fb { z-index: 9; }
.fb-scrim { z-index: 8; }
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fb-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.fb-field { min-height: 8.25em; }

.fb-mail {
  width: 100%;
  font-family: var(--sans); font-size: 15px; padding: 11px 13px;
  border: 1px solid var(--field-line); border-radius: 10px;
  background: var(--sheet); color: var(--ink);
}
.fb-mail::placeholder { color: var(--ink-faint); }
.fb-mail:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.fb-with { font-size: 13px; line-height: 1.5; color: var(--ink-faint); }


.fb-failed { font-size: 13px; color: var(--grammar); }
.fb--thanks { gap: 18px; }




.ask {
  background: color-mix(in srgb, var(--marker) 25%, var(--paper));
  border-radius: 10px; padding: 14px 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.ask__q { font-size: 15.5px; font-weight: 600; text-align: center; }


.ask-field { min-height: 4.4em; }
.ask .btn { align-self: center; }


.ask-thanks { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); text-align: center; }




.tell { font: inherit; color: var(--accent-ink); background: none; border: 0; padding: 0; cursor: pointer; }
.tell:hover { color: var(--accent-hover); text-decoration: underline; }














.admin__here { font-family: var(--mono); font-size: 13px; color: var(--ink-faint); }




.admintabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.admintab {
  font-family: var(--mono); font-size: 13px; background: none; border: 0;
  border-bottom: 2px solid transparent; padding: 10px 14px; min-height: 44px;
  color: var(--ink-dim); cursor: pointer;
}
.admintab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.admintab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }



.pane[hidden] { display: none; }


.search { display: flex; margin-bottom: 12px; }
.search input {
  width: 100%; min-width: 0; min-height: 40px; font-family: var(--mono); font-size: 13px;
  padding: 6px 13px; border: 1px solid var(--field-line); border-radius: 999px;
  background: var(--sheet); color: var(--ink);
}
.search input::placeholder { color: var(--ink-faint); }
.search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }



.notes { display: flex; flex-direction: column; gap: 10px; }
.note { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.note__meta {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); margin-bottom: 6px;
}
.note__who { color: var(--ink-dim); font-weight: 600; }
.note__door { margin-left: auto; }
.note__text { margin: 0; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.note__came { margin: 8px 0 0; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.note__more {
  margin: 8px 0 0; font-family: var(--mono); font-size: 11.5px; color: var(--accent-ink);
  background: none; border: 0; padding: 4px 0; min-height: 32px; cursor: pointer; text-align: left;
}
.note__more:hover { color: var(--accent-hover); text-decoration: underline; }
.note__more:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.note__at-length { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.note__where { margin: 0 0 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); }


.note__day {
  margin: 0; white-space: pre-wrap; font-family: var(--sans); font-size: 13.5px;
  line-height: 1.55; color: var(--ink-dim);
}
@media (max-width: 560px) { .note__door { margin-left: 0; } }





.tail {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); text-align: center;
}
.tail[hidden] { display: none; }
