#gzw .title-workbench{position:relative;padding:14px;border:1px solid var(--gw-line);border-radius:16px;background:var(--gw-bg);margin:4px 0 16px}
#gzw .title-options-header{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#gzw .title-options-header>strong{font-size:14px;margin-right:auto}
#gzw .title-options-header .gw-btn{font-size:12px;min-height:38px;padding:7px 11px}
#gzw .title-options-info,#gzw .title-options-metrics{margin:8px 0;font-size:12px}
#gzw .title-options-status{margin:8px 0;font-size:12px;white-space:normal}
#gzw .title-options-status:empty{display:none}
#gzw .title-options-status.is-generating:before{content:'';display:inline-block;width:12px;height:12px;border:2px solid var(--gw-line);border-top-color:var(--gw-accent);border-radius:50%;margin-right:8px;vertical-align:middle;animation:title-spin .8s linear infinite}
#gzw .title-options-status.has-error{color:var(--gw-ink);border-left:3px solid var(--gw-accent);padding-left:9px}
#gzw .title-options{border:0;padding:0;margin:0}
#gzw .title-options>summary{font-size:13px;min-height:40px;padding:9px 0;cursor:pointer;color:var(--gw-accent)}
#gzw .title-options-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
#gzw .title-option-card{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:10px 12px;background:var(--gw-panel);border:1px solid var(--gw-line);border-radius:12px;cursor:pointer;color:var(--gw-ink);font:inherit;line-height:1.45;min-height:52px}
#gzw .title-option-card[aria-pressed=true]{border-color:var(--gw-accent);box-shadow:inset 3px 0 var(--gw-accent)}
#gzw .title-option-card:hover:enabled{border-color:var(--gw-accent)}
#gzw .title-option-card:focus-visible{outline:2px solid var(--gw-accent);outline-offset:2px}
#gzw .title-option-card:disabled{cursor:default;opacity:1}
#gzw .title-option-number{width:26px;height:26px;display:grid;place-items:center;flex:none;border-radius:50%;background:var(--gw-bg);font-size:12px;color:var(--gw-muted)}
#gzw .title-option-text{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
#gzw .title-option-text strong{font-size:14px;font-weight:600}
#gzw .title-option-text small{font-size:11px;color:var(--gw-muted)}
@keyframes title-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){#gzw .title-options-header .gw-btn{min-height:44px}#gzw .title-option-card{padding:10px;gap:8px}#gzw .title-option-text strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){#gzw .title-options-status.is-generating:before{animation:none}}

#gzw #article-form textarea.editor-title{resize:none;overflow:auto;min-height:64px;max-height:160px;line-height:1.25;font-family:inherit;padding:13px}
#gzw.editor-focus #article-form textarea.editor-title{max-height:min(110px,24dvh);min-height:48px;padding:8px 12px}
@supports (field-sizing:content) {
 #gzw.editor-focus #article-form textarea.editor-title{field-sizing:content;height:auto!important}
}
