@import url("./fonts.css");

:root {
  --bg: #f6f7fb;
  --sidebar: #ffffff;
  --panel: #ffffff;
  --panel2: #eef1f8;
  --border: #e2e4ee;
  --muted: #697080;
  --text: #292b3d;
  --accent: #bd4d3d;
  --purple: #76639d;
  --radius: 18px;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  line-height: 1.5;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #759dd4;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font:
    500 clamp(2rem, 3.5vw, 3.1rem)/1.15 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1rem;
  font-weight: 650;
}
p {
  color: var(--muted);
  line-height: 1.75;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding: 31px 21px 20px;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  z-index: 5;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.9rem;
  letter-spacing: -0.065em;
  font-weight: 750;
  margin: 0 8px 43px;
}
.brand-dot {
  color: var(--accent);
}
.workspace-label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: #9093a3;
  padding: 0 14px;
  margin-bottom: 13px;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
}
nav a:hover {
  color: var(--text);
  background: #f2f4fa;
}
nav a.active {
  color: #ad4235;
  background: #fbebe6;
  font-weight: 600;
}
nav small {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 6px;
  background: #edddd8;
  color: #8c4e42;
  font-size: 0.75rem;
}
svg.icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 12px;
}
.sidebar-note {
  margin-top: auto;
  padding: 21px 18px;
  border-radius: 13px;
  background: #eef2fa;
  margin-bottom: 23px;
}
.sidebar-note h3 {
  margin: 10px 0 7px;
  font-size: 1rem;
}
.sidebar-note p {
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.mini-mark {
  font-size: 1.7rem;
  color: #6481ac;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 7px 0;
  border-top: 1px solid var(--border);
}
.avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f1ddd6;
  color: #9c5145;
  font-size: 0.9375rem;
  font-weight: 650;
}
.sidebar-bottom strong {
  display: block;
  max-width: 143px;
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-bottom div > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.main-wrap {
  flex: 1;
  min-width: 0;
  margin-left: 250px;
}
.topbar {
  min-height: 83px;
  padding: 18px 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  background: #fff9;
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
}
.breadcrumb span {
  color: #b4b4c0;
  margin: 0 13px;
}
.breadcrumb strong {
  color: var(--text);
  font-weight: 500;
}
.top-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.connection-label {
  font-size: 0.8125rem;
  color: var(--muted);
}
.connection-label.online {
  color: #4b755e;
}
.language-control select {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 29px 9px 12px;
  color: var(--text);
  font-size: 0.875rem;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23697080' stroke-width='1.5'/%3E%3C/svg%3E")
    right 11px center no-repeat;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.9375rem;
  font-weight: 650;
  color: #fff;
  background: var(--accent);
  transition:
    background 0.18s,
    transform 0.18s;
  text-align: center;
}
.button:hover {
  background: #b64335;
  transform: translateY(-1px);
}
.button.secondary {
  color: var(--text);
  background: #fff;
  border-color: #d8dae5;
}
.button.secondary:hover {
  background: #f0f3fa;
}
.button.subtle {
  color: #49618a;
  background: #dfe7f5;
}
.button.subtle:hover {
  background: #d2dff1;
}
.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.button.small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.875rem;
}
.button.wide {
  width: 100%;
}
main {
  max-width: 1450px;
  min-height: calc(100vh - 160px);
  padding: 42px;
  margin: auto;
}
.eyebrow {
  color: #a56255;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 650;
  margin-bottom: 12px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  margin-top: 13px;
  font-size: 1rem;
}
.home-welcome {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: #e9eef9;
  border-radius: 21px;
  padding: 29px 33px;
  margin-bottom: 23px;
  overflow: hidden;
}
.home-welcome h2 {
  font:
    500 clamp(1.7rem, 2.5vw, 2.25rem)/1.2 Georgia,
    serif;
  max-width: 440px;
  letter-spacing: -0.025em;
  margin-bottom: 15px;
}
.home-welcome p {
  max-width: 480px;
  font-size: 1rem;
}
.home-welcome .button {
  margin-top: 23px;
}
.home-welcome img {
  width: 240px;
  align-self: center;
  margin: -36px 0 -25px;
  flex-shrink: 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}
