:root {
    --bg:#F8FAFC;
    --card:#FFFFFF;
    --border:#CBD5E1;
    --text:#0F172A;
    --muted:#64748B;
    --muted-2:#94A3B8;
    --green:#447E37;
    --green-dark:#35672D;
    --green-light:rgba(68,126,55,.16);
    --green-ring:rgba(68,126,55,.24);
    --sidebar-bg:#FFFFFF;
    --input-bg:#FFFFFF;
    --input-border:#94A3B8;
}
[data-theme=dark] {
    --bg:#0B0F1A;
    --card:#141B2A;
    --border:#334155;
    --text:#F8FAFC;
    --muted:#CBD5E1;
    --muted-2:#94A3B8;
    --green:#447E37;
    --green-dark:#A7E99A;
    --green-light:rgba(68,126,55,.22);
    --green-ring:rgba(68,126,55,.28);
    --sidebar-bg:#101725;
    --input-bg:#141B2A;
    --input-border:#475569;
}
html,body,button,input,select,textarea {
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif !important;
}
.serif,.font-serif {
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif !important;
    font-weight:700 !important;
    letter-spacing:-.02em;
}
body { background:var(--bg); color:var(--text); }
header { border-color:var(--border) !important; }
input,select,textarea {
    border-color:var(--input-border) !important;
    background:var(--input-bg) !important;
    color:var(--text) !important;
}
input::placeholder,textarea::placeholder { color:var(--muted-2) !important; opacity:1; }
input[type="date"] { color-scheme:light; }
[data-theme=dark] input[type="date"] { color-scheme:dark; }
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity:1;
    cursor:pointer;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:center;
    background-size:16px 16px;
}
[data-theme=dark] input[type="date"]::-webkit-calendar-picker-indicator {
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23F8FAFC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    filter:none;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline:2px solid var(--green) !important;
    outline-offset:2px;
}

@media (max-width: 767px) {
    .rental-header {
        height:auto !important;
        min-height:108px;
        display:grid !important;
        grid-template-columns:auto minmax(0,1fr);
        grid-template-areas:
            "brand brand"
            "menu actions";
        gap:8px 12px;
        padding-top:10px !important;
        padding-bottom:10px !important;
        align-items:center;
    }
    .rental-header-brand-group {
        display:contents !important;
    }
    .rental-header-logo {
        grid-area:brand;
        justify-self:center;
    }
    .rental-menu-button {
        grid-area:menu;
        justify-self:start;
    }
    .rental-header-actions {
        grid-area:actions;
        justify-self:end;
        min-width:0;
        gap:8px !important;
    }
    .rental-header-actions > button {
        flex-shrink:0;
    }
    .rental-header-signout {
        display:none !important;
    }
}

[data-theme=dark] .rental-pay-submit-btn {
    color:#0F172A !important;
}
[data-theme=dark] .rental-pay-submit-btn svg {
    stroke:currentColor !important;
}
