/* src/styles.scss */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family:
    "Avenir",
    "Avenir Next",
    "Avenir Next LT Pro",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  position: relative;
  background: #eee;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.app-shell-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.main-content {
  flex: 1;
  padding: 30px;
}
.app-footer {
  text-align: center;
  padding: 1rem;
  color: rgba(26, 26, 26, 0.5);
  font-size: 0.8125rem;
}
h1 {
  font-size: 20px;
}
.side-nav {
  flex-shrink: 0;
  width: 250px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  margin: 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 10px rgba(0, 0, 0, 0.05);
  transition: width 0.2s ease;
}
.side-nav-scroll {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem;
}
.side-nav-toggle {
  position: absolute;
  top: 20px;
  right: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 32px;
  padding: 0;
  background: #298077;
  border: none;
  border-radius: 0;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  z-index: 1;
  transition: right 0.2s ease, background 0.15s;
}
.side-nav-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}
.side-nav-toggle:hover {
  background: #073B3A;
}
.side-nav.collapsed .side-nav-toggle svg {
  transform: rotate(180deg);
}
@media (min-width: 769px) {
  .side-nav.collapsed {
    width: 64px;
  }
  .side-nav.collapsed .side-nav-scroll {
    padding: 1.25rem 0.5rem;
  }
  .side-nav.collapsed .side-nav-brand {
    justify-content: center;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .side-nav.collapsed .side-nav-brand .brand-link {
    gap: 0;
  }
  .side-nav.collapsed .brand-name,
  .side-nav.collapsed .side-nav-label {
    opacity: 0;
    max-width: 0;
  }
  .side-nav.collapsed .side-nav-section-label {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .side-nav.collapsed .side-nav-subtree {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .side-nav.collapsed .side-nav-group-label {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  .side-nav.collapsed .side-nav-link {
    justify-content: center;
    gap: 0;
  }
}
.side-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 64px;
  margin: -1.25rem -1.25rem 1.25rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid #e0e0e0;
}
.side-nav-brand .brand-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: rgba(41, 128, 122, 0.8);
  transition: gap 0.2s ease;
}
.side-nav-brand .brand-link:visited,
.side-nav-brand .brand-link:hover {
  color: rgba(41, 128, 122, 0.8);
}
.side-nav-brand .brand-link img {
  display: block;
  max-height: 16px;
  opacity: 0.8;
  position: relative;
  top: 2px;
}
.side-nav-brand .brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.25px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 140px;
  opacity: 1;
  transition: opacity 0.15s ease, max-width 0.2s ease;
}
.side-nav-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(26, 26, 26, 0.35);
  margin: 0 0 0.5rem 0.625rem;
  max-height: 20px;
  overflow: hidden;
  opacity: 1;
  transition:
    opacity 0.15s ease,
    max-height 0.2s ease,
    margin 0.2s ease;
}
.side-nav-tree {
  list-style: none;
}
.side-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
  line-height: 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.7);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.15s,
    background 0.15s,
    gap 0.2s ease;
}
.side-nav-link:hover {
  color: #1a1a1a;
  background: rgba(224, 224, 224, 0.5);
}
.side-nav-link.active {
  color: #298077;
  background: rgba(41, 128, 119, 0.08);
  font-weight: 600;
}
.side-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.side-nav-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
  opacity: 1;
  transition: opacity 0.15s ease, max-width 0.2s ease;
}
.side-nav-subtree {
  list-style: none;
  margin: 0.125rem 0 0.5rem;
  max-height: 400px;
  overflow: hidden;
  opacity: 1;
  transition:
    opacity 0.15s ease,
    max-height 0.2s ease,
    margin 0.2s ease;
}
.side-nav-sublink {
  padding-left: 2.75rem;
  font-weight: 400;
  font-size: 0.8125rem;
}
.side-nav-subsublink {
  padding-left: 3.75rem;
}
.side-nav-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(26, 26, 26, 0.35);
  padding: 0.375rem 0 0.25rem 2.75rem;
  max-height: 20px;
  overflow: hidden;
  opacity: 1;
  transition:
    opacity 0.15s ease,
    max-height 0.2s ease,
    padding 0.2s ease;
}
.side-nav-backdrop {
  display: none;
}
.app-header {
  background: transparent;
}
.app-header .header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 36px 30px 0 30px;
}
.app-header .hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.15s;
}
.app-header .hamburger:hover {
  background: rgba(26, 26, 26, 0.06);
}
.app-header .hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(26, 26, 26, 0.7);
  border-radius: 2px;
}
.app-header .header-brand-mobile {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: rgba(41, 128, 122, 0.8);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.25px;
}
.app-header .header-brand-mobile img {
  display: block;
  max-height: 15px;
  opacity: 0.8;
}
.app-header .header-user {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: auto;
}
.app-header .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #A08942,
      #CFAE63);
  color: #073B3A;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.app-header .user-name {
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.app-header .btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: none;
  border: 1px solid #e0e0e0;
  color: rgba(26, 26, 26, 0.5);
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.app-header .btn-logout svg {
  width: 15px;
  height: 15px;
}
.app-header .btn-logout:hover {
  background: rgba(224, 224, 224, 0.5);
  color: #1a1a1a;
  border-color: rgba(41, 128, 119, 0.4);
}
.portfolio-switcher {
  position: relative;
}
.portfolio-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 1rem;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.portfolio-switcher-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.portfolio-switcher-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(41, 128, 119, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.portfolio-switcher-chevron {
  transition: transform 0.15s ease;
}
.portfolio-switcher.open .portfolio-switcher-chevron {
  transform: rotate(180deg);
}
.portfolio-switcher-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.375rem;
  z-index: 60;
}
.portfolio-switcher-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.portfolio-switcher-item:hover {
  background: rgba(224, 224, 224, 0.5);
}
.portfolio-switcher-item.active {
  color: #298077;
  font-weight: 600;
  background: rgba(41, 128, 119, 0.08);
}
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #073B3A;
}
.login-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  text-align: center;
}
.login-header {
  margin-bottom: 2rem;
}
.login-header .app-logo {
  font-weight: 700;
  color: #073B3A;
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
}
.login-header h1 {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}
.login-header p {
  color: rgba(26, 26, 26, 0.5);
  margin: 0;
}
.btn-microsoft {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: #298077;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}
.btn-microsoft:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.btn-microsoft .microsoft-logo {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.dashboard-page {
  max-width: 1200px;
  margin: 0 auto;
}
.dashboard-section {
  margin-top: 2.5rem;
}
.section-heading {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.375rem;
}
.section-subheading {
  color: rgba(26, 26, 26, 0.5);
  margin: 0 0 1.25rem;
}
.portfolio-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.portfolio-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  color: #1a1a1a;
}
.portfolio-label::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: #073B3A;
  border-radius: 2px;
}
.env-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.env-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
.env-card.env-prod {
  border-top: 3px solid #059669;
}
.env-card.env-prod .env-dot {
  background: #059669;
}
.env-card.env-prod .env-name {
  color: #059669;
}
.env-card.env-dev {
  border-top: 3px solid #2563eb;
}
.env-card.env-dev .env-dot {
  background: #2563eb;
}
.env-card.env-dev .env-name {
  color: #2563eb;
}
.env-card.env-staging {
  border-top: 3px solid #d97706;
}
.env-card.env-staging .env-dot {
  background: #d97706;
}
.env-card.env-staging .env-name {
  color: #d97706;
}
.env-card.env-hotfix {
  border-top: 3px solid #dc2626;
}
.env-card.env-hotfix .env-dot {
  background: #dc2626;
}
.env-card.env-hotfix .env-name {
  color: #dc2626;
}
.env-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  background: rgba(26, 26, 26, 0.02);
}
.env-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.env-name {
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.app-links {
  list-style: none;
}
.app-links li {
  border-bottom: 1px solid #e0e0e0;
}
.app-links li:last-child {
  border-bottom: none;
}
.app-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.app-links a:hover {
  background: rgba(7, 59, 58, 0.04);
}
.app-links a:hover .app-url {
  color: #073B3A;
  text-decoration: underline;
}
.app-links .app-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.45);
  white-space: nowrap;
  min-width: 58px;
}
.app-links .app-url {
  font-size: 0.8125rem;
  color: rgba(26, 26, 26, 0.75);
  text-align: right;
  transition: color 0.15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: background 0.15s;
}
.feature-card .feature-icon svg {
  width: 28px;
  height: 28px;
}
.feature-card .feature-content h3 {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.375rem;
}
.feature-card .feature-content p {
  color: rgba(26, 26, 26, 0.5);
  margin: 0;
  line-height: 1.4;
}
.card-esign {
  background:
    linear-gradient(
      150deg,
      rgba(13, 115, 119, 0.05) 0%,
      #ffffff 55%);
}
.card-esign .feature-icon {
  background: rgba(13, 115, 119, 0.1);
  color: #0d7377;
}
.card-esign:hover {
  box-shadow: 0 4px 16px rgba(13, 115, 119, 0.15);
  border-color: rgba(13, 115, 119, 0.4);
}
.card-esign:hover .feature-icon {
  background: rgba(13, 115, 119, 0.16);
}
.card-members {
  background:
    linear-gradient(
      150deg,
      rgba(109, 40, 217, 0.05) 0%,
      #ffffff 55%);
}
.card-members .feature-icon {
  background: rgba(109, 40, 217, 0.1);
  color: #6d28d9;
}
.card-members:hover {
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.15);
  border-color: rgba(109, 40, 217, 0.4);
}
.card-members:hover .feature-icon {
  background: rgba(109, 40, 217, 0.16);
}
.card-organic {
  background:
    linear-gradient(
      150deg,
      rgba(29, 78, 216, 0.05) 0%,
      #ffffff 55%);
}
.card-organic .feature-icon {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
}
.card-organic:hover {
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.15);
  border-color: rgba(29, 78, 216, 0.4);
}
.card-organic:hover .feature-icon {
  background: rgba(29, 78, 216, 0.16);
}
.card-marketing {
  background:
    linear-gradient(
      150deg,
      rgba(180, 83, 9, 0.05) 0%,
      #ffffff 55%);
}
.card-marketing .feature-icon {
  background: rgba(180, 83, 9, 0.1);
  color: #b45309;
}
.card-marketing:hover {
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.15);
  border-color: rgba(180, 83, 9, 0.4);
}
.card-marketing:hover .feature-icon {
  background: rgba(180, 83, 9, 0.16);
}
.page-header {
  margin-bottom: 1.5rem;
}
.page-header .page-breadcrumb {
  font-weight: 600;
  color: rgba(26, 26, 26, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 0.375rem;
}
.page-header h1 {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.375rem;
}
.page-header .page-description {
  color: rgba(26, 26, 26, 0.5);
  margin: 0;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 1.25rem;
  height: 40px;
  background: #298077;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, filter 0.15s;
}
.btn-primary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0 1.25rem;
  height: 40px;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #298077;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.btn-secondary:hover {
  background: #f9fafb;
  transform: translateY(-1px);
}
.tm-page {
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}
.tm-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.tm-filter-select {
  height: 40px;
  padding: 0 2.25rem 0 0.875rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #1a1a1a;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  background-size: 18px;
  appearance: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tm-filter-select:focus {
  border-color: #073B3A;
  box-shadow: 0 0 0 3px rgba(7, 59, 58, 0.12);
}
.tm-search-wrap {
  position: relative;
  flex: 1;
  max-width: 360px;
}
.tm-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(26, 26, 26, 0.35);
  pointer-events: none;
}
.tm-search {
  width: 100%;
  height: 40px;
  padding: 0 0.875rem 0 2.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #1a1a1a;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tm-search::placeholder {
  color: rgba(26, 26, 26, 0.35);
  font-family: inherit;
}
.tm-search:focus {
  border-color: #073B3A;
  box-shadow: 0 0 0 3px rgba(7, 59, 58, 0.12);
}
.tm-result-count {
  font-size: 0.8125rem;
  color: rgba(26, 26, 26, 0.4);
  white-space: nowrap;
  margin-right: auto;
}
.tm-table-wrap {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.tm-table {
  width: 100%;
  border-collapse: collapse;
}
.tm-table thead tr {
  background: #f8fafc;
  border-bottom: 1px solid #e0e0e0;
}
.tm-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
.tm-table th.sortable {
  cursor: pointer;
}
.tm-table th.sortable:hover {
  color: #073B3A;
  background: rgba(7, 59, 58, 0.04);
}
.tm-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(224, 224, 224, 0.6);
  white-space: nowrap;
}
.tm-table tbody tr {
  transition: background 0.1s;
}
.tm-table tbody tr:last-child td {
  border-bottom: none;
}
.tm-table tbody tr:hover td {
  background: rgba(7, 59, 58, 0.03);
}
.tm-table .col-portfolio {
  width: 14%;
}
.tm-table .col-token {
  width: 16%;
}
.tm-table .col-loan-id {
  width: 10%;
}
.tm-table .col-id {
  width: 7%;
}
.tm-table .col-store {
  width: 7%;
}
.tm-table .col-freq {
  width: 9%;
}
.tm-table .col-amount {
  width: 10%;
}
.tm-table .col-flags {
  width: 12%;
}
.tm-table .col-status {
  width: 9%;
}
.tm-table .col-user {
  width: 11%;
}
.tm-table .col-datetime {
  width: 12%;
}
.tm-table .col-action {
  width: 56px;
  text-align: center;
  padding-right: 0.75rem;
}
.tm-table .col-id th,
.tm-table .col-id td {
  text-align: right;
}
.tm-table .col-amount th,
.tm-table .col-amount td {
  text-align: right;
}
.tm-table .cell-muted {
  color: rgba(26, 26, 26, 0.4);
  font-size: 0.8125rem;
}
.tm-table .cell-user {
  font-size: 0.8rem;
  color: rgba(26, 26, 26, 0.75);
}
.tm-table .cell-datetime {
  font-size: 0.8rem;
  color: rgba(26, 26, 26, 0.65);
  white-space: nowrap;
}
.token-cell {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.token-short {
  font-size: 0.78rem;
  color: #073B3A;
  background: rgba(7, 59, 58, 0.06);
  border: 1px solid rgba(7, 59, 58, 0.15);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  cursor: default;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  color: rgba(26, 26, 26, 0.35);
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s,
    transform 0.15s;
}
.copy-btn svg {
  width: 13px;
  height: 13px;
}
.copy-btn:hover {
  color: rgba(41, 128, 122, 0.8);
  border-color: rgba(41, 128, 119, 0.4);
  background: rgba(41, 128, 119, 0.05);
  transform: translateY(-1px);
}
.copy-btn.copied {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.4);
  background: rgba(5, 150, 105, 0.06);
  transform: scale(1.1);
}
.form-select-mono {
  font-size: 0.8125rem;
  letter-spacing: 0.2px;
}
.token-badge {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  background: rgba(7, 59, 58, 0.07);
  color: #073B3A;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.sort-icon {
  margin-left: 0.25rem;
  color: #073B3A;
  opacity: 0.7;
}
.btn-row-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: rgba(41, 128, 122, 0.8);
  background: rgba(41, 128, 119, 0.08);
  border: 1px solid rgba(41, 128, 119, 0.18);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s,
    filter 0.15s;
}
.btn-row-edit svg {
  width: 15px;
  height: 15px;
}
.btn-row-edit:hover {
  background: #298077;
  border-color: #298077;
  color: #ffffff;
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.tm-empty {
  padding: 4rem 2rem;
  text-align: center;
  color: rgba(26, 26, 26, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.tm-empty svg {
  width: 40px;
  height: 40px;
}
.tm-empty span {
  font-size: 0.9375rem;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.modal {
  background: #ffffff;
  border-radius: 8px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.modal.modal-wide {
  max-width: 1300px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.modal-header .modal-title {
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}
.modal-header .modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: rgba(26, 26, 26, 0.35);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.modal-header .modal-close svg {
  width: 18px;
  height: 18px;
}
.modal-header .modal-close:hover {
  color: #1a1a1a;
  background: rgba(224, 224, 224, 0.5);
}
.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}
.form-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.625rem 0.875rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem 1.25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-field.form-field-full {
  grid-column: 1/-1;
}
.form-field .form-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.65);
}
.form-field .form-label .required {
  color: #dc2626;
  margin-left: 2px;
}
.form-field .form-label .form-label-hint {
  color: rgba(26, 26, 26, 0.35);
  font-weight: 400;
  margin-left: 4px;
}
.form-field .form-input {
  height: 40px;
  padding: 0 0.875rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #1a1a1a;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field .form-input::placeholder {
  color: rgba(26, 26, 26, 0.3);
}
.form-field .form-input:focus {
  border-color: #073B3A;
  box-shadow: 0 0 0 3px rgba(7, 59, 58, 0.12);
}
.form-field .form-select {
  height: 40px;
  padding: 0 2.25rem 0 0.875rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #1a1a1a;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  background-size: 18px;
  appearance: none;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field .form-select:focus {
  border-color: #073B3A;
  box-shadow: 0 0 0 3px rgba(7, 59, 58, 0.12);
}
.form-field .form-textarea {
  padding: 0.625rem 0.875rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #1a1a1a;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field .form-textarea::placeholder {
  color: rgba(26, 26, 26, 0.3);
}
.form-field .form-textarea:focus {
  border-color: #073B3A;
  box-shadow: 0 0 0 3px rgba(7, 59, 58, 0.12);
}
.form-section-title {
  grid-column: 1/-1;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(26, 26, 26, 0.38);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}
.form-section-title:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.form-checkboxes {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #1a1a1a;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.checkbox-item input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: #073B3A;
  cursor: pointer;
}
.flag-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: rgba(109, 40, 217, 0.08);
  color: #6d28d9;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.25rem;
}
.loan-id-badge {
  display: inline-block;
  padding: 0.175rem 0.55rem;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.status-badge {
  display: inline-block;
  padding: 0.175rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge.status-completed {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.25);
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.page-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid #e0e0e0;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(26, 26, 26, 0.35);
}
.empty-state svg {
  width: 48px;
  height: 48px;
}
.empty-state p {
  margin: 0;
}
@media (max-width: 1024px) {
  .feature-grid,
  .env-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .main-content {
    padding: 1.25rem;
  }
  .side-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    z-index: 55;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  }
  .side-nav.open {
    transform: translateX(0);
  }
  .side-nav .side-nav-toggle {
    display: none;
  }
  .side-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 54;
  }
  .app-header .hamburger {
    display: flex;
  }
  .app-header .header-brand-mobile {
    display: flex;
  }
  .dashboard-page {
    max-width: 100%;
  }
  .dashboard-section {
    margin-top: 2rem;
  }
  .tm-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .tm-toolbar .tm-search {
    max-width: 100%;
  }
  .tm-toolbar .btn-primary {
    justify-content: center;
  }
  .app-links .app-url {
    white-space: normal;
    word-break: break-all;
    text-align: right;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .feature-grid,
  .env-grid {
    grid-template-columns: 1fr;
  }
  .main-content {
    padding: 1rem;
  }
  .feature-card {
    padding: 1.5rem 1rem;
  }
  .page-header h1 {
    font-size: 1.375rem;
  }
  .section-heading {
    font-size: 1.0625rem;
  }
  .env-card-header {
    padding: 0.625rem 0.875rem;
  }
  .app-links a {
    padding: 0.5rem 0.875rem;
  }
  .header-inner {
    padding: 0 1rem;
  }
}

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