/* Publiczny ekran RCP dla komputerów i stanowisk dotykowych. */
.desktop-rcp-body {
    min-height: 100vh;
    color: #eaf2ff;
    background:
        radial-gradient(circle at 8% 0, rgba(59, 130, 246, 0.24), transparent 34%),
        radial-gradient(circle at 92% 12%, rgba(20, 184, 166, 0.18), transparent 30%),
        linear-gradient(145deg, #071426, #0b1d35 56%, #082d32);
    background-attachment: fixed;
}

.desktop-rcp-app { min-height: 100vh; }
.desktop-rcp-app.is-busy { cursor: progress; }

.desktop-rcp-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
    gap: 24px;
    align-items: center;
    min-height: 94px;
    padding: 16px clamp(22px, 4vw, 60px);
    border-bottom: 1px solid rgba(191, 219, 254, 0.13);
    background: rgba(6, 18, 35, 0.84);
    box-shadow: 0 14px 40px rgba(2, 8, 23, 0.15);
    backdrop-filter: blur(20px);
}

.desktop-rcp-brand {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-self: start;
}

.desktop-rcp-brand img {
    width: 176px;
    height: auto;
    padding: 9px 12px;
    border-radius: 11px;
    background: #fff;
}

.desktop-rcp-brand > span {
    display: grid;
    gap: 2px;
    padding-left: 15px;
    border-left: 1px solid rgba(191, 219, 254, 0.2);
}

.desktop-rcp-brand strong { color: #fff; font-size: 14px; }
.desktop-rcp-brand small { color: #90a5c4; font-size: 11px; }

.desktop-rcp-time {
    display: grid;
    justify-items: center;
    line-height: 1.1;
}

.desktop-rcp-time strong {
    color: #fff;
    font-size: clamp(26px, 2.4vw, 38px);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.desktop-rcp-time span {
    margin-top: 5px;
    color: #9fb2cf;
    font-size: 12px;
    font-weight: 650;
    text-transform: capitalize;
}

.desktop-rcp-top-actions {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-self: end;
}

.desktop-rcp-location-context {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    max-width: 240px;
    margin-right: 4px;
}

.desktop-rcp-location-context > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 10px;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.15);
}

.desktop-rcp-location-context .icon { width: 15px; height: 15px; }
.desktop-rcp-location-context div { display: grid; min-width: 0; }

.desktop-rcp-location-context small {
    color: #8298b8;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.desktop-rcp-location-context strong {
    overflow: hidden;
    color: #eaf2ff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desktop-rcp-top-button {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(191, 219, 254, 0.2);
    border-radius: 10px;
    color: #c9d8ee;
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 750;
    transition: 0.16s ease;
}

.desktop-rcp-top-button:hover {
    border-color: rgba(147, 197, 253, 0.45);
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
}

.desktop-rcp-top-button.is-panel { color: #0f2f50; background: #fff; }
.desktop-rcp-top-button .icon { width: 15px; height: 15px; }

.desktop-rcp-screen {
    display: grid;
    min-height: calc(100vh - 94px);
    align-items: center;
    padding: clamp(28px, 4vw, 58px) clamp(22px, 4vw, 60px);
}

.desktop-rcp-setup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 550px);
    gap: clamp(42px, 7vw, 100px);
    align-items: center;
    width: min(1260px, 100%);
    margin: 0 auto;
}

.desktop-rcp-setup-intro { max-width: 650px; }

.desktop-rcp-eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.12);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.desktop-rcp-eyebrow .icon { width: 15px; height: 15px; }

.desktop-rcp-setup-intro h1 {
    max-width: 610px;
    margin: 22px 0 16px;
    color: #fff;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 780;
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.desktop-rcp-setup-intro > p {
    max-width: 610px;
    margin: 0;
    color: #a9bbd4;
    font-size: 14px;
    line-height: 1.7;
}

.desktop-rcp-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin-top: 30px;
}

.desktop-rcp-benefits > div {
    display: grid;
    gap: 5px;
    min-height: 142px;
    padding: 15px;
    border: 1px solid rgba(191, 219, 254, 0.13);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
}

.desktop-rcp-benefits > div > span {
    display: grid;
    width: 35px;
    height: 35px;
    margin-bottom: 6px;
    place-items: center;
    border-radius: 10px;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.17);
}

.desktop-rcp-benefits .icon { width: 16px; height: 16px; }
.desktop-rcp-benefits strong { color: #edf5ff; font-size: 13px; }
.desktop-rcp-benefits small { color: #90a5c4; font-size: 11px; line-height: 1.5; }

.desktop-rcp-card {
    color: #172033;
    border: 1px solid rgba(219, 234, 254, 0.92);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 34px 100px rgba(2, 8, 23, 0.34);
}

.desktop-rcp-setup-card { padding: 30px; }

.desktop-rcp-card-header,
.desktop-rcp-worker-login-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5edf6;
}

.desktop-rcp-card-header > span,
.desktop-rcp-worker-login-header > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: #1d4ed8;
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
}

