:root {
  font-family: Arial, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: #333;
  background: #fafbfc;
  font-size: 14px;
  --accent: #00acc1;
  --line: #e2e5e8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
button svg {
  vertical-align: middle;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #008a9b;
  outline-offset: 2px;
}
.appbar {
  height: 56px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 4;
}
.appbar strong {
  font-size: 20px;
  font-weight: 400;
}
.demo-caption {
  margin-left: auto;
  font-size: 12px;
  color: #737373;
}
.shell {
  display: flex;
  min-height: calc(100vh - 56px);
}
.sidebar {
  width: 205px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--line);
}
nav {
  padding: 8px 0;
}
nav button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 48px;
  padding: 0 18px;
  color: #666;
  text-align: left;
}
nav button:hover {
  background: #f5f7f8;
}
nav button.active {
  color: #0097a7;
  background: #e2f3f5;
}
.sidebar-foot {
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #777;
  padding: 16px;
  line-height: 1.7;
}
.sidebar-foot button {
  display: block;
  margin-top: 8px;
  font-size: 11px;
}
.content {
  padding: 0 12px 24px;
  min-width: 0;
  width: 100%;
}
.page-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
}
.page-head h1 {
  font-size: 19px;
  font-weight: 500;
  margin: 0;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px 12px;
  color: #008c9e;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.mobile-menu {
  background: none;
  border: 0;
  color: #555;
  padding: 5px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 3px;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
}
.panel-head h2 {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}
.panel-head small {
  font-size: 12px;
}
.dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dashboard-list {
  height: calc(100vh - 182px);
  overflow: auto;
}
.deck {
  background: white;
  border: 1px solid var(--line);
}
.panel .deck {
  border: 0;
}
.deck-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  text-align: left;
  background: white;
  border: 0;
  border-bottom: 1px solid #eee;
  color: inherit;
  min-height: 72px;
}
.deck-row:hover {
  background: #f8fafb;
}
.deck-row strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.deck-row small {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  white-space: pre-wrap;
}
.deck-row time {
  white-space: nowrap;
  font-size: 12px;
  color: #555;
}
.group-title {
  background: #f5f6f8;
  padding: 13px 16px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.group-title small {
  font-size: 12px;
  margin-left: 8px;
  color: #777;
  background: #eceef0;
}
.toolbar {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f1f2;
  padding: 8px 12px;
  min-width: 230px;
  flex: 1;
}
.search input {
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
}
select,
input,
textarea {
  border: 1px solid #cdd1d4;
  border-radius: 3px;
  background: white;
  padding: 9px;
  color: #333;
}
textarea {
  resize: vertical;
  min-height: 145px;
  line-height: 1.7;
}
.detail-fields {
  background: white;
  margin: 0 0 16px;
  padding: 18px 22px;
  max-width: 1100px;
}
.detail-fields dt {
  font-size: 12px;
  color: #777;
  margin: 8px 0;
}
.detail-fields dd {
  margin: 0 0 22px;
  white-space: pre-wrap;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.detail-section {
  margin-bottom: 14px;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: white;
  text-align: left;
  color: inherit;
}
.task-copy {
  flex: 1;
}
.task-copy strong {
  font-weight: 500;
}
.task-copy p {
  font-size: 12px;
  color: #777;
  margin: 5px 0;
}
.badge {
  font-size: 12px;
  padding: 3px;
  color: #777;
}
.text-btn {
  border: 0;
  background: none;
  color: #0097a7;
  padding: 0;
  text-align: left;
}
.text-btn svg {
  width: 16px;
}
.empty {
  padding: 35px 20px;
  text-align: center;
  color: #777;
}
.empty h3 {
  font-size: 15px;
  font-weight: 400;
}
.empty p {
  font-size: 12px;
}
.native-form {
  max-width: 850px;
  padding: 24px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.native-form label {
  color: #777;
  font-size: 12px;
}
.native-form select {
  max-width: 420px;
}
.previous {
  white-space: pre-wrap;
  line-height: 1.7;
  color: #555;
}
.thinking {
  color: #b91c1c;
  font-weight: bold;
  font-size: 1.4em;
}
.customer-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.legend {
  color: #888;
  font-size: 11px;
  line-height: 1.6;
}
.boot {
  padding: 60px;
}
dialog {
  padding: 0;
  width: min(800px, 94vw);
  border: 1px solid #ddd;
  border-radius: 3px;
  color: inherit;
  max-height: 90vh;
}
dialog::backdrop {
  background: #0005;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}
.close-button {
  border: 0;
  background: none;
  color: #777;
}
.modal-body {
  padding: 20px;
  max-height: 65vh;
  overflow: auto;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 12px;
  color: #777;
}
.required {
  color: #b91c1c;
  margin-left: 4px;
}
.modal-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.info-list {
  margin: 0;
}
.info-list dt {
  color: #777;
  font-size: 12px;
  margin-bottom: 6px;
}
.info-list dd {
  margin: 0 0 18px;
  white-space: pre-wrap;
  line-height: 1.6;
}
.form-error {
  color: #b91c1c;
}
.section-space {
  margin-top: 16px;
}
#toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 12px 24px;
  z-index: 20;
  border-radius: 3px;
}
.avatar {
  display: none;
}
@media (max-width: 1000px) {
  .sidebar {
    width: 62px;
  }
  .sidebar nav button {
    padding: 0 20px;
  }
  .sidebar nav span,
  .sidebar-foot {
    display: none;
  }
  .sidebar.open {
    width: 205px;
  }
  .sidebar.open nav span,
  .sidebar.open .sidebar-foot {
    display: block;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .dashboard-list {
    height: auto;
    max-height: 420px;
  }
}
@media (max-width: 600px) {
  .appbar {
    padding: 0 8px;
    gap: 8px;
  }
  .appbar strong {
    font-size: 16px;
  }
  .demo-caption {
    display: none;
  }
  .sidebar {
    display: none;
  }
  .sidebar.open {
    display: block;
    position: fixed;
    top: 56px;
    bottom: 0;
    z-index: 5;
  }
  .content {
    padding: 0 8px 16px;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .deck-row {
    padding: 12px;
  }
  .native-form,
  .detail-fields {
    padding: 16px;
  }
  .actions {
    gap: 5px;
  }
  .btn {
    padding: 7px 9px;
  }
  .toolbar select {
    max-width: 100%;
  }
}

/* Desktop AppSheet UI, compared with the live app on 2026-09-19. */
:root {
  background: #f8f9fa;
  color: #333;
  font-family: Arial, "Noto Sans JP", Meiryo, sans-serif;
  --line: #dadce0;
}
.appbar {
  padding: 0 16px;
  gap: 20px;
}
.appbar strong {
  font-size: 23px;
  white-space: nowrap;
}
.mobile-menu {
  width: 32px;
  padding: 4px;
}
.top-search {
  position: absolute;
  left: 38.5%;
  width: 34.5%;
  height: 40px;
  min-width: 0;
  border-radius: 4px;
  background: #f1f1f1;
}
.top-search input {
  font-size: 14px;
  padding: 0;
}
.sync {
  margin-left: auto;
  color: #555;
  padding: 5px 9px;
  min-height: 32px;
}
.account {
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  font-size: 20px;
}
.sidebar {
  width: 60px;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
}
.sidebar nav {
  padding: 2px 0;
}
.sidebar nav button {
  width: 44px;
  height: 42px;
  margin: 0 7px;
  padding: 10px 11px;
  gap: 16px;
  white-space: nowrap;
}
.sidebar nav button.active {
  border-radius: 50%;
  background: #e5f5f7;
}
.sidebar nav span {
  display: none;
}
.sidebar nav hr {
  margin: 5px 16px;
  border: 0;
  border-top: 1px solid var(--line);
}
.sidebar.open {
  width: 240px;
}
.sidebar.open nav button {
  width: 226px;
}
.sidebar.open nav button.active {
  border-radius: 3px;
}
.sidebar.open nav span {
  display: block;
}
.content {
  padding: 0;
  width: calc(100% - 60px);
}
.page-head {
  height: 49px;
  min-height: 49px;
  padding: 8px 16px;
  background: white;
  border-bottom: 1px solid #eee;
}
.page-head h1 {
  font-size: 18px;
  font-weight: 400;
}
.btn {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 14px;
}
.actions {
  align-items: center;
  gap: 8px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: #747779;
  width: 32px;
  height: 32px;
  padding: 6px;
}
.icon-button:hover {
  background: #f0f1f2;
}
.dashboard {
  padding: 10px;
  gap: 10px;
  height: calc(100vh - 105px);
}
.dashboard .panel {
  box-shadow: 0 1px 3px #0002;
  overflow: hidden;
}
.panel-head {
  height: 49px;
  padding: 8px 16px;
}
.panel-head h2 {
  font-size: 17px;
}
.dashboard-list {
  height: calc(100vh - 176px);
}
.deck {
  border: 0;
}
.deck-row {
  height: 60px;
  min-height: 60px;
  padding: 9px 16px;
  align-items: flex-start;
  overflow: hidden;
}
.deck-row > span {
  min-width: 0;
}
.deck-row strong {
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 20px;
}
.deck-row small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0;
  line-height: 20px;
}
.deck-row time {
  line-height: 20px;
}
.group-title {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 16px;
  background: #f7f8fa;
}
.group-title small {
  border-radius: 3px;
  padding: 1px 5px;
}
.detail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 56px);
}
.master-list {
  overflow: auto;
  border-right: 1px solid var(--line);
}
.detail-pane {
  overflow: auto;
  min-width: 0;
}
.detail-pane > .page-head {
  position: sticky;
  top: 0;
  z-index: 2;
}
.detail-pane .page-head h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-pane .actions {
  flex-wrap: nowrap;
}
.detail-split.expanded {
  display: block;
}
.expanded .master-list {
  display: none;
}
.expanded .detail-pane {
  height: 100%;
}
.detail-layout {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.expanded .detail-layout {
  grid-template-columns: 0.85fr 1fr 1fr;
}
.detail-actions {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  gap: 24px;
  height: fit-content;
}
.round-action {
  border: 0;
  background: none;
  color: #777;
  font-size: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  min-width: 62px;
}
.round-action > span {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.detail-fields {
  padding: 16px;
  margin: 0 0 16px;
  max-width: none;
}
.detail-fields dt {
  margin: 0 0 8px;
  font-size: 12px;
}
.detail-fields dd {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
}
.detail-fields dd:last-child {
  margin-bottom: 0;
}
.detail-section {
  overflow: hidden;
}
.detail-section .panel-head {
  border: 0;
}
.detail-section small {
  font-size: 12px;
  color: #777;
  background: #eee;
  padding: 1px 4px;
  border-radius: 3px;
}
.related-scroll {
  overflow: auto;
}
.related-scroll table {
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 12px;
  min-width: 100%;
}
.related-scroll th {
  font-weight: 400;
  color: #777;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #ddd;
}
.related-scroll td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-scroll td:first-child {
  padding: 0 4px;
}
.related-foot {
  display: flex;
  justify-content: flex-end;
  padding: 7px;
}
.related-foot .btn {
  border: 0;
}
.property-layout {
  grid-template-columns: 1fr;
}
.expanded .property-layout {
  grid-template-columns: 1fr 1fr;
}
.ai-row {
  position: relative;
  height: 91px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.ai-row-open {
  padding: 9px 16px;
  border: 0;
  background: none;
  text-align: left;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 13px;
  line-height: 21px;
}
.ai-row-open small {
  font-size: 12px;
  color: #666;
}
.ai-row-actions {
  position: absolute;
  bottom: 4px;
  right: 12px;
  display: flex;
  gap: 8px;
}
.ai-detail {
  background: white;
  padding: 16px;
  min-height: calc(100vh - 105px);
}
.ai-detail > .round-action {
  margin-bottom: 24px;
}
.ai-detail .detail-fields {
  padding: 0;
  border: 0;
}
.ai-detail .thinking {
  font-size: 1.4em;
}
.drawer-shade {
  position: fixed;
  inset: 0;
  background: #0008;
  z-index: 9;
}
.ai-drawer,
dialog {
  position: fixed;
  left: auto;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  width: 55.2vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-radius: 0;
  background: white;
  box-shadow: -4px 0 16px #0003;
}
.ai-drawer {
  z-index: 10;
  overflow: auto;
}
dialog::backdrop {
  background: #0008;
}
.modal-head {
  height: 56px;
  padding: 8px 16px;
  gap: 12px;
  justify-content: flex-start;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
  border: 0;
}
.modal-head h2 {
  font-size: 18px;
  flex: 1;
}
.modal-head .close-button {
  order: -1;
  padding: 0;
}
.modal-body {
  max-height: calc(100dvh - 56px);
  padding: 32px max(24px, calc((55.2vw - 560px) / 2));
  overflow: auto;
}
.field-grid {
  gap: 28px;
}
.field {
  gap: 12px;
}
.field label,
.native-form label {
  font-size: 13px;
}
.field input,
.field select {
  min-height: 44px;
}
.field textarea {
  min-height: 48px;
  height: 48px;
}
.required {
  color: #0097a7;
}
.native-form {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 0;
  gap: 12px;
}
.native-form select {
  max-width: none;
  height: 56px;
  margin-bottom: 12px;
}
.native-form textarea {
  height: 170px;
  min-height: 170px;
}
.previous {
  font-size: 14px;
}
.modal-foot {
  background: white;
}
.empty {
  background: white;
}
.top-search:focus-within {
  outline: 1px solid #aaa;
}
@media (max-width: 1000px) {
  .appbar strong {
    font-size: 19px;
  }
  .top-search {
    left: 43%;
    width: 35%;
  }
  .dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dashboard-list {
    max-height: none;
  }
  .native-form {
    padding: 32px 24px;
  }
  .modal-body {
    padding: 32px 24px;
  }
  .expanded .detail-layout {
    grid-template-columns: 1fr 1fr;
  }
  .detail-actions {
    grid-column: 1/-1;
  }
  .detail-split {
    grid-template-columns: 40% 60%;
  }
}
@media (max-width: 600px) {
  .appbar {
    padding: 0 8px;
    gap: 8px;
  }
  .appbar strong {
    font-size: 16px;
    flex: 1;
  }
  .top-search {
    position: static;
    width: 36px;
    flex: 0 0 36px;
    background: white;
    padding: 8px;
  }
  .top-search input {
    width: 0;
    padding: 0;
  }
  .top-search:focus-within {
    position: absolute;
    left: 52px;
    right: 96px;
    width: auto;
    background: #f1f1f1;
  }
  .top-search:focus-within input {
    width: 100%;
  }
  .sync {
    padding: 4px;
    min-width: 30px;
  }
  .account {
    width: 28px;
    height: 28px;
    font-size: 17px;
  }
  .sidebar {
    display: none;
  }
  .sidebar.open {
    display: block;
    position: fixed;
    width: 240px;
    z-index: 6;
    box-shadow: 4px 0 12px #0003;
  }
  .content {
    width: 100%;
    padding: 0;
  }
  .page-head {
    flex-direction: row;
    align-items: center;
  }
  .page-head h1 {
    font-size: 17px;
  }
  .dashboard {
    display: block;
    height: auto;
    padding: 8px;
  }
  .dashboard > .panel {
    margin-bottom: 8px;
  }
  .dashboard-list {
    height: auto;
    max-height: 360px;
  }
  .detail-split {
    display: block;
    height: auto;
  }
  .master-list {
    display: none;
  }
  .detail-layout,
  .expanded .detail-layout,
  .expanded .property-layout {
    grid-template-columns: 1fr;
    padding: 8px;
    gap: 8px;
  }
  .detail-actions {
    grid-column: auto;
  }
  .ai-drawer,
  dialog {
    width: 100vw;
  }
  .modal-head {
    padding: 8px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .native-form {
    padding: 24px 16px;
  }
  .modal-body {
    padding: 24px 16px;
  }
  .modal-head .actions {
    flex-wrap: nowrap;
  }
  .detail-pane .page-head {
    position: static;
  }
  .deck-row {
    padding: 9px 16px;
  }
}
.bottom-nav {
  display: none;
}
.group-title small:empty {
  display: none;
}
@media (max-width: 600px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-bottom));
    padding: 0 0 env(safe-area-inset-bottom);
    border-top: 1px solid #ddd;
    background: white;
    z-index: 5;
  }
  .bottom-nav button {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 5px 0;
    height: 60px;
    width: auto;
    font-size: 11px;
    color: #777;
  }
  .bottom-nav button.active {
    color: var(--accent);
    background: white;
  }
  .bottom-nav svg {
    height: 20px;
    width: 22px;
  }
  .content {
    padding-bottom: 60px;
  }
  .appbar strong {
    font-size: 18px;
  }
  .appbar .account {
    display: none;
  }
  .ai-drawer {
    z-index: 10;
  }
  .detail-fields dd {
    font-size: 16px;
  }
  .detail-fields dt {
    font-size: 11px;
  }
  .modal-head {
    position: static;
  }
  .ai-drawer .modal-head .actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px;
    justify-content: space-around;
    border-top: 1px solid #ddd;
  }
  .ai-drawer .native-form {
    padding-bottom: 90px;
  }
  #record-form .modal-head .actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px;
    justify-content: space-around;
    border-top: 1px solid #ddd;
    z-index: 2;
  }
  #record-form .modal-body {
    padding-bottom: 90px;
  }
}
.mobile-title,
.dashboard-tabs {
  display: none;
}
@media (max-width: 600px) {
  .desktop-title {
    display: none;
  }
  .mobile-title {
    display: block;
  }
  .content:has(.dashboard) > .page-head {
    display: none;
  }
  .dashboard-tabs {
    display: flex;
    background: white;
    height: 44px;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 56px;
    z-index: 3;
  }
  .dashboard-tabs button {
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: #777;
    padding: 10px 16px;
  }
  .dashboard-tabs button[aria-selected="true"] {
    border-bottom-color: var(--accent);
    color: #333;
  }
  .dashboard {
    padding: 0;
  }
  .dashboard > .panel {
    display: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
  }
  .dashboard[data-tab="0"] > .panel:nth-child(1),
  .dashboard[data-tab="1"] > .panel:nth-child(2),
  .dashboard[data-tab="2"] > .panel:nth-child(3) {
    display: block;
  }
  .dashboard .panel-head {
    display: none;
  }
  .dashboard-list {
    height: calc(100dvh - 160px);
    max-height: none;
  }
  .bottom-nav button.active {
    color: white;
    background: var(--accent);
  }
  .group-title {
    height: 36px;
    padding: 6px 12px;
  }
  .deck-row {
    height: 72px;
    padding: 10px 16px;
  }
  .deck-row strong {
    font-weight: 500;
  }
  .deck-row small {
    font-size: 14px;
    line-height: 24px;
  }
  .content > .page-head h1 {
    display: none;
  }
  .content > .page-head:has(.actions:empty) {
    display: none;
  }
}
.detail-layout > div {
  min-width: 0;
}
.expanded .detail-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1fr);
}
.expanded .property-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 1000px) {
  .expanded .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .expanded .detail-layout,
  .expanded .property-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .content > .list-head {
    height: 0;
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .list-head .primary {
    position: fixed;
    bottom: 80px;
    right: 18px;
    z-index: 4;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 0;
    padding: 14px;
    box-shadow: 0 3px 6px #0004;
  }
  .list-head .primary svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
  }
  .list-head .icon-button {
    position: fixed;
    top: 12px;
    right: 76px;
    z-index: 5;
  }
  .appbar:has(+ .shell .list-head) .top-search {
    margin-right: 36px;
  }
  .content > .deck > .deck-row {
    height: 60px;
    min-height: 60px;
  }
  .content > .deck > .deck-row small {
    font-size: 12px;
    line-height: 20px;
  }
  .ai-row {
    height: 91px;
  }
}
.record-ai-action {
  margin-bottom: 28px;
}
.property-layout .detail-actions {
  margin-bottom: 16px;
}
@media(max-width:600px){.list-head .icon-button{right:44px}}
