/* One quiet, consistent export sheet; existing theme tokens remain authoritative. */
.modal:has(.export-dialog){width:min(100%,740px);padding:28px 30px}
.modal:has(.export-dialog) .modal-head{margin-bottom:22px}
.export-dialog{min-width:0}
.export-work-summary{display:flex;align-items:flex-start;gap:14px;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:22px}
.export-work-mark{display:grid;place-items:center;flex:none;width:44px;height:44px;background:var(--soft);border-radius:13px;color:var(--accent-ink)}
.export-work-summary>div{min-width:0}.export-work-kind{color:var(--muted);font:11px/1.5 var(--sans);letter-spacing:.08em}
.export-work-summary h3{font:500 22px/1.55 var(--serif);margin:4px 0 6px;overflow-wrap:anywhere}
.export-work-summary p{font:12px/1.7 var(--sans);color:var(--muted);margin:0}
.export-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.export-choice{display:grid;grid-template-columns:20px minmax(0,1fr);align-content:start;align-items:center;gap:12px 8px;min-width:0;min-height:103px;padding:17px 12px;border:1px solid var(--line);border-radius:13px;background:var(--panel);color:var(--accent-ink);font:400 14px/1.5 var(--sans);text-align:left;cursor:pointer;transition:background .16s,border-color .16s}
.export-choice-icon{display:flex;align-items:center}.export-choice-icon svg{width:20px;height:20px;flex:none}
.export-choice-label{color:var(--ink);white-space:nowrap}.export-choice-note{grid-column:1/-1;color:var(--muted);font-size:11px;line-height:1.7}
.export-choice-primary{background:var(--soft)}
.export-choice:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.export-choice:disabled{cursor:wait;opacity:.55}.export-choice.is-working{opacity:1;border-color:var(--accent)}
.export-choice.is-working .export-choice-icon{animation:export-breathe 1.2s ease-in-out infinite alternate}
.export-local-note,.export-scope-note,.export-result-hint{font:11px/1.8 var(--sans);color:var(--muted);margin:14px 0 0}
.export-scope-note{margin:0 0 18px;padding:11px 13px;border-left:2px solid var(--line);background:var(--soft);border-radius:0 8px 8px 0}
.export-local-note{margin-bottom:2px}
.export-dialog #export-result:not(:empty){border-top:1px solid var(--line);margin-top:22px;padding-top:20px}
.export-copy-success{margin:0;color:var(--accent-ink);font-size:13px;line-height:1.8}
.export-manual-label{display:block;font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:10px}
.export-copy-text{width:100%;min-height:180px;max-height:320px;resize:vertical;line-height:1.9}
.export-progress{font-size:13px;line-height:1.8;color:var(--muted);margin:0}
.export-result-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:13px;font:13px/1.6 var(--sans)}
.export-result-head strong{font-weight:500;color:var(--ink)}.export-result-head span{font-size:11px;color:var(--muted)}
.export-image-preview{max-height:min(48vh,460px);overflow:auto;padding:10px;background:var(--soft);border:1px solid var(--line);border-radius:12px;margin-bottom:14px;overscroll-behavior:contain}
.export-image-preview img{display:block;width:100%;height:auto;border-radius:4px}
.export-pdf-preview{max-height:min(42vh,380px)}.export-pdf-preview img{max-width:340px;margin:auto}
.export-dialog .share-card-preview{max-height:min(48vh,460px);overflow:auto;margin:0 0 14px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.export-dialog .share-card-preview img{max-height:none;width:min(100%,290px);height:auto}
.export-dialog .export-actions{gap:10px}.export-dialog .export-actions .btn{min-height:42px}
@media(hover:hover){.export-choice:hover:not(:disabled){background:var(--soft);border-color:var(--border-strong)}}
@keyframes export-breathe{to{opacity:.35}}
@media(prefers-reduced-motion:reduce){.export-choice.is-working .export-choice-icon{animation:none}}
@media(max-width:750px){
 .modal:has(.export-dialog){padding:22px 19px;width:min(100%,520px)}
 .modal:has(.export-dialog) .modal-head{margin-bottom:20px}.modal:has(.export-dialog) .modal-head h2{font-size:23px}
 .export-work-summary{gap:12px;margin-bottom:18px;padding-bottom:18px}.export-work-mark{width:38px;height:38px;border-radius:11px}
 .export-work-summary h3{font-size:19px;margin-top:3px}.export-work-summary p{font-size:11px}
 .export-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .export-choice{padding:15px 12px;min-height:94px;gap:10px 8px;font-size:13px}
 .export-local-note{font-size:10px;line-height:1.9;margin-top:14px}
 .export-dialog .export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.export-dialog .export-actions .btn{font-size:12px;padding:10px 8px;justify-content:center}
 .export-dialog #export-result:not(:empty){margin-top:18px;padding-top:18px}
 .export-copy-text{font-size:16px}
}
