/* Kursor by Intech — app styles.
   Palette is the real Intech brand: Ink / Flag Blue / Flag Yellow / Paper.
   See memory "intech-brand" for the source values — do not reinterpret
   these through oklch, they're fixed brand hex. */

:root {
  --bg: #10141c;
  --panel: #161b26;
  --panel-2: #1e2530;
  --border: rgba(245, 241, 230, 0.10);
  --text: #f5f1e6;
  --muted: rgba(245, 241, 230, 0.56);
  --muted-2: rgba(245, 241, 230, 0.34);

  --accent: #ffd500;   /* Flag Yellow — primary */
  --accent-2: #0057b7; /* Flag Blue — secondary */
  --accent-ink: #10141c; /* text color to put ON TOP of --accent fills */

  --good: #3dd68c;
  --warn: #ff8a3d;
  --bad: #ff5b5b;

  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 32px -16px rgba(0, 0, 0, 0.55);

  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffe14d; }

button { font-family: inherit; }

::placeholder { color: var(--muted-2); }

/* ---------- layout ---------- */

.app { display: flex; min-height: 100vh; }
.main { flex: 1; padding: 28px 40px 40px; min-width: 0; }

/* ---------- sidebar ---------- */

.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--panel);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-brand {
  padding: 26px 20px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark .bar-yellow { fill: var(--accent); }
.brand-mark .bar-blue { fill: var(--accent-2); }

.brand-name { font-weight: 700; font-size: 16px; color: var(--text); letter-spacing: -0.01em; line-height: 1.2; }
.brand-sub { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-scroll { flex: 1 1 auto; overflow-y: auto; min-height: 0; }

.sidebar-section {
  padding: 18px 20px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav { padding: 6px 12px 0; display: flex; flex-direction: column; gap: 3px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
}
.nav-item svg { flex-shrink: 0; }
.nav-item:hover:not(.active) { color: var(--text); background: var(--panel-2); }
.nav-item.active {
  background: linear-gradient(135deg, rgba(255, 213, 0, 0.16), rgba(0, 87, 183, 0.16));
  color: var(--accent);
}

.sidebar-bottom {
  margin-top: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
}

.server-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
  background: var(--panel-2);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.18); flex-shrink: 0; }

.server-card-host { font-family: var(--font-mono); font-size: 12px; color: var(--text); }
.server-card-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }

/* ---------- topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 400px;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--muted-2);
}
.search-box span.hint { flex: 1; font-family: var(--font-mono); font-size: 12.5px; }
.kbd { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); background: var(--panel-2); border-radius: 5px; padding: 2px 6px; }

.topbar-right { display: flex; align-items: center; gap: 16px; }

.icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--panel); }
summary.icon-btn { cursor: pointer; list-style: none; }
summary.icon-btn::-webkit-details-marker { display: none; }

.vdivider { width: 1px; height: 24px; background: var(--border); }

/* Notification bell dropdown — a native <details> disclosure, same
   no-JS-needed pattern as .add-account elsewhere in this file. */
.notif-bell { position: relative; }
.notif-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 40;
  width: 340px; max-height: 420px; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.4);
}
.notif-dropdown-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--text);
}
.notif-item {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 16px;
  border-bottom: 1px solid var(--border); text-decoration: none; position: relative;
}
.notif-item:last-of-type { border-bottom: none; }
.notif-item.unread { background: rgba(255, 213, 0, 0.05); }
.notif-item.unread::before {
  content: ""; position: absolute; left: 5px; top: 16px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}
.notif-item-title { font-size: 12.5px; color: var(--text); font-weight: 500; padding-left: 12px; }
.notif-item-body { font-size: 11.5px; color: var(--muted); padding-left: 12px; }
.notif-item-time { font-family: var(--font-mono); font-size: 10px; color: var(--muted); padding-left: 12px; }
/* Real package installs (apt-get/etc.) are slow and synchronous — see
   install-forms.js. This is the visible "no, it's not hung" feedback:
   an inline spinner on the clicked button, plus a full-page overlay so
   there's no ambiguity even if the button itself scrolls out of view. */
.spinner {
  display: inline-block; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: currentColor;
  animation: kursor-spin 0.7s linear infinite; vertical-align: -2px;
}
.spinner-lg { width: 28px; height: 28px; border-width: 3px; color: var(--accent); }
@keyframes kursor-spin { to { transform: rotate(360deg); } }
.install-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16, 20, 28, 0.72); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
}
.install-overlay-box {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 40px; box-shadow: 0 24px 48px -12px rgba(0,0,0,0.5);
}
.install-overlay-box p { font-size: 13px; color: var(--text); margin: 0; max-width: 260px; text-align: center; }

.notif-dropdown-footer {
  display: block; text-align: center; padding: 10px; font-size: 12px;
  color: var(--accent); text-decoration: none; border-top: 1px solid var(--border);
}

.account { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.avatar {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent-ink);
}
.account-name { font-size: 12.5px; color: var(--text); font-weight: 500; }
.account-role { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }

