.heading-actions{display:flex;align-items:center;gap:10px}.heading-actions .quiet{padding:11px 15px}.smart-intro{font-size:13px;line-height:1.8;color:#849084;margin-bottom:22px}#smart-dialog{width:min(980px,calc(100vw - 28px));padding:29px 32px}.smart-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px}.smart-input label{margin-top:0}.smart-input textarea{resize:vertical;min-height:250px;font-size:13px;line-height:1.8;background:#fcfdfa;white-space:pre-wrap}.smart-input .hint{margin:10px 0;min-height:20px}.smart-parse-actions{display:flex;gap:10px}.smart-parse-actions .primary{flex:1}.smart-output{min-width:0;border-left:1px solid var(--line);padding-left:28px}.preview-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:10px}.preview-heading h3{font-size:13px;margin:0}.preview-heading>span{font-size:11px;color:#94a08f}#smart-preview{max-height:470px;overflow:auto;padding-right:4px}.preview-empty{background:#f7faf4;border:1px dashed #dbe4d7;border-radius:9px;padding:55px 15px;color:#9aa692;font-size:12px;line-height:2;text-align:center}.preview-card{border:1px solid var(--line);border-radius:9px;padding:16px;margin-bottom:12px;background:#fff}.preview-card-heading{display:flex;align-items:center;gap:9px}.preview-card-heading input{width:15px;height:15px;accent-color:var(--green);margin:0}.preview-card-heading strong{font-size:13px;overflow-wrap:anywhere}.preview-card-heading .tag{margin-left:auto;white-space:nowrap}.preview-card p{margin:10px 0 0;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.preview-credentials{color:#607565}.preview-url{color:#a0aa9d}.preview-warning{color:#a38f57}.preview-edit{margin-top:12px;border-top:1px solid #eef1eb;padding-top:11px}.preview-edit summary{font-size:11px;color:#7b9673;cursor:pointer}.preview-edit label{font-size:11px;font-weight:400;color:#8d9989;margin:12px 0 0}.preview-edit input,.preview-edit select,.preview-edit textarea{font-size:12px;padding:9px 10px;margin-top:5px}.privacy-note{background:#f0f5ed;border:1px solid #e2e9dc;border-radius:8px;font-size:12px;line-height:1.9;padding:13px 15px;color:#809177;margin-top:20px}#settings-dialog .hint{margin:8px 0}#smart-dialog .dialog-footer{margin-top:24px}#smart-dialog .dialog-footer>.hint{margin:0;font-size:11px}#settings-dialog #ai-key{font-family:Consolas,monospace}
@media(max-width:1050px){.heading-actions{gap:7px}.heading-actions .primary{padding-left:12px;padding-right:12px}}@media(max-width:760px){.heading-row{align-items:flex-start;flex-wrap:wrap}.heading-actions{width:100%;justify-content:flex-end;margin-top:3px}.heading-actions .quiet{font-size:12px;padding:9px 12px}.topbar-actions{gap:0}.topbar-actions .quiet{padding:8px 10px;font-size:11px}#smart-dialog{padding:24px 20px}.smart-layout{grid-template-columns:1fr;gap:20px}.smart-output{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.smart-input textarea{min-height:190px;max-height:250px}#smart-preview{max-height:350px}#smart-dialog .dialog-footer{flex-wrap:wrap;gap:14px}.preview-empty{padding:30px 15px}#smart-dialog .dialog-footer-right{width:100%}#smart-dialog .dialog-footer-right .primary{flex:1}}
.cost-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;font-size:12px;color:#607565;line-height:1.8}.cost-status{font-size:12px;color:#607565;line-height:1.8;margin:18px 0 0;overflow-wrap:anywhere}#costs-dialog{width:min(1050px,calc(100vw - 28px))}.cost-section{margin-top:22px}.cost-section h3{font-size:14px;margin:0}.cost-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.cost-total{font-family:Consolas,monospace;font-size:23px;color:var(--green);margin:12px 0 5px}.cost-table{max-height:240px;overflow:auto}.cost-table table{min-width:640px;table-layout:auto}.cost-table th,.cost-table td{width:auto;padding:12px;font-size:11px;overflow-wrap:anywhere}.cost-table th{position:sticky;top:0}.cost-table td:nth-child(2){max-width:190px}.cost-table td:last-child{white-space:nowrap}@media(max-width:760px){.cost-overview{align-items:flex-start}.cost-overview .text-button{flex-shrink:0}.cost-table table{min-width:600px}.cost-total{font-size:20px}}
.preview-notes{white-space:pre-wrap;color:#607565}
