
@import url('/assets/fonts/dm-sans.css');500;600;700&display=swap');
:root{--ink:#222;--muted:#7d7a75;--line:#dcebf3;--blue:#83c0df}*{box-sizing:border-box}body{margin:0;background:#f7faff;color:var(--ink);font:14px/1.6 'DM Sans',sans-serif}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button,a,input,select{outline-color:var(--blue)}[hidden]{display:none!important}aside{position:fixed;inset:0 auto 0 0;width:218px;padding:24px 14px;background:#fff;border-right:1px solid var(--line);overflow:auto;scrollbar-width:thin;scrollbar-color:#d5e7f1 transparent}aside::-webkit-scrollbar{width:4px}aside::-webkit-scrollbar-thumb{background:#d5e7f1;border-radius:8px}.nav-group{font-size:12px;font-weight:700;color:#444;margin:22px 10px 7px;padding-top:17px;border-top:1px solid var(--line)}.nav-group:first-child{margin-top:0;border:0;padding-top:0}.nav-item{display:block;width:100%;border:0;border-radius:8px;background:none;text-align:left;padding:8px 12px;margin:2px 0;color:var(--muted);font-size:13px;line-height:1.5}.nav-item.active{background:#edf5fa;color:#222;font-weight:600}.nav-item:hover{background:#f3f8fc}.workspace{margin-left:218px;padding:0 32px 48px}.top{max-width:1220px;margin:auto;position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:14px;padding:14px 0;background:#f7fafff5;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}select,input{min-width:0;background:#fff;border:1px solid #dcebf3;border-radius:12px;padding:10px 13px;font-size:13px;min-height:42px}#topics{appearance:none;color:var(--muted);max-width:330px;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12' fill='none'%3E%3Cpath d='M2 3L9 10L16 3' stroke='%2383C0DF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:14px 10px;background-position:right 14px center}#search{width:270px;margin-left:auto}main{max-width:1220px;margin:22px auto}.page-heading{margin-bottom:22px}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:4px}h1{font-size:23px;line-height:1.4;margin:0;font-weight:600;letter-spacing:-.4px}h1:focus{outline:none}.section,.subsection{margin-bottom:32px}.section-title{font-size:21px;margin:0 0 19px}.subsection-title{font-size:18px;margin:0 0 16px}.entry{margin:0 0 26px}.entry-heading{margin-bottom:9px;display:flex;align-items:center}.entry-title{font-size:14px;font-weight:600;line-height:1.6;margin:0}.entry-description{color:var(--muted);font-size:13px;margin:0 0 10px;max-width:850px}.pattern{border:1px solid #dcebf3;border-radius:12px;overflow:hidden;background:#fff;margin-bottom:9px}.pattern-meta{display:flex;justify-content:flex-end;min-height:26px;padding:4px 12px;background:#f5f9fc;border-bottom:1px solid #dcebf3}.type-labels{display:inline-flex;gap:4px;flex-wrap:wrap;align-items:center}.type-label{font-size:11px;line-height:1.5;font-weight:500;padding:1px 6px;border-radius:5px;border:1px solid transparent;white-space:nowrap}.verbs{background:#f0e7fb;color:#62418e;border-color:#e7dcf6}.adjectives{background:#fff0e4;color:#97502a;border-color:#f3dfd2}.nouns{background:#e5f5eb;color:#276044;border-color:#d7e9dc}.pattern-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}.rule-and-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;background:#edf6fc;height:100%;padding:14px 0}.ending,.rule{min-width:0;padding:0 16px}.ending,.ending *{font-style:normal!important;font-weight:700;color:#222}.ending .rich,.ending .rich>div{font-size:17px!important;line-height:1.6}.rule{border-left:1px solid #dcebf3;color:var(--muted)}.rule .rich,.all-rule{font-size:12px;line-height:1.65;color:var(--muted)}.rich{overflow-wrap:anywhere;font-size:14px;line-height:1.65}.rich strong{font-weight:700}.rich>div{min-height:1.5em}.examples{min-width:0;padding:13px 17px;border-left:1px solid #dcebf3}.example{padding:0 0 9px;margin:0 0 9px;border-bottom:1px solid #dcebf3}.example:last-child{border:0;padding:0;margin:0}.examples .rich>div{font-size:14px!important;line-height:1.65}.examples .rich span[style*="font-size:13px"]{font-size:12px!important;color:var(--muted)!important}.rich span[style*="color:#387dc9"],.entry-title span[style*="color:#387dc9"],h1 span[style*="color:#387dc9"]{color:var(--muted)!important}.guide-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.5;text-align:left;background:#fff;border:1px solid #dcebf3;border-radius:7px;color:var(--muted);padding:5px 7px;max-width:100%}.guide-link svg{width:14px;height:14px;flex:none}.guide-link:hover{border-color:var(--blue)}.prose{padding:15px;background:white;border:1px solid var(--line);border-radius:12px}.prose h4{margin:0 0 8px}.drop-letter{display:inline-block;position:relative;vertical-align:super;width:5px;height:5px;min-width:5px;padding:0;margin-left:3px;border:0;border-radius:50%;background:var(--blue);color:transparent;line-height:0}.drop-letter::before{content:'';position:absolute;inset:-8px;border-radius:50%}.drop-letter:focus{outline:2px solid #dcecf6;outline-offset:3px}#tooltip{position:fixed;background:white;border:1px solid var(--line);color:#555;border-radius:8px;padding:8px 11px;box-shadow:0 5px 20px #20374912;max-width:260px;font-size:12px;line-height:1.5;z-index:20;pointer-events:none}.empty{padding:24px 0;color:var(--muted)}#clear-search{border:0;background:none;text-decoration:underline}#browse{display:none}#browse-dialog{border:1px solid var(--line);border-radius:18px;padding:18px;max-height:85dvh;width:min(420px,calc(100% - 24px));background:#fff;overflow:auto;scrollbar-width:thin;scrollbar-color:#d5e7f1 transparent}#browse-dialog::backdrop{background:#20374945;backdrop-filter:blur(5px)}.browse-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:14px}.browse-heading h2{font-size:17px;margin:0}.browse-heading button{border:0;border-radius:50%;background:#f0f6fa;width:34px;height:34px;font-size:24px}
@media(max-width:1000px){.workspace{padding:0 22px 40px}.pattern-body{grid-template-columns:1fr 1fr}.ending,.rule{padding:0 12px}}@media(max-width:850px){aside{display:none}.workspace{margin-left:0;padding:0 18px 36px}.top{gap:9px;flex-wrap:wrap;padding:11px 0}#browse{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 11px;min-height:42px;font-size:13px}#browse svg{width:17px;height:17px}#topics{margin-left:auto;max-width:calc(100% - 112px)}#search{width:100%;margin:0}main{margin-top:19px}.page-heading{margin-bottom:18px}h1{font-size:21px}.pattern-body{grid-template-columns:1fr}.rule-and-form{padding:12px 0}.examples{border-left:0;border-top:1px solid #dcebf3;padding:12px 14px}.ending,.rule{padding:0 14px}.entry{margin-bottom:23px}.nav-item{min-height:42px}.pattern-meta{padding-right:10px}.ending .rich,.ending .rich>div{font-size:16px!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Group related forms into one quiet reference surface. */
.entry{margin-bottom:46px}.entry-heading{justify-content:space-between;gap:12px;margin-bottom:12px}.section,.subsection{margin-bottom:48px}.pattern-group{border:1px solid #dcebf3;border-radius:12px;overflow:hidden;background:#fafcfe}.pattern{border:0;border-radius:0;margin:0;background:#fafcfe}.pattern+.pattern{border-top:1px solid #dcebf3}.rule-and-form{background:#fafcfe;padding:0;align-content:stretch}.ending,.rule{padding:14px 16px}.rule{border-left:1px solid #dcebf3}.examples{background:#fafcfe}.ending>.type-labels{display:flex;justify-content:flex-end;margin-bottom:7px}.nav-item span[style*="color:"]{color:var(--muted)!important}.entry-heading .type-labels{flex-shrink:0}.pattern-meta{display:none}@media(max-width:850px){.entry{margin-bottom:38px}.rule-and-form{padding:0}.ending,.rule{padding:12px 14px}.section,.subsection{margin-bottom:40px}}

.entry-title{font-size:17px;line-height:1.5}.section-title{font-size:24px}.subsection-title{font-size:20px}h1{font-size:25px}.ending{display:flex;flex-direction:column;gap:16px;justify-content:space-between}.ending>.type-labels{justify-content:flex-start;margin:0;padding-top:3px}.ending .type-label{font-size:11px;font-weight:500;min-width:21px;text-align:center}.pattern-body+.pattern-body{border-top:1px solid #dcebf3}.guide-link{gap:0}.rule-and-form{height:100%}@media(max-width:850px){h1{font-size:23px}.section-title{font-size:22px}.subsection-title{font-size:19px}.entry-title{font-size:16px}.ending{min-height:90px}}

.type-label,.ending .type-label{font-size:9px;line-height:1.3;min-width:15px;padding:1px 4px;border-radius:4px}.type-labels{gap:3px}.conjugation-entry .entry-heading .type-labels{margin-left:auto}.conjugation-entry .ending{display:block}.conjugation-entry .ending .form-text{height:auto}.regular-slash{font-weight:400!important}.nav-parent{font-weight:600;color:#333;margin-top:17px}.nav-subitem{font-size:12px;margin-left:10px;padding-left:15px;width:calc(100% - 10px);border-left:1px solid #dcebf3;border-radius:0 7px 7px 0}.entry{scroll-margin-top:100px}

.regular-slash,.ending .regular-slash{color:#7d7a75!important;font-weight:400!important}.guide-link span,.guide-link span span{color:#7d7a75!important;font-weight:400!important}.ending .type-label.verbs{color:#62418e!important}.ending .type-label.adjectives{color:#97502a!important}.ending .type-label.nouns{color:#276044!important}.nav-subitem.active{background:#edf5fa;color:#222;border-left-color:#dcebf3;font-weight:600}.entry-title,h1{border-radius:5px}

.general-guide-entry .entry-heading{justify-content:flex-start;gap:9px}.general-guide-entry .entry-heading .type-labels{margin-left:0}.dictionary-form{display:table;margin:0 0 5px;padding:2px 7px;border:1px solid #dcebf3;border-radius:5px;background:#f1f6fa;color:#7d7a75;font-size:11px!important;line-height:1.5;font-weight:400!important}#search{padding-left:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2383c0df' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='7'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:12px center;background-size:17px}

body{background:#f1f8fc}.top{background:rgba(241,248,252,.97)}.nav-group{color:#7d7a75;font-weight:500;font-size:12px}.dictionary-form{float:right;display:inline;margin:0 0 0 14px;padding:0;border:0;border-radius:0;background:transparent;color:#222;font-size:12px!important;line-height:1.65;font-weight:400!important}.examples .rich>div:has(.dictionary-form){display:flow-root}.dictionary-form .regular-slash{color:#7d7a75!important}
body,button,input,select,textarea{font-family:'DM Sans',sans-serif}.dictionary-form{border:0;background:#edf4f8;border-radius:5px;padding:2px 7px;margin-left:12px;line-height:1.4!important;color:#222}.entry-title,h1{padding:6px 11px;margin-left:-11px;border-radius:7px}.entry-heading{align-items:center}

.parenthetical-note,.ending .parenthetical-note,.ending .parenthetical-note *,.entry-title .parenthetical-note{font-size:12px!important;line-height:1.55;color:#7d7a75!important;font-weight:400!important;font-style:normal!important}.parenthetical-note .regular-slash{font-size:inherit!important}

#topic-picker{position:relative;min-width:0;width:430px;max-width:60%}#topic-trigger{width:100%;min-height:42px;text-align:left;border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 40px 10px 13px;font-size:13px;color:var(--muted);position:relative}#topic-trigger::after{content:'';position:absolute;right:16px;top:15px;width:9px;height:9px;border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(45deg)}#topic-menu{position:absolute;top:calc(100% + 8px);left:0;width:min(740px,calc(100vw - 280px));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 12px 32px #20374915;overflow:hidden;z-index:12}#topic-list,#topic-sections{max-height:min(65dvh,540px);overflow:auto;scrollbar-width:thin;scrollbar-color:#d5e7f1 transparent;padding:7px}#topic-sections{border-left:1px solid var(--line);background:#fafcfe}.topic-option,.topic-section-option{display:block;width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:13px 12px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.topic-option:last-child,.topic-section-option:last-child{border-bottom:0}.topic-option.active,.topic-option:hover,.topic-option:focus-visible,.topic-section-option:hover{background:#edf5fa;border-radius:7px}.topic-menu-title{font-size:12px;color:var(--muted);padding:8px 12px;border-bottom:1px solid var(--line);margin:0}.topic-section-option[aria-current=page]{background:#edf5fa;border-radius:7px}@media(max-width:850px){#topic-picker{margin-left:auto;max-width:calc(100% - 100px);width:430px}#topic-menu{position:fixed;top:65px;left:12px;width:calc(100vw - 24px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.topic-option,.topic-section-option{padding:12px 9px;font-size:12px}#topic-list,#topic-sections{max-height:65dvh}}

.rule{display:flex;flex-direction:column;justify-content:space-between;gap:16px}.rule>.type-labels{margin:0;padding-top:3px;align-self:flex-start}.rule-text{min-width:0}.conjugation-entry .rule{display:block}#topic-picker{width:250px}#topic-menu{width:min(600px,calc(100vw - 280px));grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr)}@media(max-width:850px){#topic-picker{width:250px}#topic-menu{width:calc(100vw - 24px);grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}}

/* Keep each heading and its explanatory subtitle together. */
.entry-heading{margin-bottom:2px}.entry-title{padding-bottom:2px}.entry-description{margin:0 0 13px;line-height:1.5}.section-title{margin-bottom:10px}.subsection-title{margin-bottom:8px}.section>.subsection:first-of-type{margin-top:0}.dictionary-form.verbs{background:#f0e7fb;color:#62418e!important}.dictionary-form.adjectives{background:#fff0e4;color:#97502a!important}.dictionary-form.nouns{background:#e5f5eb;color:#276044!important}

.type-label,.ending .type-label{border:0}.question-entry .parenthetical-note,.question-entry .parenthetical-note *{font-size:12px!important;font-weight:400!important;font-style:normal!important;color:#7d7a75!important}.question-entry .form-text .rich>div:has(>.parenthetical-note:only-child){font-size:12px!important;line-height:1.55!important}

.question-entry .ending .rich>div.form-annotation,.question-entry .ending .rich .form-annotation *{font-size:12px!important;font-weight:400!important;color:#7d7a75!important;font-style:normal!important;line-height:1.55!important}.question-entry .ending .rich>div.form-annotation{min-height:0;margin-top:2px}

.question-entry .rich>div.form-annotation,.question-entry .rich>div.form-annotation *,.question-entry .table-annotation{font-size:12px!important;font-weight:400!important;font-style:normal!important;color:#7d7a75!important;line-height:1.55!important}.question-entry .rich>div.form-annotation{min-height:0}
.sentence-audio{cursor:pointer;border-radius:4px;transition:color .15s}.sentence-audio:hover,.sentence-audio:focus-visible,.sentence-audio.is-speaking{color:#55839a}.sentence-audio:hover strong,.sentence-audio:focus-visible strong,.sentence-audio.is-speaking strong{color:inherit}.sentence-audio:focus-visible{outline:2px solid #83c0df;outline-offset:3px}.audio-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#fafcfe;border:1px solid #dcebf3;border-radius:10px;padding:10px 16px;font-size:13px;z-index:100}
#guide-dialog{width:min(780px,calc(100% - 28px));max-height:88dvh;border:1px solid var(--line);border-radius:18px;padding:22px;background:#f1f8fc;color:var(--ink);overflow:auto;scrollbar-width:thin;scrollbar-color:#d5e7f1 transparent}#guide-dialog::backdrop{background:#20374945;backdrop-filter:blur(5px)}#guide-dialog .browse-heading{position:sticky;top:-22px;padding-top:12px;background:#f1f8fc;z-index:2}#guide-content .entry:last-child{margin-bottom:0}@media(max-width:600px){#guide-dialog{padding:14px;width:calc(100% - 16px)}#guide-dialog .browse-heading{top:-14px}}
.rule .rich,.rule .rich>div,.rule .rich span{font-size:12px!important;font-weight:400!important;color:var(--muted)}#guide-dialog .browse-heading{justify-content:flex-end;border-bottom:0;margin-bottom:6px;padding-bottom:0}#guide-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#tooltip{z-index:30}
#guide-dialog{overflow:hidden}#guide-dialog .browse-heading{position:relative;top:0;padding-top:0;flex-shrink:0}#guide-content{max-height:calc(88dvh - 88px);overflow-y:auto;overflow-x:hidden;border-radius:0;padding:2px 6px 4px 0;scrollbar-width:thin;scrollbar-color:#d5e7f1 transparent}#guide-content::-webkit-scrollbar{width:4px}#guide-content::-webkit-scrollbar-thumb{background:#d5e7f1;border-radius:8px}#guide-content::-webkit-scrollbar-button{display:none;width:0;height:0}#guide-content .entry-title{display:none}#guide-content .entry-heading{justify-content:flex-end;margin-bottom:6px}.browse-heading button{display:grid;place-items:center;background:transparent;color:var(--blue);flex-shrink:0}.browse-heading button:hover{background:#e7f1f7}.browse-heading button svg{width:18px;height:18px}.guide-separator{height:8px}#topic-list,#topic-sections{min-width:0;overflow-x:hidden}@media(max-width:850px){#topic-picker{flex:1;width:auto;max-width:none;min-width:0}#browse{flex-shrink:0}#topic-menu{position:absolute;top:calc(100% + 8px);left:auto;right:0;width:calc(100vw - 36px);max-width:calc(100vw - 36px)}#topic-trigger{overflow-wrap:anywhere}#guide-content{max-height:calc(88dvh - 72px)}}
.search-topic{margin-bottom:48px}.search-topic-title{font-size:14px;font-weight:500;color:var(--muted);margin:0 0 20px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.search-field{position:relative;width:270px;margin-left:auto;min-width:0}.search-field #search{width:100%;margin:0;padding-right:40px}#search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}#search-reset{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:var(--blue);padding:7px}#search-reset svg{width:18px;height:18px}#search-reset:hover{background:#edf5fa}@media(max-width:850px){.search-field{width:100%;flex-basis:100%;margin:0}}
@media(max-width:850px){#topic-menu{padding:8px 6px;overflow:hidden;isolation:isolate}#topic-list,#topic-sections{max-height:calc(65dvh - 16px);overscroll-behavior:contain}#browse-dialog{overflow:hidden}#mobile-nav{max-height:calc(85dvh - 100px);overflow-y:auto;overflow-x:hidden;padding-right:6px;scrollbar-width:thin;scrollbar-color:#d5e7f1 transparent;overscroll-behavior:contain}#mobile-nav::-webkit-scrollbar,#topic-list::-webkit-scrollbar,#topic-sections::-webkit-scrollbar{width:4px}#mobile-nav::-webkit-scrollbar-thumb,#topic-list::-webkit-scrollbar-thumb,#topic-sections::-webkit-scrollbar-thumb{background:#d5e7f1;border-radius:8px}#mobile-nav::-webkit-scrollbar-button,#topic-list::-webkit-scrollbar-button,#topic-sections::-webkit-scrollbar-button{display:none;width:0;height:0}}
.focus-label{display:inline-flex;align-items:center;gap:7px}.focus-star{width:15px;height:15px;flex:none;vertical-align:-2px}
