:root{font-family:-apple-system,BlinkMacSystemFont,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;color:#263c33;background:#f7f8f4;font-synthesis:none;-webkit-font-smoothing:antialiased;--green: #315d48;--ink: #263c33;--muted: #66756b;--line: #e0e6df}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.38}button,input{transition:background-color .16s,border-color .16s,box-shadow .16s}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #86ad8f;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.97)}button svg{flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-100px;left:24px;z-index:5;padding:12px;background:#fff;color:var(--green)}.skip-link:focus{top:12px}.app-shell{max-width:1440px;padding:0 56px;margin:auto}.site-header{height:91px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:36px;font-weight:700;letter-spacing:-2px}.brand-period{color:#8eae8f}.brand-mark{width:31px;height:39px;border-radius:7px;background:var(--green);display:grid;place-items:center}.brand-mark .dot-cell{grid-template-columns:repeat(2,4px);gap:3px}.brand-mark .dot-cell span{width:4px;height:4px;background:#72917c}.brand-mark .dot-cell span.raised{background:#f3f6eb}.header-right{display:flex;align-items:center;gap:32px}.local-label{font-size:12px;color:var(--muted);letter-spacing:.06em;display:flex;align-items:center;gap:8px}.local-label>span{width:6px;height:6px;background:#7c9b7e;border-radius:50%;display:inline-block}.help-button{background:transparent;border:0;display:flex;align-items:center;gap:7px;padding:8px 0 8px 8px;font-size:12px}.workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;align-items:start;margin-top:24px}.editor-column{min-width:0}.document-card{border:1px solid #dce3db;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 6px 22px #31492f05}.document-heading{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.document-name{display:flex;align-items:center;gap:12px;min-width:0}.document-name>div{min-width:0}.document-icon{display:flex;color:#718273}.document-name input{min-width:0;width:230px;max-width:100%;border:0;background:transparent;color:var(--ink);font-size:15px;font-weight:600;padding:3px 0;text-overflow:ellipsis}.document-name input:focus{background:#f2f6ef;border-radius:3px}.save-status{display:flex;align-items:center;gap:3px;font-size:10px;color:#72826d;margin:5px 0 0}.file-actions{display:flex;gap:10px;flex-shrink:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:1px solid transparent;border-radius:7px;padding:10px 14px;font-size:12px;font-weight:500;white-space:nowrap}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.quiet{background:transparent}.button.quiet:hover:not(:disabled){background:#f0f4ed}.save-button{padding:10px 17px}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 24px;border-top:1px solid #edf0ea;border-bottom:1px solid #edf0ea;background:#fcfdfb}.input-mode-label{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--green)}.input-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.sign-shortcuts{display:flex;align-items:center;gap:6px}.sign-button{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce3db;border-radius:5px;padding:6px 9px;color:#315d48;background:#fff;font-size:11px}.sign-button>span{font-size:15px;line-height:1}.editing-tools{display:flex;align-items:center;gap:2px}.icon-button{width:31px;height:31px;padding:0;background:transparent;border:0;border-radius:5px;display:inline-flex;justify-content:center;align-items:center}.icon-button:hover:not(:disabled){background:#e9efe6}.toolbar-divider{margin:0 9px;height:16px;width:1px;background:#dce3d9}.type-size{font-family:Georgia,serif;font-size:17px;gap:1px}.type-size span{font:10px sans-serif}.editor-area{position:relative}#editor{min-height:200px;height:230px}textarea{display:block;width:100%;min-height:290px;height:330px;resize:vertical;padding:27px 30px;border:0;border-radius:0;color:#213e30;background:transparent;font-size:var(--editor-size);line-height:1.85;letter-spacing:.12em;caret-color:var(--green);tab-size:4}textarea:focus{outline:none;box-shadow:inset 0 0 0 2px #7f9f7a}textarea::placeholder{font-size:16px;color:#9ba498;letter-spacing:.06em}.empty-hint{position:absolute;top:100px;left:32px;display:flex;align-items:center;gap:14px;pointer-events:none;opacity:.68}.empty-hint>span:last-child{margin-left:2px;font-size:11px;color:#929d8e;letter-spacing:.045em}.empty-hint .dot-cell{grid-template-columns:repeat(2,4px);gap:3px}.empty-hint .dot-cell>span{width:4px;height:4px}.document-footer{min-height:42px;padding:12px 24px;border-top:1px solid #edf0ea;color:#74816f;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px}.footer-separator{margin:0 8px;color:#aab3a5}.keyboard-guide{padding:24px 3px 21px}.kana-card{margin-top:16px;padding:17px 22px 13px;border:1px solid #dce3db;border-radius:12px;background:#f0f5ec}.kana-heading{display:flex;align-items:center;gap:11px}.conversion-badge{color:#52674d;font-size:10px}.kana-output{height:90px;min-height:70px;margin-top:9px;padding:8px 0;font-size:24px;line-height:1.8;letter-spacing:.07em}.kana-output::placeholder{font-size:13px;letter-spacing:.025em}.kana-output:focus{box-shadow:none;outline:2px solid #7f9f7a;outline-offset:3px;border-radius:3px}.kana-help{margin:5px 0 0;min-height:18px;font-size:11px;line-height:1.7;color:#52674d}.kana-help.needs-input{color:#79531e}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading h2{margin:0;font-size:12px;font-weight:600;display:flex;align-items:center;gap:8px}.section-heading>span{color:#7d8a77;font-size:10px}.keyboard-layout{display:flex;justify-content:center;align-items:flex-start;padding:22px 0 14px;gap:12px}.key-guide{text-align:center}.key-guide kbd{display:flex;justify-content:center;align-items:center;width:52px;height:49px;border:1px solid #d5ded1;border-bottom:3px solid #c8d4c3;border-radius:9px;background:#fff;font:20px ui-monospace,SFMono-Regular,Menlo,monospace;color:#435d40;transition:background .08s}.key-guide>span{display:block;font-size:9px;color:#7e8c77;margin-top:7px}.key-guide.pressed kbd{background:var(--green);color:#fff;border-color:#294c3b;transform:translateY(2px)}.keyboard-gap{width:31px}.keyboard-guide p{margin:6px 0 0;font-size:10px;color:#7d8775;text-align:center;line-height:1.9}.keyboard-guide p strong{font-weight:500;color:#5f7257}.character-guide{margin-top:18px;border:1px solid #dce3db;border-radius:8px;background:#fdfefa}.character-guide summary{padding:12px 15px;cursor:pointer;font-size:12px;color:#315d48}.character-guide summary:focus-visible{outline:3px solid #86ad8f;outline-offset:3px;border-radius:6px}.character-guide-content{padding:0 15px 15px}.character-guide ul{font-size:12px;line-height:1.9;padding-left:20px;margin:3px 0 15px}.character-guide li{margin:7px 0}.keyboard-guide .alphabet-help{text-align:left;font-size:11px}.alphabet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(98px,1fr));gap:8px;margin:12px 0 0}.alphabet-grid>div{background:#f1f5ed;border-radius:6px;padding:9px 10px}.alphabet-grid dt{font:600 16px ui-monospace,SFMono-Regular,Menlo,monospace}.alphabet-grid dt>span{font-size:12px;color:#566c50}.alphabet-grid dd{margin:5px 0 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.alphabet-braille{font-size:24px}.alphabet-grid kbd{font:10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#566c50}.mobile-break{display:none}.preview-card{border-top:1px solid #e1e7dc;padding:18px 3px 0}.compact{padding:5px 0 5px 10px;font-size:10px}.preview-cells{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-top:13px}.preview-cell{border:1px solid #e3e8de;border-radius:4px;padding:6px;display:inline-flex;background:#fff}.dot-cell{display:inline-grid;grid-template-columns:repeat(2,5px);gap:4px}.dot-cell>span{width:5px;height:5px;background:#dce4d6;border-radius:50%}.dot-cell>span.raised{background:#45664d}.preview-text{font-size:20px}.preview-break{flex-basis:100%;height:0}.preview-placeholder{font-size:11px;color:#8b9684;margin:0;padding:8px 0}.preview-limit{font-size:10px;color:var(--muted)}.notice{min-height:45px;padding:23px 0 0;font-size:11px;color:#6c805d}.site-footer{border-top:1px solid var(--line);margin-top:23px;padding:22px 0 26px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#8b9881}.site-footer>span:first-child{font-family:Georgia,serif;font-size:19px;color:#7e8e72}.footer-tagline{margin-left:12px;font-size:10px;font-family:-apple-system,BlinkMacSystemFont,sans-serif;color:#8b9881}.help-dialog{border:1px solid #dce4d6;border-radius:16px;max-width:610px;width:calc(100% - 32px);padding:0;color:var(--ink);background:#fcfdf9;box-shadow:0 16px 90px #1c3b3433}.help-dialog::backdrop{background:#24362d55;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-content{padding:26px 32px}.dialog-content h2{font-size:20px}.dialog-content ol{padding-left:24px;margin:26px 0}.dialog-content li{padding-left:4px;margin:20px 0;font-size:13px}.dialog-content li::marker{color:#7a9870}.dialog-content p,.help-note{font-size:12px;line-height:1.9;color:#68785f}.dialog-content p{margin:7px 0 0}.help-note{background:#edf3e7;border-radius:8px;padding:15px}.save-status,.section-heading>span,.document-footer,.key-guide>span,.keyboard-guide p,.preview-placeholder,.site-footer,.footer-tagline{color:#566c50}.save-status,.document-footer,.keyboard-guide p,.key-guide>span{font-size:11px}.site-footer,.footer-tagline{font-size:10px}.preview-placeholder{font-size:12px}textarea::placeholder{color:#66765e}@media(min-width:1450px){textarea{height:360px}}@media(max-width:1150px){.app-shell{padding:0 30px}.workspace{gap:20px;grid-template-columns:minmax(0,1fr)}.document-heading{padding:18px}.document-name input{width:175px}.editor-toolbar{padding:11px 15px}.file-actions{gap:2px}}@media(max-width:900px){.workspace{grid-template-columns:minmax(0,1fr)}.document-name input{width:250px}.keyboard-guide{padding-top:25px}.preview-card{margin-bottom:5px}}@media(max-width:560px){.app-shell{padding:0 18px}.site-header{height:74px}.brand{font-size:31px}.brand-mark{transform:scale(.9)}.local-label{display:none}.document-heading{padding:15px 13px;flex-wrap:wrap}.document-name{flex:1;gap:8px}.document-icon{display:none}.document-name input{width:180px;font-size:13px}.save-status{font-size:8px}.file-actions{gap:0}.file-actions .button{padding:8px 9px;font-size:10px;gap:4px}.file-actions .button svg{width:14px}.editor-toolbar{padding:10px;gap:4px;flex-wrap:wrap}.icon-button{width:27px}.toolbar-divider{margin:0 3px}textarea{padding:21px;height:310px}textarea::placeholder{font-size:13px}.empty-hint{left:23px;top:83px;gap:10px}.empty-hint>span:last-child{font-size:9px}.document-footer{padding:12px;font-size:9px}.keyboard-layout{gap:9px}.key-guide kbd{width:39px;height:42px;font-size:17px}.keyboard-gap{width:8px}.section-heading>span{font-size:8px}.section-heading h2{font-size:11px}.keyboard-guide p{font-size:9px}.mobile-break{display:block}.site-footer{flex-direction:column;gap:13px;margin-top:20px}.dialog-content{padding:22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}@media(max-width:560px){.input-tools{gap:8px}.input-tools .input-mode-label{font-size:10px}.sign-shortcuts{gap:4px}.sign-button{padding:6px;font-size:10px;gap:3px}.character-guide ul{font-size:11px}}@media(max-width:560px){.kana-card{padding:15px}.kana-heading{align-items:flex-start;flex-direction:column;gap:6px}.conversion-badge{font-size:9px}.kana-output{height:122px;padding:12px 0;font-size:22px}.kana-output::placeholder{font-size:12px}.kana-help{font-size:10px}}
