:root {
    --bg: #f7f8f4;
    --surface: #ffffff;
    --surface-strong: #eef4ef;
    --ink: #17191c;
    --muted: #687076;
    --line: #dfe6df;
    --brand: #0f8b8d;
    --brand-dark: #0b6062;
    --accent: #f2b705;
    --coral: #ef476f;
    --success: #178a54;
    --danger: #c73535;
    --shadow: 0 18px 45px rgba(23, 25, 28, 0.1);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

img,
svg {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    padding: 0.78rem 0.9rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.15);
}

label {
    display: grid;
    gap: 0.45rem;
    color: var(--ink);
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 0.9rem;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.88rem;
    text-transform: uppercase;
}

.container {
    width: min(100% - 1.25rem, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.brand span {
    color: var(--brand);
}

.nav-menu,
.nav-actions {
    display: none;
}

.logout-form {
    margin: 0;
}

.security-honeypot {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.field-error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(199, 53, 53, 0.15) !important;
}

.nav-menu {
    position: absolute;
    top: 72px;
    left: 0.625rem;
    right: 0.625rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.nav-menu.is-open {
    display: grid;
    gap: 0.8rem;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(26, 27, 31, 0.08);
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--ink);
}

.nav-toggle:hover span {
    background: var(--brand-dark);
}

.nav-mobile-actions {
    display: none;
    gap: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.nav-mobile-actions .logout-form,
.nav-mobile-actions .btn {
    width: 100%;
}

.icon-button,
.btn {
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.75rem 1rem;
    font-weight: 800;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.icon-button:hover {
    transform: translateY(-1px);
}

.nav-toggle {
    border: 1px solid var(--line);
    display: inline-flex;
    padding: 0;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--ink);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-sm {
    min-height: 36px;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.user-chip {
    display: none;
}

.notification-bell {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
}

.notification-bell:hover {
    color: var(--brand);
    border-color: rgba(0, 128, 128, 0.35);
}

.notification-bell svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notification-bell span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding-inline: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    border: 2px solid #fff;
}

.nav-bell-desktop {
    display: none;
}

.nav-bell-mobile {
    width: 38px;
    height: 38px;
    margin-top: 0.35rem;
}

.flash-wrap {
    display: grid;
    gap: 0.6rem;
    padding-block: 1rem 0;
}

.alert {
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    font-weight: 700;
}

.alert-success {
    background: #e7f6ee;
    color: #0e6b41;
    border: 1px solid #b8e4cb;
}

.alert-error {
    background: #fff0f0;
    color: #9f2626;
    border: 1px solid #f3b7b7;
}

.hero {
    min-height: 680px;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 14, 18, 0.9), rgba(10, 14, 18, 0.45)),
        url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1800&q=80") center/cover;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    display: grid;
    gap: 1.5rem;
    padding-block: 6rem 3rem;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 0.65rem;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.profile-cover .eyebrow {
    color: var(--accent);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
}

h1 {
    font-size: 2.45rem;
}

h2 {
    font-size: 1.55rem;
}

h3 {
    font-size: 1.1rem;
}

.hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
}

.hero-actions,
.search-row,
.row-meta,
.card-topline,
.panel-header,
.dashboard-title,
.results-heading,
.inline-form,
.toolbar-form {
    display: flex;
    gap: 0.75rem;
}

.hero-actions,
.search-row,
.dashboard-title,
.results-heading,
.toolbar-form {
    flex-wrap: wrap;
}

.hero-search {
    max-width: 720px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.search-row input {
    flex: 1 1 220px;
}

.section {
    padding-block: 3.5rem;
}

.muted-section {
    background: var(--surface-strong);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-heading a {
    color: var(--brand-dark);
    font-weight: 900;
}

.stats-grid,
.project-grid,
.talent-grid,
.metric-grid,
.pricing-grid {
    display: grid;
    gap: 1rem;
}

.stat-card,
.project-card,
.talent-card,
.panel,
.filters-panel,
.project-row,
.talent-row,
.auth-panel,
.auth-aside,
.conversation-list,
.chat-panel,
.metric-card,
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(23, 25, 28, 0.06);
}

.stat-card,
.project-card,
.talent-card,
.panel,
.filters-panel,
.project-row,
.talent-row,
.auth-panel,
.auth-aside,
.metric-card,
.pricing-card {
    padding: 1rem;
}

.stat-card strong,
.metric-card strong {
    display: block;
    font-size: 1.45rem;
}

.stat-card span,
.metric-card span,
.muted,
.form-note,
.form-help,
.row-meta,
.card-topline,
.empty-copy,
.notification-item small {
    color: var(--muted);
}

.card-topline {
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.tag-list,
.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.tag-list {
    margin-top: 1rem;
}

.tag-list span,
.category-cloud a,
.status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    background: #edf7f6;
    color: var(--brand-dark);
    padding: 0.35rem 0.7rem;
    font-weight: 800;
    font-size: 0.85rem;
}

.status {
    background: #fff7d7;
    color: #745000;
}

.talent-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.talent-card > strong {
    grid-column: 1 / -1;
}

.avatar-sm,
.avatar-lg,
.avatar-xl {
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--coral));
    color: #fff;
    font-weight: 900;
    flex: 0 0 auto;
    overflow: hidden;
}

.avatar-sm img,
.avatar-lg img,
.avatar-xl img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.avatar-sm.has-photo,
.avatar-lg.has-photo,
.avatar-xl.has-photo {
    background: var(--surface);
    border: 1px solid var(--line);
}

.avatar-sm {
    width: 38px;
    height: 38px;
}

.avatar-lg {
    width: 58px;
    height: 58px;
    font-size: 1.35rem;
}

.avatar-xl {
    width: 92px;
    height: 92px;
    font-size: 2rem;
}

.avatar-upload-preview {
    display: block;
    margin-block: 0.45rem 0.7rem;
}

.rating {
    color: #9a6a00;
    font-weight: 900;
}

.page-hero,
.profile-cover {
    background: linear-gradient(135deg, #12201d, #145b5d 52%, #203126);
    color: #fff;
    padding-block: 3rem;
}

.compact-hero {
    padding-block: 3.5rem;
}

.project-hero {
    padding-block: 2.5rem;
}

.project-title,
.profile-header {
    display: grid;
    gap: 1.25rem;
}

.project-budget {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    padding: 1rem;
}

.project-budget span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
}

.project-budget strong {
    font-size: 1.35rem;
}

.browse-layout,
.profile-layout,
.dashboard-shell,
.messages-shell {
    display: grid;
    gap: 1rem;
}

.filters-panel form,
.form-card,
.stack,
.compact-list,
.dashboard-main,
.profile-main,
.profile-side,
.conversation-list {
    display: grid;
    gap: 1rem;
}

.project-list,
.talent-list {
    display: grid;
    gap: 1rem;
}

.project-row,
.talent-row {
    display: grid;
    gap: 1rem;
}

.project-row aside {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    color: var(--muted);
}

.project-row aside strong {
    color: var(--ink);
}

.talent-row {
    grid-template-columns: auto 1fr;
}

.talent-row-main {
    min-width: 0;
}

.row-title {
    display: grid;
    gap: 0.75rem;
}

.row-meta {
    flex-wrap: wrap;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.dashboard-shell {
    padding-block: 2rem 4rem;
}

.dashboard-sidebar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.sidebar-link {
    flex: 0 0 auto;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    font-weight: 800;
}

.dashboard-title {
    align-items: center;
    justify-content: space-between;
}

.metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-header {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.table-wrap {
    overflow-x: auto;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid .wide,
.checkbox-grid {
    grid-column: 1 / -1;
}

.checkbox-grid {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
}

.checkbox-grid legend {
    font-weight: 900;
    padding-inline: 0.4rem;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
}

.check-row input {
    width: auto;
}

.auth-shell {
    min-height: calc(100vh - 72px);
    display: grid;
    gap: 1rem;
    align-items: center;
    width: min(100% - 1.25rem, 1060px);
    margin-inline: auto;
    padding-block: 2rem;
}

.auth-shell.compact {
    width: min(100% - 1.25rem, 560px);
}

.auth-panel,
.auth-aside {
    padding: 1.25rem;
}

.auth-aside {
    min-height: 260px;
    display: grid;
    align-content: end;
    color: #fff;
    background:
        linear-gradient(0deg, rgba(9, 18, 20, 0.82), rgba(9, 18, 20, 0.3)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1100&q=80") center/cover;
}

.password-rules {
    margin: -0.35rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.password-rules li.is-valid {
    color: var(--success);
    font-weight: 800;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.42rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle.is-visible {
    color: var(--brand-dark);
    background: #edf7f6;
}

.password-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flush {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.profile-cover {
    padding-block: 2.5rem;
}

.profile-header {
    align-items: center;
}

.relaxed {
    margin-top: 1.25rem;
}

.review-item,
.notification-item,
.proposal-card,
.list-item,
.compact-list article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    background: #fff;
}

.proposal-card {
    display: grid;
    gap: 0.7rem;
}

.inline-form {
    align-items: center;
    flex-wrap: wrap;
}

.inline-form select {
    width: auto;
    min-width: 160px;
}

.user-action-stack {
    display: grid;
    gap: 0.6rem;
    justify-items: start;
}

.messages-shell {
    padding-block: 1.5rem 4rem;
}

.conversation-list {
    padding: 1rem;
}

.conversation-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius);
}

.conversation-item.is-active,
.conversation-item:hover {
    background: var(--surface-strong);
    color: var(--ink);
}

.conversation-item span:last-child {
    display: grid;
}

.chat-panel {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    padding: 1rem;
    flex: 1;
    max-height: 62vh;
    overflow-y: auto;
}

.chat-message {
    max-width: min(82%, 560px);
    background: var(--surface-strong);
    border-radius: var(--radius);
    padding: 0.75rem;
}

.chat-message.is-own {
    justify-self: end;
    background: #dff4f1;
}

.chat-message.has-sensitive-contact {
    border: 1px solid #f2c1c1;
    background: #fff7ed;
}

.chat-message p {
    margin: 0.25rem 0;
}

.chat-message small {
    color: var(--muted);
}

.chat-audit-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    background: #f8fbff;
}

.chat-audit-banner span {
    color: var(--muted);
    font-size: 0.92rem;
}

.message-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.35rem 0;
}

.message-flags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    background: #edf7f6;
    color: var(--brand-dark);
    padding: 0.22rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.message-flags span.is-warning {
    background: #fff1f1;
    color: var(--danger);
}

.chat-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid var(--line);
}

.chat-warning {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius);
    border: 1px solid #f2c1c1;
    background: #fff1f1;
    color: var(--danger);
    font-weight: 800;
}

.empty-state {
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
}

.split-panel {
    display: grid;
    gap: 1rem;
}

.list-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.tag-admin-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-content: start;
}

