@charset "UTF-8";
@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";

/* src/styles/styles.scss */
:root {
  --color-primary: #2563eb;
  --color-primary-600: #1d4ed8;
  --color-primary-700: #1e40af;
  --color-primary-050: #eff6ff;
  --color-primary-100: #dbeafe;
  --primary-color: #2563eb;
  --primary-light: #dbeafe;
  --primary-dark: #1e40af;
  --sidebar-bg: #2563eb;
  --header-bg: #ffffff;
  --color-success: #16a34a;
  --color-success-050: #f0fdf4;
  --color-danger: #dc2626;
  --color-danger-050: #fef2f2;
  --color-warning: #d97706;
  --color-info: #0ea5e9;
  --att-present: #16a34a;
  --att-present-bg: #dcfce7;
  --att-absent: #dc2626;
  --att-absent-bg: #fee2e2;
  --att-late: #d97706;
  --att-late-bg: #fef3c7;
  --att-half_day: #ca8a04;
  --att-half_day-bg: #fef9c3;
  --att-leave: #2563eb;
  --att-leave-bg: #dbeafe;
  --att-holiday: #6b7280;
  --att-holiday-bg: #f3f4f6;
  --att-not_marked: #ef4444;
  --att-not_marked-bg: #fef2f2;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;
  --color-sidebar: #0f172a;
  --color-sidebar-text: #cbd5e1;
  --sidebar-hover-bg: rgba(255, 255, 255, 0.1);
  --sidebar-active-bg: rgba(255, 255, 255, 0.2);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --font-sans:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  --font-size-base: 15px;
  --line-height-base: 1.5;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  cursor: pointer;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}
h1 {
  font-size: 1.75rem;
}
h2 {
  font-size: 1.375rem;
}
h3 {
  font-size: 1.125rem;
}
h4 {
  font-size: 1rem;
}
p {
  color: var(--color-text);
}
.text-muted {
  color: var(--color-text-muted);
}
.text-subtle {
  color: var(--color-text-subtle);
}
.text-center {
  text-align: center;
}
small,
.text-sm {
  font-size: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}
.btn:disabled,
.btn.is-loading {
  opacity: 0.65;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-600);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--color-primary-050);
  border-color: var(--color-primary-100);
}
.btn-danger {
  background: var(--color-danger);
  color: #fff;
}
.btn-block {
  width: 100%;
}
.btn-link {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 0;
  font-weight: 600;
}
.btn-link:hover {
  text-decoration: underline;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
}
.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control::placeholder {
  color: var(--color-text-subtle);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}
.form-control.is-invalid {
  border-color: var(--color-danger);
}
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.input-group .form-control {
  padding-right: var(--space-12);
}
.input-group .input-affix {
  position: absolute;
  right: var(--space-3);
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.form-error {
  color: var(--color-danger);
  font-size: 0.8rem;
}
.form-hint {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  cursor: pointer;
}
.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}
.att-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.att-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.att-cell {
  font-weight: 600;
}
.att-badge--present {
  background: var(--att-present-bg);
  color: var(--att-present);
}
.att-dot--present {
  background: var(--att-present);
}
.att-cell--present {
  background: var(--att-present-bg);
  color: var(--att-present);
}
.att-badge--absent {
  background: var(--att-absent-bg);
  color: var(--att-absent);
}
.att-dot--absent {
  background: var(--att-absent);
}
.att-cell--absent {
  background: var(--att-absent-bg);
  color: var(--att-absent);
}
.att-badge--late {
  background: var(--att-late-bg);
  color: var(--att-late);
}
.att-dot--late {
  background: var(--att-late);
}
.att-cell--late {
  background: var(--att-late-bg);
  color: var(--att-late);
}
.att-badge--half_day {
  background: var(--att-half_day-bg);
  color: var(--att-half_day);
}
.att-dot--half_day {
  background: var(--att-half_day);
}
.att-cell--half_day {
  background: var(--att-half_day-bg);
  color: var(--att-half_day);
}
.att-badge--leave {
  background: var(--att-leave-bg);
  color: var(--att-leave);
}
.att-dot--leave {
  background: var(--att-leave);
}
.att-cell--leave {
  background: var(--att-leave-bg);
  color: var(--att-leave);
}
.att-badge--holiday {
  background: var(--att-holiday-bg);
  color: var(--att-holiday);
}
.att-dot--holiday {
  background: var(--att-holiday);
}
.att-cell--holiday {
  background: var(--att-holiday-bg);
  color: var(--att-holiday);
}
.att-badge--not_marked {
  background: var(--att-not_marked-bg);
  color: var(--att-not_marked);
}
.att-dot--not_marked {
  background: var(--att-not_marked);
}
.att-cell--not_marked {
  background: var(--att-not_marked-bg);
  color: var(--att-not_marked);
}
.att-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease,
    transform 0.08s ease;
}
.att-pill:hover:not(:disabled) {
  border-color: var(--color-text-subtle);
}
.att-pill:active:not(:disabled) {
  transform: scale(0.94);
}
.att-pill:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.att-pill.is-active--present {
  background: var(--att-present);
  border-color: var(--att-present);
  color: #fff;
}
.att-pill.is-active--absent {
  background: var(--att-absent);
  border-color: var(--att-absent);
  color: #fff;
}
.att-pill.is-active--late {
  background: var(--att-late);
  border-color: var(--att-late);
  color: #fff;
}
.att-pill.is-active--half_day {
  background: var(--att-half_day);
  border-color: var(--att-half_day);
  color: #fff;
}
.att-pill.is-active--leave {
  background: var(--att-leave);
  border-color: var(--att-leave);
  color: #fff;
}
.att-pill.is-active--holiday {
  background: var(--att-holiday);
  border-color: var(--att-holiday);
  color: #fff;
}
.att-pill.is-active--not_marked {
  background: var(--att-not_marked);
  border-color: var(--att-not_marked);
  color: #fff;
}
.pct--good {
  color: var(--att-present);
}
.pct--warn {
  color: var(--att-late);
}
.pct--bad {
  color: var(--att-absent);
}
.att-ring {
  --pct: 0;
  --ring-color: var(--att-present);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--ring-color) calc(var(--pct) * 1%), var(--color-border) 0);
}
.att-ring__inner {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.att-ring__inner b {
  font-size: 1.25rem;
  line-height: 1;
}
.att-ring__inner span {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  font-weight: 600;
}
.btn-sm {
  padding: 4px 10px;
  font-size: 0.78rem;
}
.pg-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.pg-head__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}
.pg-head__sub {
  color: var(--color-text-muted);
  margin: 2px 0 0;
  font-size: 0.9rem;
}
.pg-head .spacer {
  flex: 1;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}
