:root {
  --ink: #1c1e21;
  --muted: #65676b;
  --line: #e6e8ee;
  --bg: #f0f2f5;
  --card: #ffffff;
  --blue: #3b6cf5;
  --blue-deep: #2f5ae0;
  --blue-soft: #eef3ff;
  --hello: #f4f7ff;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 28px rgba(16, 24, 40, 0.05);
  --danger: #e24b6a;
  --ok: #1aa37a;
  --warn: #f0a03a;
  --side: 252px;
  --top: 72px;
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.018em; line-height: 1.25; }

.mark { position: relative; width: 28px; height: 28px; display: inline-block; flex: none; }
.mark i { position: absolute; width: 13px; height: 13px; border-radius: 50%; display: block; }
.mark i:nth-child(1) { background: #2ec4b6; left: 0; top: 1px; }
.mark i:nth-child(2) { background: #3d6bff; right: 0; top: 1px; }
.mark i:nth-child(3) { background: #7c5cff; left: 7px; bottom: 0; }

.app { min-height: 100vh; }
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side);
  background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; z-index: 30; padding: 1.1rem 0.85rem 1rem;
}
.logo {
  display: flex; gap: 0.7rem; align-items: center; color: inherit; padding: 0.2rem 0.55rem 0.55rem;
}
.logo strong { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.logo small { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 500; margin-top: 0.1rem; }
.app-switch { position: relative; margin: 0 0.15rem 0.7rem; }
.app-switch > summary {
  list-style: none; display: flex; align-items: center; gap: 0.65rem; cursor: pointer;
  padding: 0.45rem 0.55rem; border-radius: 12px; font-weight: 600; color: var(--ink);
}
.app-switch > summary::-webkit-details-marker { display: none; }
.app-switch > summary:hover, .app-switch[open] > summary { background: #f3f6fb; }
.app-switch > summary > span:not(.app-tile) { flex: 1; min-width: 0; text-align: left; }
.app-switch > summary > svg { width: 16px; height: 16px; color: #8a8d91; }
.app-menu {
  position: absolute; left: 0; top: calc(100% + 6px); width: 248px; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.45rem;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12); max-height: min(70vh, 560px); overflow: auto;
}
.app-menu p {
  margin: 0.15rem 0.55rem 0.35rem; color: #8a8d91; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.app-link {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.48rem 0.55rem; border-radius: 12px;
  color: var(--ink); font-weight: 600; font-size: 0.92rem;
}
.app-link:hover, .app-link.active { background: #f4f6f8; }
.app-tile {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none;
}
.app-tile svg { width: 17px; height: 17px; }
.app-tile.tone-violet { background: #efe8ff; color: #7a4dff; }
.app-tile.tone-sky { background: #e7f1ff; color: #3b6cf5; }
.app-tile.tone-pink { background: #fde8f2; color: #e24b8a; }
.app-tile.tone-brown { background: #f3e8de; color: #9a6b43; }
.app-tile.tone-navy { background: #e8eefc; color: #2f4f9b; }
.app-tile.tone-orange { background: #fff1d6; color: #e0941a; }
.app-tile.tone-green { background: #e5f8ef; color: #1aa37a; }
.app-tile.tone-magenta { background: #f7e8ff; color: #b44ad8; }
.app-tile.tone-blue { background: #e7f0ff; color: #3d6bff; }
.app-tile.tone-purple { background: #f3e8ff; color: #9b4dff; }
.app-tile.tone-crimson { background: #fde8ec; color: #c43756; }
.app-tile.tone-lilac { background: #efe8ff; color: #7c5cff; }
.app-tile.tone-teal { background: #e5f7f4; color: #0f9a88; }
.app-tile.tone-cobalt { background: #e8f0ff; color: #3b6cf5; }
.top-apps { position: relative; margin: 0; }
.top-apps > summary.apps-trigger {
  display: grid; place-items: center; width: 40px; height: 40px; list-style: none;
  border: 0; background: #f3f6fb; border-radius: 12px; cursor: pointer; color: var(--ink);
  box-shadow: none;
}
.top-apps > summary.apps-trigger::-webkit-details-marker { display: none; }
.top-apps > summary.apps-trigger:hover { background: #f0f2f5; transform: none; box-shadow: none; }
.top-apps .app-menu { left: 0; right: auto; }
.side nav { overflow: auto; flex: 1; padding-right: 0.15rem; }
.group { margin: 0.35rem 0 0.85rem; }
.group p {
  margin: 0.55rem 0.75rem 0.3rem; color: #8a8d91; font-size: 0.75rem; font-weight: 600;
}
.item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.52rem 0.75rem; margin: 0.08rem 0; border-radius: 10px;
  color: #4b4f56; font-weight: 500; font-size: 0.94rem; position: relative;
}
.item svg { width: 18px; height: 18px; flex: none; }
.item:hover { background: #f6f8fc; color: var(--ink); }
.item.active { color: var(--blue); background: #f4f7ff; }
.item.active::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  border-radius: 99px; background: var(--blue);
}
.side nav { padding-bottom: 1rem; }

.workspace { margin-left: var(--side); min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--top);
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0 1.25rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.icon-btn {
  display: none; width: 40px; height: 40px; border: 0; background: #f3f6fb; border-radius: 12px; cursor: pointer; color: var(--ink); place-items: center;
}
.icon-btn svg { width: 20px; height: 20px; }
.search { flex: 1; max-width: 560px; position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #98a4b8; }
.search input {
  width: 100%; border: 0; background: #f0f2f5; border-radius: 999px; padding: 0.68rem 1rem 0.68rem 2.5rem; font-weight: 400;
}
.search input:focus { outline: 2px solid #d5e2ff; background: #fff; }
.tp-pill {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid #d7e0f5;
  background: #f4f7ff; color: #2f4f9b; font-weight: 600; font-size: 0.86rem;
  white-space: nowrap; flex: none; max-width: min(280px, 42vw);
}
.tp-pill svg { width: 16px; height: 16px; flex: none; }
.tp-pill span { overflow: hidden; text-overflow: ellipsis; }
.tp-pill:hover { background: #eaf0ff; color: var(--blue-deep); }
.tp-pill.active { background: #e7eeff; border-color: #b9ccff; color: var(--blue-deep); }
.who { position: relative; }
.who summary {
  list-style: none; display: flex; align-items: center; gap: 0.65rem; cursor: pointer;
  border-radius: 999px; padding: 0.2rem 0.45rem 0.2rem 0.2rem;
}
.who summary::-webkit-details-marker { display: none; }
.who summary:hover, .who[open] summary { background: #f0f2f5; }
.who summary svg { width: 16px; height: 16px; color: #8a8d91; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #3b6cf5; color: #fff; font-weight: 600; font-size: 0.8rem;
}
.who .text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; text-align: left; }
.who .name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.who .role { color: var(--muted); font-size: 0.75rem; font-weight: 400; }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 248px; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.4rem;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}
.account-head { display: grid; gap: 0.1rem; padding: 0.65rem 0.75rem 0.7rem; border-bottom: 1px solid var(--line); margin-bottom: 0.3rem; }
.account-head strong { font-size: 0.95rem; }
.account-head span { color: var(--muted); font-size: 0.78rem; }
.account-menu a {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.58rem 0.7rem; border-radius: 10px;
  color: var(--ink); font-weight: 500;
}
.account-menu a svg { width: 18px; height: 18px; color: #5c6370; }
.account-menu a:hover { background: #f4f6f8; }
.account-menu form { margin: 0.3rem 0 0; padding-top: 0.35rem; border-top: 1px solid var(--line); }
.account-menu button {
  width: 100%; justify-content: flex-start; gap: 0.6rem; border-radius: 10px;
  background: #f4f6f8; color: #9f2d45; box-shadow: none; padding: 0.58rem 0.7rem;
}
.account-menu button svg { width: 18px; height: 18px; }
.account-menu button:hover { background: #fdecef; color: #9f2d45; transform: none; box-shadow: none; }
.canvas { padding: 1.25rem 1.35rem 2.5rem; }

.dash { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.1rem; align-items: start; }
.hello {
  display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 1rem; align-items: center;
  background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
  border-radius: 18px; padding: 1.4rem 1.5rem; min-height: 168px;
}
.hello h1 { font-size: 1.65rem; font-weight: 600; }
.lead { margin: 0.4rem 0 0.65rem; color: #4b4f56; font-weight: 500; }
.notice {
  margin: 0; color: var(--muted); font-size: 0.92rem; font-weight: 400; max-width: 38rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notice strong { color: var(--blue); }
.scene { width: 100%; max-width: 280px; justify-self: end; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 1.15rem 0 0.7rem; }
.section-title h2, .panel h2, .rail h2 { font-size: 1rem; font-weight: 600; }
.section-title a, .panel header a, .rail header a { font-size: 0.82rem; font-weight: 600; }

.apps-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 0.75rem;
}
.app-card {
  background: #fff; border: 1px solid #f2f5fa; border-radius: 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 0.9rem;
  color: var(--ink); font-weight: 600; font-size: 0.9rem;
}
.app-card:hover { transform: translateY(-1px); }
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; }
.qlink {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid #f2f5fa;
  min-height: 118px; display: grid; place-items: center; text-align: center; gap: 0.55rem;
  color: var(--ink); font-weight: 600; font-size: 0.86rem; padding: 0.95rem 0.45rem;
}
.qlink .app-tile { width: 46px; height: 46px; border-radius: 16px; }
.qlink .app-tile svg { width: 22px; height: 22px; }
.qlink { transition: transform 0.15s ease; }
.qlink:hover { transform: translateY(-2px); }
.bubble { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; }
.bubble svg { width: 22px; height: 22px; }
.tone-1 { background: #efe8ff; color: #7a4dff; }
.tone-2 { background: #fff1d6; color: #e0941a; }
.tone-3 { background: #e5f8ef; color: #1aa37a; }
.tone-4 { background: #e7f0ff; color: #3d6bff; }
.tone-5 { background: #fde8f2; color: #e24b8a; }

.panels { display: grid; grid-template-columns: 1.15fr 0.95fr 0.9fr; gap: 0.8rem; margin-top: 0.95rem; }
.panel, .rail-card, .card, form.card, .table-wrap {
  background: #fff; border: 1px solid #eceef3; border-radius: 16px; box-shadow: var(--shadow);
}
.panel, .rail-card, .card, form.card { padding: 0.95rem 1rem 1rem; }
.table-wrap { padding: 0; overflow: auto; }
form.table-wrap { padding-bottom: 0.9rem; }
form.table-wrap > button { margin: 0.85rem 1rem 0; }
.canvas h2 { margin: 1.25rem 0 0.65rem; font-size: 1.05rem; }
.panel header, .rail header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.55rem; }
.plan { display: flex; gap: 0.7rem; align-items: center; padding: 0.55rem 0; border-top: 1px solid #f3f6fb; }
.plan:first-of-type { border-top: 0; }
.ring { width: 36px; height: 36px; flex: none; }
.plan b, .doc b, .progress b { display: block; font-size: 0.92rem; font-weight: 600; }
.meta { color: var(--muted); font-size: 0.78rem; font-weight: 400; }
.doc { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.45rem 0; }
.doc svg { width: 18px; height: 18px; color: var(--blue); margin-top: 0.15rem; flex: none; }
.progress { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 0.6rem; align-items: center; padding: 0.45rem 0; }
.spark { width: 72px; height: 28px; }

.rail { display: grid; gap: 0.85rem; }
.cal-top { display: flex; justify-content: space-between; align-items: center; }
.pill {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.25rem 0.6rem;
  font-size: 0.75rem; font-weight: 500; color: #4b4f56;
}
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.2rem; text-align: center; margin-top: 0.7rem; }
.cal span { font-size: 0.78rem; font-weight: 500; color: #65676b; padding: 0.28rem 0; border-radius: 999px; }
.cal .dow { font-size: 0.7rem; font-weight: 600; color: #8a8d91; }
.cal .today { background: var(--blue); color: #fff; }
.activity, .note-row { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.65rem 0; border-top: 1px solid #f3f6fb; }
.activity:first-of-type, .note-row:first-of-type { border-top: 0; }
.activity p, .note-row p { margin: 0.15rem 0 0; }
.dot { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--blue-soft); color: var(--blue); }
.dot svg { width: 16px; height: 16px; }
.note-row { border-left: 3px solid var(--blue); padding-left: 0.7rem; margin-left: 0.1rem; }
.note-row.pink { border-color: #f07aa3; }
.note-row.teal { border-color: #2ec4b6; }
.note-row.amber { border-color: #f0a03a; }

.canvas > h1 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.9rem; }
.grid { display: grid; gap: 0.9rem; }
.cols-2 { grid-template-columns: 1fr; }
.cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
label { display: grid; gap: 0.35rem; font-size: 0.86rem; font-weight: 600; }
input, select, textarea {
  width: 100%; border: 1px solid #dddfe4; background: #fff; border-radius: 10px; padding: 0.68rem 0.8rem; font-weight: 400;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #d7e3ff; border-color: #b9ccff; }
input[type="radio"], input[type="checkbox"] { width: auto; }
td label, .row label { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 500; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  border: 0; border-radius: 999px; background: var(--blue); color: #fff; padding: 0.58rem 1.05rem;
  font-weight: 600; letter-spacing: -0.01em; cursor: pointer; text-decoration: none;
  box-shadow: 0 1px 1px rgba(47, 90, 224, 0.18), 0 6px 14px rgba(59, 108, 245, 0.16);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
button:hover, .btn:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(59, 108, 245, 0.24); }
button:active, .btn:active { transform: translateY(0); box-shadow: none; }
button.ghost, .btn.ghost {
  background: #f3f4f7; color: var(--ink); border: 0;
  box-shadow: none;
}
button.ghost:hover, .btn.ghost:hover { background: #e7e9ee; transform: none; box-shadow: none; }
button.danger { background: var(--danger); box-shadow: 0 6px 14px rgba(226, 75, 106, 0.18); }
.icon-btn { box-shadow: none; border-radius: 12px; }
.icon-btn:hover { transform: none; box-shadow: none; background: #f0f2f5; }
td button, td .btn { padding: 0.38rem 0.75rem; font-size: 0.8rem; white-space: nowrap; }
td form { margin: 0; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.94rem; }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
th {
  position: sticky; top: 0; background: #f7f8fa; color: #8a8d91;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
th:first-child { border-top-left-radius: 16px; }
th:last-child { border-top-right-radius: 16px; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); }
tr:hover td { background: #f7f9ff; }
td a {
  display: inline-flex; align-items: center; padding: 0.28rem 0.7rem; border-radius: 999px;
  background: #eef3ff; color: var(--blue); font-weight: 600; font-size: 0.8rem;
}
td a:hover { background: #e1eaff; }
td.num, th.num { font-variant-numeric: tabular-nums; }
.row select, .row input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
td select, td input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
  width: auto; min-width: 9rem;
}
.table-wrap .row label {
  border: 1px solid #e6e8ee; background: #fff; border-radius: 999px; padding: 0.28rem 0.65rem; cursor: pointer;
}
.table-wrap .row label:has(input:checked) { background: #eef3ff; border-color: #c5d4ff; color: var(--blue); }
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.18rem 0.6rem 0.18rem 0.45rem;
  border-radius: 999px; background: #f0f2f5; color: #4b4f56; font-size: 0.75rem; font-weight: 600;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { background: #e7f8f1; color: #0d8a64; }
.badge.wait { background: #fff4e5; color: #b26a09; }
.badge.info { background: #eef3ff; color: #2f5ae0; }
.badge.bad { background: #fdecef; color: #c43756; }
.muted { color: var(--muted); }
.kicker { color: var(--blue); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.kicker.wordmark { letter-spacing: -0.02em; text-transform: none; font-size: 1.25rem; font-weight: 600; }
.row { display: flex; gap: 0.55rem; flex-wrap: wrap; align-items: center; }
.stat { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; margin: 0.15rem 0; }
.flash { background: #eef4ff; border: 1px solid #d5e3ff; color: #24407a; border-radius: 14px; padding: 0.7rem 0.85rem; margin: 0 0 0.9rem; }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 0.8rem 1rem; }
details { color: var(--muted); }
.scrim { display: none; }

.guest {
  min-height: 100vh;
  background:
    radial-gradient(800px 320px at 0% 0%, #e5edff, transparent 55%),
    var(--bg);
}
.guest .wrap { width: min(1040px, calc(100% - 2rem)); margin: 0 auto; padding: 1.35rem 0 3rem; }
.guest h1 { font-size: 1.7rem; font-weight: 600; margin-bottom: 0.4rem; }
.guest-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; color: inherit; }
.guest-brand strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.site-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.15rem 0 1.35rem;
}
.site-nav .guest-brand { margin: 0; }
.site-nav nav { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav nav a {
  color: #3a3d42; font-weight: 600; font-size: 0.92rem;
  padding: 0.48rem 0.85rem; border-radius: 999px;
}
.site-nav nav a:hover { background: rgba(255, 255, 255, 0.75); }
.site-nav nav a[aria-current="page"] { background: #fff; color: var(--ink); }
.site-nav nav a.btn { color: #fff; }
.site-nav nav a.btn:hover,
.site-nav nav a.btn[aria-current="page"] {
  background: var(--blue-deep); color: #fff; transform: none;
}
.hero {
  background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
  border-radius: 20px; padding: 2.4rem 2.1rem 2.2rem;
}
.hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem); max-width: 16ch;
  letter-spacing: -0.03em; margin: 0.35rem 0 0.7rem;
}
.hero .lead { margin: 0; max-width: 36rem; color: #4b4f56; font-size: 1.02rem; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem; margin-top: 0.9rem;
}
.feature-grid .card { display: grid; gap: 0.4rem; align-content: start; }
.feature-grid h2 { font-size: 1.02rem; }
.feature-grid .bubble { margin-bottom: 0.3rem; }
.narrow { max-width: 28rem; }
.demo { margin-top: 1rem; }
.ready-card { padding: 1rem 1.05rem 1.1rem; }
.ready-row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 0.85rem; align-items: center;
  padding: 0.85rem 0.2rem; border-top: 1px solid #f0f2f5;
}
.ready-row:first-of-type { border-top: 0; }
.ready-row.focus { background: #f4f7ff; margin: 0 -0.55rem; padding-left: 0.75rem; padding-right: 0.55rem; border-radius: 12px; border-top-color: transparent; }
.ready-index {
  width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
  background: #eef3ff; color: var(--blue); font-size: 0.8rem; font-weight: 700;
}
.ready-body .meta { margin: 0.2rem 0 0; }
.empty-panel {
  border: 1.5px dashed #d7dbe3; border-radius: 16px; background: #fafbfc;
  padding: 2rem 1.25rem; text-align: center; margin: 0.85rem 0;
}
.empty-panel strong { display: block; margin-bottom: 0.35rem; }
.step-label {
  margin: 0 0 0.55rem; color: var(--blue); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.field-help, .signup-note { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.signup-npsn .field-help { margin-top: -0.35rem; }
.signup-note { margin-top: 0.9rem; max-width: 28rem; }
.school-found { max-width: 28rem; margin: 0 0 0.9rem; }
.school-found h2 { font-size: 1.15rem; margin: 0.15rem 0 0.25rem; }
.school-found .meta { margin: 0.15rem 0 0.7rem; }
.school-found .muted { margin: 0 0 0.15rem; }
.inline-form { margin: 0; }
.slug-field {
  display: flex; align-items: center; gap: 0.35rem; border: 1px solid #dddfe4; border-radius: 10px;
  background: #fff; padding-right: 0.75rem;
}
.slug-field input {
  border: 0; border-radius: 10px; background: transparent; flex: 1; min-width: 0;
}
.slug-field span { color: var(--muted); font-size: 0.86rem; font-weight: 500; white-space: nowrap; }
.slug-field:focus-within { outline: 2px solid #d7e3ff; border-color: #b9ccff; }
input[readonly] { background: #f3f5f8; color: #3a3d42; }

.di-crumb { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.86rem; font-weight: 600; margin: 0 0 0.55rem; }
.di-crumb a { color: var(--muted); }
.di-crumb a:hover { color: var(--blue); }
.di-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.85rem 1rem; margin-bottom: 0.85rem; }
.di-head h1 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.di-head .lead { margin: 0.35rem 0 0; max-width: 46rem; color: var(--muted); }
.di-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.di-actions .btn, .di-actions a.btn, .di-actions button {
  display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap;
}
.di-note {
  margin: 0 0 0.85rem; padding: 0.7rem 0.9rem; border-radius: 12px;
  background: #f4f7ff; color: #3a4663; font-size: 0.9rem;
}
.di-count { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.86rem; }
.table-wrap table th.aksi, .table-wrap table td.aksi { width: 1%; white-space: nowrap; text-align: right; }
.btn-edit {
  display: inline-flex; align-items: center; gap: 0.25rem;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 0.28rem 0.75rem; font-size: 0.84rem; font-weight: 600;
  box-shadow: none;
}
.btn-edit:hover { background: #f3f6fb; transform: none; box-shadow: none; }
a.ghost.active, .ghost.active { background: #eef3ff; border-color: #c9d6f5; color: var(--blue); }
.toolbar-search {
  display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin: 0 0 0.85rem;
}
.toolbar-search input, .toolbar-search select {
  min-width: 12rem; flex: 1; max-width: 20rem; margin: 0;
}
.req-mark { color: var(--danger); font-weight: 700; }
.field-hint { display: block; margin-top: 0.28rem; color: var(--muted); font-size: 0.78rem; font-weight: 400; }
.drawer-fields { display: grid; gap: 0.85rem; }
.drawer-fields .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.drawer-fields label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.drawer-fields input, .drawer-fields select, .drawer-fields textarea {
  width: 100%; border: 1px solid #dddfe4; border-radius: 10px; background: #fff;
  padding: 0.7rem 0.85rem; margin: 0;
}
.drawer-fields input:focus, .drawer-fields select:focus, .drawer-fields textarea:focus {
  outline: 2px solid #d7e3ff; border-color: #b9ccff;
}
.check-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.75rem;
  padding: 0.55rem 0.65rem; border: 1px solid #e6e8ee; border-radius: 12px; background: #fafbfc;
}
.check-grid label {
  display: flex; align-items: flex-start; gap: 0.45rem; font-weight: 500; font-size: 0.86rem;
}
.check-grid input { width: auto; margin-top: 0.15rem; }
.perpus-desk-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; align-items: start;
}
.perpus-desk-grid > div {
  padding: 0.85rem 0.95rem; border: 1px solid #e6e8ee; border-radius: 14px; background: #fafbfc;
}
.lms-room-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem;
}
.lms-room-card {
  display: grid; gap: 0.35rem; align-content: start;
  padding: 0.9rem 0.95rem; border: 1px solid #e6e8ee; border-radius: 14px; background: #fafbfc;
  color: var(--ink); min-height: 6.5rem;
}
.lms-room-card:hover { background: #f3f6fb; transform: none; box-shadow: none; }
.lms-room-card strong { font-size: 0.95rem; }
.lms-room-cta { margin-top: 0.35rem; color: var(--blue); font-weight: 600; font-size: 0.84rem; }
.lms-ann-card { background: #f7f9ff; border-color: #d9e4ff; }

.abs-today { margin: 0 0 1.1rem; }
.abs-today h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.abs-today-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem;
}
.abs-today-card {
  padding: 0.95rem 1rem; border: 1px solid #e6e8ee; border-radius: 14px; background: #fafbfc;
  display: grid; gap: 0.35rem; align-content: start;
}
.abs-today-card strong { font-size: 1rem; }
.abs-section { margin: 0 0 1rem; }
.abs-section h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.abs-menu-grid, .abs-class-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem;
}
.abs-menu-card, .abs-class-card {
  display: grid; gap: 0.3rem; align-content: start;
  padding: 0.9rem 0.95rem; border: 1px solid #e6e8ee; border-radius: 14px; background: #fafbfc;
  color: var(--ink); min-height: 5.5rem;
}
.abs-menu-card:hover, .abs-class-card:hover { background: #f3f6fb; transform: none; box-shadow: none; }
.abs-menu-meta { color: var(--blue); font-weight: 600; font-size: 0.84rem; }
.abs-status-row {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.75rem; align-items: center;
}
.abs-radio { font-weight: 500; display: inline-flex; align-items: center; gap: 0.3rem; }
.abs-radio input { width: auto; margin: 0; }
.abs-summary {
  display: flex; flex-wrap: wrap; gap: 0.55rem 0.9rem; margin: 0.85rem 0 0;
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
}
.abs-guru-row, .abs-face-row, .abs-check-row {
  display: flex; justify-content: space-between; gap: 0.85rem; flex-wrap: wrap; align-items: center;
  padding: 0.75rem 0; border-bottom: 1px solid #eef0f4;
}
.abs-face-list { margin-top: 0.35rem; }
.abs-note-card {
  padding: 0.85rem 0.95rem; border: 1px solid #e6e8ee; border-radius: 14px; background: #fff;
  margin-bottom: 0.65rem;
}
.abs-check-row { cursor: pointer; }
.abs-check-row input { width: auto; margin: 0; }
@media print {
  .side, .topbar, .scrim, .sheet, .sheet-scrim, form, .ghost, button, .btn, a.btn { display: none !important; }
  .workspace { margin: 0 !important; width: 100% !important; }
  .canvas { padding: 0 !important; }
  .laporan-print { box-shadow: none; border: 0; }
}
.file-pick {
  display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid #c9d6f5;
  background: #f5f8ff; color: var(--blue); border-radius: 10px; padding: 0.65rem 0.9rem;
  font-weight: 600; cursor: pointer; width: fit-content;
}
.file-pick input { display: none; }
.semester-card { margin-top: 1rem; }
.tahun-inline {
  display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin-top: 0.85rem;
}
.tahun-inline input { max-width: 12rem; margin: 0; }
.tahun-inline .field-hint { width: 100%; margin-top: 0; }

.sheet-scrim {
  position: fixed; inset: 0; background: rgba(20, 32, 58, 0.38);
  backdrop-filter: blur(2px); z-index: 60; border: 0; padding: 0; cursor: pointer;
  animation: sheetFade 0.18s ease;
}
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: #fff; z-index: 70; display: flex; flex-direction: column;
  box-shadow: -18px 0 48px rgba(16, 24, 40, 0.18);
  animation: sheetIn 0.22s ease;
}
.sheet.wide { width: min(480px, 100vw); }
.sheet-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
  padding: 1.15rem 1.15rem 0.85rem; border-bottom: 1px solid #eef0f4;
}
.sheet-head h2 { margin: 0; font-size: 1.2rem; }
.sheet-head .lead { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.88rem; font-weight: 400; }
.sheet-close {
  width: 36px; height: 36px; border-radius: 10px; border: 0; background: #f3f6fb;
  display: grid; place-items: center; color: #65676b; cursor: pointer; flex: none; box-shadow: none;
}
.sheet-close:hover { background: #e8ecf3; transform: none; box-shadow: none; }
.sheet-body { flex: 1; overflow: auto; padding: 1rem 1.15rem 1.25rem; }
.sheet-req { margin: 0 0 0.85rem; color: var(--danger); font-size: 0.82rem; font-weight: 600; }
.sheet-foot {
  display: flex; justify-content: flex-end; gap: 0.55rem; flex-wrap: wrap;
  padding: 0.9rem 1.15rem; border-top: 1px solid #eef0f4; background: #fff;
}
.sheet-foot .ghost, .sheet-foot a.ghost {
  border: 1px solid #dddfe4; background: #fff; color: var(--ink); border-radius: 10px;
  padding: 0.65rem 1rem; font-weight: 600; box-shadow: none;
}
.sheet-foot .ghost:hover, .sheet-foot a.ghost:hover { background: #f3f6fb; transform: none; }
@keyframes sheetIn {
  from { transform: translateX(18px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}
@keyframes sheetFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.sheet-open { overflow: hidden; }

@media (min-width: 860px) {
  .cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .drawer-fields .row-2, .check-grid, .perpus-desk-grid { grid-template-columns: 1fr; }
  .sheet { width: 100vw; }
}
@media (max-width: 1180px) {
  .dash, .panels, .quick { grid-template-columns: 1fr; }
  .hello { grid-template-columns: 1fr; }
  .scene { justify-self: start; max-width: 220px; }
}
@media (max-width: 860px) {
  .icon-btn { display: grid; place-items: center; }
  .side { transform: translateX(-105%); transition: transform 0.2s ease; }
  body.nav-open .side { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(20, 32, 58, 0.35); z-index: 25; }
  .workspace { margin-left: 0; width: 100%; }
  .search { min-width: 0; }
  .side { width: min(var(--side), 84vw); }
  .who .text { display: none; }
  .tp-pill span { max-width: 9.5rem; }
  .canvas { padding: 1rem 0.85rem 2rem; }
  .hello h1 { font-size: 1.35rem; }
  .topbar { padding: 0 0.75rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 1.5rem 1.15rem; }
  .site-nav { align-items: flex-start; }
  .top-apps .app-menu { left: 0; width: min(248px, calc(100vw - 1.5rem)); }
}
