@font-face {
  font-family:system-fallback;
  src:local("PingFang SC");
}
:root {
  font-family:system-fallback,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
  color:#203a34;
  background:#f4f6f3;
  font-synthesis:none;
  --green:#176653;
  --green-dark:#0d4c3c;
  --muted:#62746d;
  --border:#dde5df;
  --red:#b63d41;
  --shadow:0 12px 40px #173c2e06;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input {
  font:inherit;
}
button,a,input,summary {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:not-allowed;
  opacity:.5;
}
a {
  color:inherit;
}
svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}
[hidden] {
  display:none!important;
}
:focus-visible {
  outline:3px solid #d69932;
  outline-offset:4px;
}
h1,h2,p {
  margin:0;
}
h1 {
  font-size:32px;
  line-height:1.45;
  letter-spacing:-.8px;
}
h2 {
  font-size:18px;
  line-height:1.55;
}
p {
  line-height:1.75;
}
.shell {
  max-width:1160px;
  margin:0 auto;
  padding:0 40px;
}
.topbar {
  height:102px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--border);
  gap:12px;
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.5px;
  font-size:18px;
}
.brand img {
  border-radius:12px;
}
.brand small {
  display:block;
  font-size:10px;
  color:var(--muted);
  letter-spacing:2px;
  margin-top:2px;
}
.account {
  display:flex;
  align-items:center;
  gap:16px;
}
.pill {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#4a665b;
  background:#edf2ed;
  font-size:12px;
  font-weight:600;
  border-radius:30px;
  padding:6px 12px;
  white-space:nowrap;
}
.text-button {
  color:var(--green);
  padding:10px 2px;
  min-height:44px;
  border:0;
  background:none;
  font-size:13px;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:4px;
}
.card {
  background:white;
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow:var(--shadow);
}
main {
  min-height:calc(100svh - 183px);
  padding:36px 0 44px;
}
.eyebrow {
  font-size:12px;
  letter-spacing:2px;
  color:var(--green);
  font-weight:700;
  margin-bottom:10px;
}
.muted {
  color:var(--muted);
  font-size:14px;
}
.lead {
  color:var(--muted);
  font-size:17px;
  margin-top:24px;
  line-height:1.9;
}
.notice {
  background:#fff4df;
  border:1px solid #e9d9b9;
  border-radius:14px;
  color:#72521d;
  font-size:14px;
  padding:16px 20px;
  margin-bottom:24px;
  overflow-wrap:anywhere;
}
.notice.error {
  background:#fff0ef;
  border-color:#efcfcc;
  color:#95383a;
}
.link-notice {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.loading {
  text-align:center;
  color:var(--muted);
  padding:80px 20px;
}
.login-layout {
  display:grid;
  grid-template-columns:1fr 420px;
  gap:80px;
  align-items:center;
  min-height:570px;
}
.introduction h1 {
  font-size:44px;
  line-height:1.55;
  letter-spacing:-1px;
}
.intro-note {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color:var(--muted);
  margin-top:40px;
  line-height:1.7;
}
.intro-note svg {
  color:var(--green);
}
.login-card {
  padding:32px;
}
.login-card>h2 {
  font-size:23px;
  margin-bottom:8px;
}
.role-picker {
  margin:26px 0 24px;
  padding:0;
  border:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.role-picker legend {
  font-size:13px;
  font-weight:600;
  margin-bottom:9px;
}
.role-picker label {
  position:relative;
  cursor:pointer;
}
.role-picker input {
  position:absolute;
  opacity:0;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  cursor:pointer;
}
.role-picker span {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  padding:15px 6px;
  border:1px solid var(--border);
  border-radius:12px;
  font-size:14px;
}
.role-picker small {
  display:block;
  width:100%;
  text-align:center;
  font-size:11px;
  color:var(--muted);
  font-weight:400;
}
.role-picker input:checked+span {
  border-color:var(--green);
  background:#eff7f1;
  box-shadow:0 0 0 1px var(--green);
  color:var(--green);
  font-weight:700;
}
.role-picker input:focus-visible+span {
  outline:3px solid #d69932;
  outline-offset:3px;
}
.field-label {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:8px;
}
input[type=password] {
  width:100%;
  padding:14px 13px;
  min-height:48px;
  border:1px solid #cbd6cd;
  background:#fcfdfb;
  border-radius:10px;
  color:#203a34;
  min-width:0;
}
input::placeholder {
  color:#7b8880;
  font-size:13px;
}
.field-help {
  font-size:11px;
  color:var(--muted);
  margin:8px 0 24px;
}
.button {
  min-height:50px;
  padding:13px 22px;
  border:1px solid transparent;
  border-radius:12px;
  font-size:14px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:background .15s,box-shadow .15s;
}
.button:hover:not(:disabled) {
  box-shadow:0 4px 12px #1b392215;
}
.primary {
  background:var(--green);
  color:white;
}
.primary:hover:not(:disabled) {
  background:var(--green-dark);
}
.secondary {
  background:white;
  border-color:#cddad1;
  color:var(--green);
}
.secondary[aria-pressed=true] {
  background:#e6f1e9;
  border-color:var(--green);
}
.danger {
  background:var(--red);
  color:white;
}
.danger:hover:not(:disabled) {
  background:#9d2d31;
}
.danger-soft {
  background:#fff1f0;
  color:#a63339;
  border-color:#edd0ce;
}
.full {
  width:100%;
}
.fine-print {
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
}
.login-card>.fine-print {
  margin-top:16px;
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:4px 0 28px;
}
.page-heading .eyebrow {
  margin-bottom:5px;
}
.connection-badge {
  font-size:12px;
  color:#72521d;
  background:#fff3db;
  border:1px solid #ecdfc6;
  border-radius:24px;
  padding:8px 13px;
  white-space:nowrap;
}
.connection-badge[data-online=true] {
  color:var(--green);
  background:#e9f2eb;
  border-color:#d4e7d8;
}
.connection-badge:before {
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
  margin-right:7px;
  vertical-align:2px;
}
.workspace-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 306px;
  gap:24px;
  align-items:start;
}
.call-card {
  padding:26px 32px 24px;
  min-height:560px;
  text-align:center;
  overflow:hidden;
}
.card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.mic-badge {
  font-size:11px;
  color:var(--muted);
}
.call-visual {
  position:relative;
  width:154px;
  height:154px;
  margin:34px auto 12px;
  display:grid;
  place-items:center;
}
.visual-ring {
  position:absolute;
  inset:0;
  border:1px solid #dce9df;
  border-radius:50%;
  box-shadow:0 0 0 12px #f6f9f4;
}
.avatar {
  width:112px;
  height:112px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--green);
  background:#ecf3ec;
}
.avatar svg {
  width:48px;
  height:48px;
  stroke-width:1.25;
}
.peer-label {
  font-size:13px;
  color:var(--muted);
  margin:22px 0 8px;
}
.call-copy h2 {
  font-size:27px;
  letter-spacing:-.5px;
}
.call-copy p {
  font-size:13px;
  color:var(--muted);
  max-width:400px;
  margin:12px auto 0;
  min-height:46px;
}
.call-clock {
  font-size:22px;
  letter-spacing:2px;
  font-variant-numeric:tabular-nums;
  margin-top:10px;
  color:var(--green);
}
.delivery {
  font-size:11px;
  color:var(--muted);
  margin:10px 0 0;
  min-height:20px;
}
.call-actions {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin:24px 0 16px;
  min-height:50px;
}
.call-actions>.primary {
  min-width:180px;
}
.audio-notice {
  background:#fff6e5;
  color:#755922;
  padding:12px;
  border-radius:12px;
  margin-top:16px;
}
.audio-notice p {
  font-size:13px;
  margin-bottom:8px;
}
.side-stack {
  display:grid;
  gap:18px;
}
.readiness,.push-card {
  padding:24px;
}
.readiness h2 {
  font-size:16px;
}
.check-list {
  list-style:none;
  margin:22px 0 0;
  padding:0;
  display:grid;
  gap:21px;
}
.check-list li {
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.check-list svg {
  color:#799487;
  width:19px;
  height:19px;
  margin-top:3px;
}
.check-list strong {
  font-size:13px;
  font-weight:600;
  display:block;
  margin-bottom:3px;
}
.check-list span {
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}
.section-label {
  display:flex;
  align-items:center;
  gap:8px;
}
.section-label svg {
  width:19px;
  height:19px;
  color:var(--green);
}
.section-label h2 {
  font-size:16px;
}
.push-card>p {
  font-size:12px;
  color:var(--muted);
  margin:13px 0;
}
.push-card .button {
  font-size:13px;
  min-height:44px;
  padding:10px;
}
.push-card details {
  border-top:1px solid var(--border);
  margin-top:18px;
  padding-top:15px;
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
}
.push-card summary {
  cursor:pointer;
  color:#3e5a4e;
  padding:5px 0;
}
.push-card ol {
  padding-left:18px;
}
.push-card li+li {
  margin-top:8px;
}
.tip-card {
  padding:8px 16px;
}
.tip-card h2 {
  font-size:13px;
  margin-bottom:8px;
}
.tip-card>p {
  font-size:12px;
  color:var(--muted);
}
.tip-card .fine-print {
  font-size:11px;
  margin-top:8px;
}
footer {
  border-top:1px solid var(--border);
  min-height:81px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:11px;
  color:#718178;
  padding-bottom:env(safe-area-inset-bottom);
}
.call-card[data-phase=ringing] .visual-ring,.call-card[data-phase=connecting] .visual-ring {
  animation:breathe 2.5s ease-in-out infinite;
}
.call-card[data-phase=connected] .avatar {
  background:var(--green);
  color:white;
}
.call-card[data-phase=ended] .avatar {
  background:#eef0ed;
  color:#84948a;
}
.call-card[data-phase=other] .avatar {
  background:#f1f0e9;
  color:#8a805b;
}
@keyframes breathe {
  50% {
    box-shadow:0 0 0 16px #e8f3e9;
    opacity:.6;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
}
@media(max-width:900px) {
  .shell {
    padding:0 28px;
  }
  .login-layout {
    gap:34px;
    grid-template-columns:1fr 380px;
  }
  .introduction h1 {
    font-size:34px;
  }
  .lead {
    font-size:15px;
  }
  .workspace-grid {
    grid-template-columns:minmax(0,1fr) 276px;
    gap:18px;
  }
  .call-card {
    padding:24px;
  }
  .readiness,.push-card {
    padding:20px;
  }
  .page-heading h1 {
    font-size:28px;
  }
  .card-top {
    flex-wrap:wrap;
  }
  .mic-badge {
    font-size:10px;
  }
}
@media(max-width:700px) {
  .shell {
    padding:0 20px;
  }
  .topbar {
    height:82px;
  }
  .brand {
    font-size:16px;
    gap:9px;
  }
  .brand img {
    width:36px;
    height:36px;
  }
  .brand small {
    font-size:9px;
  }
  .account {
    gap:11px;
  }
  .account .pill {
    font-size:10px;
    padding:6px 9px;
  }
  main {
    padding:25px 0 32px;
    min-height:calc(100svh - 158px);
  }
  .login-layout {
    display:flex;
    flex-direction:column;
    gap:28px;
    min-height:0;
    align-items:stretch;
  }
  .introduction h1 {
    font-size:30px;
    line-height:1.4;
  }
  .lead {
    font-size:13px;
    margin-top:14px;
  }
  .lead br {
    display:none;
  }
  .intro-note {
    margin-top:15px;
    font-size:10px;
    gap:7px;
  }
  .intro-note svg {
    width:17px;
    height:17px;
  }
  .login-card {
    padding:24px;
  }
  .login-card>h2 {
    font-size:21px;
  }
  .eyebrow {
    font-size:11px;
  }
  .workspace-grid {
    grid-template-columns:1fr;
    gap:20px;
  }
  .page-heading {
    align-items:flex-start;
    gap:12px;
    flex-direction:column;
    margin:0 0 20px;
  }
  .page-heading h1 {
    font-size:26px;
  }
  .connection-badge {
    font-size:11px;
    padding:6px 10px;
  }
  .call-card {
    padding:20px;
    min-height:485px;
    border-radius:20px;
  }
  .card-top .pill {
    font-size:10px;
    padding:6px 9px;
  }
  .call-visual {
    margin-top:28px;
    width:132px;
    height:132px;
  }
  .avatar {
    width:98px;
    height:98px;
  }
  .avatar svg {
    width:42px;
    height:42px;
  }
  .peer-label {
    margin-top:18px;
  }
  .call-copy h2 {
    font-size:25px;
  }
  .call-copy p {
    font-size:12px;
    min-height:42px;
  }
  .call-actions {
    gap:10px;
    margin-top:21px;
  }
  .call-actions>.primary {
    min-width:145px;
  }
  .button {
    padding:12px 18px;
    font-size:14px;
  }
  .call-actions .button {
    flex:1 1 auto;
  }
  .call-actions .button:only-child {
    flex:0 1 230px;
  }
  .call-clock {
    font-size:20px;
  }
  .readiness,.push-card {
    padding:22px;
  }
  .check-list {
    gap:16px;
  }
  .side-stack {
    gap:16px;
  }
  .tip-card {
    padding:4px 8px;
  }
  .notice {
    padding:14px 16px;
    font-size:12px;
    margin-bottom:20px;
  }
  .link-notice {
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
  footer {
    min-height:76px;
    flex-direction:column;
    justify-content:center;
    gap:7px;
    font-size:10px;
    text-align:center;
    padding:16px 0 calc(16px + env(safe-area-inset-bottom));
  }
}
