/* Shared app language, based on the approved iPad concept. */
:root{--app-bg:#f5f5f7;--app-ink:#26262d;--app-muted:#7d8396;--app-pink:#ff396b;--app-blush:#ffe5ee;--app-lavender:#ece7ff;--app-mint:#e6f5ea;--app-cream:#fff3df;--app-blue:#e4efff;--app-radius:28px;--app-shadow:0 4px 18px #1c203305,0 1px 3px #1c203302;--app-sidebar:224px;--header-height:76px;--brand:#ff396b;--brand-soft:#ffe7ef;--ink:#26262d;--surface:#fff;--secondary:#7d8396;--inner:#f3f4fa;--radius:28px;--shadow:var(--app-shadow)}
body{background:var(--app-bg);color:var(--app-ink);font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',sans-serif;-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--app-sidebar);padding:30px 16px 18px;z-index:30;display:flex;flex-direction:column;background:#f1f1f5ed;border-right:1px solid #e8e8ed;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.app-sidebar>.identity{padding:0 9px;margin-bottom:38px;gap:12px;max-width:100%}
.app-sidebar .app-icon{width:44px;height:44px;border-radius:15px;flex:none;background:var(--app-pink);box-shadow:0 5px 12px #ff396b20}
.app-sidebar .brand-name{font-size:15px;line-height:1.25;letter-spacing:-.3px;color:#192239}
.app-navigation{display:grid;gap:9px}
.app-navigation a,.app-settings-link{display:flex;align-items:center;gap:14px;min-height:52px;padding:13px 16px;border-radius:18px;font-size:14px;font-weight:500;color:#52596d;text-decoration:none}
.app-navigation svg,.app-settings-link svg{width:22px;height:22px;flex:none}
.app-navigation a[aria-current=page],.app-settings-link[aria-current=page]{background:#fff0f5;color:#ec3d70;font-weight:600}
.app-navigation a:hover,.app-settings-link:hover{background:#e9e9f3}
.app-navigation a[aria-current=page]:hover{background:#fff0f5}
.app-sidebar-footer{margin-top:auto;padding-top:18px;border-top:1px solid #dfe1ec}
.app-sidebar .account-link{flex-direction:row-reverse;justify-content:flex-end;min-height:60px;padding:8px;gap:12px}
.app-sidebar .account-identity{text-align:left;white-space:normal;min-width:0}
.app-sidebar .account-identity strong{font-size:13px}
.app-sidebar .account-identity small{font-size:10px;line-height:1.5}
.app-sidebar .account-avatar{width:40px;height:40px;background:#fff;border-radius:50%;flex:none}
.app-sidebar .account-link[aria-current=page]{background:#fff8fb}
body:not(.app-immersive)>.topbar{margin-left:var(--app-sidebar);height:76px;position:relative;border:0;background:transparent;backdrop-filter:none;z-index:5}
body:not(.app-immersive)>.topbar .top-inner{max-width:1480px;padding:0 38px;display:flex;justify-content:space-between;gap:20px}
.app-location{font-size:12px;color:#8c91a3;font-weight:500}
.app-mobile-brand,.app-mobile-profile,.app-tabbar{display:none}
.header-utc{border:0!important;padding:0!important;display:flex;gap:8px;align-items:center;margin:0!important;flex:none}
.header-utc>span{font-size:9px!important;letter-spacing:1px;color:#9299ac}
.header-utc time{font-size:11px!important;font-weight:500!important;color:#8590a4;letter-spacing:.6px}
body:not(.app-immersive)>main{max-width:none;width:auto;margin:0 0 0 var(--app-sidebar);padding:8px 38px 60px}
body:not(.app-immersive)>main>.view{max-width:1240px;margin-left:auto;margin-right:auto;min-width:0}
.app-page-heading{margin:12px 0 30px}
.app-page-heading h2,body:not(.app-immersive) .view>.page-heading h2,body:not(.app-immersive) .crew-page-heading h2{font-size:36px;font-weight:650;line-height:1.15;letter-spacing:-1.1px;margin:10px 0}
.app-eyebrow{font-size:9px;font-weight:650;letter-spacing:1.6px;color:#8a8fa4}
.app-page-heading p,body:not(.app-immersive) .crew-page-heading>p{font-size:14px;color:#83889a;line-height:1.7;margin-top:9px}
body:not(.app-immersive) .card{border:0;border-radius:var(--app-radius);box-shadow:var(--app-shadow)}
body:not(.app-immersive) :is(.primary,.secondary-button,.session-action,.account-edit,.table-button){min-height:46px;border-radius:16px;font-weight:600}
body:not(.app-immersive) .primary{background:var(--app-pink);color:white;box-shadow:0 4px 12px #ff396b12}
body:not(.app-immersive) .primary:disabled{opacity:.5;box-shadow:none}
body:not(.app-immersive) :is(.secondary-button,.session-action,.account-edit){background:#eef0f8;color:#536580}
body:not(.app-immersive) :is(.crew-back,.debrief-back){font-size:12px;min-height:44px;color:#8a7f9d}
body:not(.app-immersive) :is(input,select,textarea){border-radius:14px;border-color:#e0e3ef;min-height:46px}
body:not(.app-immersive) :is(button,a,summary,input,select):focus-visible{outline:3px solid #ff396b80;outline-offset:4px}
body:not(.app-immersive) button:not(:disabled),body:not(.app-immersive) a{touch-action:manipulation}
.practice-destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.practice-destination{padding:28px;border-radius:30px;display:flex;flex-direction:column;min-height:295px;text-decoration:none;color:#263149;box-shadow:var(--app-shadow);transition:transform .15s ease}
.practice-destination:hover{transform:translateY(-3px)}
.tint-lavender,.tint-blue,.tint-mint{background:#fff}.tint-lavender .app-feature-icon{background:#f2edff;color:#9480c7}.tint-blue .app-feature-icon{background:#edf3ff;color:#7c9bca}.tint-mint .app-feature-icon{background:#edf6f0;color:#6c9b85}
.app-feature-icon{width:48px;height:48px;border-radius:17px;display:grid;place-items:center;background:#ffffff85;margin-bottom:28px;color:#7c66b2}
.app-feature-icon svg{width:24px;height:24px}
.practice-destination h3{font-size:23px;letter-spacing:-.5px;margin:0 0 10px}
.practice-destination p{font-size:13px;line-height:1.8;color:#686b85;margin:0 0 24px}
.destination-action{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;font-weight:650;margin-top:auto}
.destination-action svg{width:18px;height:18px}
.app-secondary-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:18px 24px;margin-top:22px;background:#fff;border-radius:22px;text-decoration:none;font-size:13px;color:#72738c}
.app-secondary-row svg{width:18px;height:18px}
#home-view .crew-entry-grid{grid-template-columns:1fr 1fr;gap:20px}
#home-view .crew-entry{background:#fff;border-radius:28px;min-height:150px;box-shadow:var(--app-shadow);padding:26px}
#home-view .crew-entry-private{background:#fff}
#home-view .crew-entry-symbol{background:#f2edff;color:#9480c7;border-radius:18px}
#home-view .crew-entry-private .crew-entry-symbol{color:#6c9b85;background:#edf6f0}
#home-view .crew-entry h3{color:#32323a;font-size:21px;font-weight:600}
#home-view .crew-entry p{color:#807892;font-size:12px}
#home-view .crew-page-heading>h2{font-size:36px;margin:10px 0}
#home-view .crew-schedule-heading h2{font-size:22px;color:#30354a}
body:not(.app-immersive) .crew-home .tables-grid{gap:18px}
body:not(.app-immersive) .crew-home .tables-grid>.table-card{border-radius:28px;box-shadow:var(--app-shadow);padding:23px}
body:not(.app-immersive) .crew-home .table-card .crew-slot-hour{color:#29364d;font-size:31px}
body:not(.app-immersive) .crew-home .table-card .seat-summary strong{background:#e6f4eb;color:#54866b}
body:not(.app-immersive) .crew-home .table-card>.table-button{border-radius:16px;background:#f6f6f9;color:#676771;font-size:12px;min-height:44px}
body:not(.app-immersive) .crew-home .table-card .seat.vacant{background:#f1f1f8;color:#a8afc4}
#home-view .tables-grid>.schedule-more{background:#fff;border-radius:28px;color:#737383;box-shadow:var(--app-shadow)}
#crew-view .crew-size-card,
#crew-view .crew-size-card[aria-pressed=true] {
  min-height: 230px;
  padding: 24px;
  gap: 18px;
  background: white;
  border: 0;
  border-radius: 28px;
  box-shadow: none;
}
#crew-view .crew-size-heading {
  position: relative;
  display: grid;
  gap: 5px;
  padding-right: 48px;
}
#crew-view .crew-size-number,
#crew-view .crew-size-card[aria-pressed=true] .crew-size-number { color: var(--app-ink); font-size: 58px; }
#crew-view .crew-size-caption { color: var(--app-muted); }
#crew-view .crew-size-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 10px;
  color: var(--crew-blue);
  background: var(--crew-blue-soft);
  border-radius: 12px;
}
#crew-view .crew-size-seats { display: flex; gap: 5px; margin: 0; }
#crew-view .crew-size-seats > span {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: #eceef0;
}
#crew-view .crew-size-seats > .matched { background: var(--crew-blue); }
#crew-view .crew-size-availability { margin: 0; color: var(--app-muted); }
#crew-view .crew-size-availability[hidden] { display: none; }
#crew-view .crew-size-action,
#crew-view .crew-size-card[aria-pressed=true] .crew-size-action {
  width: 100%;
  margin-top: auto;
  color: var(--app-ink);
  background: #f0f1f2;
  border-radius: 15px;
}
#crew-view .crew-size-card:hover .crew-size-action { background: #e7eaee; }
.crew-code-entry { margin-top: 16px; background: white; border-radius: 20px; }
.crew-code-entry summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  min-height: 64px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.crew-code-entry summary::-webkit-details-marker { display: none; }
.crew-code-entry summary svg { width: 22px; height: 22px; color: var(--crew-blue); }
.crew-code-entry summary svg:last-child { width: 16px; margin-left: auto; color: var(--app-muted); }
.crew-code-entry form { display: grid; gap: 8px; padding: 0 20px 20px; }
.crew-code-entry form > div { display: flex; flex-wrap: wrap; gap: 10px; }
.crew-code-entry input {
  flex: 1 1 190px;
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce2e7;
  border-radius: 12px;
  font: inherit;
}
#crew-view .crew-solo-link { margin: 16px 0 0; }

#private-crew-view .crew-private-intro{background:#fff;padding:32px;border-radius:30px}
body:not(.app-immersive) .crew-editor{border:0;border-radius:30px;box-shadow:var(--app-shadow);background:#fff}
body:not(.app-immersive) .private-crew-card{border:0;border-radius:28px;box-shadow:var(--app-shadow)}
body:not(.app-immersive) .private-crew-card:nth-child(3n+2){background:#fff}
body:not(.app-immersive) .private-crew-card:nth-child(3n+3){background:#fff}
body:not(.app-immersive) .crew-list-empty{border:0;border-radius:30px;background:#fff;padding:48px 28px}
body:not(.app-immersive) .segmented{background:#e7e8f2;padding:5px;border-radius:16px}
body:not(.app-immersive) .segmented button{border-radius:12px;min-height:42px}
body:not(.app-immersive) .segmented button[aria-selected=true]{background:#fff;color:#2c3249;box-shadow:0 2px 5px #3033520a}
body:not(.app-immersive) .session-card{border:0;border-radius:26px;background:#fff;box-shadow:var(--app-shadow);padding:24px}
body:not(.app-immersive) .session-empty{background:#fff;border-radius:30px;padding:42px}
body:not(.app-immersive) .booking-card{border:0;border-radius:30px;background:#fff;box-shadow:var(--app-shadow)}
body:not(.app-immersive) .auth-page{max-width:480px}
body:not(.app-immersive) .auth-card{padding:36px;border-radius:32px;background:#fff;box-shadow:0 12px 50px #55537809}
body:not(.app-immersive) .auth-card .performance-eyebrow{color:#b886a2;letter-spacing:1px}
#profile-view{display:block;max-width:1050px}
#profile-view>.card{margin:24px 0;border-radius:30px}
#profile-view .profile-page-heading h2{font-size:36px}
#profile-view .profile-hero{background:#fff;padding:32px}
#profile-view .profile-main-avatar{background:#f5f1fc;width:78px;height:78px;color:#9785b9}
#profile-view .profile-shortcuts a{background:#ffffffa0;color:#72618b}
#profile-view .profile-shortcuts a:first-child{background:#fff2f7;color:#c24d76}
.profile-open-settings{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:18px 30px;text-decoration:none;color:#747087;border-top:1px solid #f0edf7;font-size:13px}
.profile-open-settings svg{width:18px;height:18px}
#progress-view{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:22px;align-items:start}
#progress-view>.app-page-heading,#progress-view>.progress-refresh-row,#progress-guest,#account-performance-empty{grid-column:1/-1}
#progress-view>.card{margin:0;border-radius:30px;padding:28px}
#progress-view .performance-target{background:var(--app-mint);padding:15px;border-radius:18px}
#progress-view .performance-score{color:#e83b71;font-size:64px;font-weight:650}
#progress-view .development-card{background:#fff}
#progress-view .development-strength{background:#ffffff90;border-radius:18px}
#progress-view .performance-chart{margin-top:22px}
#progress-view .progress-refresh-row{margin:0}
#progress-view #account-performance-empty{padding:44px!important}
#progress-guest .primary,#settings-guest .primary{display:inline-flex;margin-top:20px;align-items:center;padding:12px 24px}
#settings-view{max-width:900px}
#settings-view>.card{padding:28px;margin-bottom:20px}
#settings-view .settings-account>h3{font-size:21px;margin-bottom:22px}
#settings-view .account-field{padding:20px 0}
#settings-view .profile-sign-out{margin-top:24px;background:#fff0f5;color:#c63d67}
#settings-view>.profile-faq{padding:22px 28px}
#settings-view summary{min-height:44px}
#settings-view details p{line-height:1.85}
.table-dialog{border:0;border-radius:30px;box-shadow:0 24px 100px #29213c26}
.table-dialog::backdrop{background:#22223655;backdrop-filter:blur(5px)}
/* Debrief uses the same tactile app surfaces as the approved concept. */
#transcript-view .debrief-reader-heading h2{font-size:40px;letter-spacing:-1.2px;color:#20253d}
#transcript-view .debrief-sections{position:static;display:inline-flex;gap:4px;background:#e6e7f1;border:0;border-radius:17px;padding:5px;margin:0 0 28px;backdrop-filter:none}
#transcript-view .debrief-sections button{padding:10px 18px;border-radius:12px;font-size:12px;color:#6d7087;min-height:40px}
#transcript-view .debrief-sections button[aria-current=true]{background:#fff;color:#24283e;box-shadow:0 2px 5px #242b4210}
#transcript-view .debrief-sections button:disabled{color:#aaaabd}
#transcript-view .ai-report-panel{border:0;padding:0;margin:0 0 36px;background:transparent}
#transcript-view .debrief-report-heading h2{font-size:24px;font-weight:600;margin:7px 0 20px}
#transcript-view .debrief-narrative{max-width:none;margin:0;padding:28px 30px;background:var(--app-lavender);border-radius:30px;box-shadow:var(--app-shadow)}
#transcript-view .debrief-narrative>.ai-comment>p{font-size:17px;line-height:1.8;color:#55516e;max-width:82ch}
#transcript-view .debrief-narrative h3{margin:0 0 10px;font-size:22px;letter-spacing:-.5px;color:#3e365e}
#transcript-view .debrief-takeaways{gap:16px;margin:24px 0}
#transcript-view .debrief-feedback-section{border:0;border-radius:26px;padding:24px;background:#fff;box-shadow:var(--app-shadow)}
#transcript-view .debrief-feedback-section:nth-child(2){background:#fff}
#transcript-view .debrief-feedback-section:nth-child(3){background:#fff}
#transcript-view .debrief-feedback-section h3{font-size:16px;color:#4e625c;margin-bottom:8px}
#transcript-view .debrief-feedback-section:nth-child(2) h3{color:#967748}
#transcript-view .debrief-feedback-section:nth-child(3) h3{color:#5d77a2}
#transcript-view .ai-criteria{background:#fff;padding:6px 24px;border-radius:26px;box-shadow:var(--app-shadow);margin:24px 0}
#transcript-view .ai-criterion{border-color:#eff0f6}
#transcript-view .ai-criterion:first-child,#transcript-view .ai-criterion:last-child{border:0}
#transcript-view .ai-report-panel>details,#transcript-view .ai-exercise-context{background:#fff;padding:6px 22px;border:0;border-radius:20px;margin:16px 0}
#transcript-view .ai-report-panel>small{padding:10px 4px;font-size:10px;color:#9696a8}
#transcript-view .debrief-conversation{background:white;border-radius:30px;padding:28px;box-shadow:var(--app-shadow);margin-top:24px}
#transcript-view .aligned-turn-row{gap:16px 26px;border-color:#eeeef5}
#transcript-view .transcript-part{background:#f5f5fb;border-radius:20px;padding:20px}
#transcript-view .transcript-part.own-turn{background:#fff0f6;box-shadow:none}
#transcript-view .transcript-part-text{font-size:14px;color:#606279}
#transcript-view .ai-turn-review,#transcript-view .overlap-observation{border:0;background:#f1eefb;border-radius:20px;padding:18px}
#transcript-view .debrief-followup{background:#fff;border:0;border-radius:30px;padding:28px}
#transcript-view .ai-exercise-context{margin:0 0 24px}
#transcript-view :is(.ai-report-panel,.debrief-conversation,.debrief-followup,.aligned-turn-row){scroll-margin-top:24px}
.debrief-overview{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px;align-items:stretch}
.debrief-score-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#fff;border-radius:30px;padding:24px;box-shadow:var(--app-shadow);text-align:center}
.debrief-score-card>h3{font-size:15px!important;margin:0!important;color:#48485e}
.debrief-score-ring{width:142px;height:142px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#ff396b calc(var(--score-percent,0)*1%),#ffe4ee 0)}
.debrief-score-ring>span{width:118px;height:118px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}
.debrief-score-ring strong{font-size:40px;line-height:1.1;letter-spacing:-1px;color:#25253e}
.debrief-score-ring small{font-size:13px;color:#9293a5}
.debrief-score-card>small{font-size:10px;color:#9693a8;line-height:1.6;max-width:180px}
.debrief-no-score{font-size:15px;color:#a19bae;line-height:1.6;padding:20px 8px}
body.app-immersive .app-sidebar,body.app-immersive .app-tabbar{display:none!important}
body.app-immersive{--header-height:76px}
body.app-immersive>.topbar .app-location{display:none}
body.app-immersive .app-mobile-brand{display:block}
@media(min-width:1450px){:root{--app-sidebar:246px}body:not(.app-immersive)>main{padding:12px 46px 70px}body:not(.app-immersive)>.topbar .top-inner{padding:0 46px}}
@media(max-width:1150px) and (min-width:721px){:root{--app-sidebar:200px}.app-sidebar{padding-inline:12px}.app-sidebar .brand-name{font-size:12px}.app-sidebar .app-icon{width:39px;height:39px}.app-navigation a{padding:12px;font-size:13px;gap:11px}body:not(.app-immersive)>main{padding:6px 26px 48px}body:not(.app-immersive)>.topbar .top-inner{padding-inline:26px}.practice-destinations{grid-template-columns:1fr}.practice-destination{min-height:0;display:grid;grid-template-columns:52px 1fr;gap:0 20px;padding:24px}.practice-destination .app-feature-icon{grid-row:1/4;margin:0}.practice-destination p{margin-bottom:14px}.practice-destination .destination-action{grid-column:2}.debrief-overview{grid-template-columns:minmax(0,1fr) 200px}.debrief-score-card{padding:20px}.debrief-score-ring{width:122px;height:122px}.debrief-score-ring>span{width:100px;height:100px}#home-view .crew-entry-grid{grid-template-columns:1fr}#progress-view{grid-template-columns:1fr}}
@media(max-width:900px){#transcript-view .debrief-takeaways{grid-template-columns:1fr}.debrief-overview{grid-template-columns:1fr}.debrief-score-card{flex-direction:row;flex-wrap:wrap;justify-content:space-between}.debrief-score-ring{width:90px;height:90px}.debrief-score-ring>span{width:72px;height:72px}.debrief-score-ring strong{font-size:25px}.debrief-score-card>small{max-width:160px}}
@media(max-width:720px){:root{--header-height:72px;--app-sidebar:0px}.app-sidebar{display:none}body:not(.app-immersive)>.topbar{margin:0;height:72px;position:sticky;top:0;background:#f3f4faed;backdrop-filter:blur(20px);z-index:20}body:not(.app-immersive)>.topbar .top-inner{padding:0 20px;display:flex;height:72px}.app-location{display:none}.app-mobile-brand,.app-mobile-profile{display:block}.app-mobile-brand .brand-name{font-size:12px!important}.app-mobile-brand .identity{gap:9px}.app-mobile-brand .app-icon{width:34px;height:34px;border-radius:12px}.app-mobile-profile{width:38px;height:38px;border-radius:50%;padding:9px;background:#fff;color:#a07899}.app-mobile-profile svg{width:20px;height:20px}body:not(.app-immersive)>.topbar .header-utc{margin-left:auto!important}.app-tabbar{display:flex;position:fixed;inset:auto 12px max(10px,env(safe-area-inset-bottom));z-index:30;background:#ffffffed;border:1px solid #e8e8f1;box-shadow:0 5px 30px #32354e12;border-radius:24px;backdrop-filter:blur(20px);padding:7px 5px}.app-tabbar a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:50px;border-radius:18px;color:#9696a9;font-size:9px;text-decoration:none}.app-tabbar a svg{width:21px;height:21px}.app-tabbar a[aria-current=page]{color:#ee3a6b;background:#fff0f5;font-weight:600}body:not(.app-immersive)>main{margin:0;padding:16px 20px 110px}.app-page-heading h2,body:not(.app-immersive) .crew-page-heading h2,#home-view .crew-page-heading>h2{font-size:30px;letter-spacing:-.8px}.practice-destinations{grid-template-columns:1fr;gap:16px}.practice-destination{min-height:240px;padding:25px}.app-feature-icon{margin-bottom:22px}#home-view .crew-entry-grid{grid-template-columns:1fr;gap:16px}#home-view .crew-entry{min-height:140px;padding:24px}#home-view .crew-entry h3{font-size:21px}#progress-view{grid-template-columns:1fr}#progress-view>.card{padding:22px}#profile-view .profile-hero{padding:24px}#settings-view>.card{padding:24px}.debrief-reader-heading h2,#transcript-view .debrief-reader-heading h2{font-size:32px}#transcript-view .debrief-sections{display:flex;flex-wrap:wrap;border-radius:17px}#transcript-view .debrief-sections button{flex:1;padding:9px 10px;font-size:10px;white-space:nowrap}#transcript-view .debrief-narrative{padding:24px;border-radius:26px}#transcript-view .debrief-narrative>.ai-comment>p{font-size:15px}#transcript-view .debrief-conversation{padding:22px}#transcript-view .aligned-turn-row{padding-block:20px}#transcript-view .ai-turn-review,#transcript-view .overlap-observation{margin-left:0}#transcript-view :is(.ai-report-panel,.debrief-conversation,.debrief-followup,.aligned-turn-row){scroll-margin-top:92px}body.app-immersive .topbar{position:relative}body.app-immersive .app-mobile-profile{display:none}}
@media(prefers-reduced-motion:reduce){.practice-destination{transition:none}.practice-destination:hover{transform:none}}
@media(min-width:1001px) and (max-width:1150px){#home-view .crew-entry-grid{grid-template-columns:1fr 1fr}#home-view .crew-entry{grid-template-columns:42px minmax(0,1fr) 18px;padding:24px;gap:12px}#home-view .crew-entry h3{font-size:20px}}
#transcript-view .debrief-back{margin-bottom:16px}
#transcript-view .debrief-reader-heading h2{margin-block:8px;font-size:36px}
#transcript-view .debrief-status{margin:12px 0 20px}
#transcript-view .debrief-reader-heading .performance-eyebrow{display:none}
@media(max-width:720px){#transcript-view .debrief-reader-heading h2{font-size:30px}}
#transcript-view .debrief-timeline{background:#fff;border-radius:28px;padding:26px;margin:24px 0;box-shadow:var(--app-shadow)}
.debrief-timeline-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}
#transcript-view .debrief-timeline h3{font-size:20px;letter-spacing:-.4px;margin:0;color:#36364e}
.debrief-timeline-heading>button{font-size:11px;color:#e53c70;background:transparent;min-height:44px;padding:8px}
.debrief-timeline ol{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.debrief-timeline li{position:relative;border-top:3px solid #e3dcf6;padding:22px 20px 0 0}
.debrief-timeline li:before{content:'';position:absolute;left:0;top:-7px;background:#b59ce8;box-shadow:0 0 0 4px white;width:11px;height:11px;border-radius:50%}
.debrief-timeline li:first-child:before{background:#ff6791}
.debrief-timeline li:last-child:before{background:#86bd9a}
.debrief-timeline li>button{background:transparent;padding:0;font-size:12px;font-weight:650;color:#525369;min-height:32px}
.debrief-timeline li>p{font-size:12px!important;line-height:1.8;color:#858398;margin:8px 0 0}
@media(max-width:850px){.debrief-timeline ol{grid-template-columns:1fr;gap:22px}.debrief-timeline li{border-top:0;border-left:3px solid #e3dcf6;padding:0 0 0 20px}.debrief-timeline li:before{top:8px;left:-7px}.debrief-timeline-heading{align-items:flex-start}#transcript-view .debrief-timeline h3{font-size:18px}}
/* Native-style segmented views and the small details from the approved mockup. */
#transcript-view .debrief-sections{position:relative;isolation:isolate;box-shadow:inset 0 1px 2px #63647705}
#transcript-view .debrief-sections [role=tab]{transition:background .18s ease,box-shadow .18s ease,color .18s ease;min-height:44px}
#transcript-view .debrief-sections [aria-selected=true]{background:white;color:#24283e;box-shadow:0 2px 5px #242b4210,0 1px 2px #242b4206}
#transcript-view [role=tabpanel]:not([hidden]){animation:debrief-appear .22s ease-out}
#transcript-view .debrief-narrative{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(130deg,#eee8ff 0%,#ece7ff 55%,#e8dfff 100%);display:flex;flex-direction:column}
#transcript-view .debrief-narrative>h3,#transcript-view .debrief-narrative>.ai-comment{position:relative;z-index:1}
#transcript-view .debrief-narrative>h3{font-size:23px;line-height:1.35;letter-spacing:-.6px;margin-bottom:8px}
#transcript-view .debrief-narrative>.ai-comment{padding-top:4px}
.debrief-journey-art{position:absolute;right:0;bottom:0;width:235px;height:125px;z-index:0;opacity:.7;pointer-events:none}
.debrief-journey-art svg{width:100%;height:100%}
.debrief-story-footer{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:22px;min-height:54px;color:#7c6a9d;font-size:11px;font-weight:550}
.debrief-crew-avatars{display:flex;padding-left:5px}
.debrief-crew-avatars>span{display:grid;place-items:center;flex:none;width:34px;height:34px;border:3px solid #f4efff;border-radius:50%;margin-left:-5px;box-shadow:0 1px 4px #5d497b10;background:#dcd1f1;color:#7a658f;font-size:10px;font-weight:650;letter-spacing:-.2px}
.debrief-crew-avatars>span:nth-child(2){background:#d7e9df;color:#608874}
.debrief-crew-avatars>span:nth-child(3){background:#f4d9df;color:#ac7080}
.debrief-crew-avatars>span:nth-child(4){background:#dce4f7;color:#6b7ca4}
.debrief-story-footer>.debrief-crew-avatars+span{padding-left:12px;border-left:1px solid #cec2e3}
.debrief-detail-icon{display:inline-grid;place-items:center;width:26px;height:26px;flex:none}
.debrief-detail-icon svg{width:22px;height:22px}
.debrief-takeaway-heading{display:flex;align-items:center;gap:9px;margin:0 0 12px}
#transcript-view .debrief-feedback-section .debrief-takeaway-heading h3{font-size:13px;font-weight:600;margin:0;letter-spacing:0}
.debrief-takeaway-heading .debrief-detail-icon{background:#edf7ef;border-radius:50%;box-shadow:0 1px 5px #43896808;color:#4c8e64}
.debrief-feedback-section:nth-child(2) .debrief-detail-icon{background:#fff5e8;color:#c39448;box-shadow:0 1px 5px #bd9b600a}
.debrief-feedback-section:nth-child(3) .debrief-detail-icon{background:#eef4ff;color:#668fc9}
#transcript-view .debrief-feedback-section .ai-comment{padding-top:4px}
#transcript-view .debrief-feedback-section .ai-review-indicator{display:none}
#transcript-view .debrief-feedback-section .ai-comment>p:first-of-type{font-size:14px;line-height:1.8;color:#5b6d64}
#transcript-view .debrief-feedback-section:nth-child(2) .ai-comment>p:first-of-type{color:#887854}
#transcript-view .debrief-feedback-section:nth-child(3) .ai-comment>p:first-of-type{color:#5d7395}
.debrief-private-pill{display:inline-flex;align-items:center;gap:5px;background:#fff0f5;color:#c56b8d;border-radius:999px;padding:5px 10px;font-size:9px;margin-top:-5px}
.debrief-private-pill .debrief-detail-icon{width:12px;height:12px}
.debrief-private-pill svg{width:11px;height:11px}
.debrief-score-ring{box-shadow:0 6px 16px #ff396b0a;transform:rotate(-2deg)}
.debrief-score-ring>span{transform:rotate(2deg)}
#transcript-view .debrief-score-card>small{line-height:1.7}
.debrief-timeline li>button{display:inline-flex;align-items:center;gap:7px;background:#f4f0fc;border-radius:8px;padding:4px 8px;min-height:32px;margin-bottom:3px}
.debrief-timeline li:first-child>button{background:#fff0f5;color:#b76183}
.debrief-timeline li:last-child>button{background:#ecf6ef;color:#6c9478}
#transcript-view .debrief-conversation{margin-top:0}
#transcript-view .debrief-followup{margin-top:0}
.debrief-followup-loading{padding:32px;background:#fff;border-radius:26px;color:#9692a6;font-size:13px}
#transcript-view .debrief-report-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
#transcript-view .debrief-report-heading>.performance-eyebrow{order:2;font-size:8px;background:#ebe8f6;padding:6px 10px;border-radius:999px;color:#9587ad;letter-spacing:.8px}
#transcript-view .debrief-report-heading h2{margin:0;font-size:22px}
@keyframes debrief-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:720px){.debrief-journey-art{width:175px;opacity:.45}.debrief-story-footer{padding-top:18px}#transcript-view .debrief-narrative>h3{font-size:20px}.debrief-private-pill{margin:0}#transcript-view .debrief-report-heading{align-items:flex-start}#transcript-view .debrief-report-heading>.performance-eyebrow{font-size:7px;max-width:120px;text-align:center;line-height:1.5}}
@media(prefers-reduced-motion:reduce){#transcript-view [role=tabpanel]:not([hidden]){animation:none}#transcript-view .debrief-sections [role=tab]{transition:none}}
#transcript-view .debrief-sections{top:auto}
.debrief-journey-art svg{stroke:none}

/* A quieter app: rounded type, white surfaces, small purposeful accents. */
body:not(.app-immersive) :is(h2,h3,h4,.brand-name,.crew-slot-hour,.crew-size-number,.performance-score,.debrief-score-ring strong){font-family:ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,sans-serif}
body:not(.app-immersive) .app-eyebrow{display:none}
body:not(.app-immersive) :is(.app-page-heading h2,.view>.page-heading h2,.crew-page-heading h2),#home-view .crew-page-heading>h2,#profile-view .profile-page-heading h2,#transcript-view .debrief-reader-heading h2{font-size:32px;line-height:1.2;letter-spacing:-.7px;font-weight:650;color:#292930}
body:not(.app-immersive) :is(.app-page-heading,.crew-page-heading)>p{font-size:14px;color:#92929c;line-height:1.6}
.app-sidebar .brand-name{font-weight:650;letter-spacing:-.35px;color:#38383f}
.app-navigation a,.app-settings-link{font-size:14px;font-weight:450;min-height:48px;border-radius:15px}
.app-navigation a[aria-current=page],.app-settings-link[aria-current=page]{font-weight:550}
.app-location{visibility:hidden}
#home-view .crew-entry{min-height:144px}
#home-view .crew-entry p{font-size:12px;color:#92929a}
#home-view .crew-entry-arrow{color:#bbb9c2}
#home-view .crew-schedule-heading h2{font-size:21px;font-weight:600;letter-spacing:-.4px;color:#44444d}
#home-view .schedule-more strong{font-family:ui-rounded,-apple-system,sans-serif;font-size:23px;font-weight:550;letter-spacing:-.4px}
#home-view .schedule-more svg{color:#b39eca;background:#f6f1fb;border-radius:50%;padding:8px;box-sizing:content-box}
body:not(.app-immersive) .crew-home .table-card .crew-slot-hour{font-size:30px;font-weight:600;color:#3a3a44;letter-spacing:-.8px}
body:not(.app-immersive) .crew-home .table-card .seat-summary strong{background:#f0f7f2;color:#719181;font-weight:500}
body:not(.app-immersive) .crew-home .table-card>.table-button{background:#f6f6f9;color:#767680;font-weight:500}
#home-view .crew-entry:hover,.practice-destination:hover{background:#fff;box-shadow:0 6px 24px #25253808}
#profile-view .profile-shortcuts a{background:#f7f7fa;color:#747481}
#profile-view .profile-shortcuts a:first-child{background:#f7f7fa;color:#747481}
#transcript-view .debrief-feedback-section .ai-comment>p:first-of-type,#transcript-view .debrief-feedback-section:nth-child(2) .ai-comment>p:first-of-type,#transcript-view .debrief-feedback-section:nth-child(3) .ai-comment>p:first-of-type{color:#74747e}
@media(max-width:720px){body:not(.app-immersive)>.topbar{background:#f5f5f7ed}body:not(.app-immersive) :is(.app-page-heading h2,.view>.page-heading h2,.crew-page-heading h2),#home-view .crew-page-heading>h2,#profile-view .profile-page-heading h2,#transcript-view .debrief-reader-heading h2{font-size:29px}#home-view .crew-entry{min-height:124px}}
