/* 寄信草稿卡 (claude-maildraft-20261121): same card, rows and buttons as the other chat cards and the 運算節點 rows. */
.draft-card{--draft-red:#b3261e;--draft-green:#176b3a;--draft-orange:#c25e00}
[data-theme=dark] .draft-card{--draft-red:#ffb4ab;--draft-green:#81d9a3;--draft-orange:#f2a15b}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .draft-card{--draft-red:#ffb4ab;--draft-green:#81d9a3;--draft-orange:#f2a15b}}
.draft-head{display:flex;align-items:flex-start;gap:10px;min-width:0}
.draft-icon{flex:none;width:20px;height:20px;margin-top:4px;fill:none;stroke:var(--muted);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.draft-title{min-width:0}.draft-title h3{overflow-wrap:anywhere;text-wrap:pretty}
.draft-fields{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:10px 0 0;font-size:14px;line-height:1.6}
.draft-fields dt{color:var(--muted);white-space:nowrap}.draft-fields dd{margin:0;overflow-wrap:anywhere}
.draft-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0;padding:12px 14px;border-radius:12px;background:var(--hover);font-size:14px;line-height:1.7}
.draft-more{border:0;background:transparent;color:var(--muted);font:inherit;font-size:13px;padding:6px 0;cursor:pointer;min-height:32px}
.draft-more:hover{color:var(--ink);text-decoration:underline}
.draft-files{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.draft-file{display:flex;align-items:center;gap:8px;min-width:0;font-size:14px}
.draft-clip{flex:none;width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.draft-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.draft-file-size{flex:none;color:var(--muted);font-size:12px}
.draft-note{margin:10px 0 0;font-size:13px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}
.draft-line{display:flex;align-items:flex-start;gap:8px;margin:12px 0 0;font-size:14px;line-height:1.6}
.draft-line .node-dot{margin-top:7px;flex:none}
.draft-bad{color:var(--draft-red)}
.draft-actions{margin-top:12px}
.draft-actions a.choice-button{text-decoration:none;display:inline-flex;align-items:center}
.draft-card button:active,.draft-card a.choice-button:active{transform:scale(.98)}
.draft-form textarea{min-height:200px;resize:vertical;font:inherit;font-size:15px;line-height:1.6}
