.ai-detector-workbench{--ai-detector-border:rgba(0, 0, 0, 0.08);--ai-detector-border-strong:rgba(0, 0, 0, 0.14);--ai-detector-text:#1d1d1f;--ai-detector-muted:#6e6e73;--ai-detector-surface:#f5f5f7;--ai-detector-panel:rgba(255, 255, 255, 0.72);--ai-detector-output-panel:transparent;--ai-detector-field:rgba(255, 255, 255, 0.78);--ai-detector-accent:#1d1d1f;--ai-detector-button:#1d1d1f;--ai-detector-danger:#b91c1c;--ai-detector-caution:#b45309;--ai-detector-positive:#047857;--ai-detector-info:#2563eb;--ai-detector-radius:4px;--ai-detector-shadow:0 22px 60px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.78) inset;background:linear-gradient(180deg,#fbfbfd 0%,var(--ai-detector-surface) 100%);color:var(--ai-detector-text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;padding:0 18px 30px}.ai-detector-workbench *,.ai-detector-workbench ::before,.ai-detector-workbench ::after{box-sizing:border-box}.ai-detector-shell{max-width:72rem;margin:0 auto}.ai-detector-hero{display:flex;gap:16px;align-items:baseline;padding:20px 0 15px}.ai-detector-title{flex:0 0 auto;margin:0;color:var(--ai-detector-text);font-size:1.58rem;font-weight:720;line-height:1.15}.ai-detector-intro{margin:0;color:var(--ai-detector-muted);font-size:.96rem;line-height:1.55;max-width:38rem}.ai-detector-tool{min-height:min(calc(100svh - 236px),700px);display:flex;flex-direction:column;border:1px solid var(--ai-detector-border);border-radius:var(--ai-detector-radius);background:var(--ai-detector-panel);box-shadow:var(--ai-detector-shadow);backdrop-filter:saturate(180%) blur(22px);-webkit-backdrop-filter:saturate(180%) blur(22px);overflow:hidden}.ai-detector-workspace{min-height:0;flex:1 1 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ai-detector-panel{display:flex;min-width:0;min-height:0;flex-direction:column;padding:14px 16px}.ai-detector-output-panel{border-left:1px solid var(--ai-detector-border);background:var(--ai-detector-output-panel)}.ai-detector-main-field{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;gap:8px}.ai-detector-label,.ai-detector-panel-title{color:var(--ai-detector-text);font-size:.92rem;font-weight:650;line-height:1.35}.ai-detector-textarea-shell{position:relative;display:flex;min-height:420px;flex:1 1 auto;border-radius:var(--ai-detector-radius);background:rgba(255,255,255,.72)}.ai-detector-highlight-layer{position:absolute;inset:0;z-index:0;border:1px solid transparent;border-radius:var(--ai-detector-radius);color:transparent;padding:12px 12px 34px;font:inherit;line-height:1.65;overflow:hidden;overflow-wrap:anywhere;pointer-events:none;white-space:pre-wrap}.ai-detector-highlight-mark{border-radius:3px;background:rgba(217,119,6,.19);box-shadow:0 0 0 1px rgba(217,119,6,.11) inset}.ai-detector-highlight-mark[data-risk-level=high]{background:rgba(185,28,28,.34);box-shadow:0 0 0 1px rgba(185,28,28,.18) inset}.ai-detector-highlight-mark[data-risk-level=medium]{background:rgba(217,119,6,.19);box-shadow:0 0 0 1px rgba(217,119,6,.11) inset}.ai-detector-textarea{position:relative;z-index:1;flex:1 1 auto;width:100%;min-height:100%;border:1px solid var(--ai-detector-border-strong);border-radius:var(--ai-detector-radius);background:0 0;color:var(--ai-detector-text);padding:12px 12px 34px;font:inherit;line-height:1.65;resize:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.025);transition:border-color 130ms ease,box-shadow 130ms ease,background 130ms ease}.ai-detector-textarea.hy-tool-textarea{background:0 0;padding:12px 12px 34px;line-height:1.65}.ai-detector-text-counter{position:absolute;right:10px;bottom:8px;z-index:2;max-width:calc(100% - 20px);min-width:72px;border:1px solid rgba(0,0,0,.08);border-radius:4px;background:rgba(255,255,255,.9);color:var(--ai-detector-muted);padding:2px 7px;font-size:.76rem;font-weight:650;line-height:1.35;pointer-events:none;text-align:right;white-space:nowrap}.ai-detector-text-counter[hidden]{display:none}.ai-detector-text-counter[data-state=over]{border-color:rgba(185,28,28,.18);background:rgba(254,242,242,.95);color:var(--ai-detector-danger)}.ai-detector-textarea::placeholder{color:#86868b}.ai-detector-textarea:focus{border-color:var(--ai-detector-accent);background:0 0;box-shadow:0 0 0 3px rgba(29,29,31,.12),inset 0 1px 2px rgba(0,0,0,.025);outline:0}.ai-detector-textarea.hy-tool-textarea:focus{background:0 0;box-shadow:0 0 0 3px rgba(29,29,31,.12),inset 0 1px 2px rgba(0,0,0,.025)}.ai-detector-textarea[aria-invalid=true]{border-color:var(--ai-detector-danger);box-shadow:0 0 0 3px rgba(185,28,28,.12),inset 0 1px 2px rgba(0,0,0,.025)}.ai-detector-action-bar{flex:0 0 auto}.ai-detector-control-row{display:flex;justify-content:flex-end;margin-top:0}.ai-detector-button{min-height:42px;border:1px solid transparent;border-radius:var(--ai-detector-radius);padding:0 18px;font:inherit;font-weight:650;cursor:pointer;transition:background 130ms ease,border-color 130ms ease,box-shadow 130ms ease}.ai-detector-button:disabled{cursor:wait;opacity:.65}.ai-detector-button-primary{background:var(--ai-detector-button);border-color:var(--ai-detector-button);color:#fff;box-shadow:0 8px 18px rgba(0,0,0,.12)}.ai-detector-button-primary:hover,.ai-detector-button-primary:focus-visible{background:#000;border-color:#000}.ai-detector-status{min-height:1.35em;margin:8px 0 0;color:var(--ai-detector-muted);font-size:.88rem;line-height:1.35}.ai-detector-status[data-state=failed],.ai-detector-status[data-state=unavailable]{color:var(--ai-detector-danger)}.ai-detector-output-head{flex:0 0 auto;min-height:1.35em;margin-bottom:8px}.ai-detector-panel-title{margin:0}.ai-detector-output{display:flex;flex-direction:column;min-height:420px;flex:1 1 auto;margin:0;border:1px solid var(--ai-detector-border-strong);border-radius:var(--ai-detector-radius);background:var(--ai-detector-field);color:var(--ai-detector-text);padding:12px;font:inherit;line-height:1.65;overflow:auto;overflow-wrap:anywhere;white-space:normal;box-shadow:inset 0 1px 2px rgba(0,0,0,.025)}.ai-detector-output[data-placeholder=true]{display:block;color:var(--ai-detector-muted);white-space:pre-wrap}.ai-detector-result-card{display:flex;min-height:100%;flex-direction:column;gap:16px}.ai-detector-result-header{display:flex;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid var(--ai-detector-border)}.ai-detector-result-badge{min-width:78px;border:1px solid var(--ai-detector-border-strong);border-radius:4px;padding:4px 9px;background:#f5f5f7;color:var(--ai-detector-muted);font-size:.78rem;font-weight:700;line-height:1.35;text-align:center}.ai-detector-result-title{min-width:0;color:var(--ai-detector-text);font-size:1.3rem;font-weight:760;line-height:1.2}.ai-detector-output[data-result-state=likely-ai] .ai-detector-result-title,.ai-detector-output[data-result-state=verified-ai-origin] .ai-detector-result-title{color:var(--ai-detector-danger)}.ai-detector-output[data-result-state=likely-human] .ai-detector-result-title{color:var(--ai-detector-positive)}.ai-detector-output[data-result-state=mixed] .ai-detector-result-title{color:var(--ai-detector-info)}.ai-detector-output[data-result-state=uncertain] .ai-detector-result-title{color:var(--ai-detector-caution)}.ai-detector-output[data-result-state=likely-ai] .ai-detector-result-badge,.ai-detector-output[data-result-state=verified-ai-origin] .ai-detector-result-badge{border-color:rgba(185,28,28,.32);background:rgba(254,226,226,.95);color:var(--ai-detector-danger)}.ai-detector-output[data-result-state=likely-human] .ai-detector-result-badge{border-color:rgba(4,120,87,.18);background:rgba(236,253,245,.95);color:var(--ai-detector-positive)}.ai-detector-output[data-result-state=mixed] .ai-detector-result-badge{border-color:rgba(37,99,235,.18);background:rgba(239,246,255,.95);color:var(--ai-detector-info)}.ai-detector-output[data-result-state=uncertain] .ai-detector-result-badge{border-color:rgba(180,83,9,.18);background:rgba(255,251,235,.95);color:var(--ai-detector-caution)}.ai-detector-result-metrics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.ai-detector-result-metric{min-width:0;border:1px solid var(--ai-detector-border);border-radius:var(--ai-detector-radius);background:rgba(255,255,255,.72);padding:10px}.ai-detector-result-metric-head{display:flex;gap:8px;align-items:baseline;justify-content:space-between}.ai-detector-result-metric-label{min-width:0;color:var(--ai-detector-muted);font-size:.78rem;font-weight:650;line-height:1.35}.ai-detector-result-metric-value{color:var(--ai-detector-text);font-size:1.12rem;font-weight:760;line-height:1.2;white-space:nowrap}.ai-detector-highlight-summary{margin:-2px 0 0;border:1px solid var(--ai-detector-border);border-radius:var(--ai-detector-radius);background:rgba(255,255,255,.72);color:var(--ai-detector-muted);padding:9px 10px;font-size:.84rem;font-weight:650;line-height:1.45}.ai-detector-result-meter{height:7px;margin-top:9px;overflow:hidden;border-radius:4px;background:rgba(0,0,0,.08)}.ai-detector-result-meter-fill{display:block;height:100%;border-radius:inherit;background:var(--ai-detector-text);transition:width 180ms ease}.ai-detector-output[data-result-state=likely-ai] .ai-detector-result-meter-fill,.ai-detector-output[data-result-state=verified-ai-origin] .ai-detector-result-meter-fill{background:var(--ai-detector-danger)}.ai-detector-output[data-result-state=likely-human] .ai-detector-result-meter-fill{background:var(--ai-detector-positive)}.ai-detector-output[data-result-state=mixed] .ai-detector-result-meter-fill{background:var(--ai-detector-info)}.ai-detector-output[data-result-state=uncertain] .ai-detector-result-meter-fill{background:var(--ai-detector-caution)}.ai-detector-result-section{display:grid;gap:8px}.ai-detector-result-section-title{margin:0;color:var(--ai-detector-muted);font-size:.78rem;font-weight:720;letter-spacing:0;line-height:1.35}.ai-detector-reason-list{display:flex;flex-wrap:wrap;gap:6px}.ai-detector-reason-chip{max-width:100%;border:1px solid var(--ai-detector-border);border-radius:4px;background:#fff;color:var(--ai-detector-text);padding:4px 8px;font-size:.76rem;font-weight:620;line-height:1.35}.ai-detector-reason-chip-muted{color:var(--ai-detector-muted)}.ai-detector-segment-list{display:grid;gap:8px}.ai-detector-segment-card{border:1px solid var(--ai-detector-border);border-left:3px solid var(--ai-detector-border-strong);border-radius:var(--ai-detector-radius);background:rgba(255,255,255,.72);padding:10px}.ai-detector-segment-card[data-risk-level=high]{border-color:rgba(185,28,28,.32);border-left-color:var(--ai-detector-danger);background:rgba(254,242,242,.62)}.ai-detector-segment-card[data-risk-level=medium]{border-color:rgba(217,119,6,.2);border-left-color:#d97706}.ai-detector-segment-head{display:flex;flex-wrap:wrap;gap:10px;align-items:baseline;justify-content:space-between;margin-bottom:6px}.ai-detector-segment-role{color:var(--ai-detector-muted);font-size:.76rem;font-weight:700;line-height:1.35}.ai-detector-segment-risk{color:var(--ai-detector-muted);font-size:.76rem;font-weight:760;line-height:1.35}.ai-detector-segment-card[data-risk-level=high] .ai-detector-segment-risk{color:var(--ai-detector-danger)}.ai-detector-segment-card[data-risk-level=medium] .ai-detector-segment-risk{color:#b45309}.ai-detector-segment-card[data-risk-level=medium] .ai-detector-segment-score{color:#b45309}.ai-detector-segment-score{color:var(--ai-detector-danger);font-size:.82rem;font-weight:760;line-height:1.35;white-space:nowrap}.ai-detector-segment-excerpt,.ai-detector-segment-empty{margin:0;color:var(--ai-detector-text);font-size:.88rem;line-height:1.58}.ai-detector-segment-empty{color:var(--ai-detector-muted)}@media (max-width:767px){.ai-detector-workbench{padding:0 8px 22px}.ai-detector-hero{display:block;padding:13px 0 10px}.ai-detector-title{font-size:1.24rem}.ai-detector-intro{margin-top:4px;font-size:.94rem}.ai-detector-tool{min-height:auto;border-width:.5px 0;border-right:0;border-left:0;border-radius:0;box-shadow:none}.ai-detector-workspace{grid-template-columns:1fr}.ai-detector-panel{padding:9px 10px}.ai-detector-output-panel{border-top:.5px solid var(--ai-detector-border);border-left:0}.ai-detector-textarea-shell,.ai-detector-textarea,.ai-detector-output{min-height:230px}.ai-detector-result-header,.ai-detector-result-metrics{grid-template-columns:1fr}.ai-detector-result-badge{width:max-content;max-width:100%}.ai-detector-control-row{display:block;margin-top:0}.ai-detector-button-primary{width:100%}}