:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  color: #17282f;
  background: #f2f5f3;
  --surface: #fff;
  --accent: #00614e;
  --accent-dark: #004c3e;
  --line: #dfe7e2;
  --muted: #546963;
  --ink: #17282f;
  --sidebar: #152723;
  --aside-text: #c5d7ce;
  --green-light: #dff3e8;
  --radius: 17px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 300px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .58; cursor: wait; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #47a992; outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; line-height: 1.55; }
h1, h2, h3 { margin: 0; line-height: 1.16; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.057em; font-weight: 760; overflow-wrap: anywhere; }
h2 { font-size: 1.28rem; letter-spacing: -.032em; }
h3 { font-size: 1rem; }
small { font-size: .81rem; }
.subtle { color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 720; text-transform: uppercase; letter-spacing: .115em; color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.shell { display: grid; grid-template-columns: 234px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--sidebar); color: white; padding: 29px 17px 19px; position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 45px; }
.sidebar nav { display: grid; gap: 6px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 7px; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: -.025em; }
.brand small { color: #a9c5b9; margin-top: 3px; }
.brand-mark { display: flex; flex: 0 0 auto; justify-content: center; align-items: center; gap: 2px; width: 38px; height: 38px; border-radius: 11px; background: #acf1cd; color: #184735; }
.brand-mark i { width: 2px; height: 11px; border-radius: 2px; background: currentColor; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 17px; }
.brand-mark i:nth-child(3) { height: 23px; }
.nav-button { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 11px 12px; border: 0; border-radius: 9px; color: var(--aside-text); background: transparent; font-size: .91rem; min-height: 44px; text-align: left; }
.nav-button span { font-size: 1.15rem; line-height: 1; }
.nav-button:hover, .nav-button.active { color: white; background: #2a453b; }
.sidebar-foot { margin-top: auto; display: grid; gap: 10px; }
.environment { color: #a9c5b9; font-size: .79rem; padding: 0 12px; }
.main { min-width: 0; }
.topbar { min-height: 72px; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 4.2%; }
.breadcrumb { font-size: .9rem; color: var(--muted); font-weight: 620; }
.page { max-width: 1420px; margin: auto; padding: 34px 4.3% 65px; }
.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.page-intro h1 { margin: 4px 0 8px; }
.detail-intro .status { margin-bottom: 3px; }
.button { min-height: 42px; border: 1px solid transparent; border-radius: 9px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .89rem; font-weight: 690; text-align: center; }
.primary { color: white; background: var(--accent); }
.primary:hover { background: var(--accent-dark); }
.secondary { color: var(--ink); border-color: #cfdbd4; background: white; }
.secondary:hover { background: #f2f7f4; }
.light { color: #123a2b; background: #c6f6d9; }
.light:hover { background: #e0ffe9; }
.text-button { color: var(--accent); background: transparent; }
.text-button:hover { background: #eff7f2; }
.back { margin: -6px 0 10px -9px; padding-left: 8px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.panel-header p { font-size: .9rem; margin-top: 4px; }
.demo-hero { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; overflow: hidden; gap: 30px; background: #184736; color: #f5fff8; padding: 27px 30px; border-radius: var(--radius); margin-bottom: 24px; min-height: 220px; }
.demo-hero::before { content: ""; position: absolute; z-index: -1; width: 350px; height: 350px; border-radius: 50%; right: -76px; bottom: -188px; border: 1px solid #5f9c79; box-shadow: 0 0 0 35px #5f9c7922, 0 0 0 70px #5f9c792a, 0 0 0 105px #5f9c7914; }
.demo-hero h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); margin: 7px 0; }
.demo-hero .eyebrow { color: #b5e6c9; }
.demo-hero p:not(.eyebrow) { max-width: 445px; color: #e1f0e7; margin-bottom: 18px; }
.hero-wave { display: flex; align-items: center; justify-content: center; gap: clamp(3px, .6vw, 8px); height: 92px; flex: 0 0 27%; padding: 4px 11px; }
.hero-wave i { background: #a9e3c2; opacity: .82; height: var(--height); width: 5px; border-radius: 9px; }
.hero-wave i:nth-child(3n) { background: #e7faf0; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 24px; }
.metric { display: grid; gap: 7px; padding: 19px 22px; }
.metric span { color: var(--muted); font-size: .9rem; }
.metric strong { font-size: 1.92rem; letter-spacing: -.06em; }
.metric small { font-weight: 600; color: var(--muted); letter-spacing: 0; }
.history-table { display: grid; }
.history-caption, .history-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 54px; gap: 14px; padding: 13px 24px; align-items: center; text-align: left; }
.history-caption { color: var(--muted); font-weight: 650; font-size: .78rem; background: #f5f8f6; border-top: 1px solid var(--line); }
.history-row { width: 100%; border: 0; border-top: 1px solid var(--line); background: white; color: var(--ink); font-size: .91rem; }
.history-row:hover { background: #f4faf6; }
.meeting-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.meeting-cell strong, .meeting-cell small { display: block; overflow-wrap: anywhere; }
.meeting-cell small { margin-top: 4px; color: var(--muted); }
.employee-cell { overflow-wrap: anywhere; }
.history-score { color: var(--accent); }
.item-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--green-light); color: var(--accent); display: inline-flex; justify-content: center; align-items: center; font-size: 1.2rem; flex-shrink: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 5px 9px; line-height: 1.3; background: #edf0ed; color: #3e5a50; font-size: .76rem; font-weight: 680; max-width: max-content; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status.good { background: #dff3e8; color: #075c47; }
.status.bad { background: #fae4df; color: #8c351e; }
.empty { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 27px 15px 38px; border-top: 1px solid var(--line); }
.empty p { color: var(--muted); }
.history-foot { padding: 10px 15px; border-top: 1px solid var(--line); }
.audio-panel { display: flex; align-items: center; gap: 12px; padding: 13px 18px; margin-bottom: 16px; }
.audio-panel small { display: block; margin-top: 3px; color: var(--muted); }
.audio-panel audio { margin-left: auto; width: min(100%, 510px); height: 45px; }
.tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.tab { padding: 8px 12px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); min-height: 40px; font-size: .92rem; font-weight: 665; }
.tab:hover { color: var(--ink); background: #eff5f0; }
.tab.active { color: var(--accent-dark); background: var(--green-light); border-color: #c5e8d6; }
.detail-tabs { margin-bottom: 15px; }
.score-panel { display: flex; align-items: center; gap: 22px; padding: 20px 24px; }
.score-panel h2 { margin: 4px 0 6px; font-size: 1.52rem; }
.score-ring { display: grid; place-items: center; width: 110px; flex: 0 0 110px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#168068 var(--score), #e5eee8 var(--score)); }
.score-ring div { display: grid; align-content: center; justify-items: center; width: 91px; height: 91px; border-radius: 50%; background: white; }
.score-ring strong { font-size: 2.1rem; line-height: 1; letter-spacing: -.05em; }
.score-ring span { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.results { display: grid; gap: 16px; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.highlight { padding: 19px 22px; }
.highlight h2 { display: flex; align-items: center; gap: 9px; }
.highlight h2 span { display: grid; place-items: center; font-size: .95rem; width: 25px; height: 25px; border-radius: 7px; }
.plus { color: var(--accent); background: var(--green-light); }
.focus { color: #89541b; background: #faecd8; }
.highlight article { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.highlight p, .stage-body p { font-size: .94rem; margin-top: 6px; }
blockquote { display: flex; align-items: baseline; gap: 9px; border-left: 2px solid #b9ddce; padding: 5px 8px; margin: 9px 0 3px; color: #3e5950; font-size: .87rem; line-height: 1.45; }
blockquote span { overflow-wrap: anywhere; }
blockquote small { display: block; color: var(--muted); margin-top: 3px; }
.timestamp { align-self: start; border: 0; font-size: .81rem; font-variant-numeric: tabular-nums; font-weight: 650; padding: 5px 7px; border-radius: 6px; color: var(--accent-dark); background: #e8f5ef; }
.timestamp:hover { background: #caedde; }
.example { border-radius: 8px; background: #f4f8f5; padding: 8px 10px; color: #355149; }
.stage { border-top: 1px solid var(--line); }
.stage summary { display: grid; grid-template-columns: minmax(105px, 1fr) minmax(20px, .8fr) 63px; align-items: center; gap: 15px; cursor: pointer; padding: 15px 24px; font-size: .94rem; font-weight: 650; }
.stage summary > span:first-child::before { content: "›"; font-size: 1.2rem; display: inline-block; width: 16px; color: var(--accent); vertical-align: -1px; }
.stage[open] summary > span:first-child::before { transform: rotate(90deg); }
.stage summary strong { text-align: right; }
.stage summary small { color: var(--muted); font-weight: 500; }
.bar { height: 6px; background: #e7eeea; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #329579; }
.stage-body { padding: 0 24px 18px; }
.stage-body strong { color: var(--accent-dark); }
.dialogue { padding: 0 24px 10px; }
.turn { display: grid; grid-template-columns: max-content 1fr; gap: 13px; border-top: 1px solid var(--line); padding: 13px 0; }
.turn .role { color: #4e655d; font-size: .83rem; }
.turn .manager { color: var(--accent-dark); }
.turn p { margin-top: 2px; overflow-wrap: anywhere; }
.timeline { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 22px 22px; background: #f2f6f3; border-radius: 11px; padding: 17px; font: .9rem/1.6 Inter, "Segoe UI", system-ui, sans-serif; }
.roles { padding: 20px 24px; margin-bottom: 16px; }
.roles > p { margin-top: 6px; }
.provider-notice { margin-bottom: 16px; }
.roles .provider-notice { margin: 12px 0 0; }
.provider-notice .button { margin: 7px 8px 0 0; }
.role-tools { display: flex; align-items: end; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.role-tools label { min-width: 165px; }
.progress, .wait { display: grid; justify-items: center; gap: 10px; padding: 45px 22px; text-align: center; overflow-wrap: anywhere; }
.spinner { width: 32px; height: 32px; border: 3px solid #d8e9df; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 7px 0 0; padding: 0; }
.progress-list li { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .81rem; }
.progress-list span { display: grid; place-items: center; border-radius: 50%; background: #eef2ef; width: 22px; height: 22px; font-size: .75rem; }
.progress-list .completed, .progress-list .current { color: var(--accent-dark); }
.progress-list .completed span, .progress-list .current span { background: var(--green-light); }
.rubric article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--line); }
.rubric article p { color: var(--muted); margin-top: 4px; }
.rubric article > strong { color: var(--accent); white-space: nowrap; }
.login { min-height: 100dvh; display: grid; place-items: center; background: radial-gradient(ellipse at 12% 10%, #dcefe4, #f2f5f3 64%); padding: 24px; }
.login-card { width: min(100%, 435px); background: white; border: 1px solid var(--line); border-radius: 21px; padding: clamp(22px, 6vw, 45px); box-shadow: 0 14px 70px #163d2914; }
.login-card .eyebrow { margin-top: 20px; }
.login-card h1 { font-size: clamp(1.9rem, 7vw, 2.85rem); margin: 5px 0; }
.login-card > p:not(.eyebrow) { color: var(--muted); }
.login-card form { margin-top: 19px; display: grid; gap: 7px; }
.login-card form button { margin-top: 6px; }
label { display: grid; gap: 5px; color: #253e35; font-size: .89rem; font-weight: 650; }
input:not([type="checkbox"]), select { border: 1px solid #cfdcd4; border-radius: 8px; color: var(--ink); background: white; padding: 9px 10px; min-height: 41px; width: 100%; font-size: 1rem; }
.filter select { min-width: 155px; }
input::placeholder { color: #71837d; }
dialog { width: min(620px, calc(100% - 22px)); max-height: calc(100dvh - 22px); padding: 0; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 15px 50px #0c281947; }
dialog::backdrop { background: #11251f95; }
.dialog-body { padding: 22px; display: grid; gap: 13px; }
.dialog-header, .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dialog-header h2 { margin-top: 3px; font-size: 1.55rem; }
.dialog-footer { justify-content: end; }
.icon-button { font-size: 1.5rem; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); background: white; }
.icon-button:hover { background: #f2f7f4; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drop { text-align: center; border: 1px dashed #87ac9a; border-radius: 12px; color: var(--accent-dark); padding: 14px 10px; background: #f4faf6; justify-items: center; cursor: pointer; overflow-wrap: anywhere; }
.drop:hover, .drop.drag { background: #e4f6eb; }
.drop span:not(.upload-icon) { color: var(--muted); font-weight: 500; font-size: .81rem; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.drop:focus-within { outline: 3px solid #47a992; outline-offset: 3px; }
.upload-icon { font-size: 1.35rem; line-height: 1; padding: 4px; }
.record-pane { padding: 11px; border-radius: 12px; border: 1px solid var(--line); background: #f5faf7; display: grid; gap: 10px; }
.record-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.record-actions span { font-variant-numeric: tabular-nums; }
.record { background: #934234; color: white; }
.record-pane audio { width: 100%; height: 43px; }
.deal-field { display: block; }
.deal-field span { color: var(--muted); font-weight: 500; }
.deal-field input { margin-top: 5px; }
.check { display: flex; align-items: center; gap: 7px; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; }
.notice { color: #8a321e; background: #f9eae5; padding: 8px 10px; border-radius: 8px; font-size: .91rem; }
.toast { position: fixed; bottom: 18px; right: 15px; border-radius: 9px; padding: 10px 14px; color: white; background: #813e30; max-width: min(410px, 90vw); z-index: 5; }
.admin-panel { margin-bottom: 16px; }
.admin-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 12px clamp(14px, 3vw, 24px); }
.admin-row > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.admin-row small { display: block; margin-top: 3px; color: var(--muted); }
.admin-row .button { min-height: 37px; }
.admin-empty, .admin-enrollment, .admin-list-footer:not(:empty) { padding: 12px clamp(14px, 3vw, 24px); }
.admin-enrollment { border-top: 1px solid var(--line); }
.admin-enrollment label { margin: 8px 0 4px; }
.admin-enrollment input { width: min(100%, 27rem); }
.admin-enrollment .admin-actions { align-items: end; }
.admin-notice { margin: 0 16px 12px; }
.button.danger { color: #8a321e; background: #f9eae5; border-color: #eccfc5; margin-right: auto; }
.button.danger:hover { background: #f3ddd6; }
@media (max-width: 920px) {
  .shell { grid-template-columns: 187px minmax(0, 1fr); }
  .sidebar { padding-inline: 10px; }
  .history-caption, .history-row { gap: 8px; padding-inline: 15px; }
  .page { padding-inline: 3.4%; }
}
@media (max-width: 680px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; padding: 10px 12px; flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
  .sidebar nav { display: flex; gap: 2px; flex-wrap: wrap; }
  .sidebar .brand { padding: 0; margin-right: auto; gap: 7px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand strong { font-size: .91rem; }
  .brand small { display: none; }
  .nav-button { font-size: .8rem; min-height: 35px; padding: 7px 8px; }
  .nav-button span, .environment { display: none; }
  .sidebar-foot { margin: 0; }
  .topbar { min-height: 55px; padding: 7px 15px; }
  .topbar .button { min-height: 38px; }
  .page { padding: 20px 13px 32px; }
  .page-intro { margin-bottom: 17px; flex-wrap: wrap; }
  .demo-hero { padding: 18px; margin-bottom: 16px; min-height: 0; }
  .hero-wave { display: none; }
  .panel-header { padding: 15px; flex-wrap: wrap; }
  .metrics { gap: 7px; margin-bottom: 15px; }
  .metric { padding: 11px 7px; gap: 4px; }
  .metric span { font-size: .73rem; }
  .metric strong { font-size: 1.4rem; }
  .metric small { display: none; }
  .history-caption { display: none; }
  .history-row { grid-template-columns: minmax(120px, 1.3fr) minmax(66px, .9fr) 24px; padding: 11px; }
  .history-row .employee-cell { grid-column: 1; grid-row: 2; padding-left: 2px; font-size: .79rem; }
  .history-row .item-icon { display: none; }
  .history-row .history-score { text-align: right; }
  .history-row .status { font-size: .67rem; }
  .highlights { grid-template-columns: 1fr; }
  .score-panel { padding: 15px; gap: 13px; }
  .score-panel h2 { font-size: 1.22rem; }
  .score-ring { width: 77px; flex-basis: 77px; }
  .score-ring div { width: 65px; height: 65px; }
  .score-ring strong { font-size: 1.55rem; }
  .score-ring span { font-size: .68rem; }
  .audio-panel { padding: 10px; flex-wrap: wrap; }
  .audio-panel audio { width: 100%; margin-left: 0; }
  .stage summary, .stage-body, .dialogue, .rubric article { padding-inline: 15px; }
  .stage summary { gap: 8px; }
  .timeline { margin: 0 14px 14px; }
  .dialog-body { padding: 13px; gap: 11px; }
  .two { grid-template-columns: 1fr; }
  .admin-row .status { display: none; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
