:root {
    --brand-950: #0b2a34;
    --brand-900: #0d3440;
    --brand-800: #145565;
    --brand-700: #1f7487;
    --brand-500: #2da4b5;
    --brand-100: #e6f7f9;
    --accent-500: #e1793d;
    --accent-300: #f4b17f;
    --accent-100: #fff1e6;
    --ink-950: #0f1b24;
    --ink-800: #243744;
    --ink-700: #495a67;
    --ink-500: #728391;
    --surface: #f6fbfd;
    --surface-strong: rgba(255, 255, 255, 0.92);
    --surface-soft: rgba(255, 255, 255, 0.72);
    --line-soft: rgba(15, 27, 36, 0.1);
    --line-strong: rgba(15, 27, 36, 0.16);
    --success: #1d7f5f;
    --danger: #c75540;
    --warning: #d0832f;
    --shadow-soft: 0 18px 46px rgba(13, 52, 64, 0.16);
    --shadow-card: 0 14px 32px rgba(15, 27, 36, 0.12);
    --bottom-nav-height: 86px;
    --app-height: 100svh;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Poppins", "Open Sans", sans-serif;
    color: var(--ink-950);
    background:
        radial-gradient(circle at top left, rgba(45, 164, 181, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(225, 121, 61, 0.16), transparent 22%),
        linear-gradient(180deg, #eff7fa 0%, #f3f8fb 36%, #f8f2ec 100%);
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

img {
    display: block;
    max-width: 100%;
}

.is-hidden {
    display: none !important;
}

.client-app-shell {
    min-height: 100dvh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 28px;
    padding: 18px;
}

.desktop-frame-note {
    display: none;
    width: min(360px, 30vw);
    align-self: center;
}

.desktop-frame-note__card {
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.desktop-frame-note__card h1 {
    margin: 18px 0 12px;
    font-size: clamp(1.9rem, 2vw, 2.6rem);
    line-height: 1.02;
}

.desktop-frame-note__card p {
    margin: 0 0 18px;
    color: var(--ink-700);
    line-height: 1.8;
}

.desktop-frame-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-800);
    font-weight: 600;
}

.badge-pill,
.eyebrow-chip,
.status-pill,
.workspace-kicker,
.section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-pill {
    padding: 9px 12px;
    color: var(--brand-800);
    background: rgba(45, 164, 181, 0.1);
}

.mobile-app-frame {
    width: 100%;
    max-width: 430px;
    min-height: calc(100dvh - 36px);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 34px;
    box-shadow: 0 28px 64px rgba(13, 52, 64, 0.18);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.app-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 16px) 18px 12px;
    background: linear-gradient(180deg, rgba(13, 52, 64, 0.96), rgba(13, 52, 64, 0.88));
    color: #fff;
    box-shadow: 0 10px 24px rgba(6, 24, 31, 0.12);
}

.app-branding {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.app-branding__mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.app-branding__mark img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.app-branding strong,
.app-branding span {
    display: block;
    line-height: 1.05;
}

.app-branding strong {
    font-size: 0.98rem;
}

.app-branding span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.74);
}

.top-install-btn,
.ghost-action,
.mini-action,
.primary-action,
.submit-auth,
.danger-action,
.refresh-button {
    border: 0;
}

.top-install-btn {
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
}

.mobile-statusbar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    padding: 12px 18px 0;
}

.status-pill {
    padding: 8px 12px;
    color: var(--ink-700);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 27, 36, 0.06);
}

.install-banner {
    margin: 14px 18px 0;
    padding: 16px;
    display: grid;
    gap: 14px;
    flex-shrink: 0;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(13, 52, 64, 0.96), rgba(31, 116, 135, 0.96));
    color: #fff;
    box-shadow: var(--shadow-card);
}

.install-banner strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.install-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
}

.install-banner__actions {
    display: flex;
    gap: 10px;
}

