﻿:root {
  --bg: #f5f6f8;
  --panel: #fff;
  --ink: #242a35;
  --muted: #89909c;
  --line: #edf0f3;
  --red: #e44349;
  --red-hover: #cc3038;
  --navy: #1b2433;
  --font:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", sans-serif;
  font-family: var(--font);
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ec8e92;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #eb9a9d;
  outline-offset: 1px;
}
input,
select,
textarea {
  min-width: 0;
  border: 1px solid #e3e6ec;
  border-radius: 7px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237d8592' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
textarea {
  resize: vertical;
  line-height: 1.8;
}
input::placeholder,
textarea::placeholder {
  color: #a1a6b0;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  min-height: 38px;
  padding: 8px 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.18s,
    transform 0.18s;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 2px 3px #db3f4410;
}
.primary:hover {
  background: var(--red-hover);
}
.secondary {
  background: #fff;
  border-color: #e4e7ec;
  color: #555f6c;
}
.secondary:hover {
  background: #f7f8fa;
}
.soft-red {
  background: #fff0f0;
  color: #da3e45;
  border-color: #ffe1e2;
}
.text {
  color: #d94047;
  background: transparent;
  padding: 6px 4px;
  min-height: 30px;
}
.text:hover {
  background: #fff3f3;
}
.icon-btn {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  border-radius: 6px;
  color: #7e8591;
}
.icon-btn:hover {
  background: #f0f2f5;
}
.text-btn {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  line-height: 1.6;
}
.text-btn:hover {
  color: var(--red);
}
.muted {
  color: var(--muted);
}
.full {
  width: 100%;
}
.text-red {
  color: #d94a50 !important;
}
.text-green {
  color: #30987d !important;
}
.text-amber {
  color: #c78a29 !important;
}
.blue {
  color: #4e80d0;
  background: #edf3ff;
}
.purple {
  color: #8a6ac8;
  background: #f3effb;
}
.green {
  color: #339e80;
  background: #ebf7f1;
}
.amber {
  color: #bd862b;
  background: #fff6e7;
}
.red {
  color: #df5258;
  background: #fff0f0;
}
.gray {
  color: #7f8792;
  background: #f1f3f6;
}
.boot {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -2px;
}
.boot span {
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid #e9ecf1;
  padding: 29px 18px 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #c5ccd6 transparent;
  z-index: 30;
}
.sidebar > * {
  flex-shrink: 0;
}
.sidebar-create-fleet {
  width: 100%;
  margin: 0 0 20px;
  color: var(--red);
  background: #fff7f7;
  border-color: #f5d5d7;
}
.btn.danger {
  color: white;
  background: #c33843;
  border-color: #c33843;
}
.btn.danger:hover {
  background: #a92632;
}
.btn.danger-text {
  color: #c33843;
  border-color: #edcbd0;
  background: #fff7f8;
}
.deletion-warning {
  color: #b63440;
  background: #fff2f3;
  border-color: #f1cdd1;
  align-items: flex-start;
}
.deletion-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.deletion-counts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.deletion-counts span {
  color: #8792a3;
  font-size: 13px;
}
.deletion-counts strong {
  font-size: 18px;
}
@media (max-width: 700px) {
  .deletion-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.sidebar::-webkit-scrollbar {
  width: 5px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #c5ccd6;
  border-radius: 8px;
}
.brand {
  display: grid;
  gap: 9px;
  align-items: start;
  padding: 0 9px 27px;
}
.team-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.brand .team-logo {
  max-width: 180px;
}
.brand-caption {
  color: #69717e;
  font-size: 12px;
  letter-spacing: 2px;
}
.team-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f8fa;
  border: 1px solid #eceef2;
  border-radius: 8px;
  padding: 12px 10px;
  margin: 0 0 25px;
}
.team-switch > .icon {
  color: #e15157;
}
.team-switch > div {
  flex: 1;
  min-width: 0;
}
.team-switch strong {
  font-size: 14px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
}
.team-switch div > span {
  font-size: 11px;
  color: #979da7;
  letter-spacing: 0.2px;
}
.nav-label {
  font-size: 11px;
  color: #9ba1ac;
  letter-spacing: 1px;
  padding: 0 14px;
  margin-bottom: 9px;
}
.nav-label.spaced {
  margin-top: 27px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 7px;
  color: #69717e;
  margin: 4px 0;
  transition: background 0.15s;
}
.nav-item .icon {
  width: 19px;
  height: 19px;
}
.nav-item:hover {
  background: #f7f8fa;
}
.nav-item.active {
  background: #fff0f0;
  color: #de3e46;
  font-weight: 600;
}
.nav-item.active:before {
  content: "";
  width: 3px;
  height: 18px;
  background: #e44349;
  border-radius: 3px;
  position: absolute;
  left: -18px;
}
.nav-count {
  font-size: 11px;
  background: #ffe0e1;
  color: #d34d53;
  border-radius: 4px;
  margin-left: auto;
  padding: 0 6px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.season-card {
  background: linear-gradient(130deg, #f8f9fb, #f1f3f6);
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 14px 12px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.season-card:after {
  content: "HRT";
  position: absolute;
  right: -4px;
  bottom: 0;
  font-size: 38px;
  font-style: italic;
  font-weight: 900;
  color: #e6e9ef66;
}
.season-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8a919d;
  font-size: 11px;
}
.season-label .icon {
  width: 13px;
  height: 13px;
}
.season-card strong {
  display: block;
  font-size: 17px;
  margin: 5px 0 4px;
}
.season-card > span:last-child {
  display: block;
  font-size: 10px;
  color: #9ba1ac;
  position: relative;
  z-index: 1;
}
.user-profile {
  width: calc(100% + 36px);
  margin: 15px -18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: #fff;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 19px 17px;
}
.user-profile > span:nth-child(2) {
  flex: 1;
}
.user-profile strong {
  display: block;
  font-size: 13px;
}
.user-profile small {
  display: block;
  color: #9298a3;
  font-size: 10px;
  margin-top: 2px;
}
.user-profile > .icon {
  width: 18px;
}
.avatar {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: hsl(var(--avatar-hue) 27% 92%);
  color: hsl(var(--avatar-hue) 25% 43%);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.avatar.small {
  width: 31px;
  height: 31px;
  font-size: 10px;
}
.avatar.tiny {
  width: 25px;
  height: 25px;
  font-size: 9px;
}
.avatar.large {
  width: 65px;
  height: 65px;
  font-size: 22px;
}
.main-wrap {
  margin-left: 232px;
  width: calc(100% - 232px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffed;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  color: #979daa;
}
.breadcrumb .icon {
  width: 13px;
  height: 13px;
  color: #a7adb7;
}
.breadcrumb strong {
  font-weight: 500;
  color: #4d5563;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 21px;
}
.season-select {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6d7684;
}
.season-select > .icon:first-child {
  width: 16px;
  height: 16px;
  color: #e05b60;
}
.season-select > .icon:last-child {
  width: 12px;
  height: 12px;
}
.season-select select {
  background: none;
  border: 0;
  font-size: 12px;
  padding: 4px;
  outline: none;
  cursor: pointer;
  max-width: 150px;
}
.top-separator {
  height: 21px;
  width: 1px;
  background: #e8ebef;
}
.notification {
  position: relative;
}
.notification i {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  border: 1px solid white;
}
.mobile-menu {
  display: none;
}
.content {
  padding: 31px 34px 15px;
  max-width: 1660px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  color: #9aa1ac;
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-bottom: 7px;
  font-weight: 600;
}
.page-heading h1 {
  font-size: 25px;
  letter-spacing: 0.3px;
  line-height: 1.5;
  font-weight: 650;
  margin: 0 0 7px;
}
.page-heading p {
  font-size: 12px;
  color: #9198a4;
  margin: 0;
  letter-spacing: 0.2px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.date-tag {
  font-size: 11px;
  color: #8f97a4;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.date-tag .icon {
  width: 14px;
  height: 14px;
}
.hero {
  height: 245px;
  border-radius: 11px;
  background: linear-gradient(110deg, #202b3b 0%, #1a2231 56%, #1f2939 100%);
  position: relative;
  color: white;
  overflow: hidden;
  display: flex;
}
.hero-copy {
  padding: 29px 33px;
  position: relative;
  z-index: 2;
  flex: 1;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #c2c8d3;
}
.hero-kicker > span {
  height: 5px;
  width: 5px;
  background: #ed4c55;
  border-radius: 50%;
}
.hero-copy h2 {
  font-size: 31px;
  letter-spacing: 2px;
  margin: 16px 0 11px;
  font-weight: 650;
  line-height: 1.35;
}
.hero-copy p {
  font-size: 11px;
  color: #a5aebb;
  line-height: 1.9;
  margin: 0;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #e1e6ef;
  font-size: 11px;
  margin-top: 16px;
}
.hero-link .icon {
  width: 15px;
  height: 15px;
  color: #f0777c;
}
.hero-visual {
  position: relative;
  flex: 0 1 55%;
  min-width: 0;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(#9ca9bc 1px, transparent 1px),
    linear-gradient(90deg, #9ca9bc 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse, #000, transparent 75%);
}
.racecar {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  right: 0;
  top: 0;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px #0004);
  opacity: 0.9;
}
.hero-custom-image {
  position: absolute;
  inset: 8px;
  z-index: 1;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  max-width: calc(100% - 16px);
  max-height: calc(100% - 16px);
  box-sizing: border-box;
  object-fit: contain;
  opacity: 0.88;
}
.hero-image-controls {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-image-controls .btn {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.9);
}
.hero-image-controls input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.hero-car-label {
  position: absolute;
  right: 30px;
  top: 24px;
  color: #91a0b4;
  font-size: 8px;
  letter-spacing: 2px;
}
.hero-spec {
  position: absolute;
  right: 29px;
  bottom: 19px;
  font-size: 7px;
  color: #8190a5;
  letter-spacing: 1.8px;
}
.hero-watermark {
  font-size: 166px;
  position: absolute;
  right: 48px;
  top: -28px;
  font-style: italic;
  font-weight: 950;
  opacity: 0.035;
  letter-spacing: -10px;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 22px 0;
}
.stat-card {
  border: 1px solid #eaedf1;
  background: white;
  border-radius: 9px;
  padding: 17px 20px 14px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #727b88;
  font-size: 12px;
}
.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon .icon {
  width: 17px;
  height: 17px;
}
.stat-card > strong {
  font-size: 31px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.6px;
  display: block;
  margin-top: 5px;
  color: #293343;
}
.stat-card > strong small {
  font-size: 17px;
  font-weight: 500;
  margin-left: 3px;
}
.stat-detail {
  border-top: 1px solid #f1f3f5;
  padding-top: 10px;
  margin-top: 10px;
  color: #858e9b;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.mini-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #43ac8c;
  margin-right: 3px;
}
.stat-muted {
  color: #a6adb7;
}
.panel {
  background: white;
  border: 1px solid #e9ecf1;
  border-radius: 9px;
  overflow: hidden;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.48fr 1fr;
  gap: 20px;
}
.panel-head {
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid #f0f2f5;
  gap: 10px;
}
.panel-head h3 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  margin: 0;
}
.panel-head h3 > .icon {
  width: 17px;
  height: 17px;
  color: #747e8e;
}
.panel-head > a {
  font-size: 10px;
  color: #929aa6;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
}
.panel-head > a .icon {
  width: 12px;
  height: 12px;
}
.panel-head > .muted {
  font-size: 10px;
}
.meeting-preview {
  display: flex;
  gap: 16px;
  margin: 0 22px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f2f5;
}
.meeting-preview:last-child {
  border-bottom: 0;
}
.meeting-date {
  background: #f5f6f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 61px;
  min-width: 53px;
  border: 1px solid #eaeef3;
  border-radius: 7px;
}
.featured .meeting-date {
  background: #fff2f2;
  color: #df4a50;
  border-color: #ffe4e6;
}
.meeting-date strong {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}
.meeting-date span {
  font-size: 10px;
  color: #949daa;
}
.featured .meeting-date span {
  color: #d8757b;
}
.meeting-info {
  flex: 1;
  min-width: 0;
}
.meeting-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
}
.meeting-title > .text-btn {
  font-size: 13px;
  font-weight: 600;
}
.meeting-info > span {
  font-size: 10px;
  color: #8d96a3;
  display: flex;
  align-items: center;
  gap: 5px;
}
.meeting-info > span .icon {
  width: 12px;
  height: 12px;
}
.meeting-info i {
  font-style: normal;
  margin: 0 1px;
}
.meeting-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.meeting-bottom > .muted {
  font-size: 10px;
}
.meeting-bottom .btn {
  min-height: 26px;
  font-size: 10px;
  padding: 3px 10px;
}
.meeting-bottom .btn .icon {
  width: 12px;
  height: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1.6;
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  font-weight: 400;
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 9px 20px 13px;
  gap: 3px 10px;
}
.shortcut {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: 24px 23px;
  column-gap: 11px;
  padding: 14px 1px;
  align-items: center;
  transition: transform 0.15s;
}
.shortcut:hover {
  transform: translateX(3px);
}
.shortcut-icon {
  grid-row: 1/3;
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
}
.shortcut-icon > .icon {
  width: 19px;
  height: 19px;
}
.shortcut strong {
  font-size: 12px;
  font-weight: 500;
}
.shortcut small {
  font-size: 9px;
  color: #9aa2af;
  white-space: nowrap;
}
.count-label {
  background: #f2f4f7;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 400;
  padding: 0 6px;
  color: #8f98a5;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  font-weight: 400;
  font-size: 11px;
  color: #9199a6;
  background: #fcfcfd;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #f1f3f6;
  color: #616b79;
}
td strong {
  font-weight: 500;
  color: #394251;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fdfdfe;
}
td .text-btn {
  color: #3d4654;
  font-size: 12px;
}
td .text-btn:hover {
  color: var(--red);
}
.person-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.person-inline strong {
  font-weight: 500;
}
.cell-sub {
  display: block;
  color: #a0a8b4;
  font-size: 10px;
  margin: 3px 0 0 33px;
}
.room-stat-cell {
  min-width: 150px;
}
.room-stat-cell strong,
.room-stat-cell small {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  white-space: normal;
}
.room-stat-cell strong {
  color: #394251;
  font-weight: 600;
}
.room-stat-cell small {
  color: #667085;
  font-weight: 400;
}
.safety-assessment {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid #f4d6a5;
  border-radius: 10px;
  background: #fffaf0;
  color: #795b20;
}
.safety-assessment span,
.safety-assessment small {
  color: #667085;
}
.progress-inline {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 110px;
  font-size: 10px;
  color: #8993a0;
}
.progress-track {
  background: #f1f3f7;
  height: 5px;
  border-radius: 9px;
  overflow: hidden;
  flex: 1;
  max-width: 96px;
}
.progress-track > span {
  display: block;
  background: #e77479;
  height: 100%;
  border-radius: 9px;
}
.activity-list {
  padding: 8px 22px;
}
.activity-item {
  display: flex;
  gap: 13px;
  margin: 15px 0 17px;
  position: relative;
}
.activity-item:after {
  content: "";
  position: absolute;
  width: 1px;
  height: calc(100% + 9px);
  background: #edf0f4;
  left: 14px;
  top: 33px;
}
.activity-item:last-child:after {
  display: none;
}
.activity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  background: #f5f7fa;
  color: #9ca6b6;
  border-radius: 50%;
}
.activity-icon > .icon {
  width: 14px;
  height: 14px;
}
.activity-item p {
  font-size: 11px;
  margin: 0 0 3px;
  color: #9aa2ae;
}
.activity-item p strong {
  color: #616c7b;
  font-weight: 500;
  margin-right: 3px;
}
.activity-item div > span {
  display: block;
  font-size: 11px;
  color: #6d7888;
  max-width: 280px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.activity-item small {
  display: block;
  font-size: 9px;
  margin-top: 3px;
  color: #b0b7c1;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9ca5b1;
  font-size: 9px;
}
.sync-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #53b392;
  border-radius: 50%;
  margin-right: 4px;
}
.sync-dot.offline {
  background: #d7a64f;
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 35px;
  color: #a8afba;
  font-size: 9px;
  letter-spacing: 0.4px;
}
.app-footer i {
  font-style: normal;
  margin: 0 8px;
}
.app-footer > span:last-child {
  letter-spacing: 0;
}
.module-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 17px;
  color: #9ba3ae;
  font-size: 12px;
}
.module-tabs > button {
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #8993a3;
  white-space: nowrap;
}
.module-tabs > button:hover {
  color: var(--red);
}
.module-tabs {
  overflow-x: auto;
  scrollbar-width: thin;
}
.module-tabs .selected {
  color: #d94047;
  border-bottom: 2px solid #e44349;
}
.module-tabs b {
  font-size: 10px;
  font-weight: 400;
  background: #ffe8e9;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
}
.filter-bar {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #f1f3f6;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e7eaf0;
  border-radius: 6px;
  padding: 0 11px;
  width: 310px;
  max-width: 100%;
  background: #fff;
}
.search-field > .icon {
  width: 16px;
  height: 16px;
  color: #a1a9b5;
}
.search-field input {
  border: 0;
  outline: none;
  padding: 9px 0;
  font-size: 12px;
  width: 100%;
  background: none;
}
.search-field input:focus {
  outline: none;
}
.search-field:focus-within {
  border-color: #ed999d;
}
.filter-right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.filter-right select {
  font-size: 12px;
  padding: 8px 36px 8px 12px;
}
.filter-caption {
  font-size: 11px;
  color: #a2aab6;
  white-space: nowrap;
  display: flex;
  gap: 6px;
  align-items: center;
}
.filter-caption .icon {
  width: 14px;
  height: 14px;
}
.role-tag {
  font-size: 11px;
  color: #758097;
  background: #f1f4f9;
  padding: 3px 9px;
  border-radius: 4px;
}
.privacy-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #9aa4b0;
  margin-top: 18px;
}
.privacy-note > .icon {
  width: 14px;
  height: 14px;
}
.notice {
  border: 1px solid #e4eaf2;
  background: #f7f9fc;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  font-size: 12px;
  color: #748095;
  margin-bottom: 20px;
}
.notice.amber {
  border-color: #f5e6c8;
  background: #fffaf0;
  color: #ad833d;
}
.notice > .icon {
  width: 17px;
  height: 17px;
}
.notice .btn {
  margin-left: auto;
}
.notice.full-field {
  margin: 0;
}
.meeting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.meeting-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.soft-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.soft-icon > .icon {
  width: 18px;
  height: 18px;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px;
  display: block;
  color: #303a49;
}
.card-meta {
  display: grid;
  gap: 10px;
  color: #8d97a6;
  font-size: 12px;
}
.card-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-meta .icon {
  width: 15px;
  height: 15px;
}
.meeting-agenda {
  font-size: 12px;
  color: #919aa7;
  background: #f8f9fb;
  padding: 12px;
  border-radius: 6px;
  line-height: 1.8;
  white-space: pre-wrap;
  flex: 1;
  max-height: 125px;
  overflow: auto;
  margin: 18px 0;
}
.card-footer {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-footer .btn {
  font-size: 12px;
  min-height: 32px;
}
.empty {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #a5adba;
  gap: 9px;
  text-align: center;
  padding: 30px;
}
.empty > .icon {
  width: 32px;
  height: 32px;
  color: #bcc3ce;
  margin-bottom: 3px;
}
.empty strong {
  font-size: 14px;
  font-weight: 500;
  color: #85909e;
}
.empty span {
  font-size: 12px;
}
.meeting-grid > .empty,
.review-grid > .empty {
  grid-column: 1/-1;
  background: #fff;
  border: 1px dashed #e2e7ef;
  border-radius: 8px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 20px;
  min-height: 650px;
}
.docs-list {
  padding: 16px 10px;
  align-self: start;
  min-height: 500px;
}
.docs-search {
  margin: 0 4px 19px;
  width: calc(100% - 8px);
}
.doc-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9ba3af;
  font-size: 11px;
  padding: 0 10px;
  margin-bottom: 12px;
}
.doc-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 12px;
  border: 0;
  background: none;
  border-radius: 7px;
  text-align: left;
  margin: 3px 0;
}
.doc-list-item:hover {
  background: #f8f9fb;
}
.doc-list-item.active {
  background: #fff1f2;
}
.doc-item-icon {
  width: 23px;
  flex-shrink: 0;
  color: #8d9bb2;
}
.doc-list-item.active .doc-item-icon {
  color: #e06a70;
}
.doc-list-item > span:last-child {
  min-width: 0;
}
.doc-list-item strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #677181;
}
.doc-list-item.active strong {
  color: #ce4d56;
}
.doc-list-item small {
  display: block;
  font-size: 10px;
  color: #a4acb7;
  margin-top: 6px;
}
.doc-editor {
  min-width: 0;
}
.editor-top {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.editor-top > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.editor-top .btn {
  font-size: 11px;
  min-height: 32px;
  padding: 5px 10px;
}
.doc-category {
  color: #919aa9;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.doc-category > .icon {
  width: 16px;
  height: 16px;
}
.document-header {
  padding: 25px 25px 20px;
}
.document-title {
  font-size: 24px;
  font-weight: 600;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  outline: none;
  letter-spacing: 0.2px;
}
.document-title:focus {
  outline: none;
}
.doc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9da5b1;
  font-size: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.doc-meta > span:nth-last-child(-n + 2) {
  background: #f3f5f8;
  border-radius: 4px;
  padding: 1px 5px;
}
.editor-notice {
  font-size: 10px;
  color: #8c9ab0;
  background: #f6f8fc;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 24px;
}
.editor-notice > .icon {
  width: 13px;
  height: 13px;
}
.editor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 390px;
}
.source-pane {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pane-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 8px;
  font-size: 10px;
  color: #9ca5b4;
  letter-spacing: 0.4px;
}
.pane-label span {
  font-size: 9px;
  color: #b0b7c2;
}
.source-pane textarea {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  outline: none;
  resize: vertical;
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 12px;
  line-height: 1.9;
  padding: 12px 22px 24px;
  border-radius: 0;
  color: #707c8e;
  background: #fdfdfe;
}
.source-pane textarea:focus {
  outline: none;
}
.preview-pane {
  min-width: 0;
  overflow-wrap: anywhere;
}
.markdown {
  font-size: 13px;
  line-height: 1.85;
  color: #667285;
  padding: 5px 22px 25px;
}
.markdown h2 {
  font-size: 22px;
  color: #303d50;
  margin: 12px 0 21px;
  font-weight: 600;
}
.markdown h3 {
  font-size: 16px;
  color: #3f4e64;
  margin: 20px 0 10px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}
.markdown h4 {
  font-size: 14px;
  margin: 15px 0 5px;
  color: #47586d;
}
.markdown p {
  margin: 5px 0;
}
.md-space {
  height: 6px;
}
.md-list,
.md-check {
  padding-left: 5px;
}
.md-check-interactive {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 6px;
  margin: 3px 0;
  border-radius: 7px;
  cursor: pointer;
}
.md-check-interactive:hover {
  background: #f7f8fa;
}
.md-check-interactive input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 5px 0 0;
  accent-color: #25876c;
  cursor: pointer;
}
.md-check-interactive input:checked + span {
  color: #8a93a0;
  text-decoration: line-through;
}
.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #a3abba;
  font-size: 10px;
  padding: 12px 23px;
  gap: 10px;
}
.doc-attachments {
  border-top: 1px solid var(--line);
  padding: 5px 22px 20px;
}
.compact-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 17px 4px;
  flex-wrap: wrap;
}
.compact-stats > span {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 26px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  color: #939dab;
}
.compact-stats > span:last-child {
  border: 0;
}
.compact-stats strong {
  font-size: 21px;
  font-weight: 600;
  color: #46546b;
}
.view-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.view-toggle button {
  border: 0;
  background: transparent;
  color: #8a95a6;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 12px;
}
.view-toggle button.selected {
  background: #fff0f1;
  color: #db535d;
}
.view-toggle button .icon {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}
.view-toggle > span {
  margin-left: auto;
  font-size: 10px;
  color: #a4adba;
}
.gantt-scroll {
  overflow: auto;
}
.gantt {
  min-width: 800px;
  padding-bottom: 25px;
}
.gantt-header,
.gantt-row {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
}
.gantt-header {
  height: 55px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #a1aaba;
}
.gantt-header > span {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}
.gantt-dates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.gantt-row {
  border-bottom: 1px solid #f2f4f7;
  min-height: 81px;
}
.gantt-label {
  border: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 15px 24px;
  text-align: left;
}
.gantt-label:hover {
  background: #fafbfc;
}
.gantt-label strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  color: #66758b;
}
.gantt-label > span {
  font-size: 10px;
  color: #abb3c0;
  display: block;
  margin-top: 5px;
}
.gantt-label i {
  margin: 0 5px;
  font-style: normal;
}
.gantt-track {
  position: relative;
  margin: 0 20px;
}
.gantt-grid {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(20% - 1px),
    #f1f3f7 calc(20% - 1px),
    #f1f3f7 20%
  );
}
.gantt-bar {
  position: absolute;
  top: 26px;
  height: 29px;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  min-width: 35px;
  color: #fff;
  background: #9cafd7;
  padding: 0 8px;
  font-size: 10px;
  white-space: nowrap;
}
.gantt-bar > span:last-child {
  position: relative;
  z-index: 2;
}
.gantt-bar.color-1 {
  background: #b3a2d4;
}
.gantt-bar.color-2 {
  background: #7cbaae;
}
.gantt-bar.color-3 {
  background: #dcac83;
}
.gantt-done {
  position: absolute;
  inset: 0 auto 0 0;
  background: #0002;
}
.today-line {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px dashed #e89b9f;
  pointer-events: none;
  z-index: 3;
}
.process-strip {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 8px;
  margin-bottom: 18px;
}
.process-strip > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #7f8da1;
  white-space: nowrap;
}
.process-strip b {
  font-size: 12px;
  font-weight: 500;
  background: #f1f4f8;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c9bb2;
}
.process-strip > i {
  height: 1px;
  background: #e9edf3;
  flex: 1;
  margin: 0 25px;
}
.record-code {
  display: block;
  font-size: 9px;
  color: #adb6c3;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.title-cell {
  display: block;
  font-weight: 500;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.review-cover {
  height: 132px;
  background: #f0f4fa;
  position: relative;
  color: #9bafcb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}
.review-cover > .icon {
  width: 42px;
  height: 42px;
  stroke-width: 1;
}
.review-cover > span:not(.badge) {
  font-size: 8px;
  letter-spacing: 2.5px;
  margin-top: 9px;
  color: #9eaec2;
}
.review-cover > .badge {
  position: absolute;
  top: 14px;
  right: 15px;
  border: 1px solid #fff9;
}
.blueprint-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#dde5f1 1px, transparent 1px),
    linear-gradient(90deg, #dde5f1 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}
.review-body {
  padding: 20px;
}
.review-team {
  font-size: 10px;
  color: #9ca8b9;
  letter-spacing: 0.5px;
}
.review-body .card-title {
  margin: 7px 0 12px;
}
.review-body > p {
  font-size: 12px;
  color: #929eb0;
  min-height: 42px;
  margin: 0 0 17px;
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #a0aabc;
  font-size: 10px;
  margin-bottom: 20px;
}
.review-meta > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-meta .icon {
  width: 13px;
  height: 13px;
}
.review-body .person-inline {
  font-size: 11px;
  color: #8591a2;
}
.settings-profile {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.settings-profile > div:last-child {
  display: flex;
  gap: 10px;
}
.settings-note {
  padding: 15px 22px;
  font-size: 11px;
  color: #9ba6b6;
  line-height: 1.9;
  border-top: 1px solid var(--line);
  margin: 0;
}
.seasons-panel {
  margin-top: 22px;
}
.season-row {
  padding: 19px 23px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.season-row:last-child {
  border: 0;
}
.season-row > div {
  flex: 1;
}
.season-row strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.season-row small {
  display: block;
  font-size: 11px;
  color: #a0aabb;
  margin-top: 3px;
}
dialog {
  padding: 0;
  border: 1px solid #e6eaf0;
  border-radius: 13px;
  width: 600px;
  max-width: calc(100vw - 36px);
  max-height: 88vh;
  box-shadow: 0 24px 100px #17243733;
  color: var(--ink);
  background: white;
}
dialog.wide {
  width: 850px;
}
dialog::backdrop {
  background: #19233266;
  backdrop-filter: blur(3px);
}
.modal-heading {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.mini-label {
  font-size: 9px;
  color: #a3adbc;
  letter-spacing: 1.9px;
  font-weight: 500;
}
.modal-heading h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 4px 0 0;
}
.modal-body {
  padding: 25px 28px 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px 20px;
}
.form-grid label,
#login-form label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #7c8798;
  gap: 8px;
}
.form-grid textarea {
  font-size: 13px;
}
.full-field {
  grid-column: 1/-1;
}
.form-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 3px;
}
.form-error {
  color: #df535a;
  font-size: 12px;
  min-height: 0;
}
.form-error:empty {
  display: none;
}
.form-divider {
  font-size: 12px;
  color: #8c98aa;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 5px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 25px;
  padding: 22px;
  background: #f8f9fc;
  border-radius: 8px;
  margin: 20px 0 25px;
}
.detail-grid small {
  font-size: 11px;
  display: block;
  color: #a1aabc;
  margin-bottom: 5px;
}
.detail-grid strong {
  font-size: 13px;
  display: block;
  font-weight: 500;
  color: #66778f;
  overflow-wrap: anywhere;
}
.identity-history-fold {
  margin: 12px 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  background: #fff;
}
.identity-history-fold > summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  user-select: none;
}
.identity-history-fold[open] > summary {
  margin-bottom: 12px;
}
.permission-matrix-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style-position: inside;
  padding: 2px 0;
}
.permission-matrix-fold > summary strong {
  font-size: 16px;
  font-weight: 700;
}
.permission-matrix-fold > summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.permission-matrix-content {
  margin-top: 16px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 4px;
  color: var(--muted);
  font-size: 12px;
}
.pagination > div {
  display: flex;
  gap: 8px;
}
.pagination .btn {
  min-height: 34px;
  padding: 0 12px;
}
.pagination .btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.identity-history-fold .identity-history .change-item:last-child {
  margin-bottom: 0;
}
.detail-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail-section {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.detail-section h3,
.attachments h3,
.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #586981;
  margin: 0 0 12px;
}
.detail-section p,
.detail-text {
  white-space: pre-wrap;
  font-size: 13px;
  color: #8896aa;
  line-height: 1.9;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 15px;
}
.section-heading h3 {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.section-heading h3 > .icon {
  width: 17px;
  height: 17px;
}
.section-heading h3 > span {
  background: #f2f4f8;
  color: #9ba7b8;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
}
.section-heading .btn {
  font-size: 11px;
  min-height: 32px;
}
.section-heading > div {
  display: flex;
  gap: 8px;
}
.attachments {
  margin-top: 22px;
}
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.upload-label {
  cursor: pointer;
  position: relative;
}
.upload-label:focus-within {
  outline: 2px solid #e8979d;
}
.attachment-list {
  display: grid;
  gap: 10px;
}
.attachment {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fc;
  border: 1px solid #edf0f6;
  border-radius: 7px;
  padding: 12px;
}
.attachment:hover {
  border-color: #d4deeb;
  background: #f4f7fc;
}
.attachment > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.attachment strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  overflow-wrap: anywhere;
}
.attachment small {
  display: block;
  font-size: 10px;
  color: #a5aebd;
  margin-top: 2px;
}
.attachment > .icon {
  color: #a0adbf;
  width: 17px;
  height: 17px;
}
.attachment-empty {
  font-size: 11px;
  border: 1px dashed #e4e9f1;
  border-radius: 6px;
  padding: 15px;
}
.audit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  font-size: 12px;
  color: #94a0b2;
  border-bottom: 1px solid #f3f5f8;
}
.audit-row small {
  font-size: 10px;
  color: #b1b9c6;
}
.member-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}
.member-profile > div {
  flex: 1;
}
.member-profile h2 {
  font-size: 24px;
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.member-profile p {
  font-size: 12px;
  color: #9ba6b6;
  margin: 0;
}
.change-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  margin: 12px 0;
}
.change-item strong {
  font-size: 13px;
  margin-right: 10px;
}
.change-item small {
  display: block;
  font-size: 11px;
  color: #a3adbb;
  margin-top: 6px;
}
.change-item p {
  font-size: 12px;
  color: #8a98ad;
  margin: 8px 0 0;
  white-space: pre-wrap;
}
.section-title {
  margin-top: 30px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.history-timeline {
  padding-top: 10px;
}
.history-item {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 0 0 23px 8px;
}
.history-item > span {
  height: 8px;
  width: 8px;
  border: 2px solid #bdc9dc;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  background: #fff;
  z-index: 1;
}
.history-item:after {
  content: "";
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 0;
  border-left: 1px solid #e7edf5;
}
.history-item:last-child:after {
  display: none;
}
.history-item strong {
  font-size: 13px;
  font-weight: 500;
  color: #687991;
}
.history-item small {
  font-size: 10px;
  color: #adb8c8;
  margin-left: 13px;
}
.history-item p {
  font-size: 12px;
  color: #97a4b8;
  margin: 5px 0 0;
  white-space: pre-wrap;
}
.attendance-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}
.attendance-list > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8a98ad;
}
.attendance-list small {
  font-size: 10px;
  color: #b0baca;
}
.version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.version-row strong {
  font-size: 13px;
  font-weight: 500;
  color: #76869e;
}
.version-row small {
  display: block;
  font-size: 11px;
  color: #a8b3c3;
  margin-top: 5px;
}
.version-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  max-height: 50vh;
  overflow: auto;
}
.profile-modal {
  text-align: center;
  padding: 15px 0 30px;
}
.profile-modal h2 {
  font-size: 23px;
  margin: 15px 0 5px;
}
.profile-modal p {
  color: #9aa6b8;
  font-size: 13px;
  margin: 0 0 24px;
}
.profile-modal .btn {
  margin: 0 5px;
}
.quick-create-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.quick-create-grid .btn {
  padding: 25px 15px;
  justify-content: flex-start;
  gap: 15px;
}
.quick-create-grid .btn > .icon {
  color: #dd696f;
  width: 22px;
  height: 22px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 1000;
  max-width: calc(100vw - 30px);
  background: #26354b;
  color: white;
  border-radius: 8px;
  padding: 12px 22px;
  box-shadow: 0 8px 35px #12213726;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #b84751;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-brand {
  background: linear-gradient(145deg, #202d41, #121a29);
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 48px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-brand:before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border: 1px solid #ffffff08;
  border-radius: 50%;
  right: -400px;
  bottom: -200px;
  box-shadow:
    0 0 0 80px #ffffff03,
    0 0 0 160px #ffffff03,
    0 0 0 240px #ffffff03;
}
.login-brand:after {
  content: "HRT";
  position: absolute;
  right: -25px;
  bottom: 80px;
  font-size: 200px;
  letter-spacing: -15px;
  font-style: italic;
  font-weight: 950;
  color: #ffffff03;
}
.wordmark {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}
.login-copy {
  position: relative;
  z-index: 1;
  padding: 60px 0 100px;
}
.login-copy .eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: #e28b91;
}
.login-copy h1 {
  font-size: 38px;
  line-height: 1.7;
  letter-spacing: 2px;
  font-weight: 500;
  margin: 25px 0;
}
.login-copy p {
  font-size: 14px;
  line-height: 2.2;
  color: #8c99af;
}
.login-footer {
  font-size: 9px;
  letter-spacing: 2px;
  color: #77869d;
  display: flex;
  gap: 25px;
}
.login-panel {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 50px;
}
.login-form {
  width: 350px;
  max-width: 100%;
}
.login-form > .mini-label {
  color: #d96c75;
}
.login-form h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 14px 0 8px;
  letter-spacing: 1px;
}
.login-form > p {
  font-size: 13px;
  color: #a5aebb;
  margin: 0 0 37px;
}
#login-form {
  display: grid;
  gap: 22px;
}
#login-form input {
  padding: 13px 14px;
  font-size: 14px;
}
#login-form .btn {
  margin-top: 5px;
  min-height: 46px;
}
.login-hint {
  font-size: 11px;
  color: #abb3c0;
  margin-top: 27px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  line-height: 2;
}
.login-hint code {
  background: #f4f6f9;
  padding: 2px 5px;
  border-radius: 3px;
  color: #8793a7;
}
.login-footnote {
  position: absolute;
  bottom: 33px;
  font-size: 11px;
  color: #b1b9c6;
  letter-spacing: 3px;
}
@media (min-width: 1500px) {
  .content {
    padding: 36px 45px 20px;
  }
  .hero {
    height: 275px;
  }
  .hero-copy {
    padding: 35px 40px;
  }
  .hero-copy h2 {
    font-size: 36px;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .hero-link {
    margin-top: 20px;
    font-size: 12px;
  }
  .hero-kicker {
    font-size: 10px;
  }
  .hero-car-label {
    font-size: 9px;
  }
  .dashboard-grid {
    grid-template-columns: 1.45fr 1fr;
  }
  .stat-card {
    padding: 21px 24px 17px;
  }
  .stat-top {
    font-size: 14px;
  }
  .stat-detail {
    font-size: 11px;
  }
  .meeting-title > .text-btn {
    font-size: 15px;
  }
  .meeting-preview {
    padding: 24px 0;
  }
  .meeting-info > span,
  .meeting-bottom > .muted {
    font-size: 12px;
  }
  .shortcut strong {
    font-size: 14px;
  }
  .shortcut small {
    font-size: 11px;
  }
  .shortcut {
    padding: 19px 0;
  }
  .panel-head h3 {
    font-size: 16px;
  }
  .activity-item {
    margin: 20px 0;
  }
  .activity-item p,
  .activity-item div > span {
    font-size: 13px;
  }
  .panel-head > a {
    font-size: 12px;
  }
  .app-footer {
    font-size: 11px;
  }
  .sidebar {
    width: 248px;
  }
  .main-wrap {
    margin-left: 248px;
    width: calc(100% - 248px);
  }
  td {
    font-size: 14px;
    padding-top: 19px;
    padding-bottom: 19px;
  }
  td .text-btn {
    font-size: 14px;
  }
  th {
    font-size: 12px;
  }
  .badge {
    font-size: 11px;
  }
  .page-heading p {
    font-size: 14px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 205px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-wrap {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  .brand {
    padding-left: 5px;
    padding-right: 0;
    gap: 10px;
  }
  .team-switch {
    padding: 10px 8px;
  }
  .nav-item {
    padding-left: 12px;
    gap: 10px;
    font-size: 13px;
  }
  .nav-item.active:before {
    left: -14px;
  }
  .user-profile {
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .season-card {
    padding: 12px 9px;
  }
  .season-card > span:last-child {
    font-size: 9px;
  }
  .content {
    padding: 25px 24px 15px;
  }
  .topbar {
    padding: 0 24px;
  }
  .hero-copy {
    padding: 28px 25px;
  }
  .hero-copy h2 {
    font-size: 27px;
  }
  .hero-visual {
    flex-basis: 48%;
    width: 48%;
  }
  .hero-copy p {
    font-size: 10px;
  }
  .hero-kicker {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .stat-card {
    padding: 15px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-detail {
    font-size: 9px;
    white-space: normal;
  }
  .dashboard-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
  }
  .shortcut-grid {
    padding: 9px 15px;
  }
  .shortcut {
    column-gap: 8px;
    grid-template-columns: 29px 1fr;
  }
  .shortcut-icon {
    width: 29px;
    height: 32px;
  }
  .shortcut strong {
    font-size: 11px;
  }
  .shortcut small {
    font-size: 8px;
  }
  .panel-head {
    padding: 0 17px;
  }
  .meeting-preview {
    margin: 0 17px;
    gap: 11px;
  }
  .meeting-title {
    gap: 6px;
  }
  .meeting-title > .text-btn {
    font-size: 12px;
  }
  .meeting-info > span {
    font-size: 9px;
  }
  .meeting-bottom .btn {
    padding: 3px 7px;
  }
  .activity-list {
    padding: 8px 17px;
  }
  .meeting-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 15px;
  }
  .doc-list-item {
    padding: 13px 8px;
  }
  .editor-top {
    padding: 13px;
  }
  .document-title {
    font-size: 21px;
  }
  .editor-split {
    grid-template-columns: 1fr;
  }
  .source-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .source-pane textarea {
    min-height: 270px;
    height: 270px;
  }
  .preview-pane {
    max-height: 350px;
    overflow: auto;
  }
  .date-tag {
    display: none;
  }
  .compact-stats > span {
    padding: 0 16px;
    font-size: 11px;
    gap: 10px;
  }
  .process-strip {
    padding: 17px 22px;
  }
  .process-strip > i {
    margin: 0 16px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 185px;
  }
  .main-wrap {
    margin-left: 185px;
    width: calc(100% - 185px);
  }
  .brand {
    gap: 9px;
  }
  .team-switch > .icon {
    display: none;
  }
  .team-switch {
    justify-content: center;
  }
  .hero {
    height: 235px;
  }
  .hero-visual {
    flex: 0 0 37%;
    width: 37%;
    opacity: 0.6;
  }
  .hero-copy {
    padding: 28px 23px;
    min-width: 310px;
  }
  .hero-copy h2 {
    font-size: 26px;
  }
  .hero-car-label,
  .hero-spec {
    display: none;
  }
  .racecar {
    width: 100%;
    right: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card {
    padding: 16px 20px;
  }
  .stat-detail {
    font-size: 10px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .shortcut-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 15px 20px;
    gap: 5px;
  }
  .shortcut {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .shortcut small {
    font-size: 9px;
    white-space: normal;
  }
  .shortcut strong {
    font-size: 12px;
  }
  .shortcut-icon {
    width: 34px;
    height: 34px;
  }
  .docs-layout {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .doc-list-item {
    gap: 6px;
  }
  .doc-list-item strong {
    font-size: 11px;
  }
  .doc-list-item small {
    font-size: 9px;
  }
  .editor-top {
    flex-wrap: wrap;
  }
  .doc-category {
    display: none;
  }
  .document-header {
    padding: 22px 18px;
  }
  .document-title {
    font-size: 20px;
  }
  .process-strip > span {
    font-size: 11px;
    gap: 6px;
  }
  .process-strip > i {
    margin: 0 8px;
  }
  .compact-stats {
    row-gap: 15px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .heading-actions > .btn {
    font-size: 12px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .filter-caption {
    display: none;
  }
  .login-brand {
    padding: 40px;
  }
  .login-copy h1 {
    font-size: 29px;
  }
  .login-panel {
    padding: 35px;
  }
  .login-footer {
    flex-direction: column;
    gap: 6px;
  }
  .login-copy p {
    font-size: 12px;
  }
  .app-footer {
    font-size: 8px;
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 230px;
    box-shadow: 10px 0 50px #1e2e431f;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .main-wrap {
    width: 100%;
    margin: 0;
  }
  .topbar {
    height: 58px;
    padding: 0 17px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .mobile-menu .icon {
    width: 19px;
    height: 19px;
    color: #8e98a8;
  }
  .breadcrumb {
    gap: 9px;
  }
  .top-actions {
    gap: 10px;
  }
  .season-select select {
    font-size: 11px;
    max-width: 120px;
  }
  .top-separator {
    display: none;
  }
  .content {
    padding: 24px 17px 15px;
  }
  .page-heading {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.9;
    max-width: 260px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .heading-actions {
    padding-top: 22px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .heading-actions > .btn {
    font-size: 11px;
    padding: 7px 10px;
    min-height: 32px;
  }
  .heading-actions > .btn > .icon {
    width: 14px;
    height: 14px;
  }
  .hero {
    height: 240px;
  }
  .hero-copy {
    padding: 27px 23px;
    min-width: 270px;
  }
  .hero-copy h2 {
    font-size: 25px;
    letter-spacing: 1px;
  }
  .hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    height: auto;
    opacity: 0.25;
  }
  .racecar {
    width: 100%;
    right: 0;
  }
  .hero-copy p {
    font-size: 11px;
  }
  .hero-kicker {
    font-size: 8px;
  }
  .stats-grid {
    gap: 12px;
    margin: 16px 0;
  }
  .stat-card {
    padding: 13px 15px;
  }
  .stat-card > strong {
    font-size: 28px;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-detail {
    font-size: 9px;
  }
  .stat-icon {
    width: 28px;
    height: 28px;
  }
  .stat-icon .icon {
    width: 15px;
    height: 15px;
  }
  .dashboard-grid {
    gap: 16px;
  }
  .panel-head {
    padding: 0 17px;
    height: 55px;
  }
  .panel-head h3 {
    font-size: 13px;
  }
  .meeting-preview {
    margin: 0 17px;
  }
  .meeting-title {
    flex-wrap: wrap;
  }
  .meeting-title > .text-btn {
    font-size: 13px;
  }
  .meeting-info > span {
    font-size: 10px;
  }
  .meeting-bottom > .muted {
    font-size: 10px;
  }
  .shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 9px 19px;
  }
  .shortcut {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: 23px 21px;
    gap: 0 10px;
    padding: 15px 0;
  }
  .shortcut-icon {
    grid-row: 1/3;
  }
  .shortcut small {
    font-size: 9px;
    white-space: nowrap;
  }
  .filter-bar {
    padding: 14px;
    gap: 10px;
  }
  .search-field {
    width: 100%;
    max-width: 100%;
  }
  .filter-right {
    gap: 0;
  }
  .filter-right select {
    width: 112px;
    font-size: 11px;
  }
  .filter-bar .search-field input {
    font-size: 11px;
  }
  .module-tabs {
    gap: 22px;
  }
  .meeting-grid,
  .review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .meeting-card {
    padding: 20px;
  }
  .card-title {
    font-size: 17px;
  }
  .card-meta {
    font-size: 13px;
  }
  .meeting-agenda {
    font-size: 13px;
  }
  .card-footer .btn {
    font-size: 12px;
  }
  .privacy-note {
    font-size: 10px;
    align-items: flex-start;
  }
  .privacy-note > .icon {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .docs-list {
    min-height: 0;
    max-height: 230px;
    overflow: auto;
    padding: 12px 10px;
  }
  .docs-search {
    margin-bottom: 12px;
  }
  .doc-section-label {
    margin-bottom: 5px;
  }
  .doc-list-item {
    padding: 11px;
  }
  .doc-list-item strong {
    font-size: 12px;
  }
  .doc-list-item small {
    font-size: 10px;
    margin-top: 3px;
  }
  .doc-list-item .icon {
    width: 18px;
    height: 18px;
  }
  .editor-top {
    justify-content: flex-end;
  }
  .source-pane textarea {
    font-size: 13px;
  }
  .markdown {
    font-size: 14px;
  }
  .document-header {
    padding: 23px;
  }
  .editor-footer {
    font-size: 9px;
  }
  .process-strip {
    padding: 15px 13px;
  }
  .process-strip > span {
    gap: 5px;
    font-size: 10px;
  }
  .process-strip b {
    height: 20px;
    width: 20px;
    font-size: 10px;
  }
  .process-strip > i {
    margin: 0 6px;
  }
  .compact-stats {
    padding: 15px 0;
    gap: 12px 0;
  }
  .compact-stats > span {
    padding: 0 13px;
    font-size: 10px;
    gap: 8px;
  }
  .compact-stats strong {
    font-size: 18px;
  }
  .view-toggle {
    padding: 12px;
    gap: 3px;
  }
  .view-toggle > span {
    display: none;
  }
  .view-toggle button {
    padding: 6px 10px;
  }
  .settings-profile {
    padding: 18px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .settings-profile .btn {
    font-size: 11px;
  }
  .settings-note {
    font-size: 11px;
  }
  .season-row {
    padding: 18px;
    gap: 12px;
  }
  .app-footer {
    font-size: 8px;
    padding: 20px 17px;
  }
  .app-footer > span:first-child {
    max-width: 200px;
  }
  .app-footer i {
    margin: 0 3px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-brand {
    min-height: 280px;
    padding: 28px 30px;
    justify-content: flex-start;
  }
  .login-copy {
    padding: 25px 0 0;
  }
  .login-copy h1 {
    font-size: 26px;
    line-height: 1.65;
    margin: 13px 0;
  }
  .login-copy p {
    display: none;
  }
  .login-copy .eyebrow {
    font-size: 8px;
  }
  .login-footer {
    display: none;
  }
  .login-brand:after {
    font-size: 140px;
    right: 7px;
    bottom: -25px;
  }
  .login-panel {
    padding: 35px 30px 70px;
  }
  .login-form {
    width: 100%;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .login-form > p {
    margin-bottom: 26px;
  }
  .login-footnote {
    bottom: 20px;
    font-size: 9px;
  }
  .login-hint {
    margin-top: 22px;
    font-size: 10px;
  }
  dialog {
    max-width: calc(100vw - 24px);
    max-height: 91vh;
  }
  .modal-heading {
    padding: 17px 20px;
  }
  .modal-heading h2 {
    font-size: 18px;
  }
  .modal-body {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .full-field {
    grid-column: 1;
  }
  .form-grid label {
    font-size: 13px;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 20px;
  }
  .member-profile {
    gap: 12px;
    flex-wrap: wrap;
  }
  .member-profile .avatar.large {
    height: 52px;
    width: 52px;
    font-size: 18px;
  }
  .member-profile h2 {
    font-size: 22px;
  }
  .member-profile > .btn {
    margin-top: 10px;
  }
  .member-profile p {
    font-size: 11px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading > div {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .quick-create-grid {
    gap: 12px;
  }
  .quick-create-grid .btn {
    padding: 20px 10px;
    font-size: 12px;
    gap: 10px;
  }
  .quick-create-grid .btn .icon {
    width: 18px;
    height: 18px;
  }
  .history-item small {
    display: block;
    margin: 4px 0;
  }
  .mini-label {
    font-size: 8px;
  }
  .version-row strong {
    font-size: 12px;
  }
  .version-row .btn {
    font-size: 11px;
  }
  .notice {
    font-size: 11px;
    line-height: 1.8;
    padding: 11px 13px;
  }
  .view-toggle button {
    font-size: 11px;
  }
  .review-body .card-title {
    font-size: 17px;
  }
  .review-body > p {
    font-size: 13px;
  }
  .review-team,
  .review-meta {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

[hidden] {
  display: none !important;
}
.register-entry {
  margin-top: 16px;
}
.fleet-select select {
  max-width: 185px;
  font-size: 12px;
  padding: 7px 30px 7px 10px;
  background-color: #f8f9fc;
  border-color: #e7ebf1;
}
.org-intro {
  text-align: center;
  padding: 45px 25px;
  margin-bottom: 24px;
}
.org-intro > .soft-icon {
  width: 54px;
  height: 54px;
}
.org-intro h2,
.org-summary h2 {
  font-size: 23px;
  margin: 12px 0 8px;
}
.org-intro p {
  max-width: 620px;
  color: #8994a5;
  margin: 0 auto 22px;
  font-size: 14px;
  line-height: 1.9;
}
.org-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 25px;
  margin-bottom: 22px;
}
.org-summary h2 {
  margin: 4px 0;
}
.org-summary p {
  font-size: 13px;
  color: #8b96a6;
  margin: 6px 0 0;
}
.org-summary > div:last-child {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.org-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 23px;
}
.org-system {
  padding: 22px;
}
.org-system .section-heading {
  margin-top: 0;
}
.org-system h3 {
  font-size: 18px;
  margin: 10px 0 5px;
}
.org-system p {
  font-size: 13px;
  line-height: 1.8;
}
.org-group-list {
  margin: 20px 0;
  min-height: 58px;
}
.org-group-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f8fb;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  gap: 15px;
}
.org-group-list strong {
  font-size: 13px;
  font-weight: 500;
}
.org-group-list span {
  font-size: 12px;
  color: #97a1af;
}
.org-panel {
  margin-top: 23px;
}
.org-application {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 22px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.org-application:last-child {
  border-bottom: 0;
}
.org-application strong {
  font-size: 14px;
  margin-right: 9px;
}
.org-application small {
  display: block;
  color: #9aa5b6;
  font-size: 12px;
  margin: 7px 0;
}
.org-application p {
  font-size: 14px;
  color: #7e8ca1;
  margin: 7px 0 0;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.org-system-grid > .empty {
  grid-column: 1 / -1;
}
@media (max-width: 1180px) {
  .org-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .org-summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .fleet-select select {
    max-width: 140px;
  }
}
@media (max-width: 700px) {
  .fleet-select select {
    max-width: 115px;
    font-size: 11px;
  }
  .top-actions {
    gap: 7px;
  }
  .org-system-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .org-system {
    padding: 20px;
  }
  .org-summary {
    padding: 20px;
    gap: 16px;
  }
  .org-summary > div:last-child .btn {
    font-size: 12px;
  }
  .org-application {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin: 0 18px;
  }
  .top-actions .season-select > .icon {
    display: none;
  }
  .top-actions .season-select select {
    max-width: 95px;
    font-size: 10px;
  }
  .top-actions > .avatar {
    display: none;
  }
}
.role-picker {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  min-width: 0;
}
.role-picker legend {
  padding: 0 6px;
  font-weight: 600;
  font-size: 13px;
}
.role-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.form-grid .role-picker label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form-grid .role-picker input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #b8202d;
}
.role-picker small {
  display: block;
  margin-top: 12px;
  color: #667085;
}

.org-system .system-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}
.org-system .section-heading {
  align-items: flex-start;
  gap: 12px;
}
.member-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f3f5;
}
.member-photo.large {
  width: 88px;
  height: 88px;
}
.profile-completeness {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 125px;
  margin: 10px 0;
}
.profile-completeness strong {
  font-size: 12px;
}
.profile-completeness progress {
  width: 100%;
  max-width: 360px;
  height: 8px;
  accent-color: #cf3746;
}
.profile-completeness small,
.member-photo-controls small {
  color: #667085;
  font-size: 12px;
}
.member-photo-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}
.member-photo-input {
  display: none;
}
.member-profile {
  flex-wrap: wrap;
}
.safety-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.safety-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 130px;
}
.safety-filters input,
.safety-filters select,
.doc-properties select {
  border: 1px solid #dde1e7;
  border-radius: 8px;
  padding: 8px;
  background: white;
  max-width: 100%;
}
.evidence-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}
.evidence-gallery img {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e6e8ec;
}
.safety-photo-input {
  display: none;
}
.folder-tree {
  padding: 8px 12px;
  border-bottom: 1px solid #edf0f3;
  max-height: 340px;
  overflow: auto;
}
.folder-node {
  display: flex;
  align-items: center;
  padding-left: calc(var(--folder-depth) * 14px);
}
.folder-choice {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 5px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.folder-choice.selected {
  color: #c53040;
  font-weight: 700;
}
.folder-controls {
  display: flex;
  margin-left: auto;
}
.folder-controls .btn {
  padding: 4px;
  font-size: 11px;
  min-width: 24px;
}
.doc-properties {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  padding: 10px 24px;
}
.doc-properties label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  flex: 1;
  min-width: 120px;
}
.meeting-audience {
  border: 1px solid #e2e5eb;
  border-radius: 10px;
  padding: 16px;
  min-width: 0;
}
.meeting-audience legend {
  font-weight: 600;
  padding: 0 6px;
}
.audience-system-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.audience-system-list section {
  border: 1px solid #edf0f3;
  border-radius: 8px;
  padding: 10px;
}
.audience-system-list section > div {
  padding-left: 18px;
}
.form-grid .audience-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}
.form-grid .audience-check input,
.meeting-rollcall input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #c83242;
  cursor: pointer;
}
.audience-check small,
.audience-count {
  font-size: 12px;
  color: #748090;
}
.audience-member-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 4px 14px;
  max-height: 300px;
  overflow: auto;
  border-top: 1px solid #edf0f3;
  margin: 14px 0;
  padding-top: 10px;
}
.meeting-rollcall {
  border: 1px solid #e3e7ed;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
}
.rollcall-present {
  background: #f3faf6;
}
.rollcall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.finance-panel{padding:16px;min-height:calc(100vh - 180px);display:flex;flex-direction:column;gap:14px}.finance-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.finance-panel h2{margin:0;font-size:20px}.finance-panel p{margin:4px 0 0;color:var(--muted,#697386)}.finance-panel iframe{width:100%;flex:1;min-height:680px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}@media(max-width:700px){.finance-panel iframe{min-height:calc(100vh - 245px)}.finance-panel>header{align-items:flex-start;flex-direction:column}}

/* Keep account and permission content aligned with the padded panel headings. */
.account-permissions-panel > .module-tabs,
.account-permissions-panel > .table-scroll {
  margin-left: 22px;
  margin-right: 22px;
}
.account-permissions-panel > .module-tabs {
  margin-top: 4px;
  margin-bottom: 14px;
}
.account-permissions-panel > .settings-note {
  margin-top: 12px;
}
.permission-matrix-panel {
  padding: 0 22px 18px;
}
.permission-matrix-fold > summary {
  min-height: 56px;
  padding: 0 4px;
}
.permission-matrix-content {
  margin-top: 10px;
}
.permission-matrix-content .settings-note {
  padding: 14px 0 0;
}
@media (max-width: 700px) {
  .account-permissions-panel > .module-tabs,
  .account-permissions-panel > .table-scroll {
    margin-left: 14px;
    margin-right: 14px;
  }
  .permission-matrix-panel {
    padding: 0 14px 14px;
  }
}
