:root {
  font-family:-apple-system,BlinkMacSystemFont,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  color:#18191b;
  background:#eeeff2;
  line-height:1.45;
  font-synthesis:none;
  color-scheme:light;
  --muted:#797e90;
  --paper:#FCFCFD;
  --gray:#f0f0f2;
  --blue:#D6EAFE;
  --shadow:0 5px 16px #0000000a;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

button,input,textarea {
  font:inherit;
}

button {
  cursor:pointer;
  border:0;
  color:inherit;
  background:none;
  min-height:44px;
  -webkit-tap-highlight-color:transparent;
}

button:disabled {
  cursor:default;
  opacity:.4;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:2px solid #347ac3;
  outline-offset:4px;
}

img {
  display:block;
  object-fit:contain;
}

h1,h2,h3,p {
  margin:0;
}

h1,h2,h3 {
  font-weight:600;
}

h1 {
  font-size:24px;
}

h2 {
  font-size:20px;
}

h3 {
  font-size:18px;
}

p {
  overflow-wrap:anywhere;
}

input,textarea {
  width:100%;
  border:0;
  border-radius:14px;
  background:var(--gray);
  color:inherit;
  font-size:17px;
  padding:14px 16px;
  outline-offset:2px;
}

textarea {
  resize:none;
}

input::placeholder,textarea::placeholder {
  color:#9095a1;
}

label {
  display:block;
}

input[type=radio],input[type=checkbox] {
  width:19px;
  height:19px;
  flex:none;
  accent-color:#4792cb;
}

button img {
  width:24px;
  height:24px;
  flex:none;
}

[hidden] {
  display:none!important;
}

.muted,.page-note,.page-note p {
  color:var(--muted);
}

.small {
  font-size:14px;
}

.body {
  white-space:pre-wrap;
  word-break:break-word;
}

.mono {
  font:12px/1.6 ui-monospace,SFMono-Regular,monospace;
  overflow-wrap:anywhere;
}

.warning {
  color:#936313;
  background:#fffaef;
  border-radius:12px;
  padding:12px;
  font-size:14px;
}

.sr-only {
  position:absolute;
  clip:rect(0,0,0,0);
  clip-path:inset(50%);
  width:1px;
  height:1px;
  overflow:hidden;
  white-space:nowrap;
}

.m0-badge {
  display:inline-block;
  font:500 10px/1.4 ui-monospace,monospace;
  color:#9296a0;
  border:1px solid #e3e5e9;
  border-radius:5px;
  padding:2px 5px;
  letter-spacing:.5px;
}

.phone-shell {
  position:relative;
  width:100%;
  max-width:426px;
  height:100dvh;
  min-height:600px;
  margin:auto;
  overflow:hidden;
  background:var(--paper);
}

#workspace,.page {
  height:100%;
}

.page {
  display:flex;
  flex-direction:column;
}

.page-scroll {
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding-bottom:32px;
  scrollbar-width:none;
}

.page-scroll::-webkit-scrollbar,.message-list::-webkit-scrollbar {
  display:none;
}

.content-pad {
  padding:20px 21px 40px;
}

.content-pad>p {
  margin-bottom:20px;
}

.primary {
  background:#303233;
  color:white;
  border-radius:30px;
  font-size:19px;
  font-weight:500;
  min-height:52px;
  padding:12px 24px;
}

.soft {
  background:white;
  box-shadow:var(--shadow);
  border-radius:30px;
  padding:14px 24px;
  font-size:18px;
  min-height:56px;
}

.wide {
  width:100%;
}

.text-button {
  font-size:14px;
  color:#5f6d81;
  text-decoration:underline;
  text-underline-offset:4px;
  padding:8px 0;
}

.circle {
  display:grid;
  place-items:center;
  width:49px;
  height:49px;
  min-height:49px;
  border-radius:50%;
  background:white;
  box-shadow:var(--shadow);
  flex:none;
}

.circle img {
  width:23px;
  height:23px;
}