.mobile-app-main {
    flex: 1;
    min-height: 0;
    padding: 18px 18px calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 18px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.mobile-app-main::-webkit-scrollbar {
    display: none;
}

.screen {
    min-height: 100%;
}

.hero-surface,
.auth-surface,
.workspace-section,
.summary-block,
.presence-state-strip,
.info-sheet,
.profile-item,
.desktop-frame-note__card {
    background: var(--surface-strong);
}

.hero-surface,
.auth-surface {
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.screen-auth {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-surface {
    width: 100%;
    padding: 26px 22px;
}

.eyebrow-chip {
    padding: 10px 14px;
    color: var(--brand-800);
    background: rgba(45, 164, 181, 0.1);
}

.hero-surface h2 {
    margin: 18px 0 10px;
    font-size: 1.95rem;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-surface p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.78;
}

.hero-highlights {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.hero-highlights div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(13, 52, 64, 0.05);
}

.hero-highlights strong,
.hero-highlights span {
    display: block;
}

.hero-highlights strong {
    font-size: 0.96rem;
    margin-bottom: 4px;
}

.hero-highlights span {
    color: var(--ink-700);
    font-size: 0.88rem;
}

.section-head h3 {
    margin: 6px 0 8px;
    font-size: 1.28rem;
    line-height: 1.15;
}

.section-head p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.7;
    font-size: 0.92rem;
}

.section-head.compact h3 {
    font-size: 1.02rem;
    margin-bottom: 2px;
}

.stack-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

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

.field-label span {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-700);
}

.field-label input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 27, 36, 0.12);
    background: #fff;
    color: var(--ink-950);
}

.field-label select,
.field-label textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 27, 36, 0.12);
    background: #fff;
    color: var(--ink-950);
    resize: vertical;
}

.field-label input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px dashed rgba(15, 27, 36, 0.18);
    background: rgba(13, 52, 64, 0.03);
    color: var(--ink-700);
}

.field-label input:focus {
    outline: none;
    border-color: rgba(45, 164, 181, 0.42);
    box-shadow: 0 0 0 4px rgba(45, 164, 181, 0.12);
}

.field-label select:focus,
.field-label textarea:focus {
    outline: none;
    border-color: rgba(45, 164, 181, 0.42);
    box-shadow: 0 0 0 4px rgba(45, 164, 181, 0.12);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 52px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 0;
    background: rgba(13, 52, 64, 0.06);
    color: var(--ink-700);
}

.helper-row {
    font-size: 0.8rem;
    color: var(--ink-500);
}

.submit-auth,
.primary-action,
.danger-action,
.ghost-action,
.mini-action.filled,
.presence-shortcut,
.presence-action-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.submit-auth:hover,
.primary-action:hover,
.danger-action:hover,
.ghost-action:hover,
.mini-action.filled:hover,
.presence-shortcut:hover,
.presence-action-card:hover {
    transform: translateY(-1px);
}

.submit-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-500), #d5631f);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 30px rgba(225, 121, 61, 0.25);
}

.auth-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    font-size: 0.84rem;
}

.auth-footer-links a {
    color: var(--brand-800);
    font-weight: 600;
}

.auth-footer-links--compact {
    margin-top: 14px;
}

.mfa-client-panel {
    margin-top: 18px;
}

.mfa-client-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(45, 164, 181, 0.12);
    color: var(--brand-800);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mfa-client-title {
    margin: 16px 0 8px;
    font-size: 1.16rem;
}

.mfa-client-text {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.72;
    font-size: 0.9rem;
}

.mfa-client-grid {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.mfa-client-qr-shell {
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(45, 164, 181, 0.14), transparent 38%),
        radial-gradient(circle at bottom right, rgba(225, 121, 61, 0.14), transparent 34%),
        #fff;
    border: 1px solid rgba(15, 27, 36, 0.08);
    box-shadow: var(--shadow-card);
}

.mfa-client-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 224px;
}

.mfa-client-qr img,
.mfa-client-qr canvas {
    max-width: 100%;
}

.mfa-client-qr-help {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--ink-500);
    text-align: center;
}

.mfa-client-secret-stack {
    display: grid;
    gap: 12px;
}

.copy-field {
    display: grid;
    gap: 10px;
}

.copy-field--textarea textarea {
    min-height: 112px;
}

.small-copy,
.inline-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(13, 52, 64, 0.08);
    color: var(--ink-800);
    font-weight: 600;
}

.screen-workspace {
    display: block;
}