.desktop-rcp-card-header .icon,
.desktop-rcp-worker-login-header .icon { width: 21px; height: 21px; }

.desktop-rcp-card-header div,
.desktop-rcp-worker-login-header div { display: grid; }

.desktop-rcp-card-header small,
.desktop-rcp-worker-login-header small {
    color: #2563eb;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.desktop-rcp-card-header h2,
.desktop-rcp-worker-login-header h1 {
    margin: 2px 0 0;
    color: #172033;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.desktop-rcp-card-header p,
.desktop-rcp-worker-login-header p {
    margin: 6px 0 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.5;
}

.desktop-rcp-setup-form { display: grid; gap: 17px; }
.desktop-rcp-card .field label { margin-bottom: 7px; color: #334155; font-size: 12px; font-weight: 780; }

.desktop-rcp-card .field input {
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #d8e3f0;
    border-radius: 11px;
    color: #172033;
    background: #fbfcfe;
    font-size: 14px;
}

.desktop-rcp-card .field input:focus {
    border-color: #60a5fa;
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.desktop-rcp-card .field-hint { margin-top: 6px; color: #8492a6; font-size: 11px; }

.desktop-rcp-primary-button,
.desktop-rcp-secondary-button {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 800;
}

.desktop-rcp-primary-button {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
}

.desktop-rcp-primary-button:hover { box-shadow: 0 19px 38px rgba(37, 99, 235, 0.3); transform: translateY(-1px); }
.desktop-rcp-primary-button:disabled,
.desktop-rcp-action-button:disabled { opacity: 0.58; cursor: wait; transform: none; }
.desktop-rcp-primary-button .icon,
.desktop-rcp-secondary-button .icon { width: 17px; height: 17px; }

.desktop-rcp-security-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 17px 0 0;
    padding: 11px 12px;
    border-radius: 10px;
    color: #44705a;
    background: #f0fdf4;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
}

.desktop-rcp-security-note .icon { width: 14px; height: 14px; color: #16a34a; }

.desktop-rcp-message {
    margin: 14px 0 0;
    padding: 11px 13px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1e40af;
    background: #eff6ff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.desktop-rcp-message[data-tone="error"] { border-color: #fecaca; color: #991b1b; background: #fff7f7; }

.desktop-rcp-text-button {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    padding: 8px;
    border: 0;
    color: #1d4ed8;
    background: transparent;
    font-size: 12px;
    font-weight: 750;
}

.desktop-rcp-text-button .icon { width: 14px; height: 14px; }

.desktop-rcp-kiosk-layout {
    display: grid;
    grid-template-columns: minmax(500px, 700px) minmax(290px, 350px);
    gap: 22px;
    align-items: center;
    justify-content: center;
    width: min(1080px, 100%);
    margin: 0 auto;
}

.desktop-rcp-entry-card,
.desktop-rcp-action-card { padding: clamp(24px, 3vw, 34px); }
.desktop-rcp-worker-login-header { margin-bottom: 18px; }

.desktop-rcp-current-location {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    margin-bottom: 20px;
    padding: 11px 13px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(145deg, #eff6ff, #f8fbff);
}

.desktop-rcp-current-location > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    color: #2563eb;
    background: #dbeafe;
}

.desktop-rcp-current-location .icon { width: 17px; height: 17px; }
.desktop-rcp-current-location > div { display: grid; }
.desktop-rcp-current-location small { color: #718096; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.desktop-rcp-current-location strong { color: #20314b; font-size: 14px; }
.desktop-rcp-current-location em { color: #8492a6; font-size: 11px; font-style: normal; }

.desktop-rcp-current-location button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    color: #1d4ed8;
    background: #fff;
    font-size: 11px;
    font-weight: 750;
}

.desktop-rcp-login-form { display: grid; justify-items: center; }

.desktop-rcp-login-form > label {
    margin-bottom: 8px;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.desktop-rcp-login-form > input {
    width: min(430px, 100%);
    height: 64px;
    padding: 0 20px;
    border: 2px solid #cbd9e9;
    border-radius: 14px;
    outline: 0;
    color: #172033;
    background: #fbfcfe;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.06em;
}

.desktop-rcp-login-form > input:focus { border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.09); }

.desktop-rcp-keypad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(430px, 100%);
    margin: 14px auto;
}

.desktop-rcp-keypad button {
    min-height: 50px;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    color: #24344c;
    background: #fff;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 5px 13px rgba(22, 48, 85, 0.045);
    transition: 0.12s ease;
}

.desktop-rcp-keypad button:hover { border-color: #93c5fd; color: #1d4ed8; background: #eff6ff; }
.desktop-rcp-keypad button:active { transform: scale(0.97); }
.desktop-rcp-keypad button.is-command { color: #64748b; background: #f8fafc; font-size: 11px; }
.desktop-rcp-keypad button.is-backspace { font-size: 18px; }
.desktop-rcp-primary-button.is-large { width: min(430px, 100%); min-height: 58px; font-size: 13px; }

.desktop-rcp-unavailable {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid #fed7aa;
    border-radius: 13px;
    color: #7c2d12;
    background: #fff7ed;
}

.desktop-rcp-unavailable > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    color: #c2410c;
    background: #ffedd5;
}

.desktop-rcp-unavailable .icon { width: 20px; height: 20px; }
.desktop-rcp-unavailable strong { font-size: 14px; }
.desktop-rcp-unavailable p { margin: 4px 0 0; color: #9a4d22; font-size: 12px; line-height: 1.45; }
.desktop-rcp-action-card { align-content: start; }

.desktop-rcp-worker-summary {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5edf6;
}

.desktop-rcp-worker-avatar {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 18px;
    color: #1d4ed8;
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
}

.desktop-rcp-worker-avatar .icon { width: 27px; height: 27px; }
.desktop-rcp-worker-summary > div { display: grid; }
.desktop-rcp-worker-summary small { color: #2563eb; font-size: 10px; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.desktop-rcp-worker-summary h1 { margin: 2px 0; color: #172033; font-size: 26px; line-height: 1.15; }
.desktop-rcp-worker-summary p { margin: 0; color: #718096; font-size: 13px; }
.desktop-rcp-worker-summary p span { color: #166534; font-weight: 800; }
.desktop-rcp-worker-summary p span[data-status="on_break"] { color: #b45309; }
.desktop-rcp-worker-summary p span[data-status="off_work"],
.desktop-rcp-worker-summary p span[data-status="shift_finished"] { color: #64748b; }

.desktop-rcp-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.desktop-rcp-action-grid.single-action { grid-template-columns: 1fr; }

.desktop-rcp-action-button {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 108px;
    padding: 17px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #15803d);
    text-align: left;
    box-shadow: 0 15px 30px rgba(22, 163, 74, 0.2);
    transition: 0.16s ease;
}

.desktop-rcp-action-button:hover { box-shadow: 0 19px 38px rgba(22, 163, 74, 0.27); transform: translateY(-2px); }
.desktop-rcp-action-button.is-break_start,
.desktop-rcp-action-button.is-break_end { background: linear-gradient(135deg, #f59e0b, #c66b08); box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2); }
.desktop-rcp-action-button.is-clock_out { background: linear-gradient(135deg, #ef4444, #b91c1c); box-shadow: 0 15px 30px rgba(239, 68, 68, 0.2); }

.desktop-rcp-action-symbol {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 17px;
}

.desktop-rcp-action-button > span:last-child { display: grid; gap: 3px; }
.desktop-rcp-action-button strong { font-size: 15px; }
.desktop-rcp-action-button small { color: rgba(255, 255, 255, 0.78); font-size: 11px; }

.desktop-rcp-secondary-button {
    width: 100%;
    margin-top: 13px;
    border: 1px solid #d8e3f0;
    color: #334155;
    background: #fff;
}

.desktop-rcp-secondary-button:hover { border-color: #93c5fd; color: #1d4ed8; background: #eff6ff; }

.desktop-rcp-help-card {
    padding: 24px;
    border: 1px solid rgba(191, 219, 254, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 24px 70px rgba(2, 8, 23, 0.18);
    backdrop-filter: blur(14px);
}

.desktop-rcp-help-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.17);
}

.desktop-rcp-help-icon .icon { width: 20px; height: 20px; }
.desktop-rcp-help-card h2 { margin: 15px 0 17px; color: #fff; font-size: 19px; }
.desktop-rcp-help-card ol { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.desktop-rcp-help-card li { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 10px; align-items: start; }

.desktop-rcp-help-card li > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 8px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.13);
    font-size: 9px;
    font-weight: 850;
}

.desktop-rcp-help-card li p { display: grid; gap: 2px; margin: 0; }
.desktop-rcp-help-card li strong { color: #edf5ff; font-size: 13px; }
.desktop-rcp-help-card li small { color: #90a5c4; font-size: 11px; line-height: 1.45; }

.desktop-rcp-help-card > p {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(191, 219, 254, 0.13);
    color: #90a5c4;
    font-size: 11px;
    line-height: 1.45;
}

.desktop-rcp-help-card > p .icon { width: 14px; height: 14px; color: #93c5fd; }

.desktop-rcp-success {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 12, 24, 0.82);
    backdrop-filter: blur(13px);
}

.desktop-rcp-success-card {
    display: grid;
    justify-items: center;
    width: min(470px, 100%);
    padding: 42px 32px;
    border: 1px solid rgba(187, 247, 208, 0.4);
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(145deg, #15803d, #0f766e);
    box-shadow: 0 34px 110px rgba(2, 8, 23, 0.5);
    text-align: center;
}

.desktop-rcp-success-card > span {
    display: grid;
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    color: #166534;
    background: #dcfce7;
    box-shadow: 0 0 0 12px rgba(220, 252, 231, 0.12);
}

.desktop-rcp-success-card .icon { width: 34px; height: 34px; stroke-width: 3; }
.desktop-rcp-success-card small { color: #bbf7d0; font-size: 11px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.desktop-rcp-success-card strong { margin-top: 5px; font-size: 30px; }
.desktop-rcp-success-card p { margin: 7px 0 0; color: #d1fae5; font-size: 14px; }

.auth-section-divider {
    display: flex;
    align-items: center;
    margin: 20px 0 14px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.auth-section-divider::before,
.auth-section-divider::after { flex: 1; height: 1px; background: #e2e8f0; content: ""; }
.auth-section-divider span { padding: 0 10px; }

.auth-kiosk-link {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 11px;
    align-items: center;
    min-height: 64px;
    padding: 10px 13px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    color: #334155;
    background: linear-gradient(145deg, #eff6ff, #fff);
    transition: 0.16s ease;
}

.auth-kiosk-link:hover { border-color: #93c5fd; box-shadow: 0 11px 25px rgba(37, 99, 235, 0.09); transform: translateY(-1px); }

.auth-kiosk-link > span:first-child {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    color: #1d4ed8;
    background: #dbeafe;
}

.auth-kiosk-link > span:nth-child(2) { display: grid; gap: 2px; }
.auth-kiosk-link strong { font-size: 13px; }
.auth-kiosk-link small { color: #718096; font-size: 11px; }
.auth-kiosk-link .icon { width: 15px; height: 15px; }
.auth-kiosk-link > .icon { color: #94a3b8; }

@media (max-width: 1180px) {
    .desktop-rcp-topbar { grid-template-columns: 1fr auto; }
    .desktop-rcp-time { display: none; }
    .desktop-rcp-setup-layout { grid-template-columns: minmax(0, 1fr) minmax(400px, 480px); gap: 36px; }
    .desktop-rcp-benefits { grid-template-columns: 1fr; }
    .desktop-rcp-benefits > div { grid-template-columns: 35px minmax(0, 1fr); min-height: 0; }
    .desktop-rcp-benefits > div > span { grid-row: span 2; margin: 0; }
}

@media (max-width: 900px) {
    .desktop-rcp-topbar { position: relative; }
    .desktop-rcp-location-context { display: none; }
    .desktop-rcp-screen { min-height: calc(100vh - 94px); }
    .desktop-rcp-setup-layout,
    .desktop-rcp-kiosk-layout { grid-template-columns: 1fr; max-width: 620px; }
    .desktop-rcp-setup-intro { text-align: center; }
    .desktop-rcp-setup-intro > p { margin-right: auto; margin-left: auto; }
    .desktop-rcp-benefits,
    .desktop-rcp-help-card { display: none; }
}

@media (max-width: 640px) {
    .desktop-rcp-topbar { grid-template-columns: 1fr; gap: 12px; padding: 14px 18px; }
    .desktop-rcp-brand { width: 100%; justify-content: center; }
    .desktop-rcp-brand img { width: 150px; }
    .desktop-rcp-brand > span { display: none; }
    .desktop-rcp-top-actions { width: 100%; justify-self: stretch; }
    .desktop-rcp-top-button { flex: 1; }
    .desktop-rcp-screen { min-height: 0; padding: 24px 14px; }
    .desktop-rcp-setup-intro h1 { margin-top: 17px; font-size: 34px; }
    .desktop-rcp-setup-intro > p { font-size: 11px; }
    .desktop-rcp-setup-card,
    .desktop-rcp-entry-card,
    .desktop-rcp-action-card { padding: 20px; border-radius: 17px; }
    .desktop-rcp-current-location { grid-template-columns: 36px minmax(0, 1fr); }
    .desktop-rcp-current-location button { grid-column: 1 / -1; width: 100%; }
    .desktop-rcp-action-grid { grid-template-columns: 1fr; }
    .desktop-rcp-action-button { min-height: 90px; }
}
