@import url("/fonts.css");
:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color-scheme: dark;
  font-synthesis: none;
  font-size: 15px;
  --bg: #050d18;
  --card: #0b1b2b;
  --raised: #11263a;
  --text: #e7f0fa;
  --muted: #a4b8cc;
  --line: #244054;
  --accent: #55e3ee;
  --primary: #55e3ee;
  --on-primary: #06202d;
  --amber: #ffc460;
  --danger: #ffabba;
  --danger-bg: #322131;
  --warning: #ffd084;
  --warning-bg: #302a1e;
  --success: #7ae4b8;
  --success-bg: #113433;
  --green: var(--text);
  --sidebar: #07111e;
  --sidebar-text: #b9cce0;
  --sidebar-line: #233c50;
  color: var(--text);
  background: var(--bg);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6fc;
  --card: #ffffff;
  --raised: #eaf1f8;
  --text: #122a43;
  --muted: #536a82;
  --line: #d3dfec;
  --accent: #006c82;
  --primary: #132d48;
  --on-primary: #ffffff;
  --amber: #9a6400;
  --danger: #a42949;
  --danger-bg: #fceaf0;
  --warning: #71500c;
  --warning-bg: #fff3d7;
  --success: #146c51;
  --success-bg: #e0f2eb;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: transparent;
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: inherit;
  font-weight: 720;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.15;
}
h2 {
  font-size: 29px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
small,
.fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.hidden {
  display: none !important;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 550;
}
.primary:hover {
  background: var(--primary);
}
.primary.compact {
  font-size: 13px;
  padding: 11px 17px;
}
.secondary {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 15px;
  background: var(--card);
}
.danger {
  color: var(--danger);
}
.text {
  color: var(--accent);
  padding: 8px 0;
  font-size: 13px;
  text-align: left;
}
.error {
  color: var(--danger);
  white-space: pre-wrap;
}
.eyebrow,
.overline {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
}
.brand {
  font-size: 39px;
  font-family: inherit;
  letter-spacing: -2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand span {
  font-size: 24px;
  color: #55e3ee;
  margin-top: -8px;
}
.shell {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: 100dvh;
}
.sidebar {
  background: var(--sidebar);
  padding: 37px 24px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
  border-right: 1px solid var(--sidebar-line);
}
.sidebar .brand {
  margin-left: 15px;
}
.workspace-label {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--sidebar-text);
  margin: 12px 0 35px 15px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 11px 15px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--sidebar-text);
}
nav button > span {
  font-size: 19px;
  line-height: 20px;
  width: 20px;
  text-align: center;
}
nav button.active {
  background: var(--primary);
  color: white;
}
nav button:hover:not(.active) {
  background: #11263a;
}
nav b {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
}
.nav-rule {
  height: 1px;
  background: var(--sidebar-line);
  margin: 16px 14px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.sidebar-bottom > p {
  font-family: inherit;
  color: var(--sidebar-text);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 15px 24px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 0 0;
  border-top: 1px solid var(--sidebar-line);
  text-align: left;
  width: 100%;
  font-size: 10px;
}
.profile small {
  display: block;
  font-size: 9px;
}
.avatar {
  border-radius: 50%;
  background: #17364f;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}
main {
  min-width: 0;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  font-size: 12px;
  color: var(--muted);
}
.topbar > div {
  display: flex;
  gap: 22px;
  align-items: center;
}
.search-button {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
kbd {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--muted);
}
.icon-button {
  display: none;
}
.content {
  max-width: 1390px;
  margin: auto;
  padding: 30px 4% 44px;
}
.greeting {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 31px;
  gap: 20px;
}
.date {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.greeting p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 13px;
}
.day-mark {
  width: 74px;
  height: 74px;
  background: var(--raised);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 39px;
}
.capture {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 23px;
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px #010b140f;
}
.capture-icon {
  color: var(--accent);
  background: var(--raised);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 21px;
}
.capture input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 14px;
  min-width: 0;
  padding: 8px 0;
  color: var(--green);
}
.capture button {
  font-size: 22px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 18px;
}
.section-head .text {
  font-size: 11px;
}
.today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 27px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.card + .card {
  margin-top: 20px;
}
.card h3 {
  font-size: 14px;
  font-weight: 600;
}
.card-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.count {
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
.empty {
  padding: 26px 10px;
  text-align: center;
  color: var(--muted);
}
.empty-symbol {
  font-family: inherit;
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 13px;
}
.empty strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.empty p {
  font-size: 12px;
  max-width: 310px;
  margin: auto;
}
.empty .text {
  margin-top: 14px;
}
.task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.task:last-child {
  border-bottom: 0;
}
.check {
  width: 19px;
  height: 19px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
}
.check.done {
  background: var(--success);
  color: white;
}
.task-content {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.task-title {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.task .meta {
  display: flex;
  gap: 9px;
  font-size: 10px;
  margin-top: 5px;
  color: var(--muted);
}
.done-title {
  text-decoration: line-through;
  color: var(--muted);
}
.tag {
  background: var(--raised);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 10px;
  color: var(--muted);
}
.tag.rose {
  background: var(--danger-bg);
  color: var(--danger);
}
.tag.amber {
  background: var(--warning-bg);
  color: var(--warning);
}
.note {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.note:last-child {
  border-bottom: 0;
}
.note h3 {
  font-size: 13px;
  line-height: 1.5;
}
.note p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.note small {
  font-size: 10px;
  display: block;
  margin-top: 8px;
}
.soft-card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
  margin-top: 22px;
}
.soft-card .eyebrow {
  color: var(--accent);
  font-size: 8px;
}
.soft-card h3 {
  font-family: inherit;
  font-size: 23px;
  font-weight: 400;
  margin: 12px 0;
}
.soft-card p {
  font-size: 12px;
  color: var(--muted);
}
.apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 17px;
}
.app-link {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 20px 15px;
  background: var(--card);
  position: relative;
}
.app-link:hover {
  border-color: var(--accent);
}
.app-link .app-icon {
  font-size: 20px;
  display: block;
  margin-bottom: 14px;
}
.app-link strong {
  font-size: 12px;
  display: block;
  font-weight: 550;
}
.app-link small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.app-link .arrow {
  position: absolute;
  right: 14px;
  top: 17px;
  color: var(--accent);
}
.applications {
  margin-top: 32px;
}
footer {
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  border-top: 1px solid var(--line);
}
.list-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.list-toolbar input {
  flex: 1;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid .card {
  margin: 0;
}
.list-card {
  padding: 8px 24px;
}
.notice {
  padding: 15px 18px;
  background: var(--warning-bg);
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--warning);
  margin: 20px 0;
}
.notice.error {
  background: var(--danger-bg);
  color: var(--danger);
}
.page-intro {
  color: var(--muted);
  font-size: 13px;
  margin-top: 13px;
  max-width: 680px;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.connection {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.connection:last-child {
  border: 0;
}
.connection p {
  font-size: 12px;
  color: var(--muted);
  max-width: 620px;
  margin-top: 7px;
}
.connection small {
  display: block;
  margin-top: 7px;
}
.connection h3 {
  font-size: 15px;
}
.metric {
  font-family: inherit;
  font-size: 35px;
  margin: 14px 0 7px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
td,
th {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  width: min(640px, calc(100% - 30px));
  max-height: 90dvh;
  color: var(--green);
  background: var(--card);
  box-shadow: 0 30px 100px #00091488;
}
dialog::backdrop {
  background: #020b18b3;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 25px;
  color: var(--muted);
}
.dialog-body h2,
dialog h2 {
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin: 16px 0;
}
input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  margin-top: 6px;
}
textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}
input[type="file"] {
  font-size: 12px;
}
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 25px;
}
.form-actions .danger {
  margin-left: auto;
}
.history-entry {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.history-entry pre {
  white-space: pre-wrap;
  max-height: 150px;
  overflow: auto;
  font-size: 11px;
  background: var(--raised);
  padding: 10px;
}
.code {
  white-space: pre-wrap;
  word-break: break-all;
  background: var(--raised);
  border-radius: 7px;
  padding: 14px;
  font: 12px monospace;
  user-select: all;
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-art {
  background: var(--primary);
  color: #e7f0fa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 55px 12%;
  min-height: 100dvh;
  background-image: radial-gradient(
    ellipse at 0 100%,
    #103747 0,
    transparent 65%
  );
}
.login-art h1 {
  font-size: clamp(40px, 4.2vw, 68px);
  margin: 25px 0;
  line-height: 1.15;
}
.login-art h1 em {
  color: #55e3ee;
  font-weight: 400;
}
.login-art p:not(.eyebrow) {
  color: #b7cddd;
  font-size: 13px;
}
.login-art small {
  color: #b7cddd;
  font-size: 9px;
  letter-spacing: 2px;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-panel > div {
  max-width: 340px;
  width: 100%;
}
.login-panel h2 {
  font-size: 43px;
  margin: 18px 0;
}
.login-panel p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.login-panel button.primary {
  width: 100%;
  margin: 15px 0;
}
.login-panel .fine {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 32px;
  font-size: 11px;
}
.login-panel .overline {
  font-size: 9px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 13px 23px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px #00091455;
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  max-width: 90vw;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.offline {
  color: var(--amber) !important;
}
details {
  font-size: 12px;
  margin: 20px 0;
}
summary {
  cursor: pointer;
  color: var(--accent);
}
ul,
ol {
  padding-left: 20px;
  line-height: 1.8;
}
.form-error {
  margin-top: 15px;
  font-size: 12px;
}
.search-results {
  margin-top: 16px;
}
.mail-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  max-height: 50vh;
  overflow: auto;
}
.loading {
  padding: 60px;
  color: var(--muted);
  text-align: center;
}
.pending-bar {
  background: var(--warning-bg);
  padding: 14px;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 20px;
}
.calendar-row {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.calendar-date {
  color: var(--accent);
  font-size: 12px;
  width: 100px;
  flex-shrink: 0;
}
.calendar-row strong {
  font-size: 14px;
}
.calendar-row small {
  display: block;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  margin-right: 6px;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 60px;
  }
  .sidebar {
    padding-left: 28px;
    padding-right: 28px;
  }
  .shell {
    grid-template-columns: 260px 1fr;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 205px 1fr;
  }
  .sidebar {
    padding-left: 15px;
    padding-right: 15px;
  }
  .apps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .today-grid {
    gap: 18px;
  }
  .card {
    padding: 18px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    z-index: 20;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 30px 0 100px #000914aa;
  }
  .icon-button {
    display: block;
    font-size: 18px;
  }
  .topbar {
    height: 68px;
    padding: 0 20px;
    gap: 12px;
  }
  .topbar > div {
    gap: 15px;
  }
  #breadcrumb {
    display: none;
  }
  .search-button span,
  .search-button kbd {
    display: none;
  }
  .search-button {
    font-size: 24px;
  }
  .content {
    padding: 30px 20px 40px;
  }
  .greeting {
    margin-bottom: 24px;
  }
  .greeting h1 {
    font-size: 35px;
  }
  .greeting p {
    font-size: 12px;
  }
  .day-mark {
    width: 49px;
    height: 49px;
    font-size: 28px;
    flex-shrink: 0;
  }
  .date {
    font-size: 9px;
  }
  .capture {
    padding: 13px 15px;
    gap: 12px;
  }
  .capture input {
    font-size: 13px;
  }
  .today-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .card {
    padding: 20px;
  }
  .apps {
    gap: 10px;
  }
  .app-link {
    padding: 17px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .login {
    display: block;
  }
  .login-art {
    min-height: auto;
    padding: 27px 26px;
    gap: 28px;
  }
  .login-art h1 {
    font-size: 37px;
    margin: 14px 0;
  }
  .login-art .eyebrow {
    font-size: 8px;
  }
  .login-art > small,
  .login-art p:not(.eyebrow) {
    display: none;
  }
  .login-panel {
    padding: 35px 25px 15px;
  }
  .login-panel h2 {
    font-size: 34px;
    margin: 14px 0;
  }
  .login-panel .fine {
    margin-top: 15px;
  }
  .login-panel .overline {
    font-size: 8px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  dialog {
    padding: 27px 22px;
    max-height: 92dvh;
  }
  .connection {
    display: block;
  }
  .connection > button {
    margin-top: 15px;
  }
  footer {
    font-size: 9px;
  }
  .topbar .primary {
    font-size: 11px;
    padding: 10px 12px;
  }
  .profile {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
input[type="checkbox"] {
  width: auto;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

.radar-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.radar-filters label {
  flex: 1;
  min-width: 180px;
}
.radar-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.radar-card .page-intro {
  flex: 1;
}
.radar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.radar-potential,
.radar-run {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.radar-run small {
  display: block;
}
.preserve-text {
  white-space: pre-wrap;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#dialog textarea[readonly] {
  width: 100%;
  margin: 16px 0;
}
.sidebar nav {
  min-height: 0;
  overflow-y: auto;
}
.radar-card h3 {
  overflow-wrap: anywhere;
}

/* Cockpit: one visual system across both reference-inspired appearances. */
body {
  background: var(--bg);
}
h2 {
  font-size: 24px;
}
h3 {
  letter-spacing: -0.015em;
}
.primary {
  border: 1px solid transparent;
  font-weight: 650;
}
.primary:hover {
  filter: brightness(1.1);
}
.secondary {
  font-weight: 550;
}
.secondary:hover {
  border-color: var(--accent);
}
button,
a {
  touch-action: manipulation;
}
.brand {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -1.8px;
  color: #f1f7ff;
}
.brand span {
  font-size: 23px;
  margin: 0 0 0 6px;
  color: #55e3ee;
}
.shell {
  grid-template-columns: 230px minmax(0, 1fr);
}
.sidebar {
  padding: 28px 18px 20px;
  background: var(--sidebar);
  color: var(--sidebar-text);
}
.sidebar .brand {
  margin-left: 12px;
}
.workspace-label {
  font-size: 9px;
  margin: 8px 0 28px 13px;
  letter-spacing: 1.5px;
}
.nav-caption {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.3px;
  color: #92aac2;
  margin: 0 13px 8px;
}
nav {
  gap: 4px;
}
nav button {
  border: 1px solid transparent;
  padding: 10px 12px;
  min-height: 43px;
  border-radius: 7px;
  font-size: 12px;
}
nav button.active {
  color: #78edfa;
  background: #103044;
  border-color: #246078;
  box-shadow: inset 3px 0 #55e3ee;
}
nav button.active > span {
  color: #78edfa;
}
nav button:hover:not(.active) {
  color: #f1f7ff;
  background: #11263a;
}
nav b {
  background: #1a4057;
  color: #d6f8ff;
  padding: 2px 6px;
  border-radius: 4px;
}
.nav-rule {
  margin: 13px 12px;
  flex-shrink: 0;
}
.sidebar-note {
  padding: 14px 12px;
  border-top: 1px solid var(--sidebar-line);
  margin-bottom: 14px;
}
.sidebar-note .eyebrow {
  color: #e7bb69;
  font-size: 8px;
  letter-spacing: 1.2px;
}
.sidebar-note p {
  color: #c8d8e8;
  font-size: 12px;
  margin-top: 9px;
}
.sidebar-bottom {
  padding-top: 18px;
}
.profile {
  color: #e5effa;
  font-size: 11px;
}
.profile small {
  color: #a4bbd2;
  font-size: 9px;
}
.avatar {
  color: #78edfa;
  border: 1px solid #2f5b73;
  background: #102a40;
  font-weight: 650;
}
.topbar {
  height: 74px;
  padding: 0 4%;
  background: var(--card);
}
.topbar > div {
  gap: 16px;
}
#breadcrumb {
  font-weight: 550;
}
.search-button {
  min-height: 38px;
}
.appearance-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--card);
  font-size: 11px;
  flex-shrink: 0;
}
.appearance-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.content {
  max-width: 1540px;
}
.greeting {
  margin-bottom: 24px;
  align-items: center;
}
.date {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}
.greeting p {
  font-size: 13px;
  margin-top: 9px;
}
.workspace-pill {
  border: 1px solid var(--line);
  padding: 10px 13px;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.25px;
  border-radius: 5px;
  color: var(--muted);
}
.cockpit-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.overview-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  overflow: hidden;
}
.overview-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: #55e3ee;
}
.overview-stat:nth-child(2)::before {
  background: #6ba2ff;
}
.overview-stat:nth-child(3)::before {
  background: #b492ef;
}
.overview-stat:nth-child(4)::before {
  background: #efb64e;
}
.overview-stat:hover {
  border-color: var(--accent);
  background: var(--raised);
}
.overview-stat > span {
  color: var(--muted);
  font-size: 11px;
}
.overview-stat strong {
  font-size: 29px;
  line-height: 1.15;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.overview-stat small {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.overview-stat small span {
  color: var(--accent);
}
.capture {
  padding: 13px 17px;
  border-color: var(--line);
  border-radius: 9px;
  margin-bottom: 27px;
  box-shadow: none;
}
.capture-icon {
  border-radius: 7px;
  font-size: 24px;
}
.capture input {
  color: var(--text);
}
.capture input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.capture button {
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 7px;
  flex-shrink: 0;
  color: var(--accent);
}
.section-head {
  margin-bottom: 13px;
}
.section-head h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.today-grid {
  gap: 22px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.card {
  box-shadow: 0 3px 18px #00112508;
}
.focus-card {
  border-top: 3px solid #efb64e;
}
.calendar-card {
  border-top: 3px solid #49c5da;
}
.card-title {
  margin-bottom: 15px;
}
.card-marker {
  color: var(--accent);
  font-size: 23px;
}
.empty {
  padding: 18px 8px;
}
.empty-symbol {
  font-size: 25px;
  margin-bottom: 9px;
}
.empty strong {
  font-weight: 600;
}
.empty .text {
  margin-top: 8px;
}
.check {
  border-radius: 5px;
}
.check.done {
  color: var(--bg);
  border-color: var(--success);
}
.tag {
  font-weight: 550;
}
.soft-card {
  position: relative;
  overflow: hidden;
  background: #0d2439;
  border-color: #27516a;
  color: #eef7ff;
  padding: 22px;
}
.soft-card::after {
  content: "";
  position: absolute;
  right: -45px;
  top: -80px;
  width: 230px;
  height: 230px;
  border: 1px solid #55e3ee24;
  border-radius: 50%;
  box-shadow:
    0 0 0 30px #55e3ee08,
    0 0 0 60px #55e3ee06;
  pointer-events: none;
}
.soft-card .eyebrow {
  color: #71ddec;
  font-size: 9px;
  letter-spacing: 1.25px;
}
.soft-card h3 {
  font-size: 20px;
  font-weight: 650;
  margin: 12px 0 8px;
}
.soft-card p {
  color: #bacdde;
}
.soft-card .text {
  color: #78edfa;
  position: relative;
  z-index: 1;
  margin-top: 9px;
}
.app-link {
  padding: 16px;
  border-radius: 9px;
}
.app-link .app-icon {
  color: var(--accent);
  margin-bottom: 11px;
}
.app-link strong {
  font-size: 12px;
  font-weight: 650;
}
.metric {
  font-size: 32px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.notice {
  border: 1px solid color-mix(in srgb, var(--warning) 22%, transparent);
}
.error {
  color: var(--danger);
}
.connection .secondary {
  flex-shrink: 0;
}
input,
textarea,
select {
  background: var(--card);
  color: var(--text);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
label {
  font-weight: 550;
}
dialog {
  border-radius: 13px;
  color: var(--text);
}
dialog h2 {
  font-size: 26px;
  padding-right: 18px;
}
.dialog-close {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.dialog-close:hover {
  color: var(--accent);
  background: var(--raised);
}
.login-art {
  position: relative;
  isolation: isolate;
  background: #071321;
  color: #e7f0fa;
  overflow: hidden;
}
.login-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 78%, #0b57704d, transparent 60%),
    linear-gradient(#3dd9f309 1px, transparent 1px),
    linear-gradient(90deg, #3dd9f309 1px, transparent 1px);
  background-size:
    auto,
    65px 65px,
    65px 65px;
}
.login-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  border: 1px solid #3bbed62b;
  border-radius: 50%;
  right: -210px;
  bottom: -100px;
  box-shadow:
    0 0 0 70px #3bbed60a,
    0 0 0 140px #3bbed607;
}
.login-art .eyebrow {
  color: #78edfa;
  font-size: 9px;
}
.login-art h1 {
  font-weight: 720;
  font-size: clamp(35px, 4vw, 62px);
  letter-spacing: -0.045em;
}
.login-art h1 em {
  color: #55e3ee;
  font-weight: inherit;
  font-style: normal;
}
.login-panel {
  position: relative;
  background: var(--bg);
}
.login-panel > .appearance-toggle {
  position: absolute;
  right: 26px;
  top: 24px;
}
.login-panel h2 {
  font-size: 34px;
}
#toast {
  background: #122f46;
  border: 1px solid #39708a;
  color: #eaf7ff;
}
.pending-bar {
  color: var(--warning);
}
:root[data-theme="dark"] .overview-stat {
  background: linear-gradient(135deg, #0e2639, var(--card) 70%);
}
:root[data-theme="dark"] .calendar-card {
  box-shadow: 0 0 22px #45d8ed05;
}
:root[data-theme="light"] nav button.active {
  background: #edf6fc;
  border-color: #c7dcea;
  box-shadow: inset 3px 0 #efb64e;
  color: #132d48;
}
:root[data-theme="light"] nav button.active > span {
  color: #056c85;
}
:root[data-theme="light"] .focus-card {
  background: linear-gradient(#f2faf7, var(--card) 130px);
}
:root[data-theme="light"] .card {
  box-shadow: 0 4px 20px #19365b05;
}
@media (min-width: 1500px) {
  .shell {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .content {
    padding-top: 34px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace-pill {
    display: none;
  }
  .topbar > div {
    gap: 12px;
  }
  .search-button span,
  .search-button kbd {
    display: none;
  }
  .cockpit-stats {
    gap: 10px;
  }
  .overview-stat {
    padding: 14px;
  }
  .overview-stat small {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    width: 250px;
  }
  .topbar {
    height: 64px;
    padding: 0 16px;
  }
  .topbar > div {
    gap: 10px;
  }
  .topbar .primary {
    padding: 10px;
    font-size: 11px;
  }
  .appearance-toggle {
    min-width: 36px;
    padding: 8px;
  }
  .topbar .appearance-toggle span {
    display: none;
  }
  .content {
    padding: 24px 18px 36px;
  }
  .greeting {
    margin-bottom: 20px;
  }
  .greeting h1 {
    font-size: 29px;
  }
  .greeting p {
    font-size: 12px;
  }
  .date {
    font-size: 9px;
    letter-spacing: 0.7px;
  }
  .cockpit-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }
  .overview-stat {
    padding: 13px 14px;
    gap: 6px;
  }
  .overview-stat strong {
    font-size: 26px;
  }
  .overview-stat small {
    font-size: 10px;
  }
  .capture {
    padding: 11px;
    gap: 10px;
    margin-bottom: 24px;
  }
  .capture input {
    font-size: 12px;
  }
  .capture-icon {
    width: 30px;
    height: 30px;
  }
  .capture button {
    width: 30px;
    height: 30px;
  }
  .today-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card {
    padding: 18px;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .soft-card h3 {
    font-size: 20px;
  }
  .app-link {
    padding: 15px;
  }
  .connection {
    flex-wrap: wrap;
    gap: 12px;
  }
  .connection .secondary {
    font-size: 12px;
  }
  dialog {
    padding: 26px 22px;
  }
  dialog h2 {
    font-size: 23px;
  }
  .login-panel {
    padding: 78px 28px 36px;
  }
  .login-panel > .appearance-toggle {
    top: 18px;
    right: 18px;
  }
  .login-art {
    padding: 35px 28px;
  }
  .sidebar-note {
    display: none;
  }
  .sidebar-bottom {
    padding-top: 12px;
  }
}
