/* Isolated application styles; the shared theme and manual min.css edits stay intact. */
.fmvn-text-case-page #fmvn-home{
  --fmtc-bg:#121719;--fmtc-panel:#1a2124;--fmtc-soft:#202a2d;--fmtc-output:#171f22;
  --fmtc-text:#eff5f4;--fmtc-muted:#adbebf;--fmtc-border:#344447;--fmtc-field-border:#788c91;
  --fmtc-accent:#79d8cc;--fmtc-accent-hover:#a3e9df;--fmtc-on-accent:#082e2c;--fmtc-accent-soft:#233f3c;
  --fmtc-off:#596a6d;--fmtc-focus:#6ed3c5;--fmtc-focus-soft:#72d6c526;
}
html[data-fmvn-theme="light"] .fmvn-text-case-page #fmvn-home{
  --fmtc-bg:#f6f9f8;--fmtc-panel:#fff;--fmtc-soft:#f1f4f4;--fmtc-output:#f1f4f4;
  --fmtc-text:#132028;--fmtc-muted:#4b626d;--fmtc-border:#dfe5e8;--fmtc-field-border:#82909e;
  --fmtc-accent:#00645d;--fmtc-accent-hover:#004f4a;--fmtc-on-accent:#fff;--fmtc-accent-soft:#dceae7;
  --fmtc-off:#bccbc9;--fmtc-focus:#00766d;--fmtc-focus-soft:#00766d16;
}
.fmvn-text-case-page #fmvn-home{background:var(--fmtc-bg)}
.fmvn-text-case-page #fmvn-home .fmtc-page-content{padding-top:36px;padding-bottom:36px}
#fmvn-text-case{max-width:1120px;margin:0 auto;color:var(--fmtc-text);font-family:'Inter',system-ui,sans-serif;font-size:14px;line-height:1.6}
#fmvn-text-case .fmtc-icon{display:block;flex:0 0 auto;width:18px;height:18px}
#fmvn-text-case h1,#fmvn-text-case h2,#fmvn-text-case p{margin:0;text-transform:none}
#fmvn-text-case .fmtc-heading{margin:0 0 30px}
#fmvn-text-case .fmtc-eyebrow{display:flex;align-items:center;gap:10px;color:var(--fmtc-accent);font-size:12px;font-weight:600;margin:0 0 13px}
#fmvn-text-case .fmtc-type-mark{font-size:20px;line-height:1;font-weight:800;letter-spacing:-2px;padding-right:2px}
#fmvn-text-case h1{color:var(--fmtc-text);font:700 clamp(28px,2.4vw,36px)/1.25 'Hanken Grotesk','Inter',system-ui,sans-serif;letter-spacing:-.035em;margin:0 0 16px}
#fmvn-text-case .fmtc-intro{color:var(--fmtc-muted);font-size:15px;line-height:1.8;max-width:1020px}
#fmvn-text-case .fmtc-workspace{overflow:hidden;background:var(--fmtc-panel);border:1px solid var(--fmtc-border);border-radius:20px}
#fmvn-text-case .fmtc-workspace-top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:16px 26px;background:var(--fmtc-soft)}
#fmvn-text-case .fmtc-workspace-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#fmvn-text-case .fmtc-workspace-title h2{width:auto;color:var(--fmtc-text);font-family:inherit;font-size:14px;font-weight:600;line-height:1.5}
#fmvn-text-case .fmtc-status{display:inline-flex;border-radius:999px;padding:3px 12px;background:var(--fmtc-accent-soft);color:var(--fmtc-accent);font-size:12px;font-weight:500;white-space:nowrap}
#fmvn-text-case .fmtc-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;width:auto;margin:0;padding:10px 18px;border:1px solid transparent;border-radius:999px;background:transparent;box-shadow:none;color:var(--fmtc-text);font:600 13px/1.5 'Inter',system-ui,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none;transition:background .15s,color .15s,border-color .15s;cursor:pointer}
#fmvn-text-case .fmtc-button .fmtc-icon{width:16px;height:16px}
#fmvn-text-case .fmtc-button-text{padding:7px 12px;color:var(--fmtc-accent);white-space:nowrap}
#fmvn-text-case .fmtc-button-text:hover{background:var(--fmtc-accent-soft)}
#fmvn-text-case .fmtc-editors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:26px 28px 24px}
#fmvn-text-case .fmtc-field{min-width:0}
#fmvn-text-case .fmtc-field label{display:block;margin:0 0 10px;color:var(--fmtc-text);font-size:13px;font-weight:600;line-height:1.6}
#fmvn-text-case .fmtc-field textarea{display:block;width:100%;min-width:0;min-height:240px;height:240px;max-width:100%;margin:0;padding:15px 16px;border:1px solid var(--fmtc-field-border);border-radius:12px;background:var(--fmtc-panel);box-shadow:none;color:var(--fmtc-text);font:400 15px/1.75 'Inter',system-ui,sans-serif;text-transform:none;resize:vertical;transition:border-color .15s,box-shadow .15s}
#fmvn-text-case .fmtc-field textarea::placeholder{color:var(--fmtc-muted);opacity:.8}
#fmvn-text-case .fmtc-field-result textarea{background:var(--fmtc-output)}
#fmvn-text-case .fmtc-field textarea:focus{border-color:var(--fmtc-focus);box-shadow:0 0 0 3px var(--fmtc-focus-soft);outline:none}
#fmvn-text-case .fmtc-field-help{color:var(--fmtc-muted);font-size:12px;line-height:1.6;margin:9px 0 0}
#fmvn-text-case .fmtc-options{min-width:0;margin:0;padding:0 28px 18px;border:0;border-top:1px solid var(--fmtc-border)}
#fmvn-text-case .fmtc-options legend{float:left;width:100%;padding:18px 0 14px;margin:0;border:0;color:var(--fmtc-muted);font-size:12px;font-weight:500}
#fmvn-text-case .fmtc-options-grid{clear:both;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#fmvn-text-case .fmtc-option{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:64px;margin:0;padding:10px;border:1px solid var(--fmtc-border);border-radius:12px;background:var(--fmtc-soft);color:var(--fmtc-text);font-size:12px;line-height:1.5;font-weight:600;cursor:pointer;user-select:none}
#fmvn-text-case .fmtc-option>span:first-child{min-width:0;overflow-wrap:break-word}
#fmvn-text-case .fmtc-option input{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:40px;height:24px;margin:0;opacity:0;cursor:pointer}
#fmvn-text-case .fmtc-switch{display:block;position:relative;flex:0 0 40px;width:40px;height:24px;border-radius:999px;background:var(--fmtc-off);pointer-events:none;transition:background .15s}
#fmvn-text-case .fmtc-switch:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}
#fmvn-text-case .fmtc-option input:checked+.fmtc-switch{background:var(--fmtc-accent)}
#fmvn-text-case .fmtc-option input:checked+.fmtc-switch:after{transform:translateX(16px)}
#fmvn-text-case .fmtc-option input:focus-visible+.fmtc-switch{outline:2px solid var(--fmtc-focus);outline-offset:4px}
#fmvn-text-case .fmtc-option:has(input:checked){border-color:color-mix(in srgb,var(--fmtc-accent) 28%,var(--fmtc-border))}
#fmvn-text-case .fmtc-option-notes{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:12px;color:var(--fmtc-muted);font-size:11px;line-height:1.6}
#fmvn-text-case .fmtc-option-notes>p{max-width:680px}
#fmvn-text-case .fmtc-proper-names{margin-top:16px;border-top:1px solid var(--fmtc-border);padding-top:14px;color:var(--fmtc-muted);font-size:12px}
#fmvn-text-case .fmtc-proper-names[hidden]{display:none}
#fmvn-text-case .fmtc-proper-names summary{color:var(--fmtc-accent);cursor:pointer}
#fmvn-text-case .fmtc-proper-names label{display:block;margin:12px 0 8px;color:var(--fmtc-text);font-size:13px;font-weight:500}
#fmvn-text-case .fmtc-proper-names textarea{display:block;width:100%;height:96px;min-height:80px;margin:0 0 8px;padding:12px 14px;border:1px solid var(--fmtc-field-border);border-radius:10px;background:var(--fmtc-panel);color:var(--fmtc-text);font:400 14px/1.6 'Inter',system-ui,sans-serif;resize:vertical;text-transform:none;box-shadow:none}
#fmvn-text-case .fmtc-proper-names textarea:focus{outline:2px solid var(--fmtc-focus);outline-offset:2px}
#fmvn-text-case .fmtc-details{max-width:470px}
#fmvn-text-case .fmtc-details summary{color:var(--fmtc-accent);cursor:pointer;white-space:nowrap}
#fmvn-text-case .fmtc-details[open]{flex:1 0 42%}
#fmvn-text-case .fmtc-details p{margin-top:7px}
#fmvn-text-case .fmtc-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:17px 28px;background:var(--fmtc-soft);border-top:1px solid var(--fmtc-border)}
#fmvn-text-case .fmtc-actions-primary{display:flex;flex-wrap:wrap;gap:14px}
#fmvn-text-case .fmtc-button-primary{padding-left:22px;padding-right:22px;background:var(--fmtc-accent);color:var(--fmtc-on-accent)}
#fmvn-text-case .fmtc-button-primary:hover{background:var(--fmtc-accent-hover);color:var(--fmtc-on-accent)}
#fmvn-text-case .fmtc-button-secondary{background:var(--fmtc-panel);border-color:var(--fmtc-border)}
#fmvn-text-case .fmtc-button-secondary:hover{border-color:var(--fmtc-accent);color:var(--fmtc-accent)}
#fmvn-text-case .fmtc-button-clear{font-weight:500;padding-left:10px;padding-right:10px}
#fmvn-text-case .fmtc-button-clear:hover{background:var(--fmtc-panel);color:var(--fmtc-accent)}
#fmvn-text-case .fmtc-button:focus-visible,#fmvn-text-case .fmtc-details summary:focus-visible,#fmvn-text-case .fmtc-proper-names summary:focus-visible{outline:2px solid var(--fmtc-focus);outline-offset:3px}
#fmvn-text-case .fmtc-button:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}
#fmvn-text-case .fmtc-notice{color:var(--fmtc-accent);font-size:13px;line-height:1.6;margin:12px 2px 0}
#fmvn-text-case .fmtc-notice:empty{display:none}
#fmvn-text-case .fmtc-noscript{margin-top:16px;padding:16px;border:1px solid var(--fmtc-border);border-radius:12px;color:var(--fmtc-text)}
#fmvn-text-case .fmtc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px}
#fmvn-text-case .fmtc-stat{min-width:0;padding:23px 24px;background:var(--fmtc-panel);border:1px solid var(--fmtc-border);border-radius:16px}
#fmvn-text-case .fmtc-stat-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}
#fmvn-text-case .fmtc-stat-heading h2{color:var(--fmtc-muted);font-size:13px;font-family:inherit;font-weight:500;line-height:1.5}
#fmvn-text-case .fmtc-stat-heading .fmtc-icon{width:15px;height:15px;color:var(--fmtc-accent)}
#fmvn-text-case .fmtc-stat-words .fmtc-icon{color:#e9713c}
#fmvn-text-case .fmtc-stat-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#fmvn-text-case .fmtc-stat-bottom strong{color:var(--fmtc-text);font:500 29px/1.3 ui-monospace,'SFMono-Regular',Consolas,monospace;overflow-wrap:anywhere}
#fmvn-text-case .fmtc-stat-bottom>span{color:var(--fmtc-muted);font-size:11px;text-align:right}
#fmvn-text-case .fmtc-footer{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-top:1px solid var(--fmtc-border);margin-top:32px;padding:27px 0 6px;color:var(--fmtc-muted);font-size:12px}
#fmvn-text-case .fmtc-footer>span{font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;white-space:nowrap}
@media(min-width:1025px){.fmvn-text-case-page.admin-bar #fmvn-home .fmvn-header{top:32px}}
@media(min-width:1025px) and (max-width:1279px){#fmvn-text-case .fmtc-option{flex-direction:column;justify-content:space-between;min-height:98px;text-align:center}#fmvn-text-case .fmtc-option input{right:auto;left:50%;top:auto;bottom:10px;transform:translateX(-50%)}}
@media(max-width:1280px){#fmvn-text-case .fmtc-stats{gap:16px}#fmvn-text-case .fmtc-stat{padding:20px 18px}}
@media(max-width:1024px){#fmvn-text-case .fmtc-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .fmvn-text-case-page #fmvn-home .fmtc-page-content{padding-top:24px;padding-bottom:24px}
  #fmvn-text-case .fmtc-heading{margin-bottom:24px}#fmvn-text-case h1{font-size:29px}
  #fmvn-text-case .fmtc-intro{font-size:14px;line-height:1.8}
  #fmvn-text-case .fmtc-workspace-top{padding:16px 18px;align-items:flex-start;flex-direction:column;gap:8px}
  #fmvn-text-case .fmtc-button-text{padding:4px 0;min-height:32px}
  #fmvn-text-case .fmtc-editors{grid-template-columns:minmax(0,1fr);gap:22px;padding:22px 18px}
  #fmvn-text-case .fmtc-field textarea{height:220px;min-height:200px;font-size:16px}
  #fmvn-text-case .fmtc-options{padding-left:18px;padding-right:18px}
  #fmvn-text-case .fmtc-options-grid{gap:10px}
  #fmvn-text-case .fmtc-option{padding:11px 12px;gap:8px;font-size:12px}
  #fmvn-text-case .fmtc-option input{right:12px}
  #fmvn-text-case .fmtc-option-notes{flex-direction:column;gap:6px}
  #fmvn-text-case .fmtc-proper-names textarea{font-size:16px}
  #fmvn-text-case .fmtc-details[open]{flex:auto}
  #fmvn-text-case .fmtc-actions{padding:18px;gap:10px}
  #fmvn-text-case .fmtc-actions-primary{width:100%;display:grid;grid-template-columns:1fr;gap:10px}
  #fmvn-text-case .fmtc-button-primary,#fmvn-text-case .fmtc-button-secondary{width:100%;min-height:44px}
  #fmvn-text-case .fmtc-stats{grid-template-columns:1fr;gap:12px;margin-top:22px}
  #fmvn-text-case .fmtc-stat{padding:20px}
  #fmvn-text-case .fmtc-stat-heading{margin-bottom:9px}
  #fmvn-text-case .fmtc-footer{flex-direction:column;gap:8px;margin-top:25px;padding-top:22px}
}
@media(max-width:420px){#fmvn-text-case .fmtc-options-grid{grid-template-columns:1fr}#fmvn-text-case .fmtc-field label span{font-weight:400}}
@media(prefers-reduced-motion:reduce){#fmvn-text-case .fmtc-button,#fmvn-text-case .fmtc-switch,#fmvn-text-case .fmtc-switch:after,#fmvn-text-case textarea{transition:none}}
