:root {
  --bg: #f7f8f4;
  --surface: #fff;
  --ink: #172b25;
  --muted: #78827d;
  --line: #e5e9e2;
  --green: #234e3f;
  --lime: #dcf3b0;
  --sidebar: #182d25;
  --red: #b83e3e;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #92bb71;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
[v-cloak] {
  display: none;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.2px;
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: 10px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.8;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: #75897b;
  margin-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}
.brand strong {
  font-size: 30px;
  letter-spacing: -1.5px;
  font-weight: 650;
}
.brand-mark {
  width: 36px;
  height: 39px;
  display: inline-grid;
  place-items: center;
  background: var(--lime);
  color: #244935;
  font-size: 25px;
  font-weight: 700;
  border-radius: 10px;
  transform: rotate(-5deg);
}
.brand-dot {
  color: var(--lime);
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8bb76e;
  flex-shrink: 0;
}
.primary,
.secondary,
.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 11px 17px;
  font-size: 13px;
  min-height: 41px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.16s,
    transform 0.16s;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #31634f;
}
.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: #42564b;
}
.secondary:hover {
  background: #f2f5ef;
}
.danger {
  background: #b83e3e;
  color: #fff;
}
.full {
  width: 100%;
  justify-content: space-between;
}
.text-button {
  background: none;
  color: #6c7c71;
  font-size: 12px;
  padding: 7px 0;
}
.text-button:hover {
  color: #24513d;
}
.icon-button {
  background: none;
  color: inherit;
  font-size: 23px;
  padding: 0 7px;
  line-height: 1.4;
}
.inline-error {
  color: var(--red);
  font-size: 12px;
  min-height: 17px;
  margin: 8px 0;
}
.loading {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
input,
textarea,
select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dfe5dc;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #7eab83;
  box-shadow: 0 0 0 3px #edf4e8;
}
textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 20px 0 9px;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  vertical-align: middle;
  padding: 0;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  margin: 10px 0;
  line-height: 1.6;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
}
.login-story {
  background: var(--sidebar);
  padding: 44px 64px;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 720px;
  overflow: hidden;
}
.story-content {
  margin: auto 0;
  padding: 70px 0 40px;
}
.story-content .eyebrow {
  color: #a3bc93;
}
.story-content h1 {
  font-size: 43px;
  line-height: 1.5;
  letter-spacing: -1px;
}
.story-content p {
  color: #9eafa3;
  font-size: 14px;
}
.story-footer {
  font-size: 11px;
  color: #9eafa3;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
}
.vault-art {
  height: 210px;
  position: relative;
  max-width: 430px;
  margin-top: 45px;
}
.art-line {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid #355140;
  border-radius: 50%;
  right: 5px;
  top: -15px;
}
.art-line:after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px solid #355140;
  border-radius: 50%;
}
.art-card {
  position: absolute;
  background: #eef2e1;
  color: #244631;
  padding: 28px;
  width: 285px;
  height: 160px;
  border-radius: 15px;
  transform: rotate(-7deg);
  box-shadow: 0 15px 35px #0d201b55;
}
.art-card span,
.art-card small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.7px;
}
.art-card strong {
  display: block;
  font-size: 28px;
  letter-spacing: 4px;
  margin: 18px 0 15px;
}
.art-key {
  position: absolute;
  right: 0;
  top: 5px;
  background: var(--lime);
  color: #244631;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 40px;
  transform: rotate(12deg);
}
.art-chip {
  position: absolute;
  bottom: 0;
  left: 145px;
  border: 1px solid #46614d;
  background: #203b2d;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 12px;
  transform: rotate(3deg);
}
.login-form-area {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-card {
  max-width: 350px;
  width: 100%;
}
.small-logo {
  font-size: 30px;
  color: #42624b;
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border: 1px solid #dce3d5;
  border-radius: 14px;
  margin-bottom: 30px;
}
.login-card h2 {
  font-size: 27px;
  margin-bottom: 10px;
}
.login-card label {
  margin-top: 32px;
}
.login-card .primary {
  margin-top: 8px;
}
.login-help {
  font-size: 12px;
  color: #90988e;
  margin-top: 23px;
}
.version {
  display: block;
  color: #a4ada0;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-top: 50px;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  flex-shrink: 0;
  background: var(--sidebar);
  color: #b2c2b6;
  padding: 30px 22px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.sidebar .brand {
  margin-bottom: 34px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  border: 1px solid #34483c;
  border-radius: 9px;
  margin-bottom: 26px;
}
.workspace-avatar {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #344c3d;
  color: #c9d8bd;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.workspace-label strong {
  display: block;
  font-size: 11px;
  color: #e2eadd;
  font-weight: 500;
}
.workspace-label small {
  font-size: 9px;
  color: #879b8b;
  margin-top: 4px;
  display: block;
}
.tiny-lock {
  margin-left: auto;
  color: #809a83;
}
.nav-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border-radius: 7px;
  background: none;
  color: #a0b3a5;
  font-size: 12px;
  margin: 4px 0;
  text-align: left;
}
.nav-button > span {
  font-size: 18px;
  width: 20px;
}
.nav-button:hover {
  background: #233b2e;
}
.nav-button.active {
  background: #d9edba;
  color: #254833;
  font-weight: 650;
}
.project-nav {
  margin-top: 32px;
  overflow-y: auto;
  min-height: 70px;
}
.nav-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7f9785;
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.project-button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px;
  border-radius: 7px;
  color: #a6b8aa;
  background: none;
  font-size: 11px;
  text-align: left;
}
.project-button.active {
  background: #2a4434;
  color: #e3efda;
}
.project-button .project-dot {
  width: 6px;
  height: 6px;
  border: 1px solid #91a785;
  border-radius: 2px;
  flex-shrink: 0;
}
.project-button span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-button small {
  margin-left: auto;
  color: #758f7a;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.storage-note {
  border-top: 1px solid #304436;
  padding-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 10px;
  color: #c2d2bb;
}
.storage-note .status-dot {
  margin-top: 3px;
}
.storage-note small {
  display: block;
  font-size: 9px;
  color: #6f8b76;
  margin-top: 6px;
}
.account-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
}
.account-actions .text-button {
  font-size: 10px;
  color: #8da38f;
}
.main-shell {
  margin-left: 238px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #8b948b;
  background: #fbfcf9;
}
.topbar strong {
  color: #536251;
  font-weight: 500;
}
.slash {
  margin: 0 13px;
  color: #b9c2b5;
}
.connection-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e1e9d9;
  background: #f2f7e9;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 10px;
  color: #718363;
}
.main-content {
  padding: 41px 42px 20px;
  max-width: 1440px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading .eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}