.workspace-panel {
    display: none;
}

.workspace-panel.is-active {
    display: grid;
    gap: 16px;
}

.workspace-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.workspace-identity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.profile-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(45, 164, 181, 0.16), rgba(13, 52, 64, 0.18));
    color: var(--brand-900);
    font-weight: 700;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar--hero {
    width: 68px;
    height: 68px;
}

.profile-avatar--account {
    width: 78px;
    height: 78px;
}

.workspace-kicker {
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(45, 164, 181, 0.1);
    color: var(--brand-800);
}

.workspace-hero h2 {
    margin: 0;
    font-size: 1.65rem;
    line-height: 1.06;
}

.workspace-hero p {
    margin: 8px 0 0;
    color: var(--ink-700);
    font-size: 0.92rem;
    line-height: 1.7;
}

.refresh-button {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(13, 52, 64, 0.08);
    color: var(--ink-700);
}

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

.summary-block {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.summary-block span,
.summary-block small {
    display: block;
}

.summary-block span {
    font-size: 0.76rem;
    color: var(--ink-500);
}

.summary-block strong {
    display: block;
    margin: 10px 0 8px;
    font-size: 1rem;
    line-height: 1.2;
}

.summary-block small {
    color: var(--ink-700);
    line-height: 1.5;
}

.workspace-section {
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
}

.presence-shortcuts,
.presence-actions-grid {
    display: grid;
    gap: 12px;
}

.presence-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.presence-shortcuts--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.presence-shortcut,
.presence-action-card {
    width: 100%;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    text-align: left;
    color: #fff;
    box-shadow: var(--shadow-card);
}

.presence-shortcut i,
.presence-action-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.1rem;
}

.presence-shortcut span,
.presence-action-card strong,
.presence-action-card span {
    display: block;
}

.presence-shortcut span {
    font-weight: 700;
}

.presence-shortcut--enter,
.presence-action-card--enter {
    background: linear-gradient(135deg, rgba(29, 127, 95, 0.96), rgba(40, 158, 117, 0.96));
}

.presence-shortcut--leave,
.presence-action-card--leave {
    background: linear-gradient(135deg, rgba(225, 121, 61, 0.96), rgba(212, 99, 31, 0.96));
}

.presence-shortcut--neutral {
    background: linear-gradient(135deg, rgba(13, 52, 64, 0.94), rgba(31, 116, 135, 0.94));
}

.presence-action-card--neutral {
    background: linear-gradient(135deg, rgba(13, 52, 64, 0.94), rgba(31, 116, 135, 0.94));
}

.presence-action-card strong {
    margin-bottom: 4px;
    font-size: 1rem;
}

.presence-action-card span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.86rem;
    line-height: 1.6;
}

.presence-state-strip {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 27, 36, 0.08);
}

.presence-state-strip strong {
    display: block;
    margin-bottom: 4px;
}

.presence-state-strip p {
    margin: 0;
    color: var(--ink-700);
    line-height: 1.65;
    font-size: 0.86rem;
}

.presence-state-chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(45, 164, 181, 0.12);
    color: var(--brand-800);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.capture-note {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(13, 52, 64, 0.05);
    color: var(--ink-700);
    font-size: 0.86rem;
    line-height: 1.65;
}

.location-monitoring-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(15, 27, 36, 0.08);
    background: rgba(13, 52, 64, 0.03);
}

.location-summary-grid,
.location-metrics-grid {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

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

.location-summary-item {
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 27, 36, 0.08);
}

.location-summary-item span,
.location-summary-item strong,
.location-summary-item small {
    display: block;
}

.location-summary-item span,
.location-summary-item small {
    color: var(--ink-500);
}

.location-summary-item span {
    font-size: 0.76rem;
}

.location-summary-item strong {
    margin: 8px 0 6px;
    font-size: 0.95rem;
}

.location-summary-item small {
    line-height: 1.6;
    font-size: 0.8rem;
}

.location-status-strip {
    margin-top: 16px;
    margin-bottom: 0;
}

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

.location-metric {
    min-height: 96px;
}

