:root {
  --paper: #f5f3ed;
  --white: #fffefa;
  --ink: #272d28;
  --muted: #687268;
  --line: #dedfd5;
  --orange: #c9562f;
  --orange-pale: #fae7dd;
  --green: #3d6551;
  --green-pale: #e3ece2;
  --radius: 16px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #eaa672;
  outline-offset: 3px;
}
h1,
h2,
h3,
.brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 12px;
}
h2 {
  font-size: 25px;
  margin: 0 0 18px;
}
h3 {
  font-size: 20px;
  margin: 0 0 8px;
}
p {
  line-height: 1.55;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  background: #424b40;
}
.button.orange {
  background: var(--orange);
}
.button.orange:hover {
  background: #ad4421;
}
.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.button.ghost {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 8px 4px;
}
.button.danger {
  color: #a73924;
  background: #f9e6df;
}
.button.small {
  padding: 8px 12px;
  font-size: 13px;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: #eeeee5;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  text-decoration: none;
  font-size: 30px;
  display: flex;
  gap: 11px;
  align-items: center;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border: 2px solid var(--orange);
  border-radius: 10px;
  position: relative;
  display: inline-block;
  transform: rotate(-7deg);
}
.brand-mark:before,
.brand-mark:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 5px;
  top: 9px;
  border-radius: 3px;
  background: var(--orange);
}
.brand-mark:before {
  left: 6px;
}
.brand-mark:after {
  right: 6px;
}
.nav {
  display: grid;
  gap: 7px;
}
.nav button {
  font-weight: 500;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 13px 15px;
  border-radius: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav button.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px #23271908;
}
.nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.account {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 8px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Bricolage Grotesque";
  background: #d9e2d3;
  color: #3f5d41;
  font-size: 15px;
}
.account-top {
  display: flex;
  gap: 10px;
  align-items: center;
}
.account-name {
  font-size: 14px;
  font-weight: 600;
}
.main {
  padding: 48px clamp(24px, 5vw, 72px) 60px;
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
}
.topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 38px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
}
.topline p {
  margin: 0;
  color: var(--muted);
  max-width: 530px;
}
.live-banner {
  padding: 24px 28px;
  background: var(--green-pale);
  border: 1px solid #cbdac7;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.live-banner h2 {
  margin: 7px 0 5px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.status:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ba295;
}
.status.live {
  color: var(--green);
}
.status.live:before {
  background: #3b8058;
  box-shadow: 0 0 0 3px #3b805815;
}
.status.joining,
.status.preparing {
  color: #9b651c;
}
.status.joining:before,
.status.preparing:before {
  background: #cb983c;
}
.status.failed {
  color: #a43d29;
}
.status.failed:before {
  background: #c4563c;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin: 30px 0 15px;
}
.section-head h2 {
  margin: 0;
}
.table-wrap {
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 21px 22px;
  border-bottom: 1px solid #e9e9e1;
  font-size: 14px;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.meeting-title {
  font-weight: 600;
  margin-bottom: 5px;
}
.row-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.link-button {
  color: var(--orange);
  background: none;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 0;
}
.empty {
  padding: 45px 30px;
  text-align: center;
}
.empty h3 {
  margin-bottom: 8px;
}
.empty p {
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 20px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-height: 235px;
}
.profile-icon {
  font-size: 25px;
  margin-bottom: 28px;
}
.profile-card p {
  font-size: 13px;
  overflow-wrap: anywhere;
  color: var(--muted);
  margin: 0 0 22px;
}
.profile-card .card-foot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 32px;
  align-items: start;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.panel + .panel {
  margin-top: 24px;
}
.section {
  padding-bottom: 30px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section:last-child {
  border-bottom: 0;
  padding: 0;
  margin: 0;
}
.section-title {
  font-family: "Bricolage Grotesque";
  font-size: 21px;
  letter-spacing: -0.025em;
  margin-bottom: 5px;
}
.section-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 21px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
}
.field .hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #d4d8cd;
  background: #fffefa;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  line-height: 1.5;
}
.field textarea {
  resize: vertical;
  min-height: 105px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 26px;
}
.option-row {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}
.option {
  flex: 1;
  padding: 17px 19px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 11px;
  text-align: left;
  color: var(--ink);
}
.option.active {
  border-color: var(--orange);
  background: #fff7f0;
  box-shadow: inset 0 0 0 1px var(--orange);
}
.option strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}
.option span {
  font-size: 12px;
  color: var(--muted);
}
.aside-note {
  background: #e9ebe0;
  padding: 28px;
  border-radius: var(--radius);
}
.aside-note p {
  font-size: 14px;
  color: #5c6859;
  margin: 12px 0;
}
.aside-note ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 17px;
  font-size: 13px;
}
.aside-note li {
  display: flex;
  gap: 9px;
}
.aside-note li:before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}
.error {
  padding: 12px 15px;
  border-radius: 8px;
  background: #fbe6df;
  color: #95351e;
  font-size: 13px;
  margin: 12px 0;
  line-height: 1.5;
}
.notice {
  padding: 15px 18px;
  background: #f0eee5;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-story {
  background: #e9ecdf;
  padding: 55px clamp(38px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-copy {
  max-width: 460px;
  margin: 80px 0;
}
.login-copy h1 {
  font-size: clamp(40px, 4.3vw, 62px);
  font-weight: 500;
  line-height: 1.03;
  margin-bottom: 26px;
}
.login-copy p {
  font-size: 17px;
  color: #65715e;
  max-width: 370px;
}
.login-art {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 35px 0 0;
}
.login-art i {
  display: block;
  width: 7px;
  border-radius: 6px;
  background: #91a582;
  height: 24px;
}
.login-art i:nth-child(3n) {
  height: 45px;
  background: #6e8960;
}
.login-art i:nth-child(4n) {
  height: 64px;
  background: #c96c43;
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 28px;
}
.login-inner {
  width: 100%;
  max-width: 365px;
}
.login-inner h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.login-inner > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 35px;
}
.login-inner .button {
  width: 100%;
  margin-top: 10px;
}
.login-footer {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb {
  font-size: 13px;
  margin-bottom: 26px;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 28px 0;
}
.fact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.fact-value {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.logs {
  background: #272d28;
  color: #d4dfce;
  border-radius: 12px;
  padding: 20px;
  font:
    12px/1.8 "DM Sans",
    sans-serif;
  max-height: 360px;
  overflow: auto;
  white-space: pre-wrap;
}
.desktop {
  height: min(68vw, 720px);
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #252a26;
}
.desktop iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.connection-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
.pill {
  background: var(--orange-pale);
  color: #a14f30;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
}
.mobile-brand {
  display: none;
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 15px;
  }
  .main {
    padding: 36px 25px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .aside-note {
    display: none;
  }
  .login-story {
    padding: 40px;
  }
  .login-copy h1 {
    font-size: 43px;
  }
  .table-wrap td,
  .table-wrap th {
    padding: 16px;
  }
}
@media (max-width: 650px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 15px;
  }
  .brand {
    font-size: 24px;
  }
  .nav {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .nav button {
    padding: 9px 11px;
    font-size: 13px;
    white-space: nowrap;
  }
  .nav svg {
    display: none;
  }
  .account {
    display: none;
  }
  .main {
    padding: 30px 18px;
  }
  .topline {
    display: block;
    margin-bottom: 28px;
  }
  .topline .button {
    margin-top: 20px;
  }
  .login {
    display: block;
  }
  .login-story {
    padding: 25px;
  }
  .login-copy {
    margin: 40px 0 20px;
  }
  .login-copy h1 {
    font-size: 40px;
    max-width: 360px;
  }
  .login-copy p,
  .login-art,
  .login-footer {
    display: none;
  }
  .login-form {
    padding: 38px 25px;
  }
  .panel {
    padding: 22px;
  }
  .field-row,
  .facts {
    grid-template-columns: 1fr;
  }
  .live-banner,
  .detail-head {
    flex-direction: column;
  }
  .row-actions {
    flex-wrap: wrap;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .desktop {
    min-height: 480px;
  }
  .option-row {
    gap: 8px;
  }
  .option {
    padding: 14px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
