.surface,
.glass-panel,
.stat-card,
.feature-card,
.role-card,
.workflow-card,
.roadmap-card,
.metric-card,
.dashboard-card,
.auth-card,
.empty-state,
.table-panel,
.kanban-column {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.button,
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    color: var(--text);
}

.button svg,
.icon-button svg {
    width: 18px;
    height: 18px;
}

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

.button-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 14px 28px rgba(227, 6, 19, 0.22);
}

.button-secondary {
    color: white;
    background: var(--text);
}

.button-ghost {
    color: var(--text-soft);
    background: white;
    border-color: var(--border);
}

.button-danger {
    color: white;
    background: var(--danger);
}

.button-google {
    width: 100%;
    min-height: 50px;
    color: var(--text);
    background: white;
    border-color: var(--border);
    box-shadow: 0 10px 24px rgba(15, 49, 84, 0.08);
}

.google-mark {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background:
        conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0);
    font-size: 0.82rem;
    font-weight: 800;
}

.icon-button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--text);
    background: white;
    border-color: var(--border);
}

.stat-card,
.feature-card,
.role-card,
.workflow-card,
.roadmap-card,
.metric-card,
.dashboard-card,
.process-card,
.auth-card,
.empty-state {
    min-width: 0;
    padding: 22px;
}

.process-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.process-card::after {
    content: "";
    position: absolute;
    inset: auto -28px -34px auto;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.1);
}

.process-card > span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    font-weight: 800;
}

.process-card h3 {
    margin: 16px 0 8px;
    line-height: 1.2;
}

.process-card p {
    margin: 0;
    color: var(--muted);
}

.stat-card strong,
.metric-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 1.85rem;
    line-height: 1;
}

.stat-card span,
.metric-card span,
.feature-card p,
.role-card p,
.workflow-card p,
.roadmap-card p,
.dashboard-card p,
.empty-state p {
    color: var(--muted);
}

.feature-card i,
.role-card i,
.workflow-card i,
.empty-state i {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: var(--primary-strong);
    background: #e8f6ff;
}

.feature-card h3,
.role-card h3,
.workflow-card h3,
.roadmap-card h3,
.dashboard-card h3,
.empty-state h3 {
    margin: 14px 0 8px;
    color: var(--text);
    line-height: 1.22;
}

.tag-row,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    background: white;
    box-shadow: var(--shadow-soft);
    font-weight: 800;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    color: var(--text-soft);
    font-weight: 800;
}

.toggle-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
    background: var(--panel-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.tag-success {
    color: #047857;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.tag-warning {
    color: #92400e;
    background: #fef3c7;
    border-color: #fde68a;
}

.tag-danger {
    color: #b91c1c;
    background: #fee2e2;
    border-color: #fecaca;
}

.auth-shell {
    width: min(1120px, calc(100% - 40px));
    min-height: calc(100vh - 210px);
    margin: 64px auto 80px;
    display: grid;
    grid-template-columns: 0.96fr 1fr;
    gap: 22px;
    align-items: stretch;
}

.compact-auth {
    grid-template-columns: 0.86fr 0.74fr;
}

.auth-visual {
    overflow: hidden;
    min-height: 620px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(227, 6, 19, 0.13), rgba(24, 24, 27, 0.08)),
        white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.auth-visual img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--border);
}

.auth-card {
    padding: 34px;
}

.auth-card h1 {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.15;
}

.auth-card > p {
    margin: 0 0 24px;
    color: var(--muted);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    min-width: 32px;
    text-align: center;
}

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

.field {
    display: grid;
    gap: 8px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
}

.field textarea {
    min-height: 122px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(227, 6, 19, 0.68);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.11);
}

.segmented {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.segmented button {
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
    background: white;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 800;
}

.segmented button.is-active {
    color: var(--primary-strong);
    border-color: rgba(227, 6, 19, 0.42);
    background: #fff1f2;
}

.helper-text,
.form-note,
.status-line {
    color: var(--muted);
    font-size: 0.88rem;
}

.status-line {
    min-height: 22px;
}

.join-form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.dashboard-shell {
    width: min(1480px, calc(100% - 32px));
    margin: 34px auto 80px;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 22px;
}

.dashboard-sidebar {
    position: sticky;
    top: 94px;
    height: calc(100vh - 120px);
    padding: 18px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.sidebar-brand {
    align-items: flex-start;
}

.sidebar-brand small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.sidebar-nav {
    display: grid;
    gap: 6px;
    margin-top: 24px;
    overflow-y: auto;
    padding-right: 3px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--text-soft);
    font-weight: 800;
}

.sidebar-nav a:hover,
.sidebar-nav a.is-active {
    color: var(--primary-strong);
    background: #e8f6ff;
}

.sidebar-nav svg {
    width: 18px;
    height: 18px;
}

.sidebar-logout {
    margin-top: auto;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 18px;
    margin-bottom: 24px;
}

.dashboard-heading h1 {
    margin: 6px 0 6px;
    line-height: 1.1;
    font-size: 2.3rem;
}

.dashboard-heading p {
    margin: 0;
    color: var(--muted);
}

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

.data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.table-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.request-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.request-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 340px));
    gap: 16px;
    align-items: start;
    justify-content: start;
}

