:root { --page-background: #eef4ff; --surface: rgba(247, 251, 255, 0.88); --surface-strong: #f7fbff; --surface-border: rgba(19, 99, 223, 0.12); --text-primary: #1a2d4e; --text-secondary: #4a6080; --accent: #1363df; --accent-strong: #0e4fae; --accent-soft: #e7f0ff; --highlight: #3d96f5; --shadow-soft: 0 18px 50px rgba(16, 44, 90, 0.1); --shadow-card: 0 20px 40px rgba(16, 44, 90, 0.08); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-height: 100vh; font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif; color: var(--text-primary); background: radial-gradient(75rem 35rem at -12% -18%, #dae8ff 0%, transparent 44%), radial-gradient(68rem 32rem at 115% -16%, #d8f3ff 0%, transparent 40%), linear-gradient(180deg, #eef4ff 0%, #f4f8ff 58%, #f3f7ff 100%); } a { color: inherit; } code { font-family: Consolas, "Courier New", monospace; } .page-shell { min-height: 100vh; display: flex; flex-direction: column; } .container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; } .site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(9px); background: linear-gradient(120deg, #102241 0%, #173a72 56%, #1c4c90 100%); border-bottom: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 8px 24px rgba(8, 20, 48, 0.26); } .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; } .brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: #f4f8ff; } .brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 0.95rem; background: linear-gradient(135deg, #1363df, #0e4fae); color: #fff; font-weight: 700; letter-spacing: 0.08em; box-shadow: 0 4px 14px rgba(14, 79, 174, 0.4); } .brand-copy { display: flex; flex-direction: column; line-height: 1.1; } .brand-copy strong { font-size: 1rem; color: #f4f8ff; } .brand-copy small { color: rgba(235, 243, 255, 0.65); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; } .site-nav { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; } .nav-link { text-decoration: none; color: rgba(235, 243, 255, 0.82); font-weight: 600; padding: 0.7rem 1rem; border-radius: 999px; transition: background-color 160ms ease, color 160ms ease, transform 160ms ease; } .nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); } .page-content { flex: 1; padding: 3.5rem 0 4rem; } .content-stack { display: grid; gap: 1.5rem; } .section-heading { max-width: 46rem; } .section-heading h1 { margin: 0.3rem 0 0.8rem; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.04em; } .section-heading p { margin: 0; color: var(--text-secondary); line-height: 1.8; font-size: 1.05rem; } .hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr); gap: 1.5rem; align-items: stretch; } .hero-copy, .hero-panel, .feature-card, .section-panel, .employee-card, .alert, .empty-state { background: var(--surface); border: 1px solid var(--surface-border); box-shadow: var(--shadow-card); } .hero-copy { padding: 3rem; border-radius: 2rem; } .eyebrow { display: inline-block; margin-bottom: 1rem; padding: 0.4rem 0.75rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; } .hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 0.98; letter-spacing: -0.04em; } .hero-text { max-width: 44rem; margin: 1.25rem 0 0; font-size: 1.12rem; line-height: 1.8; color: var(--text-secondary); } .hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; } .button { display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 1.35rem; border-radius: 999px; text-decoration: none; font-weight: 700; } .button-primary { background: linear-gradient(135deg, #1363df, #0e4fae); color: #fff; box-shadow: 0 18px 30px rgba(14, 79, 174, 0.28); } .button-secondary { background: rgba(19, 99, 223, 0.08); color: var(--accent-strong); } .hero-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border-radius: 1.8rem; } .panel-label { margin: 0 0 1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-secondary); } .hero-panel code { display: block; padding: 1rem 1.1rem; border-radius: 1.2rem; background: #102241; color: #d8ecff; line-height: 1.7; white-space: normal; } .route-callout { margin-top: 1.5rem; padding: 1rem 1.1rem; border-radius: 1.2rem; background: var(--surface-strong); } .route-callout span { display: block; margin-bottom: 0.45rem; color: var(--text-secondary); font-size: 0.92rem; } .route-callout a { color: var(--highlight); font-weight: 700; text-decoration: none; } .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; } .feature-card { padding: 1.75rem; border-radius: 1.6rem; } .feature-card h2 { margin-top: 0; margin-bottom: 0.8rem; font-size: 1.25rem; } .feature-card p { margin: 0; color: var(--text-secondary); line-height: 1.7; } .employee-layout { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.5fr); gap: 1.5rem; align-items: start; } .controls-panel, .table-shell { overflow: hidden; background: linear-gradient(180deg, rgba(247, 251, 255, 0.92), rgba(238, 244, 255, 0.88)), var(--surface); } .controls-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; } .search-row { display: grid; grid-template-columns: minmax(0, 1fr); } .field-full { width: 100%; } .section-panel { padding: 1.75rem; border-radius: 1.8rem; } .panel-header { margin-bottom: 1.5rem; } .panel-header h2 { margin: 0 0 0.45rem; font-size: 1.45rem; } .panel-header p { margin: 0; color: var(--text-secondary); line-height: 1.7; } .employee-form { display: grid; gap: 1.25rem; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .field { display: grid; gap: 0.45rem; font-weight: 600; } .field span { font-size: 0.96rem; } .input { width: 100%; padding: 0.95rem 1rem; border: 1px solid rgba(19, 99, 223, 0.16); border-radius: 1rem; background: rgba(255, 255, 255, 0.92); color: var(--text-primary); font: inherit; } .input:focus { outline: 2px solid rgba(19, 99, 223, 0.22); border-color: rgba(19, 99, 223, 0.45); } .field-error { color: #a43d1f; font-size: 0.88rem; font-weight: 600; } .form-actions { display: flex; justify-content: flex-start; align-items: center; gap: 0.85rem; } .button { border: 0; cursor: pointer; } .htmx-indicator { display: none; } .htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline-flex; } .inline-indicator { color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; } .alert, .empty-state { padding: 1rem 1.15rem; border-radius: 1.2rem; } .alert-success { background: rgba(231, 240, 255, 0.92); color: var(--accent-strong); } .alert-error { background: rgba(239, 124, 77, 0.14); color: #8f3518; } .empty-state p { margin: 0; color: var(--text-secondary); line-height: 1.7; } .empty-state p + p { margin-top: 0.45rem; } .employee-cards { display: grid; gap: 1rem; } .employee-card { padding: 1.15rem; border-radius: 1.3rem; } .employee-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; } .employee-card-top h3 { margin: 0; font-size: 1.05rem; } .employee-card-top span { padding: 0.4rem 0.7rem; border-radius: 999px; background: rgba(19, 99, 223, 0.09); color: var(--accent-strong); font-size: 0.78rem; font-weight: 700; } .employee-card p { margin: 0 0 1rem; color: var(--text-secondary); } .employee-meta { display: grid; gap: 0.75rem; margin: 0; } .employee-meta div { display: grid; gap: 0.2rem; } .employee-meta dt { color: var(--text-secondary); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; } .employee-meta dd { margin: 0; font-weight: 600; } .stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; } .stat-card { padding: 1rem; border-radius: 1.3rem; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(19, 99, 223, 0.08); } .stat-card span { display: block; color: var(--text-secondary); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; } .stat-card strong { display: block; margin-top: 0.45rem; font-size: 1.7rem; line-height: 1; } .summary-feature { margin-top: 1rem; padding: 1.15rem; border-radius: 1.3rem; background: linear-gradient(135deg, rgba(19, 99, 223, 0.10), rgba(61, 150, 245, 0.10)); } .summary-label { display: block; color: var(--text-secondary); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; } .summary-feature h3 { margin: 0.55rem 0 0.3rem; font-size: 1.35rem; } .summary-feature p { margin: 0; color: var(--text-secondary); } .table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; padding: 0.9rem 1rem; border: 1px solid rgba(19, 99, 223, 0.08); border-radius: 1rem; background: rgba(255, 255, 255, 0.58); } .table-pill { display: inline-flex; align-items: center; padding: 0.5rem 0.8rem; border-radius: 999px; background: rgba(19, 99, 223, 0.12); color: var(--accent-strong); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; } .table-caption { color: var(--text-secondary); font-size: 0.92rem; } .directory-panel .tabulator-host { min-height: 38rem; } .tabulator-host .tabulator { border: 1px solid var(--surface-border); border-radius: 1.35rem; overflow: hidden; background: rgba(255, 255, 255, 0.82); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 18px 35px rgba(16, 44, 90, 0.08); } .tabulator-host .tabulator-header { border-bottom: 1px solid rgba(19, 99, 223, 0.08); background: linear-gradient(180deg, rgba(19, 99, 223, 0.14), rgba(19, 99, 223, 0.08)); } .tabulator-host .tabulator-header .tabulator-col { min-height: 3.25rem; background: transparent; border-right: 1px solid rgba(19, 99, 223, 0.06); } .tabulator-host .tabulator-header .tabulator-col:last-child { border-right: 0; } .tabulator-host .tabulator-header .tabulator-col .tabulator-col-content { padding: 0.9rem 0.95rem 0.85rem; } .tabulator-host .tabulator-header .tabulator-col .tabulator-col-title { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-strong); } .tabulator-host .tabulator-col, .tabulator-host .tabulator-cell { border-right: 1px solid rgba(19, 99, 223, 0.06); } .tabulator-host .tabulator-row .tabulator-cell:last-child { border-right: 0; } .tabulator-host .tabulator-row { background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid rgba(19, 99, 223, 0.06); transition: background-color 160ms ease, transform 160ms ease; } .tabulator-host .tabulator-row:nth-child(even) { background: rgba(238, 244, 255, 0.82); } .tabulator-host .tabulator-row:hover { background: rgba(231, 240, 255, 0.72); } .tabulator-host .tabulator-row.tabulator-selected { background: rgba(19, 99, 223, 0.18); } .tabulator-host .tabulator-cell { padding: 0.95rem 0.95rem; font-size: 0.96rem; line-height: 1.4; } .tabulator-host .tabulator-row .tabulator-cell:first-child { font-weight: 700; color: var(--text-primary); } .tabulator-host .tabulator-footer { padding: 0.55rem 0.7rem; background: rgba(255, 255, 255, 0.88); border-top: 1px solid rgba(19, 99, 223, 0.08); } .tabulator-host .tabulator-footer .tabulator-paginator { font-family: inherit; } .tabulator-host .tabulator-footer .tabulator-page { margin: 0 0.2rem; padding: 0.45rem 0.7rem; border: 1px solid rgba(19, 99, 223, 0.1); border-radius: 0.8rem; background: rgba(255, 255, 255, 0.9); color: var(--text-secondary); font-weight: 700; } .tabulator-host .tabulator-footer .tabulator-page.active, .tabulator-host .tabulator-footer .tabulator-page:hover { background: linear-gradient(135deg, #1363df, #0e4fae); border-color: transparent; color: #fff; } .tabulator-host .tabulator-footer .tabulator-page:disabled { opacity: 0.45; } .tabulator-host .tabulator-placeholder { padding: 2.5rem 1rem; color: var(--text-secondary); font-size: 1rem; font-weight: 600; } .site-footer { margin-top: auto; border-top: 1px solid rgba(19, 99, 223, 0.08); background: rgba(247, 251, 255, 0.72); } .footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0 2rem; color: var(--text-secondary); font-size: 0.95rem; } .footer-inner p { margin: 0; } @media (max-width: 860px) { .header-inner, .footer-inner { flex-direction: column; align-items: flex-start; } .hero, .feature-grid, .employee-layout { grid-template-columns: 1fr; } .controls-header, .table-toolbar { flex-direction: column; align-items: flex-start; } .hero-copy, .hero-panel { padding: 2rem; } .form-grid { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: 1fr; } .page-content { padding-top: 2rem; } } @media (max-width: 560px) { .container { width: min(100% - 1.25rem, 1120px); } .site-nav { width: 100%; } .nav-link { width: 100%; text-align: center; } .hero h1 { font-size: 2.5rem; } }