.location-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.presence-action-card[disabled],
.presence-shortcut[disabled],
.mini-action[disabled],
.primary-action[disabled],
.ghost-action[disabled],
.danger-action[disabled],
.submit-auth[disabled] {
    opacity: 0.62;
    cursor: not-allowed;
    filter: grayscale(0.08);
}

.info-list,
.rekap-list,
.profile-stack,
.task-list,
.photo-preview-grid {
    display: grid;
    gap: 12px;
}

.info-item,
.rekap-item,
.profile-item {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 27, 36, 0.08);
}

.info-item button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.info-item span,
.info-item strong,
.rekap-item span,
.rekap-item strong,
.profile-item span,
.profile-item strong {
    display: block;
}

.info-item span,
.rekap-item span,
.profile-item span {
    color: var(--ink-500);
    font-size: 0.77rem;
}

.info-item strong,
.rekap-item strong,
.profile-item strong {
    margin-top: 6px;
}

.toolbar-row {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
}

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

.toolbar-row .field-label {
    flex: 1;
}

.field-label.compact input {
    padding: 12px 14px;
}

.mini-action,
.ghost-action,
.primary-action,
.danger-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 600;
}

.mini-action {
    background: rgba(13, 52, 64, 0.06);
    color: var(--ink-700);
}

.mini-action.filled,
.primary-action {
    background: var(--brand-900);
    color: #fff;
}

.ghost-action {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.workspace-section .ghost-action {
    background: rgba(13, 52, 64, 0.06);
    color: var(--ink-700);
    border: 0;
}

.danger-action {
    background: rgba(199, 85, 64, 0.12);
    color: var(--danger);
}

.wide {
    width: 100%;
}

.account-actions {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.account-profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 22px;
    background: rgba(13, 52, 64, 0.05);
}

.account-profile-card strong,
.account-profile-card p {
    display: block;
}

.account-profile-card p {
    margin: 6px 0 0;
    color: var(--ink-700);
    line-height: 1.6;
    font-size: 0.88rem;
}

.empty-state {
    padding: 18px;
    border-radius: 18px;
    background: rgba(13, 52, 64, 0.05);
    color: var(--ink-700);
    font-size: 0.9rem;
    line-height: 1.7;
}

.empty-state.small {
    padding: 14px;
    font-size: 0.84rem;
}

.section-head--spaced {
    margin-top: 18px;
}

.task-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.task-toggle__button {
    padding: 12px 14px;
    border: 1px solid rgba(15, 27, 36, 0.1);
    border-radius: 16px;
    background: rgba(13, 52, 64, 0.04);
    color: var(--ink-700);
    font-weight: 700;
}

.task-toggle__button.is-active {
    background: rgba(45, 164, 181, 0.14);
    color: var(--brand-900);
    border-color: rgba(45, 164, 181, 0.24);
}

.task-card,
.request-card,
.photo-preview-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 27, 36, 0.08);
    background: rgba(255, 255, 255, 0.86);
}

.task-card__header,
.request-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.task-card__header strong,
.request-card__header strong,
.task-card__meta span,
.request-card__meta span,
.photo-preview-card strong,
.photo-preview-card span {
    display: block;
}

.task-card__header p,
.request-card__header p {
    margin: 6px 0 0;
    color: var(--ink-700);
    font-size: 0.86rem;
    line-height: 1.6;
}

.task-card__meta,
.request-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.task-card__meta span,
.request-card__meta span,
.task-pill {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(13, 52, 64, 0.06);
    color: var(--ink-700);
    font-size: 0.74rem;
    font-weight: 600;
}

.task-pill--ok {
    background: rgba(29, 127, 95, 0.12);
    color: var(--success);
}

.task-pill--review {
    background: rgba(45, 164, 181, 0.12);
    color: var(--brand-800);
}

.task-pill--reject {
    background: rgba(199, 85, 64, 0.12);
    color: var(--danger);
}

.request-card__attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--brand-800);
    font-size: 0.84rem;
    font-weight: 600;
}

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

.photo-preview-card img {
    width: 100%;
    height: 148px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 10px;
}

.rekap-item {
    display: grid;
    gap: 10px;
}

.rekap-item__header,
.rekap-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

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

