/* Explicit shell scrolling survives the shared carla-modal decorator. */
dialog.smart-meeting.carla-modal,dialog.smart-meeting{width:min(1120px,calc(100vw - 32px))!important;height:min(850px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);max-width:none;padding:0!important;border:1px solid #dce3ea!important;border-radius:20px!important;color:#172b40;background:#f5f7fa!important;overflow:hidden;box-sizing:border-box;font:16px/1.55 system-ui,sans-serif}
dialog.smart-meeting[open]{display:flex;flex-direction:column}
.smart-meeting::backdrop{background:#172b4080;backdrop-filter:blur(3px)}
dialog.smart-meeting header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 28px;background:#fff;flex-shrink:0}
dialog.smart-meeting h2{margin:0;font-size:1.35rem}
dialog.smart-meeting h3{font-size:1.3rem;line-height:1.4;margin:0 0 12px;color:#172b40}
dialog.smart-meeting h4{margin:20px 0 10px}
dialog.smart-meeting header>button:last-child{width:auto;height:auto;padding:8px!important;font-size:14px}
.smart-meeting-tabs{display:flex;gap:6px;padding:0 24px 12px;background:#fff;flex-shrink:0;overflow-x:auto}
dialog.smart-meeting .smart-meeting-tabs button{white-space:nowrap;margin:0;border-color:transparent;background:transparent;font-size:14px}
dialog.smart-meeting .smart-meeting-tabs button[aria-current=page]{background:#e9f0f8;border-color:#b9cddd;color:#183f66}
.smart-meeting-main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 28px}
dialog.smart-meeting section{margin:0 auto;padding:26px;max-width:920px;border:1px solid #dce3ea;border-radius:14px;background:#fff;box-sizing:border-box}
dialog.smart-meeting [hidden]{display:none!important}
dialog.smart-meeting p{margin:8px 0 18px}
dialog.smart-meeting>[role=status]{margin:0;padding:10px 28px;border-top:1px solid #dce3ea;background:#fff;font-size:13px;color:#42576c;flex-shrink:0;max-height:80px;overflow:auto}
dialog.smart-meeting textarea,dialog.smart-meeting input:not([type=checkbox]),dialog.smart-meeting select{box-sizing:border-box;max-width:100%;padding:12px;border:1px solid #a6b6c5;border-radius:9px;background:#fff;color:#172b40;font:inherit}
dialog.smart-meeting textarea{display:block;width:100%;margin:14px 0;resize:vertical;line-height:1.65}
dialog.smart-meeting button{margin:4px;padding:10px 14px;border:1px solid #cbd7e2;border-radius:9px;background:#f3f6fa;color:#233e57;cursor:pointer;font:inherit;font-size:14px}
dialog.smart-meeting button:disabled{opacity:.55;cursor:default}
dialog.smart-meeting :is(button,summary,textarea,select):focus-visible{outline:3px solid #3988c9;outline-offset:2px}
dialog.smart-meeting .smart-meeting-primary{background:#214d76!important;color:#fff!important;border-color:#214d76;min-height:46px;margin:0}
.smart-meeting-composer{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.smart-meeting-composer label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#42576c}
.smart-meeting-actions{display:flex;flex-wrap:wrap;gap:4px}
dialog.smart-meeting .smart-meeting-actions button{font-size:13px;margin:0}
dialog.smart-meeting .smart-meeting-hint{font-size:13px;color:#52677c;margin-top:16px}
.smart-meeting-reading{white-space:pre-wrap;overflow-wrap:anywhere;font:16px/1.85 system-ui,sans-serif;max-width:78ch;margin:20px 0;color:#243b50}
.smart-meeting-answer:not(:empty){border-top:1px solid #dce3ea;margin-top:24px;padding-top:8px}
dialog.smart-meeting pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.75;max-height:50vh;overflow:auto;padding:12px;background:#f7f9fc;border-radius:8px}
dialog.smart-meeting audio{width:100%;margin:8px 0 20px}
dialog.smart-meeting article{border-top:1px solid #dce3ea;margin-top:20px;padding-top:16px}
dialog.smart-meeting summary{cursor:pointer;padding:12px 0}
dialog.smart-meeting a{display:inline-block;margin:12px 8px 12px 0;color:#215785}
.smart-meeting-sources{font-size:14px;color:#42576c;overflow-wrap:anywhere}
.smart-meeting-sources>div{padding:10px 14px;border-left:3px solid #b9cddd;margin:12px 0;background:#f7f9fc}
@media(max-width:600px){dialog.smart-meeting.carla-modal,dialog.smart-meeting{width:calc(100vw - 12px)!important;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:12px!important}dialog.smart-meeting header{padding:14px;gap:6px}dialog.smart-meeting h2{font-size:1.05rem}dialog.smart-meeting h3{font-size:1.1rem}.smart-meeting-tabs{padding:0 12px 10px}.smart-meeting-main{padding:12px}dialog.smart-meeting section{padding:16px}.smart-meeting-composer{flex-wrap:wrap;gap:10px}.smart-meeting-composer label,.smart-meeting-composer button{width:100%}dialog.smart-meeting>[role=status]{padding:8px 14px}.smart-meeting-reading{font-size:15px}}
/* Answers lead; references are compact and progressively disclosed. */
dialog.smart-meeting .smart-meeting-answer .smart-meeting-reading{white-space:normal;line-height:1.75}
dialog.smart-meeting .smart-meeting-answer .smart-meeting-reading p{margin:0 0 18px;text-align:justify;hyphens:auto}
dialog.smart-meeting .smart-meeting-answer .smart-meeting-reading h5{font:600 17px/1.5 system-ui,sans-serif;margin:20px 0 8px}
dialog.smart-meeting .smart-meeting-reading ul{padding-left:24px;margin:10px 0 18px}
dialog.smart-meeting .smart-meeting-reading li{margin:8px 0}
dialog.smart-meeting button.smart-meeting-citation{display:inline;min-height:0;padding:0 3px;margin:0 2px;border:0;background:transparent;color:#215785;font-size:12px;font-weight:600;vertical-align:super;line-height:1;white-space:nowrap}
dialog.smart-meeting details.smart-meeting-sources{margin:18px 0;padding:0 14px;border:1px solid #dce3ea;border-radius:10px;background:#f8fafc}
dialog.smart-meeting .smart-meeting-sources>div{margin:0;padding:0;border:0;background:transparent}
dialog.smart-meeting .smart-meeting-sources>summary{font-weight:600}
dialog.smart-meeting .smart-meeting-source-card{padding:12px 0;margin:0;border-top:1px solid #dce3ea}
dialog.smart-meeting .smart-meeting-source-card h5{font:600 14px/1.6 system-ui,sans-serif;margin:0 0 8px}
dialog.smart-meeting .smart-meeting-source-card a{font-size:12px;margin:6px 0}
dialog.smart-meeting .smart-meeting-all-sources{border-top:1px solid #dce3ea;margin-top:8px}

.smart-meeting-progress{margin:12px 0}.smart-meeting-progress p{margin:0 0 6px;font-size:14px}.smart-meeting-progress progress{display:block;width:100%;height:12px;accent-color:#287b67}.smart-meeting-progress small{display:block;margin-top:6px;font-size:12px;color:#526274}
.smart-meeting-job-dock{box-sizing:border-box;position:fixed;bottom:18px;left:18px;z-index:1200;width:min(370px,calc(100vw - 36px));max-height:40vh;overflow:auto;padding:14px;border:1px solid #cbd8e4;border-radius:14px;background:#fff;box-shadow:0 5px 24px #18344c26;color:#172b40;font:14px/1.45 system-ui,sans-serif}.smart-meeting-job-dock[hidden]{display:none}.smart-meeting-job-dock article{padding-top:12px;margin-top:10px;border-top:1px solid #e0e7ee}.smart-meeting-job-actions{display:flex;gap:8px;flex-wrap:wrap}.smart-meeting-job-actions button{padding:7px 10px;border:1px solid #cbd8e4;border-radius:7px;background:#f1f6f9;color:#173f56;cursor:pointer;font:inherit}.smart-meeting-job-actions button[hidden]{display:none}

.smart-meeting-job-dock>button{float:right;border:0;background:transparent;color:#275b7c;font-size:12px;cursor:pointer}.smart-meeting-job-dock.is-collapsed article{display:none}

.smart-meeting-progress progress[hidden]{display:none}

.chatgpt-meeting { min-width:0; max-width:100%; }
.chatgpt-meeting pre,.chatgpt-meeting blockquote { white-space:pre-wrap; overflow-wrap:anywhere; max-height:24rem; overflow:auto; }
.chatgpt-meeting fieldset { min-width:0; margin:1rem 0; }
.chatgpt-meeting button,.chatgpt-meeting a,.chatgpt-meeting input { margin:.4rem; max-width:100%; }
.chatgpt-meeting audio { width:100%; }
.chatgpt-meeting article { border-bottom:1px solid #ccc; padding:.6rem 0; }
@media(max-width:600px){.chatgpt-meeting button,.chatgpt-meeting a{display:block;min-height:44px}.chatgpt-meeting fieldset{padding:.4rem}}

.chatgpt-meeting .chatgpt-export { display:block; padding:14px 18px; background:#1a2e4f; color:#fff; border-radius:10px; text-align:center; font-weight:600; text-decoration:none; }
.chatgpt-meeting .chatgpt-import-zone { margin:16px 0; padding:16px; border:2px dashed #8298b0; border-radius:12px; background:#f7f9fc; }
.chatgpt-meeting .chatgpt-import-zone.is-dragover { background:#e5eef8; border-color:#1a2e4f; }
.chatgpt-meeting .chatgpt-import-zone select { max-width:100%; }

.meeting-unclassified-list > article.meeting-inline-exchange { flex-direction:column; min-width:0; overflow-wrap:anywhere; }
.meeting-unclassified-list .meeting-inline-chatgpt { display:block; min-width:0; width:100%; }
.meeting-inline-chatgpt .chatgpt-meeting { width:100%; }
.meeting-inline-chatgpt .chatgpt-import-zone { box-sizing:border-box; }

.meeting-inline-chatgpt input[type=file] { box-sizing:border-box; width:calc(100% - .8rem); min-width:0; }

/* Short imported summary, also visible beside the identity form. */
.meeting-import-summary { box-sizing:border-box; margin:1.25rem 0; padding:1.25rem 1.5rem; border:1px solid #dce4ed; border-left:4px solid #8298b0; border-radius:12px; background:#f8fafc; color:#24364b; min-width:0; overflow-wrap:anywhere; }
.meeting-import-summary h4 { margin:0 0 1rem; font-size:1.05rem; color:#1a2e4f; }
.meeting-import-summary .meeting-summary-date { margin:0 0 1.25rem; padding-bottom:.85rem; border-bottom:1px solid #dce4ed; }
.meeting-import-summary .meeting-summary-body p { margin:0 0 1rem; line-height:1.75; }
.meeting-import-summary .meeting-summary-body p:last-child { margin-bottom:0; }
.meeting-import-summary strong { font-weight:700; color:#1a2e4f; }
.meeting-unclassified-list > article.meeting-inline-exchange > div:first-child > time { display:block; margin:.5rem 0 .85rem; font-weight:700; }
@media(max-width:600px) { .meeting-import-summary { padding:1rem; } }
