:root {
  --bg:#f5f7f9;
  --surface:#fff;
  --ink:#1e2e3b;
  --muted:#78848f;
  --line:#e8edef;
  --green:#137c70;
  --green-dark:#096458;
  --green-light:#edf7f3;
  --sidebar:#122c32;
  --radius:12px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);
  font-size:14px;
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg)
}
[hidden] {
  display:none!important
}
button,input,select {
  font:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
a {
  color:inherit;
  text-decoration:none
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.6
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #70bcac;
  outline-offset:3px
}
svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
button {
  border:0
}
p {
  line-height:1.8
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:27px;
  letter-spacing:.5px;
  font-weight:650;
  margin-bottom:9px
}
h2 {
  font-size:16px;
  font-weight:650
}
h3 {
  font-size:15px;
  font-weight:600
}
small {
  font-size:12px
}
strong {
  font-weight:600
}
.app-shell {
  display:flex;
  min-height:100vh
}
.topbar-divider {
  height:20px;
  width:1px;
  background:var(--line)
}
.profile-button {
  display:flex;
  gap:10px;
  align-items:center;
  background:none;
  padding:4px 0;
  font-size:12px;
  color:#46545f
}
.profile-button>svg {
  width:13px;
  height:13px;
  color:#9aa5ad
}
.avatar {
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#ebf3ef;
  color:#337362;
  font-size:12px;
  font-weight:600
}
.icon-button {
  background:transparent;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:6px;
  color:#839199
}
.icon-button:hover {
  background:#f0f4f4;
  color:var(--ink)
}
.icon-button svg {
  width:18px;
  height:18px
}
main {
  padding:34px 36px 24px;
  max-width:1500px;
  width:100%;
  margin:0 auto;
  flex:1;
  outline:none
}
.page-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:27px
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.6px;
  color:#8a979e;
  margin-bottom:12px;
  font-weight:600
}
.page-subtitle {
  font-size:12px;
  color:var(--muted);
  margin-bottom:0
}
.badge {
  display:inline-flex;
  gap:7px;
  align-items:center;
  border-radius:5px;
  padding:6px 9px;
  font-size:11px;
  white-space:nowrap
}
.badge-green {
  background:#eaf5ee;
  color:#3e8b6a
}
.badge-neutral {
  background:#f0f3f5;
  color:#859198
}
.badge-amber {
  background:#faf4e9;
  color:#ad8643
}
.heading-badge {
  margin-top:22px
}
.hero {
  background:#edf4f1;
  border:1px solid #dfeae4;
  border-radius:var(--radius);
  padding:30px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position:relative;
  overflow:hidden
}
.hero-copy {
  z-index:1
}
.hero-kicker {
  font-size:10px;
  color:#649586;
  letter-spacing:2px;
  margin-bottom:15px
}
.hero h2 {
  font-size:25px;
  font-weight:600;
  letter-spacing:.4px;
  margin-bottom:13px;
  color:#264e43
}
.hero p {
  font-size:12px;
  color:#71877f;
  max-width:500px;
  line-height:1.9;
  margin-bottom:23px
}
.btn {
  border-radius:6px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:12px;
  padding:0 15px;
  background:var(--green);
  color:white;
  white-space:nowrap;
  font-weight:500;
  transition:background .15s
}
.btn:hover {
  background:var(--green-dark)
}
.btn svg {
  width:15px;
  height:15px
}
.btn-secondary {
  background:white;
  color:#53646d;
  border:1px solid #dfe6e8
}
.btn-secondary:hover {
  background:#f5f8f8
}
.btn-text {
  background:none;
  color:var(--green);
  padding:0;
  height:auto;
  font-size:12px
}
.btn-text:hover {
  background:none;
  color:var(--green-dark)
}
.hero-art {
  width:206px;
  height:170px;
  position:relative;
  flex-shrink:0;
  margin-right:10px
}
.art-orbit {
  position:absolute;
  width:157px;
  height:157px;
  border:1px solid #cbded2;
  border-radius:50%;
  left:25px;
  top:9px
}
.art-orbit:after {
  content:"";
  position:absolute;
  inset:15px;
  border-radius:50%;
  border:1px dashed #cbded2
}
.art-card {
  width:118px;
  height:130px;
  position:absolute;
  border:1px solid #c9ddce;
  border-radius:12px;
  background:#fafdface;
  left:39px;
  top:20px;
  transform:rotate(-7deg);
  box-shadow:0 14px 23px #5578610e;
  padding:20px
}
.art-card>svg {
  width:32px;
  height:32px;
  color:#7eae94
}
.art-line {
  height:5px;
  border-radius:3px;
  background:#dae9df;
  margin-top:15px;
  width:70px
}
.art-line.short {
  width:46px;
  margin-top:8px
}
.art-check {
  width:36px;
  height:36px;
  border:4px solid #edf4f1;
  border-radius:11px;
  background:#5c9d7e;
  display:grid;
  place-items:center;
  position:absolute;
  top:111px;
  right:25px;
  color:white;
  transform:rotate(6deg)
}
.art-check svg {
  width:18px;
  height:18px
}
.stats-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin:22px 0 29px
}
.stat-card {
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  padding:21px;
  display:flex;
  gap:15px;
  align-items:flex-start
}
.stat-icon {
  height:37px;
  width:37px;
  background:#f2f6f5;
  border:1px solid #eaf0ec;
  border-radius:9px;
  display:grid;
  place-items:center;
  color:#6e9c8c;
  flex-shrink:0
}
.stat-icon svg {
  width:19px;
  height:19px
}
.stat-label {
  font-size:11px;
  color:#83919a;
  margin-bottom:9px
}
.stat-value {
  font-size:17px;
  font-weight:600;
  margin-bottom:7px
}
.stat-description {
  font-size:10px;
  color:#9ba6ae
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:15px;
  gap:20px
}
.section-heading h2 {
  margin:0;
  font-size:14px
}
.section-heading p {
  margin:0;
  font-size:11px;
  color:#9aa5ad
}
.panel {
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:white;
  overflow:hidden
}
.panel-head {
  padding:20px 23px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:18px
}
.panel-head h2 {
  margin:0;
  font-size:14px
}
.panel-head small {
  font-size:11px;
  color:#93a0a8
}
.table-scroll {
  overflow-x:auto
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  white-space:nowrap
}
th {
  font-size:11px;
  color:#8b979f;
  background:#fafbfc;
  font-weight:500;
  height:43px;
  border-bottom:1px solid var(--line);
  padding:0 23px
}
td {
  font-size:12px;
  color:#62737d;
  padding:17px 23px;
  border-bottom:1px solid #f0f3f4
}
tbody tr:last-child td {
  border:0
}
td strong {
  color:#475861;
  font-weight:500
}
.empty-cell {
  padding:0;
  white-space:normal
}
.empty-state {
  min-height:226px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:30px;
  gap:0
}
.empty-illustration {
  background:#f6f9f8;
  border:1px solid #e9efec;
  border-radius:14px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  color:#9db9ae;
  margin-bottom:18px
}
.empty-illustration svg {
  width:28px;
  height:28px
}
.empty-state h3 {
  font-size:13px;
  color:#687d82;
  font-weight:500;
  margin-bottom:7px
}
.empty-state p {
  font-size:11px;
  color:#a0abb1;
  margin-bottom:0;
  max-width:420px
}
.table-footer {
  height:43px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 23px;
  font-size:10px;
  color:#a1abb1
}
.plan-card {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:20px;
  background:transparent;
  border:1px dashed #dbe4e2;
  border-radius:10px;
  padding:19px 22px
}
.plan-step {
  display:flex;
  gap:11px;
  align-items:flex-start;
  padding:0 18px;
  border-left:1px solid #e2e9e5
}
.plan-step:first-child {
  padding-left:0;
  border:0
}
.step-number {
  font-size:11px;
  color:#a7b5b0;
  line-height:22px
}
.plan-step strong {
  font-size:11px;
  color:#71847d;
  display:block;
  margin-bottom:6px
}
.plan-step p {
  font-size:10px;
  color:#9ba7a3;
  margin:0
}
.main-footer {
  padding:20px 36px 24px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  font-size:10px;
  color:#a8b2ba
}
.toolbar {
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  padding:18px 22px;
  margin-bottom:20px;
  display:flex;
  align-items:flex-end;
  gap:16px
}
.filter-field {
  min-width:170px;
  max-width:320px
}
.filter-field.search-field {
  flex:1
}
.field-label {
  display:block;
  color:#7b8a94;
  font-size:11px;
  margin-bottom:9px
}
.input-wrap {
  position:relative
}
.input-wrap>svg {
  position:absolute;
  left:11px;
  top:10px;
  width:16px;
  height:16px;
  color:#9aa8ae;
  pointer-events:none
}
.input-wrap input {
  padding-left:35px
}
input,select {
  height:37px;
  width:100%;
  border:1px solid #dde5e8;
  border-radius:6px;
  background:white;
  color:#405460;
  font-size:12px;
  padding:0 11px;
  min-width:0
}
input::placeholder {
  color:#acb6bc
}
input:focus,select:focus {
  border-color:#72ae9d;
  outline:2px solid #72ae9d22;
  outline-offset:0
}
.toolbar-actions {
  margin-left:auto;
  display:flex;
  gap:9px
}
.scope-note {
  padding:15px 18px;
  border-radius:8px;
  border:1px solid #e3eae5;
  background:#f0f6f2;
  display:flex;
  gap:10px;
  margin-bottom:21px;
  color:#6e8c7d;
  align-items:flex-start;
  font-size:11px;
  line-height:1.8
}
.scope-note>svg {
  width:16px;
  height:16px;
  margin-top:2px
}
.scope-note p {
  margin:0
}
.system-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:21px;
  margin-bottom:21px
}
.details {
  margin:0;
  padding:4px 23px
}
.details>div {
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:17px 0;
  border-bottom:1px solid #f0f3f5;
  align-items:flex-start
}
.details>div:last-child {
  border:0
}
.details dt {
  font-size:12px;
  color:#89969e;
  white-space:nowrap
}
.details dd {
  font-size:12px;
  color:#566c76;
  margin:0;
  text-align:right;
  overflow-wrap:anywhere;
  min-width:0
}
.details .path {
  font-size:11px;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  line-height:1.7
}
.role-note {
  padding:20px 23px;
  font-size:11px;
  color:#85959e;
  line-height:1.9;
  background:#fafcfc
}
.role-note strong {
  font-weight:500;
  color:#647d78
}
.user-name-cell {
  display:flex;
  gap:10px;
  align-items:center
}
.user-name-cell .avatar {
  border-radius:8px;
  width:30px;
  height:30px
}
.text-muted {
  color:#a0adb3
}
.page-error {
  padding:45px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  text-align:center
}
.page-error p {
  font-size:13px;
  color:#87949c
}
.loading-inline {
  padding:70px;
  text-align:center;
  font-size:12px;
  color:var(--muted)
}
.loading-screen {
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:15px;
  color:#89979d;
  font-size:12px
}
.loading-screen p {
  margin:0
}
.auth-screen {
  display:grid;
  grid-template-columns:minmax(320px,44%) 1fr;
  min-height:100vh;
  background:#fff
}
.auth-brand-side {
  background:#122f34;
  padding:48px 54px;
  color:white;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden
}
.auth-brand-side .brand {
  padding:0
}
.auth-brand-content {
  margin:auto 0;
  max-width:420px;
  padding:65px 0;
  z-index:1
}
.auth-tag {
  font-size:10px;
  color:#86b0a6;
  letter-spacing:2px;
  margin-bottom:24px
}
.auth-brand-content h1 {
  font-size:35px;
  line-height:1.65;
  letter-spacing:1px;
  font-weight:500;
  margin-bottom:23px
}
.auth-brand-content p {
  color:#9ab7b7;
  font-size:13px;
  line-height:2;
  max-width:290px
}
.auth-feature {
  display:flex;
  align-items:center;
  gap:10px;
  color:#a8c8be;
  font-size:11px;
  margin-top:14px
}
.auth-feature svg {
  width:15px;
  height:15px
}
.auth-decoration {
  position:absolute;
  right:-120px;
  bottom:-185px;
  border:1px solid #2e5155;
  border-radius:50%;
  width:450px;
  height:450px
}
.auth-decoration:after {
  content:"";
  position:absolute;
  inset:45px;
  border:1px solid #2e5155;
  border-radius:50%
}
.auth-copyright {
  font-size:10px;
  color:#6d8f91;
  z-index:1
}
.auth-form-side {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:45px 32px
}
.auth-card {
  width:100%;
  max-width:360px
}
.auth-card h2 {
  font-size:24px;
  margin-bottom:12px
}
.auth-card>.page-subtitle {
  margin-bottom:30px;
  line-height:1.9
}
.form-field {
  margin-bottom:19px
}
.form-field label {
  font-size:12px;
  color:#556b76;
  display:block;
  margin-bottom:9px
}
.form-field input,.form-field select {
  height:42px;
  font-size:13px
}
.form-help {
  font-size:10px;
  color:#95a4ac;
  line-height:1.8;
  margin:7px 0 0
}
.full-width {
  width:100%;
  height:42px
}
.auth-bottom {
  border-top:1px solid var(--line);
  padding-top:20px;
  font-size:11px;
  color:#9aabb1;
  line-height:1.9;
  margin-top:27px
}
.auth-bottom svg {
  width:13px;
  height:13px;
  vertical-align:-2px;
  margin-right:5px
}
.form-error {
  font-size:12px;
  color:#af5147;
  background:#fcf2ef;
  border:1px solid #f5ded8;
  padding:10px 12px;
  border-radius:6px;
  line-height:1.7;
  margin-bottom:19px
}
.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  z-index:100;
  background:#203d3e;
  color:#fff;
  padding:13px 22px;
  font-size:12px;
  border-radius:8px;
  box-shadow:0 8px 30px #122c3222;
  max-width:calc(100vw - 40px);
  line-height:1.6
}
.toast.error {
  background:#8d4941
}
dialog {
  border:1px solid #e4eae8;
  border-radius:13px;
  width:440px;
  max-width:calc(100vw - 32px);
  padding:0;
  box-shadow:0 25px 100px #122c3233;
  color:var(--ink)
}
dialog::backdrop {
  background:#102e364d;
  backdrop-filter:blur(2px)
}
.modal-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid var(--line);
  gap:15px
}
.modal-head h2 {
  margin:0;
  font-size:16px
}
.modal-body {
  padding:24px
}
.modal-body>p {
  font-size:12px;
  color:#7b8e98;
  line-height:1.9
}
.modal-body form {
  margin:0
}
.modal-footer {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  padding-top:7px
}
.modal-footer .btn {
  min-width:76px
}
.help-list {
  font-size:12px;
  line-height:2.2;
  color:#718a92;
  padding-left:19px;
  margin-bottom:23px
}
.code-block {
  display:block;
  background:#f3f6f5;
  border:1px solid #e6eeea;
  border-radius:7px;
  padding:13px;
  font-size:11px;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
  line-height:1.8;
  margin:16px 0
}
.role-summary {
  font-size:11px;
  color:#84979e;
  line-height:1.8;
  margin:10px 0 20px
}
.pending-label {
  font-size:10px;
  letter-spacing:.5px;
  color:#9aa8ae
}
.page-heading .btn {
  margin-top:15px
}
@media(min-width:1600px) {
  main {
    padding-top:45px
  }
  .hero {
    padding:39px
  }
  .hero-art {
    margin-right:65px
  }
}
@media(max-width:1100px) {
  main {
    padding:28px 26px 20px
  }
  .today {
    display:none
  }
  .hero {
    padding:27px
  }
  .hero-art {
    width:152px;
    margin-right:-10px
  }
  .art-card {
    left:12px
  }
  .art-orbit {
    left:0
  }
  .art-check {
    right:0
  }
  .hero h2 {
    font-size:22px
  }
  .stats-grid {
    gap:12px
  }
  .stat-card {
    padding:17px 14px;
    gap:11px
  }
  .stat-value {
    font-size:15px
  }
  .plan-card {
    padding:18px 16px
  }
  .plan-step {
    padding:0 12px
  }
  .auth-brand-side {
    padding:42px 36px
  }
  .auth-brand-content h1 {
    font-size:30px
  }
  .main-footer {
    padding-left:26px;
    padding-right:26px
  }
  .system-grid {
    gap:16px
  }
}
@media(max-width:840px) {
  main {
    padding:24px 20px 18px
  }
  .hero-art {
    display:none
  }
  .stats-grid {
    grid-template-columns:1fr
  }
  .stat-card {
    align-items:center
  }
  .stat-label {
    margin:0 0 6px
  }
  .stat-description {
    margin-top:5px
  }
  .stat-card>div:last-child {
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    flex:1
  }
  .stat-value {
    grid-column:2;
    grid-row:1/3;
    margin:0 0 0 12px
  }
  .stat-description {
    grid-column:1
  }
  .plan-card {
    grid-template-columns:1fr;
    gap:16px
  }
  .plan-step {
    border:0;
    padding:0
  }
  .system-grid {
    grid-template-columns:1fr
  }
  .toolbar {
    flex-wrap:wrap;
    padding:16px
  }
  .toolbar-actions {
    margin-left:0
  }
  .filter-field {
    min-width:145px;
    flex:1
  }
  .auth-screen {
    grid-template-columns:38% 1fr
  }
  .auth-brand-side {
    padding:36px 25px
  }
  .auth-brand-content h1 {
    font-size:25px
  }
  .auth-brand-side .brand {
    font-size:19px;
    gap:9px
  }
  .auth-brand-side .brand small {
    white-space:nowrap;
    font-size:7px
  }
  .main-footer {
    padding-left:20px;
    padding-right:20px
  }
  .heading-badge {
    font-size:10px
  }
  .page-heading {
    gap:12px
  }
  h1 {
    font-size:25px
  }
}
@media(max-width:620px) {
  .topbar-divider {
    display:none
  }
  .profile-button {
    gap:7px
  }
  .profile-button>svg {
    display:none
  }
  #display-name {
    max-width:70px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
  }
  .logout-button {
    width:25px
  }
  .avatar {
    width:27px;
    height:27px
  }
  .today {
    display:none
  }
  main {
    padding:24px 18px 18px
  }
  .page-heading {
    margin-bottom:21px
  }
  .eyebrow {
    font-size:9px;
    margin-bottom:10px
  }
  h1 {
    font-size:23px
  }
  .page-subtitle {
    font-size:11px;
    line-height:1.9
  }
  .heading-badge {
    margin-top:16px;
    padding:5px 7px;
    gap:5px
  }
  .hero {
    padding:25px 23px
  }
  .hero h2 {
    font-size:21px;
    line-height:1.6
  }
  .hero p {
    font-size:11px
  }
  .hero-kicker {
    font-size:9px
  }
  .hero .btn {
    font-size:11px
  }
  .stats-grid {
    margin:16px 0 25px;
    gap:10px
  }
  .stat-card {
    padding:15px 17px
  }
  .section-heading p {
    display:none
  }
  .panel-head {
    padding:18px
  }
  .panel-head h2 {
    font-size:13px
  }
  th,td {
    padding-left:18px;
    padding-right:18px
  }
  .empty-state {
    padding:25px 20px;
    min-height:233px
  }
  .empty-state p {
    font-size:10px;
    line-height:1.9
  }
  .table-footer {
    padding:0 18px
  }
  .table-footer>span:last-child {
    display:none
  }
  .plan-card {
    padding:18px
  }
  .main-footer {
    padding:20px 18px;
    font-size:9px;
    flex-wrap:wrap;
    gap:9px
  }
  .main-footer>span:last-child {
    margin-left:auto
  }
  .toolbar {
    gap:13px
  }
  .toolbar .filter-field {
    max-width:none;
    min-width:125px
  }
  .toolbar .search-field {
    min-width:100%
  }
  .toolbar-actions {
    width:100%
  }
  .toolbar-actions .btn {
    flex:1
  }
  .page-heading .btn {
    font-size:11px;
    padding:0 11px
  }
  .auth-screen {
    display:block;
    min-height:100vh
  }
  .auth-brand-side {
    padding:25px;
    background:#122f34
  }
  .auth-brand-content,.auth-copyright,.auth-decoration {
    display:none
  }
  .auth-brand-side .brand {
    font-size:21px
  }
  .auth-brand-side .brand small {
    white-space:nowrap;
    font-size:8px
  }
  .auth-form-side {
    padding:35px 27px
  }
  .auth-card h2 {
    font-size:23px
  }
  .auth-card>.page-subtitle {
    margin-bottom:25px
  }
  .auth-bottom {
    margin-top:24px
  }
  .form-field {
    margin-bottom:18px
  }
  .modal-head {
    padding:18px 21px
  }
  .modal-body {
    padding:21px
  }
  .system-grid {
    gap:18px
  }
  .details {
    padding:3px 18px
  }
  .details dt,.details dd {
    font-size:11px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    transition:none!important;
    scroll-behavior:auto!important
  }
}
