:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif; background:#090909; color:#f6f6f6; }
* { box-sizing: border-box; }
body { margin:0; min-width:320px; background:#090909; }
button,input,select { font:inherit; }
.meeting-shell { max-width:1440px; margin:0 auto; padding:28px; }
.meeting-header,.panel-heading,.workflow-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.meeting-header h1 { margin:8px 0 4px; font-size:32px; }
.meeting-header p,.hint { color:#aaa; }
a { color:#b899ff; text-decoration:none; }
.guard { padding:8px 12px; border:1px solid #7155ad; border-radius:999px; color:#cbb8ff; }
.steps { display:flex; gap:8px; margin:24px 0; }
.steps button,.workflow-actions button,.actions button,.panel-heading button { min-height:44px; padding:10px 16px; border:1px solid #454545; border-radius:11px; background:#242424; color:#fff; cursor:pointer; }
.steps button.active,.primary { border-color:transparent !important; background:#a47bf7 !important; color:#090909 !important; font-weight:800; }
button:disabled { opacity:.45; cursor:not-allowed; }
.panel { padding:24px; border:1px solid #303030; border-radius:18px; background:#171717; }
.panel h2,.panel h3 { margin-top:0; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:20px; }
label { display:flex; flex-direction:column; gap:8px; }
label span { color:#ccc; font-weight:650; }
input,select { width:100%; min-height:46px; padding:10px 12px; border:1px solid #3c3c3c; border-radius:11px; background:#242424; color:#fff; }
.wide { grid-column:1/-1; }
.consent { flex-direction:row; align-items:flex-start; }
.consent input { width:20px; min-height:20px; margin-top:2px; }
.actions { display:flex; align-items:flex-end; }
.local-asr-note { margin:0; padding:12px 14px; border:1px solid #3b3150; border-radius:11px; background:#1c1825; }
.review-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; }
.review-grid article { min-width:0; padding:18px; border:1px solid #333; border-radius:14px; background:#111; }
.transcript { max-height:55vh; overflow:auto; white-space:pre-wrap; line-height:1.55; }
.segment { padding:10px 0; border-bottom:1px solid #2f2f2f; }
.proposal { display:grid; gap:12px; padding:14px; margin-bottom:12px; border:1px solid #383838; border-radius:12px; background:#202020; }
.proposal-actions { display:flex; gap:10px; }
.proposal-actions button { min-height:44px; padding:8px 14px; border:1px solid #555; border-radius:9px; background:#292929; color:#fff; }
.proposal[data-decision="accepted"] { border-color:#3a9b68; }
.proposal[data-decision="rejected"] { opacity:.65; }
.proposal[data-risk="high"] { border-left:4px solid #e3a64b; }
.proposal[data-risk="blocked"] { border-left:4px solid #e05d65; }
.proposal .policy-reasons { font-size:13px; color:#aaa; overflow-wrap:anywhere; }
.policy-summary { display:grid; gap:12px; margin:0 0 16px; padding:14px; border:1px solid #3b3150; border-radius:12px; background:#1c1825; }
.policy-summary h4 { margin:0 0 4px; }
.policy-mode { padding:5px 9px; border:1px solid #665087; border-radius:999px; color:#cbb8ff; font-size:12px; }
.policy-actions { display:flex; flex-wrap:wrap; gap:10px; }
.policy-actions button { min-height:44px; padding:8px 14px; border:1px solid #555; border-radius:9px; background:#292929; color:#fff; }
.workflow-actions { justify-content:flex-end; flex-wrap:wrap; margin-top:20px; }
.message { min-height:48px; margin-top:18px; padding:13px 16px; border-radius:11px; color:#bfc7d8; }
.message.error { background:#3a1d20; color:#ff777d; }
.message.success { background:#173325; color:#7ee2ad; }
#neurohr-meeting-import-entry[data-neurohr-meeting-import-entry="sidebar"] { cursor:pointer; }
#neurohr-meeting-import-entry[data-neurohr-meeting-import-entry="fallback"] { position:fixed; left:20px; bottom:20px; z-index:9999; min-height:44px; padding:11px 16px; border:0; border-radius:12px; background:#a47bf7; color:#090909; font-weight:800; cursor:pointer; box-shadow:0 12px 32px rgba(0,0,0,.4); }
#neurohr-meeting-import-dialog[hidden] { display:none; }
#neurohr-meeting-import-dialog { position:fixed; inset:88px 24px 24px 320px; z-index:10000; display:grid; grid-template-rows:auto minmax(0,1fr); overflow:hidden; border:1px solid #333; border-radius:18px; background:#090909; box-shadow:0 24px 80px rgba(0,0,0,.72); }
#neurohr-meeting-import-dialog iframe { width:100%; height:100%; border:0; background:#090909; }
.neurohr-meeting-import-dialog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:58px; padding:10px 16px; border-bottom:1px solid #303030; background:#1b1b1b; }
.neurohr-meeting-import-dialog-toolbar strong { color:#f6f6f6; }
.neurohr-meeting-import-dialog-toolbar button { min-height:40px; padding:8px 14px; border:1px solid #454545; border-radius:10px; background:#242424; color:#fff; cursor:pointer; }
body.neurohr-meeting-import-dialog-open { overflow:hidden; }
body.embedded-meeting-import .meeting-shell { max-width:none; padding:20px; }
body.embedded-meeting-import .standalone-return { display:none; }
@media (max-width: 760px) {
  .meeting-shell { padding:14px; }
  .meeting-header,.panel-heading { align-items:flex-start; flex-direction:column; }
  .guard { align-self:flex-start; }
  .form-grid,.review-grid { grid-template-columns:1fr; }
  .wide { grid-column:auto; }
  .steps { display:grid; grid-template-columns:1fr; }
  .workflow-actions { display:grid; grid-template-columns:1fr; }
  .workflow-actions button,.actions button { width:100%; min-height:48px; }
  #neurohr-meeting-import-entry[data-neurohr-meeting-import-entry="fallback"] { left:12px; bottom:12px; }
  #neurohr-meeting-import-dialog { inset:8px; border-radius:14px; }
  .neurohr-meeting-import-dialog-toolbar strong { max-width:70%; font-size:13px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  #neurohr-meeting-import-dialog { inset:72px 12px 12px 12px; }
}