.icon-tile {
  display:grid;
  place-items:center;
  flex:none;
  width:48px;
  height:51px;
  border-radius:17px;
  background:#f0f1f3;
}

.icon-tile img {
  width:25px;
  height:25px;
}

.page-note {
  font-size:14px;
  line-height:1.65;
  text-align:center;
}

.empty-note {
  text-align:center;
  color:var(--muted);
  padding:60px 20px;
}

.sub-header {
  height:130px;
  flex:none;
  position:relative;
  padding:48px 20px 22px;
  display:flex;
  align-items:center;
}

.sub-header h1 {
  position:absolute;
  left:76px;
  right:76px;
  text-align:center;
  font-size:20px;
  font-weight:500;
  pointer-events:none;
}

.sub-header>.m0-badge {
  margin-left:auto;
}

.root-header {
  height:148px;
  position:relative;
  flex:none;
  padding:48px 20px 0;
  text-align:center;
}

.root-header h1 {
  display:inline-flex;
  align-items:center;
  background:white;
  border-radius:20px;
  height:41px;
  margin-top:6px;
  padding:0 16px;
  box-shadow:var(--shadow);
  font-size:17px;
  font-weight:500;
}

.root-header>p {
  margin-top:16px;
  font-size:14px;
}

.menu-button {
  position:absolute;
  left:20px;
  top:48px;
}

.avatar-name {
  display:flex;
  align-items:center;
  flex-direction:column;
}

.avatar-name .avatar {
  width:54px;
  height:49px;
  object-fit:contain;
}

.avatar-name>span {
  font-size:16px;
  font-weight:500;
  max-width:240px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  background:#fff;
  border-radius:11px;
  box-shadow:var(--shadow);
  padding:5px 14px;
  margin-top:-2px;
  min-height:33px;
}

.chat-header {
  position:relative;
  flex:none;
  height:174px;
  padding-top:48px;
  text-align:center;
}

.connection-summary {
  height:36px;
  min-height:36px;
  max-width:calc(100% - 42px);
  margin:4px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#737b88;
  font-size:12px;
  padding:0 5px;
}

.connection-summary img {
  width:14px;
  height:14px;
}

.connection-summary .small-chevron {
  width:11px;
}

.connection-summary span {
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}

.root-dock {
  flex:none;
  padding:10px 16px max(28px,env(safe-area-inset-bottom));
  background:var(--paper);
  z-index:2;
}

.tab-bar {
  padding:0 18px;
  height:60px;
  border-radius:30px;
  background:white;
  display:flex;
  align-items:center;
  justify-content:space-around;
  box-shadow:0 4px 14px #00000006;
}

.tab-bar button {
  width:66px;
  height:47px;
  border-radius:24px;
  display:grid;
  place-items:center;
}

.tab-bar button[aria-current=page] {
  background:#f1f2f5;
}

.tab-bar img {
  width:27px;
  height:27px;
}

.composer {
  background:#fff;
  box-shadow:var(--shadow);
  border-radius:26px;
  margin-bottom:12px;
  overflow:hidden;
}

.composer-row {
  display:flex;
  align-items:flex-end;
  min-height:52px;
  padding:4px 4px 4px 17px;
  gap:8px;
}

.composer textarea {
  background:transparent;
  border-radius:0;
  padding:8px 0 7px;
  font-size:18px;
  height:40px;
  max-height:116px;
  min-height:40px;
  line-height:25px;
  flex:1;
}

.send-button {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  min-height:44px;
  border-radius:50%;
  background:#fff;
  flex:none;
}

.send-button img {
  width:23px;
  height:23px;
}

.send-button:disabled {
  background:#e7e8ec;
  opacity:.5;
}

.composer #quote {
  margin:10px 12px 0;
  border-radius:12px;
  background:#fff;
  padding:10px 12px;
  display:flex;
  gap:10px;
  align-items:center;
}

.composer #quote p {
  font-size:12px;
  flex:1;
}

