:root {
  --bg: #eef0f5; --surface-tint: #f5f6fa; --ink: #1d2233; --muted: #5d6478;
  --line: #dde1ea; --primary-soft: #e8ecf8; --nav: #1a2150; --nav-ink: #dfe4f7;
  --nav-muted: #9aa3c7; --stage: #15171c; --stage-2: #20232b; --stage-muted: #a4a9b6; --speak: #4fd18b;
  --brand: #ff8a1f; --brand-ink: #141a33;
  --meeting-face-height: 88%;
}
body { background: var(--surface-tint); line-height: 1.6; }
.primary-button, .secondary-button, .download-button { border-radius: 999px; box-shadow: none; font-weight: 600; }
.login-screen { --partner-logo-inset: 16px; padding: 0; grid-template-columns: 1.1fr 1fr; background: #ffffff; }
.login-brand-column { align-self: stretch; width: 100%; min-width: 0; min-height: 100dvh; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.login-intro { flex: 1; width: 100%; padding: 48px 40px; border-radius: 16px; background: var(--nav); color: var(--nav-ink); display: grid; align-content: center; justify-items: center; }
.hero-inner { width: min(100%, 440px); display: grid; gap: 18px; }
.partner-logo { flex: none; align-self: flex-start; margin-left: var(--partner-logo-inset); max-width: 220px; max-height: 64px; }
.partner-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.product-mark { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.product-mark b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--brand-ink); background: var(--brand); flex: none; }
.login-intro h2 { margin: 0; font-size: 28px; line-height: 1.4; }
.login-intro p { color: var(--nav-muted); max-width: 34ch; margin: 0; }
.login-faces { display: flex; }
.login-faces img { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--nav); margin-right: -8px; }
.login-card { width: min(360px, calc(100% - 48px)); padding: 28px 26px; gap: 14px; border: 1px solid var(--line); border-radius: 12px; box-shadow: none; }
#loginForm.login-card { box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06); }
#loginForm input:not(:focus) { border-color: #cfd5e1; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06); }
.login-card::before { content: none; }
.login-card h1 { font-size: 22px; white-space: normal; }
.login-help { margin: 0; font-size: 12px; color: var(--muted); }
.app-shell, .app-shell.admin-shell { width: auto; max-width: none; margin: 0 0 0 216px; padding: 22px 26px 40px; min-height: 100dvh; }
.meeting-sidebar { position: fixed; inset: 0 auto 0 0; width: 216px; padding: 16px 10px; background: var(--nav); color: var(--nav-ink); display: flex; flex-direction: column; gap: 12px; z-index: 30; }
.meeting-sidebar .product-mark { padding: 4px 8px; font-size: 15px; }
.meeting-sidebar .license-demo-badge { align-self: flex-start; margin-left: 8px; }
.meeting-sidebar .app-tabs { display: flex; flex-direction: column; gap: 4px; padding: 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.meeting-sidebar .app-tab { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--nav-ink); font-size: 14px; text-align: left; text-decoration: none; min-width: 0; box-shadow: none; }
.meeting-sidebar .app-tab.active { background: #ffffff1f; font-weight: 600; }
.meeting-sidebar svg { width: 20px; height: 20px; flex: none; }
.nav-mobile { display: none; }
.schedule-count { margin-left: auto; border-radius: 999px; padding: 0 7px; color: var(--brand-ink); background: var(--brand); font-size: 12px; }
.shell-account { margin-top: auto; border-top: 1px solid #ffffff20; padding: 10px; font-size: 13px; }
.shell-account summary { list-style: none; pointer-events: none; }
.shell-account > :not(summary) { display: block; }
.shell-account .user-label { display: none; }
.shell-account .text-button { color: var(--nav-ink); font: inherit; font-size: 12px; padding: 8px 0; border: 0; background: transparent; text-decoration: none; }
.account-name, .account-role { display: block; overflow-wrap: anywhere; }
.account-role { color: var(--nav-muted); }
@media (min-width: 768px) {
  body:has(.app-shell:not([hidden])) { overflow: hidden; }
  .app-shell, .app-shell.admin-shell { height: 100dvh; overflow-y: auto; }
  .meeting-sidebar { height: 100dvh; }
  .meeting-sidebar .app-tabs { min-height: 0; overflow-y: auto; }
  .shell-account { flex-shrink: 0; }
}
.top-bar.legacy-header { display: none; }
.meeting-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 16px; }
.meeting-heading h1 { margin: 0; font-size: 23px; }
.meeting-heading p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.meeting-cards { display: grid; gap: 10px; }
.meeting-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.meeting-id { border-right: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--muted); padding-right: 10px; }
.meeting-id b { display: block; font-size: 22px; color: var(--primary); line-height: 1.3; }
.meeting-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.meeting-who h2 { font-size: 16px; line-height: 1.4; margin: 0; }
.meeting-who p { font-size: 13px; color: var(--muted); margin: 3px 0; }
.meeting-face { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--primary-soft); color: var(--primary); }
.meeting-face img { width: 100%; height: 100%; object-fit: cover; }
.meeting-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.meeting-tag { font-size: 12px; border: 1px solid var(--line); background: var(--surface-tint); padding: 1px 8px; border-radius: 999px; }
.meeting-note { font-size: 13px; color: var(--muted); }
#usageNotice { margin-bottom: 16px; }
#roleplayPanel[data-meeting-view="schedule"] > :is(.scenario-panel, #preGoalsCard, #pauseAvailabilityNotice, .call-surface, .result-panel) { display: none; }
#roleplayPanel:not([data-meeting-view="schedule"]) #meetingSchedule { display: none; }
.history-panel, .scenario-request-panel { box-shadow: none; }
.history-panel .ranking-entry { margin-top: 14px; padding: 0; }
.meeting-lobby-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; align-items: start; }
.meeting-device-panel { padding: 14px; display: grid; gap: 10px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.meeting-device-panel h2 { margin: 0; font-size: 15px; }
.meeting-device-panel label { display: grid; gap: 6px; min-width: 0; }
.meeting-device-panel select { width: 100%; min-width: 0; }
.meeting-device-panel .round-control { width: 36px; height: 36px; }
.meeting-device-panel .preview-controls { bottom: 8px; gap: 8px; }
.meeting-device-panel .meeting-note, .meeting-device-panel .preview-meter-row { margin: 0; }
.meeting-device-panel :is(.meeting-error, [role="status"]):empty { display: none; }
.meeting-preview { background: var(--stage); border-radius: 14px; position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.meeting-preview video, .meeting-self video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transform: scaleX(-1); }
.self-initial { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: white; font-size: 28px; }
.preview-controls { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 12px; }
.round-control { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #2d313b; color: #f2f3f6; padding: 0; }
.round-control.off { background: #8a2b26; }
.round-control svg { width: 20px; height: 20px; }
.preview-meter-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 14px; }
.preview-meter { flex: 1; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.preview-meter i { display: block; height: 100%; background: #1f8a55; }
.meeting-join-card { padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.meeting-join-card .scenario-panel { padding: 0; border: 0; box-shadow: none; margin: 12px 0; }
.meeting-join-card h2 { font-size: 17px; }
.meeting-join-card p { font-size: 14px; }
.meeting-join-card .pre-goals-card { padding: 12px; box-shadow: none; background: var(--accent-soft); margin: 12px 0; }
.meeting-join-card .pre-goals-groups { display: grid; grid-template-columns: 1fr; }
.meeting-join-card .pre-goals-group { background: transparent; border: 0; border-radius: 0; padding: 4px 0; }
.meeting-join-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.mobile-meeting-warning { display: none; }
.meeting-error { color: var(--danger); }
#roleplayPanel[data-meeting-view="lobby"] > :is(.call-surface, .result-panel, .history-panel, .scenario-request-panel) { display: none; }
body.in-meeting { overflow: hidden; }
body.in-meeting .meeting-sidebar { display: none; }
#meetingStage { position: fixed; inset: 0; height: 100dvh; background: var(--stage); color: #f2f3f6; z-index: 60; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.meeting-stage-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: 13px; color: var(--stage-muted); }
#meetingCallTime { color: white; font-variant-numeric: tabular-nums; }
.meeting-stage-body { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; position: relative; }
.meeting-stage-body.with-goals { grid-template-columns: minmax(0, 1fr) 300px; }
#meetingStage .call-surface { margin: 0 14px; border: 0; border-radius: 14px; background: var(--portrait-background, #c4c8cf); position: relative; overflow: hidden; padding: 0; min-height: 0; display: block; box-shadow: none; }
#meetingStage :is(.participant, .meter-row, .log-panel, #pauseStateBanner) { display: none; }
#meetingStage #customerAvatar { position: absolute; inset: 0; border: 0; border-radius: 0; width: 100%; max-width: none; height: 100%; background: transparent; box-shadow: none; font-size: 60px; display: grid; place-items: center; color: var(--nav-ink); }
#meetingStage #customerAvatar .avatar-layer { left: 50%; top: auto; bottom: 0; height: var(--meeting-face-height); width: auto; aspect-ratio: 1; max-width: none; transform: translateX(-50%); object-fit: contain; border-radius: 0; }
.meeting-portrait-wide { display: none; }
@media (min-width: 768px) {
  #meetingStage .meeting-portrait-wide {
    display: block; position: absolute; left: 50%; bottom: 0;
    height: var(--meeting-face-height); width: auto; max-width: none;
    aspect-ratio: 2304 / 1024; transform: translateX(-50%); pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 6%);
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 6%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  #meetingStage #customerAvatar {
    --portrait-feather-side: 2%;
    --portrait-feather-top: 2%;
  }
  #meetingStage .has-wide-portrait #customerAvatar {
    --portrait-feather-side: 8%;
    --portrait-feather-top: 6%;
  }
  #meetingStage #customerAvatar .avatar-layer {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--portrait-feather-side), #000 calc(100% - var(--portrait-feather-side)), transparent), linear-gradient(to bottom, transparent, #000 var(--portrait-feather-top));
    mask-image: linear-gradient(to right, transparent, #000 var(--portrait-feather-side), #000 calc(100% - var(--portrait-feather-side)), transparent), linear-gradient(to bottom, transparent, #000 var(--portrait-feather-top));
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}
#meetingStage .call-surface.speaking::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--speak); border-radius: inherit; pointer-events: none; z-index: 5; }
#meetingStage #customerName { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; background: #0009; border-radius: 6px; font-size: 13px; color: white; margin: 0; }
#meetingCaption { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); width: min(86%, 760px); max-height: 32%; overflow: auto; border-radius: 10px; background: #000a; padding: 10px 14px; }
#meetingCaption small { color: var(--stage-muted); }
#meetingCaption .live-caption { color: white; margin: 2px 0 0; font-size: 17px; min-height: 0; }
.meeting-self { position: absolute; right: 26px; top: 56px; width: 190px; aspect-ratio: 16 / 10; border-radius: 10px; border: 2px solid #3a3f4b; overflow: hidden; background: #2c303a; display: grid; place-items: center; z-index: 4; }
.meeting-self.speaking { border-color: var(--speak); }
.meeting-self .self-initial { width: 54px; height: 54px; font-size: 22px; }
.self-name { position: absolute; left: 8px; bottom: 6px; font-size: 12px; background: #0009; padding: 2px 5px; border-radius: 4px; }
.self-voice-bars { display: inline-flex; align-items: end; gap: 2px; height: 12px; margin: 0 4px; }
.self-voice-bars i { width: 3px; height: calc(2px + 10px * var(--voice-level, 0)); background: var(--speak); }
.self-voice-bars i:nth-child(2) { height: calc(2px + 7px * var(--voice-level, 0)); }
.self-privacy { position: absolute; top: 180px; right: 26px; width: 190px; color: #f2f3f6; background: #0009; padding: 5px; border-radius: 5px; font-size: 10px; z-index: 4; }
.meeting-stage-body.with-goals ~ :is(.meeting-self, .self-privacy) { right: 326px; }
.meeting-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 10px; padding: 12px 10px 14px; z-index: 8; background: var(--stage); }
.toolbar-group { display: flex; gap: 6px; }
.toolbar-left { justify-self: start; }
.toolbar-center { justify-self: center; }
.toolbar-right { justify-self: end; }
.device-control { position: relative; }
.meeting-toolbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 78px; min-height: 70px; border: 0; background: transparent; color: #f2f3f6; font-size: 12px; padding: 0; }
.tool-disc { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #2d313b; }
.tool-disc svg { width: 22px; height: 22px; }
.meeting-toolbar .off .tool-disc, .meeting-toolbar .call-end .tool-disc { background: #a7352b; }
.meeting-toolbar button[aria-pressed="true"]:not(#callMicButton):not(#callCameraButton) .tool-disc { background: #414e7a; }
#callPauseRemaining { position: absolute; top: -5px; right: -1px; padding: 0 4px; border-radius: 9px; background: #384057; color: white; }
.meeting-goals { overflow: auto; padding: 16px; background: var(--stage-2); font-size: 13px; }
.meeting-goals h2 { font-size: 17px; color: white; }
.meeting-goals h3 { color: #e0aa45; font-size: 14px; }
.meeting-goals .pre-goals-group { background: none; border: 0; color: white; padding: 0; }
.meeting-goals .text-button { color: white; background: #343946; border: 0; width: 32px; height: 32px; padding: 5px; display: grid; place-items: center; }
.meeting-goals .text-button svg { width: 20px; height: 20px; }
.meeting-goals .pre-goals-group.caution h3 { color: #f4b4a8; }
.meeting-pause-overlay { position: absolute; inset: 40px 0 100px; background: #15171ce8; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.meeting-pause-overlay h2, .meeting-pause-overlay p { margin: 0; color: #f2f3f6; }
#meetingStageNotice { font-size: 12px; color: #f0d7ac; text-align: center; padding: 0 12px; }
#meetingEnded { position: fixed; inset: 0; height: 100dvh; z-index: 60; background: var(--stage); color: #f2f3f6; display: grid; place-items: center; text-align: center; padding: 24px; }
#meetingEnded h1 { font-size: 25px; margin: 0 0 6px; }
#meetingEnded p { color: var(--stage-muted); margin: 4px 0; }
.meeting-scoring-steps { font-size: 13px; }
.meeting-scoring-progress { width: min(320px, 80%); margin: 18px auto 10px; height: 6px; background: #2d313b; border-radius: 999px; overflow: hidden; }
.meeting-scoring-progress i { display: block; width: 45%; height: 100%; background: var(--speak); animation: meeting-progress 1.8s ease-in-out infinite; }
@keyframes meeting-progress { from { transform: translateX(-100%); } to { transform: translateX(325%); } }
#roleplayPanel:not([data-meeting-view="results"]) > :is(#meetingResultActions, .result-panel, #meetingReviewLog) { display: none; }
#roleplayPanel:not([data-meeting-view="schedule"]) > :is(.history-panel, .scenario-request-panel) { display: none; }
#meetingReviewLog { margin-top: 20px; }
#meetingResultActions { margin: 0 0 18px; }
#detailFeedbackSection { scroll-margin-top: 24px; }
@media (min-width: 768px) {
  .login-screen { padding: 24px 0; grid-template-rows: auto minmax(40px, 1fr) auto minmax(40px, 1fr); }
  .login-brand-column, .login-intro { display: contents; }
  .login-screen .partner-logo { grid-column: 1; grid-row: 1; justify-self: start; margin: 0 0 24px calc(24px + var(--partner-logo-inset)); }
  .login-intro::before { content: ""; grid-column: 1; grid-row: 2 / 5; align-self: stretch; justify-self: stretch; margin: 0 24px; border-radius: 16px; background: var(--nav); }
  .login-intro .hero-inner { grid-column: 1; grid-row: 3; align-self: start; justify-self: center; width: min(520px, calc(100% - 128px)); gap: 22px; z-index: 1; }
  .login-screen .login-card { grid-column: 2; grid-row: 3; align-self: start; }
  .login-intro .product-mark { font-size: 18px; }
  .login-intro .product-mark b { width: 40px; height: 40px; }
  .login-intro h2 { font-size: 34px; }
  .login-intro p { font-size: 18px; max-width: 38ch; }
  .login-faces img { width: 64px; height: 64px; }
}
@media (max-width: 767px) {
  .login-screen { --partner-logo-inset: 8px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; gap: 24px; padding-bottom: 24px; }
  .login-brand-column { min-height: 0; padding: 16px 16px 0; gap: 16px; }
  .login-intro { min-height: 0; padding: 26px 22px; gap: 10px; }
  .hero-inner { gap: 10px; }
  .partner-logo { max-width: 160px; max-height: 48px; }
  .partner-logo img { max-height: 48px; }
  .login-intro h2 { font-size: 21px; }
  .login-intro .product-mark { font-size: 13px; }
  .login-intro p { font-size: 14px; }
  .login-faces { display: none; }
  .login-card { width: calc(100% - 36px); }
  .app-shell, .app-shell.admin-shell { margin: 0; padding: 80px 14px calc(90px + env(safe-area-inset-bottom)); width: 100%; }
  .meeting-sidebar { width: 100%; height: 64px; inset: 0 0 auto; padding: 8px 12px; flex-direction: row; align-items: center; gap: 8px; }
  .meeting-sidebar .product-mark { padding: 0; font-size: 13px; gap: 6px; }
  .meeting-sidebar .product-mark b { width: 28px; height: 28px; }
  .meeting-sidebar .license-demo-badge { align-self: center; margin: 0; font-size: 10px; padding: 1px 4px; white-space: nowrap; }
  .meeting-sidebar .app-tabs { position: fixed; inset: auto 0 0; flex-direction: row; justify-content: space-around; padding: 7px 4px calc(7px + env(safe-area-inset-bottom)); background: var(--nav); gap: 0; }
  .meeting-sidebar .app-tab { flex: 1; padding: 5px 1px; font-size: 11px; flex-direction: column; gap: 3px; }
  .nav-desktop, .schedule-count { display: none; }
  .nav-mobile { display: inline; }
  .shell-account { border: 0; padding: 0; margin: 0 0 0 auto; max-width: 94px; font-size: 11px; }
  .shell-account summary { pointer-events: auto; cursor: pointer; }
  .shell-account[open] { position: absolute; top: 10px; right: 10px; max-width: 260px; padding: 10px; background: var(--nav); border: 1px solid #ffffff30; border-radius: 8px; box-shadow: var(--shadow); }
  .shell-account:not([open]) > :not(summary) { display: none; }
  .meeting-heading { align-items: start; gap: 10px; }
  .meeting-heading h1 { font-size: 21px; }
  .meeting-heading p { font-size: 13px; }
  .meeting-heading > .meeting-tag { white-space: nowrap; }
  .meeting-card { grid-template-columns: 44px minmax(0, 1fr); padding: 12px; gap: 10px; }
  .meeting-id { padding-right: 8px; font-size: 10px; }
  .meeting-id b { font-size: 19px; }
  .meeting-who { gap: 8px; align-items: start; }
  .meeting-who h2 { font-size: 14px; }
  .meeting-who p { font-size: 12px; }
  .meeting-card .meeting-face { width: 38px; height: 38px; }
  .meeting-card > button { grid-column: 2; justify-self: end; min-height: 36px; padding: 6px 22px; }
  .meeting-lobby-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-meeting-warning { display: block; font-size: 13px; padding: 8px 10px; background: #fff5f3; border: 1px solid #de9c95; border-radius: 8px; }
  .meeting-join-card { padding: 14px; }
  .meeting-join-actions { flex-direction: column; align-items: stretch; }
  .meeting-stage-top { padding: max(10px, env(safe-area-inset-top)) 10px 10px; font-size: 12px; }
  #meetingStage .call-surface { margin: 0 8px; border-radius: 10px; }
  #meetingStage #customerAvatar .avatar-layer { left: 0; width: 100%; height: 100%; transform: none; object-fit: cover; object-position: center top; }
  .meeting-self { right: 16px; top: 52px; width: 80px; aspect-ratio: 3 / 4; }
  .meeting-stage-body.with-goals ~ .meeting-self { right: 16px; }
  .meeting-self .self-initial { width: 40px; height: 40px; font-size: 18px; }
  .self-name { left: 2px; bottom: 3px; padding: 1px 2px; font-size: 10px; }
  #selfMuted { display: block; }
  .self-privacy { display: none; }
  .meeting-toolbar { display: flex; gap: 2px; padding: 10px 4px calc(10px + env(safe-area-inset-bottom)); }
  .toolbar-group, .device-control { display: contents; }
  .meeting-toolbar button { flex: 1; width: 0; min-width: 0; font-size: 10px; }
  .tool-disc { width: 40px; height: 40px; }
  #callPauseRemaining { font-size: 9px; right: 0; }
  #meetingCaption { width: calc(100% - 20px); bottom: 48px; padding: 8px 10px; max-height: 35%; }
  #meetingCaption .live-caption { font-size: 14px; }
  #meetingStage #customerName { font-size: 12px; left: 10px; bottom: 10px; }
  .meeting-stage-body.with-goals { grid-template-columns: minmax(0, 1fr); }
  .meeting-goals { position: absolute; z-index: 7; inset: auto 0 0; max-height: 65%; border-radius: 14px 14px 0 0; box-shadow: 0 -5px 20px #0005; }
  .meeting-pause-overlay { padding: 20px; text-align: center; bottom: calc(90px + env(safe-area-inset-bottom)); }
  #meetingStageNotice { font-size: 11px; }
  #meetingEnded h1 { font-size: 22px; }
  #meetingEnded p { font-size: 14px; }
  #detailFeedbackSection { scroll-margin-top: 80px; }
  .app-shell > :is(.dashboard-panel, .team-panel, .system-admin-panel) { min-width: 0; max-width: 100%; overflow-x: auto; }
  .system-admin-tabs { max-width: 100%; }
  .system-admin-tab { overflow-wrap: anywhere; }
}
.meeting-history-notice {
  position: fixed;
  z-index: 1000;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #182439;
  box-shadow: 0 4px 16px #0002;
}
.meeting-device-panel #speakerVolume { width: 100%; min-height: 24px; padding: 0; border: 0; box-shadow: none; accent-color: var(--primary); }
.meeting-device-panel #speakerVolumeValue { font-variant-numeric: tabular-nums; font-size: 13px; }
@media (min-width: 768px) {
  .meeting-join-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .meeting-join-actions .primary-button, .meeting-card > button { min-height: 44px; height: 44px; padding: 8px 24px; border-radius: 22px; font-size: 14px; }
  .meeting-join-actions .primary-button { width: 100%; }
  .meeting-join-actions .secondary-button { align-self: center; min-height: 32px; padding: 4px 12px; border: 0; background: transparent; box-shadow: none; text-decoration: none; font-size: 13px; color: var(--muted); }
  .meeting-toolbar { gap: 6px; padding: 10px 10px 12px; }
  .meeting-toolbar button { width: 64px; min-height: 64px; }
  .meeting-toolbar .tool-disc { width: 44px; height: 44px; }
  .meeting-toolbar .tool-disc svg { width: 20px; height: 20px; }
}
#meetingStage svg.lucide, #meetingLobby svg.lucide { stroke-width: 1.5; }
.meeting-toolbar .device-menu-toggle { position: absolute; top: -2px; right: -3px; width: 24px; min-height: 24px; height: 24px; display: grid; place-items: center; border-radius: 4px; background: var(--stage); }
.meeting-toolbar .device-menu-toggle svg { width: 16px; height: 16px; }
.meeting-toolbar .device-menu-toggle:hover, .meeting-toolbar .device-menu-toggle[aria-expanded="true"] { background: #414e7a; }
.device-menu { position: absolute; bottom: calc(100% + 10px); left: 0; width: 280px; max-height: 260px; overflow: auto; padding: 8px; background: var(--stage-2); color: #f2f3f6; border: 1px solid #525763; border-radius: 8px; box-shadow: 0 4px 16px #0005; }
.device-menu strong { display: block; padding: 4px 8px 8px; font-size: 13px; }
.meeting-toolbar .device-menu button { display: block; width: 100%; min-height: 36px; height: auto; padding: 8px; text-align: left; font-size: 13px; border-radius: 4px; overflow-wrap: anywhere; }
.meeting-toolbar .device-menu button:hover, .meeting-toolbar .device-menu button:focus-visible { background: #414e7a; }
.device-warning { position: absolute; top: -4px; left: -4px; width: 18px; height: 18px; display: grid; place-items: center; background: var(--stage); border-radius: 3px; color: #f5b301; }
.meeting-toolbar .tool-disc .device-warning svg { width: 14px; height: 14px; }
@media (max-width: 767px) {
  .meeting-toolbar .device-menu-toggle, .meeting-toolbar .device-menu { display: none; }
}
