.ct-page{--ct-blue:#1755d1;--ct-ink:#18304d;--ct-muted:#5b6e85;--ct-border:#dce6f3;color:var(--ct-ink);max-width:1180px;margin:auto}.ct-hero{padding:26px 0 28px;max-width:850px}.ct-eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.17em;color:var(--ct-blue);margin:0 0 12px}.ct-hero h1{font-size:clamp(1.8rem,4vw,2.65rem);line-height:1.2;margin:0 0 15px;letter-spacing:-.04em}.ct-hero>p:not(.ct-eyebrow){line-height:1.8;color:var(--ct-muted);margin:0 0 17px}.ct-badges{display:flex;gap:8px;flex-wrap:wrap}.ct-badges span{background:#edf4ff;border:1px solid #dbe8ff;border-radius:30px;padding:5px 11px;font-size:.8rem;color:#194da5}.ct-workspace,.ct-result{background:#fff;border:1px solid var(--ct-border);border-radius:20px;padding:28px;margin-bottom:24px;box-shadow:0 6px 30px #183b6a06}.ct-section-head,.ct-preview-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.ct-section-head{margin-bottom:12px}.ct-kicker{color:#6384b5;font-weight:800;font-size:.75rem;letter-spacing:.12em;margin:0 0 6px}.ct-section-head h2{font-size:1.3rem;margin:0}.ct-page button,.ct-dialog button{font:inherit;font-size:.88rem;font-weight:650;background:#fff;border:1px solid #cad8ea;border-radius:9px;min-height:42px;padding:9px 15px;color:#28496c;cursor:pointer;transition:background .15s,border-color .15s}.ct-page button:hover,.ct-dialog button:hover{background:#eff5ff;border-color:#7c9ed1}.ct-page button:disabled,.ct-dialog button:disabled{opacity:.45;cursor:not-allowed}.ct-page .ct-primary,.ct-dialog .ct-primary{background:var(--ct-blue,#1755d1);border-color:var(--ct-blue,#1755d1);color:#fff}.ct-page .ct-primary:hover,.ct-dialog .ct-primary:hover{background:#1246b1}.ct-page :focus-visible,.ct-dialog :focus-visible{outline:3px solid #8bb5ff;outline-offset:3px}.ct-page textarea,.ct-dialog textarea,.ct-dialog select,.ct-page select{font:inherit;color:#233c59;border:1px solid #ccd9eb;border-radius:10px;background:#fff;max-width:100%;padding:11px 13px}.ct-page textarea,.ct-dialog textarea{width:100%;box-sizing:border-box;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88rem;line-height:1.65;tab-size:4}.ct-page textarea{min-height:208px;background:#fbfdff}.ct-help{color:var(--ct-muted);font-size:.83rem;line-height:1.7;margin:10px 0}.ct-drop{border:1px dashed #a8c1e5;border-radius:12px;background:#f5f9ff;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;margin-top:15px}.ct-drop strong{font-size:.9rem}.ct-drop p{font-size:.78rem;color:var(--ct-muted);margin:5px 0 0}.ct-drop.is-dragging{background:#e5efff;border:2px solid var(--ct-blue);padding:17px}.ct-samples{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:17px}.ct-samples>span{font-size:.78rem;color:var(--ct-muted);margin-right:3px}.ct-samples button{font-size:.78rem;min-height:32px;padding:5px 10px;background:#f7faff}.ct-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.ct-actions #ct-run{padding:12px 27px;min-height:46px}.ct-actions #ct-reset{margin-left:auto}.ct-job{background:#f7faff;border:1px solid #e3ebf7;border-radius:12px;padding:14px 16px;margin-top:22px}.ct-progress-head{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:.8rem}.ct-progress-head p{margin:0 0 9px;line-height:1.6}.ct-percent{font-variant-numeric:tabular-nums}.ct-progress{height:6px;overflow:hidden;background:#dfe9f8;border-radius:6px}.ct-progress>span{display:block;width:0;height:100%;background:#2c6cf0;border-radius:6px;transition:width .12s}.ct-privacy{font-size:.78rem;line-height:1.7;color:#597493;margin:14px 0 0}.ct-error{font-size:.86rem;color:#a22429;line-height:1.6;margin:12px 0 0;white-space:pre-wrap}.ct-notice{padding:11px 14px;border:1px solid #bdd2f6;background:#f0f6ff;border-radius:9px;font-size:.84rem;line-height:1.7;color:#28578f}.ct-empty{color:#6b7e94;font-size:.9rem;text-align:center;padding:43px 10px}.ct-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.ct-metrics>div{padding:16px 18px;border:1px solid #dce8f7;background:#f8fbff;border-radius:12px}.ct-metrics dt{font-size:.79rem;color:var(--ct-muted);margin-bottom:8px}.ct-metrics dd{margin:0;font-size:1.05rem;font-weight:750;line-height:1.7;overflow-wrap:anywhere}.ct-metrics small{font-size:.78rem;font-weight:500;color:var(--ct-muted);display:block}.ct-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.ct-preview{min-width:0;border:1px solid var(--ct-border);border-radius:12px;overflow:hidden}.ct-preview-head{padding:14px 15px;background:#f7faff;min-height:44px}.ct-preview-head h3{font-size:.96rem;margin:0}.ct-preview-head button{font-size:.75rem;min-height:32px;padding:5px 9px}.ct-pages{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 13px;border-top:1px solid #e4ecf7;border-bottom:1px solid #e4ecf7}.ct-pages label{font-size:.73rem;color:var(--ct-muted)}.ct-pages select{font-size:.73rem;padding:5px 7px;min-height:30px;max-width:150px}.ct-table-scroll{overflow:auto;max-height:430px;min-height:120px;overscroll-behavior:contain}.ct-table-scroll table{border-collapse:separate;border-spacing:0;min-width:100%;font-size:.78rem}.ct-table-scroll th{background:#f2f6fc;color:#5b7395;font-weight:600;position:sticky;top:0;z-index:1;min-width:48px;text-align:center}.ct-table-scroll th:first-child{position:sticky;left:0;z-index:2;min-width:38px}.ct-table-scroll th,.ct-table-scroll td{border-bottom:1px solid #e4ebf5;border-right:1px solid #e4ebf5;padding:9px 10px;vertical-align:top}.ct-table-scroll tbody th{z-index:1;font-variant-numeric:tabular-nums}.ct-table-scroll td{min-width:85px;max-width:230px;cursor:zoom-in;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.ct-table-scroll td:hover{background:#f1f6ff}.ct-download-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #e4ecf7;padding-top:17px;margin-top:20px}.ct-download-panel>div:first-child{min-width:0}.ct-download-panel p:first-child{margin:0;font-size:.86rem;font-weight:650;overflow-wrap:anywhere}.ct-download-panel .ct-help{font-weight:400;margin-bottom:0}.ct-download-panel .ct-actions{flex-shrink:0}#ct-output-status{font-size:.83rem;color:#2b5b93;line-height:1.7;margin:12px 0 0}.ct-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 40px;padding:5px 7px 30px;color:#526981}.ct-guide h2{font-size:1.04rem;color:#203f65;margin:10px 0 12px}.ct-guide p,.ct-guide li,.ct-guide summary{font-size:.85rem;line-height:1.85}.ct-guide ol,.ct-guide ul{padding-left:21px}.ct-guide li+li{margin-top:7px}.ct-guide details{border-bottom:1px solid #e0e8f2;padding:10px 0}.ct-guide summary{cursor:pointer;font-weight:600}.ct-guide a{color:#1c59b9}.ct-dialog{--ct-blue:#1755d1;max-width:650px;width:calc(100% - 30px);box-sizing:border-box;padding:0;border:1px solid #d6e1f0;border-radius:18px;max-height:calc(100dvh - 35px);color:#18304d;box-shadow:0 24px 90px #0e2b4d40}.ct-dialog::backdrop{background:#162d4e80;backdrop-filter:blur(3px)}.ct-dialog-head,.ct-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px;background:#f8fbff}.ct-dialog-head{border-bottom:1px solid #e0e9f6}.ct-dialog-head h2{font-size:1.15rem;margin:0}.ct-dialog-head>button{min-width:35px;min-height:35px;padding:4px 10px;font-size:1.3rem}.ct-dialog-body{padding:23px}.ct-dialog-footer{border-top:1px solid #e0e9f6;justify-content:flex-end}.ct-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ct-field label{display:block;font-size:.85rem;font-weight:650;margin-bottom:9px}.ct-field select{width:100%;min-height:43px;font-size:.85rem}.ct-check{grid-column:1/-1}.ct-check label{font-size:.88rem;font-weight:650;display:flex;align-items:center;gap:8px}.ct-check input{width:17px;height:17px;accent-color:#1755d1}.ct-check p{font-size:.8rem;line-height:1.75;color:#5b6e85;margin:7px 0 0 29px}.ct-text-dialog{max-width:1000px}.ct-text-dialog textarea{min-height:250px;max-height:60dvh;font-size:.82rem;background:#fbfdff}.ct-confirm-dialog{max-width:450px}.ct-confirm-dialog p{line-height:1.8;margin:0;font-size:.91rem}.ct-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}.ct-page [hidden],.ct-dialog [hidden]{display:none!important}@media(max-width:900px){.ct-preview-grid{grid-template-columns:1fr}.ct-table-scroll{max-height:360px}.ct-download-panel{align-items:flex-start;flex-direction:column}.ct-guide{gap:22px}.ct-workspace,.ct-result{padding:22px}}@media(max-width:560px){.ct-workspace,.ct-result{padding:18px 14px;border-radius:14px}.ct-hero{padding-top:18px}.ct-hero h1{font-size:1.8rem}.ct-section-head h2{font-size:1.13rem}.ct-page button{font-size:.8rem;padding:8px 11px}.ct-drop{padding:15px;align-items:flex-start;flex-direction:column;gap:12px}.ct-drop.is-dragging{padding:14px}.ct-metrics{gap:8px}.ct-metrics>div{padding:13px 11px}.ct-metrics dd{font-size:.91rem}.ct-metrics small{font-size:.73rem}.ct-guide{grid-template-columns:1fr;padding:0 4px 25px;gap:12px}.ct-settings-grid{grid-template-columns:1fr;gap:18px}.ct-dialog-body{padding:18px}.ct-dialog-head,.ct-dialog-footer{padding:16px 18px}.ct-samples>span{flex-basis:100%}.ct-actions #ct-run{padding:11px 20px}.ct-table-scroll td{min-width:75px}.ct-download-panel .ct-actions{width:100%}.ct-download-panel .ct-actions button{flex:1}}@media(prefers-reduced-motion:reduce){.ct-page *,.ct-dialog *{transition:none!important;scroll-behavior:auto!important}}

/* Keep the settings actions visible while long translated options scroll. */
#ct-settings-dialog{overflow:hidden}
#ct-settings-dialog[open]{display:flex;flex-direction:column}
#ct-settings-dialog>form{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 37px);width:100%}
#ct-settings-dialog .ct-dialog-head,#ct-settings-dialog .ct-dialog-footer{flex-shrink:0}
#ct-settings-dialog .ct-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}