.composer #quote button {
  font-size:12px;
  min-width:44px;
  line-height:1.4;
  padding:0;
  color:#707888;
}

.message-list {
  min-height:0;
  flex:1;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:0 21px 18px;
  scrollbar-width:none;
}

.message-day {
  font-size:12px;
  text-align:center;
  color:#9298a7;
  margin:7px 0 20px;
}

.message-row {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  margin-bottom:18px;
}

.message-row.user {
  align-items:flex-end;
}

.bubble {
  background:var(--gray);
  border-radius:19px;
  padding:13px 14px;
  max-width:88%;
  min-width:100px;
  font-size:17px;
  line-height:1.55;
}

.user>.bubble {
  background:var(--blue);
}

.bubble p+p {
  margin-top:7px;
}

.bubble .quote {
  background:#f4f9ffbb;
  border-left:2px solid #becad6;
  border-radius:10px;
  padding:10px 12px;
  font-size:13px;
  color:#677786;
  margin-bottom:10px;
}

.message-meta {
  font-size:12px;
  color:#9198a7;
  max-width:92%;
  margin-top:6px;
}

.message-actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:2px;
  color:#9298a7;
  font-size:12px;
}

.message-actions button {
  font-size:12px;
  min-height:30px;
  padding:0 4px;
  color:#797e90;
}

.receipt-details {
  max-width:100%;
  color:#797e90;
  font-size:12px;
  margin-top:0;
}

.receipt-details summary {
  cursor:pointer;
  min-height:32px;
  display:flex;
  align-items:center;
  gap:5px;
  list-style:none;
}

.receipt-details summary::after {
  content:'⌄';
  font-size:14px;
}

.receipt-details[open] {
  background:#f0f0f2;
  border-radius:12px;
  padding:6px 10px;
}

.receipt-details[open] summary::after {
  content:'⌃';
}

.receipt-details .receipt {
  margin:8px 0;
}

.receipt-details .body {
  font-size:13px;
  color:#555d6a;
}

.question-link {
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  text-align:left;
  background:#fff;
  border-radius:12px;
  min-height:44px;
  padding:8px 12px;
  margin-top:10px;
  font-size:15px;
}

.question-link img {
  width:13px;
  height:13px;
}

.chat-empty {
  height:100%;
  min-height:310px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  padding:20px 10px 50px;
}

.chat-empty>img {
  width:40px;
  height:40px;
  margin-bottom:30px;
  opacity:.65;
}

.chat-empty h2 {
  font-size:22px;
  font-weight:500;
}

.chat-empty p {
  font-size:17px;
  line-height:1.7;
  color:#8990a0;
  margin-top:12px;
}

.chat-empty .empty-caption {
  font-size:14px;
  max-width:286px;
  margin-top:30px;
}

.chat-empty button {
  margin-top:8px;
}

.task-scroll {
  flex:1;
  padding:4px 21px 20px;
}

.search-field {
  position:relative;
}

.search-field>img {
  position:absolute;
  left:15px;
  top:15px;
  width:18px;
  height:18px;
}

.search-field>input {
  height:48px;
  padding:10px 20px 10px 45px;
  border-radius:24px;
  background:#f0f1f3;
  font-size:18px;
}

.task-filters {
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin:10px 0 14px;
}

.task-filters button {
  font-size:16px;
  border-radius:22px;
  padding:0 9px;
  white-space:nowrap;
  min-height:44px;
  flex:1;
  background:white;
  border:1px solid #eaebef;
  color:#797e90;
}

.task-filters button:first-child {
  flex:.9;
}

.task-filters button[aria-pressed=true] {
  background:#eeeff3;
  border-color:#eeeff3;
  color:#18191b;
}

.task-group {
  margin-top:22px;
}

.task-group:first-child {
  margin-top:0;
}

.task-group>h2 {
  font-size:18px;
  font-weight:500;
  margin:0 1px 7px;
}