.request-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    box-shadow: 0 8px 28px rgba(24, 24, 27, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.request-card:hover {
    transform: translateY(-2px);
    border-color: #d4d4d8;
    box-shadow: 0 14px 34px rgba(24, 24, 27, 0.1);
}

.request-card__media {
    position: relative;
    height: 178px;
    overflow: hidden;
    background: #f1f5f9;
}

.request-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.request-card:hover .request-card__media img {
    transform: scale(1.025);
}

.request-card__media--icon {
    display: grid;
    place-items: center;
    color: var(--primary-strong);
    background: linear-gradient(135deg, #fff1f2, #f8fafc);
}

.request-card__media--icon > svg {
    width: 58px;
    height: 58px;
}

.request-card__initial {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--primary), #171717);
    font-size: 4rem;
    font-weight: 900;
}

.request-type-pill {
    position: absolute;
    left: 16px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 7px;
    color: white;
    background: rgba(15, 23, 42, 0.82);
    font-size: 0.76rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.request-type-pill svg,
.request-card__location svg,
.request-card__submitted svg {
    width: 14px;
    height: 14px;
}

.request-card__location {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 28px);
    padding: 6px 9px;
    border-radius: 7px;
    color: white;
    background: rgba(15, 23, 42, 0.78);
    font-size: 0.74rem;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.request-card__project-head {
    min-height: 84px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #fff7f7, #ffffff 62%);
}

.request-card__project-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    background: var(--primary);
}

.request-card__project-icon svg {
    width: 20px;
    height: 20px;
}

.request-card__project-head > div {
    min-width: 0;
}

.request-type-label,
.request-card__project-head strong {
    display: block;
}

.request-type-label {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.request-card__project-head strong {
    margin-top: 2px;
    color: var(--primary-strong);
    font-size: 1.05rem;
}

.request-card__body {
    padding: 17px;
}

.request-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.request-card__heading h3,
.request-card__heading p {
    margin: 0;
}

.request-card__heading h3 {
    font-size: 1.08rem;
    line-height: 1.25;
}

.request-card__heading p,
.request-card__summary {
    color: var(--muted);
}

.request-card__heading p {
    margin-top: 5px;
    font-size: 0.78rem;
}

.request-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.request-card__stats span {
    min-width: 0;
    padding: 8px 6px;
    border-radius: 9px;
    background: #f8fafc;
    text-align: center;
}

.request-card__stats small,
.request-card__stats strong {
    display: block;
}

.request-card__stats small {
    color: var(--muted);
    font-size: 0.61rem;
    font-weight: 700;
}

.request-card__stats strong {
    margin-top: 2px;
    color: var(--text);
    font-size: 0.92rem;
}

.request-card__store-detail {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.request-card__summary {
    min-height: 42px;
    margin: 12px 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.82rem;
    line-height: 1.55;
}

.request-card__submitted {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid #f1f1f3;
    color: var(--muted);
    font-size: 0.7rem;
}

.request-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 13px;
}

.request-card__actions .button {
    min-height: 36px;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 0.74rem;
}

.request-card__actions .button svg {
    width: 15px;
    height: 15px;
}

.button-whatsapp {
    color: white;
    background: #22a559;
    border-color: #22a559;
    box-shadow: 0 8px 18px rgba(34, 165, 89, 0.18);
}

.button-whatsapp:hover {
    color: white;
    background: #168447;
    border-color: #168447;
}

.admin-summary-note {
    margin-top: 18px;
}

/* Admin workspace */
.admin-dashboard {
    background:
        radial-gradient(circle at 96% 4%, rgba(227, 6, 19, 0.06), transparent 24%),
        #f7f7f8;
}

.admin-dashboard .dashboard-shell {
    width: min(1440px, calc(100% - 36px));
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.admin-dashboard .dashboard-sidebar {
    top: 24px;
    height: calc(100vh - 48px);
    padding: 16px;
    border: 0;
    border-radius: 18px;
    color: white;
    background:
        radial-gradient(circle at 15% 0%, rgba(227, 6, 19, 0.28), transparent 30%),
        #171717;
    box-shadow: 0 20px 50px rgba(24, 24, 27, 0.18);
}

.sidebar-brand-admin {
    min-height: 58px;
    padding: 8px;
    color: white;
}

.sidebar-brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: white;
    background: var(--primary);
    box-shadow: 0 10px 24px rgba(227, 6, 19, 0.28);
}

.sidebar-brand-mark svg {
    width: 21px;
    height: 21px;
}

.admin-dashboard .sidebar-brand small {
    color: #a1a1aa;
    font-size: 0.7rem;
}

.admin-dashboard .sidebar-nav {
    gap: 5px;
    margin-top: 26px;
}

.admin-dashboard .sidebar-nav a {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #d4d4d8;
    font-size: 0.86rem;
}

.admin-dashboard .sidebar-nav a:hover,
.admin-dashboard .sidebar-nav a.is-active {
    color: white;
    background: rgba(227, 6, 19, 0.92);
}

.admin-dashboard .sidebar-logout {
    min-height: 42px;
    color: #e4e4e7;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.admin-dashboard .dashboard-heading {
    margin-bottom: 18px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 28px rgba(24, 24, 27, 0.05);
}

.admin-dashboard .dashboard-heading h1 {
    margin: 5px 0 5px;
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.admin-dashboard .dashboard-heading p {
    max-width: 720px;
    font-size: 0.88rem;
}

.admin-dashboard .dashboard-kicker {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--primary-strong);
    background: #fff1f2;
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-dashboard .request-filter-row {
    gap: 7px;
    margin-bottom: 16px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: white;
    box-shadow: 0 5px 18px rgba(24, 24, 27, 0.04);
}

.admin-dashboard .request-filter-row .button {
    min-height: 34px;
    padding: 6px 13px;
    border-radius: 7px;
    font-size: 0.75rem;
}

.admin-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.admin-summary-grid .metric-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border-radius: 13px;
}

.admin-summary-grid .metric-card__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 10px;
}

.admin-summary-grid .metric-card__icon svg {
    width: 19px;
    height: 19px;
}

.metric-card__icon--amber {
    color: #9a3412 !important;
    background: #ffedd5;
}

.metric-card__icon--red {
    color: var(--primary-strong) !important;
    background: #ffe4e6;
}

.metric-card__icon--dark {
    color: white !important;
    background: #27272a;
}

.metric-card__icon--blue {
    color: #1d4ed8 !important;
    background: #dbeafe;
}

.admin-summary-grid .metric-card small {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 750;
}

.admin-summary-grid .metric-card strong {
    margin: 4px 0 0;
    font-size: 1.45rem;
}

.admin-dashboard .admin-summary-note {
    padding: 19px 20px;
    border-radius: 13px;
}

.admin-dashboard .admin-summary-note h3 {
    margin-top: 10px;
}

.admin-dashboard .admin-summary-note p {
    margin-bottom: 0;
    font-size: 0.86rem;
}

.sidebar-nav a {
    position: relative;
}

.notification-dot {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    padding: 0 5px;
    border-radius: 999px;
    color: white;
    background: var(--danger);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.notification-dot[hidden] {
    display: none;
}

.notification-list {
    width: min(820px, 100%);
    display: grid;
    gap: 10px;
}

.notification-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 18px rgba(24, 24, 27, 0.05);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.notification-item:hover {
    transform: translateY(-1px);
    border-color: #d4d4d8;
}

.notification-item.is-unread {
    border-color: rgba(227, 6, 19, 0.2);
    background: #fff8f8;
}

.notification-item__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--primary-strong);
    background: #ffe4e6;
}

