:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #1b3032;
  background: #f4f5f1;
  font-synthesis: none;
  --ink: #153b3d;
  --muted: #687774;
  --line: #dfe5df;
  --green: #096650;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--green);
  color: white;
  padding: 11px 17px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 13px;
}
button:hover {
  filter: brightness(0.93);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--green);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.3px;
  font-weight: 540;
  line-height: 1.18;
}
h2 {
  font-size: 21px;
  font-weight: 560;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
  font-weight: 620;
}
p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}
small,
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.9px;
  color: var(--green);
  margin-bottom: 13px;
}
.workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px 1fr;
}
aside {
  background: #143b3b;
  color: #d2e0da;
  padding: 29px 19px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 7px;
  font-weight: 570;
  font-size: 15px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 5px;
  color: #94b3aa;
}
.mark {
  font-size: 37px;
  font-weight: 730;
  letter-spacing: -5px;
  line-height: 1;
}
.mark span {
  color: #b6d570;
}
nav {
  margin-top: 55px;
  display: grid;
  gap: 8px;
}
nav button {
  text-align: left;
  background: transparent;
  color: #b8cbc4;
  padding: 14px 15px;
  display: flex;
  gap: 12px;
  font-size: 16px;
}
nav button span {
  font-size: 12px;
}
nav button.active {
  background: #28504c;
  color: white;
}
.aside-foot {
  margin-top: auto;
  border-top: 1px solid #345753;
  padding: 23px 8px 0;
  font-size: 10px;
  color: #bdd1c7;
  line-height: 1.7;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: #b6d570;
  margin-right: 7px;
}
.text-button {
  display: block;
  padding: 8px 0;
  background: transparent;
  color: inherit;
  font-size: 11px;
}
.main-wrap {
  min-width: 0;
}
header {
  height: 82px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
}
header div {
  display: flex;
  gap: 20px;
  align-items: center;
  letter-spacing: 0;
}
main {
  padding: 44px 42px;
  max-width: 1500px;
  margin: auto;
  min-height: calc(100vh - 150px);
}
.title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.title-row h1 {
  margin-bottom: 10px;
}
.title-row p {
  margin-bottom: 0;
  max-width: 660px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.danger {
  background: #883f33;
}
.badge {
  display: inline-flex;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2px;
  border: 1px solid #d9e5db;
  background: #edf3e8;
  color: #3e624a;
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.badge.gray {
  background: #f2f3f0;
  color: #687774;
  border-color: #e2e5df;
}
.badge.warn {
  background: #fff3db;
  color: #8b5a19;
  border-color: #f0ddb5;
}
.badge.bad {
  background: #fbeee9;
  color: #984a34;
  border-color: #edcfc3;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.stat {
  padding: 23px 25px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  font-size: 33px;
  font-weight: 500;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 17px;
}
.section-label h2 {
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
}
.site-card {
  display: flex;
  flex-direction: column;
  gap: 19px;
  min-height: 210px;
  transition: box-shadow 0.15s;
}
.site-card:hover {
  box-shadow: 0 7px 22px #173e3c0a;
}
.site-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-monogram {
  width: 40px;
  height: 40px;
  background: #e8eee5;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 21px;
}
.site-card h3 {
  font-size: 19px;
  margin: 0 0 7px;
}
.site-card p {
  font-size: 12px;
  margin: 0;
}
.site-card .bottom {
  margin-top: auto;
  border-top: 1px solid #edf0eb;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
}
.empty {
  border: 1px dashed #c7d2c8;
  border-radius: 12px;
  background: #fafbf7;
  text-align: center;
  padding: 65px 30px;
}
.empty .large-symbol {
  font-size: 38px;
  color: #b6c3b3;
  display: block;
  margin-bottom: 19px;
}
.empty h2 {
  font-size: 22px;
}
.empty p {
  max-width: 490px;
  margin: 0 auto 24px;
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 27px;
  overflow: auto;
}
.tabs button {
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: 12px 0 16px;
  white-space: nowrap;
}
.tabs button.active {
  border-bottom: 2px solid var(--green);
  color: var(--green);
}
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: start;
}
.stack {
  display: grid;
  gap: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
}
.panel-head h2,
.panel-head h3 {
  margin: 0;
}
.muted {
  color: var(--muted);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 17px 0 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd8d0;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 13px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
textarea.code {
  font:
    12px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  min-height: 430px;
  background: #fbfcf8;
  tab-size: 2;
}
form > button,
form > .actions {
  margin-top: 21px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.info {
  background: #eaf0e5;
  border: 1px solid #dbe6d3;
  color: #4b6650;
  border-radius: 7px;
  padding: 14px 17px;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 21px;
}
.info.warn {
  background: #fff6e7;
  color: #846124;
  border-color: #ecdfc4;
}
.readiness {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 20px 0;
}
.readiness span {
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 12px;
  border-bottom: 1px solid #edf0e9;
  line-height: 1.6;
  vertical-align: top;
}
.table-wrap {
  overflow: auto;
}
.plain-list {
  padding-left: 19px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.7;
  background: #f4f6f0;
  padding: 18px;
  border-radius: 7px;
  max-height: 450px;
  overflow: auto;
}
.preview-node {
  border-left: 2px solid #e2e9dc;
  margin: 10px 0;
  padding: 10px 15px;
}
.preview-node h3 {
  margin-bottom: 5px;
}
.preview-node img {
  max-width: 100%;
  max-height: 180px;
}
.release {
  margin-bottom: 16px;
}
.release .actions {
  margin-top: 15px;
}
.release p {
  font-size: 12px;
}
.release code {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.release .error {
  color: #984a34;
}
footer {
  padding: 20px 42px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #819087;
  display: flex;
  justify-content: space-between;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #edf1e5, #f9faf6);
}
.login-card {
  width: min(470px, calc(100% - 40px));
  padding: 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.login .mark {
  color: var(--ink);
  margin-bottom: 42px;
}
.login h1 {
  font-size: 40px;
}
.login form {
  margin: 30px 0 20px;
}
.login button {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
dialog {
  width: min(850px, calc(100% - 30px));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  max-height: 90vh;
}
dialog::backdrop {
  background: #0b252b70;
  backdrop-filter: blur(2px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.dialog-head h2 {
  margin: 0;
}
.icon-button {
  font-size: 25px;
  background: transparent;
  color: var(--muted);
  padding: 0 8px;
}
#notice {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: min(550px, 90vw);
  background: #143b3b;
  color: white;
  padding: 17px 23px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 5px 25px #092d2b30;
  z-index: 5;
}
#notice.error {
  background: #7b3e32;
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: 190px 1fr;
  }
  aside {
    padding: 24px 12px;
  }
  header {
    padding: 0 25px;
  }
  main {
    padding: 32px 25px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .title-row {
    align-items: flex-start;
  }
  h1 {
    font-size: 30px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .title-row > .actions {
    justify-content: flex-end;
  }
}
@media (max-width: 650px) {
  .workspace {
    display: block;
  }
  aside {
    position: static;
    height: auto;
    padding: 17px 20px;
  }
  .brand {
    padding: 0;
  }
  .brand .mark {
    font-size: 28px;
  }
  .brand small,
  .aside-foot {
    display: none;
  }
  nav {
    display: flex;
    margin-top: 22px;
    gap: 6px;
  }
  nav button {
    padding: 9px 10px;
    gap: 7px;
  }
  nav button span {
    font-size: 10px;
  }
  header {
    height: 52px;
    padding: 0 20px;
  }
  header > span {
    display: none;
  }
  header div {
    width: 100%;
    justify-content: space-between;
  }
  main {
    padding: 28px 20px;
  }
  .title-row {
    display: block;
  }
  .title-row > .actions {
    margin-top: 20px;
    justify-content: flex-start;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 14px 11px;
    gap: 9px;
  }
  .stat span {
    font-size: 10px;
  }
  .stat strong {
    font-size: 25px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 21px;
  }
  .tabs {
    gap: 23px;
  }
  .tabs button {
    font-size: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .empty {
    padding: 43px 24px;
  }
  .login-card {
    padding: 32px;
  }
  footer {
    padding: 20px;
  }
  footer span {
    display: none;
  }
}

img.mark { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; }

/* Shared Finitor operations shell: consistent branding across all admin views. */
:root {--shell-ink:#133937;--shell-hover:#244b48;--shell-active:#315a54;--shell-text:#c8d9d3;}
.workspace aside,.shell .sidebar,.platform-shell aside {background:var(--shell-ink);color:var(--shell-text);padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;width:246px;flex:0 0 246px;}
.workspace aside .brand,.shell .sidebar .brand,.platform-shell .brand{display:flex;align-items:center;gap:11px;padding:0 9px 22px;font-size:17px;line-height:1.2;font-weight:650;text-decoration:none;color:white;letter-spacing:-.3px}
.workspace aside .brand img,.shell .sidebar .brand img,.platform-shell .brand img{width:44px;height:44px;object-fit:contain;border-radius:9px}
.workspace aside .brand small,.shell .sidebar .brand small,.platform-shell .brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:650;margin-top:5px;color:#9eb9ae}
.workspace aside nav,.shell .sidebar nav,.platform-shell aside nav{display:grid;align-content:start;gap:3px;margin-top:8px}
.workspace aside nav .nav-group,.shell .sidebar nav .nav-group,.platform-shell aside nav .nav-group{font-size:10px;letter-spacing:1.6px;font-weight:750;color:#8ea9a1;margin:19px 11px 8px}
.workspace aside nav a,.workspace aside nav button,.shell .sidebar nav a,.platform-shell aside nav a{display:flex;width:100%;gap:11px;align-items:center;text-align:left;background:transparent;color:var(--shell-text);font-size:13px;font-weight:550;border:0;border-radius:9px;padding:12px 10px;min-height:43px;text-decoration:none;white-space:normal}
.workspace aside nav a:hover,.workspace aside nav button:hover,.shell .sidebar nav a:hover,.platform-shell aside nav a:hover{background:var(--shell-hover);color:#fff;text-decoration:none}
.workspace aside nav .active,.workspace aside nav [aria-current=page],.shell .sidebar nav [aria-current=page],.platform-shell aside nav [aria-current=page]{background:var(--shell-active)!important;color:white!important;font-weight:650}
.workspace aside nav .nav-icon,.shell .sidebar nav .nav-icon,.platform-shell aside nav .nav-icon{width:20px;flex:0 0 20px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;color:#c2d9ce}
.workspace aside nav .nav-external,.shell .sidebar nav .nav-external,.platform-shell aside nav .nav-external{margin-left:auto;color:#a5bdb0;font-size:13px}
.workspace aside .aside-foot,.shell .sidebar .side-bottom,.platform-shell .aside-foot{margin-top:auto;padding:18px 10px 5px;border-top:1px solid #31524e;display:flex;flex-direction:column;gap:8px;font-size:12px;color:#c5d6d0}
.workspace aside .aside-foot button,.shell .sidebar .side-bottom button,.platform-shell .aside-foot button{background:transparent;color:#c5d6d0;border:0;text-align:left;padding:6px 0;justify-content:flex-start;width:auto}
.shell .sidebar .side-note{display:none}
.workspace aside nav button span{font-size:13px}
@media(max-width:700px){
.workspace aside,.shell .sidebar,.platform-shell aside{position:static;width:100%;height:auto;min-height:0;flex:none;padding:14px}
.workspace aside nav,.shell .sidebar nav,.platform-shell aside nav{display:flex;flex-wrap:wrap;gap:6px;margin-top:0}
.workspace aside nav .nav-group,.shell .sidebar nav .nav-group,.platform-shell aside nav .nav-group{display:none}
.workspace aside nav a,.workspace aside nav button,.shell .sidebar nav a,.platform-shell aside nav a{width:auto;min-height:40px;padding:9px;font-size:12px}
.workspace aside .aside-foot,.shell .sidebar .side-bottom,.platform-shell .aside-foot{display:none}
}