/* ---------- page header ---------- */

.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.page-title { margin: 0 0 6px; font-size: 26px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.page-sub { margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.status-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 14px; box-shadow: var(--shadow);
  font-family: var(--font-mono); font-size: 12px; color: var(--text);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 10px; padding: 11px 18px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border);
  background: transparent; color: var(--text); text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffb800);
  color: var(--accent-ink);
  border: none;
  box-shadow: 0 12px 24px -10px rgba(255, 213, 0, 0.35);
}
.btn-danger {
  background: rgba(255, 91, 91, 0.12);
  color: var(--bad);
  border: 1px solid rgba(255, 91, 91, 0.3);
}

/* ---------- metrics ---------- */

.metrics-row { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.metric-card {
  flex: 1; min-width: 230px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
  padding: 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
}

.ring { position: relative; width: 76px; height: 76px; flex-shrink: 0; }
.ring-bg {
  width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(var(--ring-color, var(--accent)) calc(var(--pct, 0) * 3.6deg), var(--panel-2) 0);
  transition: background 0.4s ease;
}
.ring-hole { position: absolute; inset: 7px; border-radius: 50%; background: var(--panel); display: flex; align-items: center; justify-content: center; }
.ring-value { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--text); }

.metric-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.metric-detail { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }

.net-card { flex-direction: column; align-items: stretch; }
.net-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.net-chart { margin-bottom: 8px; }
.net-chart polyline { stroke: var(--accent); }
.net-foot { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; }
.net-down { color: var(--text); }
.net-up { color: var(--muted); }

/* ---------- content panels ---------- */

.content-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }

.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.panel-title { font-size: 15px; font-weight: 600; color: var(--text); }

.empty-inline { padding: 28px 10px; text-align: center; color: var(--muted); }
.empty-inline svg { color: var(--muted-2); margin-bottom: 10px; }
.empty-inline p { margin: 0; font-size: 13px; }
.empty-inline .sub { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-top: 4px; }

/* ---------- empty state (placeholder pages) ---------- */

.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 90px 24px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow);
}
.empty-state-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--panel-2);
  display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 20px;
}
.empty-state h2 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: var(--text); }
.empty-state p { margin: 0; max-width: 420px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.empty-state .badge {
  margin-top: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px;
}

/* ---------- login ---------- */

.login-wrap { display: flex; min-height: 100vh; }

.login-brand {
  width: 46%;
  min-width: 420px;
  position: relative;
  box-sizing: border-box;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 213, 0, 0.16), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(0, 87, 183, 0.28), transparent 45%),
    radial-gradient(rgba(245, 241, 230, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
}

.login-brand-top { display: flex; align-items: center; gap: 10px; }

.login-headline { margin: 0 0 16px; font-size: 36px; line-height: 1.15; font-weight: 600; color: var(--text); letter-spacing: -0.015em; max-width: 460px; }
.login-sub { margin: 0 0 32px; font-size: 14.5px; color: var(--muted); max-width: 420px; line-height: 1.6; }

.login-features { display: flex; flex-direction: column; gap: 14px; }
.login-feature { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 13.5px; }
.login-feature svg { color: var(--accent); flex-shrink: 0; }

.login-footer { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--muted-2); }

.login-form-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-form { width: 360px; max-width: 100%; }
.login-form h2 { margin: 0 0 8px; font-size: 24px; font-weight: 600; color: var(--text); }
.login-form .login-target { margin: 0 0 32px; font-size: 13.5px; color: var(--muted); font-family: var(--font-mono); }

.field-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.input-wrap { position: relative; margin-bottom: 18px; }
.input-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input {
  width: 100%; box-sizing: border-box; background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 14px 11px 38px; color: var(--text); font-size: 14px; font-family: var(--font-sans);
}
.input:focus { outline: none; border-color: var(--accent); }

.btn-block { width: 100%; justify-content: center; margin-top: 8px; }
.form-hint { margin: 20px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

.error-banner {
  background: rgba(255, 91, 91, 0.10); border: 1px solid rgba(255, 91, 91, 0.35); color: #ff9494;
  padding: 10px 14px; border-radius: 10px; font-size: 12.5px; margin-bottom: 18px;
}

.mail-auto-note {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0, 87, 183, 0.08); border: 1px solid rgba(0, 87, 183, 0.25); color: var(--muted);
  padding: 10px 14px; border-radius: 10px; font-size: 12.5px;
}
.mail-auto-note svg { color: var(--accent-2); flex-shrink: 0; }

@media (max-width: 820px) {
  .login-brand { display: none; }
  .login-form-wrap { width: 100%; }
}

/* ---------- language switcher ---------- */

.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-flag {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  font-size: 15px; filter: grayscale(0.6) opacity(0.55);
  transition: filter 0.15s ease, background 0.15s ease;
}
.lang-flag:hover { background: var(--panel-2); filter: grayscale(0.2) opacity(0.85); }
.lang-flag.active { filter: none; background: var(--panel-2); }
.lang-switch-floating { position: absolute; top: 24px; right: 24px; z-index: 2; }

