/* Consistent spacing and interaction affordances across the public site and demo. */
:root {
  --ui-border: #e3dfe9;
  --ui-soft: #f5f2f8;
  --ui-muted: #655e70;
  --ui-accent: #665180;
}
.abs-site p {
  max-width: 75ch;
}
.abs-site .section-heading {
  align-items: start;
}
.abs-site .section-heading h2 {
  margin-top: 0;
}
.abs-site .section-heading > p {
  margin-top: 35px;
}
.abs-site .nav nav a {
  padding-block: 13px;
  position: relative;
}
.abs-site .nav nav a[aria-current] {
  color: #665180;
}
.abs-site .nav nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #9b8ec7;
}
.abs-site .btn,
.abs-dashboard .btn {
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  cursor: pointer;
}
.abs-site .btn:hover,
.abs-dashboard .btn:hover {
  box-shadow: 0 5px 16px #35264412;
}
.abs-site .faq details {
  border: 1px solid #e0d9e7;
  border-radius: 10px;
  padding: 0 20px;
  margin-bottom: 12px;
  background: white;
}
.abs-site .faq details[open] {
  border-color: #ad9dc2;
  background: #faf8fc;
}
.abs-site .faq details p {
  padding-bottom: 18px;
  margin-top: 0;
}
.abs-site #contact-form {
  padding: 26px;
  border: 1px solid #ded5e7;
  border-radius: 13px;
  background: #ffffff8c;
}
.abs-site #contact-form label {
  display: grid;
  gap: 8px;
  color: #3d3449;
}
.abs-site #contact-form input:focus,
.abs-site #contact-form textarea:focus,
.abs-site #contact-form select:focus {
  border-color: #8e79ac;
  background: white;
}
.abs-site .footer-columns nav a {
  width: fit-content;
  min-height: 30px;
  padding-block: 4px;
}
.abs-site .footer-columns nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.abs-site .abs-footer {
  margin-top: 24px;
}
.abs-dashboard .app-layout {
  background: #f6f5f8;
}
.abs-dashboard .sidebar {
  padding-top: 26px;
  background: #fff;
}
.abs-dashboard .sidebar .workspace {
  background: #f4f1f7;
  border: 1px solid #e5dfea;
  border-radius: 10px;
  padding: 14px;
  margin-block: 26px 20px;
}
.abs-dashboard .sidebar nav {
  display: grid;
  gap: 5px;
}
.abs-dashboard .sidebar nav a {
  padding: 12px 14px;
  font-weight: 500;
  color: #655e70;
}
.abs-dashboard .sidebar nav a.active {
  background: #eae3f2;
  color: #4a355f;
  box-shadow: inset 3px 0 #8a73aa;
}
.abs-dashboard .sidebar nav a:hover {
  background: #f3eff7;
}
.abs-dashboard .sidebar-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #777080;
  margin: 6px 12px 12px;
}
.abs-dashboard .sidebar-tip {
  padding: 17px;
  border-radius: 11px;
  background: #edf3f4;
  border: 1px solid #dae5e7;
}
.abs-dashboard .sidebar-tip p {
  font-size: 12px;
  line-height: 1.7;
}
.abs-dashboard .sidebar-tip b {
  font-size: 13px;
}
.abs-dashboard .sidebar .workspace-home {
  font-size: 9px;
  line-height: 1.7;
}
.abs-dashboard .app-topbar {
  border-bottom: 1px solid var(--ui-border);
}
.abs-dashboard .crumb {
  font-size: 13px;
}
.abs-dashboard .crumb > b {
  font-weight: 600;
}
.abs-dashboard .demo-label {
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f4f0f8;
  border: 1px solid #e6deee;
}
.abs-dashboard .dash-heading .actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.abs-dashboard #project-select {
  background: #fff;
  border: 1px solid #d9d1e2;
  padding: 11px 32px 11px 14px;
  min-width: 160px;
  font-size: 13px;
}
.workspace-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 26px;
}
.workspace-shortcuts > a {
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  border: 1px solid var(--ui-border);
  border-radius: 11px;
  padding: 18px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.workspace-shortcuts > a:hover {
  border-color: #b4a0ca;
  background: #fcfafe;
}
.workspace-shortcuts > a > .icon:first-child {
  width: 22px;
  height: 22px;
  color: #77618e;
  flex-shrink: 0;
}
.workspace-shortcuts > a > .icon:last-child {
  margin-left: auto;
  width: 15px;
  flex-shrink: 0;
}
.workspace-shortcuts b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.workspace-shortcuts small {
  display: block;
  font-size: 11px;
  color: #72677b;
  margin-top: 4px;
  line-height: 1.5;
}
.abs-dashboard .kpi-grid {
  gap: 16px;
}
.abs-dashboard .kpi .between {
  font-size: 12px;
  color: #6a6374;
}
.abs-dashboard .kpi-value {
  margin-block: 20px 17px !important;
  font-size: 37px !important;
  font-weight: 500 !important;
  letter-spacing: -1.2px;
}
.abs-dashboard .kpi-value small {
  font-size: 15px !important;
  letter-spacing: 0;
}
.abs-dashboard .panel-heading {
  padding: 24px;
  border-bottom: 1px solid #ede8f2;
  gap: 16px;
  align-items: start;
}
.abs-dashboard .panel-heading h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}
.abs-dashboard .panel-heading p {
  margin: 7px 0 0;
  font-size: 12px;
}
.abs-dashboard .panel-body {
  padding: 24px;
}
.abs-dashboard .overview-banner {
  padding: 22px 24px;
  border: 1px solid #ddd3e8;
  gap: 18px;
  margin-bottom: 24px;
}
.abs-dashboard .overview-banner h3 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 6px;
}
.abs-dashboard .overview-banner p {
  font-size: 13px;
  line-height: 1.7;
}
.abs-dashboard .overview-banner > a {
  font-size: 12px;
  min-height: 40px;
  flex-shrink: 0;
}
.abs-dashboard .activity-list li {
  padding: 17px 0;
  border-bottom: 1px solid #ede8f2;
}
.abs-dashboard .activity-list li:last-child {
  border-bottom: 0;
}
.abs-dashboard .activity-list b {
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}
.abs-dashboard .activity-list small {
  font-size: 11px;
  color: #756b80;
  margin-top: 8px;
  display: block;
}
.abs-dashboard .toolbar {
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: white;
  border: 1px solid var(--ui-border);
  border-radius: 11px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.abs-dashboard .search-field {
  position: relative;
  flex: 1;
  min-width: 200px;
  border: 1px solid #ddd5e6;
  border-radius: 8px;
  background: #faf8fc;
  min-height: 44px;
}
.abs-dashboard .search-field input {
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 13px;
  padding-right: 40px;
  width: 100%;
}
.clear-search {
  position: absolute;
  right: 4px;
  top: 3px;
  border: 0;
  background: transparent;
  color: #6d6278;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 23px;
  border-radius: 6px;
}
.clear-search:hover {
  background: #ece5f3;
}
.clear-search[hidden] {
  display: none;
}
.planning-context {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 2px 22px;
  font-size: 12px;
  color: #72687d;
}
.search-empty {
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px dashed #c6b8d5;
  border-radius: 12px;
  margin-bottom: 22px;
}
.search-empty h2 {
  font-size: 20px;
}
.search-empty p {
  font-size: 14px;
  color: #716579;
  line-height: 1.7;
}
.abs-dashboard .kanban-column > h2 {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 5px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.abs-dashboard .kanban-column > h2 > span {
  border: 1px solid #dcd4e5;
  border-radius: 6px;
  background: white;
  min-width: 25px;
  padding: 3px 7px;
  font-size: 11px;
}
.abs-dashboard .task-card {
  padding: 20px !important;
  box-shadow: 0 3px 8px #33243d05;
  cursor: default;
}
.abs-dashboard .task-card[draggable="true"] {
  cursor: grab;
}
.abs-dashboard .task-card:hover {
  box-shadow: 0 7px 18px #33243d0b;
}
.abs-dashboard .task-card .assignee {
  font-size: 11px;
}
.abs-dashboard .task-card .between > span:last-child {
  font-size: 11px;
}
.abs-dashboard .task-card-actions button {
  min-height: 38px;
}
.abs-dashboard .task-card-actions select {
  min-height: 38px;
  max-width: 125px;
}
.abs-dashboard .integration-card,
.abs-dashboard .member-card,
.abs-dashboard .report-card {
  padding: 26px;
}
.abs-dashboard .integration-card {
  display: flex;
  flex-direction: column;
}
.abs-dashboard .integration-card .between {
  margin-top: auto;
  padding-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
}
.abs-dashboard .integration-card .status {
  font-size: 11px;
}
.abs-dashboard .integration-card .btn {
  font-size: 12px;
}
.abs-dashboard .integration-card .tool-symbol {
  border: 1px solid #e9e2ef;
  border-radius: 12px;
  background: #faf8fc;
}
.abs-dashboard .risk-item {
  padding: 26px;
  gap: 22px;
}
.abs-dashboard .risk-item h3 {
  font-size: 19px;
  line-height: 1.4;
}
.abs-dashboard .risk-item p {
  font-size: 14px;
  line-height: 1.8;
}
.abs-dashboard .recommendation {
  background: #f4f0f8;
  border-radius: 9px;
  padding: 18px;
  font-size: 13px;
  line-height: 1.8;
}
.abs-dashboard dialog {
  border: 1px solid #dcd2e7;
  border-radius: 16px;
  box-shadow: 0 30px 100px #22162d30;
  padding: 28px;
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
.abs-dashboard dialog::backdrop {
  background: #27203270;
  backdrop-filter: blur(3px);
}
.abs-dashboard dialog label {
  font-size: 13px;
  line-height: 1.6;
  display: grid;
  gap: 7px;
}
.abs-dashboard dialog input,
.abs-dashboard dialog textarea,
.abs-dashboard dialog select {
  font-size: 16px;
  min-height: 45px;
}
.abs-dashboard .modal-head {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #eae3f0;
}
.abs-dashboard .modal-head h2 {
  font-size: 23px;
}
.abs-dashboard .modal-actions {
  padding-top: 20px;
  margin-top: 24px;
  border-top: 1px solid #eae3f0;
  gap: 12px;
}
.abs-dashboard button:disabled,
.abs-dashboard select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.abs-dashboard .empty {
  font-size: 13px;
  line-height: 1.8;
  padding: 28px 20px;
  border: 1px dashed #d8cee2;
  border-radius: 9px;
  color: #74687e;
}
.abs-dashboard .app-footer {
  font-size: 11px;
  padding: 22px 30px;
  gap: 18px;
  line-height: 1.7;
  flex-wrap: wrap;
}
.sidebar-backdrop {
  display: none;
}
@media (max-width: 1150px) {
  .workspace-shortcuts {
    grid-template-columns: 1fr;
  }
  .workspace-shortcuts > a {
    padding: 14px 18px;
  }
  .workspace-shortcuts span {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .workspace-shortcuts small {
    margin: 0;
  }
  .abs-dashboard .overview-banner {
    flex-wrap: wrap;
  }
  .abs-dashboard .overview-banner > a {
    margin-left: 0;
  }
}
@media (max-width: 960px) {
  .sidebar-backdrop.visible {
    display: block;
    position: fixed;
    inset: 76px 0 0;
    border: 0;
    background: #25203870;
    backdrop-filter: blur(2px);
    z-index: 29;
  }
  .abs-dashboard .sidebar {
    top: 76px;
    bottom: 0;
    box-shadow: 12px 0 35px #30203912;
  }
  .abs-dashboard.sidebar-visible {
    overflow: hidden;
  }
  .abs-dashboard .app-menu {
    min-width: 44px;
    min-height: 44px;
  }
  .abs-dashboard .sidebar nav a {
    min-height: 46px;
  }
  .abs-dashboard .sidebar-tip {
    display: none;
  }
}
@media (max-width: 700px) {
  .abs-site .section-heading > p {
    margin-top: 0;
  }
  .abs-site #contact-form {
    padding: 20px 14px;
  }
  .abs-site .faq details {
    padding: 0 16px;
  }
  .abs-dashboard .dash-heading .actions {
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
  }
  .abs-dashboard #project-select {
    flex: 1;
    min-width: 0;
  }
  .abs-dashboard .dash-heading .actions > .btn {
    flex: 1;
    justify-content: center;
  }
  .abs-dashboard .toolbar {
    padding: 12px;
    gap: 12px;
  }
  .abs-dashboard .search-field {
    width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
  .abs-dashboard .filters {
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
  }
  .abs-dashboard .filters > select {
    flex: 1;
    min-width: 0;
  }
  .planning-context {
    font-size: 11px;
    gap: 7px;
    margin-bottom: 18px;
  }
  .abs-dashboard .panel-heading,
  .abs-dashboard .panel-body {
    padding: 20px;
  }
  .abs-dashboard .panel-heading {
    flex-wrap: wrap;
  }
  .abs-dashboard .kpi {
    padding: 19px 16px;
  }
  .abs-dashboard .kpi-value {
    font-size: 31px !important;
  }
  .abs-dashboard .kpi-grid {
    gap: 12px;
  }
  .abs-dashboard .overview-banner {
    padding: 20px;
  }
  .workspace-shortcuts {
    gap: 10px;
  }
  .workspace-shortcuts span {
    display: block;
  }
  .workspace-shortcuts small {
    margin-top: 4px;
  }
  .abs-dashboard .integration-card,
  .abs-dashboard .report-card,
  .abs-dashboard .member-card {
    padding: 22px;
  }
  .abs-dashboard .risk-item {
    padding: 20px;
    gap: 14px;
  }
  .abs-dashboard .risk-item h3 {
    font-size: 17px;
  }
  .abs-dashboard .risk-item .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .abs-dashboard .risk-item .btn {
    justify-content: center;
  }
  .abs-dashboard dialog {
    padding: 22px 18px;
  }
  .abs-dashboard .demo-label {
    font-size: 10px;
    padding: 6px 8px;
  }
  .abs-dashboard .app-footer {
    padding: 22px 16px;
  }
  .abs-dashboard .crumb > span:first-of-type {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-shortcuts a,
  .clear-search {
    transition: none;
  }
}

/* Native controls stay accessible while sharing a consistent visual treatment. */
.inline-arrow {
  width: 18px; height: 18px; display: inline-block; vertical-align: -3px;
  flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.abs-site.abs-site #contact-form select,
.abs-dashboard.abs-dashboard select {
  appearance: none; -webkit-appearance: none; box-sizing: border-box;
  min-height: 48px; max-width: 100%; border: 1px solid #cfc5df;
  border-radius: 8px; padding: 12px 42px 12px 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23625080' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  color: #302d3b; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer;
}
.abs-site.abs-site #contact-form select { width: 100%; font-weight: 400; }
.abs-site.abs-site #contact-form select:focus-visible,
.abs-dashboard.abs-dashboard select:focus-visible {
  outline: 3px solid #9b8ec766; outline-offset: 2px; border-color: #625080;
}
.abs-dashboard .dashboard-grid { align-items: start; }
.abs-dashboard .dashboard-grid > *, .abs-dashboard .panel { min-width: 0; }
.abs-dashboard .activity-list li {
  padding: 0 0 22px 22px; margin-left: 5px; border-bottom: 0;
}
.abs-dashboard .activity-list li::before { top: 6px; }
.abs-dashboard .activity-list p { font-size: 13px; line-height: 1.7; }
.abs-dashboard .activity-list li:last-child { padding-bottom: 0; }
.abs-dashboard .table-wrap { max-width: 100%; overscroll-behavior-inline: contain; }
@media(max-width: 700px) {
  .abs-site.abs-site #contact-form input,
  .abs-site.abs-site #contact-form select,
  .abs-site.abs-site #contact-form textarea,
  .abs-dashboard.abs-dashboard input,
  .abs-dashboard.abs-dashboard select,
  .abs-dashboard.abs-dashboard textarea { font-size: 16px; }
  .abs-dashboard .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .abs-dashboard .panel-heading .text-link { min-height: 44px; }
  .abs-dashboard dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); overflow: auto; }
}