.notification-item.is-read .notification-item__icon {
    color: #52525b;
    background: #f4f4f5;
}

.notification-item__icon svg {
    width: 20px;
    height: 20px;
}

.notification-item__content {
    min-width: 0;
}

.notification-item__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.notification-item__heading h3 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-item__heading time {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.notification-item__content p {
    display: -webkit-box;
    margin: 4px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

.notification-item__aside {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.notification-delete-button {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #a1a1aa;
    background: transparent;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease;
}

.notification-delete-button:hover {
    color: var(--danger);
    background: #fee2e2;
}

.notification-delete-button svg {
    width: 16px;
    height: 16px;
}

.is-removing {
    opacity: 0.35;
    transform: translateY(4px);
    transition: opacity 220ms ease, transform 220ms ease;
}

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

.approval-lock {
    max-width: 760px;
}

.approval-lock > i {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: var(--primary-strong);
    background: #e8f6ff;
}

.detail-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.detail-modal.is-visible {
    display: block;
}

.detail-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.46);
}

.detail-modal__panel {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(760px, calc(100% - 32px));
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    transform: translate(-50%, -50%);
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
}

.detail-modal__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.detail-modal__head h2 {
    margin: 4px 0 0;
    line-height: 1.15;
}

.detail-modal__head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-modal__panel--edit {
    width: min(900px, calc(100% - 32px));
}

.whatsapp-share-panel {
    width: min(460px, calc(100% - 32px));
}

.whatsapp-share-form {
    display: grid;
    gap: 16px;
}

.whatsapp-share-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    color: #166534;
    background: #f0fdf4;
    font-size: 0.78rem;
    font-weight: 700;
}