.task-card {
  width:100%;
  text-align:left;
  display:flex;
  align-items:flex-start;
  gap:17px;
  padding:16px 18px;
  background:#f1f2f4;
  border-radius:18px;
  margin-bottom:12px;
}

.task-card .task-icon {
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  flex:none;
  background:#fff;
  border-radius:50%;
  margin-top:1px;
}

.task-card .task-icon img {
  width:22px;
  height:22px;
}

.task-card .task-copy {
  flex:1;
  min-width:0;
}

.task-card strong {
  display:block;
  font-size:18px;
  font-weight:500;
  line-height:1.3;
  overflow-wrap:anywhere;
}

.task-card small {
  display:block;
  font-size:13px;
  line-height:1.3;
  color:#7c8493;
  margin-top:0;
}

.task-card .task-preview {
  font-size:14px;
  line-height:1.5;
  color:#707989;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-top:4px;
}

.task-card>.chevron {
  width:12px;
  height:16px;
  align-self:center;
  margin-left:0;
}

.task-scroll>.page-note {
  margin-top:30px;
  font-size:14px;
}

.tasks-empty {
  text-align:center;
  padding:96px 28px 30px;
}

.tasks-empty .empty-icon {
  display:grid;
  place-items:center;
  width:93px;
  height:93px;
  border-radius:50%;
  background:#f0f1f4;
  margin:0 auto 26px;
}

.tasks-empty img {
  width:52px;
  height:52px;
  opacity:.7;
}

.tasks-empty h2 {
  font-size:24px;
  font-weight:500;
  line-height:1.5;
}

.tasks-empty p {
  color:#8790a0;
  font-size:17px;
  line-height:1.8;
  margin-top:18px;
}

.tasks-empty button {
  font-size:17px;
  min-height:49px;
  margin-top:25px;
  padding:12px 27px;
}

.tasks-empty .empty-caption {
  font-size:15px;
  line-height:1.7;
  margin-top:29px;
}

.settings-content {
  padding:8px 21px 32px;
}

.settings-group {
  background:#f0f0f2;
  border-radius:22px;
  padding:13px 11px;
  margin:10px 0 15px;
}

.settings-row {
  display:flex;
  align-items:center;
  text-align:left;
  width:100%;
  min-height:77px;
  gap:17px;
  background:#fff;
  padding:12px 16px;
}

.settings-row:first-child {
  border-radius:11px 11px 0 0;
}

.settings-row:last-child {
  border-radius:0 0 11px 11px;
}

.settings-row:only-child {
  border-radius:11px;
}

.settings-row+.settings-row {
  position:relative;
}

.settings-row+.settings-row::before {
  content:'';
  position:absolute;
  top:0;
  left:78px;
  right:0;
  border-top:1px solid #e6e7eb;
}

.settings-row .icon-tile {
  width:44px;
  height:44px;
  background:#f3f4f6;
  border-radius:50%;
}

.settings-row .icon-tile img {
  width:23px;
  height:23px;
}

.settings-row>span:nth-child(2) {
  flex:1;
  min-width:0;
}

.settings-row strong {
  font-size:20px;
  font-weight:500;
  display:block;
}

.settings-row small {
  display:block;
  font-size:14px;
  color:#89909e;
  margin-top:4px;
}

.settings-row>.chevron {
  width:13px;
  height:16px;
}

.settings-description {
  font-size:14px;
  color:#7d8593;
  line-height:1.7;
  padding:12px 15px 4px;
}

.settings-content>.soft {
  margin-top:22px;
}

.settings-content>.page-note {
  margin-top:20px;
}

.connection-content {
  padding:8px 21px 30px;
}

.connection-avatar {
  margin:0 0 28px;
}

.connection-card,.form-card,.diagnostics {
  border-radius:22px;
  background:var(--gray);
  padding:21px;
  margin-bottom:18px;
}

.connection-card>p+p {
  margin-top:10px;
}

.connection-card .status {
  font-size:19px;
}

