:root {
  --paper: #f7f6f1;
  --ink: #273b31;
  --muted: #7e847a;
  --line: #e4e5db;
  --green: #385845;
  --sage: #e7ece1;
  --serif: Georgia, "Times New Roman", serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button {
  border: 0;
  color: inherit;
  background: none;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: 31px;
  letter-spacing: -0.7px;
  margin-bottom: 4px;
}
p {
  line-height: 1.65;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: var(--muted);
}
.wordmark {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -1.8px;
  white-space: nowrap;
}
.wordmark span {
  font-style: italic;
}
.wordmark sup {
  font-family: Arial;
  font-size: 7px;
  letter-spacing: 1.6px;
  vertical-align: top;
  margin: 5px 0 0 7px;
  display: inline-block;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--green);
  color: #fff;
  padding: 14px 19px;
  border-radius: 6px;
  font-size: 12px;
}
.primary:hover {
  background: #284632;
}
.primary span {
  font-size: 18px;
}
.text-button {
  font-size: 11px;
}
.icon-button {
  font-size: 21px;
  line-height: 1;
  padding: 8px;
  border-radius: 5px;
}
.icon-button:hover {
  background: var(--sage);
}
header {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 46px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: #fcfbf7;
}
.project-picker {
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.project-picker select {
  background: none;
  border: 0;
  font-size: 12px;
  max-width: 240px;
  color: var(--ink);
}
.header-right {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}
.private {
  font-size: 10px;
  color: var(--muted);
}
.private i,
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #688a61;
  display: inline-block;
  margin-right: 7px;
}
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  max-width: 1900px;
  margin: auto;
  min-height: calc(100vh - 82px);
}
.canvas-panel {
  padding: 32px 28px 24px;
  min-width: 0;
}
.canvas-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.canvas-heading .eyebrow {
  display: block;
  margin-bottom: 9px;
}
.revision-pill {
  font-size: 9px;
  border: 1px solid #dce2d5;
  background: #edf1e8;
  padding: 8px 10px;
  border-radius: 30px;
  color: #63765e;
}
.viewer-wrap {
  height: clamp(360px, 56vh, 700px);
  position: relative;
  background: #ecebe3;
  border: 1px solid #e2e2d8;
  border-radius: 9px;
  overflow: hidden;
}
#viewer {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.viewer-caption {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 9px;
  background: #fcfbf3e8;
  border: 1px solid #ffffff9c;
  border-radius: 20px;
  padding: 9px 12px;
  color: #697064;
  pointer-events: none;
}
.view-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  background: #fcfbf7e8;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
}
.view-tools button {
  font-size: 10px;
  padding: 8px 9px;
  border-radius: 4px;
}
.view-tools button.active {
  background: var(--sage);
  color: #3f5c40;
}
.viewer-hint {
  font-size: 9px;
  color: #777c70;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #fcfbf3c9;
  padding: 8px 13px;
  border-radius: 20px;
  white-space: nowrap;
}
.selection {
  position: absolute;
  bottom: 50px;
  left: 18px;
  background: #fffffff0;
  padding: 14px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 20px #263e2012;
  font-size: 11px;
  max-width: 300px;
}
.selection strong {
  display: block;
  margin-bottom: 7px;
}
.selection small {
  color: var(--muted);
  line-height: 1.5;
  display: block;
}
.viewer-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 50%, #f4f3e9, #e6e7dd);
  text-align: center;
}
.viewer-empty[hidden] {
  display: none;
}
.empty-icon {
  font-size: 58px;
  color: #8c9b80;
  margin-bottom: 16px;
}
.viewer-empty h2 {
  font-size: 29px;
  margin-bottom: 10px;
}
.viewer-empty p {
  font-size: 12px;
  color: var(--muted);
}
.output-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 0 19px;
}
.output-bar p {
  font-size: 12px;
  margin: 5px 0 0;
}
.output-bar .primary {
  font-size: 11px;
}
.job-panel {
  padding: 14px;
  background: #ecefe6;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  margin-bottom: 16px;
}
.job-panel > div {
  display: flex;
  justify-content: space-between;
}
.job-panel progress {
  width: 100%;
  height: 5px;
  accent-color: var(--green);
  margin: 12px 0;
}
.job-panel > span {
  font-size: 10px;
  color: var(--muted);
}
.outputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.output-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 7px;
}
.output-card img {
  width: 100%;
  display: block;
  border-radius: 4px;
}
.output-card h3 {
  font-family: Arial;
  font-weight: 600;
  font-size: 11px;
  margin: 12px 0 5px;
}
.output-card p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.download {
  font-size: 11px;
  display: inline-block;
  padding: 12px 0;
  text-underline-offset: 4px;
}
aside {
  border-left: 1px solid var(--line);
  background: #fcfbf7;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 82px);
  position: sticky;
  top: 0;
}
.sidebar-heading {
  padding: 26px 20px 22px;
  display: flex;
  gap: 11px;
  align-items: center;
}
.sidebar-heading strong {
  font-size: 12px;
  font-weight: 500;
}
.sidebar-heading small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.sidebar-heading .icon-button {
  margin-left: auto;
}
.agent-avatar {
  background: #e6ebde;
  width: 33px;
  height: 36px;
  border-radius: 20px 20px 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-family: var(--serif);
  font-size: 24px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 0 17px;
  gap: 20px;
}
.tabs button {
  font-size: 10px;
  padding: 0 0 15px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.tabs .active {
  color: var(--ink);
  border-bottom-color: var(--green);
}
.tabs span {
  font-size: 9px;
  background: #e9ecdf;
  padding: 2px 5px;
  border-radius: 10px;
  margin-left: 3px;
}
.tab-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 20px;
}
.tab-panel[hidden] {
  display: none;
}
#messages {
  flex: 1;
  overflow: auto;
  padding-top: 26px;
  min-height: 0;
  overscroll-behavior-y: contain;
  overflow-wrap: anywhere;
}
.message {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.message h3 {
  font-size: 25px;
  line-height: 1.3;
  margin: 13px 0;
}
.message p {
  color: #6e766a;
}
.message.user {
  margin-left: 26px;
  background: #eaf0e4;
  padding: 12px 15px;
  border-radius: 9px 9px 0 9px;
  white-space: pre-wrap;
}
.message.assistant .mode-note {
  font-size: 9px;
  color: #858a7d;
  line-height: 1.6;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.suggestions {
  display: flex;
  gap: 7px;
  padding: 16px 0 12px;
  flex-wrap: wrap;
}
.suggestions button {
  font-size: 9px;
  border: 1px solid #e1e3d7;
  padding: 8px 9px;
  border-radius: 20px;
}
.suggestions button:hover {
  background: var(--sage);
}
#chat-form {
  border: 1px solid #d8ddcf;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
textarea {
  border: 0;
  resize: none;
  display: block;
  width: 100%;
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink);
  background: transparent;
}
textarea::placeholder {
  color: #989c92;
}
textarea:focus {
  outline: none;
}
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.composer-footer span {
  font-size: 8px;
  color: #9b9f93;
}
.send-button {
  min-width: 64px;
  height: 40px;
  background: var(--green);
  color: white;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
}
.chat-footnote {
  font-size: 8px;
  text-align: center;
  color: #929789;
  padding: 9px 0 14px;
  margin: 0;
  line-height: 1.5;
}
#selected-chip {
  font-size: 9px;
  background: var(--sage);
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  max-width: 100%;
  overflow: hidden;
}
.panel-intro {
  font-size: 11px;
  color: var(--muted);
  padding-top: 20px;
}
#history {
  overflow: auto;
}
.history-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.history-item strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.history-item small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin: 8px 0;
}
.history-item button {
  font-size: 10px;
  text-decoration: underline;
  margin-right: 10px;
}
#details {
  overflow: auto;
  font-size: 11px;
  line-height: 1.7;
  padding-top: 20px;
}
#details h3 {
  font-size: 21px;
  margin: 18px 0 9px;
}
#details p {
  color: var(--muted);
}
#details li {
  margin-bottom: 9px;
}
.mobile-nav,
#collapse-chat {
  display: none;
}
.transcript-message {
  white-space: pre-wrap;
  -webkit-user-select: text;
  user-select: text;
}
#latest-messages {
  align-self: center;
  flex: 0 0 auto;
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 12px;
}
#chat-form,
.suggestions,
.chat-footnote,
.sidebar-heading,
.tabs {
  flex-shrink: 0;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-art {
  background: #e2e5d8;
  position: relative;
  padding: 38px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.login-art p {
  font-family: var(--serif);
  font-size: 37px;
  line-height: 1.25;
  z-index: 1;
  margin-top: auto;
  padding-top: 350px;
}
.login-art p em {
  color: #63735d;
}
.login-art > .eyebrow {
  margin-top: 30px;
}
.art-room {
  position: absolute;
  left: 15%;
  top: 17%;
  width: 70%;
  height: 52%;
  background: linear-gradient(115deg, #d1d6c6, #f0eee0);
  border-radius: 160px 160px 0 0;
  box-shadow: inset -18px -10px 60px #7b8b6533;
}
.art-window {
  position: absolute;
  left: 18%;
  top: 14%;
  width: 35%;
  height: 43%;
  background: linear-gradient(115deg, #f9faf1, #c9d4ba);
  border: 9px solid #f5f2e7;
  border-radius: 80px 80px 0 0;
  box-shadow: 25px 40px 30px #74856222;
}
.art-table {
  position: absolute;
  left: 27%;
  top: 61%;
  width: 58%;
  height: 8%;
  border-radius: 50%;
  background: #9c7f59;
  box-shadow:
    0 8px #8c714f,
    0 35px 22px #485c3033;
}
.art-table:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 46%;
  height: 90px;
  width: 16px;
  background: #947c59;
}
.art-pot {
  position: absolute;
  top: 42%;
  left: 73%;
  width: 35px;
  height: 65px;
  border-radius: 15px 15px 10px 10px;
  background: linear-gradient(90deg, #aa8f70, #c0ab8b);
  transform: rotate(-4deg);
  box-shadow: -2px 20px 35px #5d694922;
}
.art-pot:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 65px;
  left: 18px;
  bottom: 60px;
  background: #78876a;
  transform: rotate(14deg);
  border-radius: 90%;
}
.art-stool {
  position: absolute;
  top: 77%;
  left: 22%;
  width: 65px;
  height: 33px;
  border-radius: 50%;
  background: #f0e9d7;
  box-shadow: 0 35px 0 -12px #a8997f;
}
.login-shell form {
  width: 310px;
  max-width: 90%;
  align-self: center;
  justify-self: center;
}
.login-shell form h1 {
  font-size: 41px;
  margin: 20px 0 13px;
}
.login-shell form > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
label {
  font-size: 11px;
  display: block;
  margin-bottom: 18px;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid #d7dccf;
  background: #fcfbf7;
  border-radius: 5px;
  padding: 12px;
  margin-top: 8px;
  color: var(--ink);
}
.login-shell .primary {
  width: 100%;
  margin: 25px 0;
}
.login-shell small {
  display: block;
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}
.login-shell #login-error {
  color: #a14636;
  font-size: 12px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  max-width: 470px;
  width: 95%;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #1c302570;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
dialog h2 {
  font-size: 29px;
  margin: 15px 0 8px;
}
dialog p {
  font-size: 12px;
  color: var(--muted);
}
.dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dimensions input {
  width: 100%;
  padding: 10px;
}
.input-note {
  font-size: 10px !important;
}
dialog .primary {
  width: 100%;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 30px;
  max-width: 450px;
  background: #2c4236;
  color: #fff;
  padding: 14px 20px;
  border-radius: 7px;
  z-index: 100;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 6px 25px #0002;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  main {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
  .canvas-panel {
    padding: 38px 40px;
  }
  .sidebar-heading {
    padding: 28px;
  }
  .tab-panel {
    padding: 0 28px;
  }
}
@media (max-width: 1100px) {
  header {
    padding: 0 18px;
    gap: 20px;
  }
  .project-picker {
    padding-left: 15px;
  }
  .project-picker .eyebrow {
    display: none;
  }
  .private {
    display: none;
  }
  main {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .canvas-panel {
    padding: 24px 18px;
  }
  .canvas-heading h1 {
    font-size: 25px;
  }
  .viewer-caption {
    top: 60px;
  }
  .view-tools {
    right: 10px;
    top: 10px;
  }
  .view-tools button {
    padding: 7px;
    font-size: 9px;
  }
  .revision-pill {
    max-width: 110px;
    text-align: center;
    font-size: 8px;
  }
}
.touch-hint,
#hide-keyboard {
  display: none;
}
.chat-job {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 16px 0;
  padding: 0 10px;
  background: var(--sage);
  border-radius: 6px;
  font-size: 12px;
}
.chat-job button {
  min-height: 44px;
  min-width: 44px;
  text-decoration: underline;
}
@media (max-width: 760px), (max-width: 1024px) and (pointer: coarse) {
  .wordmark {
    font-size: 24px;
  }
  .wordmark sup {
    display: none;
  }
  .project-picker {
    gap: 12px;
    flex: 1;
    padding-left: 10px;
    grid-column: 1 / -1;
    grid-row: 2;
    border: 0;
    padding: 0;
    min-width: 0;
  }
  .project-picker select {
    max-width: none;
    font-size: 16px;
    flex: 1;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 8px;
    background: var(--sage);
  }
  .project-picker .text-button {
    font-size: 13px;
    white-space: nowrap;
    min-height: 44px;
  }
  .header-right {
    gap: 0;
    grid-row: 1;
    grid-column: 2;
  }
  .header-right .icon-button {
    font-size: 18px;
    min-width: 44px;
    min-height: 44px;
  }
  main {
    display: block;
    min-height: calc(100svh - 112px);
  }
  .canvas-panel {
    padding: 22px 14px 80px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  .canvas-heading {
    gap: 10px;
    margin-bottom: 18px;
  }
  .canvas-heading h1 {
    font-size: 24px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .viewer-wrap {
    height: clamp(280px, calc(100svh - 280px), 560px);
    min-height: 280px;
  }
  .output-bar {
    gap: 15px;
  }
  .output-bar p {
    font-size: 10px;
  }
  .output-bar .primary {
    font-size: 10px;
    padding: 12px;
    gap: 10px;
    min-height: 44px;
  }
  .output-bar .eyebrow {
    font-size: 7px;
  }
  .viewer-hint {
    font-size: 11px;
    padding: 7px;
    max-width: 95%;
    text-align: center;
    white-space: normal;
  }
  .viewer-caption {
    font-size: 10px;
    padding: 7px;
    top: 72px;
    left: 12px;
  }
  body.conversation-open {
    overflow: hidden;
  }
  aside {
    display: none;
    position: fixed;
    top: var(--viewport-top, 0px);
    left: 0;
    right: 0;
    bottom: auto;
    max-height: none;
    height: var(--viewport-height, 100dvh);
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    overflow: hidden;
    z-index: 30;
  }
  aside.open {
    display: flex;
  }
  .sidebar-heading {
    padding: 12px 16px;
    min-height: 64px;
    border-bottom: 1px solid var(--line);
  }
  .sidebar-heading strong {
    font-size: 15px;
  }
  .sidebar-heading small {
    font-size: 11px;
  }
  #collapse-chat {
    display: block;
    font-size: 13px;
    min-width: 68px;
    min-height: 44px;
    white-space: nowrap;
    background: var(--sage);
  }
  .tabs {
    gap: 0;
    padding: 0 8px;
  }
  .tabs button {
    flex: 1;
    min-height: 48px;
    padding: 12px 4px;
    font-size: 13px;
  }
  .tab-panel {
    padding: 0 16px;
  }
  #messages {
    padding-top: 18px;
    -webkit-overflow-scrolling: touch;
  }
  .message {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .message.user {
    margin-left: 20px;
  }
  .suggestions {
    padding: 8px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .suggestions button {
    flex-shrink: 0;
    min-height: 44px;
    font-size: 12px;
  }
  #chat-form {
    padding: 10px 12px;
    margin: 4px 0;
    box-shadow: 0 -4px 18px #273b3106;
  }
  #message {
    font-size: 16px;
    line-height: 1.5;
    min-height: 48px;
    max-height: min(120px, calc(var(--viewport-height, 100dvh) * 0.28));
    overflow-y: auto;
  }
  .composer-footer {
    margin-top: 4px;
  }
  .composer-footer span {
    font-size: 10px;
  }
  .send-button {
    min-width: 68px;
    height: 44px;
    font-size: 14px;
  }
  .chat-footnote {
    font-size: 10px;
    padding: 4px 0 8px;
  }
  #selected-chip {
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .mobile-nav {
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--viewport-bottom, 0px);
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
    gap: 8px;
    border-top: 1px solid var(--line);
    background: #fcfbf7;
    z-index: 40;
  }
  .mobile-nav button {
    flex: 1;
    min-height: 52px;
    border-radius: 8px;
    font-size: 14px;
  }
  .mobile-nav button span {
    font-size: 21px;
    margin-right: 6px;
  }
  .mobile-nav button[aria-pressed="true"] {
    background: var(--sage);
    color: var(--green);
    font-weight: 600;
  }
  .keyboard-open .mobile-nav {
    display: none;
  }
  .keyboard-open aside {
    padding-bottom: 0;
  }
  .compact-chat .suggestions,
  .compact-chat .chat-footnote,
  .compact-chat .sidebar-heading small,
  .compact-chat .agent-avatar {
    display: none;
  }
  .compact-chat .sidebar-heading {
    min-height: 52px;
    padding: 4px 16px;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .login-shell form {
    max-width: 80%;
    padding: 40px 0;
  }
  .login-shell form h1 {
    font-size: 37px;
  }
  #toast {
    left: 14px;
    bottom: 80px;
    right: 14px;
    font-size: 11px;
  }
  .viewer-empty h2 {
    font-size: 26px;
  }
  #studio > header {
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 8px 16px;
  }
  .view-tools {
    left: 10px;
    overflow-x: auto;
  }
  .view-tools button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .login-shell input,
  dialog input,
  dialog select {
    font-size: 16px;
  }
  .history-item button {
    min-height: 44px;
    font-size: 13px;
  }
  .history-item strong,
  #details,
  .panel-intro {
    font-size: 14px;
  }
  #history,
  #details {
    min-height: 0;
    overscroll-behavior-y: contain;
  }
  .conversation-open #toast {
    bottom: calc(
      var(--viewport-bottom, 0px) + 76px + env(safe-area-inset-bottom)
    );
    max-height: 110px;
    overflow-y: auto;
  }
  .keyboard-open .conversation-open #toast {
    top: calc(var(--viewport-top, 0px) + 60px);
    bottom: auto;
  }
  .desktop-hint {
    display: none;
  }
  .touch-hint {
    display: inline;
  }
  .keyboard-open .tabs,
  .keyboard-open .composer-footer > span {
    display: none;
  }
  .keyboard-open #hide-keyboard {
    display: block;
    font-size: 12px;
    min-height: 44px;
    padding: 0 4px;
  }
}
