:root {
  color-scheme: light;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: #20251e;
  background: #f7f8f3;
  font-synthesis: none;
  --ink: #20251e;
  --muted: #6b7267;
  --green: #285a35;
  --line: #e1e5da;
  --paper: #fff;
  --soft-green: #eaf1e5;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #88ad71; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
h2 { font-size: 1.45rem; line-height: 1.3; }
h3 { font-size: 1.05rem; }
p { line-height: 1.6; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 100px; padding: 26px 5.5%; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.7rem; font-weight: 600; letter-spacing: -.065em; white-space: nowrap; }
.brand-by { color: var(--muted); font-size: .75rem; font-weight: 400; letter-spacing: -.01em; margin-left: 8px; }
.brand-mark { display: flex; align-items: center; justify-content: center; gap: 3px; width: 35px; height: 35px; border-radius: 50%; background: var(--ink); }
.brand-mark i { width: 3px; height: 10px; border-radius: 3px; background: #d6edbd; }
.brand-mark i:nth-child(2) { height: 17px; }
.header-note { color: var(--muted); font-size: .8rem; }
.account { display: flex; align-items: center; gap: 20px; font-size: .8rem; color: var(--muted); }
.text-button { border: 0; background: none; padding: 8px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-size: .8rem; }
.loading-page { display: grid; justify-items: center; gap: 15px; padding: 100px 24px; color: var(--muted); }
.spinner { width: 25px; height: 25px; border: 2px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: .66rem; font-weight: 600; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.page { max-width: 1400px; margin: 0 auto; padding: 54px 5.5% 90px; }
.page-heading { margin-bottom: 34px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.page-heading .eyebrow { margin-bottom: 14px; }
.page-heading p:last-child { margin-top: 13px; color: var(--muted); font-size: .9rem; }
.dashboard-grid { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); align-items: start; gap: 26px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card-heading { margin-bottom: 24px; }
.card-heading p { margin-top: 7px; font-size: .8rem; color: var(--muted); }
.form-field { display: grid; gap: 8px; margin-bottom: 19px; }
.form-field label { font-size: .76rem; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; margin-left: 5px; }
input:not([type=checkbox]), select, textarea { width: 100%; border: 1px solid #dfe3d8; background: #fff; border-radius: 9px; padding: 12px 13px; font-size: .84rem; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #989e92; }
textarea { resize: vertical; min-height: 135px; line-height: 1.5; }
select { text-overflow: ellipsis; }
.helper { font-size: .72rem; line-height: 1.5; color: var(--muted); }
.button { border: 1px solid transparent; padding: 13px 20px; border-radius: 10px; font-size: .83rem; font-weight: 500; display: inline-flex; justify-content: center; align-items: center; gap: 10px; text-decoration: none; min-height: 46px; transition: background .15s, transform .15s; }
.button:hover:enabled { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover:enabled { background: #3a4236; }
.button-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.button-secondary:hover:enabled { background: #f4f6ef; }
.button-green { background: var(--green); color: #fff; }
.button-danger { background: #9e3d35; color: #fff; }
.button-full { width: 100%; }
.button-small { min-height: 36px; padding: 8px 12px; font-size: .73rem; border-radius: 8px; }
.button svg { width: 17px; height: 17px; flex: 0 0 auto; }
.error { color: #96392e; font-size: .82rem; padding: 12px 14px; border-radius: 9px; background: #fff3ed; border: 1px solid #f1d6ca; margin: 16px 0; line-height: 1.5; }
.notice { background: var(--soft-green); padding: 16px; border-radius: 11px; font-size: .8rem; line-height: 1.5; margin: 20px 0 0; }
.notice p { margin-bottom: 10px; }
.link-row { display: flex; gap: 8px; align-items: center; }
.link-row input { min-width: 0; font-size: .75rem; background: #fff; }
.calls-card { padding: 0; overflow: hidden; }
.list-heading { padding: 27px 27px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 20px; background: #f0f3eb; color: var(--muted); font-size: .7rem; margin-left: 9px; vertical-align: middle; }
.call-list { list-style: none; padding: 0; margin: 0; }
.call-row { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; column-gap: 13px; align-items: center; padding: 22px 27px; border-top: 1px solid var(--line); }
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #f0f2eb; color: #526248; font-size: .76rem; font-weight: 500; }
.call-name { font-size: .87rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-role { font-size: .76rem; color: var(--muted); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-meta { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.call-date { color: #919789; font-size: .65rem; }
.badge { display: inline-block; color: #5b6652; background: #f0f3eb; font-size: .62rem; padding: 4px 7px; border-radius: 5px; text-transform: capitalize; letter-spacing: .01em; line-height: 1.1; }
.badge[data-status=completed] { color: #2d633b; background: #e7f1e2; }
.badge[data-status=failed], .badge[data-status=revoked], .badge[data-status=expired] { color: #8b6154; background: #f8eee8; }
.badge[data-status=in_progress], .badge[data-status=active] { color: #345b74; background: #e8f1f5; }
.empty-state { text-align: center; padding: 65px 24px; border-top: 1px solid var(--line); }
.empty-state p:first-child { font-size: 1rem; margin-bottom: 8px; }
.empty-state p:last-child { font-size: .8rem; color: var(--muted); max-width: 250px; margin: 0 auto; }
.login-page { max-width: 470px; margin: 90px auto; padding: 0 24px; text-align: center; }
.login-page h1 { font-size: 2.7rem; margin: 18px 0; }
.login-page .button { margin-top: 32px; }
.login-footnote { font-size: .7rem; color: var(--muted); margin-top: 17px; }
.google-mark { width: 18px; height: 18px; font-weight: 600; font-size: 17px; background: #fff; color: #4a70be; border-radius: 50%; display: grid; place-items: center; }
dialog { width: min(710px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 21px; padding: 28px; color: var(--ink); box-shadow: 0 28px 90px #20251e26; }
dialog::backdrop { background: #20251e66; backdrop-filter: blur(3px); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.icon-button { border: 1px solid var(--line); background: #fff; border-radius: 50%; width: 34px; height: 34px; font-size: 23px; line-height: 1; color: var(--muted); }
.detail-role { color: var(--muted); font-size: .86rem; margin-top: 7px; }
.detail-facts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; font-size: .74rem; color: var(--muted); }
.detail-section { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 24px; }
.detail-section h3 { margin-bottom: 14px; }
.detail-section audio { width: 100%; margin-top: 3px; }
.detail-actions { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-top: 14px; }
.transcript { display: grid; gap: 20px; }
.transcript-line { display: grid; gap: 5px; }
.transcript-speaker { font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.transcript-line p { font-size: .86rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); padding: 12px 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; z-index: 10; box-shadow: 0 6px 25px #20251e1a; }
.candidate-page { max-width: 630px; padding: 55px 24px 65px; margin: 0 auto; text-align: center; }
.candidate-page h1 { margin: 19px auto 20px; max-width: 550px; font-size: clamp(2.3rem, 6vw, 3.4rem); }
.intro-description { color: var(--muted); font-size: .91rem; max-width: 400px; margin: 0 auto 30px; }
.candidate-card { padding: 32px; text-align: left; }
.opportunity { display: flex; gap: 15px; align-items: center; padding-bottom: 24px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.company-mark { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: #eff3e8; color: var(--green); font-size: 1.05rem; }
.opportunity h2 { font-size: 1.15rem; }
.opportunity p { font-size: .84rem; color: var(--muted); margin-top: 3px; }
.call-expectation { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; font-size: .78rem; color: var(--muted); }
.call-expectation span { display: inline-flex; gap: 7px; align-items: center; }
.call-expectation svg { width: 15px; height: 15px; }
.consent { display: flex; align-items: start; gap: 11px; margin: 0 0 22px; cursor: pointer; font-size: .78rem; color: #606a59; line-height: 1.6; }
input[type=checkbox] { appearance: none; width: 18px; height: 18px; border: 1px solid #bec8b6; border-radius: 5px; flex: 0 0 auto; margin: 3px 0 0; cursor: pointer; background: #fff; }
input[type=checkbox]:checked { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.private-note { font-size: .71rem; color: var(--muted); margin: 19px auto 0; line-height: 1.5; max-width: 360px; }
.call-page { padding-top: 34px; }
.call-page h1 { font-size: 1.5rem; margin: 12px 0 9px; }
.voice-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 35px 20px 25px; }
.voice-orb { width: 142px; height: 142px; border-radius: 50%; position: relative; display: flex; justify-content: center; align-items: center; background: radial-gradient(circle at 33% 28%, #e4f0c6 0, #b4cc8a 39%, #87aa62 68%, #537d47 100%); box-shadow: inset -10px -13px 25px #34563130, 0 14px 45px #7f9e5026; }
.voice-orb::before, .voice-orb::after { content: ""; position: absolute; inset: -15px; border: 1px solid #a4bc7f35; border-radius: 50%; }
.voice-orb::after { inset: -29px; border-color: #a4bc7f1c; }
.voice-orb[data-state=speaking] { animation: breathe 1.7s ease-in-out infinite; }
.voice-orb[data-state=connecting] { animation: breathe 3s ease-in-out infinite; }
.voice-orb[data-state=ended] { filter: saturate(.45); }
.orb-bars { display: flex; gap: 5px; align-items: center; }
.orb-bars i { width: 5px; height: 17px; border-radius: 5px; background: #fff9; }
.orb-bars i:nth-child(2) { height: 31px; }
.orb-bars i:nth-child(3) { height: 24px; }
.orb-bars i:nth-child(4) { height: 11px; }
.voice-orb[data-state=speaking] .orb-bars i { animation: bars .65s ease-in-out infinite alternate; }
.voice-orb[data-state=speaking] .orb-bars i:nth-child(2) { animation-delay: .2s; }
.voice-orb[data-state=speaking] .orb-bars i:nth-child(3) { animation-delay: .4s; }
@keyframes breathe { 50% { transform: scale(1.055); box-shadow: inset -10px -13px 25px #34563130, 0 14px 55px #7f9e5040; } }
@keyframes bars { to { transform: scaleY(.6); } }
.voice-status { margin-top: 44px; font-size: .86rem; }
.voice-timer { font-size: .77rem; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.call-controls { display: flex; gap: 14px; justify-content: center; padding: 17px 0 27px; }
.control-button { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; color: var(--muted); font-size: .7rem; min-width: 68px; }
.control-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #dfe5d5; background: #fff; border-radius: 50%; }
.control-icon svg { width: 19px; height: 19px; }
.control-button[aria-pressed=true] .control-icon { background: #e8ede1; color: var(--ink); }
.end-control .control-icon { background: #a64b3e; border-color: #a64b3e; color: #fff; }
.captions { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 21px 24px; max-height: 250px; overflow: auto; text-align: left; min-height: 108px; }
.captions .eyebrow { margin-bottom: 14px; }
.caption-line { margin-top: 13px; font-size: .84rem; line-height: 1.55; }
.caption-line strong { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 3px; font-weight: 500; }
.caption-placeholder { color: #949c8d; font-size: .81rem; }
.end-check { width: 75px; height: 75px; margin: 20px auto 30px; background: #e7f0de; color: var(--green); border-radius: 50%; display: grid; place-items: center; }
.end-check svg { width: 30px; height: 30px; }
.end-page { padding-top: 80px; }
.end-page .intro-description { margin-top: 20px; }
.browser-note { font-size: .76rem; color: var(--muted); margin-top: 15px; }
@media (max-width: 1000px) {
  .dashboard-grid { grid-template-columns: 350px minmax(0, 1fr); gap: 18px; }
  .call-row { padding: 20px; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; }
  .avatar { width: 30px; height: 30px; }
  .card { padding: 23px; }
  .calls-card { padding: 0; }
  .list-heading { padding: 23px 20px; }
}
@media (max-width: 780px) {
  .site-header { min-height: 80px; padding: 21px 24px; }
  .header-note { display: none; }
  .page { padding: 35px 24px 65px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .page-heading { margin-bottom: 28px; }
  .page-heading h1 { font-size: 2.2rem; }
  .account { gap: 12px; }
  .account span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
  .candidate-page { padding-top: 42px; }
}
@media (max-width: 440px) {
  .site-header { padding: 19px 19px; }
  .brand-by { font-size: .67rem; margin-left: 7px; }
  .brand { gap: 9px; font-size: 1.5rem; }
  .brand-mark { width: 31px; height: 31px; }
  .account span { display: none; }
  .page { padding-left: 18px; padding-right: 18px; }
  .candidate-page { padding-left: 18px; padding-right: 18px; }
  .candidate-card { padding: 25px 22px; }
  .call-expectation { gap: 13px; font-size: .73rem; }
  .candidate-page h1 { font-size: 2.45rem; }
  .call-page h1 { font-size: 1.3rem; }
  .call-row { padding: 20px 17px; }
  .call-date { font-size: .6rem; }
  .detail-actions { align-items: start; }
  dialog { padding: 23px 20px; }
  .voice-stage { padding-top: 32px; }
  .captions { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