.stat-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin: 0 0 6px;
}
.stat-card__value {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}
.stat-card__hint {
  font-size: 0.78rem;
  color: var(--color-text-subtle);
  margin: 4px 0 0;
}
.stat-card--warn {
  border-left-color: var(--color-warning);
}
.stat-card--danger {
  border-left-color: var(--color-danger);
}
.stat-card--ok {
  border-left-color: var(--color-success);
}
@media (max-width: 1024px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}
.ptable-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.ptable th,
.ptable td {
  padding: 10px var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.ptable th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: var(--color-bg);
}
.ptable tbody tr:hover {
  background: var(--color-primary-050);
}
.ptable tbody tr:last-child td {
  border-bottom: none;
}
.ptable__actions {
  display: flex;
  gap: 6px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.usebar {
  position: relative;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  overflow: hidden;
  min-width: 90px;
}
.usebar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}
.usebar__fill.is-warn {
  background: var(--color-warning);
}
.usebar__fill.is-danger {
  background: var(--color-danger);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--space-4);
}
.plan-card {
  position: relative;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.plan-card:hover {
  border-color: var(--color-primary);
}
.plan-card.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}
.plan-card.is-popular {
  border-color: var(--color-primary);
}
.plan-card__badge {
  position: absolute;
  top: -11px;
  left: 16px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.plan-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}
.plan-card__price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary-700);
}
.plan-card__price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.plan-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
}
.plan-card__features li {
  display: flex;
  gap: 6px;
  align-items: center;
}
.plan-card__features li.off {
  color: var(--color-text-subtle);
  text-decoration: line-through;
}
.wizard-steps {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.wizard-step.is-active {
  border-color: var(--color-primary);
  color: var(--color-primary-700);
  background: var(--color-primary-050);
}
.wizard-step.is-done {
  color: var(--color-success);
}
.wizard-step__num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-border);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 800;
}
.wizard-step.is-active .wizard-step__num {
  background: var(--color-primary);
  color: #fff;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.swatch {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
}
.swatch.is-selected {
  border-color: var(--color-text);
  box-shadow: 0 0 0 2px #fff inset;
}
.ptabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.ptab {
  padding: 10px var(--space-4);
  border: none;
  background: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.ptab.is-active {
  color: var(--color-primary-700);
  border-bottom-color: var(--color-primary);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.info-item__label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  margin: 0 0 2px;
}
.info-item__value {
  font-weight: 600;
  margin: 0;
}
.psection-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: var(--space-6) 0 var(--space-3);
}
.dist-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.dist-row__label {
  width: 90px;
  font-weight: 600;
}
.dist-row__bar {
  flex: 1;
  height: 18px;
  border-radius: var(--radius-sm);
  background: var(--color-border);
  overflow: hidden;
}
.dist-row__fill {
  height: 100%;
  background: var(--color-primary);
}
.dist-row__val {
  width: 40px;
  text-align: right;
  font-weight: 700;
}
.trend {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  padding-top: var(--space-2);
}
.trend__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.trend__bar {
  width: 60%;
  min-height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.trend__label {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.trend__val {
  font-size: 0.72rem;
  font-weight: 700;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  background: var(--color-primary-050);
  color: var(--color-primary-700);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.spacer {
  flex: 1;
}
@media print {
  .sidebar,
  .topbar,
  .no-print {
    display: none !important;
  }
  .content,
  .main,
  .shell {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  app-report-card {
    display: block;
  }
}

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