:root{font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Kaku Gothic ProN,Noto Sans JP,Meiryo,sans-serif;color:#283c34;background:#f4f7f4;font-synthesis:none;font-weight:400;font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased;--green: #28634f;--green-dark: #1d4e3e;--muted: #738078;--border: #e2e8e2;--paper: #fff;--soft: #edf3ed}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{touch-action:manipulation}button:disabled{opacity:.42;cursor:default}button,a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #72a78d;outline-offset:4px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #72a78d;outline-offset:2px}button{border:0}a{text-decoration:none}svg{flex-shrink:0;vertical-align:middle}h1,h2,p{margin:0}h2{font-size:15px;font-weight:650;letter-spacing:.025em}input,textarea,select{font-size:16px}button{min-height:44px}.app-shell{max-width:1240px;margin:auto;padding:0 52px}.site-header{height:100px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:44px;height:44px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:14px}.brand-name{font-size:23px;font-weight:700;letter-spacing:.12em;line-height:1.2}.brand-caption{display:block;font-size:10px;font-weight:400;letter-spacing:.09em;color:var(--muted);margin-top:6px}.navigation{display:flex;gap:6px;background:#eaf0e9;border:1px solid #e2e9e1;border-radius:12px;padding:4px}.nav-item{display:flex;align-items:center;justify-content:center;gap:8px;background:none;border-radius:8px;color:#768277;padding:8px 15px;font-size:13px;font-weight:600}.nav-item.active{background:#fff;color:var(--green);box-shadow:0 2px 5px #1b35200a}.nav-count{font-size:10px;background:#e4ebe3;border-radius:5px;padding:0 5px;color:#6c7b6e}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:39px 0 29px}.eyebrow{font-size:11px;letter-spacing:.09em;color:var(--green);font-weight:600;margin-bottom:8px}h1{font-size:29px;line-height:1.5;letter-spacing:.045em;font-weight:650}.intro-description{color:var(--muted);font-size:13px;margin-top:8px}.specialty-tag{display:flex;align-items:center;gap:8px;border:1px solid #dce6dc;padding:5px 12px;border-radius:20px;color:#657a67;font-size:11px;white-space:nowrap}.specialty-tag>span,.session-label>span{width:6px;height:6px;background:#80a78b;border-radius:100%}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 283px;gap:25px;align-items:start}.editor-card,.suggestions-card,.guide-card,.dictionary-summary,.dictionary-card{background:var(--paper);border:1px solid var(--border);border-radius:15px;overflow:hidden;box-shadow:0 3px 6px #233f2a02}.editor-top{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #edf0eb;gap:12px}.editor-top h2{display:flex;align-items:center;gap:9px}.editor-top h2 svg{color:#789280}.session-label{display:flex;align-items:center;gap:6px;color:#7c877f;font-size:10px}.session-label>span{width:5px;height:5px}textarea{display:block;width:100%;height:345px;min-height:230px;border:0;border-radius:0;resize:vertical;padding:25px 24px 15px;line-height:2.05;background:#fff;color:#293d34;caret-color:var(--green);scroll-margin-top:16px}textarea::placeholder{color:#9aa69b;opacity:1;line-height:2.1}textarea:focus-visible{outline:0;box-shadow:inset 3px 0 #76a98c}.editor-bottom{display:flex;align-items:center;justify-content:space-between;padding:8px 23px 16px;color:#8a968c;font-size:10px;gap:10px}.editor-bottom>span:first-child{display:flex;align-items:center;gap:5px}.editor-bottom>span:last-child{font-size:13px;font-variant-numeric:tabular-nums}.count-unit{font-size:10px;margin-left:5px}.editor-actions{display:flex;align-items:center;gap:8px;padding:14px 17px;border-top:1px solid var(--border);background:#fbfcfa;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 17px;border-radius:9px;font-weight:600;font-size:12px;white-space:nowrap;border:1px solid transparent;transition:background .15s}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:var(--green-dark)}.copy-button,.secondary{background:#fff;border-color:#dce5dc;color:#49644f}.copy-button:hover:not(:disabled),.secondary:hover:not(:disabled){background:var(--soft)}.action-spacer{flex:1}.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:none;padding:8px;border-radius:8px;color:#76857a;font-size:11px}.quiet-button:hover:not(:disabled){background:#eef2ec}.danger:hover:not(:disabled){color:#a34e43;background:#fcf0eb}.clear-label{display:none}.suggestions-card{margin-top:18px;padding:18px 22px 21px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h2{display:flex;align-items:center;gap:9px;font-size:13px}.step-dot{display:grid;place-items:center;font-size:10px;width:20px;height:20px;border-radius:50%;color:#6c8a73;background:#edf3eb;font-weight:500}.empty-suggestions{display:flex;align-items:center;gap:13px;padding:25px 0 5px}.soft-icon{width:37px;height:37px;border-radius:10px;background:#edf3ec;color:#73957d;display:inline-grid;place-items:center;flex-shrink:0}.empty-suggestions p{font-size:12px;color:#637466;margin-bottom:3px}.empty-suggestions div>span{font-size:10px;color:#8a968b}.small-badge{font-size:10px;color:var(--green);background:var(--soft);padding:2px 8px;border-radius:12px}.section-description{font-size:12px;color:var(--muted);margin-top:12px}.suggestion-list{padding:0;margin:15px 0;list-style:none}.suggestion-list li{border-top:1px solid #edf0eb;padding:14px 0}.match-context{display:flex;align-items:baseline;gap:12px;font-size:12px}.match-context>span{font-size:10px;color:var(--muted);white-space:nowrap}.match-context p{overflow-wrap:anywhere}.match-context mark{background:#f4edd4;border-radius:3px;padding:1px 3px;color:#665c31}.replacement-options{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.replacement{display:flex;align-items:center;gap:12px;border:1px solid #d9e6d9;border-radius:8px;padding:7px 11px;background:#f4f8f1;text-align:left;font-size:13px}.replacement:hover{background:#e6f0e1}.replacement>span{color:#849181}.replacement strong{font-weight:600;color:var(--green)}.replacement>svg{color:#779a7a}.fine-print{font-size:11px;color:var(--muted)}.status-message{min-height:27px;padding:8px 3px;color:var(--green);font-size:12px;overflow-wrap:anywhere}.sidebar{display:flex;flex-direction:column;gap:17px}.guide-card{padding:21px 19px;background:#fdfefa}.aside-title{display:flex;align-items:center;gap:9px}.aside-title h2{font-size:12px}.aside-title .soft-icon{width:29px;height:29px;border-radius:9px}.guide-steps{list-style:none;margin:25px 0 20px;padding:0}.guide-steps li{display:flex;gap:13px;position:relative;padding-bottom:23px}.guide-steps li:last-child{padding-bottom:0}.guide-steps li>span{height:23px;width:23px;flex-shrink:0;background:#eaf1e7;border-radius:50%;color:#62806b;display:grid;place-items:center;font-size:11px;z-index:1}.guide-steps li:not(:last-child):after{position:absolute;content:"";left:11px;top:25px;bottom:2px;border-left:1px dashed #d7e3d4}.guide-steps strong{font-size:12px;font-weight:600}.guide-steps p{color:#81907e;font-size:11px;line-height:1.9;margin-top:4px}.help-details{border-top:1px solid var(--border);padding-top:13px;color:#859181;font-size:10px}.help-details summary{cursor:pointer;min-height:32px;list-style:none;display:flex;align-items:center;gap:5px}.help-details p{padding-top:9px;line-height:1.9}.dictionary-summary{padding:20px}.dictionary-summary .aside-title{color:#5f7963}.dictionary-summary>p{margin-top:14px;font-size:11px;color:#83907f;line-height:1.9}.dictionary-stats{display:flex;align-items:baseline;justify-content:space-between;margin:16px 0;color:var(--green)}.dictionary-stats strong{font-weight:500;font-size:28px;line-height:1.2}.dictionary-stats small{font-size:10px;color:#869080;margin-left:6px;font-weight:400}.dictionary-stats>span{font-size:9px;color:#889482}.dictionary-summary>button{width:100%;padding:9px 0 0;display:flex;align-items:center;justify-content:space-between;background:none;border-top:1px solid #edf0e9;color:#68806a;font-size:11px}.privacy-note{display:flex;align-items:flex-start;gap:10px;padding:0 6px;color:#8b9988}.privacy-note>svg{margin-top:2px}.privacy-note strong{font-size:10px;font-weight:500;color:#72836f}.privacy-note p{font-size:10px;line-height:1.9;margin-top:5px}.sample-button{align-self:flex-start;display:flex;align-items:center;gap:6px;background:none;font-size:10px;color:#6c816c;padding:0 6px;min-height:32px}.sample-button:disabled{display:none}.site-footer{border-top:1px solid var(--border);margin-top:30px;padding:23px 0 26px;display:flex;align-items:center;gap:18px;color:#95a091;font-size:10px}.site-footer>span{display:flex;align-items:center;gap:5px}.site-footer>span:first-child{font-size:11px;letter-spacing:.09em}.site-footer>span:last-child{margin-left:auto;font-size:9px}.storage-warning{background:#fff4df;color:#825c20;border:1px solid #e8d7ab;border-radius:9px;padding:12px;font-size:12px;margin-top:12px}.dictionary-info{display:flex;align-items:flex-start;gap:14px;background:#eaf1e8;border:1px solid #dce6d7;border-radius:12px;padding:17px 20px;margin-bottom:20px;color:#61775f;font-size:12px}.dictionary-info>svg{margin-top:3px}.dictionary-info strong{font-weight:600}.dictionary-toolbar{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--border)}.search-field{display:flex;align-items:center;gap:9px;flex:1;min-width:0;padding:6px 12px;background:#f5f8f3;border:1px solid #e1e8de;border-radius:8px;color:#82917d}.search-field input{background:none;border:none;width:100%;min-height:30px;min-width:0;font-size:14px}.dictionary-toolbar select{border:1px solid var(--border);border-radius:8px;min-height:44px;padding:6px 9px;color:#5f735f;background:#fff;font-size:14px}.entry-count{font-size:12px;color:var(--muted);white-space:nowrap}.dictionary-list{padding:0 20px}.dictionary-row{display:flex;align-items:center;gap:14px;padding:12px 0;min-height:73px;border-bottom:1px solid #edf0ea}.dictionary-row:last-child{border-bottom:0}.entry-words{flex:1;display:flex;align-items:center;gap:15px;font-size:13px;overflow-wrap:anywhere;min-width:0}.entry-words>span{color:#83907e}.entry-words strong{font-weight:500}.entry-words>svg{color:#b1bbac}.category-label{font-size:10px;padding:2px 7px;border-radius:5px;background:#f0f4ed;color:#7e9078;white-space:nowrap}.source-label{font-size:10px;color:#9aa593;min-width:50px;text-align:center}.toggle{display:flex;align-items:center;justify-content:center;position:relative;min-width:44px;min-height:44px;cursor:pointer}.toggle input{position:absolute;opacity:0;width:40px;height:40px;margin:0;cursor:pointer}.toggle>span{width:32px;height:19px;border-radius:20px;background:#dfe5dc;pointer-events:none;position:relative;transition:background .15s}.toggle>span:after{content:"";position:absolute;left:3px;top:3px;background:#fff;width:13px;height:13px;border-radius:50%;box-shadow:0 1px 3px #21382420;transition:transform .15s}.toggle input:checked+span{background:#659373}.toggle input:checked+span:after{transform:translate(13px)}.toggle input:focus-visible+span{outline:3px solid #72a78d;outline-offset:4px}.disabled-entry .entry-words{opacity:.45}.row-actions{display:flex;gap:2px}.dictionary-file-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:17px 20px;background:#fafbf8;border-top:1px solid var(--border)}.dictionary-file-actions>span{font-size:10px;color:var(--muted);margin-left:auto}.list-empty{padding:30px;font-size:13px;color:var(--muted);text-align:center}.back-link{background:none;font-size:12px;color:var(--green);padding:8px 0}.entry-dialog{width:min(440px,calc(100% - 32px));padding:25px;border:1px solid var(--border);border-radius:17px;box-shadow:0 20px 80px #163c2630;color:#283c34;max-height:85dvh;overflow:auto}.entry-dialog::backdrop{background:#263c3559;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:19px}.entry-dialog>p{font-size:12px;color:var(--muted);margin:4px 0 20px}.form-field{display:flex;flex-direction:column;gap:7px;margin:17px 0;font-size:12px;font-weight:500}.form-field input,.form-field select{border:1px solid #dbe4d8;border-radius:8px;padding:10px;min-height:46px;color:#324833;background:#fff;width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.form-error{font-size:12px;color:#a34e43}.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}@media(min-width:1400px){.app-shell{padding:0 32px}.page-intro{padding-top:48px;padding-bottom:34px}textarea{height:390px}.workspace{grid-template-columns:minmax(0,1fr) 295px;gap:28px}}@media(max-width:1000px){.app-shell{padding:0 28px}.workspace{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.editor-actions{gap:5px;padding:12px}.button{padding:10px 12px}.action-label{display:none}.guide-card{padding:18px 15px}.aside-title h2{font-size:11px}.dictionary-row{gap:8px}.source-label{min-width:30px}}@media(max-width:760px){.app-shell{padding:0 22px}.site-header{height:86px}.page-intro{padding:28px 0 23px}h1{font-size:25px}.specialty-tag{display:none}.workspace{grid-template-columns:minmax(0,1fr)}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:15px}.guide-card{grid-row:span 2}.privacy-note{padding-top:3px}.sample-button{grid-column:1/-1}.site-footer{margin-top:23px}.dictionary-info{font-size:11px}.entry-words{gap:8px}.category-label{display:none}}@media(max-width:480px){.app-shell{padding:0 16px}.site-header{height:79px;gap:10px}.brand{gap:8px}.brand-icon{width:36px;height:36px;border-radius:11px}.brand-icon svg{width:23px}.brand-name{font-size:20px}.brand-caption{font-size:8px;letter-spacing:.04em;margin-top:4px}.navigation{gap:2px;padding:3px;border-radius:10px}.nav-item{font-size:11px;padding:7px 9px;gap:5px;min-height:38px}.nav-item svg{width:14px}.nav-count{display:none}.page-intro{padding:25px 0 22px}.eyebrow{font-size:10px;margin-bottom:7px}h1{font-size:25px;letter-spacing:.01em}.intro-description{font-size:11px;margin-top:6px}.editor-top{padding:15px}.editor-top h2{font-size:13px}.session-label{font-size:8px}.editor-card{border-radius:12px}textarea{height:310px;padding:20px 17px 10px;line-height:1.95;resize:none}.editor-bottom{padding:8px 16px 12px}.editor-bottom>span:first-child{font-size:9px}.editor-actions{padding:11px 12px;gap:7px}.button{font-size:12px;padding:10px 12px}.quiet-button{padding:7px;min-width:36px}.editor-actions .button{flex:1}.action-spacer{display:none}.suggestions-card{margin-top:14px;padding:16px}.empty-suggestions{gap:11px;padding-top:20px}.empty-suggestions p{font-size:11px}.empty-suggestions div>span{font-size:10px;line-height:1.8;display:block}.sidebar{grid-template-columns:1fr;gap:14px}.guide-card{grid-row:auto;padding:19px}.guide-steps{display:flex;gap:14px;margin:20px 0 14px}.guide-steps li{padding:0;display:block;flex:1}.guide-steps li>span{margin-bottom:8px}.guide-steps li:not(:last-child):after{display:none}.guide-steps p{font-size:10px}.guide-steps br{display:none}.guide-steps strong{font-size:11px}.help-details{font-size:10px}.dictionary-summary{display:none}.privacy-note{padding:0 4px}.privacy-note br{display:none}.privacy-note p{line-height:1.8}.sample-button{grid-column:auto}.site-footer{gap:9px;flex-wrap:wrap;padding-bottom:max(20px,env(safe-area-inset-bottom))}.site-footer p{display:none}.site-footer>span:last-child{font-size:9px}.dictionary-toolbar{padding:13px;gap:9px;flex-wrap:wrap}.search-field{flex-basis:100%}.dictionary-toolbar select{flex:1}.dictionary-list{padding:0 12px}.dictionary-row{flex-wrap:wrap;gap:3px;padding:9px 0}.entry-words{font-size:12px;gap:8px;flex-basis:calc(100% - 50px)}.dictionary-row .source-label{margin-left:47px}.row-actions{margin-left:auto}.dictionary-file-actions{padding:14px;gap:8px}.dictionary-file-actions>span{margin-left:0}.page-intro>.button{font-size:11px;padding:9px 11px}.dictionary-info{padding:14px;gap:10px}.match-context{display:block}.replacement{gap:8px;font-size:12px;max-width:100%;overflow-wrap:anywhere}.entry-dialog{padding:20px}}@media(max-height:600px)and (orientation:landscape){textarea{height:220px;min-height:150px}.page-intro{padding:18px 0}.site-header{height:70px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
