/* agy operations workspace */
:root {
  color-scheme: light;
  --ink: #202b26;
  --secondary: #5b6c63;
  --muted: #77857e;
  --line: #e1e6e1;
  --pine: #205f46;
  --green: #29714e;
  --mint: #e6f1e6;
  --rail: clamp(188px, 14.3vw, 220px);
  --list: clamp(265px, 20.5vw, 318px);
  --font:
    Inter, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: #f6f7f4;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
button:disabled {
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  -webkit-font-smoothing: antialiased;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #4d9470;
  outline-offset: 3px;
}
button:disabled:not(.send-button) {
  opacity: 0.45;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  display: block;
}
.ic {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
input,
textarea,
select {
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #89938c;
}
input[type='checkbox'] {
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: #34734f;
  cursor: pointer;
}
input[type='checkbox']:disabled {
  cursor: default;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
#app,
.shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}
.shell {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  overflow: hidden;
}
#workspace {
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.mobile-nav {
  display: none;
}
.sidebar {
  background: #17382f;
  color: #d0ddd4;
  display: flex;
  flex-direction: column;
  padding: 0 14px;
  min-height: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 95px;
  padding: 2px 12px 0;
}
.brand-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: #c2ed95;
  color: #1c4033;
  --mark-eye: #c2ed95;
}
.brand-symbol svg {
  width: 30px;
  height: 30px;
}
.brand-type {
  font-size: 31px;
  font-weight: 740;
  letter-spacing: -2px;
  color: #fff;
  line-height: 0.94;
}
.brand-type span {
  display: block;
  margin: 7px 0 0 2px;
  font-size: 10px;
  line-height: 1;
  font-weight: 550;
  color: #b6c8ba;
  letter-spacing: 1.4px;
}
.main-nav {
  display: grid;
  gap: 5px;
  margin-top: 15px;
}
.nav-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  height: 43px;
  padding: 0 14px;
  border-radius: 8px;
  text-align: left;
  color: #cfddd4;
  font-weight: 500;
  font-size: 14px;
  transition:
    background 0.16s,
    color 0.16s;
}
.nav-glyph {
  display: inline-flex;
  align-items: center;
}
.sidebar .nav-link:hover,
.shop-nav button:hover,
.profile:hover,
.local-mode:hover {
  background: #214538;
  color: #fff;
}
.sidebar .nav-link.active {
  background: #305540;
  color: #e4f5ce;
}
.nav-link.active .nav-glyph {
  color: #c7efa1;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  border-radius: 6px;
  padding: 1px 6px;
  line-height: 15px;
  background: #45664b;
  color: #e2f4ca;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.nav-link.active .nav-count {
  background: #c2e68e;
  color: #23432e;
}
.shop-nav {
  border-top: 1px solid #345145;
  margin: 26px 7px 0;
  padding: 24px 0 0;
}
.shop-nav h2 {
  font-size: 11px;
  font-weight: 550;
  color: #9bad9e;
  padding: 0 7px;
  letter-spacing: 0.8px;
  margin-bottom: 9px;
}
.shop-nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 35px;
  border-radius: 6px;
  font-size: 13px;
  color: #d5dfd5;
  padding: 0 8px;
}
.shop-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 3px;
  background: #efa98e;
}
.shop-dot.tb {
  background: #e5b55e;
}
.sidebar-foot {
  margin-top: auto;
  padding: 16px 0 12px;
}
.local-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 5px 14px;
  padding: 5px 8px;
  font-size: 11px;
  border-radius: 5px;
  color: #b8ccba;
}
.local-mode i,
.assistant-presence i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a7d684;
}
.local-mode svg {
  color: #94aa9b;
  margin-left: 1px;
}
.profile {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 16px 6px 3px;
  border-top: 1px solid #345145;
  text-align: left;
}
.profile .avatar {
  width: 35px;
  height: 35px;
  border-radius: 10px;
}
.profile > span:nth-child(2) {
  flex: 1;
}
.profile strong,
.profile small {
  display: block;
}
.profile strong {
  font-size: 13px;
  color: #f1f4eb;
}
.profile small {
  font-size: 10px;
  color: #a7b9a9;
  margin-top: 3px;
}
.profile > svg {
  color: #a0b3a6;
}
.avatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e2e9dc;
  font-weight: 650;
  line-height: 1;
}
.avatar > svg:not(.ic) {
  width: 86%;
  height: 86%;
}
.avatar.av-tm {
  background: #f6c2b4;
  color: #553b35;
}
.avatar.av-tb {
  background: #f6c17b;
  color: #7d4019;
}
.av-tb b {
  font-family: 'PingFang SC', var(--font);
  font-size: 26px;
  font-weight: 800;
  transform: rotate(-6deg);
}
.avatar.av-agy {
  background: #24513c;
  color: #d4ef9f;
  --mark-eye: #24513c;
}
.avatar.av-agy > svg {
  width: 68%;
  height: 68%;
}
.avatar.av-creative {
  background: #dfd7ed;
  color: #776090;
}
.avatar.av-custom {
  color: #507a68;
  background: #dbeae0;
}
.avatar.av-person {
  border-radius: 50%;
}
.av-person img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.av-person.peach {
  background: #ecd5c3;
  color: #7a5944;
}
.av-person.olive {
  background: #d6dfc5;
  color: #4c6944;
}
.av-person.lavender {
  background: #e4d9eb;
  color: #685477;
}
.av-person.sky {
  background: #d7e6ec;
  color: #526970;
}
.chat-layout {
  height: 100%;
  display: grid;
  grid-template-columns: var(--list) minmax(0, 1fr);
}
.conversation-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: #fff;
  border-right: 1px solid var(--line);
}
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 21px;
  height: 84px;
  flex: none;
}
.list-head h1,
.page-head h1 {
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.8px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: #647369;
  flex: none;
}
.icon-btn:hover {
  background: #e9efe9;
  color: var(--pine);
}
.list-head .icon-btn {
  width: 29px;
  height: 29px;
  background: #f4f6f2;
  border: 1px solid var(--line);
}
.list-tools {
  padding: 0 17px 12px;
  flex: none;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 36px;
  padding: 0 11px;
  border-radius: 7px;
  background: #f3f5f1;
  border: 1px solid #e6eae3;
  color: #879289;
}
.search-field:focus-within {
  border-color: #85aa8d;
}
.search-field input {
  border: 0;
  background: transparent;
  min-width: 0;
  outline: none;
  width: 100%;
  font-size: 12px;
}
.search-field input:focus-visible {
  outline: none;
}
.list-tabs {
  display: flex;
  gap: 5px;
  margin: 15px 0 0;
}
.tab {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 13px;
  color: #6c7a71;
}
.list-tabs .tab {
  padding: 5px 13px;
  border-radius: 6px;
  font-size: 12px;
}
.list-tabs .tab.on {
  background: #e6efe5;
  color: #316647;
  font-weight: 650;
}
.list-tabs .tab:hover:not(.on) {
  background: #f5f7f3;
}
.conversation-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 0 10px 16px;
}
.list-section-label {
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.6px;
  color: #88928b;
  padding: 12px 9px 7px;
}
.conversation {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  min-height: 69px;
  border-radius: 9px;
  padding: 10px;
  margin: 1px 0;
}
.conversation:hover {
  background: #f5f7f3;
}
.conversation.selected {
  background: #e9f1e6;
}
.conv-copy,
.conv-top,
.conv-bottom {
  min-width: 0;
}
.conv-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.conv-top,
.conv-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}
.conv-top strong {
  font-size: 14px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conv-top time {
  flex: none;
  font-size: 10px;
  color: #839085;
  font-variant-numeric: tabular-nums;
}
.conv-bottom > span {
  color: #78857b;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conv-bottom > svg {
  color: #899e89;
  transform: rotate(30deg);
}
.unread {
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #598269;
  color: #fff;
  font-size: 10px;
}
.list-foot {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 45px;
  padding: 0 20px;
  color: #89968c;
  border-top: 1px solid #edf0ec;
  font-size: 11px;
}
.room {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #f5f6f2;
}
.room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: none;
  min-height: 83px;
  padding: 13px clamp(20px, 2.5vw, 42px);
  background: #fff;
}
.room-title {
  min-width: 0;
  margin-right: auto;
}
.room-title h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 670;
  letter-spacing: -0.55px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.room-title > div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #738078;
  margin-top: 5px;
}
.middle-dot {
  margin: 0 2px;
}
.room-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.face-stack {
  display: inline-flex;
  align-items: center;
  padding: 0 14px 0 0;
  margin-right: 4px;
  border-right: 1px solid var(--line);
}
.face-stack .avatar {
  width: 26px;
  height: 26px;
  border: 2px solid white;
  margin-left: -6px;
  border-radius: 50%;
}
.face-stack .avatar:first-child {
  margin: 0;
}
.room-header [data-mobile-back] {
  display: none;
}
.room-tabs {
  height: 38px;
  flex: none;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(20px, 2.5vw, 42px);
}
.room-tabs > div {
  display: flex;
  gap: 24px;
  height: 100%;
}
.room-tabs .tab,
.work-tabs .tab {
  position: relative;
  padding: 0 2px;
  height: 100%;
}
.room-tabs .tab.on,
.work-tabs .tab.on {
  font-weight: 650;
  color: var(--pine);
}
.room-tabs .tab.on::after,
.work-tabs .tab.on::after {
  position: absolute;
  content: '';
  height: 2px;
  border-radius: 2px;
  background: #497d54;
  inset: auto 1px 0;
}
.tab > span,
.section-title h3 small,
.panel h3 small,
.file-view h3 small {
  background: #eff2ec;
  color: #65746a;
  padding: 1px 5px;
  border-radius: 4px;
  font: 600 10px/1.3 var(--font);
}
.assistant-presence {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #708174;
  font-size: 11px;
}
.assistant-presence i {
  width: 5px;
  height: 5px;
  background: #73a878;
}
.room-tabs .select-wrap {
  align-self: center;
  height: 28px;
  border: none;
  padding-right: 0;
  font-size: 11px;
}
.timeline {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.timeline-inner {
  max-width: 1110px;
  margin: 0 auto;
  padding: 12px clamp(22px, 3.1vw, 48px) 22px;
}
.date-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 7px 0 21px;
  justify-content: center;
  color: #88928a;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.date-divider::before,
.date-divider::after {
  content: '';
  width: 33px;
  height: 1px;
  background: #dce2d9;
}
.date-divider button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #77867b;
  font: inherit;
}
.date-divider button:hover {
  color: var(--pine);
}
.message {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  border-radius: 8px;
}
.message:last-child {
  margin-bottom: 0;
}
.msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.msg-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: min(83%, 612px);
}
.msg-content:has(.report-card) {
  width: min(435px, 83%);
}
.msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 15px;
  margin: 0 0 5px;
  color: #758177;
  font-size: 11px;
}
.msg-meta strong {
  font-size: 12px;
  font-weight: 580;
  color: #526157;
}
.msg-meta time {
  color: #8c968d;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.ai-chip {
  font-weight: 650;
  color: #426a49;
  background: #e2ecdd;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 9px;
  line-height: 14px;
}
.bubble {
  position: relative;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.7;
  border: 1px solid #e1e6df;
  padding: 9px 13px;
  border-radius: 2px 12px 12px 12px;
  background: white;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-align: left;
}
.mine {
  flex-direction: row-reverse;
}
.mine .msg-content {
  align-items: flex-end;
}
.mine .msg-meta {
  flex-direction: row-reverse;
}
.mine .bubble {
  background: #dceccf;
  border-color: #d2e4c4;
  border-radius: 12px 2px 12px 12px;
}
.mention {
  color: #2d6546;
  font-weight: 650;
}
.quote-action {
  position: absolute;
  top: 22px;
  left: calc(100% + 4px);
  opacity: 0;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #e7ece4;
  color: #52745a;
}
.mine .quote-action {
  left: auto;
  right: calc(100% + 4px);
}
.message:hover .quote-action,
.message:focus-within .quote-action {
  opacity: 1;
}
.quote-tile,
.draft-quote {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 2px solid #9eb59e;
  padding: 5px 8px;
  color: #647569;
  background: #edf1e9;
  font-size: 11px;
  margin-bottom: 4px;
  text-align: left;
  overflow-wrap: anywhere;
}
.voice-label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--pine);
  font-size: 11px;
  margin-bottom: 3px;
}
.receipt-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b7d6f;
  font-size: 11px;
  margin-top: 6px;
}
.message.highlight {
  animation: highlight 1.8s ease-out;
}
@keyframes highlight {
  0%,
  45% {
    outline: 2px solid #9bb48f;
    background: #e5efda;
  }
  100% {
    outline: 2px solid transparent;
  }
}
.report-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid #cddccc;
  border-radius: 12px;
  margin-top: 8px;
  background: #fff;
  text-align: left;
  box-shadow: 0 2px 4px #243c2b05;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.report-card:hover {
  border-color: #94b597;
  box-shadow: 0 4px 13px #25442b10;
}
.report-cover,
.report-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #244c35;
  background:
    radial-gradient(ellipse at 88% 10%, #d9e9cf 0%, transparent 51%),
    linear-gradient(115deg, #eaf2e4, #deebd8);
  padding: 15px 18px 14px;
}
.cover-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.cover-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4d7251;
  font-size: 10px;
  font-weight: 650;
  line-height: 15px;
  letter-spacing: 0.3px;
}
.cover-body strong {
  font-size: 21px;
  font-weight: 680;
  letter-spacing: -0.5px;
}
.cover-body small,
.report-banner p {
  font-size: 10px;
  color: #677c69;
  line-height: 1.45;
}
.cover-body small b {
  padding: 0 3px;
}
.cover-chart {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex: none;
  width: 120px;
}
.trend {
  width: 100%;
  height: auto;
}
.cover-chart small {
  font-size: 8px;
  color: #758b74;
  margin-top: 3px;
  letter-spacing: 0.2px;
}
.card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 14px 0 12px;
  color: #294333;
}
.card-metrics > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  border-left: 1px solid #e8ece6;
  padding-left: 20px;
}
.card-metrics > span:first-child {
  border: 0;
}
.card-metrics b {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.8px;
  line-height: 1.06;
  font-variant-numeric: tabular-nums;
}
.card-metrics b.amber {
  color: #a46d32;
}
.card-metrics small {
  font-size: 10px;
  color: #738175;
}
.card-link {
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e7ece5;
  font-size: 12px;
  font-weight: 610;
  color: #427253;
}
.composer-area {
  padding: 10px clamp(20px, 3.1vw, 48px) 21px;
  background: #f5f6f2;
  flex: none;
}
.composer {
  background: #fff;
  border: 1px solid #d8dfd5;
  border-radius: 12px;
  padding: 7px 12px 9px;
  max-width: 1015px;
  margin: 0 auto;
  box-shadow: 0 1px 3px #182f1f04;
}
.composer:focus-within {
  border-color: #91ac91;
  box-shadow: 0 0 0 2px #5597660b;
}
.composer textarea {
  width: 100%;
  display: block;
  background: transparent;
  resize: none;
  padding: 5px 2px;
  border: 0;
  outline: none;
  line-height: 1.6;
  min-height: 51px;
  max-height: 140px;
  font-size: 13px;
}
.composer textarea:focus-visible {
  outline: none;
}
.composer-tools,
.composer-tools > div,
.send-side {
  display: flex;
  align-items: center;
}
.composer-tools {
  justify-content: space-between;
  gap: 5px;
}
.composer-tools > div {
  gap: 2px;
}
.composer-tools .icon-btn {
  width: 29px;
  height: 28px;
  color: #687970;
}
.composer-tools .icon-btn:hover {
  color: var(--pine);
}
.send-side {
  gap: 12px;
}
.send-side small {
  font-size: 10px;
  color: #849186;
}
.send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 0 13px;
  height: 31px;
  border-radius: 7px;
  background: #286348;
  color: #fff;
}
.send-button:disabled {
  background: #e9efe5;
  color: #798b77;
}
.draft-quote {
  margin: 0 0 4px;
  border-radius: 4px;
}
.draft-quote span {
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.draft-quote .icon-btn,
.pending-files .icon-btn {
  width: 20px;
  height: 20px;
}
.draft-quote .icon-btn svg,
.pending-files .icon-btn svg {
  width: 13px;
}
.pending-files {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.pending-files > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #edf2eb;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 11px;
}
.msg-files {
  display: grid;
  gap: 5px;
  margin-top: 6px;
  max-width: 100%;
}
.file-tile {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  text-align: left;
  background: white;
}
.file-tile:hover {
  border-color: #a0baa1;
}
.file-tile.compact {
  padding: 6px 9px;
  max-width: 295px;
  min-width: 205px;
}
.file-thumb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 6px;
  background: #e5eee1;
  color: #52744e;
  overflow: hidden;
  position: relative;
}
.file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.file-thumb i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #181b152b;
  color: #fff;
}
.compact .file-thumb {
  width: 33px;
  height: 33px;
}
.compact .file-thumb.image {
  width: 70px;
  height: 43px;
}
.file-tile > span:nth-child(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.file-tile strong {
  font-size: 12px;
  font-weight: 590;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-tile small {
  font-size: 10px;
  color: #819082;
}
.file-tile > svg {
  color: #8d9d8e;
}
.file-view {
  overflow: auto;
  padding: 25px clamp(20px, 3vw, 45px);
  flex: 1;
  min-height: 0;
}
.file-view h3 {
  font-size: 16px;
  margin: 0 0 15px;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 10px;
}

/* Work pages, controls and detail sheets */
.work-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f6f7f3;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(23px, 3vw, 48px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.page-head h1 {
  font-size: 25px;
}
.page-head p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 6px;
}
.page-buttons,
.filters,
.row-actions,
.dialog-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}
.work-scroll {
  overflow: auto;
  min-height: 0;
  flex: 1;
  padding: clamp(18px, 2.5vw, 38px) clamp(20px, 3vw, 48px) 32px;
}
.panel,
.identity-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
}
.panel h3,
.section-title h3,
.panel-toolbar h3 {
  font-size: 15px;
  font-weight: 650;
  color: #304033;
}
.panel h3 small,
.section-title h3 small,
.file-view h3 small {
  margin-left: 3px;
  vertical-align: middle;
}
.btn {
  border: 1px solid #d9e1d8;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 35px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 560;
  white-space: nowrap;
  background: white;
  color: #4b6051;
}
.btn:hover:not(:disabled) {
  background: #f1f5ee;
  border-color: #b2c5b1;
}
.btn.primary {
  color: #fff;
  background: #286447;
  border-color: #286447;
}
.btn.primary:hover:not(:disabled) {
  background: #20553b;
  border-color: #20553b;
}
.btn.soft {
  background: #e8f1e4;
  color: #396b47;
  border-color: #dae7d5;
}
.btn.small {
  min-height: 29px;
  font-size: 11px;
  padding: 0 10px;
}
.select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border: 1px solid #dce3da;
  background: #fff;
  border-radius: 7px;
  padding: 0 9px;
  height: 35px;
  color: #617267;
  font-size: 12px;
  position: relative;
}
.select-wrap select {
  appearance: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  height: 100%;
  min-width: 0;
  padding: 0 18px 0 1px;
  margin-right: -17px;
  position: relative;
  z-index: 1;
  color: #42594b;
}
.select-wrap .ic:last-child {
  pointer-events: none;
}
.report-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.37fr) minmax(0, 1fr);
  gap: 20px;
  max-width: 1370px;
  margin-inline: auto;
  align-items: start;
}
.report-list {
  padding: 16px 10px 10px;
}
.report-list h3 {
  margin: 0 7px 13px;
}
.report-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 9px;
  width: 100%;
  border-radius: 8px;
  text-align: left;
}
.report-row.current {
  background: #edf3e9;
}
.report-row:hover {
  background: #f1f5ee;
}
.doc-icon,
.action-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  flex: none;
  place-items: center;
  color: #52785b;
  background: #e5efdf;
}
.report-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.report-row strong,
.report-row small,
.row-grow strong,
.row-grow small,
.member-row small {
  display: block;
}
.report-row strong {
  font-weight: 600;
  font-size: 13px;
}
.report-row small {
  font-size: 10px;
  color: #7c897e;
  margin-top: 4px;
}
.report-row > svg {
  color: #8b9a8e;
}
.report-banner {
  padding: 23px 25px;
}
.report-banner h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.7px;
  margin: 8px 0 5px;
}
.report-banner p {
  font-size: 12px;
}
.report-banner .cover-chart {
  width: 135px;
}
.detail-body {
  padding: 22px;
}
.section-title,
.section-footer,
.panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.section-title > span,
.section-footer > span {
  font-size: 12px;
  color: var(--muted);
}
.section-title {
  margin-bottom: 15px;
}
.suggestions {
  display: grid;
  gap: 9px;
}
.suggestion {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid #e0e6dc;
  border-radius: 9px;
}
.suggestion:has(input:enabled) {
  cursor: pointer;
}
.suggestion:has(input:enabled):hover {
  border-color: #aabcaa;
}
.suggestion.checked {
  border-color: #83a584;
  background: #f5f9f1;
}
.suggestion input {
  margin: 2px 0 0;
}
.suggestion-content {
  display: grid;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.suggestion-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.suggestion-content > strong {
  font-size: 14px;
}
.suggestion-content > span:not(.suggestion-top),
.suggestion-content > small {
  font-size: 12px;
  line-height: 1.5;
  color: #6c7f70;
}
.category,
.badge,
.role {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  font-size: 10px;
  font-weight: 570;
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.5;
}
.category.peach,
.action-icon.peach {
  background: #f8e7db;
  color: #96593f;
}
.category.gold,
.action-icon.gold {
  background: #f5eed6;
  color: #8b6d2e;
}
.category.lavender,
.action-icon.lavender {
  background: #eae5f3;
  color: #715d8c;
}
.badge.draft {
  background: #f0f2ee;
  color: #758176;
}
.badge.pending {
  background: #f7eed7;
  color: #916b2a;
}
.badge.done {
  background: #e0eddf;
  color: #427553;
}
.badge.rejected,
.badge.blocked {
  background: #f6e6df;
  color: #9a5c48;
}
.section-footer {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.section-footer b {
  color: #376b49;
}
.panel-toolbar {
  min-height: 61px;
  padding: 0 20px;
  border-bottom: 1px solid #e6ebe4;
}
.panel-toolbar.wrap {
  flex-wrap: wrap;
  padding-block: 12px;
}
.work-tabs {
  display: flex;
  align-items: stretch;
  gap: 22px;
  min-height: 60px;
}
.work-tabs .tab {
  height: auto;
}
.approval-panel,
.settings-wrap,
.work-scroll > .panel {
  max-width: 1370px;
  margin-inline: auto;
}
.approval-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px;
  border-bottom: 1px solid #edf0eb;
}
.approval-row:last-child {
  border: 0;
}
.approval-row > input {
  margin: 11px 0 0;
}
.approval-copy {
  flex: 1;
  min-width: 0;
}
.line-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.line-title strong {
  font-size: 14px;
}
.approval-copy p {
  color: #66796c;
  font-size: 12px;
  line-height: 1.6;
  margin: 5px 0;
}
.approval-copy small {
  color: #78877a;
  font-size: 11px;
}
.approval-copy small i {
  margin: 0 4px;
  font-style: normal;
}
.row-actions {
  align-self: center;
}
.text-button {
  font: inherit;
  color: #4a7857;
  line-height: inherit;
}
.text-button:hover,
.receipt-link:hover,
.record-title:hover {
  text-decoration: underline;
}
.empty {
  padding: 52px 15px;
  text-align: center;
  color: #708073;
  display: grid;
  justify-items: center;
  gap: 9px;
}
.empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #6e9171;
  background: #edf3e8;
  margin-bottom: 3px;
}
.empty h3 {
  font-size: 15px;
  color: #556a5a;
  font-weight: 600;
}
.empty p {
  font-size: 12px;
  color: #829084;
  max-width: 390px;
  line-height: 1.65;
}
.empty .btn {
  margin-top: 7px;
}
.record-table-wrap {
  container-type: inline-size;
}
.record-table,
.csv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.record-table th,
.csv-table th {
  font-size: 11px;
  font-weight: 550;
  color: #6a7a6d;
  text-align: left;
  background: #f5f7f2;
  padding: 12px 17px;
}
.record-table td,
.csv-table td {
  padding: 14px 17px;
  border-bottom: 1px solid #e8ede7;
  color: #536858;
}
.record-table tr:last-child td,
.csv-table tr:last-child td {
  border-bottom: 0;
}
.record-title {
  font-weight: 620;
  font-size: 13px;
  color: #334d3a;
  text-align: left;
  overflow-wrap: anywhere;
}
.record-table td small {
  display: block;
  font-size: 10px;
  color: #819085;
  margin-top: 4px;
}
.record-table td:first-child {
  width: 40%;
}
.record-table td:last-child {
  width: 37px;
  padding-inline: 4px;
}
.filters {
  flex-wrap: wrap;
}
.identity-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 21px;
  margin-bottom: 17px;
}
.identity-card .avatar {
  width: 43px;
  height: 43px;
}
.row-grow {
  flex: 1;
  min-width: 0;
}
.row-grow strong {
  font-size: 14px;
  font-weight: 610;
}
.row-grow small,
.chat-info-id small {
  color: #7d8b80;
  font-size: 11px;
  margin-top: 4px;
  line-height: 1.5;
}
.identity-card .row-grow small {
  margin: 0 0 3px;
}
.role {
  background: #edf2e9;
  color: #658168;
  margin-left: 4px;
  vertical-align: middle;
}
.member-row,
.setting-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 20px;
  padding: 15px 0;
  border-bottom: 1px solid #e8ede6;
}
.member-row:last-child,
.setting-row:last-child {
  border: 0;
}
.member-row .avatar {
  width: 35px;
  height: 35px;
}
.permission-label {
  font-size: 11px;
  color: #6e7e71;
  min-width: 72px;
}
.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 29px;
}
.toggle {
  display: inline-flex;
  padding: 3px;
  align-items: center;
  width: 35px;
  height: 20px;
  border-radius: 12px;
  background: #c8d0c7;
}
.toggle i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px #1a361b22;
  transition: transform 0.15s;
}
.toggle.on {
  background: #5b8f62;
}
.toggle.on i {
  transform: translateX(15px);
}
.readonly-note {
  padding: 12px 20px;
  color: #78877a;
  font-size: 11px;
}
.dialog {
  --dialog-pad: 23px;
  border: 1px solid #d7e1d5;
  background: #fff;
  color: var(--ink);
  border-radius: 17px;
  padding: 0;
  width: min(445px, calc(100vw - 32px));
  max-height: min(80dvh, 700px);
  box-shadow: 0 24px 90px #11271933;
}
.dialog::backdrop {
  background: #142b2255;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px var(--dialog-pad) 12px;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid #e8ede7;
  background: #fff;
}
.dialog-head h2 {
  font-size: 18px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.dialog-head .icon-btn {
  width: 29px;
  height: 29px;
  background: #f3f5f0;
}
.dialog-body {
  padding: 17px var(--dialog-pad) 20px;
}
.dialog-footer {
  justify-content: flex-end;
  margin-top: 18px;
  flex-wrap: wrap;
}
.dialog-text,
.helper {
  font-size: 13px;
  color: #647669;
  line-height: 1.75;
}
.dialog-body .helper {
  font-size: 12px;
  margin-top: 10px;
}
.choice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 9px 8px;
  border-radius: 8px;
}
button.choice-row:hover,
.choice-row.chosen {
  background: #eff5eb;
}
.choice-row .avatar {
  width: 35px;
  height: 35px;
}
.choice-row > span:not(.avatar) {
  flex: 1;
  min-width: 0;
}
.choice-row strong,
.choice-row small,
.chat-info-id strong,
.chat-info-id small {
  display: block;
}
.choice-row strong,
.chat-info-id strong {
  font-size: 13px;
  font-weight: 610;
}
.choice-row small {
  font-size: 11px;
  color: #79897a;
  margin-top: 4px;
}
.choice-row > svg {
  color: #688a6b;
}
.chat-info-id {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px;
}
.dialog .setting-row {
  margin: 0 0 10px;
}
.search-results {
  max-height: 52dvh;
  overflow: auto;
  margin-top: 11px;
}
.search-result {
  width: 100%;
  text-align: left;
  padding: 11px 5px;
  border-bottom: 1px solid #e8ede5;
}
.search-result:hover {
  background: #f5f8f2;
}
.search-result span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #6d8271;
  font-size: 11px;
}
.search-result time {
  font-size: 10px;
}
.search-result strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.form-field {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 14px;
}
.form-field :is(input, select, textarea) {
  width: 100%;
  min-height: 37px;
  padding: 7px 10px;
  border: 1px solid #d9e2d7;
  background: white;
  border-radius: 6px;
  font-weight: 400;
  font-size: 13px;
}
.form-field textarea {
  resize: vertical;
  line-height: 1.7;
}
.dialog fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px 11px;
  margin: 11px 0;
}
.dialog legend {
  font-size: 11px;
  color: #758775;
  padding: 0 4px;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  padding: 5px 0;
}
.voice-demo,
.generic-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 14px 0 7px;
}
.voice-orb {
  width: 72px;
  height: 72px;
  background: #e3efdc;
  border-radius: 50%;
  color: #497b54;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}
.voice-orb.recording {
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px #e9f2e2;
  }
}
.voice-demo h3 {
  font-size: 16px;
}
.voice-demo p,
.generic-file small {
  color: #76877a;
  font-size: 12px;
}
.voice-demo .btn {
  margin-top: 8px;
}
.emojis {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.emojis button {
  height: 43px;
  min-width: 43px;
  background: #f1f4ed;
  border-radius: 6px;
  font-size: 19px;
}
.media-dialog {
  width: min(700px, calc(100vw - 32px));
}
.preview-image,
.preview-video {
  width: 100%;
  max-height: 52dvh;
  object-fit: contain;
  border-radius: 7px;
  background: #f3f4ef;
}
.text-preview {
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 45vh;
  overflow: auto;
  color: #526755;
  font-size: 12px;
  background: #f3f6ef;
  padding: 12px;
}
.pdf-preview {
  width: 100%;
  min-height: 45dvh;
  border: 0;
}
.csv-scroll {
  overflow-x: auto;
}
.csv-table {
  border: 1px solid var(--line);
}
.record-detail-title {
  display: grid;
  gap: 7px;
  margin: 3px 0 15px;
}
.record-detail-title h3 {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.key-values > div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  border-top: 1px solid #ecf0ea;
  padding: 8px 1px;
  font-size: 12px;
}
.key-values dt {
  color: #798a7c;
}
.receipt-box {
  margin-top: 11px;
  padding: 13px;
  border-radius: 8px;
  background: #edf4e9;
}
.receipt-box strong {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #446d4b;
  font-size: 12px;
}
.receipt-box p {
  font-size: 13px;
  color: #506656;
  line-height: 1.65;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
#notice {
  position: fixed;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  bottom: 26px;
  left: 50%;
  max-width: calc(100vw - 24px);
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  background: #214b38;
  color: #fff;
  border-radius: 9px;
  padding: 10px 17px;
  font-size: 12px;
  box-shadow: 0 6px 20px #132d2329;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#notice.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#notice button {
  pointer-events: auto;
  color: #d5efaa;
  font-weight: 650;
  text-decoration: underline;
  padding: 2px 4px;
}
@media (min-width: 1600px) {
  .list-head,
  .room-header {
    height: 88px;
  }
  .timeline-inner {
    padding-top: 19px;
  }
  .message {
    margin-bottom: 22px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  :root {
    --rail: 73px;
    --list: clamp(228px, 25.5vw, 270px);
  }
  .sidebar {
    padding: 0 9px;
  }
  .brand {
    justify-content: center;
    padding: 0;
    min-height: 84px;
  }
  .brand-type,
  .sidebar .nav-label,
  .shop-nav h2,
  .shop-nav span,
  .profile > span:nth-child(2),
  .profile > svg,
  .local-mode span,
  .local-mode svg {
    display: none;
  }
  .nav-link {
    justify-content: center;
    padding: 0;
  }
  .nav-count {
    position: absolute;
    right: 1px;
    top: 0;
    font-size: 8px;
    line-height: 12px;
    padding: 0 3px;
  }
  .shop-nav {
    margin-inline: 5px;
    padding-top: 13px;
  }
  .shop-nav button {
    justify-content: center;
  }
  .local-mode {
    justify-content: center;
    margin: 0 auto 10px;
    width: 30px;
    height: 24px;
  }
  .profile {
    justify-content: center;
    padding: 12px 0 0;
  }
}
@media (min-width: 761px) and (max-height: 815px) {
  .list-head,
  .room-header {
    min-height: 65px;
    height: 65px;
  }
  .timeline-inner {
    padding-block: 9px 13px;
  }
  .message {
    margin-bottom: 12px;
  }
  .date-divider {
    margin-bottom: 12px;
  }
  .composer-area {
    padding-bottom: 12px;
  }
  .composer textarea {
    min-height: 40px;
    height: 40px;
  }
  .cover-body {
    gap: 3px;
  }
  .report-cover {
    padding-block: 10px;
  }
  .card-metrics {
    padding-block: 10px;
  }
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .sidebar {
    display: none;
  }
  .mobile-nav {
    display: grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(0,1fr);
    align-items: center;
    padding: 3px 4px max(3px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .mobile-nav .nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 44px;
    gap: 3px;
    padding: 0;
    color: #7a8980;
    font-size: 10px;
    border-radius: 6px;
  }
  .mobile-nav .nav-link.active,
  .mobile-nav .nav-link.active .nav-glyph {
    color: #356a48;
  }
  .mobile-nav .nav-count {
    position: absolute;
    top: 0;
    left: calc(50% + 4px);
    font-size: 8px;
    line-height: 11px;
    padding: 0 3px;
    background: #669071;
    color: white;
  }
  .chat-layout {
    display: block;
  }
  .conversation-panel,
  .room {
    height: 100%;
    border: 0;
  }
  .show-room .conversation-panel,
  .show-list .room {
    display: none;
  }
  .list-head {
    height: 65px;
    padding: 0 19px;
  }
  .conversation-scroll {
    padding-inline: 10px;
  }
  .conversation {
    min-height: 66px;
  }
  .conv-top strong {
    font-size: 14px;
  }
  .room-header {
    min-height: 64px;
    padding: 9px 12px 9px 6px;
    gap: 5px;
  }
  .room-header [data-mobile-back] {
    display: inline-flex;
  }
  .room-title h2 {
    font-size: 16px;
  }
  .room-title > div {
    font-size: 10px;
    margin-top: 3px;
  }
  .face-stack {
    display: none;
  }
  .room-actions {
    gap: 0;
  }
  .room-actions .icon-btn {
    width: 30px;
  }
  .room-tabs {
    height: 34px;
    padding-inline: 17px;
  }
  .room-tabs > div {
    gap: 21px;
  }
  .timeline-inner {
    padding: 12px 13px;
  }
  .date-divider {
    margin: 3px 0 15px;
  }
  .message {
    gap: 7px;
    margin-bottom: 16px;
  }
  .msg-avatar {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .msg-content {
    max-width: calc(100% - 45px);
  }
  .msg-content:has(.report-card) {
    width: min(365px, calc(100% - 45px));
  }
  .bubble {
    font-size: 13px;
    padding: 8px 10px;
    line-height: 1.65;
  }
  .quote-action {
    position: static;
    opacity: 1;
    width: 24px;
    height: 19px;
    margin-top: 2px;
    background: transparent;
    color: #839485;
  }
  .quote-action svg {
    width: 13px;
  }
  .msg-meta strong {
    font-size: 11px;
  }
  .msg-meta {
    margin-bottom: 3px;
  }
  .report-card {
    width: min(345px, 100%);
  }
  .report-cover {
    padding: 12px;
    gap: 6px;
  }
  .cover-body strong {
    font-size: 16px;
  }
  .cover-chart {
    width: 85px;
  }
  .card-metrics {
    padding-block: 10px;
  }
  .card-metrics > span {
    padding-left: 14px;
  }
  .card-metrics b {
    font-size: 20px;
  }
  .card-link {
    padding: 8px 12px;
  }
  .composer-area {
    padding: 4px 9px 7px;
  }
  .composer {
    border-radius: 10px;
    padding: 5px 8px;
  }
  .composer textarea {
    min-height: 36px;
    height: 36px;
    padding-top: 3px;
  }
  .composer-tools > div {
    gap: 1px;
  }
  .composer-tools .icon-btn {
    width: 27px;
    height: 26px;
  }
  .send-side {
    gap: 5px;
  }
  .send-side small {
    display: none;
  }
  .send-button {
    height: 28px;
    padding-inline: 11px;
  }
  .page-head {
    padding: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .page-head h1 {
    font-size: 21px;
  }
  .page-head p {
    font-size: 12px;
  }
  .work-scroll {
    padding: 12px 12px 18px;
  }
  .report-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
  .report-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px;
    gap: 4px;
  }
  .report-list h3 {
    display: none;
  }
  .report-row {
    width: auto;
    min-width: 165px;
    flex: none;
    padding: 8px;
    gap: 7px;
  }
  .report-row .doc-icon {
    width: 29px;
    height: 29px;
  }
  .report-row strong {
    font-size: 12px;
  }
  .detail-body {
    padding: 13px;
  }
  .report-banner {
    padding: 15px;
  }
  .report-banner h2 {
    font-size: 20px;
    margin-top: 5px;
  }
  .report-banner .cover-chart {
    width: 85px;
  }
  .suggestion {
    padding: 10px;
    gap: 8px;
  }
  .suggestion-content {
    gap: 4px;
  }
  .section-footer {
    margin-top: 10px;
  }
  .panel-toolbar {
    padding-inline: 12px;
    gap: 6px;
    min-height: 48px;
  }
  .work-tabs {
    gap: 14px;
    min-height: 48px;
  }
  .approval-row {
    padding: 13px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .approval-row .action-icon {
    width: 28px;
    height: 28px;
  }
  .approval-row .action-icon svg {
    width: 16px;
  }
  .approval-row > input {
    margin-top: 6px;
  }
  .approval-copy {
    flex-basis: calc(100% - 83px);
  }
  .row-actions {
    margin-left: auto;
  }
  .identity-card {
    padding: 12px;
  }
  .member-row,
  .setting-row {
    margin-inline: 13px;
    gap: 8px;
  }
  .member-row .permission-label {
    display: none;
  }
  .filters {
    gap: 5px;
  }
  .filters .select-wrap {
    height: 30px;
    font-size: 11px;
    padding-inline: 5px;
  }
  .page-buttons .btn,
  .page-buttons .select-wrap {
    min-height: 31px;
    height: 31px;
  }
  #notice {
    bottom: 58px;
  }
}
@container (max-width: 570px) {
  .record-table thead {
    display: none;
  }
  .record-table,
  .record-table tbody {
    display: block;
  }
  .record-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 8px;
    padding: 13px;
    border-bottom: 1px solid #e6ebe4;
  }
  .record-table td,
  .record-table td:first-child,
  .record-table td:last-child {
    width: auto;
    border: 0;
    padding: 0;
  }
  .record-table td:first-child {
    grid-column: 1;
  }
  .record-table td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .record-table td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }
  .record-table td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    font-size: 10px;
  }
  .record-table td:nth-child(4) small,
  .record-table td:nth-child(2) small {
    display: inline;
    margin: 0 0 0 2px;
  }
  .record-table td:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
