.zt-file-workbench{padding-bottom:26px;color:#1e293b;line-height:1.65}
.zt-file-workbench *{box-sizing:border-box}
.zt-file-workbench .hero{padding:30px 0 26px}
.zt-file-workbench .hero h1{font-size:32px;line-height:1.3;letter-spacing:-.5px;margin:4px 0 12px}
.zt-file-workbench .hero p{color:#64748b;max-width:900px}
.zt-file-workbench .eyebrow{font-size:13px;margin:0}
.zt-file-workbench .privacy{font-size:13px;color:#15705a}
.zt-file-workbench .card{background:#fff;border:1px solid #dfe5ee;border-radius:12px;padding:24px;margin-bottom:22px}
.zt-file-workbench h2{font-size:19px;line-height:1.5;margin:0 0 16px}
.zt-file-workbench .section-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px}
.zt-file-workbench .section-title h2{margin:0}
.zt-file-workbench .section-title>span,.zt-file-workbench .hint{font-size:13px;color:#67768b}
.zt-file-workbench .hint{margin:10px 0}
.zt-file-workbench .controls,.zt-file-workbench .actions{display:flex;align-items:end;flex-wrap:wrap;gap:12px}
.zt-file-workbench .controls{margin:12px 0}
.zt-file-workbench .controls>label{min-width:140px;max-width:100%;flex:0 1 230px}
.zt-file-workbench label{display:block;color:#40516a;font-size:14px}
.zt-file-workbench label input[type=checkbox]{display:inline;width:auto;margin:0 6px 0 0}
.zt-file-workbench input,.zt-file-workbench textarea,.zt-file-workbench select,.zt-file-workbench button{font:inherit}
.zt-file-workbench input:not([type=checkbox]),.zt-file-workbench select,.zt-file-workbench textarea{display:block;border:1px solid #cfd8e5;border-radius:7px;padding:9px 11px;width:100%;background:#fff;color:#263750;margin-top:5px}
.zt-file-workbench input[type=file]{font-size:13px;min-width:0}
.zt-file-workbench textarea{resize:vertical;line-height:1.7}
.zt-file-workbench button{border:1px solid #ccd6e5;background:#fff;color:#3b4d68;border-radius:7px;padding:9px 15px;cursor:pointer;line-height:1.4;white-space:normal}
.zt-file-workbench button:hover{background:#f2f6fd;border-color:#96afd8}
.zt-file-workbench button.primary{background:#285fd2;border-color:#285fd2;color:#fff}
.zt-file-workbench button:disabled{opacity:.45;cursor:not-allowed}
.zt-file-workbench :is(button,a,input,textarea,select):focus-visible{outline:3px solid #adcbff;outline-offset:2px}
.zt-file-workbench .actions{margin-top:16px}
.zt-file-workbench .quick-actions{display:flex;align-items:end;flex-wrap:wrap;gap:9px;margin-bottom:18px}
.zt-file-workbench .quick-actions button{font-size:13px;padding:7px 11px}
.zt-file-workbench .table-wrap{overflow:auto;margin-top:16px;border:1px solid #e2e8f0;border-radius:8px;max-height:520px}
.zt-file-workbench table{width:100%;border-collapse:collapse;font-size:13px}
.zt-file-workbench :is(td,th){border-bottom:1px solid #e3e8f0;border-right:1px solid #e3e8f0;padding:9px 12px;white-space:pre-wrap;text-align:left;min-width:125px;max-width:360px;overflow-wrap:anywhere}
.zt-file-workbench th{background:#f4f7fc;position:sticky;top:0;z-index:1;font-weight:600}
.zt-file-workbench td input{border:0!important;padding:3px!important;min-width:110px;margin:0!important}
.zt-file-workbench #stepList li{margin:9px 0}
.zt-file-workbench #stepList button{font-size:12px;padding:4px 9px;margin-left:6px}
.zt-file-workbench .editor-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.zt-file-workbench .editor-heading h2{margin:0}
.zt-file-workbench .result-text{max-height:440px;overflow:auto;white-space:pre-wrap;background:#f8fafd;border:1px solid #e2e8f0;border-radius:8px;padding:16px}
.zt-file-workbench :is(.zt-text-settings-controls,.zt-text-option-list,.zt-text-field-grid){display:flex;gap:14px;flex-wrap:wrap}
.zt-file-workbench .zt-text-field-grid>label{flex:1 1 160px}
.zt-file-workbench .zt-text-option-list{margin-bottom:12px}
.zt-file-workbench .zt-text-replace{width:100%;margin-top:12px}
.zt-file-workbench .zt-text-replace>div{display:flex;gap:12px}
.zt-file-workbench :is(.zt-text-history-actions,.zt-text-quick-actions,.zt-text-preset-buttons){display:flex;gap:9px;flex-wrap:wrap}
.zt-file-workbench .zt-text-stat-grid{display:flex;gap:20px;flex-wrap:wrap}
.zt-file-workbench .zt-text-stat-grid>div{display:flex;gap:9px}
.zt-file-workbench :is(.zt-text-stat-heading,.zt-text-panel-heading){display:flex;gap:15px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.zt-file-workbench #ztTextSource{min-height:360px}
.zt-file-workbench .zt-text-panel-heading p{font-size:13px;color:#64748b}
.zt-file-workbench .zt-text-presets{margin-bottom:22px}
.zt-file-workbench .zt-text-preset-buttons .is-active{background:#e8efff;border-color:#7c9dd4;color:#245bc2}
.zt-file-workbench .error{color:#ad2525!important}
.zt-file-workbench progress{display:block;width:100%;height:8px;margin-top:18px;accent-color:#2b63d7}
.zt-file-workbench [role=status]{margin:12px 0 0;color:#315b91;font-size:14px}
.zt-file-workbench details{margin-top:16px}
.zt-file-workbench summary{cursor:pointer;color:#486080;font-size:14px}
.zt-file-workbench [hidden]{display:none!important}
.zt-file-workbench .file-list{max-height:360px;overflow:auto;overflow-wrap:anywhere}
.zt-file-workbench .file-list label{padding:8px;border-bottom:1px solid #edf0f6}
.zt-file-workbench .file-list a{display:inline-block;margin:8px}
.zt-file-workbench .notice{padding:12px 14px;background:#f5f8fd;border-left:3px solid #b6caeb;color:#53647c;font-size:13px}
.zt-file-workbench .metadata{font-size:13px;display:grid;grid-template-columns:160px 1fr;gap:8px}
.zt-file-workbench .metadata dd{margin:0;overflow-wrap:anywhere}
.zt-file-workbench .metadata dt{color:#64748b}
@media(max-width:720px){
 .zt-file-workbench .hero{padding-top:22px}
 .zt-file-workbench .hero h1{font-size:26px}
 .zt-file-workbench .card{padding:18px 15px}
 .zt-file-workbench .section-title{display:block}
 .zt-file-workbench .section-title>span{display:block;margin-top:5px}
 .zt-file-workbench .controls>label{flex:1 1 100%;min-width:0}
 .zt-file-workbench .actions button{flex:1 1 auto;max-width:100%}
 .zt-file-workbench .metadata{grid-template-columns:90px 1fr}
 .zt-file-workbench .zt-text-replace>div{flex-direction:column}
 .zt-file-workbench .zt-text-panel-heading{align-items:stretch}
}