/* ---------- accounts ---------- */

.created-banner {
  background: rgba(61, 214, 140, 0.08); border: 1px solid rgba(61, 214, 140, 0.3); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 18px;
}
.created-banner-title { font-size: 13.5px; font-weight: 600; color: var(--good); margin-bottom: 8px; }
.created-banner-row { display: flex; gap: 10px; margin-bottom: 8px; }
.created-banner-hint { font-size: 12px; color: var(--muted); }

.add-account { margin-bottom: 20px; }
.add-account summary { list-style: none; display: inline-flex; cursor: pointer; user-select: none; }
.add-account summary::-webkit-details-marker { display: none; }
.add-account-form {
  margin-top: 14px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.input-plain { padding-left: 14px; }

.table-panel { padding: 0; overflow: hidden; }
.accounts-row {
  display: grid; grid-template-columns: 2.4fr 1.2fr 1fr 1fr 1fr 1.6fr;
  padding: 13px 22px; align-items: center; border-bottom: 1px solid var(--border); gap: 8px;
}
.accounts-row:last-child { border-bottom: none; }
.accounts-row-head { padding-top: 14px; padding-bottom: 14px; }
.table-head { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.account-cell { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.account-cell-name { font-size: 13.5px; color: var(--text); font-weight: 500; }
.account-cell-username { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

.avatar-sm { width: 32px; height: 32px; border-radius: 9px; font-size: 12px; flex-shrink: 0; }
.avatar-photo { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.avatar-photo-lg, .avatar-lg { width: 64px; height: 64px; border-radius: 16px; font-size: 22px; }
.avatar-photo { border: 1px solid var(--border); }

.cell-muted { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

.role-badge, .status-badge {
  display: inline-flex; align-items: center; width: fit-content; border-radius: 100px;
  padding: 4px 10px; font-family: var(--font-mono); font-size: 11px;
}
.role-badge.role-admin { background: rgba(255, 213, 0, 0.14); color: var(--accent); }
.role-badge.role-member { background: var(--panel-2); color: var(--muted); }
.status-badge.status-active { background: rgba(61, 214, 140, 0.14); color: var(--good); }
.status-badge.status-disabled { background: var(--panel-2); color: var(--muted); }

.row-actions { display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.row-actions form { margin: 0; }
.link-action {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
}
.link-action:hover { color: var(--text); }
.link-danger:hover { color: var(--bad); }

.permission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 900px) { .permission-grid { grid-template-columns: 1fr; } }
.permission-check {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text);
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; cursor: pointer;
}
.permission-check input { accent-color: var(--accent); width: 15px; height: 15px; }

/* Compact "chip line" for dense key:value summaries (e.g. a ticket's
   new-employee questionnaire) — an alternative to .profile-field's
   full-width bordered rows when the data should stay out of the way. */
.info-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.info-chip {
  display: flex; align-items: baseline; gap: 6px; font-size: 12.5px;
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 7px; padding: 6px 11px;
}
.info-chip-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.03em; color: var(--muted); }
.info-chip-value { color: var(--text); font-weight: 500; }
.info-chip-value.cell-muted { color: var(--muted); font-weight: 400; }

/* Read-only "which services/access this account has" badges — the
   profile page's answer to .permission-check (which is for the
   editable checkbox form); same pill language, no checkbox, an icon
   instead so it reads at a glance. */
.access-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.access-badge {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text);
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px;
}
.access-badge svg { color: var(--accent); flex-shrink: 0; }

/* iOS-style on/off toggle — a checkbox underneath, styled as a pill +
   thumb. Used for "this port is open" rows where flipping it off is a
   real action (submits the row's own close form), not just decoration. */
.toggle-switch { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch .toggle-track {
  position: absolute; inset: 0; background: var(--border); border-radius: 999px;
  cursor: pointer; transition: background 0.15s ease;
}
.toggle-switch .toggle-track::before {
  content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px;
  background: var(--paper, #fff); border-radius: 50%; transition: transform 0.15s ease;
}
.toggle-switch input:checked + .toggle-track { background: var(--good); }
.toggle-switch input:checked + .toggle-track::before { transform: translateX(16px); }

/* small enabled/disabled status dot + icon pairing, used next to a
   toggle for an at-a-glance state beyond just the switch position */
.status-icon { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; }
.status-icon.on { color: var(--good); }
.status-icon.off { color: var(--muted); }

/* ---------- organization (departments & positions) ---------- */

.inline-add-form { display: flex; gap: 10px; margin-bottom: 16px; }
.org-list { display: flex; flex-direction: column; }
.org-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 4px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text);
}
.org-row:last-child { border-bottom: none; }

/* ---------- profile page ---------- */

.back-link { display: inline-block; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.back-link:hover { color: var(--text); }

.profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }

.profile-field { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); }
.profile-field:last-child { border-bottom: none; }
.profile-field-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }
.profile-field-value { font-size: 13px; color: var(--text); }
