/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.isolate{isolation:isolate}.contents{display:contents}.hidden{display:none}.table{display:table}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#243a34;font-synthesis:none;text-rendering:optimizelegibility;background:#f7f5ee;font-family:Noto Sans JP,Yu Gothic,Meiryo,sans-serif;line-height:1.7}*{box-sizing:border-box}body{min-width:320px;margin:0}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed}button:focus-visible{outline-offset:4px;outline:3px solid #9c6f16}h1,h2,p{margin:0}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.app-shell{max-width:820px;margin:auto;padding:0 24px 120px}.pwa-banner{max-width:820px;padding:max(8px, env(safe-area-inset-top)) 24px 0;margin:auto}input,select,textarea{font:inherit;font-size:16px}.app-shell{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.brand{align-items:center;gap:12px;padding:26px 0;font-weight:700;display:flex}.brand-mark{color:#ead69e;background:#314f46;border-radius:14px;place-items:center;width:44px;height:44px;font-family:serif;font-size:25px;display:grid}.brand small{letter-spacing:.14em;font-size:11px;font-weight:400;display:block}.stage-badge{white-space:nowrap;background:#eae6db;border-radius:20px;margin-left:auto;padding:5px 9px;font-size:11px}.pwa-status{color:#53675f;flex-wrap:wrap;align-items:center;gap:12px;min-height:32px;font-size:12px;display:flex}.pwa-status button,.text-button{color:#314f46;background:0 0;border:1px solid #71857a;border-radius:8px;min-height:44px;padding:5px 14px}.welcome{padding:42px 0 34px}.eyebrow{letter-spacing:.18em;color:#82641d;margin-bottom:14px;font-size:11px;font-weight:700}h1{letter-spacing:.04em;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:clamp(29px,6vw,46px);font-weight:600;line-height:1.5}.welcome>p:not(.eyebrow){color:#5b6b63;margin-top:20px;font-size:14px}.preparation{background:#e9ede5;border-radius:20px;align-items:center;gap:8px;margin-top:28px;padding:7px 13px;font-size:12px;display:inline-flex}.learning-panel{background:#fffef9;border:1px solid #e3e3d8;border-radius:18px;padding:24px}h2{font-size:17px;font-weight:700}.learning-panel p{color:#586b61;margin-top:8px;font-size:13px}.learning-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;display:grid}.learning-actions button{text-align:left;color:#66756e;background:#edf0e9;border:1px solid #d8dfd4;border-radius:12px;padding:18px}.learning-actions span{font-size:16px;font-weight:600;display:block}.learning-actions small{margin-top:4px;font-size:11px;display:block}.quiet-note{color:#66746c;margin:20px 4px;font-size:11px;line-height:1.8}.bottom-nav{width:min(100%,820px);padding:10px 12px max(12px, env(safe-area-inset-bottom));z-index:2;background:#fffef9;border-top:1px solid #e1e3d9;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#66746c;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:1px;min-height:56px;font-size:11px;display:flex}.bottom-nav button span{font-size:22px;line-height:1.2}.bottom-nav button[aria-current]{color:#264b3e;background:#e9eee4;font-weight:700}.page-placeholder{margin-top:30px}.text-button,.section-title{margin-top:24px}.file-label{margin-top:20px;font-size:13px;display:block}.file-label input{background:#fff;border:1px solid #9da99f;border-radius:8px;width:100%;min-height:44px;margin-top:8px;padding:12px;display:block}.file-label input:focus-visible{outline-offset:2px;outline:3px solid #9c6f16}.import-preview{background:#edf0e9;border-radius:12px;margin-top:20px;padding:18px}.import-preview .text-button+.text-button{margin-left:12px}.learning-panel .error-message{color:#9b2424;border-left:3px solid #9b2424;padding-left:10px}.saved-sets,.word-list{margin-top:16px;padding:0;list-style:none}.saved-sets li,.word-list li{overflow-wrap:anywhere;border-bottom:1px solid #d8dfd4;padding:18px 0}.word-list small{color:#53675f;font-size:12px}.word-list summary{cursor:pointer;min-height:44px;padding-top:10px;font-size:13px}.study-options{grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;display:grid}.study-options label{min-width:0;font-size:13px}.study-options select,.study-options input:not([type=checkbox]){color:#243a34;background:#fff;border:1px solid #8c9d91;border-radius:8px;width:100%;min-height:44px;padding:10px;display:block}.study-options .checkbox-label{align-items:center;gap:10px;display:flex}.privacy-notice{background:#edf0e9;border-radius:10px;padding:16px;margin-top:24px!important}.flashcard{color:#243a34;touch-action:pan-y;overflow-wrap:anywhere;background:#edf0e9;border:1px solid #c9d5c6;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:20px;width:100%;min-height:200px;margin-top:24px;padding:24px;display:flex}.flashcard .card-prompt{font-size:clamp(24px,6vw,38px)}.flashcard small{font-size:12px}.card-answer{overflow-wrap:anywhere;border-left:3px solid #9c7c29;margin-top:20px;padding:20px}.rating-buttons{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;display:grid}.rating-buttons button{color:#243a34;background:#eef2e8;border:1px solid #829780;border-radius:10px;min-height:52px;padding:10px 4px;font-size:13px}.rating-buttons button:disabled,.text-button:disabled{opacity:.5;cursor:not-allowed}.study-navigation{justify-content:space-between;gap:12px;display:flex}.primary-button{color:#fff;background:#314f46}@media (width<=480px){.study-options{grid-template-columns:1fr}}@media (width<=400px){.app-shell{padding-left:18px;padding-right:18px}.brand{gap:9px}.learning-panel{padding:20px}.learning-actions button{padding:13px}}.quiz-prompt{overflow-wrap:anywhere;margin-block:1.5rem;font-size:clamp(1.7rem,5vw,2.5rem)}.quiz-choices{border:0;gap:.75rem;margin-block:1rem;padding:0;display:grid}.quiz-choices legend{margin-bottom:.75rem}.quiz-choices label{overflow-wrap:anywhere;border:1px solid #b9c8bd;border-radius:12px;align-items:center;gap:.8rem;min-height:48px;padding:1rem;display:flex}.quiz-choices label:has(input:checked){background:#e7eee3;border-color:#34584d}.quiz-choices input{accent-color:#34584d;flex-shrink:0}.quiz-score{font-size:1.8rem;font-weight:700}details{margin-block:1rem}summary{cursor:pointer;padding:.8rem}.analysis-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin-block:1rem;display:grid}.analysis-grid article{background:#edf0e8;border-radius:14px;padding:1rem}.analysis-table{max-width:100%;margin-block:1rem;overflow-x:auto}.analysis-table table{border-collapse:collapse;width:100%;font-size:.9rem}.analysis-table th,.analysis-table td{text-align:left;border-bottom:1px solid #d8ded4;padding:.65rem}.history-analysis h3{margin-block:1.3rem .6rem;font-weight:700}.history-analysis select{border:1px solid #b9c8bd;border-radius:10px;width:100%;max-width:100%;margin-block:.5rem;padding:.75rem;display:block}.analysis-table table{min-width:440px}.history-analysis input:not([type=checkbox]):not([type=radio]),.history-analysis textarea{border:1px solid #b9c8bd;border-radius:8px;width:100%;max-width:100%;margin-block:.5rem;padding:.7rem;display:block}.history-analysis h2{margin-block:1.5rem .75rem;font-weight:700}
