html.uranus-app-frame-document,
html.uranus-app-frame-document body {
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fffaf2;
}

body[data-page="report"] {
  --panel: #fffaf2;
  --soft-green: #f4fbf4;
  --soft-green-border: #86b792;
  --app-entry-speaker-width: 46px;
}

body[data-page="report"] .report-content {
  grid-template-columns: var(--app-entry-speaker-width) minmax(0, 1fr);
}

body[data-page="report"] .report-thread.own .report-content {
  grid-template-columns: minmax(0, 1fr) var(--app-entry-speaker-width);
}

body[data-page="report"] .report-speaker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 0 0;
  color: var(--chat-muted);
  font-size: 11px;
  line-height: 1.25;
  text-align: left;
}

.report-frame-back {
  width: 27px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #fff7e8;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.report-frame-title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #fff7e8;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-frame-search {
  margin: 0;
  padding: 7px 8px;
  border: 0;
  background: #fff7e8;
}

.report-frame-search .chat-search-input {
  min-width: 0;
  font-size: 16px;
}

.report-frame-search .chat-status {
  display: none;
}

.uranus-app-frame__body-content > .chat-list {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 8px 18px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.uranus-app-frame__footer-content > .compose-wrap.bottom-bar-card {
  width: 100%;
  margin: 0;
  padding: 6px 6px 3px;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: #fffaf2;
}

.uranus-app-frame__footer .compose-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: stretch;
  gap: 6px;
}

.uranus-app-frame__footer .compose-input-shell {
  width: 100%;
}

.uranus-app-frame__footer .compose-text {
  padding-right: 12px;
}

.uranus-app-frame__footer .resident-fake-text,
.uranus-app-frame__editor .resident-fake-text {
  color: #52645a;
  font-size: 11px;
  line-height: 1.1;
}

.uranus-app-frame__footer .row-actions {
  position: static;
  width: 38px;
  min-width: 38px;
  align-self: stretch;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
}

.uranus-app-frame__editor {
  overflow: visible;
  padding: 0;
  border: 0;
  background: #fffaf2;
}

.native-keyboard-composer {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 5px 0 0;
  border: 0;
  background: #fffaf2;
}

.native-keyboard-composer::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  height: 120px;
  background: #fffaf2;
  pointer-events: none;
}

.native-keyboard-panels {
  min-width: 0;
  margin: 0 6px;
  overflow: hidden;
}

.native-keyboard-panels:empty {
  display: none;
}

.native-keyboard-panels > .file-list {
  width: 100%;
  margin: 0 0 4px;
}

.native-keyboard-compose-row {
  width: calc(100% - 12px);
  min-width: 0;
  max-width: calc(100% - 12px);
  flex: 0 0 auto;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: stretch;
  column-gap: 6px;
  margin: 0 6px;
}

.native-keyboard-input-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: block;
  padding: 0;
  box-shadow: none;
}

.native-keyboard-input-card:focus-within {
  border-color: var(--soft-green-border);
  box-shadow: none;
}

.native-keyboard-topline-slot {
  min-width: 0;
}

.native-keyboard-topline-slot > .compose-topline {
  width: 100%;
}

.native-keyboard-input {
  max-height: 96px;
  overflow-y: auto;
}

.native-keyboard-send {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--send-green);
}

.native-keyboard-actions {
  width: 38px;
  min-width: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1px;
}

.native-keyboard-send svg {
  width: 29px;
  height: 29px;
}

.native-keyboard-tools-slot {
  width: 100%;
  min-width: 0;
  margin-top: 3px;
  padding: 0 6px 3px;
  background: #fffaf2;
}

.native-keyboard-tools-slot > .sender-bar {
  width: 100%;
  min-width: 0;
  margin-top: 2px;
}

.native-keyboard-tools-slot > .sender-bar .sender-tools {
  gap: 5px;
}

.report-body,
.comment-text {
  line-height: 1.1;
}

.sender-tool-btn {
  min-width: 41px;
  min-height: 41px;
  font-size: 27px;
}

.uranus-candidate-modal-backdrop {
  position: fixed;
  z-index: 700;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
  background: rgba(15, 23, 42, .34);
}

.uranus-candidate-modal-backdrop[hidden] {
  display: none;
}

.uranus-candidate-modal {
  width: min(720px, 100%);
  max-height: min(78dvh, 680px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d7dee8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .28);
}

.uranus-candidate-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #fbfdff;
}

.uranus-candidate-modal-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
}

.uranus-candidate-modal-sub {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.uranus-candidate-modal-close {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.uranus-candidate-modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.uranus-candidate-modal-body > .inline-panel {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.uranus-candidate-modal-body > .inline-panel > .inline-panel-head {
  display: none;
}

.uranus-candidate-modal-body .vital-inline-new {
  width: auto;
  min-width: 92px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 7px;
  padding: 0 16px;
  border: 1px solid #16845b;
  border-radius: 999px;
  background: #fff;
  color: #16845b;
  font-size: 13px;
  font-weight: 900;
}

.uranus-candidate-modal-body .vital-inline-picker,
.uranus-candidate-modal-body .vital-inline-records,
.uranus-candidate-modal-body .food-history-list {
  display: grid;
  gap: 6px;
}

.uranus-candidate-modal-body .vital-inline-main {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 8px;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  text-align: left;
}

.uranus-candidate-modal-body .vital-inline-line1 {
  padding: 6px 4px;
  border-radius: 9px;
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.uranus-candidate-modal-body .vital-inline-line2 {
  min-width: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  body[data-page="report"] {
    --app-entry-speaker-width: 40px;
  }

  body[data-page="report"] .report-speaker {
    font-size: 10px;
  }

  .uranus-app-frame__footer-content > .compose-wrap.bottom-bar-card {
    padding-right: 6px;
    padding-bottom: 3px;
    padding-left: 6px;
  }
}