.rekap-time {
    padding: 12px;
    border-radius: 14px;
    background: rgba(13, 52, 64, 0.04);
}

.rekap-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.rekap-tag--normal {
    background: rgba(45, 164, 181, 0.12);
    color: var(--brand-800);
}

.rekap-tag--warning {
    background: rgba(208, 131, 47, 0.14);
    color: var(--warning);
}

.rekap-tag--danger {
    background: rgba(199, 85, 64, 0.14);
    color: var(--danger);
}

.bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    position: sticky;
    bottom: 0;
    z-index: 30;
    flex-shrink: 0;
    padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 10px);
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(15, 27, 36, 0.08);
    box-shadow: 0 -12px 24px rgba(15, 27, 36, 0.08);
    backdrop-filter: blur(18px);
}

.bottom-nav.is-locked .bottom-nav__item {
    opacity: 0.78;
}

.bottom-nav.is-locked .bottom-nav__item.is-active {
    opacity: 1;
}

.bottom-nav__item {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 6px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--ink-500);
    font-size: 0.75rem;
    font-weight: 600;
}

.bottom-nav__item i {
    font-size: 1.12rem;
}

.bottom-nav__item.is-active {
    color: var(--brand-900);
    background: rgba(45, 164, 181, 0.1);
}

.toast-stack {
    position: fixed;
    right: 18px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
    z-index: 1200;
    display: grid;
    gap: 10px;
}

.toast-item {
    min-width: 240px;
    max-width: min(320px, calc(100vw - 36px));
    padding: 14px 16px;
    border-radius: 16px;
    color: #fff;
    box-shadow: var(--shadow-card);
    animation: toast-in 0.24s ease;
}

.toast-item--info {
    background: var(--brand-900);
}

.toast-item--success {
    background: var(--success);
}

.toast-item--error {
    background: var(--danger);
}

.sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(7, 17, 23, 0.42);
}

.info-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 1160;
    width: min(430px, calc(100vw - 16px));
    max-height: min(78dvh, 720px);
    padding: 16px 18px calc(env(safe-area-inset-bottom, 0px) + 18px);
    border-radius: 24px 24px 0 0;
    transform: translateX(-50%);
    overflow-y: auto;
    box-shadow: 0 -22px 44px rgba(15, 27, 36, 0.2);
}

.info-sheet__handle {
    width: 54px;
    height: 5px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: rgba(15, 27, 36, 0.12);
}

.sheet-date {
    margin: 0 0 14px;
    color: var(--ink-500);
    font-size: 0.84rem;
}

.sheet-banner {
    width: 100%;
    max-height: 210px;
    margin-bottom: 16px;
    border-radius: 18px;
    object-fit: cover;
}

.sheet-body {
    color: var(--ink-800);
    line-height: 1.8;
    font-size: 0.92rem;
}

.sheet-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--brand-800);
    font-weight: 600;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    html,
    body {
        height: var(--app-height);
        min-height: var(--app-height);
        overflow: hidden;
        overscroll-behavior: none;
    }

    body {
        position: fixed;
        inset: 0;
        width: 100%;
    }

    .client-app-shell {
        position: fixed;
        inset: 0;
        width: 100%;
        height: var(--app-height);
        min-height: var(--app-height);
        padding: 0;
        gap: 0;
        overflow: hidden;
    }

    .mobile-app-frame {
        max-width: none;
        min-height: var(--app-height);
        height: var(--app-height);
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }

    .mobile-app-main {
        flex: 1 1 auto;
        min-height: 0;
        padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
        -webkit-overflow-scrolling: touch;
    }

    .screen {
        min-height: auto;
    }

}

@media (max-width: 420px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .presence-shortcuts {
        grid-template-columns: 1fr;
    }

    .location-summary-grid,
    .location-metrics-grid,
    .double-upload-grid,
    .photo-preview-grid {
        grid-template-columns: 1fr;
    }

    .toolbar-row {
        flex-direction: column;
        align-items: stretch;
    }

    .location-actions-grid {
        grid-template-columns: 1fr;
    }

    .presence-state-strip {
        flex-direction: column;
    }
}

@media (min-width: 960px) {
    .desktop-frame-note {
        display: block;
    }
}
