@font-face {
  font-family: AccessSystem;
  src: local("Segoe UI");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: AccessSystem;
  src: local("Segoe UI Semibold");
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: AccessSystem;
  src: local("Segoe UI Bold");
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: AccessSystem, Arial, sans-serif;
  color: #25322c;
  background: #f7f8f7;
  font-size: 14px;
  font-synthesis: none;
  --ink: #25322c;
  --muted: #737e77;
  --line: #e0e5e1;
  --green: #315e46;
  --soft: #e6f0e9;
  --red: #a3443c;
  --sidebar: 224px;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #45865b;
}
button {
  transition:
    background 0.15s,
    transform 0.15s;
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
button svg,
a svg {
  flex-shrink: 0;
}
svg.lucide {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  font-weight: 580;
  line-height: 1.25;
}
h2 {
  font-size: 20px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.mono,
code {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-variant-numeric: tabular-nums;
}
.small {
  font-size: 12px;
}
.boot {
  display: grid;
  place-items: center;
  height: 100dvh;
  color: var(--muted);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand strong {
  font-size: 15px;
  font-weight: 600;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  background: #f0f3f0;
  padding: 27px 19px 18px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.nav-label {
  font-size: 10px;
  color: #909a93;
  margin: 48px 12px 13px;
  text-transform: uppercase;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  min-height: 43px;
  padding: 10px 13px;
  text-align: left;
  color: #68776c;
  font-weight: 500;
}
.nav button:hover {
  background: #e6ebe6;
}
.nav button.active {
  background: #dce8df;
  color: #254b34;
}
.nav button .count {
  margin-left: auto;
  font-size: 11px;
  background: #c8d9cd;
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 21px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 16px;
}
.environment {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #6f7b71;
  padding: 12px 11px;
  border-top: 1px solid var(--line);
}
.dot {
  width: 6px;
  height: 6px;
  background: #6c9a76;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.account {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 0 8px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ccd7cf;
  border-radius: 50%;
  font-size: 11px;
}
.account .icon-btn {
  margin-left: auto;
}
.main {
  margin-left: var(--sidebar);
  min-height: 100dvh;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: #fafbf9;
  font-size: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #859088;
}
.breadcrumb strong {
  color: #58665c;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
  line-height: 1.3;
}
.badge.active {
  color: #397450;
  background: #e6f2e9;
}
.badge.pending {
  color: #776333;
  background: #f4eedc;
}
.badge.paused,
.badge.blocked {
  color: #805b40;
  background: #f6e9df;
}
.badge.revoked {
  color: #a35e57;
  background: #f7e8e6;
}
.badge.expired,
.badge.planned {
  color: #828a84;
  background: #edf0ed;
}
.content {
  max-width: 1560px;
  margin: 0 auto;
  padding: 38px 42px 50px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading .kicker {
  font-size: 11px;
  color: #8b958e;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.btn:hover {
  background: #f0f3f0;
}
.btn.primary {
  background: #294a37;
  border-color: #294a37;
  color: #f9fcf8;
}
.btn.primary:hover {
  background: #396148;
}
.btn.danger {
  color: var(--red);
  border-color: #e8c9c5;
}
.btn.danger:hover {
  background: #fbeeed;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: #68766d;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #78847b;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: #e6ece7;
  color: #294a37;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  padding: 24px 0;
}
.stat {
  padding: 0 26px;
  border-right: 1px solid var(--line);
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border: 0;
}
.stat-label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #7d8980;
  font-size: 12px;
  margin-bottom: 15px;
}
.stat-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.stat-value small {
  font-size: 12px;
  color: #9aa39d;
  font-weight: 400;
  margin-left: 8px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}
.toolbar-start {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.search {
  position: relative;
  width: 260px;
  max-width: 100%;
}
.search svg {
  position: absolute;
  left: 11px;
  top: 10px;
  color: #939d96;
  width: 15px;
  height: 15px;
}
.search input {
  width: 100%;
  padding-left: 34px;
  background: transparent;
  font-size: 12px;
}
input,
select,
textarea {
  border: 1px solid #d8dfd9;
  background: #fff;
  color: var(--ink);
  border-radius: 5px;
  padding: 9px 11px;
  min-height: 36px;
  width: 100%;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: #a0aaa2;
}
select {
  cursor: pointer;
  padding-right: 26px;
}
textarea {
  resize: vertical;
  min-height: 82px;
}
input[type="checkbox"],
input[type="radio"] {
  min-height: auto;
  width: 16px;
  height: 16px;
  accent-color: #3e6a4b;
  margin: 0;
}
label {
  font-size: 12px;
  display: block;
  color: #536257;
}
.filter {
  width: 140px;
  font-size: 12px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: #8b968e;
  background: #f0f3f0;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
td:first-child,
th:first-child {
  padding-left: 14px;
}
.grant-row {
  cursor: pointer;
}
.grant-row:hover {
  background: #f0f5f0;
}
.grant-name {
  font-size: 13px;
  font-weight: 550;
  display: block;
  margin-bottom: 5px;
  max-width: 270px;
  overflow-wrap: anywhere;
}
.subline {
  font-size: 11px;
  color: #939d95;
}
.scope {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  background: #e9edf0;
  color: #586c78;
  border-radius: 3px;
  padding: 4px 6px;
  margin: 2px 3px 2px 0;
}
.scope-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7895a5;
}
.empty {
  padding: 70px 20px 85px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.empty svg {
  width: 26px;
  height: 26px;
  color: #99aea0;
  margin-bottom: 15px;
}
.empty h3 {
  font-size: 14px;
  font-weight: 500;
}
.empty p {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 20px;
}
.table-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #8e9991;
  padding: 17px 0;
}
.text-link {
  color: #3e7451;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  padding: 14px 0;
  color: #7b896e;
}
.notice svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.notice a,
.notice button {
  color: #4c7051;
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.notice.warning {
  color: #957844;
}
.projects-list {
  border-top: 1px solid var(--line);
}
.project-row {
  display: grid;
  grid-template-columns: 44px minmax(160px, 1fr) 150px 180px auto;
  gap: 20px;
  align-items: center;
  padding: 25px 4px;
  border-bottom: 1px solid var(--line);
}
.project-glyph {
  height: 38px;
  width: 38px;
  display: grid;
  place-items: center;
  background: #e4eadd;
  color: #5d704c;
  border-radius: 6px;
  font-family: Consolas, monospace;
  font-size: 14px;
}
.project-row:nth-child(2) .project-glyph {
  background: #eee8f3;
  color: #837193;
}
.project-row:nth-child(3) .project-glyph {
  background: #f4e8df;
  color: #a67f67;
}
.project-row:nth-child(4) .project-glyph {
  background: #e1ebee;
  color: #65858e;
}
.project-row:nth-child(5) .project-glyph {
  background: #eae8e1;
  color: #898267;
}
.project-row p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.project-url {
  display: block;
  font-size: 11px;
  color: #85928a;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.project-meta {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 11px;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.switch {
  width: 30px;
  height: 18px;
  border-radius: 12px;
  background: #cbd3cd;
  position: relative;
  transition: background 0.15s;
}
.switch:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  transition: transform 0.15s;
}
.toggle input:checked + .switch {
  background: #518361;
}
.toggle input:checked + .switch:after {
  transform: translateX(12px);
}
.toggle input:focus-visible + .switch {
  outline: 2px solid #438759;
  outline-offset: 3px;
}
.security-layout {
  max-width: 840px;
}
.setting-row {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.setting-row p {
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.setting-row:last-child {
  border-bottom: 1px solid var(--line);
}
.security-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.security-facts dt {
  font-size: 11px;
  color: #8a958e;
  margin-bottom: 8px;
}
.security-facts dd {
  margin: 0;
  font-size: 13px;
}
.activity-kind {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.activity-kind svg {
  color: #829589;
  width: 15px;
}
.activity-table td {
  padding: 17px 14px;
}
.activity-table .detail {
  max-width: 360px;
  color: #8e9991;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.signin {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
}
.signin-side {
  background: #e9eee7;
  border-right: 1px solid #dce4db;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.signin-side .brand {
  align-self: flex-start;
}
.signin-signature {
  font-size: 12px;
  color: #859180;
  line-height: 1.8;
}
.signin-main {
  display: grid;
  place-items: center;
  padding: 32px;
}
.signin-form {
  width: 100%;
  max-width: 344px;
}
.signin-form .eyebrow {
  font-size: 11px;
  color: #8c978f;
  margin-bottom: 14px;
}
.signin-form h1 {
  font-size: 28px;
  margin-bottom: 12px;
}
.signin-form p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field small {
  font-size: 11px;
  color: #919c94;
  line-height: 1.5;
}
.signin-form .btn {
  width: 100%;
  height: 40px;
}
.form-error {
  color: #a44b43;
  font-size: 12px;
  line-height: 1.5;
  min-height: 18px;
  margin: 8px 0 14px;
}
.signin-footer {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 11px;
  color: #96a095;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 40px;
}
.password-wrap .icon-btn {
  position: absolute;
  right: 3px;
  top: 3px;
}
dialog {
  border: 1px solid #dbe2dc;
  border-radius: 8px;
  padding: 0;
  max-height: calc(100dvh - 48px);
  max-width: calc(100vw - 32px);
  width: 520px;
  color: var(--ink);
  background: #fbfcfa;
  box-shadow: 0 16px 70px #20372a20;
  overflow: auto;
}
dialog::backdrop {
  background: #13261b40;
  backdrop-filter: blur(2px);
}
dialog[open] {
  animation: arrive 0.18s ease-out;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px 20px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.dialog-head h2 {
  font-size: 18px;
}
.dialog-body {
  padding: 25px;
}
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 18px 25px;
  border-top: 1px solid var(--line);
  background: #f3f6f1;
}
.dialog-body p {
  font-size: 12px;
  line-height: 1.7;
  color: #7f8d82;
  margin-bottom: 20px;
}
.field:last-child {
  margin-bottom: 0;
}
.project-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 12px;
}
.check-item.disabled {
  opacity: 0.45;
}
.check-item:has(:checked) {
  border-color: #91b59a;
  background: #edf4ee;
}
.check-item small {
  margin-left: auto;
  font-size: 9px;
  color: #929b93;
}
.segmented {
  display: flex;
  background: #edf1ec;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px;
  gap: 3px;
}
.segmented label {
  flex: 1;
  display: block;
  text-align: center;
  cursor: pointer;
  position: relative;
}
.segmented input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.segmented span {
  display: block;
  padding: 8px 6px;
  font-size: 11px;
  border-radius: 3px;
  color: #809084;
}
.segmented input:checked + span {
  background: #fff;
  box-shadow: 0 1px 3px #23352816;
  color: #3b5945;
}
.segmented input:focus-visible + span {
  outline: 2px solid #438759;
}
.code-reveal {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.code-reveal input {
  font-family: Consolas, monospace;
  font-size: 20px;
  text-align: center;
  min-height: 66px;
  background: #edf4ed;
  border: 1px dashed #acc4b1;
  color: #376344;
  max-width: 100%;
}
.one-time {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9b7d50;
  font-size: 11px;
  margin-bottom: 18px;
}
.drawer {
  inset: 0 0 0 auto;
  margin: 0;
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100vw;
  width: 470px;
  border-radius: 0;
  border-top: 0;
  border-bottom: 0;
  box-shadow: -8px 0 40px #19362415;
}
.drawer[open] {
  animation: slide-in 0.2s ease-out;
}
.drawer .dialog-head {
  padding: 27px 25px;
  align-items: flex-start;
}
.drawer .dialog-head h2 {
  max-width: 350px;
  overflow-wrap: anywhere;
}
.drawer .dialog-head .badge {
  margin-top: 12px;
}
.drawer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.metadata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  margin: 0 0 30px;
}
.metadata dt {
  font-size: 11px;
  color: #8a968d;
  margin-bottom: 7px;
}
.metadata dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.metadata .full {
  grid-column: 1/-1;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 550;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.session-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.session-row h3 {
  font-size: 12px;
  margin-bottom: 7px;
}
.session-row p {
  font-size: 10px;
  color: #8f9a92;
  margin: 7px 0 0;
}
.qr {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 20px;
  image-rendering: pixelated;
}
.recovery-list {
  padding: 18px;
  background: #edf2ec;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 11px;
}
.banner-note {
  font-size: 11px;
  color: #92794d;
  margin-top: 24px;
  line-height: 1.6;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 90px);
  transform: translate(-50%, 12px);
  background: #2d4335;
  color: #eff6ef;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 6px 24px #21332422;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
  z-index: 100;
  max-width: calc(100vw - 32px);
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
[hidden] {
  display: none !important;
}
.loading-line {
  height: 2px;
  background: #a7c1aa;
  animation: loading 1s infinite;
  transform-origin: left;
}
.mobile-brand {
  display: none;
}
.busy {
  opacity: 0.55;
  pointer-events: none;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes loading {
  0% {
    transform: scaleX(0.2);
  }
  100% {
    transform: scaleX(1);
  }
}
.grant-name {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.badge:not(.active) .dot {
  background: currentColor;
}
.badge.active .dot {
  background: #6c9a76;
}
#mobile-logout {
  display: none;
}
.field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.field-row {
  align-items: start;
}
.field input:not([type="checkbox"]):not([type="radio"]),
.field select {
  height: 38px;
}
.project-row > .badge {
  justify-self: start;
}
.nav button span:not(.count) {
  min-width: 0;
}
.dialog-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.badge.disabled {
  color: #828a84;
  background: #edf0ed;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 48px;
  }
  .page-heading {
    margin-bottom: 36px;
  }
  .stats {
    padding: 29px 0;
  }
  .stat-value {
    font-size: 32px;
  }
  td {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 194px;
  }
  .sidebar {
    padding: 24px 13px 18px;
  }
  .topbar {
    padding: 0 26px;
  }
  .content {
    padding: 30px 26px;
  }
  .stat {
    padding: 0 17px;
  }
  .project-row {
    grid-template-columns: 36px 1fr 120px auto;
    gap: 14px;
  }
  .project-meta {
    display: none;
  }
  .hide-medium {
    display: none;
  }
  .brand {
    gap: 8px;
  }
  .brand strong {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    position: sticky;
    inset: 0 auto auto 0;
    width: 100%;
    padding: 10px 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    padding: 5px 0 13px;
  }
  .sidebar .brand span {
    display: none;
  }
  .sidebar .brand img {
    width: 27px;
    height: 27px;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .nav {
    display: flex;
    gap: 3px;
    justify-content: space-between;
  }
  .nav button {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 5px 5px 0 0;
    gap: 6px;
    font-size: 11px;
    justify-content: center;
    flex: 1;
  }
  .nav svg {
    width: 15px;
    height: 15px;
  }
  .nav .count {
    display: none;
  }
  .topbar {
    height: 51px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .top-actions {
    gap: 5px;
  }
  .top-actions .badge {
    display: none;
  }
  .top-actions .btn {
    font-size: 10px;
    padding: 6px 8px;
  }
  .content {
    padding: 27px 20px 40px;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 23px;
  }
  .page-heading .kicker {
    font-size: 10px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 200px;
    line-height: 1.5;
  }
  .page-heading > .btn {
    padding: 8px 10px;
    font-size: 11px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin-bottom: 24px;
  }
  .stat {
    padding: 17px 0 !important;
    border-right: 0;
  }
  .stat:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .stat:nth-child(even) {
    padding-left: 22px !important;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .stat-label {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .stat-value {
    font-size: 25px;
  }
  .toolbar {
    align-items: stretch;
    gap: 8px;
  }
  .toolbar-start {
    gap: 8px;
    flex: 1;
  }
  .search {
    width: auto;
    flex: 1;
  }
  .filter {
    width: 106px;
  }
  .toolbar > .small {
    display: none;
  }
  .hide-small {
    display: none;
  }
  .grant-table td,
  .grant-table th {
    padding-left: 10px;
    padding-right: 10px;
  }
  .grant-name {
    font-size: 12px;
    max-width: 160px;
  }
  .scope {
    font-size: 10px;
  }
  .table-foot {
    font-size: 10px;
  }
  .empty {
    padding: 48px 15px;
  }
  .project-row {
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
    padding: 22px 0;
  }
  .project-row > .badge {
    grid-column: 2;
  }
  .project-row > .toggle,
  .project-row > .icon-btn {
    grid-column: 3;
    grid-row: auto;
  }
  .project-url {
    max-width: 230px;
  }
  .project-row p {
    font-size: 11px;
  }
  .project-glyph {
    width: 32px;
    height: 32px;
  }
  .activity-table th,
  .activity-table td {
    padding: 14px 8px;
  }
  .activity-table .activity-kind {
    font-size: 11px;
  }
  .activity-table .detail {
    max-width: 150px;
  }
  .activity-table .time {
    white-space: normal;
    font-size: 10px;
  }
  .setting-row {
    align-items: flex-start;
  }
  .setting-row h3 {
    font-size: 13px;
  }
  .setting-row p {
    font-size: 11px;
  }
  .setting-row > .btn {
    font-size: 11px;
    flex-shrink: 0;
  }
  .security-facts {
    gap: 24px 16px;
  }
  .signin {
    display: flex;
    flex-direction: column;
  }
  .signin-side {
    padding: 24px;
    background: transparent;
    border: 0;
  }
  .signin-signature {
    display: none;
  }
  .signin-main {
    padding: 30px 26px;
    flex: 1;
    align-items: start;
  }
  .signin-form {
    margin-top: 30px;
  }
  .dialog-body {
    padding: 22px;
  }
  .dialog-head {
    padding: 20px 22px;
  }
  .dialog-footer {
    padding: 16px 22px;
  }
  .field-row {
    gap: 12px;
  }
  .code-reveal input {
    font-size: 17px;
  }
  .drawer .dialog-head h2 {
    max-width: calc(100vw - 95px);
  }
  #toast {
    left: 50%;
  }
  .recovery-list {
    font-size: 10px;
    gap: 10px;
  }
  .notice {
    font-size: 11px;
  }
  .signin-form h1 {
    font-size: 27px;
  }
  .project-checks {
    gap: 7px;
  }
  .check-item {
    padding: 9px 8px;
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  #mobile-logout {
    display: inline-flex;
  }
}
@media (max-width: 370px) {
  .nav button {
    flex-direction: column;
    padding: 7px 2px;
    gap: 4px;
    min-width: 0;
  }
  .nav button span:not(.count) {
    font-size: 10px;
    white-space: nowrap;
  }
  .breadcrumb {
    font-size: 0;
    gap: 0;
  }
  .breadcrumb > svg {
    display: none;
  }
  .breadcrumb strong {
    font-size: 10px;
  }
  .setting-row {
    gap: 12px;
  }
  .project-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
  }
  .project-url {
    max-width: 100%;
  }
  .activity-table th,
  .activity-table td {
    padding-left: 5px;
    padding-right: 5px;
  }
  .activity-kind {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.project-controls{display:flex;align-items:center;gap:10px}.project-row h3{overflow-wrap:anywhere}.project-controls .icon-btn{width:28px;height:28px}
@media(max-width:760px){.project-controls{grid-column:3;gap:5px}}
