:root {
  color-scheme:light;
  --paper:#f5f6f3;
  --surface:#fff;
  --ink:#202d27;
  --muted:#606c64;
  --faint:#79857c;
  --line:#dce2da;
  --line-soft:#e8ece6;
  --accent:#22553f;
  --accent-hover:#184932;
  --green-bg:#e6efe7;
  --amber:#926324;
  --amber-bg:#f6eedc;
  --blue:#456475;
  --blue-bg:#e8eff3;
  --red:#a3443b;
  --red-bg:#f8eae7;
  --side:222px;
  font:14px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC","Helvetica Neue",sans-serif;
  font-synthesis:none;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
button,input,textarea,select {
  font:inherit;
  color:inherit;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  opacity:.48;
  cursor:not-allowed;
}
a {
  color:var(--accent);
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #70a68b;
  outline-offset:3px;
}
h1,h2,h3,h4,p {
  margin:0;
}
button {
  border:0;
  background:none;
}
svg {
  display:block;
}
.icon {
  width:18px;
  height:18px;
  flex-shrink:0;
  display:inline-block;
  vertical-align:middle;
}
.skip-link {
  position:fixed;
  top:-80px;
  left:12px;
  background:#fff;
  padding:10px 16px;
  z-index:60;
}
.skip-link:focus {
  top:8px;
}
.app-shell {
  min-height:100vh;
}
.sidebar {
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  width:var(--side);
  background:#fafbf8;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  z-index:20;
}
.brand {
  height:106px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 27px;
}
.brand-mark {
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  background:#284d39;
  color:#f8faf0;
  border-radius:12px 4px 12px 4px;
  font:650 27px/1 "Songti SC","STSong","SimSun",serif;
  box-shadow:inset 0 0 0 3px #284d39;
  border:1px solid #284d39;
}
.brand-copy {
  display:flex;
  flex-direction:column;
  gap:1px;
}
.brand-copy strong {
  font:700 25px/1.15 "Songti SC","STSong","SimSun",serif;
  letter-spacing:.12em;
}
.brand-copy span {
  color:var(--muted);
  font-size:11px;
  letter-spacing:.09em;
}
#navigation {
  flex:1;
  overflow:auto;
  padding:10px 14px;
}
.nav-group+.nav-group {
  margin-top:29px;
}
.nav-group-label {
  display:block;
  font-size:11px;
  font-weight:600;
  letter-spacing:.1em;
  color:#758077;
  margin:0 12px 8px;
}
.nav-link {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:43px;
  margin:3px 0;
  padding:8px 13px;
  border-radius:7px;
  text-decoration:none;
  color:#536157;
  font-size:14px;
  font-weight:550;
  white-space:nowrap;
}
.nav-link:hover {
  background:#f0f3ed;
  color:var(--accent);
}
.nav-link.active {
  color:#164d32;
  background:#e2ede3;
  font-weight:650;
}
.nav-icon {
  display:flex;
  width:21px;
  align-items:center;
}
.nav-count {
  font-size:11px;
  line-height:20px;
  padding:0 6px;
  min-width:21px;
  border-radius:6px;
  text-align:center;
  color:#306146;
  background:rgba(81,130,81,.12);
  margin-left:auto;
  font-variant-numeric:tabular-nums;
}
.sidebar-account {
  border-top:1px solid var(--line);
  min-height:78px;
  padding:15px 19px;
  display:flex;
  align-items:center;
  gap:10px;
}
.avatar {
  display:grid;
  place-items:center;
  width:35px;
  height:35px;
  flex-shrink:0;
  border-radius:50%;
  background:#e6ecdb;
  color:#416345;
  font-size:14px;
  font-weight:650;
}
.account-name {
  font-weight:650;
  font-size:13px;
}
.account-role {
  color:var(--muted);
  font-size:11px;
}
.sidebar-account .icon-button {
  margin-left:auto;
}
.main-shell {
  margin-left:var(--side);
  min-width:0;
}
.topbar {
  height:66px;
  padding:0 clamp(22px,3vw,47px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--line);
  background:#fdfefb;
}
.bread,.top-actions {
  display:flex;
  align-items:center;
  gap:11px;
}
.bread {
  font-size:13px;
  color:var(--muted);
}
.bread strong {
  font-weight:600;
  color:var(--ink);
}
.bread-slash {
  color:#b6c1b6;
}
.top-actions {
  gap:17px;
  color:var(--muted);
  font-size:12px;
}
.date-display {
  font-variant-numeric:tabular-nums;
}
.icon-button {
  display:inline-grid;
  place-items:center;
  border-radius:7px;
  color:var(--muted);
  height:33px;
  width:33px;
  line-height:1;
  font-size:22px;
}
.icon-button:hover {
  background:#eaf0e9;
  color:var(--accent);
}
.menu-toggle,.mobile-close,.sidebar-mask {
  display:none;
}
#page-content {
  max-width:1640px;
  margin:0 auto;
  padding:31px clamp(22px,3vw,47px) 54px;
  outline:none;
}
#page-content:focus {
  outline:none;
}
.initial-state {
  padding:50px 0;
  color:var(--muted);
}
.page-head,.page-heading,.page-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:23px;
}
.page-head h1,.page-heading h1,.page-header h1,#page-content>h1 {
  font-size:clamp(26px,2.3vw,34px);
  line-height:1.35;
  font-weight:680;
  letter-spacing:-.035em;
}
.page-head p,.page-heading p,.page-header p,.subtext {
  color:var(--muted);
  font-size:13px;
  margin-top:5px;
}
.head-actions,.actions,.button-row,.drawer-buttons {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.btn,.primary,.secondary,.danger,.action-button {
  border:1px solid #d4ddd4;
  background:#fff;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 13px;
  min-height:37px;
  text-decoration:none;
  color:var(--ink);
  font-size:13px;
  font-weight:590;
  line-height:1.35;
}
.btn:hover,.secondary:hover,.action-button:hover {
  background:#f1f5ee;
}
.btn.primary,.primary {
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
  box-shadow:0 1px 2px #17342012;
}
.btn.primary:hover,.primary:hover {
  background:var(--accent-hover);
  color:#fff;
}
.btn.danger,.danger {
  background:#fff7f5;
  border-color:#eacbc4;
  color:#a23f36;
}
.btn.small {
  padding:5px 9px;
  min-height:29px;
  font-size:12px;
}
.btn .icon {
  width:16px;
  height:16px;
}
.text-button,.text-link {
  padding:4px 0;
  color:var(--accent);
  font-size:12px;
  font-weight:620;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:3px;
}
.text-button:hover,.text-link:hover {
  text-decoration:underline;
}
.text-button .icon,.text-link .icon {
  width:14px;
  height:14px;
}
.metrics,.stat-grid,.stats-grid,.kpi-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
  margin-bottom:23px;
}
.metric,.stat-card,.kpi-card {
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:12px;
  padding:16px 18px 15px;
  min-width:0;
}
.metric {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:4px 8px;
  text-align:left;
}
.metric:hover {
  border-color:#aabfac;
  box-shadow:0 2px 7px #1a382307;
}
.metric-label {
  font-size:13px;
  font-weight:550;
  color:#48564a;
}
.metric-value {
  font-family:"Helvetica Neue",Arial,sans-serif;
  font-size:33px;
  font-weight:560;
  line-height:1.18;
  letter-spacing:-.045em;
  font-variant-numeric:tabular-nums;
}
.metric-note {
  font-size:11px;
  color:var(--muted);
  grid-column:1/-1;
  margin-top:4px;
}
.metric-icon {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:9px;
  grid-column:2;
  grid-row:1/3;
}
.tone-green {
  background:var(--green-bg);
  color:#3b6848;
}
.tone-amber {
  background:var(--amber-bg);
  color:var(--amber);
}
.tone-blue {
  background:var(--blue-bg);
  color:var(--blue);
}
.tone-red {
  background:var(--red-bg);
  color:var(--red);
}
.tone-neutral {
  background:#edf0ec;
  color:#647166;
}
.work-grid {
  display:grid;
  grid-template-columns:minmax(0,1.54fr) minmax(260px,1fr);
  gap:17px;
  align-items:stretch;
  margin-bottom:20px;
}
.panel,.card,.section-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  min-width:0;
}
.panel-head,.card-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:17px 19px 11px;
}
.panel-head h2,.card-header h2,.section-title {
  font-size:17px;
  line-height:1.4;
  letter-spacing:-.015em;
  font-weight:650;
}
.panel-sub {
  font-size:12px;
  color:var(--muted);
  margin-top:3px;
}
.panel-body {
  padding:14px 19px 18px;
}
.panel-foot {
  border-top:1px solid var(--line-soft);
  padding:10px 19px 11px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  font-size:12px;
}
.tabs,.segmented,.filters {
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
}
.tabs {
  border-bottom:1px solid var(--line-soft);
  padding:0 18px;
}
.tab-button {
  border-bottom:2px solid transparent;
  color:var(--muted);
  padding:9px 5px 10px;
  font-size:13px;
  margin-right:11px;
  white-space:nowrap;
}
.tab-button.active {
  color:var(--accent);
  border-color:var(--accent);
  font-weight:650;
}
.tab-number {
  display:inline-block;
  font-size:10px;
  margin-left:4px;
  color:#708071;
}
.tab-button.active .tab-number {
  color:var(--accent);
}
.segment {
  font-size:12px;
  padding:5px 10px;
  border-radius:6px;
  border:1px solid transparent;
  color:var(--muted);
}
.segment.active {
  border-color:#c8d7c8;
  color:var(--accent);
  background:#eaf2e9;
}
.task-line,.agenda-line {
  padding:12px 19px;
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  text-align:left;
  border-bottom:1px solid var(--line-soft);
  background:#fff;
}
.task-line:last-child,.agenda-line:last-child {
  border-bottom:0;
}
.task-line:hover,.agenda-line:hover,.row-action:hover {
  background:#f8faf6;
}
.task-symbol {
  width:32px;
  height:33px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  border-radius:8px;
}
.task-symbol .icon {
  width:16px;
  height:16px;
}
.line-copy {
  min-width:0;
  flex:1;
}
.line-title {
  font-size:13px;
  font-weight:600;
  color:var(--ink);
  line-height:1.5;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.line-meta {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.line-end {
  text-align:right;
  flex-shrink:0;
}
.line-end .line-meta {
  margin-top:2px;
}
.badge,.pill,.tag {
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:5px;
  font-size:11px;
  padding:2px 7px;
  line-height:1.55;
  font-weight:570;
  white-space:nowrap;
}
.badge::before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  opacity:.82;
}
.badge.neutral,.pill {
  background:#eef1ed;
  color:#59665a;
}
.badge.green,.badge.success {
  background:var(--green-bg);
  color:#397152;
}
.badge.amber,.badge.warning {
  background:var(--amber-bg);
  color:#875b1e;
}
.badge.red,.badge.error {
  background:var(--red-bg);
  color:#9f403a;
}
.badge.blue,.badge.info {
  background:var(--blue-bg);
  color:#486879;
}
.agenda-line {
  align-items:flex-start;
  padding-top:13px;
  padding-bottom:13px;
}
.time-block {
  width:45px;
  flex-shrink:0;
}
.time-block strong {
  display:block;
  font-size:15px;
  font-weight:650;
  font-variant-numeric:tabular-nums;
}
.time-block small {
  font-size:10px;
  color:var(--muted);
}
.agenda-meta {
  color:var(--faint);
  margin-left:auto;
  font-size:11px;
}
.agenda-line .line-copy {
  border-left:2px solid #b4c5b4;
  padding-left:11px;
}
.toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:13px;
  padding:12px 18px;
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  flex-wrap:wrap;
}
.search {
  display:flex;
  align-items:center;
  gap:7px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:7px;
  padding:0 9px;
  min-width:160px;
}
.search .icon {
  width:15px;
  height:15px;
  color:var(--muted);
}
.search input {
  border:0!important;
  outline:0!important;
  background:transparent;
  width:165px;
  min-height:33px;
  padding:3px!important;
  font-size:12px;
}
.search:focus-within {
  outline:2px solid #70a68b;
}
.table-scroll,.table-wrap {
  overflow-x:auto;
  width:100%;
}
.data-table,table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:13px;
}
.data-table thead {
  background:#f8faf6;
}
.data-table th,th {
  color:#647066;
  font-size:11.5px;
  font-weight:600;
}
.data-table th,.data-table td,th,td {
  padding:11px 13px;
  border-bottom:1px solid var(--line-soft);
  vertical-align:middle;
}
.data-table th:first-child,.data-table td:first-child {
  padding-left:19px;
}
.data-table th:last-child,.data-table td:last-child {
  padding-right:19px;
}
.data-table th {
  white-space:nowrap;
}
.data-table tbody tr:last-child td {
  border-bottom:0;
}
.row-label {
  font-weight:620;
  font-size:13px;
  text-align:left;
  padding:0;
  color:var(--ink);
}
.row-label:hover {
  color:var(--accent);
  text-decoration:underline;
}
.tiny,.hint,.muted {
  color:var(--muted);
  font-size:12px;
}
.cell-sub {
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:400;
  line-height:1.55;
  margin-top:2px;
}
.mono,.nums {
  font-family:"SFMono-Regular",Consolas,ui-monospace,monospace;
  font-size:.9em;
  font-variant-numeric:tabular-nums;
}
.nowrap {
  white-space:nowrap;
}
.empty,.empty-state {
  padding:30px 18px;
  color:var(--muted);
  text-align:center;
}
.empty .empty-icon {
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  background:#eff3ed;
  color:#64806a;
  border-radius:10px;
  margin:0 auto 9px;
}
.empty strong,.empty-state strong {
  font-size:13px;
  display:block;
  font-weight:600;
  color:#4d5d50;
}
.empty p,.empty-state p {
  font-size:12px;
  margin:4px 0 0;
}
.empty .btn {
  margin-top:11px;
}
dialog {
  position:fixed;
  inset:0 0 0 auto;
  width:min(565px,100%);
  max-width:100vw;
  height:100dvh;
  max-height:100dvh;
  margin:0;
  padding:0;
  border:0;
  color:var(--ink);
  background:#fcfdfa;
  box-shadow:-9px 0 50px #112b2129;
  overflow:hidden;
}
dialog[open] {
  display:flex;
  flex-direction:column;
}
dialog::backdrop {
  background:#172c224f;
}
.drawer-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:18px 23px;
  background:#fff;
  border-bottom:1px solid var(--line);
  flex-shrink:0;
}
.drawer-top h2 {
  font-size:20px;
  font-weight:650;
  line-height:1.4;
}
.drawer-top .icon-button {
  background:#f0f3ed;
  flex-shrink:0;
}
.drawer-body {
  overflow-y:auto;
  padding:21px 23px 32px;
  flex:1;
  min-height:0;
}
.drawer-body h3,.form-section-title {
  font-size:15px;
  font-weight:650;
  margin:19px 0 9px;
}
.drawer-body h3:first-child {
  margin-top:0;
}
.drawer-body h4 {
  font-size:13px;
  margin:13px 0 6px;
}
.drawer-buttons {
  margin-top:17px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.detail-heading {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:13px;
}
.detail-grid,.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
}
.detail-grid {
  padding:12px 15px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
}
.detail-item dt {
  font-size:11px;
  color:var(--muted);
}
.detail-item dd {
  font-size:13px;
  margin:2px 0 0;
  overflow-wrap:anywhere;
}
.full,.span-2 {
  grid-column:1/-1;
}
.form-grid label,.field,.form-field {
  display:flex;
  flex-direction:column;
  gap:5px;
  font-size:12px;
  font-weight:580;
  color:#445348;
}
.form-grid input,.form-grid select,.form-grid textarea,.drawer-body input:not([type=checkbox]):not([type=radio]),.drawer-body select,.drawer-body textarea,.toolbar select,.field input,.field select {
  width:100%;
  min-height:36px;
  padding:7px 9px;
  border-radius:6px;
  border:1px solid #cfd8cf;
  background:#fff;
  color:var(--ink);
  font-size:13px;
  font-weight:400;
}
.drawer-body textarea,.field textarea {
  resize:vertical;
  min-height:65px;
}
.drawer-body input[type=file] {
  font-size:12px;
}
.helper {
  font-size:12px;
  color:var(--muted);
  margin:6px 0;
}
.form-error,.inline-error {
  padding:9px 12px;
  background:var(--red-bg);
  color:var(--red);
  font-size:12px;
  border-radius:6px;
  margin:7px 0;
}
.box-note,.notice,.callout {
  padding:10px 13px;
  background:#edf3eb;
  color:#415a45;
  border-radius:7px;
  font-size:12px;
  margin:12px 0;
}
.mini-list {
  border:1px solid var(--line);
  border-radius:7px;
  overflow:hidden;
  background:#fff;
}
.mini-row {
  display:flex;
  align-items:center;
  gap:9px;
  justify-content:space-between;
  text-align:left;
  width:100%;
  padding:9px 11px;
  border-bottom:1px solid var(--line-soft);
}
.mini-row:last-child {
  border-bottom:0;
}
.mini-row:hover {
  background:#f6f8f3;
}
.wrap-text {
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.stack {
  display:grid;
  gap:12px;
}
.drawer-body form button[type=submit] {
  margin-top:2px;
}
#toast {
  position:fixed;
  right:22px;
  bottom:22px;
  max-width:min(450px,calc(100vw - 32px));
  z-index:100;
  display:flex;
  flex-direction:column;
  gap:6px;
  pointer-events:none;
}
.toast-item {
  padding:11px 15px;
  border-radius:8px;
  font-size:13px;
  background:#244c37;
  color:#fff;
  box-shadow:0 5px 18px #102a2324;
  overflow-wrap:anywhere;
}
.toast-item.error {
  background:#853f38;
}
.sr-only {
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  height:1px;
  width:1px;
  overflow:hidden;
  position:absolute;
  white-space:nowrap;
}
.mobile-card-list {
  display:none;
}
@media(min-width:1550px) {
  :root {
    --side:247px;
  }
  #page-content {
    padding-top:38px;
  }
  .metric {
    padding:20px;
  }
  .work-grid {
    grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);
  }
  .task-line {
    padding-top:15px;
    padding-bottom:15px;
  }
}
@media(max-width:1120px) {
  :root {
    --side:192px;
  }
  .brand {
    padding:0 22px;
  }
  .work-grid {
    grid-template-columns:minmax(0,1.35fr) minmax(220px,1fr);
  }
  .metric {
    padding:13px;
  }
  .metrics {
    gap:9px;
  }
  .metric-icon {
    width:27px;
    height:27px;
  }
  .metric-icon .icon {
    width:15px;
    height:15px;
  }
  .task-line {
    padding-left:13px;
    padding-right:13px;
  }
  .data-table td,.data-table th {
    padding-left:10px;
    padding-right:10px;
  }
  .panel-head {
    padding-left:15px;
    padding-right:15px;
  }
}
@media(max-width:900px) {
  :root {
    --side:170px;
  }
  .brand {
    padding:0 17px;
  }
  .nav-link {
    gap:9px;
    padding-left:10px;
  }
  #navigation {
    padding-left:10px;
    padding-right:10px;
  }
  .work-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .metric-value {
    font-size:27px;
  }
  .metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:720px) {
  :root {
    --side:230px;
  }
  .sidebar {
    transform:translateX(-101%);
    transition:transform .18s ease;
  }
  .sidebar.open {
    transform:none;
  }
  .main-shell {
    margin-left:0;
  }
  .mobile-close,.menu-toggle {
    display:inline-grid;
  }
  .mobile-close {
    margin-left:auto;
  }
  .sidebar-mask.visible {
    display:block;
    position:fixed;
    inset:0;
    z-index:19;
    background:#182d225c;
  }
  .brand {
    height:86px;
  }
  .topbar {
    padding:0 13px;
    height:53px;
  }
  .bread {
    gap:7px;
  }
  .top-actions {
    gap:6px;
  }
  .date-display {
    font-size:11px;
  }
  .page-head,.page-heading,.page-header {
    align-items:flex-start;
    margin-bottom:16px;
    gap:10px;
    flex-wrap:wrap;
  }
  .page-head h1,.page-heading h1,.page-header h1 {
    font-size:26px;
  }
  .page-head p {
    font-size:12px;
  }
  #page-content {
    padding:21px 13px 38px;
  }
  .metrics {
    gap:8px;
    margin-bottom:14px;
  }
  .metric {
    padding:11px 12px;
    gap:3px;
  }
  .metric-label {
    font-size:12px;
  }
  .metric-note {
    font-size:10px;
  }
  .work-grid {
    gap:13px;
    margin-bottom:14px;
  }
  .panel-head {
    padding:13px 12px 9px;
  }
  .panel-head h2 {
    font-size:16px;
  }
  .task-line,.agenda-line {
    padding:10px 12px;
  }
  .tabs {
    padding:0 10px;
  }
  .tab-button {
    margin-right:4px;
  }
  .toolbar {
    padding:9px 11px;
  }
  .toolbar .search {
    flex:1;
  }
  .data-table {
    min-width:540px;
  }
  .drawer-top {
    padding:13px 14px;
  }
  .drawer-body {
    padding:15px 14px 25px;
  }
  .form-grid {
    gap:9px;
  }
  .head-actions .btn {
    padding:7px 10px;
    min-height:33px;
  }
  .sidebar-account {
    padding-bottom:max(15px,env(safe-area-inset-bottom));
  }
}
@media(max-width:400px) {
  .date-display {
    display:none;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
  .head-actions {
    width:100%;
  }
  .line-title {
    font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
.view-switch {
  display:flex;
  margin:-7px 0 15px;
}
.view-switch .segmented {
  background:#e9eee7;
  border-radius:8px;
  padding:3px;
}
.view-switch .segment.active {
  background:#fff;
  border-color:#d7e1d5;
}
.week-days {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  padding:14px;
  gap:6px;
}
.week-day {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:9px 4px;
  border:1px solid var(--line);
  border-radius:7px;
}
.week-day strong {
  font-size:22px;
  font-variant-numeric:tabular-nums;
}
.week-day small {
  font-size:11px;
  color:var(--muted);
}
.week-day.active {
  background:var(--green-bg);
  border-color:#75987c;
}
.week-day.active strong,.week-day.active small {
  color:var(--accent);
}
.week-day:hover {
  border-color:#92ad93;
}
.drawer-body .actions .btn {
  max-width:100%;
  overflow-wrap:anywhere;
}
.form-grid .check-label {
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:8px;
  background:#f0f4ed;
  padding:10px;
  border-radius:6px;
}
.check-label input {
  width:16px;
  max-width:16px;
  height:16px;
  min-height:16px;
  accent-color:var(--accent);
}
.platform-ref-card,.audit-current,.audit-history {
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:8px;
  margin:9px 0;
  padding:11px 13px;
}
.platform-card-top,.audit-badges {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}
.platform-card-top { justify-content:space-between; }
.platform-ids { margin:8px 0; }
.platform-id { display:flex; align-items:baseline; gap:7px; margin:2px 0; }
.platform-id small,.audit-badges small,.audit-entry small { color:var(--muted); font-size:11px; }
.platform-id code { font:12px ui-monospace,Monaco,Consolas,monospace; overflow-wrap:anywhere; }
.audit-current .detail-grid { background:transparent; border:0; padding:10px 0 0; margin-bottom:5px; }
.audit-actions,.platform-actions { margin:8px 0; }
.audit-history summary { color:var(--accent); cursor:pointer; font-weight:600; }
.audit-entry { margin-top:8px; padding-top:8px; border-top:1px solid var(--line-soft); }
.audit-entry>div:not(:first-child) { margin:3px 0; overflow-wrap:anywhere; }
.platform-ref-card .actions { margin-top:9px; }

/* Personal responsibilities and operating instructions. */
.guide-profile {
  padding:24px 28px;
  margin-bottom:26px;
  border:1px solid #d3e0d5;
  border-radius:12px;
  background:linear-gradient(110deg,#e9f1e9,#f5f8f1);
  overflow-wrap:anywhere;
}
.guide-profile-label {
  color:var(--muted);
  font-size:12px;
  margin-bottom:7px;
}
.guide-profile h2 { font-size:27px; line-height:1.3; }
.guide-responsibility { margin-top:7px; font-size:16px; font-weight:600; color:var(--accent); }
.guide-summary { margin-top:12px; max-width:880px; color:var(--muted); line-height:1.8; }
.guide-section-heading { margin-bottom:14px; }
.guide-section-heading h2,.guide-boundaries h2,.guide-fallback h2 { font-size:18px; }
.guide-section-heading p { margin-top:4px; color:var(--muted); font-size:13px; }
.guide-steps {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:0;
  margin:0 0 22px;
  list-style:none;
}
.guide-step {
  min-width:0;
  padding:22px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  overflow-wrap:anywhere;
}
.guide-step article { display:flex; flex-direction:column; align-items:flex-start; height:100%; }
.guide-step-heading { display:flex; align-items:flex-start; gap:12px; }
.guide-step-heading>div { min-width:0; }
.guide-step-number {
  display:grid;
  place-items:center;
  flex:0 0 34px;
  height:34px;
  border-radius:9px;
  background:var(--green-bg);
  color:var(--accent);
  font-size:13px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.guide-step h3 { font-size:16px; line-height:1.5; }
.guide-location { color:var(--muted); font-size:12px; margin-top:4px; }
.guide-actions { margin:17px 0 18px; padding-left:20px; line-height:1.85; }
.guide-actions li+li { margin-top:7px; }
.guide-actions li::marker { color:var(--faint); font-size:12px; }
.guide-result {
  width:100%;
  border-top:1px solid var(--line-soft);
  padding-top:13px;
  margin-top:auto;
  font-size:13px;
}
.guide-result strong { color:var(--accent); font-size:12px; }
.guide-result p { margin-top:5px; color:var(--muted); line-height:1.75; }
.guide-step-link { margin-top:16px; text-decoration:none; }
.guide-boundaries,.guide-fallback { padding:22px 25px; overflow-wrap:anywhere; }
.guide-boundaries ul { margin:12px 0 0; padding-left:20px; color:var(--muted); line-height:1.8; }
.guide-boundaries li+li { margin-top:6px; }
.guide-fallback p { margin:12px 0 18px; color:var(--muted); }
.guide-no-steps { margin-bottom:22px; color:var(--muted); }
@media(max-width:1050px) {
  .guide-steps { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:720px) {
  .guide-profile { padding:20px; margin-bottom:22px; }
  .guide-profile h2 { font-size:24px; }
  .guide-responsibility { font-size:15px; }
  .guide-step,.guide-boundaries,.guide-fallback { padding:18px; }
  .guide-step-heading { gap:10px; }
}
