:root {
  color-scheme: light;
  --ink: #2e2735;
  --muted: #6a6470;
  --paper: #faf9f6;
  --line: #e4e0e5;
  --plum: #45334f;
  --lilac: #eadcf2;
  --orange: #ff984c;
  --peach: #ffe4cf;
  --white: #fff;
  --radius: 18px;
  font-family:
    Inter, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}
button:disabled,
.submit-round[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea,
a {
  outline-offset: 4px;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #9667ac;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(32px, 3.7vw, 56px);
  line-height: 1.17;
  letter-spacing: -0.072em;
  font-weight: 760;
}
h2 {
  font-size: 21px;
  line-height: 1.34;
  letter-spacing: -0.055em;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.04em;
}
p {
  line-height: 1.66;
  overflow-wrap: anywhere;
}
small {
  color: var(--muted);
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 10px;
  background: white;
  z-index: 30;
}
[hidden] {
  display: none !important;
}
.ico {
  width: 19px;
  height: 19px;
  flex: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand b {
  font-family: "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2.6px;
}
.brand b span {
  color: #d67124;
}
.welcome-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1350px;
  margin: auto;
  padding: 28px clamp(24px, 5vw, 78px) 18px;
}
.welcome-product {
  color: #63596b;
  font-size: 13px;
  font-weight: 600;
}
.welcome {
  max-width: 1350px;
  margin: 0 auto;
  padding: 8px clamp(24px, 5vw, 78px) 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  gap: clamp(35px, 7vw, 110px);
  align-items: center;
  min-height: min(780px, calc(100svh - 105px));
}
.art-panel {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #cfabdf;
  border-radius: 32px;
  min-height: 530px;
  height: clamp(540px, 76vh, 730px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.art-title {
  position: relative;
  z-index: 1;
  padding: clamp(27px, 4vw, 58px);
}
.art-title h1 {
  margin: 20px 0 0;
  font-size: clamp(42px, 4.5vw, 68px);
  letter-spacing: -0.08em;
}
.mascot-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #493454;
}
.mascot-label i {
  width: 8px;
  height: 8px;
  background: #f9953f;
  border-radius: 100%;
  box-shadow: 0 0 0 3px #ffffff50;
}
.welcome-art {
  position: absolute;
  z-index: -1;
  bottom: 5%;
  width: 100%;
  height: 63%;
  object-fit: cover;
  object-position: center 50%;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 10%,
    #000 85%,
    transparent
  );
}
.art-foot {
  padding: 18px 30px 27px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #4c3758;
}
.welcome-form {
  display: grid;
  align-items: center;
}
.welcome-form-inner {
  width: 100%;
  max-width: 420px;
}
.welcome-form h2 {
  font-size: clamp(30px, 3.05vw, 45px);
  letter-spacing: -0.073em;
  line-height: 1.24;
}
.sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
  word-break: keep-all;
}
.switch {
  display: flex;
  background: #eeeaf0;
  border-radius: 13px;
  padding: 4px;
  gap: 3px;
}
.switch button {
  border-radius: 10px;
  flex: 1;
  min-height: 40px;
  font-size: 14px;
  font-weight: 630;
  color: #736a78;
}
.switch button[aria-pressed="true"] {
  background: white;
  color: var(--plum);
  box-shadow: 0 1px 4px #34223d12;
}
.auth-switch {
  margin: 28px 0 22px;
}
.stack {
  display: grid;
  gap: 17px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dcd6df;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 13px 15px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 450;
}
input::placeholder,
textarea::placeholder {
  color: #807986;
  opacity: 1;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  accent-color: var(--plum);
}
.primary,
.quiet,
.text-button,
.icon-btn,
.submit-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.primary,
.quiet {
  font-weight: 660;
  border-radius: 12px;
  min-height: 44px;
  padding: 11px 17px;
  font-size: 14px;
  line-height: 1.35;
}
.primary {
  background: var(--plum);
  color: white;
}
.primary:hover,
.submit-round:hover {
  background: #5b4168;
}
.quiet {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.quiet:hover,
.examples button:hover,
.icon-btn:hover {
  background: #f4eef6;
}
.whole {
  width: 100%;
  min-height: 49px;
}
.auth-switch + .stack .whole {
  margin-top: 4px;
}
.text-button {
  padding: 4px 0;
  color: #675070;
  font-size: 14px;
  font-weight: 630;
  min-height: 34px;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.restore {
  margin-top: 16px;
  color: #655b6b;
  font-size: 13px;
}
.restore .ico {
  width: 16px;
}
.icon-btn {
  height: 38px;
  width: 38px;
  border-radius: 100%;
}
.boot {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
}
.error {
  padding: 9px 12px;
  color: #8c2a24;
  background: #fff0eb;
  border-radius: 10px;
  font-size: 14px;
}
.workspace {
  display: flex;
  min-height: 100svh;
  background: #fff;
}
.sidebar {
  width: 232px;
  flex: none;
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #f8f7f5;
  padding: 33px 18px 21px;
}
.sidebar > .brand {
  margin: 0 12px 42px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  padding: 10px 14px;
  color: #615967;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
}
.nav-link:hover {
  background: #efedf0;
}
.nav-link.active {
  background: #ebe1f0;
  color: var(--plum);
}
.nav-count {
  margin-left: auto;
  background: #574163;
  color: white;
  padding: 1px 6px;
  border-radius: 20px;
  line-height: 17px;
  font-size: 11px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding: 13px 10px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: #46324e;
  font-weight: 700;
}
.personal,
.peach {
  background: var(--peach);
}
.lilac {
  background: var(--lilac);
}
.profile span:last-child,
.row-text {
  min-width: 0;
}
.profile strong,
.profile small,
.handoff-meta small {
  display: block;
  overflow-wrap: anywhere;
}
.profile strong {
  font-size: 14px;
}
.profile small {
  font-size: 12px;
  margin-top: 3px;
}
.main-wrap {
  flex: 1;
  min-width: 0;
}
.workspace-bar {
  min-height: 73px;
  border-bottom: 1px solid #edeaee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(26px, 5vw, 74px);
  gap: 10px;
}
.workspace-bar > span {
  min-width: 0;
}
.workspace-bar .brand,
.mobile-name,
.mobile-menu {
  display: none;
}
.desktop-path {
  font-size: 14px;
  color: #5f5865;
  overflow-wrap: anywhere;
}
.desktop-path span {
  color: #b3aab6;
  margin: 0 10px;
}
.compact {
  font-size: 13px;
  min-height: 37px;
  padding: 8px 12px;
  border-radius: 10px;
}
.compact .ico {
  width: 16px;
  height: 16px;
}
.main-content {
  max-width: 1000px;
  margin: auto;
  padding: clamp(23px, 3.5vw, 54px) clamp(24px, 4.7vw, 70px) 70px;
}
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(245px, 22vw, 335px);
  border-radius: 26px;
  background: #e7d6ee;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 28px clamp(20px, 3.2vw, 45px);
  max-width: 67%;
  pointer-events: none;
}
.hero-copy h1 {
  font-size: clamp(29px, 3.4vw, 50px);
  margin: 13px 0;
  line-height: 1.28;
}
.hero-copy p {
  color: #5b4b63;
  font-size: 14px;
  word-break: keep-all;
}
.home-hero > img {
  width: 51%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 22%);
}
.composer {
  border: 1.5px solid #d7cddd;
  border-radius: 21px;
  padding: 14px 15px 12px;
  background: white;
  margin-top: 22px;
  box-shadow: 0 4px 16px #34243d09;
}
.composer:focus-within {
  border-color: #987aa8;
}
.composer textarea {
  border: 0;
  border-radius: 0;
  resize: vertical;
  max-height: 35vh;
  min-height: 62px;
  padding: 4px 4px 8px;
  font-size: 16px;
  outline: none;
}
.composer textarea:focus-visible {
  outline: none;
}
.composer-tools,
.section-head,
.page-heading,
.dialog-head,
.handoff-meta,
.team-banner,
.card-actions,
.examples,
.mode-switch,
.account-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}
.composer-tools,
.section-head,
.page-heading,
.dialog-head {
  justify-content: space-between;
}
.mode-switch {
  gap: 3px;
}
.mode-switch button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 9px;
  color: #726879;
}
.mode-switch button[aria-pressed="true"] {
  background: #f1eaf4;
  color: #4c3758;
}
.mode-switch .ico,
.examples .ico {
  width: 15px;
  height: 15px;
}
.submit-round {
  background: var(--plum);
  color: white;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 11px;
  padding: 0 9px;
}
.composer .error {
  margin-top: 7px;
}
.examples,
.card-actions {
  flex-wrap: wrap;
}
.examples {
  margin-top: 13px;
  gap: 7px;
}
.examples button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  min-height: 33px;
  border: 1px solid var(--line);
  background: white;
  color: #665b6c;
  border-radius: 20px;
  padding: 5px 11px;
}
.section-gap {
  margin-top: 33px;
}
.section-head {
  min-height: 35px;
  margin-bottom: 8px;
}
.section-gap > h2 {
  margin-bottom: 12px;
}
.empty-line {
  color: #746d77;
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.record-row {
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 3px;
}
.record-row[href]:hover {
  background: #faf8fb;
}
.record-row > .ico {
  color: #8c818e;
  width: 16px;
}
.row-icon {
  height: 39px;
  width: 39px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.row-text {
  flex: 1;
}
.row-text b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}
.row-text small,
.item-list small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.page-heading {
  margin: 4px 0 27px;
  gap: 16px;
  align-items: flex-start;
}
.page-heading h1 {
  font-size: clamp(31px, 3.5vw, 46px);
}
.page-heading .compact {
  white-space: nowrap;
}
.empty-state {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 14px;
  gap: 10px;
  text-align: center;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
  word-break: keep-all;
}
.empty-state .quiet {
  margin-top: 5px;
}
.inbox-switch {
  display: inline-flex;
  margin-bottom: 20px;
}
.inbox-switch button {
  padding: 7px 17px;
  min-height: 34px;
  white-space: nowrap;
}
.card-list {
  display: grid;
  gap: 14px;
}
.handoff-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: #fff;
}
.section-gap > .handoff-card + .handoff-card {
  margin-top: 12px;
}
.handoff-meta strong {
  font-size: 14px;
}
.handoff-meta small {
  font-size: 12px;
  margin-top: 3px;
}
.handoff-meta > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.state-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  padding: 4px 8px;
  line-height: 1.3;
  font-size: 11px;
  font-weight: 650;
  background: #e9f0e9;
  color: #466047;
  white-space: nowrap;
}
.state-chip.pending {
  background: #fff0db;
  color: #785223;
}
.handoff-meta .state-chip {
  margin-left: auto;
}
.message-text,
.summary,
.reply p,
.receipt p,
.request-quote,
.user-msg {
  white-space: pre-wrap;
  word-break: break-word;
}
.message-text {
  margin-top: 14px;
  font-size: 15px;
}
.receipt,
.reply {
  margin-top: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f1f7;
}
.reply {
  background: #fff3e9;
}
.receipt strong,
.reply strong,
.request-quote b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.receipt .ico {
  width: 14px;
  height: 14px;
}
.receipt p,
.reply p {
  margin-top: 4px;
  font-size: 14px;
}
.card-actions:not(:empty) {
  margin-top: 14px;
}
.team-banner {
  padding: 20px;
  background: #f4eef6;
  border-radius: 18px;
}
.team-banner > div {
  flex: 1;
  overflow-wrap: anywhere;
}
.team-banner p {
  font-size: 13px;
  color: var(--muted);
}
.account-foot {
  margin-top: 30px;
  justify-content: flex-end;
}
.back {
  margin-bottom: 10px;
  font-size: 13px;
}
.back .ico {
  width: 16px;
}
.user-msg {
  margin: 18px 0 20px auto;
  max-width: 87%;
  width: fit-content;
  background: #f0e8f5;
  border-radius: 18px 18px 4px 18px;
  padding: 13px 17px;
  line-height: 1.6;
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.summary {
  font-size: 16px;
  margin: 10px 0 19px;
}
.context-link {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  background: #faf7fb;
  border-radius: 10px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.context-link .ico {
  width: 16px;
}
.review-card h2 {
  font-size: 18px;
}
.item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.item-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #ede9ee;
}
.item-list b {
  font-weight: 580;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.item-dot {
  width: 7px;
  height: 7px;
  background: #b39ac0;
  border-radius: 100%;
  flex: none;
  margin-top: 7px;
}
.item-list .deselected b {
  color: #77717a;
  text-decoration: line-through;
}
.item-list .deselected .item-dot {
  background: #d9d6da;
}
.item-list small {
  overflow-wrap: anywhere;
}
dialog {
  color: var(--ink);
  border: 1px solid #e2dbe5;
  border-radius: 23px;
  padding: 24px;
  width: min(480px, calc(100vw - 30px));
  overflow: auto;
  max-height: calc(100dvh - 44px);
  box-shadow: 0 20px 80px #30213729;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #271a2e59;
}
body:has(dialog:modal) {
  overflow: hidden;
}
dialog h2 {
  font-size: 23px;
}
dialog > .sub {
  margin: 8px 0 20px;
}
dialog > label + label {
  margin-top: 17px;
}
dialog > .whole,
dialog form > .whole:last-child {
  margin-top: 16px;
}
dialog .stack {
  gap: 14px;
}
dialog .stack > .whole:last-child {
  margin-top: 0;
}
.copy-field {
  display: flex;
  gap: 7px;
}
.copy-field input {
  flex: 1;
}
.copy-field .quiet {
  white-space: nowrap;
}
.request-quote {
  background: #f4eff6;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 14px;
  margin: 12px 0 18px;
  max-height: 24vh;
  overflow: auto;
}
.request-quote b {
  margin-bottom: 4px;
}
.draft {
  justify-self: start;
  font-size: 13px;
  min-height: 38px;
}
.edit-row {
  margin: 0 0 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  display: grid;
  gap: 10px;
}
.edit-row legend {
  font-size: 13px;
  font-weight: 700;
  padding: 0 4px;
}
.edit-meta {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 7px;
}
.edit-meta label,
.edit-row label {
  font-size: 12px;
}
.edit-row input:not([type="checkbox"]) {
  padding: 8px;
  min-height: 40px;
  font-size: 14px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.check-label input {
  width: 17px;
  height: 17px;
}
.edit-row .text-button {
  justify-self: start;
  color: #775c65;
  font-size: 12px;
}
.edit-row .text-button:hover {
  color: #973624;
}
.menu-links {
  display: grid;
  margin: 14px 0 0;
}
.menu-links a {
  padding: 12px;
  display: flex;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.menu-links a:hover {
  background: #f3edf5;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 10px);
  z-index: 20;
  padding: 10px 17px;
  border-radius: 12px;
  max-width: calc(100% - 28px);
  color: white;
  background: #3f3048;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.14s,
    transform 0.14s;
}
#notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .welcome {
    min-height: calc(100svh - 124px);
  }
  .sidebar {
    width: 260px;
  }
  .main-content {
    max-width: 1100px;
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 185px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-content {
    padding-left: 28px;
    padding-right: 28px;
  }
  .welcome {
    gap: 5vw;
  }
  .art-panel {
    height: clamp(500px, 71vh, 660px);
    min-height: 0;
  }
  .welcome-art {
    height: 58%;
  }
  .art-title {
    padding: 33px;
  }
  .hero-copy {
    padding-left: 27px;
  }
  .hero-copy h1 {
    font-size: clamp(28px, 3.35vw, 40px);
  }
}
@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  .welcome-header {
    padding: 18px 20px 12px;
  }
  .welcome-header .brand img {
    width: 29px;
    height: 29px;
  }
  .brand b {
    font-size: 29px;
  }
  .welcome-product {
    font-size: 12px;
  }
  .welcome {
    display: block;
    min-height: auto;
    padding: 0 17px 32px;
    max-width: 560px;
  }
  .art-panel {
    height: clamp(165px, 31vh, 234px);
    min-height: 0;
    border-radius: 20px;
    display: block;
  }
  .welcome-art {
    width: 63%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    object-position: 53% 50%;
    mask-image: linear-gradient(90deg, transparent, #000 19%);
  }
  .art-title {
    padding: 20px 17px;
  }
  .art-title h1 {
    font-size: clamp(28px, 7vw, 40px);
    margin-top: 13px;
  }
  .art-foot {
    position: absolute;
    bottom: 13px;
    left: 17px;
    text-align: left;
    padding: 0;
    font-size: 10px;
    max-width: 42%;
  }
  .welcome-form-inner {
    margin: auto;
  }
  .welcome-form {
    padding: 26px 4px 0;
  }
  .welcome-form h2 {
    font-size: 30px;
  }
  .auth-switch {
    margin: 20px 0 17px;
  }
  .sub {
    font-size: 14px;
  }
  .stack {
    gap: 13px;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    position: fixed;
    z-index: 5;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0 5px env(safe-area-inset-bottom);
    border: 0;
    border-top: 1px solid var(--line);
    background: #fffc;
    backdrop-filter: blur(14px);
  }
  .sidebar > .brand,
  .sidebar > .profile {
    display: none;
  }
  .sidebar nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .nav-link {
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 61px;
    font-size: 10px;
    border-radius: 0;
    padding: 6px 2px;
    color: #786f7d;
  }
  .nav-link .ico {
    height: 21px;
    width: 21px;
  }
  .nav-link.active {
    background: transparent;
    color: #4f345c;
  }
  .nav-link.active .ico {
    fill: #eee3f3;
    stroke-width: 2.2;
  }
  .nav-count {
    position: absolute;
    left: calc(50% + 7px);
    top: 3px;
    font-size: 9px;
    line-height: 14px;
    padding: 0 4px;
  }
  .workspace-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 54px;
    padding: max(5px, env(safe-area-inset-top)) max(13px, env(safe-area-inset-right)) 5px max(13px, env(safe-area-inset-left));
    gap: 5px;
    border-bottom: 1px solid #f0edf0;
  }
  .workspace-bar > span {
    justify-self: center;
  }
  .workspace-bar > .quiet {
    justify-self: end;
  }
  .workspace-bar .desktop-path {
    display: none;
  }
  .workspace-bar .mobile-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    letter-spacing: -0.04em;
  }
  .workspace-bar .mobile-name img {
    height: 26px;
    width: 26px;
  }
  .workspace-bar > .mobile-menu {
    display: grid;
    place-items: center;
    justify-self: start;
    height: 38px;
    width: 38px;
  }
  .workspace-bar > .compact {
    padding: 6px 8px;
    min-height: 34px;
    font-size: 12px;
  }
  .workspace-bar > .compact .ico {
    width: 15px;
  }
  .main-content {
    max-width: 580px;
    padding: 20px 17px calc(85px + env(safe-area-inset-bottom));
    margin: auto;
  }
  .home-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 23px;
    overflow: hidden;
    background: #f5eef8;
  }
  .home-hero > img {
    position: static;
    order: -1;
    width: 100%;
    height: clamp(170px, 27vh, 245px);
    object-fit: cover;
    object-position: 50% 48%;
    mask-image: linear-gradient(180deg, #000 85%, transparent);
    z-index: 0;
  }
  .hero-copy {
    padding: 2px 13px 21px;
    max-width: 100%;
  }
  .hero-copy .mascot-label {
    display: none;
  }
  .hero-copy h1 {
    font-size: 26px;
    letter-spacing: -0.07em;
    margin: 4px 0 5px;
    line-height: 1.3;
  }
  .hero-copy h1 br {
    display: none;
  }
  .hero-copy h1 br:after {
    content: " ";
  }
  .hero-copy p {
    font-size: 13px;
  }
  .main-content:has(.home-hero) {
    padding-bottom: calc(185px + env(safe-area-inset-bottom));
  }
  .home-hero + .composer {
    position: fixed;
    z-index: 4;
    bottom: calc(67px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: min(544px, calc(100% - 24px));
    margin: 0;
    background: white;
    box-shadow: 0 3px 22px #3923451b;
    padding: 10px 11px 8px;
    border-radius: 17px;
  }
  .home-hero + .composer textarea {
    min-height: 30px;
    height: 34px;
    max-height: 22vh;
    resize: none;
    font-size: 16px;
    padding: 3px 3px 4px;
  }
  .home-hero + .composer:focus-within textarea {
    height: 57px;
  }
  .composer-tools .submit-round {
    min-width: 33px;
    height: 33px;
  }
  .examples {
    justify-content: center;
    margin-top: 14px;
    gap: 6px;
  }
  .examples button {
    font-size: 11px;
    padding: 5px 8px;
  }
  .section-gap {
    margin-top: 24px;
  }
  .section-head h2,
  .section-gap > h2 {
    font-size: 19px;
  }
  .page-heading {
    margin: 3px 0 20px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading .sub {
    font-size: 13px;
  }
  .page-heading > .primary {
    margin-top: 1px;
    flex: none;
  }
  .record-row {
    gap: 10px;
    padding: 14px 1px;
  }
  .row-text b {
    font-size: 14px;
  }
  .row-icon {
    height: 35px;
    width: 35px;
  }
  .record-row .state-chip {
    font-size: 10px;
    padding: 3px 6px;
  }
  .handoff-card,
  .review-card {
    padding: 15px;
  }
  .team-banner {
    padding: 13px;
    gap: 8px;
  }
  .team-banner h2 {
    font-size: 18px;
  }
  .profile strong,
  .team-banner h2 {
    overflow-wrap: anywhere;
  }
  .team-banner .compact {
    padding: 7px;
  }
  .edit-meta {
    grid-template-columns: 1fr 1fr;
  }
  .edit-meta label:first-child {
    grid-column: 1/-1;
  }
  .copy-field input,
  dialog input:not([type="checkbox"]),
  dialog select,
  dialog textarea,
  .welcome-form input {
    font-size: 16px;
  }
  .welcome-form .switch button,
  .whole {
    font-size: 14px;
  }
  dialog {
    padding: 18px;
    max-height: calc(100dvh - 26px);
    border-radius: 18px;
  }
  #notice {
    bottom: calc(85px + env(safe-area-inset-bottom));
    text-align: center;
    font-size: 13px;
    width: max-content;
  }
  .handoff-meta {
    flex-wrap: wrap;
  }
  .handoff-meta .state-chip {
    font-size: 10px;
  }
  .empty-state {
    padding: 38px 12px;
  }
  .text-button {
    font-size: 13px;
  }
}
@media (max-width: 365px) {
  .art-foot {
    display: none;
  }
  .examples {
    gap: 4px;
  }
  .examples button {
    font-size: 10px;
  }
  .examples button .ico {
    width: 12px;
  }
  .main-content {
    padding-left: 12px;
    padding-right: 12px;
  }
  .switch button {
    font-size: 12px;
  }
  .page-heading {
    gap: 7px;
  }
  .compact {
    font-size: 12px;
  }
  .hero-copy h1 {
    font-size: 23px;
  }
  .handoff-meta .avatar {
    width: 28px;
    height: 28px;
  }
  .card-actions {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.welcome-form .sub + .stack {
  margin-top: 24px;
}
.dialog-feedback {
  margin-top: 14px;
  color: #51425a;
  background: #f3eef6;
  font-size: 13px;
  border-radius: 10px;
  padding: 8px 12px;
}

/* Conversation viewport keeps the editor in reach as the transcript grows. */
.workspace:has(.chat-room) .main-wrap {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.main-content:has(.chat-room) {
  max-width: none;
  min-height: 0;
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}
.chat-room {
  --chat-gutter: clamp(16px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.chat-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.chat-column, .chat-dock {
  width: min(100%, 830px);
  margin-inline: auto;
  padding-inline: var(--chat-gutter);
}
.chat-column { min-height: 100%; display: flex; flex-direction: column; }
.chat-welcome {
  margin: auto 0;
  padding-block: 28px;
  text-align: center;
}
.chat-welcome[hidden] { display: none; }
.chat-welcome img {
  width: clamp(112px, 18vh, 170px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 38%;
}
.chat-welcome h2 {
  margin: 20px auto 16px;
  line-height: 1.35;
  font-size: clamp(21px, 3vw, 32px);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.chat-welcome .examples { justify-content: center; margin-top: 0; }
.chat-dock { flex: none; padding-block: 9px clamp(12px, 2.5vh, 26px); }
.chat-dock .composer { margin: 0; }
.dock-bar, .chat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dock-bar { justify-content: flex-end; padding-bottom: 6px; }
.dock-bar button, .chat-actions button { font-size: 13px; }
#chat-stream article { padding-block: 16px 8px; overflow-wrap: anywhere; }
.chat-actions { margin: 3px 0 5px; }
.chat-context { display: block; color: #715c7c; margin-bottom: 5px; font-size: 12px; }
/* 전화 통화 카드(app.js phoneCallCard): 오간 말과 하이런의 진행 줄 */
.phone-call-lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.phone-call-line strong { margin-right: 4px; }
.phone-call-note small { color: #715c7c; font-size: 12px; }
/* 통화 중의 진행 줄(채팅 안의 통화): 말풍선 사이에 작게 가운데 */
.call-note { margin: 2px auto; text-align: center; color: var(--muted); font-size: 12px; }
.call-folded > summary { cursor: pointer; list-style: none; }
.call-folded > summary::-webkit-details-marker { display: none; }
.call-folded > summary .chat-context::after { content: " · 펼치기"; }
.call-folded[open] > summary .chat-context::after { content: " · 접기"; }
/* 하이런이 건 전화 카드의 요약(app.js callOutCard): 접혀도 보인다 */
.phone-call-card .call-said { margin: 4px 0 0; }
.call-ask-card { margin: 8px 0; padding: 10px 12px; border: 1px solid #e6c98f; border-radius: 12px; background: #fffaf0; }
.call-ask-card .call-ask-question { margin: 4px 0 6px; font-weight: 600; }
.call-ask-card .call-ask-answer, .call-ask-card .call-ask-status { margin: 4px 0 0; }
.call-ask-card .call-ask-reply { display: flex; gap: 6px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.call-ask-card .call-ask-reply input { flex: 1 1 160px; min-width: 0; }
/* 통화 카드는 사각 틀 안에(사용자 "다른 대화와 구분이 명확히 되게", 2026-12-03) */
.chat-room .phone-call-card { margin: 12px 0; padding: 12px 14px; border: 1px solid #d9cfe0; border-radius: 14px; background: #faf7fc; }
.chat-room .phone-call-card > summary { margin: -2px 0 0; }
.chat-room .phone-call-card .phone-call-lines { margin-top: 8px; padding-top: 8px; border-top: 1px solid #ece5f0; }
.chat-room .user-msg, .chat-room .message-text, .chat-room .summary, .chat-room .receipt p { white-space: pre-wrap; }
.chat-room .summary { margin: 10px 0 12px; line-height: 1.65; }
.chat-room .agent-head small { font-size: 12px; color: #766d79; }
.chat-room .review-card { margin-block: 10px; }
.chat-handoff, #chat-editor {
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-block: 10px;
}
.chat-handoff .card-actions { margin-top: 12px; }
/* 결과 카드의 지도 그림(ui/result-card.js). 그림을 받지 못하면 요소가 숨는다 */
.chat-handoff .result-map { display: block; width: 100%; max-width: 600px; height: auto; aspect-ratio: 2 / 1; border-radius: 8px; margin: 4px 0; background: rgba(127,127,127,.08); }
#chat-editor { background: #fcfafc; scroll-margin: 12px; }
#chat-editor h2 { font-size: 19px; }
.chat-answer-dots { display:inline-flex; align-items:center; gap:3px; color:var(--plum); vertical-align:middle; }
.chat-answer-dots i { width:5px; height:5px; border-radius:50%; background:currentColor; animation:chat-answer-dot 1.2s ease-in-out infinite; }
.chat-answer-dots i:nth-child(2) { animation-delay:140ms; }
.chat-answer-dots i:nth-child(3) { animation-delay:280ms; }
@keyframes chat-answer-dot {
  0%, 65%, 100% { opacity:.5; transform:translateY(0); }
  32% { opacity:1; transform:translateY(-3px); }
}
@media (prefers-reduced-motion:reduce) {
  .chat-answer-dots i { animation:none; }
}
@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  .workspace:has(.chat-room) .main-wrap { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .chat-dock { padding-block: 5px 8px; }
  .chat-dock .composer { padding: 8px 10px; }
  .chat-dock .composer textarea { min-height: 40px; max-height: 15dvh; }
  .chat-welcome .examples { flex-wrap: wrap; }
}

.sidebar-features {
  border-top: 1px solid var(--line);
  margin: 20px 5px 0;
  padding-top: 14px;
  display: grid;
  gap: 4px;
}
.compose-icon {
  width: 37px;
  height: 37px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  flex: none;
  color: var(--plum);
}
.compose-icon:hover {
  background: #f2ecf4;
}
.compose-icon .ico {
  width: 20px;
  height: 20px;
}
.voice-shortcuts {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.chat-dock .composer-tools {
  justify-content: initial;
  gap: 8px;
}
.chat-dock .composer {
  border-radius: 23px;
}
.chat-dock .composer .submit-round {
  box-shadow: none;
}
.preview-disclosure {
  color: var(--muted);
  font-size: 12px;
  margin: 7px 4px 0;
}
.chat-welcome img {
  width: clamp(126px, 21vh, 196px);
  border-radius: 35%;
  box-shadow: 0 8px 28px #5b376119;
}
.chat-welcome h2 {
  max-width: 590px;
}
.feature-group {
  border-block: 1px solid var(--line);
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 8px 4px;
}
.feature-row + .feature-row {
  border-top: 1px solid var(--line);
}
.feature-row:hover {
  background: #faf8fb;
}
.feature-icon,
.service-glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: #efe6f4;
  color: #553a64;
}
.feature-row > b {
  flex: 1;
}
.feature-row b,
.feature-row small {
  display: block;
}
.feature-row small {
  margin-top: 4px;
  font-size: 13px;
}
.service-list {
  display: grid;
  gap: 12px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 20px;
  background: #fff;
}
.service-head,
.voice-companion {
  display: flex;
  align-items: center;
  gap: 13px;
}
.service-head > div,
.voice-companion > div {
  min-width: 0;
  flex: 1;
}
.service-head h2,
.voice-companion h2 {
  font-size: 18px;
}
.service-head p,
.voice-companion p,
.service-hint,
.connected-account {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.service-card .service-hint,
.connected-account,
.service-card .error {
  margin-top: 12px;
}
.service-card .card-actions {
  margin-left: 57px;
}
.service-card .card-actions:empty {
  display: none;
}
.service-glyph {
  background: #ffead9;
  color: #82562d;
}
.service-card:nth-child(even) .service-glyph {
  background: #ede4f4;
  color: #5c4070;
}
.preview-result {
  margin: 15px 0;
  padding: 15px;
  border-radius: 13px;
  background: #f7f3f9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 44dvh;
  overflow: auto;
}
.service-list + button {
  margin-top: 14px;
}
.voice-companion {
  padding: 18px;
  background: #f3edf6;
  border-radius: 20px;
}
.voice-companion img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 20px;
}
.call-history {
  margin-top: 16px;
}
.call-row {
  padding: 15px 2px;
  border-top: 1px solid var(--line);
}
.call-row > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.call-row p {
  margin: 6px 0;
  font-size: 14px;
}
.call-row small {
  font-size: 12px;
}
.call-row .text-button {
  margin-left: 15px;
  font-size: 12px;
}
.call-check {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 13px;
  background: #f5f1f7;
}
.call-check dt {
  font-size: 12px;
  color: var(--muted);
}
.call-check dt:not(:first-child) {
  margin-top: 8px;
}
.call-check dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.menu-links button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 15px;
  padding: 12px;
  text-align: left;
}
.contacts-picker {
  justify-self: start;
}
@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  .sidebar-features {
    display: none;
  }
  .workspace-bar .mobile-name {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 10px;
    line-height: 1.14;
  }
  .mobile-name img {
    border-radius: 9px;
  }
  .workspace-bar > .mobile-menu {
    border: 1px solid #eee9ef;
    border-radius: 50%;
    width: 44px;
    height: 44px;
  }
  .workspace-bar > .compact {
    min-height: 44px;
    border-radius: 22px;
  }
  .chat-dock .composer-tools {
    gap: 4px;
  }
  .chat-dock .composer {
    border-radius: 20px;
  }
  .chat-dock .mode-switch button {
    padding: 5px 6px;
    font-size: 11px;
  }
  .compose-icon {
    width: 32px;
    height: 33px;
  }
  .chat-dock .mode-switch .ico {
    width: 14px;
  }
  .voice-shortcuts {
    gap: 0;
  }
  .chat-dock .composer textarea {
    height: 40px;
  }
  .chat-welcome img {
    width: clamp(115px, 19dvh, 154px);
  }
  .service-card {
    padding: 15px;
  }
  .service-card .card-actions {
    margin-left: 0;
  }
  .service-head {
    gap: 10px;
    align-items: flex-start;
  }
  .service-glyph,
  .feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
  .service-head h2,
  .voice-companion h2 {
    font-size: 16px;
  }
  .service-head p,
  .feature-row small,
  .voice-companion p {
    font-size: 12px;
  }
  .service-head .state-chip {
    font-size: 10px;
  }
  .voice-companion {
    padding: 13px;
    gap: 9px;
  }
  .voice-companion img {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }
  .page-heading:has(+ #service-screen) {
    margin-bottom: 19px;
  }
  .voice-companion .compact,
  .section-head .compact {
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .chat-dock .mode-switch .ico {
    display: none;
  }
  .service-head {
    flex-wrap: wrap;
  }
  .service-head > div {
    min-width: 120px;
  }
}
.connection-result {
  margin-bottom: 16px;
}
.connection-result.success {
  background: #eaf2ed;
  color: #36523d;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
}

.auth-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.auth-options a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  color: var(--plum);
  font-weight: 650;
}
.auth-options a:hover {
  text-decoration: underline;
}
.auth-options .recovery-option {
  margin-left: auto;
}
.recovery-option .ico {
  width: 15px;
  height: 15px;
}
.field-help {
  margin-top: -8px;
  color: var(--muted);
  font-size: 12px;
}
.login-settings {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.login-settings .quiet {
  margin-top: 12px;
}
.login-settings > .text-button {
  display: flex;
  margin-top: 14px;
}
@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  .welcome[data-welcome-mode="signup"] .art-panel {
    height: clamp(132px, 20vh, 170px);
  }
  .welcome[data-welcome-mode="signup"] .art-foot {
    display: none;
  }
  .welcome[data-welcome-mode="signup"] .welcome-form {
    padding-top: 20px;
  }
}

/* Personal assistant identity and setup */
.assistant-avatar {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.assistant-brand {
  gap: 9px;
  min-width: 0;
}
.assistant-brand .assistant-name,
.mobile-name .assistant-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.assistant-brand .assistant-name {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.06em;
}
.mobile-name .assistant-name {
  max-width: min(30vw, 120px);
}
.chat-welcome [data-assistant-hero] .assistant-avatar {
  width: clamp(126px, 21vh, 196px);
  height: auto;
  aspect-ratio: 1;
}
.assistant-sample,
.profile-setting-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.assistant-sample {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--paper);
}
.assistant-sample > div,
.profile-setting-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.assistant-sample img {
  border-radius: 14px;
}
.assistant-sample strong,
.profile-setting-row strong {
  font-size: 17px;
}
.assistant-sample p,
.profile-setting-row p {
  margin: 4px 0 0;
  line-height: 1.5;
  color: var(--muted);
  font-size: 13px;
}
.avatar-picker {
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 0;
}
.avatar-picker legend {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 650;
}
.avatar-picker > div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}
.avatar-choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.avatar-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.avatar-choice > span {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 5px 1px;
  border: 1px solid transparent;
  border-radius: 12px;
}
.avatar-choice small {
  font-size: 11px;
  font-weight: 550;
}
.avatar-choice input:checked + span {
  border-color: var(--plum);
  background: #f7f1fa;
}
.avatar-choice input:focus-visible + span {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}
.profile-selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.profile-buttons {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-setting-row {
  padding-block: 12px;
}
.profile-setting-row > button {
  margin-left: auto;
  flex-shrink: 0;
}
@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  .chat-welcome [data-assistant-hero] .assistant-avatar {
    width: clamp(115px, 19dvh, 154px);
  }
}
@media (max-width: 360px) {
  .avatar-picker > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#sync-status { position:fixed; z-index:20; top:8px; left:50%; transform:translateX(-50%); background:#392e24; color:white; padding:8px 16px; border-radius:12px; }

.auth-header-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.auth-header-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 650;
}
.auth-header-links a:hover { text-decoration: underline; }


@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  .workspace-bar .mobile-name {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
    color: var(--ink);
    font-weight: 650;
  }
  .workspace .sidebar,
  .workspace-bar [data-secondary-invite] {
    display: none;
  }
  .workspace .mobile-tabs {
    position: fixed;
    z-index: 5;
    inset: auto auto calc(8px + env(safe-area-inset-bottom)) 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, minmax(44px, 1fr));
    align-items: center;
    width: clamp(240px, 88vw, 370px);
    max-width: calc(100vw - 24px);
    padding: 3px;
    border: 1px solid #e9e7e6;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 6px #241b2410;
  }
  .mobile-tabs a {
    display: grid;
    min-height: 44px;
    place-items: center;
    border-radius: 999px;
    color: #151515;
    touch-action: manipulation;
  }
  .mobile-tabs .ico {
    width: 23px;
    height: 23px;
    stroke-width: 1.9;
  }
  .mobile-tabs a[aria-current="page"] { background: #f4f3f2; }
  .mobile-tabs a[aria-current="page"] .tab-shape { fill: currentColor; }
  .mobile-tabs a[aria-current="page"] .tab-detail { color: #fff; }
  .chat-dock .composer {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: end;
    padding: 4px 6px;
    border-radius: 24px;
  }
  .chat-column, .chat-dock {
    padding-left: max(var(--chat-gutter), env(safe-area-inset-left));
    padding-right: max(var(--chat-gutter), env(safe-area-inset-right));
  }
  html[data-chat-keyboard] .workspace:has(.chat-room) .main-wrap {
    position: fixed;
    top: var(--keyboard-top);
    inset-inline: 0;
    height: var(--keyboard-height);
    padding-bottom: 0;
  }
  html[data-chat-keyboard] .workspace:has(.chat-room) .mobile-tabs { display: none; }
  .chat-dock .composer-tools { display: contents; }
  .chat-dock .mode-switch { display: none; }
  .chat-dock [data-chat-add] { grid-area: 1 / 1; }
  .chat-dock .composer textarea {
    grid-area: 1 / 2;
    align-self: center;
    height: auto;
    min-height: 38px;
    max-height: 17dvh;
    field-sizing: content;
    padding: 8px 3px;
    resize: none;
  }
  .chat-dock .voice-shortcuts, .chat-dock .submit-round {
    grid-area: 1 / 3;
    align-self: end;
  }
  .chat-dock .compose-icon, .chat-dock .submit-round {
    width: 44px;
    height: 44px;
  }
  .chat-dock .voice-shortcuts a {
    background: var(--plum);
    color: white;
  }
  .chat-dock .composer:has(textarea:placeholder-shown) .submit-round,
  .chat-dock .composer:has(textarea:not(:placeholder-shown)) .voice-shortcuts {
    display: none;
  }
  .chat-dock .preview-disclosure, .chat-dock .error { grid-column: 1 / -1; }
  .chat-dock .dock-bar > button[data-handoff] { display: none; }
  .chat-dock .dock-bar:has(> button:only-child) { display: none; }
}

.chat-dock .assistant-call {
  color: #fff;
  background: var(--plum);
}
.chat-dock .assistant-call:hover { background: #624c6d; }
.chat-dock .composer:has(textarea:placeholder-shown) .submit-round,
.chat-dock .composer:has(textarea:not(:placeholder-shown)) .voice-shortcuts {
  display: none;
}
.chat-dock .submit-round { margin-left: auto; }
.mobile-tabs { display: none; }
[data-live-panel] {
  justify-items: center;
  text-align: center;
}
[data-live-body] { width: 100%; }
.live-clock {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
}
[data-live-time] { font-variant-numeric: tabular-nums; }
.live-controls { justify-content: center; }
.live-controls [aria-pressed="true"] {
  background: var(--lilac);
  border-color: #a68db3;
}
.live-mini {
  position: fixed;
  z-index: 9;
  top: max(8px,env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100vw - 20px);
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 4px 20px #432c4928;
}
.live-expand {
  padding: 5px;
  text-align: left;
  overflow-wrap: anywhere;
  font-weight: 650;
}
.live-expand [data-live-time] {
  color: var(--muted);
  font-size: 12px;
}

/* 채팅 안의 통화(docs/design/call-in-chat.html 1단계): 통화 중에는 입력창 자리에 통화 띠. 오간 말은 채팅에 쌓인다 */
body.in-call #task-form { display: none; }
.live-dock {
  top: auto;
  bottom: max(14px, calc(env(safe-area-inset-bottom) + 8px));
  gap: 10px;
  width: min(440px, calc(100vw - 32px));
  padding: 7px 7px 7px 16px;
  border-radius: 999px;
  background: #45334f;   /* 어두운 화면에서도 같은 진한 자주(--plum은 어두운 화면에서 밝아진다) */
  border-color: transparent;
  color: #fff;
}
.live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: live-dot 1.4s ease-in-out infinite; }
@keyframes live-dot { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.live-dock-text { flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.live-dock-text time { font-variant-numeric: tabular-nums; opacity: .8; margin: 0 4px; }
.live-dock-text [data-dock-state] { opacity: .9; }
.live-dock-button { flex: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #ffffff26; color: #fff; cursor: pointer; }
.live-dock-button svg { width: 20px; height: 20px; }
.live-dock-button:disabled { opacity: .5; cursor: default; }
.live-dock-button[aria-pressed="true"] { background: #fff; color: #45334f; }
.live-dock-button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.live-dock-end { background: #d6334a; }

/* The first conversation builds the same profile used in chat and voice settings. */
dialog[open]:has(.profile-wizard) { display: flex; flex-direction: column; overflow: hidden; }
dialog:has(.profile-wizard) .dialog-head { flex: none; }
.profile-wizard { display: flex; flex-direction: column; min-height: 0; padding-top: 8px; }
.profile-wizard-body { display: grid; gap: 17px; min-height: 0; overflow: auto; padding: 4px 3px 7px; }
.profile-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.profile-progress span { font-size: 12px; font-weight: 600; color: var(--muted); border-top: 3px solid #eae4e9; padding-top: 5px; }
.profile-progress span.filled { border-color: var(--plum); }
.profile-progress [aria-current] { color: var(--plum); font-weight: 750; }
.profile-dialogue { display: flex; align-items: flex-end; gap: 12px; min-height: 95px; }
.profile-dialogue [data-wizard-poster] { flex: none; }
.profile-dialogue .assistant-avatar { display: block; width: 67px; height: 67px; border-radius: 18px; object-fit: cover; }
.profile-question { flex: 1; min-width: 0; background: #f2eaf4; border-radius: 17px 17px 17px 3px; padding: 13px 15px; }
.profile-question h3 { color: var(--plum); font-size: 18px; line-height: 1.35; margin: 0; }
.profile-question h3:focus { outline: none; }
.profile-question p { margin-top: 6px; color: #65576a; font-size: 13px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.profile-name-field, .profile-tone { font-size: 14px; font-weight: 650; }
.profile-name-field input, .profile-tone select { width: 100%; }
.profile-icon-grid > div { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.profile-icon-grid .avatar-choice > span { padding: 8px 2px; border-color: var(--line); }
.profile-icon-grid .avatar-choice small { font-size: 12px; }
.profile-voices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; min-width: 0; padding: 0; margin: 0; border: 0; }
.profile-voice-row { min-width: 0; display: flex; align-items: center; gap: 3px; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 2px 5px; }
.profile-voice-row:has(input:checked) { border-color: var(--plum); background: #f9f3fa; }
.profile-voice-row label { flex: 1; display: flex; align-items: center; gap: 5px; min-height: 44px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.profile-voice-row input { margin: 0; width: 16px; height: 16px; padding: 0; accent-color: var(--plum); }
.profile-listen { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 40px; min-width: 44px; padding: 0 4px; border-radius: 9px; color: var(--plum); font-size: 12px; font-weight: 650; }
.profile-listen[aria-pressed=true] { background: var(--plum); color: white; }
.profile-listen [data-sample-glyph] { font-size: 10px; }
.profile-editor-sample { display: flex; justify-content: flex-end; }
.profile-audio-status { margin: 0; color: var(--muted); font-size: 12px; }
.profile-audio-status:empty { display: none; }
.profile-wizard audio, #assistant-profile-form audio { display: none; }
.profile-wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-wizard-actions button { min-height: 44px; }

.setup-resume { margin: 4px auto 8px; }
@media(max-width:380px) {
  .profile-dialogue { gap: 8px; }
  .profile-dialogue .assistant-avatar { width: 52px; height: 52px; }
  .profile-voice-row { padding-inline: 3px; }
}
.appearance-group { margin: 12px 0 0; padding: 0; min-width: 0; border: 0; }
.appearance-group:first-child { margin-top: 0; }
.appearance-group legend,.appearance-details label { padding: 0; margin-bottom: 5px; font-size: 13px; font-weight: 650; }
.appearance-options { display: grid; gap: 4px; }
.appearance-options.type, .appearance-options.swatch { grid-template-columns: repeat(3,minmax(0,1fr)); }
.appearance-options.character { grid-template-columns: repeat(6,minmax(0,1fr)); }
.appearance-options.letter { grid-template-columns: repeat(7,minmax(0,1fr)); }
.appearance-choice { position: relative; display: block; cursor: pointer; min-width: 0; }
.appearance-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.appearance-choice > span { min-height: 44px; display: flex; gap: 5px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; padding: 3px; font-size: 13px; color: var(--ink); }
.appearance-choice input:checked + span { border-color: var(--plum); background: #f5eff7; box-shadow: inset 0 0 0 1px var(--plum); }
.appearance-choice input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 2px; }
.appearance-choice.character > span { flex-direction: column; gap: 1px; font-size: 12px; }
.appearance-choice small { font-size: 11px; white-space: nowrap; }
.appearance-choice i { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #0002; }
.original-swatch { background: linear-gradient(120deg,#f5b387 0 50%,#e6d5eb 50%); }
.appearance-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.appearance-details select { width: 100%; min-height: 44px; }
dialog:has(.profile-wizard) { max-height: calc(100dvh - 24px); }
.profile-wizard-actions { flex: none; background: white; padding-top: 12px; }
@media(max-width:420px) {
  dialog:has(.profile-wizard) { padding: 16px; }
  .appearance-options.character { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .appearance-choice.character > span { flex-direction: row; justify-content: flex-start; padding-inline: 5px; }
  .appearance-choice.character .assistant-avatar { width: 29px; height: 29px; }
  .appearance-options.letter { grid-template-columns: repeat(auto-fit,minmax(44px,1fr)); }
}
@media(max-height:500px) {
  .profile-wizard-body {gap:9px;}
  .profile-dialogue {min-height:0;}
  .profile-dialogue .assistant-avatar {width:44px;height:44px;}
  .profile-question {padding:9px 12px;}
}

@media (pointer: coarse), (max-width: 740px) {
  dialog[open]:has(.profile-wizard) {
    inset-block-start: calc(var(--setup-top,0px) + var(--setup-height,100dvh) / 2);
    inset-block-end: auto; margin-block: 0; transform: translateY(-50%);
    max-height: calc(var(--setup-height,100dvh) - 18px);
  }
  .profile-listen { min-height: 44px; }
  dialog:has(.profile-wizard) .dialog-head .icon-btn { min-width: 44px; min-height: 44px; }
}

.dictation-trigger, .dictation-panel { display: none; }
@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  :is(#reply-form, #handoff-form) .dictation-trigger {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    gap: 6px;
    width: auto;
    min-height: 44px;
    padding-inline: 12px;
    border-radius: 22px;
    font-size: 14px;
  }
  .dictation-trigger[aria-pressed="true"] { color: #a83231; background: #fff1ed; }
  .dictation-panel:not([hidden]) {
    grid-column: 1 / -1;
    display: block;
    padding: 6px 5px 2px;
    color: var(--muted);
    font-size: 13px;
  }
}
.dictation-bar[hidden] { display:none; }
.chat-dock .composer[data-dictating] > textarea,
.chat-dock .composer[data-dictating] > .composer-tools { display:none; }
.chat-dock .dictation-bar {
  grid-column:1 / -1; display:grid; grid-template-columns:44px minmax(0,1fr) 44px 44px;
  align-items:center; gap:4px; width:100%; min-width:0;
}
.chat-dock .dictation-bar[hidden] { display:none; }
.dictation-bar button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; touch-action:manipulation; }
.dictation-bar button:focus-visible { outline:2px solid var(--plum); outline-offset:-2px; }
.dictation-bar button .ico { width:21px; height:21px; }
.dictation-bar [data-dictation-stop] > span { width:13px; height:13px; border-radius:3px; background:currentColor; }
.dictation-bar [data-dictation-send] { background:var(--ink); color:white; }
.dictation-bar [data-dictation-send]:disabled { opacity:.4; }
.dictation-wave { display:flex; align-items:center; justify-content:space-between; gap:2px; height:34px; min-width:0; overflow:hidden; padding:0 3px; color:var(--ink); }
.dictation-wave i { flex:0 1 3px; min-width:2px; height:3px; border-radius:4px; background:currentColor; --bar-height:12px; --beat:300ms; --phase:-80ms; }
.dictation-wave i:nth-child(3n+1) { --bar-height:18px; --beat:260ms; --phase:-175ms; }
.dictation-wave i:nth-child(4n+2) { --bar-height:24px; --beat:340ms; --phase:-40ms; }
.dictation-wave i:nth-child(5n+3) { --bar-height:28px; --beat:290ms; --phase:-215ms; }
.dictation-wave i:nth-child(-n+2), .dictation-wave i:nth-last-child(-n+2) { --bar-height:9px; }
.dictation-bar[data-speaking] .dictation-wave i { height:var(--bar-height); animation:dictation-waveform var(--beat) ease-in-out var(--phase) infinite; }
@keyframes dictation-waveform { 0%,100% { transform:scaleY(.22); } 38% { transform:scaleY(1); } 72% { transform:scaleY(.48); } }
@media (prefers-reduced-motion:reduce) { .dictation-bar[data-speaking] .dictation-wave i { animation:none; } }

.result-view { white-space: normal; overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
.result-view p { margin: .35em 0; white-space: pre-line; }
.result-view .link-host { color: var(--muted); font-size: .88em; }
.result-view h3 { font-size: 1em; line-height: 1.4; margin: .8em 0 .35em; }
.result-view > :first-child { margin-top: 0; }
.result-view ul, .result-view ol { margin: .4em 0; padding-inline-start: 1.45em; }
.result-view li + li { margin-top: .4em; }
.result-view .result-more { margin: .25em 0; }
.result-more > summary { color: var(--plum); cursor: pointer; font-size: .88em; font-weight: 600; padding: .6em .25em; width: fit-content; }
.result-table { max-width: 100%; overflow-x: auto; margin: .5em 0; border: 1px solid var(--edge); border-radius: 12px; }
.result-table table { border-collapse: collapse; width: 100%; font-size: .92em; }
.result-table th, .result-table td { min-width: 7em; padding: .55em .7em; text-align: start; vertical-align: top; }
.result-table th { background: var(--panel); }
.result-table tbody tr { border-top: 1px solid var(--edge); }
/* 열이 많은 표(월 달력의 7열 등): 열을 고르게 나누고 칸 안에서 줄을 바꾼다. 가로 스크롤바 없이 끝 열까지 보인다(모바일 포함) */
.result-table.wide table { table-layout: fixed; }
.result-table.wide th, .result-table.wide td { min-width: 0; padding: .4em .35em; overflow-wrap: anywhere; word-break: break-word; font-size: .9em; }
/* 행이 많은 표: 나누지 않고 한 표를 높이가 정해진 칸 안에서 세로로 스크롤한다. 머리줄은 위에 붙어 있다 */
.result-table.long { max-height: 24em; overflow-y: auto; }
.result-table.long thead th { position: sticky; top: 0; z-index: 1; }
.result-icon { display:block; width:1.1em; height:1.1em; flex:none; }
.result-list-item { display:flex; align-items:baseline; gap:.55em; min-width:0; }
.result-list-item > .result-icon { align-self:flex-start; margin-top:.27em; color:var(--plum); width:1em; height:1em; }
.result-view .result-list { list-style:none; padding:0; }
.result-view ol > li::marker { font-variant-numeric:tabular-nums; color:var(--muted); }
.result-view :is(.travel-modes,.notice-results) {
  padding:0; margin:.45em 0; list-style:none;
  border-block:1px solid var(--edge);
}
.travel-mode,.notice-note > summary,.notice-item {
  display:flex; gap:.7em; align-items:flex-start; padding:.7em 0; min-width:0;
}
.travel-mode + .travel-mode,.notice-results li + li { border-top:1px solid var(--edge); margin:0; }
.travel-symbol,.notice-symbol {
  flex:none; display:grid; place-items:center; width:1.85em; height:1.85em;
  border-radius:8px; color:var(--plum); background:var(--surface);
}
.travel-symbol .result-icon,.notice-symbol .result-icon { width:1.13em; height:1.13em; }
.travel-route h3 { font-size:1.15em; line-height:1.45; margin:0; }
.travel-route p { display:flex; flex-wrap:wrap; align-items:center; gap:.4em; font-size:.86em; color:var(--muted); }
.travel-heading { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:.65em; line-height:1.5; }
.travel-heading h4 { font-size:1em; margin:.1em 0 0; color:var(--ink); }
.travel-heading > span,.travel-facts { color:var(--muted); font-size:.87em; }
.travel-mode > div:last-child { min-width:0; }
.travel-mode p { margin:.22em 0 0; line-height:1.5; font-variant-numeric:tabular-nums; }
.travel-leg { font-weight:600; font-size:.93em; }
.travel-facts span,.notice-label { word-break:keep-all; overflow-wrap:anywhere; }
.travel-facts b { color:var(--ink); }
.travel-delay { color:var(--ink); background:var(--peach); padding:.05em .3em; border-radius:4px; }
.travel-facts i { margin:0 .4em; font-style:normal; }
.travel-result a { color:var(--plum); text-underline-offset:.2em; }
.travel-map a { display:inline-flex; align-items:center; gap:.35em; font-size:.9em; padding:.3em 0; font-weight:600; }
.travel-result .travel-note { margin:.35em 0; font-size:.8em; color:var(--muted); line-height:1.5; }
.travel-result .result-more { margin:0; }
.travel-sources ul { margin-top:0; }
.travel-sources a { font-size:.87em; }
.travel-sources small { color:var(--muted); margin-inline-start:.55em; }
.notice-item,.notice-note > summary { align-items:center; }
.notice-note > summary { list-style:none; cursor:pointer; }
.notice-note > summary::-webkit-details-marker { display:none; }
.notice-note > summary::after {
  content:""; flex:none; margin-inline:.35em; width:.42em; height:.42em;
  border:solid var(--muted); border-width:0 1.5px 1.5px 0; transform:rotate(45deg);
}
.notice-note[open] > summary::after { transform:rotate(225deg); }
.notice-label { flex:1; min-width:0; }
.notice-label b { display:block; line-height:1.4; }
.notice-meta { display:flex; align-items:center; flex-wrap:wrap; gap:.25em .8em; color:var(--muted); font-size:.83em; }
.notice-meta:not(:empty) { margin-top:.25em; }
.notice-deadline { display:inline-flex; align-items:center; gap:.3em; color:var(--plum); font-weight:600; }
.notice-body { margin:0 0 .7em 2.55em; font-size:.9em; }
.notice-comparison { container-type:inline-size; margin-top:.6em; border-bottom:1px solid var(--line); }
.comparison-notice { padding:.8em 0; border-top:1px solid var(--line); }
.comparison-notice header { display:flex; flex-wrap:wrap; align-items:baseline; gap:.2em .75em; }
.comparison-notice h4 { flex:1 1 18rem; min-width:0; margin:0; font-size:1em; line-height:1.45; }
.comparison-notice .notice-deadline { font-size:.84em; font-variant-numeric:tabular-nums; }
.comparison-notice dl {
  display:grid; grid-template-columns:minmax(0,1fr);
  gap:.45em 1.3em; margin:.5em 0 0; line-height:1.5;
}
.comparison-notice dl > div { min-width:0; }
.comparison-notice dt { color:var(--muted); font-size:.82em; font-weight:650; }
.comparison-notice dd { margin:.13em 0 0; font-size:.93em; }
.comparison-notice .comparison-scope { grid-column:1 / -1; color:var(--muted); }
.comparison-scope :is(dt,dd) { display:inline; font-size:.82em; }
.comparison-scope dt { margin-inline-end:.5em; }
.comparison-notice .comparison-source {
  display:inline-block; padding:.12em .22em; color:var(--plum); font-size:.88em;
  font-weight:600; white-space:nowrap; text-decoration:underline; text-underline-offset:.18em;
}
@container (min-width:30rem) {
  .comparison-notice dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.result-view :is(summary,a):focus-visible { outline:2px solid var(--plum); outline-offset:2px; border-radius:4px; }

.travel-first-departure { display:flex; gap:.6em; align-items:baseline; flex-wrap:wrap; }
.travel-first-departure span { color:var(--muted); font-size:.9em; }
.travel-first-departure strong { font-size:1.16em; font-variant-numeric:tabular-nums; }
.meeting-comparison blockquote { margin:.35em 0; }
/* 내 근무지(설정의 하위 화면): 이름·주소와 기본 표시, 버튼 둘, 아래의 저장 칸 */
.workplace-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.workplace-actions { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
.workplace-view [data-workplace-form] { margin-top: 18px; max-width: 520px; }
.workplace-view .chip { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #f1ecf3; color: #715c7c; font-size: 12px; }
/* 결과 카드의 월 달력(calendar.month): 애플 달력의 월 보기처럼 날짜 아래 색 점(일정 수만큼 셋까지, 넘으면 +), 오늘은 채운 동그라미.
   날을 누르면 그날의 일정(시각·제목)이 달력 아래에 펼쳐진다. 좁은 화면에서는 칸에 제목을 넣지 않고, 넓은 화면에서만 첫 일정 제목 한 줄(말줄임) */
.result-month { margin-top: 8px; }
.result-month table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.result-month th { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 0 6px; text-align: center; }
.result-month td { padding: 0; text-align: center; vertical-align: top; border-top: 1px solid var(--edge); }
.result-month .month-cell { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; min-height: 48px; padding: 6px 2px 5px;
  border: 0; background: none; color: inherit; font: inherit; border-radius: 10px; }
.result-month button.month-cell { cursor: pointer; }
.result-month button.month-cell:focus-visible { outline: 2px solid var(--plum); outline-offset: -2px; }
.result-month button.month-cell[aria-pressed="true"] { background: #f1ecf3; }
.result-month .month-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 15px; line-height: 1; }
.result-month td[data-today] .month-num { background: var(--plum); color: #fff; font-weight: 700; }
.result-month .month-dots { display: inline-flex; gap: 3px; align-items: center; height: 6px; }
.result-month .month-dots i { width: 6px; height: 6px; border-radius: 50%; background: #7a5a95; }
.result-month .month-dots b { font-size: 10px; line-height: 6px; color: #5d4472; font-weight: 700; }
.result-month .month-first { display: none; }
.result-month .month-day-list { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f7f4f8; text-align: start; }
.result-month .month-day-list strong { display: block; font-size: 14px; margin-bottom: 6px; }
.result-month .month-day-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.result-month .month-day-list li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 8px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.result-month .month-time { color: #5d4472; font-variant-numeric: tabular-nums; }
.result-month .month-day-list small { display: block; margin-top: 6px; color: var(--muted); }
@media (min-width: 900px) {
  .result-month .month-cell { min-height: 64px; }
  .result-month .month-first { display: block; max-width: 100%; font-size: 11px; line-height: 1.3; color: #4d4552; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
html[data-theme="dark"] .result-month button.month-cell[aria-pressed="true"], html[data-theme="dark"] .result-month .month-day-list { background: rgba(255,255,255,.07); }
html[data-theme="dark"] .result-month .month-dots i { background: #c7a9e3; }
html[data-theme="dark"] :is(.result-month .month-time, .result-month .month-dots b) { color: #d9c4ec; }
html[data-theme="dark"] .result-month td[data-today] .month-num { background: #c7a9e3; color: #1d1622; }
html[data-theme="dark"] .result-month .month-first { color: #ddd3e3; }
/* 날씨 카드(weather.forecast, 2026-11-28): 날씨 앱처럼 위에 장소·날짜·큰 그림·최고/최저, 아래에 시간별 가로 띠와 기온 곡선.
   띠는 카드 안에서만 가로로 넘긴다(카드와 대화의 폭을 넘지 않는다). 칸 너비 56px는 렌더러의 WEATHER_CELL과 같다 */
.wx { margin-top: 8px; padding: 14px 14px 10px; border-radius: 16px; background: linear-gradient(180deg, #e6f0fb 0%, #f5f9fd 100%); color: var(--ink); min-width: 0; max-width: 100%; overflow: hidden; box-sizing: border-box; }
.wx-top { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.wx-place { min-width: 0; }
.wx-place strong { display: block; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.wx-place span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.wx-now { display: flex; align-items: center; gap: 8px; }
.wx-now-text { display: flex; flex-direction: column; gap: 2px; }
.wx-hilo { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.wx-max { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.5px; }
.wx-min { font-size: 20px; color: var(--muted); }
.wx-sky { font-size: 13px; color: var(--muted); }
.wx-rain-total { font-size: 13px; color: #2668c9; font-weight: 600; }
.wx-icon { display: block; flex: none; overflow: visible; }
.wx-big { width: 64px; height: 64px; }
.wx-small { width: 34px; height: 34px; }
.wx-hours { margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(40, 70, 110, .1); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.wx-hours:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: 8px; }
.wx-track { width: max-content; }
.wx-cells { display: flex; margin: 0; padding: 0; list-style: none; }
.wx-hour { width: 56px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.wx-time { font-size: 12px; color: var(--muted); }
.wx-temp { font-size: 15px; font-weight: 600; }
.wx-rain { font-size: 11px; line-height: 13px; min-height: 13px; color: #2668c9; }
.wx-curve { display: block; }
.wx-curve polyline { fill: none; stroke: #f0913a; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.wx-curve circle { fill: #f5f9fd; stroke: #f0913a; stroke-width: 2; }
.wx-credit { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.wx-credit a { color: inherit; }
.wx-sun { fill: #f7b500; }
.wx-ray { stroke: #f7b500; stroke-width: 3; stroke-linecap: round; }
.wx-moon { fill: #aeb8d6; }
.wx-cloud { fill: #ffffff; stroke: #aebccc; stroke-width: 2; stroke-linejoin: round; }
.wx-cloud-dim { fill: #dde4ec; stroke: #9aa9ba; }
.wx-cloud-back { fill: #c9d3de; stroke: #9aa9ba; }
.wx-drop { stroke: #2f80e4; stroke-width: 3.5; stroke-linecap: round; }
.wx-flake { fill: #6aa6ee; }
.wx-bolt { fill: #f7b500; stroke: #d99a00; stroke-width: 1; stroke-linejoin: round; }
.wx-fogline { stroke: #93a2b3; stroke-width: 3; stroke-linecap: round; }
.wx-thermo, .wx-thermo-bulb { fill: none; stroke: var(--muted); stroke-width: 3; }
html[data-theme="dark"] .wx { background: linear-gradient(180deg, #1c2a3d 0%, #161e29 100%); color: #e9edf2; }
html[data-theme="dark"] :is(.wx-place span, .wx-min, .wx-sky, .wx-time, .wx-credit) { color: #a9b4c2; }
html[data-theme="dark"] .wx-hours { border-top-color: rgba(255, 255, 255, .09); }
html[data-theme="dark"] :is(.wx-rain, .wx-rain-total) { color: #8cbcf5; }
html[data-theme="dark"] .wx-curve circle { fill: #161e29; }
html[data-theme="dark"] .wx-cloud { fill: #e4e9ef; stroke: #b5c1ce; }
html[data-theme="dark"] .wx-cloud-dim { fill: #aab6c4; stroke: #8996a6; }
html[data-theme="dark"] .wx-cloud-back { fill: #7f8c9c; stroke: #6c7988; }
html[data-theme="dark"] .wx-moon { fill: #d4dbef; }
html[data-theme="dark"] .wx-drop { stroke: #6aa9f3; }
/* 채팅 턴의 진행(core-progress.js): 화면 위 비서 아이콘 아래(모바일)·경로 옆(데스크톱)의 작은 상태 글. 부드럽게 나타나고 점이 차례로 깜빡인다 */
.assistant-status { display: inline-block; vertical-align: baseline; margin-inline-start: 12px; font-size: 12px; line-height: 1.2; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden;
  transition: opacity .25s ease, max-height .25s ease; white-space: nowrap; }
.assistant-status.on { opacity: 1; max-height: 1.4em; }
.assistant-status.on::after { content: ''; display: inline-block; width: 1.2em; text-align: start; animation: assistant-status-dots 1.2s steps(4, end) infinite; }
@keyframes assistant-status-dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75%, 100% { content: '...'; } }
@media (prefers-reduced-motion: reduce) { .assistant-status { transition: none; } .assistant-status.on::after { animation: none; content: '…'; } }
/* 모바일(머리줄이 가운데 아이콘인 너비): 아이콘 아래 가운데 */
@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  .workspace-bar > span { display: inline-flex; flex-direction: column; align-items: center; }
  .assistant-status { display: block; margin: 1px 0 0; text-align: center; }
}
/* 먼저 한마디: 비서의 말풍선과 같은 자리, 조금 흐리게(최종 답이 오면 그 자리를 대신한다) */
.chat-room .core-interim { color: #4d4552; animation: core-interim-in .25s ease both; }
@keyframes core-interim-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chat-room .core-interim { animation: none; } }
/* 쓰고 있는 글(HIRUN_CORE_STREAM): 답과 같은 색이고, 조각이 올 때마다 다시 그려지므로 나타나는 움직임을 두지 않는다(움직임이 매번 처음부터 돌면 글이 흐리게만 보인다) */
.chat-room .core-interim[data-core-writing] { color: inherit; animation: none; }
/* 비서 아이콘의 움직임(2026-11-27, 사용자의 요청): 화면 위 가운데(모바일)·옆 메뉴(데스크톱)의 비서 아이콘.
   평상시는 숨 쉬듯 살짝 커졌다 작아지고 가끔 깜빡이듯 납작해진다. 생각 중은 살짝 떠올라 고개를 기울이고, 작업 중은 조금 빠르게 뛴다.
   transform만 움직인다(합성 단계에서 돌아 CPU를 적게 쓴다). 움직임 줄이기 설정이면 멈추고 글만 남는다. */
.mobile-name .assistant-avatar, .assistant-brand .assistant-avatar { transform-origin: 50% 60%; will-change: transform; animation: assistant-idle 5.6s ease-in-out infinite; }
html[data-assistant-mood="thinking"] :is(.mobile-name, .assistant-brand) .assistant-avatar { animation: assistant-think 1.8s ease-in-out infinite; }
html[data-assistant-mood="working"] :is(.mobile-name, .assistant-brand) .assistant-avatar { animation: assistant-work .9s ease-in-out infinite; }
@keyframes assistant-idle {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.035); }
  90% { transform: scale(1); }
  93% { transform: scale(1.02, .9); }
  96% { transform: scale(1); }
}
@keyframes assistant-think {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-2px) rotate(-7deg); }
  70% { transform: translateY(-2px) rotate(6deg); }
}
@keyframes assistant-work {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.08); }
  60% { transform: scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-name .assistant-avatar, .assistant-brand .assistant-avatar, html[data-assistant-mood] :is(.mobile-name, .assistant-brand) .assistant-avatar { animation: none; }
}
/* 화면 위 가운데 아이콘을 키운다(모바일): 26px → 36px. 머리줄은 상태 글까지 들어가게 조금 높다 */
@media (max-width: 740px), (pointer: coarse) and (max-width: 1000px) and (max-height: 520px) {
  .workspace-bar .mobile-name img, .workspace-bar .mobile-name svg.assistant-avatar { height: 36px; width: 36px; }
  .workspace-bar { min-height: 60px; }
}

/* 사람 카드(org.people의 연락처, 2026-11-28): 동그란 사진, 이름·직함·부서, 누르면 메일·전화.
   사진을 못 받으면 이름의 첫 글자가 보인다. 휴대폰 폭에서는 단추가 이름 아래로 내려간다 */
.person-row { display: flex; gap: 12px; align-items: flex-start; }
.person-avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--lilac); color: var(--plum); display: grid; place-items: center; }
.person-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.person-initial { font-size: 22px; font-weight: 700; line-height: 1; }
.person-body { min-width: 0; flex: 1; }
.person-body strong { display: block; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.person-body p { margin: 2px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.person-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.person-action { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--plum); font-size: 13px; text-decoration: none; max-width: 100%; }
.person-action:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.person-action-label { font-weight: 700; }
button.person-action { font: inherit; font-size: 13px; cursor: pointer; }
.person-action[data-person-delegate] { border-color: var(--plum); }
.person-action-value { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 480px) { .person-avatar { width: 48px; height: 48px; } .person-action { flex: 1 1 100%; } }
html[data-theme="dark"] .person-avatar { background: #3a2f44; color: #e6d7f0; }
html[data-theme="dark"] .person-action { background: #241f2a; border-color: #3b3443; color: #e6d7f0; }
html[data-theme="dark"] .person-action-value { color: #e9edf2; }

/* 회신의 작은 표시(내 하이런의 대화 위쪽. public/app.js의 replyMarks, docs/impl/reply-marks.md)
   기다리는 회신이나 도착한 회신이 있을 때만 보인다. 누르면 그 목록이 아래로 펼쳐진다. */
.chat-room { position: relative; }
/* 넓은 화면: 대화 위에 한 줄을 차지한다(있을 때만). 대화의 글을 가리지 않는다. 목록은 그 줄 아래로 겹쳐 펼쳐진다 */
.reply-marks {
  order: -1; flex: none; position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px;
  padding: 10px var(--chat-gutter) 0;
}
.reply-marks[hidden] { display: none; }
.reply-mark {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px;
  border: 1px solid #c9dcc9; border-radius: 999px; background: #eef5ee; color: #2f4a31;
  font: inherit; font-size: 13px; font-weight: 650; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 4px #30233114;
}
.reply-mark.pending { border-color: #ecd5ae; background: #fff4e3; color: #6b4514; }
.reply-mark b { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #2f4a31; color: #fff; font-size: 12px; text-align: center; }
.reply-mark.pending b { background: #8a5a1a; }
.reply-mark:hover { filter: brightness(.97); }
.reply-mark:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.reply-mark[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--plum); }
.reply-list {
  position: absolute; top: 100%; right: var(--chat-gutter); margin-top: 6px;
  width: min(340px, calc(100% - 2 * var(--chat-gutter))); max-height: min(46vh, 380px); overflow: auto; overscroll-behavior: contain;
  padding: 6px 14px; border: 1px solid var(--edge); border-radius: 12px; background: var(--panel, #fff); box-shadow: 0 10px 28px #30233124;
}
.reply-list .desk-record { display: grid; gap: 3px; padding: 10px 0; overflow-wrap: anywhere; }
.reply-list .desk-record + .desk-record { border-top: 1px solid var(--edge); }
.reply-list .desk-record b { font-size: 13px; color: var(--plum); }
.reply-list .desk-record span { font-size: 14px; }
.reply-list .desk-record small { font-size: 13px; color: var(--muted); }
.reply-list .desk-record :is(span, small) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reply-list .desk-record:hover span { text-decoration: underline; }
.reply-list .desk-record:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: 6px; }
html[data-theme="dark"] .reply-mark { border-color: #3f5a41; background: #24322a; color: #cfe6cf; }
html[data-theme="dark"] .reply-mark b { background: #cfe6cf; color: #1c2a1f; }
html[data-theme="dark"] .reply-mark.pending { border-color: #6b5330; background: #352a1b; color: #f1d9ae; }
html[data-theme="dark"] .reply-mark.pending b { background: #f1d9ae; color: #33240f; }
/* 좁은 화면: 위쪽 머리(메뉴 단추, 비서의 모습) 바로 아래에 띄운다. 표시가 있는 동안에는 머리 뒤의 바탕과 대화의 위쪽 여백을 그만큼 늘려 글이 표시 밑으로 비치지 않게 한다.
   목록은 입력창에 닿지 않는 높이까지만 펼친다 */
@media (max-width:740px), (pointer:coarse) and (max-width:1000px) and (max-height:520px) {
  .reply-marks { position: absolute; inset: calc(var(--chat-control-top, 7px) + 50px) 0 auto 0; padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); }
  .reply-mark { min-height: 36px; }
  .reply-list { right: max(12px, env(safe-area-inset-right)); width: min(340px, calc(100% - 24px));
    max-height: max(120px, calc(100dvh - var(--chat-control-space, 59px) - var(--chat-bottom-space, 130px) - 70px)); }
  .workspace:has(.chat-room):has(.reply-marks:not([hidden])) { --chat-control-space: calc(var(--chat-control-top) + 96px); }
  .workspace:has(.chat-room):has(.reply-marks:not([hidden])) .main-wrap::before { height: calc(var(--chat-control-top) + 104px); background: linear-gradient(color-mix(in srgb,var(--chat-head-bg,#fff) 46%,transparent),color-mix(in srgb,var(--chat-head-bg,#fff) 22%,transparent) 62%,transparent); }
}

/* 가입한 메일의 확인 코드(public/app.js의 emailCodeDialog) */
.email-code { font-size: 24px; font-weight: 700; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; }

/* 직원마다 '사용함/사용 안 함'(public/admin-ui.js) */
.usage-counts { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.usage-counts strong { color: var(--ink); }
.usage-notice { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: var(--peach); }
.usage-notice p { margin: 0; }
.usage-notice small { display: block; margin-top: 2px; color: #6b4a2b; font-size: 13px; }
.usage-bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; padding: 8px 12px; border-radius: 12px; background: var(--surface, #f3eff5); }
.usage-bulk[hidden] { display: none; }
.usage-bulk form { display: inline; }
.usage-pick { display: inline-flex; flex: none; width: 28px; align-items: center; justify-content: center; }
/* 다른 입력 칸의 규칙(너비·최소 높이)이 덮지 못하게 크기를 못 박는다. WebKit은 줄어든 칸의 너비를 0으로 잡는다 */
.usage-pick input[type="checkbox"][data-usage-pick] { flex: none; box-sizing: border-box; width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; }
.usage-form { display: inline-flex; flex: none; margin: 0 10px 0 auto; }
.usage-switch { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.usage-switch i { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line); transition: background .15s; }
.usage-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.usage-switch[aria-checked="true"] { color: var(--ink); }
.usage-switch[aria-checked="true"] i { background: var(--plum); }
.usage-switch[aria-checked="true"] i::after { left: 18px; }
.usage-switch:disabled { opacity: .55; cursor: default; }
.usage-new { color: #8a4a12; font-weight: 600; }

/* 관리 화면의 가입 묶음(public/company-join.js): 승인 대기, 초대 코드, 바로 승인할 도메인, 처음 상태 */
.admin-block.join-block h3 { margin: 24px 0 6px; font-size: 15px; }
.join-block h3 small { color: var(--muted); font-size: 13px; font-weight: 500; }
.join-waiting { margin: 0 0 6px; padding: 12px 16px; border-radius: 14px; background: var(--peach); }
.admin-block.join-block .join-waiting h3 { margin-top: 0; }
.join-waiting .admin-hint { color: #6b4a2b; }
.join-waiting ul { list-style: none; margin: 8px 0 0; padding: 0; }
.join-waiting li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid #0000001a; }
.join-waiting li small { color: #6b4a2b; }
.join-acts { display: inline-flex; gap: 8px; flex: none; }
.admin-block .join-acts form,.admin-block .join-forms form { margin: 0; }
.join-forms { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 12px 0; }
.join-reject { color: #922f42; }
.join-tag { display: inline-block; padding: 1px 8px; border-radius: 99px; background: #fff; color: #8a4a12; font-size: 12px; font-weight: 600; white-space: nowrap; }
.join-tag[data-verified="true"] { color: #1d6b45; }
.join-issued { margin: 10px 0; padding: 12px 16px; border: 1px solid var(--plum); border-radius: 14px; }
.join-issued p { margin: 0 0 8px; font-size: 13px; }
.join-copy { display: flex; gap: 8px; align-items: center; }
.join-copy input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.usage-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.usage-tools span { margin-right: auto; }
.usage-tools [hidden] { display: none; }
/* 접는 칸의 요약 줄: 접힘 표시를 붙인다(표시가 없어 빈 카드로 보였다). 직원·부서의 줄은 '편집'이 그 구실을 한다 */
:is(details.admin-block,.admin-block > details:not(.admin-delete):not([data-admin-member]):not([data-admin-department])) > summary::after {
  content: ""; flex: none; width: 7px; height: 7px; margin: 0 6px 4px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
:is(details.admin-block,.admin-block > details:not(.admin-delete):not([data-admin-member]):not([data-admin-department]))[open] > summary::after { transform: rotate(225deg); margin-bottom: 0; }
html[data-theme="dark"] .join-waiting :is(.admin-hint,li small) { color: var(--ink); opacity: .8; }
html[data-theme="dark"] .join-waiting li { border-top-color: #ffffff24; }
html[data-theme="dark"] .usage-notice small { color: var(--ink); opacity: .8; }
