.services-page{background:#fafbfe;color:#182235}.services-page main{display:block;max-width:1200px;margin:0 auto;padding:36px 30px}.service-breadcrumb{display:flex;gap:12px;flex-wrap:wrap;font-size:14px;color:#64718a}.service-intro{margin:28px 0}.service-intro h1{font-size:clamp(26px,4vw,40px);letter-spacing:-.035em;line-height:1.15;margin:12px 0}.service-intro p{font-size:16px;line-height:1.65;max-width:760px;color:#52617b}.service-privacy{font-size:13px!important;color:#37533d!important}.service-workspace{display:grid;grid-template-columns:minmax(260px,390px) minmax(0,1fr);gap:30px;align-items:start}#serviceForm,#serviceResult{padding:24px;background:white;border:1px solid #dce2ed;border-radius:12px;min-width:0}.service-field{display:flex;flex-direction:column;gap:9px;margin:0 0 20px;font-size:14px;font-weight:600}.service-field input:not([type=checkbox]),.service-field select,.service-field textarea{width:100%;max-width:100%;min-height:46px;border:1px solid #bbc6d9;border-radius:6px;background:#fff;color:inherit;padding:11px;font:400 16px/1.5 system-ui}.service-field textarea{min-height:215px;resize:vertical}.checkbox-field{flex-direction:row-reverse;justify-content:flex-end;align-items:center;font-weight:400}.checkbox-field input{width:19px;height:19px}.service-form-actions{display:flex;flex-wrap:wrap;gap:10px}.service-form-actions button{min-height:44px}.service-form-actions .primary{flex-basis:100%}#serviceStatus{font-size:14px;line-height:1.6;min-height:28px;padding:12px 0;color:#405475}#serviceResult h2{margin-top:0;font-size:22px}#serviceResult h3{font-size:16px}.result-note{padding:12px 14px;background:#f1f5fc;border-radius:6px;font-size:14px;line-height:1.65;color:#40516d}.result-summary{font-size:15px;font-weight:600}.service-output{width:100%;box-sizing:border-box;min-height:200px;padding:14px;resize:vertical;border:1px solid #bcc8df;border-radius:6px;font:16px/1.7 system-ui}.result-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px}.result-toolbar button{min-height:44px}.service-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.service-metrics>div{padding:12px;border:1px solid #e1e6ee;border-radius:6px}.service-metrics dt{font-size:12px;color:#52617b}.service-metrics dd{margin:7px 0 0;font-size:20px;font-weight:650}.result-table-scroll{max-height:650px;overflow:auto;max-width:100%}.result-table-scroll table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.result-table-scroll th{background:#f2f5fb}.result-table-scroll th,.result-table-scroll td{padding:12px 10px;border-bottom:1px solid #e3e8f1;vertical-align:top;overflow-wrap:anywhere;max-width:300px}.color-swatch{display:inline-block;width:34px;height:24px;margin-left:8px;vertical-align:middle;border:1px solid #9ca9bd;border-radius:3px}.is-stale{opacity:.6}.crossword-scroll{overflow:auto;max-width:100%;padding:15px 0}.crossword{display:table;background:#34435b}.crossword-row{display:flex}.crossword-cell,.crossword-gap{width:34px;height:34px;flex-shrink:0;position:relative}.crossword-cell{background:white;border:1px solid #34435b;display:grid;place-items:center}.crossword-cell small{position:absolute;left:2px;top:0;font-size:9px}.crossword-cell b{font-size:16px}.wordle-grid{display:grid;gap:7px;margin-block:18px}.wordle-row{display:flex;gap:7px}.wordle-cell{width:49px;height:56px;display:grid;place-items:center;font-size:26px;text-transform:uppercase;font-weight:700;border:1px solid #b8c4d8;position:relative;border-radius:5px}.wordle-cell small{position:absolute;bottom:0;right:3px;font-size:11px}.wordle-cell.correct{background:#d8f4e1;border:2px solid #28733f}.wordle-cell.present{background:#fff0b8;border:2px solid #8c7017}.wordle-cell.absent{background:#e5e8ed;color:#424e62}.wordle-keyboard>div{display:flex;justify-content:center;gap:3px;margin:5px 0}.wordle-keyboard button{padding:2px;min-height:44px;min-width:0;flex:1;max-width:38px;font-size:14px}.wordle-keyboard>button{max-width:none;padding:8px 14px}.game-end{font-size:20px;font-weight:700}#imagePreview{display:block;max-width:100%;max-height:240px;object-fit:contain;margin-block:16px}.service-directory-page section{margin:32px 0}.service-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.service-card{padding:20px;background:white;border:1px solid #dce2ed;border-radius:9px;text-decoration:none;min-height:100px}.service-card strong{font-size:17px;display:block;margin-bottom:8px}.service-card p{margin:0;color:#52617b;font-size:14px;line-height:1.6}.service-footnote{font-size:13px;line-height:1.7;margin-top:30px;color:#5e6d86}.services-page footer{max-width:1140px;margin:30px auto;padding:20px 0}.service-intro .eyebrow{font-size:12px}button:active:not(:disabled){transform:scale(.98)}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #194cff;outline-offset:3px}@media(max-width:760px){.services-page main{padding:22px 14px}.service-workspace{display:flex;flex-direction:column;gap:18px}.service-workspace>*{width:100%}#serviceForm,#serviceResult{padding:18px}.service-intro{margin:22px 0}.service-intro h1{font-size:28px}.services-page footer{margin:20px 14px}.service-cards{grid-template-columns:1fr}.result-table-scroll th,.result-table-scroll td{padding:10px 8px}.wordle-cell{width:43px;height:50px}.service-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){button:active:not(:disabled){transform:none}}@media print{header,.service-breadcrumb,.service-intro,#serviceForm,#serviceStatus,.result-toolbar,.result-note,footer{display:none!important}.services-page main,#serviceResult{padding:0;margin:0;border:0;max-width:none}.service-workspace{display:block}.crossword-cell{print-color-adjust:exact}.crossword-gap{background:#333;print-color-adjust:exact}}


/* Purposeful service interfaces: readable results, nearby feedback, no decorative motion. */
.service-field-hint,.service-counter{font-size:12px;font-weight:400;line-height:1.55;color:#53617a;margin:0;overflow-wrap:anywhere}
.service-counter{font-variant-numeric:tabular-nums}
.checkbox-field{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;justify-content:normal;column-gap:10px;row-gap:7px}
.checkbox-field>input[type=checkbox]{grid-column:1;grid-row:1;order:initial;width:20px;min-width:20px;height:20px;min-height:20px;margin:1px 0 0;justify-self:start}
.checkbox-field>span:first-child{grid-column:2;grid-row:1;align-self:center;line-height:1.5}
.checkbox-field>.service-field-hint,.checkbox-field>.field-error,.checkbox-field>.service-counter{grid-column:1/-1;grid-row:auto;margin:0}
.field-error{font-size:13px;font-weight:500;line-height:1.5;color:#9b2929;margin:0}
.service-field [aria-invalid=true]{border-color:#b33131;box-shadow:0 0 0 1px #b33131}
.service-field [aria-invalid=true]:focus-visible{outline-color:#b33131}
.service-status,#serviceStatus.service-status{font-size:14px;line-height:1.6;padding:12px 14px;margin:14px 0 0;border-radius:7px;background:#f2f5fc;color:#354766;min-height:0}
.service-status:empty{display:none}
.service-status[data-state=error]{color:#8b2424;background:#fff0ee;border:1px solid #efc5bf}
.service-status[data-state=success]{color:#255035;background:#edf7f0;border:1px solid #c8dfce}
.service-status[data-state=loading]{color:#234786;background:#eef3ff;border:1px solid #cad8f7}
.service-result-jump{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:10px;padding:10px 14px;border-radius:7px;border:1px solid #b9c8ed;color:#073bff;background:#fff;font-size:14px;text-decoration:none}
.service-empty{padding:26px;border:1px dashed #c6d0e2;border-radius:12px;background:#f5f7fc;color:#52617b;line-height:1.65}
.service-empty h2{color:#25334d;font-size:20px}
.service-empty p:last-child{margin-bottom:0}
.service-guide,.service-input-help{font-size:13px;line-height:1.65;color:#53617a;overflow-wrap:anywhere}
.service-guide{padding:15px 0;margin:10px 0;border-top:1px solid #e1e6ef}
.service-guide summary{min-height:36px;display:flex;align-items:center;color:#354766;font-weight:600}
.service-guide h3,.service-input-help h3{font-size:14px;color:#25334d;margin:12px 0 6px}
.service-input-help{margin:0 0 16px;padding:12px 14px;background:#f3f6fc;border-radius:7px}
.service-input-help p{margin:0 0 8px}
.service-input-help p:last-child{margin-bottom:0}
.service-outdated{padding:12px 14px;margin:0 0 16px;border:1px solid #ead2a8;border-radius:7px;background:#fff7e8;color:#775119;font-size:14px;line-height:1.55}
.is-stale{opacity:1}
.service-steps{display:flex;flex-wrap:wrap;gap:10px 24px;padding:0;margin:20px 0;list-style-position:inside;font-size:13px;line-height:1.6;color:#52617b}
.service-progress{margin:12px 0;color:#354766;font-size:13px;line-height:1.55}
.service-progress progress{width:100%;height:10px;accent-color:#073bff}
#serviceResult{scroll-margin-top:24px;overflow-wrap:anywhere}
#serviceResult:focus-visible{outline:3px solid #194cff;outline-offset:4px}
#serviceResultTitle:focus-visible{outline:3px solid #194cff;outline-offset:4px}
#serviceResult h2{font-size:23px;line-height:1.25;letter-spacing:-.35px;margin:0 0 14px}
#serviceResult h3{font-size:17px;line-height:1.4;margin:0}
#serviceResult .result-summary{font-size:15px;line-height:1.6;margin:0 0 16px}
.result-note-brief{margin:0 0 8px;font-size:14px;line-height:1.6}
.result-method{padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid #e3e8f1;font-size:12px;line-height:1.7;color:#52617b}
.result-method summary{min-height:36px;display:flex;align-items:center;gap:8px;color:#405578;font-weight:600}
.result-method summary::before{content:'+';font-size:16px;font-weight:600}
.result-method[open] summary::before{content:'−'}
.result-method p{margin:6px 0 0}
.service-metrics{margin:18px 0 20px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.service-metrics dt{font-size:12px;line-height:1.5}
.service-metrics dd{font-size:22px;line-height:1.3}
.service-output-label{display:block;margin:18px 0 8px;font-size:13px;font-weight:600;line-height:1.5;color:#40516d}
.service-output{color:#182235}
.service-output-compact{field-sizing:content;min-height:80px;max-height:320px;height:auto;resize:none;font-size:20px;line-height:1.6;background:#f6f8ff;border-color:#d2dcef;padding:16px}
.result-instruction,.result-empty{font-size:14px;line-height:1.65;color:#52617b;margin:16px 0}
.result-empty{padding:18px;background:#f5f7fc;border-radius:8px}
.result-cards{display:grid;gap:12px}
.morphology-card,.syntax-card,.morpheme-card,.marker-result{padding:16px;border:1px solid #dde4ef;border-radius:9px;background:#fff;min-width:0}
.morpheme-card+.morpheme-card{margin-top:14px}
.result-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.result-card-lead{font-size:14px;font-weight:600;line-height:1.6;margin:8px 0}
.result-features{font-size:14px;line-height:1.7;color:#40516d;margin:8px 0 0;overflow-wrap:anywhere}
.result-badge{display:inline-block;flex-shrink:0;max-width:55%;padding:4px 8px;border-radius:5px;background:#f0f4fb;color:#40516d;font-size:12px;font-weight:500;line-height:1.5}
.result-badge-warning{background:#fff3d8;color:#7d541a}
.prediction{border-color:#e4d5b6}
.result-technical{padding:10px 0 0;margin:10px 0 0;border-top:1px solid #edf0f6;font-size:12px;line-height:1.6;color:#52617b}
.result-technical summary{min-height:32px;color:#405578;font-weight:500}
.result-technical p{margin:8px 0 0;overflow-wrap:anywhere}
.result-word-number{font-size:12px;color:#69758c}
.result-properties{margin:14px 0 0}
.result-properties>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px;margin-top:10px;font-size:14px;line-height:1.65}
.result-properties dt{color:#61708a}
.result-properties dd{margin:0;color:#25344e}
.morpheme-word{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.morpheme-piece{display:grid;align-content:start;gap:8px;min-width:70px;max-width:100%;padding:12px;border-radius:7px;background:#f0f4ff;text-align:center}
.morpheme-piece strong{font-size:23px;line-height:1.3;font-weight:650;color:#073bff;overflow-wrap:anywhere}
.morpheme-piece>span{font-size:12px;line-height:1.45;color:#52617b}
.phonetic-list{border:1px solid #dde4ef;border-radius:9px;overflow:hidden}
.phonetic-item{display:grid;grid-template-columns:22px 32px minmax(72px,auto) minmax(0,1fr);gap:12px;align-items:baseline;padding:14px}
.phonetic-item+.phonetic-item{border-top:1px solid #e3e8f1}
.phonetic-number{font-size:12px;color:#69758c}
.phonetic-letter{font-size:23px;line-height:1.3}
.phonetic-sound{font-size:17px;line-height:1.5;white-space:nowrap;color:#073bff}
.phonetic-description{font-size:14px;line-height:1.65;margin:0;color:#40516d}
.word-groups{max-height:650px;overflow:auto;padding:3px 3px 10px}
.word-group+.word-group{margin-top:20px}
.word-group h3{padding-bottom:8px;border-bottom:1px solid #e3e8f1;color:#52617b}
.word-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:8px;list-style:none;padding:0;margin:10px 0 0}
.word-results li{min-width:0}
.word-results button{width:100%;min-height:44px;padding:10px 12px;background:#f5f7fc;border-color:#e0e5ef;font-size:14px;line-height:1.4;text-align:left;overflow-wrap:anywhere}
.color-results,.emoji-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.reference-results-scroll{max-height:720px;overflow:auto;padding:3px 3px 10px;scrollbar-width:thin;overscroll-behavior:contain}
.reference-results-scroll:focus-visible{outline:3px solid #194cff;outline-offset:3px}
.reference-scroll-hint{margin:14px 0 10px;font-size:12px;line-height:1.6;color:#53617a}
.color-result,.emoji-result{min-width:0;padding:16px;border:1px solid #dde4ef;border-radius:9px;background:#fff}
.color-result-swatch{height:68px;width:100%;border:1px solid #a9b4c8;border-radius:6px;margin-bottom:14px}
.color-css-name{font-size:13px;color:#61708a;margin:6px 0 12px}
.color-copy-actions{display:grid;gap:8px}
.color-copy-actions button{min-height:44px;font-size:12px;line-height:1.5;text-align:left;white-space:normal;padding:10px;overflow-wrap:anywhere}
.emoji-result-top{display:flex;gap:12px;align-items:center;margin-bottom:16px}
.emoji-glyph{flex-shrink:0;font-size:38px;line-height:1.3}
.emoji-result-top h3{font-size:15px!important}
.emoji-result>button{width:100%;min-height:44px;white-space:normal}
.unicode-value{font-family:ui-monospace,monospace;font-size:12px}
.marker-results{display:grid;gap:12px}
.marker-track{height:6px;margin:14px 0 10px;background:#edf1f7;border-radius:3px;overflow:hidden}
.marker-track span{display:block;height:100%;background:#073bff;border-radius:3px}
.result-table-scroll{border:1px solid #e1e6ef;border-radius:7px;max-height:650px}
.result-table-scroll table{min-width:460px}
.result-table-scroll th{white-space:nowrap;overflow-wrap:normal}
.result-table-scroll th,.result-table-scroll td{line-height:1.6}
.result-table-scroll td{overflow-wrap:normal;word-break:normal}
.result-table-frequency table,.result-table-yo table{min-width:340px}
.result-table-scroll td:first-child{overflow-wrap:anywhere}
.table-scroll-hint{display:none;font-size:12px;line-height:1.55;color:#61708a;margin:8px 0}
.result-export-actions{margin-top:22px;padding-top:16px;border-top:1px solid #e3e8f1}
.result-export-actions button{font-size:14px;line-height:1.4;min-height:44px;white-space:normal}
.crossword-answer-toggle{display:flex;align-items:center;gap:9px;min-height:44px;font-size:14px;line-height:1.5}
.crossword-answer-toggle input{height:20px;width:20px;accent-color:#073bff}
.crossword-clues{padding-left:22px;font-size:14px;line-height:1.8;margin:10px 0 20px}
.service-generator{margin:24px 0;padding:20px;border:1px solid #dce3ef;border-radius:10px;background:#f5f8ff;min-width:0}
.service-generator h2,.service-generator h3{margin-top:0}
.generator-fields{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.generator-fields label{display:grid;gap:8px;font-size:14px;font-weight:600}
.generator-fields input,.generator-fields select,.generator-fields textarea{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #bbc6d9;border-radius:6px;background:#fff;font:400 16px/1.5 system-ui}
.generator-fields textarea{min-height:110px}
.difficulty-note,.ai-status{font-size:13px;line-height:1.65;color:#40516d;overflow-wrap:anywhere}
.service-mode-switch{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.service-mode-switch button{min-height:44px}
.service-mode-switch [aria-pressed=true]{background:#073bff;color:#fff;border-color:#073bff}
button:active:not(:disabled){transform:none}
@media(max-width:1000px) and (min-width:761px){.service-workspace{grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:20px}#serviceForm,#serviceResult{padding:20px}.result-card-top{flex-wrap:wrap}.result-badge{max-width:100%}.phonetic-item{grid-template-columns:20px 28px minmax(0,1fr);gap:10px}.phonetic-description{grid-column:2/-1}}
@media(max-width:760px){#serviceResult h2{font-size:22px}.service-empty{padding:20px}.service-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.service-metrics>div{min-width:0}.service-metrics dt{overflow-wrap:anywhere}.service-output-compact{font-size:19px;min-height:90px}.result-properties>div{grid-template-columns:minmax(0,1fr);gap:3px;margin-top:12px}.result-card-top{gap:8px}.result-badge{max-width:55%;font-size:11px}.morphology-card,.syntax-card,.morpheme-card,.marker-result{padding:14px}.morpheme-piece{min-width:68px;padding:10px}.morpheme-word{gap:8px}.phonetic-item{grid-template-columns:18px 28px minmax(0,1fr);gap:10px;padding:13px}.phonetic-description{grid-column:2/-1}.word-results{grid-template-columns:repeat(2,minmax(0,1fr))}.word-results button{font-size:14px;padding:10px}.color-results,.emoji-results{grid-template-columns:minmax(0,1fr)}.color-result,.emoji-result{padding:15px}.table-scroll-hint{display:block}.result-export-actions{gap:8px}.result-export-actions button{flex:1 1 100%}.service-generator{padding:16px}.generator-fields{grid-template-columns:minmax(0,1fr)}.service-steps{display:grid;gap:8px}}
@media print{.result-method,.result-export-actions,.service-guide,.service-generator,.service-outdated,.service-result-jump{display:none!important}.morphology-card,.syntax-card,.morpheme-card{break-inside:avoid}}


.service-ai-privacy{font-size:12px;line-height:1.65;color:#52617b}.crossword-print-panel{scroll-margin-top:20px}