.form-card label {
  font-size:16px;
  margin-bottom:10px;
}

.form-card input {
  background:white;
  margin-bottom:18px;
}

.diagnostics {
  margin-top:25px;
  background:transparent;
  padding:0 4px;
}

.diagnostics h2 {
  font-size:17px;
  margin-bottom:12px;
}

.diagnostics p {
  margin-top:10px;
}

.diagnostics .m0-badge {
  vertical-align:middle;
  margin-left:4px;
}

.pairing-content {
  text-align:center;
  padding:0 21px 34px;
  flex:1;
}

.pairing-avatar {
  margin:0 auto 72px;
}

.pairing-content h2 {
  font-size:27px;
  line-height:1.5;
  font-weight:600;
  margin:0 -3px 10px;
}

.pairing-lead {
  color:#858b99;
  font-size:16px;
  line-height:1.65;
}

.pairing-code {
  background:var(--gray);
  border-radius:22px;
  min-height:71px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:21px;
  letter-spacing:1px;
  margin:29px 0 10px;
  padding:17px;
}

.pairing-expiry {
  font-size:14px;
  color:#9298a4;
  margin-top:5px;
}

.copy-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:59px;
  font-size:20px;
  padding:12px 28px;
  border-radius:30px;
  background:white;
  box-shadow:var(--shadow);
  margin-top:35px;
}

.copy-button img {
  width:24px;
  height:24px;
}

.pairing-waiting {
  margin:42px auto 44px;
  color:#949ba8;
  font-size:16px;
}

.waiting-ring {
  display:block;
  width:29px;
  height:29px;
  border:2px solid #dedfe4;
  border-top-color:#858c9b;
  border-radius:50%;
  margin:0 auto 16px;
  animation:turn 1.3s linear infinite;
}

.pairing-bottom {
  margin-top:24px;
  background:#f1f2f4;
  width:100%;
  border-radius:30px;
  min-height:58px;
  color:#707989;
  font-size:18px;
}

.pairing-create {
  margin-top:36px;
}

.pairing-form {
  text-align:left;
  background:var(--gray);
  border-radius:22px;
  padding:20px;
  margin:28px 0;
}

.pairing-form input {
  background:#fff;
  margin:10px 0 18px;
}

.pairing-form .secret {
  font:13px/1.6 ui-monospace,monospace;
  overflow-wrap:anywhere;
  background:#fff;
  border-radius:10px;
  padding:12px;
  margin:10px 0 20px;
}

.pairing-form button {
  width:100%;
}

.pairing-content details {
  text-align:left;
  font-size:13px;
  color:#7c8492;
  margin:20px 0;
}

.pairing-content pre,.item pre {
  overflow-wrap:anywhere;
  white-space:pre-wrap;
  font-size:11px;
}

.pairing-content .warning {
  text-align:left;
  margin-top:20px;
}

.verify .pairing-avatar {
  margin:10px auto 26px;
}

.verify .avatar {
  width:76px;
  height:79px;
}

.verify h2 {
  font-size:29px;
}

.proof-list {
  text-align:left;
  border-radius:22px;
  background:var(--gray);
  padding:20px 22px;
  margin:28px 0 18px;
}

.proof-list p {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:18px;
  margin:8px 0;
}

.proof-list img {
  width:25px;
  height:25px;
}

.verify-card {
  background:#fff;
  text-align:left;
  padding:22px;
  border-radius:25px;
  box-shadow:var(--shadow);
  margin-bottom:26px;
}

.verify-card label {
  display:flex;
  align-items:flex-start;
  font-size:16px;
  gap:10px;
  line-height:1.6;
}

.verify-card input {
  margin-top:4px;
}

.verify-card .warning {
  margin:15px 0 0;
}

.verify>.primary {
  min-height:60px;
  font-size:19px;
}

.verify>.pairing-bottom {
  margin-top:12px;
}

.item {
  border-radius:18px;
  background:var(--gray);
  padding:18px;
  margin:15px 0;
}