.page-heading p {
  margin-bottom: 0;
}
.page-heading h1 {
  font-size: 30px;
}
.main-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 45px;
  color: #a2aca0;
  font-size: 8px;
  letter-spacing: 1px;
}
.welcome-card {
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  border-radius: 13px;
  padding: 60px 24px;
}
.welcome-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #edf4df;
  display: grid;
  place-items: center;
  font-size: 37px;
  color: #53704b;
  margin: 0 auto 25px;
  transform: rotate(-7deg);
}
.welcome-card h2 {
  margin-bottom: 12px;
}
.welcome-card p {
  font-size: 13px;
  color: var(--muted);
  max-width: 360px;
  margin: 0 auto 24px;
}
.welcome-steps {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 45px;
  font-size: 11px;
  color: #84917f;
}
.welcome-steps b {
  color: #b5c6a3;
  font-size: 10px;
  margin-right: 8px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 18px;
  margin-bottom: 30px;
}
.metrics > div {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 21px 24px;
  min-height: 125px;
}
.metrics span {
  font-size: 11px;
  color: #8c9788;
  display: block;
}
.metrics strong {
  display: block;
  font-size: 30px;
  font-weight: 550;
  margin: 8px 0 7px;
  line-height: 1;
}
.metrics small {
  font-size: 9px;
  color: #a1aa9b;
}
.metrics .metric-status {
  background: #eef4e4;
  border-color: #e1e8d5;
}
.metric-status strong {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0;
}
.metric-status .status-dot {
  width: 9px;
  height: 9px;
}
.vault-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.environment-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #eaeee5;
  border-radius: 8px;
  max-width: 100%;
  overflow: auto;
}
.environment-tabs button {
  background: none;
  color: #83907c;
  font-size: 11px;
  padding: 8px 15px;
  border-radius: 5px;
  white-space: nowrap;
}
.environment-tabs button.active {
  background: #fff;
  color: #35533c;
  box-shadow: 0 1px 4px #1930180b;
  font-weight: 600;
}
.secret-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}
.table-toolbar {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.search-wrap {
  position: relative;
  max-width: 260px;
  flex: 1;
}
.search-wrap span {
  position: absolute;
  left: 12px;
  top: 9px;
  color: #8c9986;
  font-size: 20px;
}
.search-wrap input {
  padding-left: 37px;
  background: #fafbf8;
  border-color: #e9ede4;
  font-size: 12px;
  min-width: 100px;
}
.toolbar-actions {
  display: flex;
  gap: 10px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  padding: 13px 22px;
  background: #fafbf8;
  font-size: 10px;
  color: #929c8b;
  font-weight: 500;
  border-top: 1px solid #f0f2eb;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 20px 22px;
  border-bottom: 1px solid #eef1e9;
  color: #687762;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  font-family: Consolas, monospace;
  font-weight: 600;
  color: #3c5137;
  font-size: 12px;
}
.secret-value {
  font-family: Consolas, monospace;
  letter-spacing: 3px;
  color: #afbaa4;
  display: inline-block;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}
.secret-value.revealed {
  letter-spacing: 0;
  color: #476a40;
  white-space: pre-wrap;
  word-break: break-all;
}
.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
}
.row-actions button {
  border-radius: 5px;
  background: none;
  color: #89967e;
  font-size: 11px;
  padding: 5px 7px;
}
.row-actions button:hover {
  background: #f0f5e9;
  color: #315432;
}
.row-actions .delete:hover {
  background: #fff0ed;
  color: #a83e36;
}
.align-right {
  text-align: right;
}
.table-foot {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a1ac97;
  padding: 15px 22px;
  border-top: 1px solid #eef1e9;
  background: #fcfdfb;
}
.empty-state {
  padding: 45px 20px;
  text-align: center;
  color: #919e86;
}
.empty-state h3 {
  margin: 13px 0 8px;
  color: #647859;
}
.empty-state p {
  font-size: 12px;
  margin: 0;
}
.empty-symbol {
  font-size: 35px;
  color: #a4b98d;
}
.connection-tip {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #edf1e6;
  border: 1px solid #e5eadc;
  border-radius: 9px;
  padding: 20px 23px;
  margin-top: 23px;
  flex-wrap: wrap;
}
.connection-tip > div {
  position: relative;
  padding-left: 35px;
}
.tip-icon {
  position: absolute;
  left: 0;
  top: 5px;
  color: #7d9565;
  font-size: 23px;
}
.connection-tip strong {
  font-size: 11px;
  font-weight: 600;
}
.connection-tip p {
  font-size: 10px;
  color: #99a389;
  margin: 4px 0 0;
}
.connection-tip > code {
  background: #e4eadb;
  color: #6d805b;
  padding: 11px 14px;
  font-size: 10px;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.connection-tip .text-button {
  margin-left: auto;
  font-size: 10px;
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.shared-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.element-table-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.element-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: #899583;
  font-size: 11px;
}
.element-table-toolbar .el-input {
  width: min(320px, 70vw);
}
.element-table-shell .el-table,
.element-table-shell .el-table th,
.element-table-shell .el-table tr {
  background: transparent;
}
.element-table-shell .el-table::before {
  display: none;
}
.element-table-shell .el-table th.el-table__cell {
  background: #fafbf8;
  color: #7e8b78;
  font-size: 11px;
  font-weight: 600;
}
.element-table-shell .el-table td.el-table__cell {
  color: #4c5f53;
  font-size: 12px;
  cursor: default;
}
#shared-group-table-app .el-table__row {
  cursor: pointer;
}
.element-table-shell .el-button--text {
  color: #38634e;
}
.element-table-shell .el-button--text:hover {
  color: #72955e;
}
.element-table-shell .revoke-button,
.element-table-shell .revoke-button:hover {
  color: #a94c43;
}
.element-table-shell .el-tag--success {
  color: #55754a;
  background: #f0f6e7;
  border-color: #dce9cd;
}
.element-table-shell .el-input__inner:focus,
.element-pagination .el-select .el-input.is-focus .el-input__inner {
  border-color: #7eab83;
}
.element-pagination {
  display: flex;
  justify-content: flex-end;
  padding: 18px 20px;
  border-top: 1px solid #edf1e9;
}
.element-pagination
  .el-pagination.is-background
  .el-pager
  li:not(.disabled).active {
  background: var(--green);
}
.table-subline {
  display: block;
  margin-top: 5px;
  color: #9ba797;
  font-family: Consolas, monospace;
  font-weight: 400;
}
.shared-group-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  color: var(--ink);
  transition:
    transform 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.shared-group-card:hover {
  transform: translateY(-2px);
  border-color: #bfd2af;
  box-shadow: 0 12px 30px #17331f0c;
}
.shared-group-card .group-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #edf4df;
  color: #55724b;
  font-size: 21px;
  margin-bottom: 21px;
}
.shared-group-card h2 {
  font-size: 17px;
  margin-bottom: 7px;
}
.shared-group-card p {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 24px;
}
.shared-group-card footer {
  display: flex;
  justify-content: space-between;
  color: #94a08d;
  font-size: 10px;
  border-top: 1px solid #edf1e7;
  padding-top: 15px;
}
.shared-link-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.shared-link-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
}
.shared-link-row label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.priority-actions {
  display: flex;
  gap: 4px;
}
.priority-actions button {
  background: #f0f4ea;
  color: #627b55;
  width: 29px;
  height: 29px;
  border-radius: 6px;
}
.source-preview {
  margin-top: 18px;
  border-radius: 8px;
  background: #f3f6ee;
  padding: 14px;
}
.source-preview h3 {
  font-size: 11px;
  margin-bottom: 10px;
}
.source-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
  border-top: 1px solid #e3ead9;
  font-size: 10px;
}
.source-row code {
  color: #3f5c38;
}
.source-row span {
  color: #79906a;
  text-align: right;
}
.source-row > div {
  display: grid;
  gap: 4px;
}
.device-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 24px;
}
.device-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.device-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #edf3e4;
  color: #718b5c;
  border-radius: 10px;
  font-size: 23px;
}
.device-heading h3 {
  margin: 0 0 5px;
}
.device-heading small {
  font-size: 10px;
  color: #99a18d;
}
.badge {
  font-size: 9px;
  background: #eff5e7;
  color: #678154;
  padding: 4px 8px;
  border-radius: 15px;
  margin-left: auto;
  white-space: nowrap;
}
.badge.revoked {
  background: #f2f2ee;
  color: #a3a598;
}
.device-info {
  font-size: 11px;
  color: #839275;
  display: grid;
  gap: 10px;
}
.device-info code {
  color: #516746;
}
.device-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid #edf1e7;
  font-size: 10px;
  color: #a1ac95;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 26px;
  min-width: 0;
}
.step-number {
  display: block;
  color: #9ab57c;
  font-size: 12px;
  margin-bottom: 22px;
}
.guide-card h2 {
  font-size: 18px;
}
.guide-card p,
.guide-note p {
  font-size: 12px;
  color: #859478;
}
.guide-card pre {
  padding: 16px;
  background: #f2f5ed;
  color: #4c6541;
  overflow: auto;
  border-radius: 7px;
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.guide-note {
  margin-top: 20px;
  padding: 24px;
  background: #eaf1df;
  border-radius: 10px;
  font-size: 13px;
}
.guide-note p {
  margin: 9px 0 0;
}
dialog {
  padding: 27px;
  border: 1px solid #e2e9da;
  border-radius: 14px;
  width: min(530px, calc(100vw - 32px));
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 30px 100px #13231733;
}
dialog::backdrop {
  background: #172b2566;
  backdrop-filter: blur(3px);
}
.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
.modal-top h2 {
  margin: 0;
  font-size: 22px;
}
.modal-top .eyebrow {
  font-size: 9px;
  margin-bottom: 8px;
}
.modal-top .icon-button {
  color: #98a48c;
}
.modal-description {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 4px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
}
.field-hint {
  font-size: 10px;
  color: #95a087;
  margin: 7px 0 0;
  line-height: 1.7;
}
.code-input {
  font-family: Consolas, monospace;
  font-size: 12px;
}
.preview-list {
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 16px;
}
.preview-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 13px;
  font-size: 11px;
  border-bottom: 1px solid #edf1e7;
}
.preview-row:last-child {
  border: 0;
}
.preview-row span {
  color: #8da278;
}
.token-notice {
  padding: 15px;
  background: #f1f6e8;
  color: #71855b;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.8;
  margin: 16px 0;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #243d2b;
  color: #edf5df;
  padding: 13px 23px;
  border-radius: 9px;
  font-size: 12px;
  box-shadow: 0 8px 30px #1d341a22;
  z-index: 100;
  max-width: calc(100vw - 30px);
}
.toast.error {
  background: #863d36;
}
.help-empty {
  padding: 45px;
  text-align: center;
  border: 1px dashed #d9e3cf;
  border-radius: 10px;
  grid-column: 1/-1;
}
.help-empty p {
  font-size: 13px;
  color: #8e9c82;
}
@media (min-width: 1500px) {
  .main-content {
    padding-top: 50px;
  }
  .login-story {
    padding: 50px 90px;
  }
  .story-content h1 {
    font-size: 49px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 210px;
    padding: 26px 17px;
  }
  .main-shell {
    margin-left: 210px;
  }
  .main-content {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .metrics {
    gap: 10px;
  }
  .metrics > div {
    padding: 18px;
  }
  .row-actions {
    flex-wrap: wrap;
  }
  td,
  th {
    padding-left: 16px;
    padding-right: 16px;
  }
  .login-story {
    padding: 40px;
  }
  .story-content h1 {
    font-size: 35px;
  }
  .connection-tip > code {
    flex: 1;
  }
}
@media (max-width: 760px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 18px 20px;
    display: block;
  }
  .sidebar .brand {
    margin-bottom: 16px;
  }
  .sidebar .brand strong {
    font-size: 25px;
  }
  .sidebar .brand-mark {
    width: 29px;
    height: 31px;
    font-size: 21px;
  }
  .workspace-label,
  .storage-note,
  .project-nav {
    display: none;
  }
  .sidebar nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }
  .nav-button {
    font-size: 10px;
    justify-content: center;
    gap: 5px;
    padding: 9px 3px;
  }
  .nav-button > span {
    display: none;
  }
  .sidebar-bottom {
    margin: 0;
    padding: 0;
  }
  .account-actions {
    position: absolute;
    right: 20px;
    top: 20px;
    margin: 0;
    gap: 16px;
  }
  .account-actions .text-button {
    font-size: 9px;
  }
  .main-shell {
    margin-left: 0;
  }
  .topbar {
    height: 50px;
    padding: 0 20px;
    font-size: 10px;
  }
  .main-content {
    padding: 25px 18px;
  }
  .page-heading {
    margin-bottom: 22px;
    gap: 12px;
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 23px;
    letter-spacing: -0.5px;
  }
  .page-heading .muted {
    font-size: 11px;
  }
  .page-heading > .primary,
  .page-heading > .secondary {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 34px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-bottom: 22px;
  }
  .metrics > div {
    padding: 13px 10px;
    min-height: 100px;
  }
  .metrics span {
    font-size: 9px;
  }
  .metrics strong {
    font-size: 25px;
  }
  .metrics small {
    font-size: 8px;
    line-height: 1.5;
    display: block;
  }
  .metric-status strong {
    font-size: 15px;
    gap: 5px;
  }
  .metric-status .status-dot {
    width: 6px;
    height: 6px;
  }
  .vault-toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .environment-tabs button {
    padding: 7px 12px;
    font-size: 10px;
  }
  .vault-toolbar > .text-button {
    font-size: 10px;
  }
  .table-toolbar {
    padding: 13px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .search-wrap {
    max-width: none;
    flex-basis: 100%;
  }
  .toolbar-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .toolbar-actions button {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 35px;
  }
  .secret-card table {
    min-width: 520px;
  }
  .table-foot {
    padding: 12px;
    font-size: 8px;
    gap: 12px;
  }
  .connection-tip {
    padding: 17px;
    gap: 15px;
  }
  .connection-tip > code {
    flex-basis: 100%;
    font-size: 9px;
  }
  .connection-tip .text-button {
    margin: 0;
  }
  .main-footer {
    font-size: 7px;
    line-height: 1.8;
    gap: 20px;
  }
  .device-grid,
  .guide-grid,
  .shared-group-grid {
    grid-template-columns: 1fr;
  }
  .element-table-shell {
    overflow-x: auto;
  }
  .element-table-shell > .el-table {
    min-width: 900px;
  }
  .element-table-toolbar {
    min-width: 900px;
    padding: 14px;
  }
  .element-pagination {
    min-width: 900px;
    justify-content: flex-start;
    padding: 14px;
  }
  .welcome-card {
    padding: 40px 20px;
  }
  .welcome-card h2 {
    font-size: 20px;
  }
  .welcome-card p {
    font-size: 12px;
  }
  .welcome-steps {
    gap: 16px;
    font-size: 10px;
  }
  .login-layout {
    display: block;
  }
  .login-story {
    min-height: 0;
    padding: 26px;
  }
  .login-story .story-content {
    padding: 32px 0 0;
    margin: 0;
  }
  .story-content h1 {
    font-size: 27px;
  }
  .story-content p,
  .vault-art,
  .story-footer {
    display: none;
  }
  .login-story .eyebrow {
    font-size: 9px;
  }
  .login-form-area {
    padding: 35px 26px;
  }
  .small-logo {
    display: none;
  }
  .login-card h2 {
    font-size: 23px;
  }
  .login-card .eyebrow {
    font-size: 9px;
  }
  .login-card label {
    margin-top: 24px;
  }
  .version {
    margin-top: 30px;
  }
}
