:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #1e293b;
  background: #f6f8f9;
  font-size: 14px;
  --teal: #0f766e;
  --soft: #f0fdfa;
  --muted: #8293ab;
  --border: #edf2f7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  padding: 10px 17px;
  font-weight: 500;
  transition: background 0.15s;
}
button:hover {
  background: #115e59;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 2px;
}
.secondary {
  background: white;
  border-color: #e2e8f0;
  color: #52657b;
}
.secondary:hover,
.plain:hover {
  background: var(--soft);
  color: var(--teal);
}
.plain {
  background: transparent;
  color: #64748b;
  border: 0;
}
.link {
  background: transparent;
  color: var(--teal);
  padding: 0;
  border: 0;
  font-size: 12px;
}
.link:hover {
  background: transparent;
  text-decoration: underline;
}
.muted {
  color: var(--muted);
  line-height: 1.6;
}
small {
  font-size: 12px;
}
.error {
  color: #b91c1c;
  line-height: 1.6;
  margin: 12px 0;
}
.error:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
.icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal);
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
  background:
    linear-gradient(#052e2bb0, #052e2baa),
    url("./assets/login-bg.png") center/cover;
}
.login-panel {
  display: grid;
  grid-template-columns: 38% 62%;
  width: min(1120px, 100%);
  min-height: 660px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 80px #002f3550;
}
.login-brand {
  position: relative;
  background: linear-gradient(145deg, #102e2c, #153e39);
  color: white;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.login-brand:after {
  content: "";
  position: absolute;
  bottom: -130px;
  right: -100px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  width: 350px;
  height: 350px;
  pointer-events: none;
}
.login-brand h1 {
  font-size: 29px;
  margin: 0;
}
.login-brand em {
  font-size: 23px;
  color: #5eead4;
}
.login-brand h2 {
  font-size: 38px;
  margin: 0 0 24px;
}
.login-brand h3 {
  font-size: 18px;
  color: #c0d0cd;
  font-weight: 500;
}
.login-brand p {
  color: #91afaa;
  line-height: 1.8;
}
.login-foot {
  font-size: 13px;
}
.login-form {
  padding: 48px 58px;
}
.login-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 46px;
  color: var(--muted);
}
.login-tabs span {
  padding: 0 0 18px;
  font-size: 17px;
}
.login-tabs .active {
  border-bottom: 3px solid var(--teal);
  color: #1e293b;
  font-weight: 600;
}
.login-form h2 {
  font-size: 27px;
  margin-bottom: 10px;
}
.login-form label {
  display: block;
  margin-top: 26px;
  color: #475569;
}
.login-form input {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #fcfdfd;
}
.login-form button {
  width: 100%;
  margin-top: 32px;
  padding: 15px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.shell aside {
  width: 220px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  height: 72px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.brand strong {
  font-size: 14px;
}
.brand small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.shell nav {
  overflow: auto;
  flex: 1;
  padding: 12px 8px;
}
.nav-group {
  font-size: 11px;
  letter-spacing: 1px;
  color: #94a3b8;
  padding: 14px 10px 6px;
}
.shell nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 3px 0;
  padding: 12px 10px;
  text-align: left;
  background: transparent;
  color: #475569;
  border-radius: 10px;
  font-size: 13px;
}
.shell nav button.active,
.shell nav button:hover {
  color: var(--teal);
  background: var(--soft);
}
.shell nav button.active {
  font-weight: 600;
}
.side-bottom {
  border-top: 1px solid var(--border);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}
.side-bottom button {
  font-size: 12px;
  padding: 7px;
}
.content {
  margin-left: 220px;
  width: calc(100% - 220px);
  padding: 28px 30px 40px;
}
.content header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.content h1 {
  font-size: 23px;
  line-height: 1.5;
  margin: 3px 0 4px;
}
.content header p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
  font-size: 13px;
}
.eyebrow {
  font-size: 12px;
  margin-bottom: 4px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.actions button {
  font-size: 12px;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 2px 4px #0f172a03;
}
.panel h2 {
  font-size: 15px;
  margin: 0 0 16px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.section-heading h2 {
  margin: 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat {
  text-align: center;
  padding: 17px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 17px;
  box-shadow: 0 2px 4px #0f172a04;
}
.stat strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: #14665f;
  margin-bottom: 7px;
}
.stat:first-child strong {
  color: #b45309;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.quick {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: #334155;
  padding: 14px 10px;
  border-radius: 15px;
}
.quick:hover {
  background: var(--soft);
  border-color: #99f6e4;
  color: var(--teal);
}
.icon-box {
  background: var(--soft);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
}
.quick small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 400;
  font-size: 11px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}
.module {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #475569;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 5px;
  font-size: 12px;
  box-shadow: 0 2px 4px #0f172a04;
}
.module:hover {
  color: var(--teal);
  background: var(--soft);
}
.badge {
  border-radius: 30px;
  background: #fffbeb;
  color: #b45309;
  padding: 4px 8px;
  font-size: 11px;
}
.module .badge {
  position: absolute;
  top: 10px;
  right: calc(50% - 29px);
  background: #f59e0b;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
.todo-row {
  border: 1px solid var(--border);
  border-radius: 15px;
  margin-top: 10px;
  overflow: hidden;
  background: #fcfdfd;
}
.todo-row summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
}
.todo-row summary:after {
  content: "⌄";
  color: #94a3b8;
  margin-left: auto;
}
.todo-row[open] summary:after {
  content: "⌃";
}
.thumb {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 11px;
  background: var(--soft);
  flex-shrink: 0;
}
.todo-text {
  min-width: 0;
  flex: 1;
}
.todo-text strong {
  font-size: 13px;
}
.todo-text small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}
.todo-detail {
  border-top: 1px solid var(--border);
  padding: 16px;
  font-size: 13px;
  line-height: 1.8;
}
.todo-detail .actions {
  margin-top: 12px;
}
.todo-detail p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tag {
  display: inline-block;
  font-size: 10px;
  background: var(--soft);
  color: var(--teal);
  border-radius: 6px;
  padding: 3px 7px;
  margin-right: 7px;
  white-space: nowrap;
}
.status {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 30px;
  font-size: 11px;
  background: var(--soft);
  color: var(--teal);
  white-space: nowrap;
}
.status.pending,
.status.processing {
  background: #fffbeb;
  color: #b45309;
}
.status.rejected,
.status.cancelled {
  background: #fff1f2;
  color: #be123c;
}
.status.disabled,
.status.offline,
.status.ended,
.status.maintenance {
  background: #f1f5f9;
  color: #64748b;
}
.scene-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 13px;
}
.scene-row div {
  flex: 1;
}
.scene-row small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.empty {
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.panel .empty {
  background: #fcfdfd;
  border: 1px dashed #e2e8f0;
  border-radius: 13px;
  padding: 24px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.chips,
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chips button {
  background: #eef2f7;
  color: #64748b;
  border-radius: 24px;
  font-size: 12px;
  padding: 9px 15px;
}
.chips button.active {
  background: var(--teal);
  color: #fff;
}
.tabs {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.tabs button {
  background: transparent;
  color: #64748b;
  font-size: 13px;
  padding: 10px 14px;
}
.tabs button.active {
  background: var(--soft);
  color: var(--teal);
}
input,
select,
textarea {
  color: #334155;
  max-width: 100%;
}
input:not([type="checkbox"]),
select,
textarea {
  border: 1px solid #dbe3ec;
  background: #fff;
  border-radius: 10px;
  padding: 11px 13px;
}
input::placeholder,
textarea::placeholder {
  color: #a1adbb;
}
.search {
  width: 270px;
  max-width: 100%;
}
.result-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}
.resource-card {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 4px #0f172a05;
}
.resource-card .cover {
  height: 155px;
  position: relative;
  background: #e2e8f0;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, #0f172aaa);
}
.cover h3 {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  color: white;
  font-size: 13px;
  margin: 0;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cover .status {
  position: absolute;
  top: 10px;
  right: 9px;
  z-index: 1;
  background: #ffffffdd;
}
.card-body {
  padding: 12px;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.card-body p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-body button {
  margin-top: 5px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.pagination .actions button {
  padding: 7px 12px;
}
.table-panel {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  white-space: nowrap;
}
th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  background: #fafcfd;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
}
td:first-child {
  min-width: 220px;
  max-width: 460px;
  white-space: normal;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
td .actions {
  flex-wrap: nowrap;
}
.item {
  background: #fff;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  font-size: 13px;
}
.item > div:first-child {
  flex: 1;
  min-width: 200px;
}
.item .actions {
  max-width: 600px;
}
.item .actions select {
  max-width: 210px;
}
.item p {
  margin: 6px 0;
}
.identity-heading {
  margin: 24px 0 12px;
  font-size: 16px;
}
.environment-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 18px; margin-bottom: 18px; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; border-radius: 12px; font-size: 13px; line-height: 1.6; }
.environment-notice a { color: #0f766e; font-weight: 600; text-decoration: underline; }
.resident-overview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.resident-scope { line-height: 1.8; margin: 18px 0; }
.resident-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.resident-dimension { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.resident-dimension h2 { font-size: 17px; margin: 0 0 22px; }
.resident-age { grid-column: 1 / -1; }
.resident-option { margin-top: 16px; }
.resident-option-heading { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.resident-option-heading strong { color: var(--teal); white-space: nowrap; }
.resident-bar { height: 7px; border-radius: 8px; background: #f1f5f9; overflow: hidden; margin-top: 8px; }
.resident-bar-fill { background: var(--teal); height: 100%; border-radius: inherit; }
.resident-list { background: white; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.resident-detail + .resident-detail { border-top: 1px solid var(--border); }
.resident-detail summary { cursor: pointer; padding: 20px; display: flex; align-items: center; gap: 20px; }
.resident-detail summary::-webkit-details-marker { display: none; }
.resident-person { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.resident-status { background: var(--soft); color: var(--teal); border-radius: 8px; padding: 6px 10px; font-size: 12px; white-space: nowrap; }
.resident-answers { margin: 0; padding: 0 20px 20px; display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 12px 24px; font-size: 13px; line-height: 1.7; }
.resident-answers dt { color: var(--muted); }
.resident-answers dd { margin: 0; overflow-wrap: anywhere; }
.resident-expand::after { content: " ›"; }
.resident-detail[open] .resident-expand::after { content: " ⌄"; }
@media (max-width: 700px) {
  .resident-dimensions { grid-template-columns: 1fr; }
  .residents-page .resident-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resident-detail summary { flex-wrap: wrap; gap: 12px; }
  .resident-answers { grid-template-columns: 1fr; gap: 6px; }
  .resident-answers dd { margin-bottom: 10px; }
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(620px, 100%);
  height: 100%;
  max-height: 100vh;
  max-width: 100%;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 20px 0 0 20px;
  padding: 0;
  box-shadow: -15px 0 80px #0f172a18;
}
.drawer::backdrop {
  background: #0f172a55;
}
.drawer form {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 26px 18px;
  border-bottom: 1px solid var(--border);
}
.dialog-head h2 {
  font-size: 20px;
  margin: 0;
}
.dialog-head p {
  margin: 6px 0 0;
  font-size: 12px;
}
.editor-fields {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  min-width: 0;
}
.field.wide {
  grid-column: 1/-1;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}
.field .help {
  font-size: 11px;
  color: var(--muted);
}
.field.check {
  flex-direction: row;
  align-items: center;
}
.field input[type="checkbox"] {
  accent-color: var(--teal);
  width: 17px;
  height: 17px;
}
.cover-choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cover-choice {
  padding: 0;
  border: 3px solid transparent;
  border-radius: 9px;
  background: #f8fafc;
  color: #64748b;
  overflow: hidden;
  font-size: 10px;
}
.cover-choice img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
  margin-bottom: 4px;
}
.cover-choice.active {
  border-color: #0f766e;
  background: #f0fdfa;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 26px;
  border-top: 1px solid var(--border);
  background: white;
  position: sticky;
  bottom: 0;
}
.drawer .error {
  padding: 0 26px;
}
.weekday-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.weekday-row label {
  display: flex;
  align-items: center;
  gap: 3px;
}
.form-panel {
  max-width: 900px;
}
.form-panel .editor-fields {
  padding: 5px;
}
.form-panel .actions {
  justify-content: flex-end;
  margin-top: 25px;
}
.metric-bars {
  display: grid;
  gap: 20px;
}
.metric-bar label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}
.track {
  height: 9px;
  background: #eef2f6;
  border-radius: 9px;
  overflow: hidden;
}
.track span {
  display: block;
  height: 100%;
  background: #14b8a6;
  border-radius: 9px;
}
#message:not(:empty) {
  margin: 0 0 18px;
  padding: 13px 16px;
  background: #f0fdfa;
  border-radius: 10px;
  font-size: 13px;
}
#list > h2 {
  font-size: 16px;
  margin: 24px 0 14px;
}
.field-group {
  grid-column: 1/-1;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin: 4px 0;
}
.readonly-note {
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px;
  line-height: 1.7;
  font-size: 12px;
  color: #64748b;
}
@media (min-width: 1800px) {
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  }
  .content {
    padding: 30px 32px;
  }
}
@media (max-width: 1250px) {
  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .module-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .content {
    padding: 24px;
  }
  .login-brand {
    padding: 35px;
  }
  .login-form {
    padding: 40px;
  }
}
@media (max-width: 760px) {
  .shell aside {
    width: 68px;
  }
  .brand {
    padding: 17px;
  }
  .brand > div,
  .nav-group,
  .shell nav button span,
  .side-bottom > span,
  .side-bottom button {
    display: none;
  }
  .shell nav button {
    justify-content: center;
    padding: 12px;
  }
  .content {
    margin-left: 68px;
    width: calc(100% - 68px);
    padding: 16px;
  }
  .content header {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .content h1 {
    font-size: 20px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .module-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats {
    gap: 8px;
  }
  .stat strong {
    font-size: 22px;
  }
  .login {
    padding: 20px;
  }
  .login-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .login-brand {
    padding: 28px;
  }
  .login-brand > div,
  .login-foot {
    display: none;
  }
  .login-form {
    padding: 28px;
  }
  .login-tabs {
    margin-bottom: 24px;
  }
  .editor-fields {
    grid-template-columns: 1fr;
  }
  .field {
    grid-column: 1/-1;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
}

/* Community operations report follows the preview's monthly report layout. */
.insights-page {
  display: grid;
  gap: 16px;
  padding-bottom: 32px;
}
.report-hero {
  padding: 20px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  box-shadow: 0 2px 4px #0f172a08;
  overflow: hidden;
}
.report-hero-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.report-hero-heading > .icon {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}
.report-eyebrow {
  margin: 0;
  font-size: 12px;
  color: #ffffffbf;
}
.report-hero h2 {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.report-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: #ffffffcc;
}
.report-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  text-align: center;
}
.report-hero-metrics > div {
  padding: 10px 8px;
  background: #ffffff1a;
  border-radius: 12px;
}
.report-hero-metrics strong {
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.report-hero-metrics span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #ffffffbf;
}
.report-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.report-card {
  min-width: 0;
  background: white;
  color: #334155;
  text-align: left;
  padding: 16px;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  box-shadow: 0 2px 4px #0f172a05;
}
.report-card:hover {
  background: white;
  border-color: #99f6e4;
}
.report-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
}
.report-card-heading .icon {
  width: 16px;
  height: 16px;
}
.report-value {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  color: #115e59;
  font-variant-numeric: tabular-nums;
}
.report-hint {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.6;
}
.report-points {
  padding: 16px;
  border-radius: 12px;
}
.report-points h2 {
  font-size: 15px;
  margin-bottom: 12px;
}
.report-points ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}
.report-note {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.7;
}
.commerce-page .notice { padding: 14px 18px; background: #fff7ed; color: #9a3412; border-radius: 12px; margin-bottom: 18px; }
.commerce-card { background: white; padding: 24px; border: 1px solid #e2e8f0; border-radius: 16px; margin: 18px 0; overflow-x: auto; }
.commerce-card h3 { margin: 0 0 16px; }
.commerce-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.commerce-field { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.commerce-field input, .commerce-field select { border: 1px solid #cbd5e1; padding: 10px; border-radius: 8px; font: inherit; }
.commerce-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.commerce-table th, .commerce-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid #e2e8f0; white-space: pre-line; vertical-align: top; }
.commerce-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.commerce-actions details { width: 100%; word-break: break-all; }
.commerce-page .error { color: #b91c1c; }
@media (max-width: 1279px) {
  .report-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .report-cards {
    grid-template-columns: 1fr;
  }
}

.news-block-list{width:100%;display:grid;gap:18px}.news-block{padding:18px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.news-block textarea,.news-block input{width:100%}.news-block textarea{min-height:180px}.news-block img{max-width:100%;max-height:360px;display:block;margin-bottom:12px}.news-block-actions{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}

.cancel-request { padding: 8px 12px; background: #fff7ed; color: #9a3412; border-radius: 10px; }
