.starter-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0}.starter-tools button{font-size:13px;min-height:36px}.chat-composer .starter-tools{padding:0 0 4px}.report-feedback{margin-top:12px;border-top:1px solid #e2eaf0;padding-top:10px}.report-feedback button{min-height:36px;font-size:13px}.experience-dialog{border:1px solid #d5e3ed;border-radius:18px;width:min(880px,calc(100vw - 24px));max-height:90dvh;padding:0;color:#17354b;background:white;box-shadow:0 18px 70px #102b4b38}.experience-dialog::backdrop{background:#112b45a0}.experience-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #dde8ef;position:sticky;top:0;background:white;z-index:2}.experience-dialog h2{font-size:19px;margin:0}.experience-dialog-body{padding:18px;overflow-wrap:anywhere}.experience-dialog label{display:block;margin:12px 0}.experience-dialog select,.experience-dialog textarea{display:block;width:100%;font:inherit;padding:10px;border:1px solid #bdcfdb;border-radius:9px;margin-top:6px}.experience-dialog [role=alert]{color:#a32e25}.sample-free{background:#eef8f5;padding:10px;border-radius:9px}.feedback-detail{white-space:pre-wrap}.experience-dialog .markdown-body table{display:block;overflow:auto}.experience-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.experience-note{white-space:pre-wrap;overflow-wrap:anywhere}.alert-channel input[type=checkbox]{width:auto}.alert-channel fieldset{border:0;margin:0;padding:0}.experience-table td.wrap{white-space:normal;min-width:180px;max-width:420px}.sample-entry{text-align:center;margin:10px 0}@media(max-width:600px){.experience-dialog{max-height:94dvh}.experience-dialog-body{padding:12px}.starter-tools button{font-size:12px}.experience-dialog h2{font-size:17px}.experience-grid{grid-template-columns:1fr 1fr}.chat-composer .starter-tools button{min-height:30px}}

/* Taller case-entry editors; the in-case composer stays compact. */
.home-content{max-width:1100px}
.home-content .hero{padding-top:24px;padding-bottom:18px}
#homeText,#caseText{display:block;box-sizing:border-box;min-height:280px;height:clamp(280px,46dvh,540px);max-height:none;resize:vertical;overflow:auto;line-height:1.75;font-size:16px;scrollbar-gutter:stable;padding:12px}
#homeText.template-filled,#caseText.template-filled{height:clamp(340px,62dvh,680px)}
.sample-report-dialog{width:min(1120px,calc(100vw - 24px));max-height:94dvh}
.sample-report-dialog .report-reader{height:auto;max-height:none;min-height:0}
.sample-report-dialog .report-scroll{height:min(65dvh,720px);max-height:none;min-height:240px}
.sample-report-dialog .report-directory{max-height:34dvh}
.sample-report-dialog .report-directory nav{max-height:26dvh;overflow:auto}
@media(max-width:600px){
 .home-content .hero{padding-top:16px;padding-bottom:12px}
 #homeText,#caseText{min-height:240px;height:46dvh;font-size:16px}
 #homeText.template-filled,#caseText.template-filled{height:54dvh;min-height:300px}
 .sample-report-dialog .report-scroll{height:62dvh;min-height:220px}
}

.field-error{display:block;color:#9c2a28;margin-top:.3rem;font-size:.85rem;line-height:1.4}
.field-error[hidden]{display:none}
.field input[aria-invalid=true]{border-color:#ae4141}
.charge-preview{max-width:100%;color:var(--text-muted,#405d61)}
.charge-preview summary{cursor:pointer;font-weight:600;font-size:.83rem}
.charge-preview[open] .entry-charge-note{margin:.25rem 0}
.file-name:has(.pending-file){display:flex;flex-wrap:wrap;gap:4px;max-width:100%;min-width:0;white-space:normal;overflow:visible}
.pending-file{display:inline-flex;align-items:center;max-width:100%;gap:5px;padding:1px 4px;border:1px solid #c6dcd7;border-radius:8px}
.pending-file>span{min-width:0;max-width:12rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pending-file img{width:28px;height:28px;object-fit:cover;border-radius:4px}
.pending-file button{flex:none;min-width:30px;min-height:30px;background:transparent;color:inherit;font-size:1.15rem}
.history-return{flex:none;font-size:.8rem}
@media(max-width:720px){.case-header-inner:has(.history-return){flex-wrap:wrap}.history-return{padding:4px 8px}.pending-file button{min-width:36px;min-height:36px}}
.file-action-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.copy-buffer{position:fixed;top:0;left:-10000px;width:1px;height:1px}
.return-receipt{margin:0 0 14px;padding:14px 16px;overflow-wrap:anywhere}
.return-receipt h3,.return-receipt p{margin:.35rem 0}
.return-receipt small{display:block}
.return-receipt button{margin-top:8px}
.auth-card form[aria-busy=true] button[type=submit]{cursor:wait}
