/* 附件解鎖卡 (claude-mailunlock-20261101): same card, rows and buttons as the other chat cards and the 運算節點 rows. */
.unlock-card{--unlock-red:#b3261e;--unlock-green:#176b3a}
[data-theme=dark] .unlock-card{--unlock-red:#ffb4ab;--unlock-green:#81d9a3}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .unlock-card{--unlock-red:#ffb4ab;--unlock-green:#81d9a3}}
.unlock-card h3{text-wrap:pretty}
.unlock-files{display:grid;grid-template-columns:minmax(0,1fr);border-top:1px solid var(--line);margin-top:4px}
.unlock-row{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}
.unlock-head{display:flex;align-items:flex-start;gap:10px;min-width:0}
.unlock-file-icon{flex:none;width:20px;height:20px;margin-top:2px;fill:none;stroke:var(--muted);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.unlock-names{display:grid;min-width:0}
.unlock-name{font-weight:600;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.unlock-sender{font-size:13px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.unlock-addr{font-size:12px;color:var(--muted);line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.unlock-entry{display:flex;min-width:0;max-width:480px;gap:8px;align-items:stretch}
.unlock-field{flex:1;min-width:0;display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--bg);min-height:46px;transition:border-color var(--motion-fast)}
.unlock-field:focus-within{border-color:var(--muted)}
.unlock-field input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:16px;padding:0 4px 0 14px;height:44px}
.unlock-field input:disabled{opacity:.5}
.unlock-eye{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:var(--muted);border-radius:10px}
.unlock-eye:hover{color:var(--ink)}
.unlock-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.unlock-entry .unlock-send{flex:none;margin:0;min-width:84px;padding:0 18px;border-radius:12px}
.unlock-msg{margin:-4px 0 0;font-size:13px;line-height:1.6;min-height:0}
.unlock-msg:empty{display:none}
.unlock-error{color:var(--unlock-red)}
.unlock-state{margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
.unlock-state.unlock-ok{color:var(--unlock-green);font-weight:600}
.unlock-open{justify-self:start;font-size:13px;color:var(--muted);text-decoration:none;line-height:1.6;padding:2px 0}
.unlock-open:hover{color:var(--ink);text-decoration:underline}
.unlock-remember{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:13px;color:var(--muted);line-height:1.6;cursor:pointer}
.unlock-remember input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--accent)}
.unlock-hint{margin:14px 0 0;font-size:13px;color:var(--muted);line-height:1.7;text-wrap:pretty}
.unlock-card.unlock-folded{padding:14px 18px;display:grid;gap:4px}
.unlock-summary{display:flex;align-items:baseline;gap:8px;margin:0;font-size:14px;line-height:1.6}
.unlock-tick{color:var(--unlock-green);font-weight:700}
.unlock-tick.muted{color:var(--muted)}
.unlock-folded .unlock-open{margin-left:22px}
@media (max-width:420px){.unlock-entry .unlock-send{min-width:72px;padding:0 14px}}