.panel {
  background: var(--panel);
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 3px 10px #33335002;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}
.panel-header h2 {
  font-size: 1rem;
}
.panel-header > .icon {
  color: #a67b70;
}
.label {
  font-size: 0.875rem;
  color: var(--muted);
}
.quota-layout {
  display: flex;
  align-items: center;
  gap: 19px;
}
.quota-ring {
  --progress: 0%;
  width: 102px;
  height: 102px;
  flex-shrink: 0;
  padding: 7px;
  background: conic-gradient(#d57968 var(--progress), #f4e8e3 0);
  border-radius: 50%;
}
.quota-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}
.quota-inner strong {
  font:
    500 2.25rem Georgia,
    serif;
}
.quota-inner span {
  font-size: 0.75rem;
  color: var(--muted);
}
.quota-text strong {
  font-size: 0.9375rem;
}
.quota-text p {
  font-size: 0.8125rem;
  margin-top: 8px;
  line-height: 1.65;
}
.stat-value {
  font:
    500 2.7rem/1.2 Georgia,
    serif;
  margin: 15px 0 12px;
  letter-spacing: -0.03em;
}
.stat-foot {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 1.2rem;
}
.text-button {
  background: transparent;
  border: 0;
  padding: 5px;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
}
.text-button:hover {
  color: var(--accent);
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 29px;
}
.tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.tool:hover {
  transform: translateY(-3px);
  border-color: #c9988a;
}
.tool-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 13px;
  background: #f6e2db;
  color: #af5a49;
}
.tool-icon.blue {
  background: #e5edf9;
  color: #5a7eaf;
}
.tool-icon.green {
  background: #e5efe7;
  color: #578568;
}
.tool-icon.orange {
  background: #f7ecd6;
  color: #a27c38;
}
.tool h3 {
  margin-bottom: 10px;
}
.tool p {
  flex: 1;
  font-size: 1rem;
}
.command-name {
  display: inline-block;
  margin-top: 19px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f3f4f8;
  font:
    0.8125rem ui-monospace,
    Consolas,
    monospace;
  color: #747487;
}
.bottom-note {
  padding: 23px 25px;
  border: 1px solid #dbe4dc;
  background: #f0f5f0;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.bottom-note h3 {
  margin-bottom: 6px;
}
.bottom-note p {
  font-size: 0.9375rem;
}
.inline-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}
.filter {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 22px;
  font-size: 0.875rem;
}
.filter.selected {
  background: #f8e7e0;
  color: #a54d3f;
  border-color: #e7bcb0;
}
input,
textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8dce8;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
}
input::placeholder,
textarea::placeholder {
  color: #8b8f9b;
}
.command-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
  gap: 24px;
}
.command-list {
  display: grid;
  gap: 10px;
}
.command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  text-align: left;
}
.command-row:hover,
.command-row.selected {
  border-color: #ce9a8c;
  background: #fff8f4;
}
.command-row code {
  font-size: 0.9375rem;
  color: #9f5549;
}
.command-row p {
  margin-top: 6px;
  font-size: 0.9375rem;
}
.tag {
  border: 1px solid #e1e2ec;
  border-radius: 20px;
  background: #f6f6fb;
  color: #77788c;
  padding: 5px 9px;
  font-size: 0.75rem;
  white-space: nowrap;
}
.composer {
  position: sticky;
  top: 20px;
}
.composer h2 {
  margin-bottom: 12px;
}
.composer > p {
  font-size: 1rem;
}
.field {
  display: block;
  margin-top: 21px;
  font-size: 0.9375rem;
}
.field > span {
  display: block;
  margin-bottom: 9px;
}
.field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.field textarea {
  min-height: 108px;
  resize: vertical;
}
.command-preview {
  margin: 23px 0;
  padding: 17px;
  background: #f4f0f7;
  color: #68547e;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  word-break: break-word;
  white-space: pre-wrap;
}
.composer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.empty {
  padding: 30px;
  border: 1px dashed #cdd2e0;
  border-radius: 13px;
  color: var(--muted);
  text-align: center;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.account-card {
  min-height: 265px;
}
.account-card h2 {
  margin-bottom: 15px;
}
.account-card p {
  margin-bottom: 22px;
  font-size: 1rem;
}
.account-card > .avatar {
  height: 60px;
  width: 60px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.key-value {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.key-value > span {
  color: var(--muted);
}
.key-value strong {
  text-align: right;
  overflow-wrap: anywhere;
  font-weight: 600;
}
.service-list {
  display: grid;
  gap: 12px;
}
.service-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.service-state {
  font-size: 0.875rem;
  color: var(--muted);
}
.service-state.ready {
  color: #4b7a5d;
}
.notice {
  padding: 16px 19px;
  border: 1px solid #e6cda1;
  border-radius: 12px;
  color: #89642d;
  background: #fff6e7;
  margin-bottom: 22px;
  font-size: 0.9375rem;
  line-height: 1.75;
}
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.legal-card {
  padding: 28px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
}
.legal-card:hover {
  border-color: #c9988a;
}
.legal-card h2 {
  margin-bottom: 10px;
}
.legal-card p {
  font-size: 1rem;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  max-width: 1450px;
  margin: auto;
  padding: 24px 42px;
  border-top: 1px solid var(--border);
  color: #808493;
  font-size: 0.75rem;
}
.footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
}
.footer a:hover {
  color: var(--accent);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #353448;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 6px 30px #29293d25;
  max-width: 90vw;
  z-index: 50;
  font-size: 0.9375rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.noscript {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: #fff4e5;
  color: #5b4a39;
}
.legal-body {
  max-width: 820px;
  padding: 53px 25px 80px;
  margin: auto;
}
.legal-body .brand {
  margin: 0 0 45px;
}
.legal-body h1 {
  margin-bottom: 21px;
  font-size: 2.8rem;
}
.legal-body h2 {
  margin: 35px 0 14px;
  font-size: 1.2rem;
}
.legal-body p,
.legal-body li {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.85;
  color: #5f6576;
}
.legal-body a:not(.brand) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body ul {
  padding-left: 23px;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.legal-nav a {
  padding: 5px 0;
  font-size: 0.875rem;
}
@media (max-width: 1200px) {
  .sidebar {
    width: 220px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .main-wrap {
    margin-left: 220px;
  }
  main {
    padding: 32px 26px;
  }
  .topbar,
  .footer {
    padding-left: 26px;
    padding-right: 26px;
  }
  .overview-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .overview-grid > .panel:last-child {
    grid-column: 1/-1;
  }
  .overview-grid > .panel:last-child .stat-value {
    font-size: 1.75rem;
  }
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-welcome img {
    width: 190px;
  }
  .connection-label {
    display: none;
  }
}
@media (max-width: 800px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .sidebar .brand {
    margin: 0 0 17px;
    font-size: 1.6rem;
  }
  .sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }
  .sidebar nav a {
    white-space: nowrap;
    font-size: 0.875rem;
    padding: 10px;
  }
  .sidebar nav a small,
  .workspace-label,
  .sidebar-note,
  .sidebar-bottom,
  .nav-divider {
    display: none;
  }
  .main-wrap {
    margin: 0;
  }
  .topbar {
    min-height: 70px;
    padding: 15px 22px;
  }
  .breadcrumb {
    display: none;
  }
  .top-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .connection-label {
    display: block;
    margin-right: auto;
  }
  main {
    padding: 30px 22px;
  }
  .home-welcome {
    padding: 27px;
  }
  .home-welcome img {
    display: none;
  }
  .command-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .composer {
    position: static;
  }
  .bottom-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer {
    padding: 23px 22px;
  }
}
@media (max-width: 480px) {
  .sidebar {
    padding: 18px 13px;
  }
  .sidebar nav a {
    font-size: 0.8125rem;
    padding: 9px 8px;
  }
  .sidebar nav a > .icon,
  .sidebar nav a > span[data-icon] {
    display: none;
  }
  main {
    padding: 27px 17px;
  }
  .topbar {
    padding: 14px 17px;
  }
  .connection-label {
    font-size: 0.75rem;
  }
  .top-actions {
    gap: 9px;
  }
  .button.small {
    padding: 8px 10px;
    font-size: 0.8125rem;
  }
  .language-control select {
    padding-left: 9px;
    font-size: 0.8125rem;
  }
  .overview-grid,
  .tool-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .tool {
    padding: 23px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 1.1rem;
  }
  .panel {
    padding: 22px;
  }
  .key-value {
    flex-direction: column;
    gap: 7px;
  }
  .key-value strong {
    text-align: left;
  }
  .command-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