.item>p {
  margin-bottom:12px;
}

.item button {
  border-radius:25px;
  background:#fff;
  padding:8px 17px;
  margin-top:12px;
  margin-right:7px;
  font-size:14px;
}

.item summary {
  padding:10px 0;
  font-size:14px;
}

.task-detail-summary {
  background:var(--gray);
  padding:22px;
  border-radius:22px;
  margin-bottom:20px;
}

.task-detail-summary h2 {
  font-size:23px;
  margin-bottom:10px;
}

.task-detail-summary p {
  margin-top:10px;
}

.question-preview {
  background:#f0f0f2;
  border-radius:19px;
  padding:18px;
  margin:18px 0;
}

.question-preview h3 {
  font-size:18px;
}

.question-preview p {
  margin-top:10px;
  font-size:15px;
}

.sheet-overlay {
  position:absolute;
  inset:0;
  background:#0006;
  z-index:10;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.question-sheet {
  position:relative;
  width:100%;
  max-height:92%;
  overflow-y:auto;
  background:var(--paper);
  border-radius:27px 27px 0 0;
  padding:29px 21px max(34px,env(safe-area-inset-bottom));
  box-shadow:0 -8px 30px #0000000b;
  overscroll-behavior:contain;
}

.sheet-handle {
  position:absolute;
  top:11px;
  left:calc(50% - 20.5px);
  width:41px;
  height:5px;
  border-radius:3px;
  background:#d9dade;
}

.question-sheet>h1 {
  font-size:24px;
  margin:0 45px 12px 0;
}

.question-sheet>#question-source {
  margin-bottom:25px;
}

.close-sheet {
  position:absolute;
  top:19px;
  right:14px;
  width:44px;
  height:44px;
  min-height:44px;
  background:#fff;
}

.close-sheet img {
  width:17px;
  height:17px;
}

.question-summary {
  background:var(--gray);
  border-radius:19px;
  padding:17px 18px;
  margin-bottom:14px;
}

.question-summary h3 {
  font-size:18px;
  font-weight:500;
}

.question-summary p {
  font-size:15px;
  color:#798290;
  margin-top:8px;
}

.question-version {
  font-size:12px;
  color:#8b929e;
  margin:0 2px 12px;
}

.options {
  display:grid;
  gap:8px;
  margin-bottom:25px;
}

.options label {
  display:flex;
  gap:10px;
  align-items:center;
  border:1px solid #eaebef;
  border-radius:16px;
  min-height:51px;
  padding:12px 14px;
  font-size:17px;
  background:#fff;
  cursor:pointer;
}

.options label:has(input:checked) {
  background:#e3f1ff;
  border-color:#c4e1ff;
}

.options label span {
  line-height:1.5;
}

.options input {
  margin:0;
}

.question form>label {
  font-size:17px;
  margin:0 2px 10px;
}

.question textarea {
  height:80px;
  font-size:16px;
  border-radius:17px;
  margin-bottom:9px;
}

.question form>.page-note {
  text-align:left;
  margin:0 2px 18px;
  font-size:14px;
}

.question form>.primary {
  min-height:52px;
  font-size:18px;
}

.question details {
  font-size:13px;
  margin:14px 0;
}

.question>.warning {
  margin:16px 0;
}

#notice {
  position:absolute;
  z-index:20;
  top:12px;
  left:18px;
  right:18px;
  background:#fff;
  box-shadow:0 4px 20px #0002;
  border-radius:14px;
  padding:13px 16px;
  font-size:14px;
  color:#586273;
  max-height:140px;
  overflow:auto;
}

#notice.error {
  background:#fffaef;
  color:#886224;
}

.login-page {
  height:100%;
  overflow:auto;
  padding:clamp(108px,15.8dvh,148px) 22px 45px;
  position:relative;
  text-align:center;
}

.login-page>.m0-badge {
  position:absolute;
  right:25px;
  top:28px;
}

.login-page h1 {
  font-size:42px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.2px;
}

