@charset "UTF-8";

/* src/styles.scss */
:root {
  --bg1: #ECEBE5;
  --bg2: #F4F3EE;
  --ink: #16242C;
  --teal-light: #8FCBD0;
  --teal: #2F7E88;
  --teal-dark: #1E4E57;
  --grad:
    linear-gradient(
      135deg,
      #2F7E88 0%,
      #1E4E57 100%);
  --muted: #76786f;
  --line: #dcdbd2;
  --ok: #2f8f6b;
  --warn: #c08a2d;
  --err: #c0392b;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    Roboto,
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background:
    linear-gradient(
      180deg,
      var(--bg1),
      var(--bg2));
}
a {
  color: var(--teal-dark);
}
h1,
h2,
h3 {
  margin: 0 0 4px;
}
.muted {
  color: var(--muted);
}
.sub {
  color: var(--muted);
  font-size: 13px;
}
.hint {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0 0 10px;
}
.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(22, 36, 44, 0.05);
}
.appbar h1 {
  font-size: 17px;
  font-weight: 700;
}
.appbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.who {
  font-size: 13px;
  color: var(--muted);
}
.logout {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.logout:hover {
  background: #f0efe9;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(22, 36, 44, 0.04);
}
.hub-head {
  margin-bottom: 22px;
}
.hub-head h1 {
  font-size: 22px;
  font-weight: 700;
}
.hub-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.hub-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
}
.hub-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(22, 36, 44, 0.04);
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    border-color 0.12s;
}
.hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal-light);
  box-shadow: 0 8px 22px rgba(30, 78, 87, 0.14);
}
.hub-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hub-card__title {
  font-weight: 700;
  font-size: 15.5px;
}
.hub-card__desc {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  flex: 1;
}
.hub-card__foot {
  display: flex;
  justify-content: flex-end;
}
.hub-card__ico {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-card__ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hub-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-box {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(22, 36, 44, 0.1);
}
.auth-box h1 {
  font-size: 19px;
  font-weight: 700;
}
.auth-box .sub {
  margin: 16px 0 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 12px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  border: none;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(30, 78, 87, 0.25);
}
.btn:hover {
  filter: brightness(1.06);
}
.btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.btn-ghost {
  background: #fff;
  color: var(--teal-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover {
  background: #f0efe9;
  filter: none;
}
.btn-sm {
  width: auto;
  padding: 7px 14px;
  font-size: 13px;
}
.btn-danger {
  background: none;
  border: 1px solid var(--line);
  color: var(--err);
  box-shadow: none;
  width: auto;
  padding: 6px 12px;
  font-size: 12.5px;
}
.btn-danger:hover {
  background: #fdf0ee;
  filter: none;
}
.link-btn {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--teal-dark);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
label {
  display: block;
  margin: 12px 0 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=url],
select,
textarea {
  width: 100%;
  padding: 9px 11px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--teal-light);
  outline-offset: 0;
  border-color: var(--teal);
}
textarea {
  min-height: 70px;
  resize: vertical;
}
.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.form-row > * {
  flex: 1 1 200px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
}
.check input {
  width: auto;
}
.layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 240px;
  flex: 0 0 240px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 14px rgba(22, 36, 44, 0.05);
}
.sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.sidebar-name {
  font-weight: 700;
  font-size: 15px;
}
.sidebar-sub {
  font-size: 11px;
  color: var(--muted);
}
.sidebar-section {
  padding: 14px 12px 4px;
}
.sidebar-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  padding: 0 10px 6px;
  font-weight: 700;
}
.sidebar-footer {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  margin: 2px 0;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}
.nav-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}
.nav-link:hover {
  background: #f0efe9;
}
.nav-link.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30, 78, 87, 0.28);
}
.nav-link.active svg {
  opacity: 1;
}
.main {
  flex: 1;
  padding: 26px 30px;
  min-width: 0;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.page-head h1 {
  font-size: 20px;
  font-weight: 700;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
th,
td {
  padding: 10px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
th {
  background: #f7f6f1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  font-weight: 700;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #faf9f5;
}
td.actions {
  text-align: right;
  white-space: nowrap;
}
code,
.mono {
  font-family:
    "Cascadia Mono",
    Consolas,
    monospace;
  font-size: 12.5px;
  background: #f4f3ee;
  padding: 2px 6px;
  border-radius: 5px;
}
.flash {
  padding: 10px 14px;
  border-radius: 9px;
  margin-bottom: 14px;
  font-size: 13.5px;
  border: 1px solid transparent;
}
.flash-ok {
  background: #edf7f2;
  border-color: #bfe3d3;
  color: #1e5c46;
}
.flash-err {
  background: #fdf0ee;
  border-color: #f0c9c2;
  color: #8f2c1f;
}
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--muted);
}
.badge-ok {
  background: #edf7f2;
  border-color: #bfe3d3;
  color: #1e5c46;
}
.badge-warn {
  background: #fdf6e8;
  border-color: #ecd5a4;
  color: #8a6420;
}
.badge-off {
  background: #f2f1ec;
}
.token-box {
  background: #16242C;
  color: #8FCBD0;
  padding: 12px 14px;
  border-radius: 9px;
  font-family:
    "Cascadia Mono",
    Consolas,
    monospace;
  font-size: 12.5px;
  word-break: break-all;
  margin: 10px 0;
}
@media (max-width: 760px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    flex: none;
  }
  .wrap,
  .main {
    padding: 18px;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