.tag-admin-list form {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #edf7f6;
    color: var(--brand-dark);
    border-radius: 999px;
    padding: 0.4rem 0.45rem 0.4rem 0.8rem;
}

.tag-admin-list button {
    border: 0;
    background: var(--brand);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.gateway-list {
    display: grid;
    gap: 0.75rem;
}

.gateway-option {
    display: grid;
    gap: 0.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 0.85rem;
}

.gateway-option span {
    color: var(--muted);
}

.gateway-option em {
    color: var(--brand-dark);
    font-style: normal;
    font-weight: 900;
}

.form-help {
    margin: 0;
    font-size: 0.9rem;
}

.checkout-panel {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
}

.compact-admin-form {
    min-width: 180px;
}

.compact-admin-form input,
.compact-admin-form select {
    padding-block: 0.58rem;
}

.error-text {
    color: var(--danger);
    font-weight: 800;
}

.toolbar-form input,
.toolbar-form select {
    width: auto;
    min-width: 160px;
}

.activity-bars {
    min-height: 220px;
    display: flex;
    align-items: end;
    gap: 1rem;
    padding-top: 2rem;
}

.activity-bars div {
    display: grid;
    gap: 0.5rem;
    justify-items: center;
}

.activity-bars span {
    display: block;
    width: 34px;
    background: linear-gradient(180deg, var(--coral), var(--brand));
    border-radius: 7px 7px 0 0;
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card {
    display: grid;
    gap: 1rem;
}

.pricing-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.pricing-card.is-featured {
    background: linear-gradient(135deg, #0f8b8d, #17191c);
    color: #fff;
}

.premium-note {
    color: var(--muted);
}

.premium-contact {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding-top: 1rem;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.pagination a {
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    font-weight: 900;
}

.pagination a.is-active {
    background: var(--brand);
    color: #fff;
}

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    color: #506070;
    padding-block: 1.45rem;
}

.footer-credits {
    display: grid;
    gap: 0.9rem;
    align-items: center;
    text-align: center;
}

.footer-credits p {
    margin: 0;
}

.footer-credits a {
    color: #06142b;
    font-weight: 900;
}

.whatsapp-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 5.25rem;
    z-index: 70;
    display: grid;
    gap: 0.85rem;
    justify-items: end;
}

.whatsapp-float {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.36);
    cursor: pointer;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #1ebc59;
    transform: translateY(-1px);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.whatsapp-panel {
    width: min(92vw, 340px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.whatsapp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.whatsapp-panel-header button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #edf7f6;
    color: var(--brand-dark);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.whatsapp-form {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.error-state {
    width: min(100% - 1.25rem, 560px);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
}

@media (max-width: 919px) {
    .navbar {
        gap: 0.75rem;
    }

    .nav-menu.is-open .nav-mobile-actions {
        display: grid;
    }

    .nav-menu > a:not(.notification-bell) {
        padding: 0.75rem 0.85rem;
        border-radius: var(--radius);
        font-weight: 800;
        color: var(--ink);
        background: #fff;
        border: 1px solid var(--line);
    }

    .nav-menu > a:not(.notification-bell):hover {
        color: var(--brand-dark);
        border-color: rgba(15, 139, 141, 0.35);
    }
}

@media (min-width: 680px) {
    h1 {
        font-size: 3.25rem;
    }

    .project-grid,
    .talent-grid,
    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .metric-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-shell {
        grid-template-columns: 1fr 0.9fr;
    }

    .auth-shell.compact {
        grid-template-columns: 1fr;
    }

    .project-title,
    .profile-header {
        grid-template-columns: 1fr auto;
    }

    .profile-header {
        grid-template-columns: auto 1fr auto;
    }

    .chat-form {
        grid-template-columns: 1fr auto;
    }
}

@media (min-width: 920px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu,
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-menu {
        position: static;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-mobile-actions {
        display: none;
    }

    .nav-bell-mobile {
        display: none;
    }

    .nav-bell-desktop {
        display: inline-grid;
    }

    .user-chip {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .user-chip span {
        display: inline-grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--ink);
        color: #fff;
        font-weight: 900;
    }

    .user-chip .has-photo {
        background: var(--surface);
        border: 1px solid var(--line);
    }

    .user-chip div {
        display: grid;
        line-height: 1.1;
    }

    .user-chip small {
        color: var(--muted);
    }

    .hero-content {
        padding-block: 8rem 4rem;
    }

    .browse-layout {
        grid-template-columns: 280px 1fr;
        align-items: start;
    }

    .profile-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
        align-items: start;
    }

    .dashboard-shell {
        grid-template-columns: 240px minmax(0, 1fr);
        align-items: start;
    }

    .dashboard-shell.single-column {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: sticky;
        top: 92px;
        display: grid;
        overflow: visible;
        padding: 1rem;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
    }

    .project-row {
        grid-template-columns: 1fr 220px;
    }

    .row-title {
        grid-template-columns: 1fr auto;
        align-items: start;
    }

    .messages-shell {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .split-panel {
        grid-template-columns: 360px 1fr;
    }

    .footer-credits {
        grid-template-columns: 1fr auto 1fr;
        text-align: left;
    }

    .footer-credits p:nth-child(2) {
        text-align: center;
    }

    .footer-credits p:nth-child(3) {
        text-align: right;
    }
}