.login-subtitle {
  font-size:20px;
  color:#7c7f86;
  margin-top:6px;
}

.service-field {
  margin:22px 6px 0;
  text-align:left;
}

.service-field label {
  font-size:16px;
  margin:0 3px 8px;
}

.service-field input {
  border-radius:14px;
  height:51px;
  background:#f1f2f4;
  font-size:15px;
  padding:12px 17px;
}

.service-field>p {
  font-size:14px;
  margin:10px 4px 0;
  line-height:1.6;
}

.login-card {
  display:flex;
  align-items:center;
  gap:16px;
  text-align:left;
  background:#fff;
  box-shadow:var(--shadow);
  border-radius:26px;
  min-height:94px;
  padding:20px 19px;
  margin-top:31px;
}

.login-card h2 {
  font-size:18px;
  font-weight:500;
}

.login-card p {
  font-size:15px;
  color:#888e99;
  margin-top:7px;
  line-height:1.5;
}

.login-button {
  width:calc(100% - 6px);
  margin-top:38px;
  min-height:50px;
  padding:11px 20px;
}

.login-note {
  font-size:14px;
  color:#9297a3;
  margin-top:12px;
  line-height:1.7;
}

@keyframes turn {
  to {
    transform:rotate(360deg);
  }
}

@media(prefers-reduced-motion:reduce) {
  .waiting-ring {
    animation:none;
  }
}

@media(min-height:900px) {
  .chat-header {
    height:184px;
    padding-top:58px;
  }
  .menu-button {
    top:58px;
  }
  .root-header {
    padding-top:58px;
    height:153px;
  }
  .sub-header {
    padding-top:58px;
    height:133px;
  }
  .root-dock {
    padding-bottom:max(38px,env(safe-area-inset-bottom));
  }
}

@media(min-width:600px) {
  .phone-shell {
    margin:24px auto;
    height:min(923px,calc(100dvh - 48px));
    border-radius:24px;
    box-shadow:0 8px 48px #242a3612;
  }
}

@media(max-width:370px) {
  .task-filters button {
    font-size:14px;
    padding:0 10px;
  }
  .settings-row {
    gap:12px;
    padding:12px;
  }
  .settings-row strong {
    font-size:18px;
  }
  .pairing-content h2 {
    font-size:24px;
  }
  .login-card {
    padding:18px 14px;
    gap:12px;
  }
  .login-card p {
    font-size:13px;
  }
}

.phone-shell.keyboard-open {
  min-height:0;
}

.keyboard-open .tab-bar {
  display:none;
}

.keyboard-open .root-dock {
  padding-bottom:8px;
}

.keyboard-open .composer {
  margin-bottom:0;
}

.keyboard-open .chat-header {
  height:130px;
  padding-top:16px;
}

.keyboard-open .chat-header .menu-button {
  top:16px;
}

.keyboard-open .question-sheet {
  max-height:100%;
  border-radius:20px 20px 0 0;
  padding-bottom:16px;
}

.connection-facts {
  margin:18px -8px -8px;
  background:white;
  border-radius:14px;
  padding:0 14px;
}

.connection-fact {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-height:54px;
  padding:12px 0;
  font-size:15px;
}

.connection-fact + .connection-fact {
  border-top:1px solid #eceef1;
}

.connection-fact > span:last-child {
  text-align:right;
  font-size:14px;
}

.task-card[data-state="waiting_user"] .task-state::before,
.question-link .pending-dot {
  content:'';
  display:inline-block;
  width:7px;
  height:7px;
  background:#f7a300;
  border-radius:50%;
  margin-right:6px;
  flex:none;
}

.task-card[data-state="waiting_user"] .task-icon img {
  filter:invert(65%) sepia(93%) saturate(1913%) hue-rotate(359deg) brightness(103%) contrast(103%);
}

.question-link .pending-dot + span {
  flex:1;
}

.message-actions .receipt-details[open] {
  flex-basis:100%;
}
