.teams-call-panel{border-color:#285f7a;background:linear-gradient(145deg,#0d1c2d,#111f31)}
.teams-call-heading{align-items:flex-start;gap:18px}.teams-call-heading h2{margin-bottom:5px}.teams-call-heading p{margin:0;color:#9eb2c7}
.teams-call-panel .teams-idle{background:#26374a;color:#c3d0de}.teams-call-panel .teams-connecting{background:#74500e;color:#ffe0a3}.teams-call-panel .teams-connected{background:#0c684c;color:#d6ffef}.teams-call-panel .teams-error{background:#8b2635;color:#fff}
.teams-video-stage{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:10px;min-height:360px;margin:16px 0;background:#02060b;border:1px solid #2d5870;border-radius:10px;overflow:hidden}
.teams-video-placeholder{grid-column:1/-1;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:30px;text-align:center;color:#8296aa;background:radial-gradient(circle at center,#142539,#03080f 65%)}
.teams-video-placeholder strong{font-size:1.25rem;color:#d6e2ef}.teams-video-placeholder span{max-width:720px;line-height:1.5}
.teams-video-placeholder[hidden]{display:none!important}
#phone-video-panel{overflow:hidden}
#phone-video-panel .teams-video-stage{display:block;min-height:0;aspect-ratio:16/9;margin:16px 0;background:#02060b}
#phone-video-panel .teams-video-placeholder{position:absolute;inset:0;min-height:0}
#phone-live-video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
#phone-video-panel .teams-call-controls{display:grid;grid-template-columns:minmax(250px,1fr) minmax(190px,auto) minmax(180px,auto);align-items:center}
#phone-video-panel .teams-call-controls .button,#phone-video-panel .teams-call-controls button{box-sizing:border-box;min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;border-radius:8px;font-weight:800}
#phone-video-participants{text-align:right;white-space:nowrap}
.phone-recording-bar{display:flex;align-items:center;gap:12px;margin-top:14px;padding:10px 12px;border:1px solid #294d63;border-radius:8px;background:#071321}
.recording-idle{color:#9eb2c7;font-weight:800}.recording-active{color:#fff;background:#b31f35;border-radius:999px;padding:7px 12px;font-weight:900;box-shadow:0 0 0 0 rgba(255,47,76,.6);animation:recording-pulse 1.5s infinite}
.recording-ready{color:#d9ffed;background:#126341;border-radius:999px;padding:7px 12px;font-weight:900}.recording-error{color:#fff;background:#8b2635;border-radius:999px;padding:7px 12px;font-weight:900}
.phone-recording-downloads{display:flex;flex-direction:column;gap:7px;margin-top:10px}.phone-recording-downloads a{color:#b9d7ff;font-weight:750;text-decoration:none}.phone-recording-downloads a:hover{text-decoration:underline}
.recording-download-ready{display:flex;align-items:center;justify-content:center;min-height:50px;padding:8px 14px;border:1px solid #35a26f;border-radius:8px;background:#0b3f2d;color:#fff!important;font-size:1rem}
@keyframes recording-pulse{0%{box-shadow:0 0 0 0 rgba(255,47,76,.55)}70%{box-shadow:0 0 0 9px rgba(255,47,76,0)}100%{box-shadow:0 0 0 0 rgba(255,47,76,0)}}
.teams-remote-tile{position:relative;min-height:360px;background:#000}.teams-remote-tile>div,.teams-remote-tile video{width:100%!important;height:100%!important;object-fit:contain;background:#000}
.teams-participant-name{position:absolute;left:12px;bottom:12px;z-index:2;padding:5px 9px;border-radius:6px;background:#07111dcc;color:#fff;font-weight:700}
.teams-call-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.teams-call-controls button{min-width:170px}.teams-join{background:#4466e5}.teams-privacy{display:block;margin-top:12px;color:#8499ad}
@media(max-width:720px){.teams-video-stage,.teams-video-placeholder,.teams-remote-tile{min-height:240px}.teams-call-heading{display:block}.teams-call-heading .badge{display:inline-block;margin-top:9px}#phone-video-panel .teams-video-stage{min-height:0}#phone-video-panel .teams-call-controls{grid-template-columns:1fr}#phone-video-participants{text-align:center}.phone-recording-bar{align-items:stretch;flex-direction:column;text-align:center}}
@media print{.teams-call-panel{display:none!important}}