.whatsapp-share-preview svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.whatsapp-share-form .button {
    width: 100%;
}

.join-request-edit-form {
    display: grid;
    gap: 18px;
}

.join-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.join-edit-grid .field {
    min-width: 0;
}

.join-edit-grid textarea {
    min-height: 96px;
}

.join-edit-photo {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--panel-soft);
}

.join-edit-photo img {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 11px;
    object-fit: cover;
}

.join-edit-photo strong,
.join-edit-photo span {
    display: block;
}

.join-edit-photo span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.75rem;
}

.join-edit-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.join-edit-actions > span {
    color: var(--muted);
    font-size: 0.76rem;
}

.join-edit-actions .button {
    flex: 0 0 auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.detail-grid div {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--panel-soft);
}

.detail-grid dt {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-grid dd {
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.detail-links {
    display: grid;
    gap: 6px;
}

.detail-photo {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
}

.detail-photo img {
    width: 96px;
    height: 96px;
    display: block;
    object-fit: cover;
}

.empty-state {
    text-align: left;
}

.empty-state.center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.list-stack {
    display: grid;
    gap: 12px;
}

.list-item {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.kanban-column {
    min-height: 420px;
    padding: 14px;
}

.kanban-column h3 {
    margin: 4px 4px 14px;
}

.kanban-card {
    padding: 14px;
    border-radius: 14px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.setup-warning {
    display: none;
    width: min(1180px, calc(100% - 40px));
    margin: 24px auto 0;
    padding: 14px 16px;
    border-radius: 16px;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    font-weight: 700;
}

.setup-warning.is-visible {
    display: block;
}

.dashboard-shell > .setup-warning,
.auth-shell > .setup-warning {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.chart-card {
    min-height: 340px;
}

.chart-card canvas {
    width: 100% !important;
    max-height: 250px;
}

.report-chart-grid {
    margin-bottom: 18px;
}

@media (max-width: 980px) {
    .auth-shell,
    .dashboard-shell,
    .compact-auth {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: auto;
    }

    .dashboard-sidebar {
        position: static;
        height: auto;
    }

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

    .kanban-board {
        grid-template-columns: 1fr;
    }

    .request-card-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-dashboard .dashboard-sidebar {
        position: static;
        height: auto;
    }

    .admin-dashboard .request-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
    }
}

@media (max-width: 640px) {
    .auth-shell {
        width: calc(100% - 28px);
        margin-top: 44px;
    }

    .auth-card,
    .auth-visual {
        padding: 22px;
    }

    .auth-visual {
        min-height: 420px;
    }

    .auth-visual img {
        height: 250px;
    }

    .form-grid,
    .dashboard-heading {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sidebar-nav {
        grid-template-columns: 1fr;
    }

    .table-actions {
        flex-direction: column;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .join-edit-grid {
        grid-template-columns: 1fr;
    }

    .join-edit-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-dashboard .dashboard-shell {
        width: calc(100% - 24px);
        margin-top: 12px;
    }

    .admin-dashboard .request-card-grid,
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard .dashboard-heading {
        padding: 17px;
    }

    .notification-item {
        grid-template-columns: 40px minmax(0, 1fr) 30px;
        gap: 10px;
        padding: 12px;
    }

    .notification-item__icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }
}
