:root {
    --ew-primary: #667eea;
    --ew-primary-dark: #764ba2;
    --ew-bg: #f0f2f8;
    --ew-card: #ffffff;
    --ew-text: #1a1d26;
    --ew-muted: #6c757d;
    --ew-nav-h: 72px;
    --ew-header-h: 56px;
    --ew-safe-bottom: env(safe-area-inset-bottom, 0px);
    --ew-scroll-pad: calc(var(--ew-nav-h) + var(--ew-safe-bottom) + 32px);
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

html {
    height: auto;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

body.ew-mobile {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--ew-bg);
    color: var(--ew-text);
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0;
}

.ew-mobile-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--ew-header-h);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--ew-primary) 0%, var(--ew-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.35);
}

.ew-mobile-header h1 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    text-align: center;
}

.ew-mobile-header .btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ew-mobile-main {
    padding: 16px;
    padding-bottom: var(--ew-scroll-pad);
    max-width: 640px;
    margin: 0 auto;
    min-height: calc(100dvh - var(--ew-header-h) - var(--ew-scroll-pad));
}

.ew-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.ew-stat-card {
    background: var(--ew-card);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.15s;
}

.ew-stat-card:active {
    transform: scale(0.98);
}

.ew-stat-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 10px;
}

.ew-stat-card .value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.ew-stat-card .label {
    font-size: 0.8rem;
    color: var(--ew-muted);
}

.ew-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ew-muted);
    margin: 0 0 12px 4px;
}

.ew-list-card {
    background: var(--ew-card);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    display: block;
}

.ew-list-card:active {
    background: #f8f9fc;
}

.ew-list-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.ew-list-card .meta {
    font-size: 0.8rem;
    color: var(--ew-muted);
}

.ew-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: capitalize;
}

.ew-badge-planificacion { background: #e7f1ff; color: #0d6efd; }
.ew-badge-en_progreso { background: #fff3cd; color: #856404; }
.ew-badge-completado { background: #d1e7dd; color: #0f5132; }
.ew-badge-cancelado { background: #f8d7da; color: #842029; }
.ew-badge-disponible, .ew-badge-activo { background: #d1e7dd; color: #0f5132; }
.ew-badge-en_uso { background: #fff3cd; color: #856404; }
.ew-badge-mantenimiento { background: #cff4fc; color: #055160; }
.ew-badge-dañado, .ew-badge-inactivo { background: #f8d7da; color: #842029; }

.ew-search {
    position: relative;
    margin-bottom: 16px;
}

.ew-search input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    background: var(--ew-card);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ew-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ew-muted);
}

.ew-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--ew-nav-h) + var(--ew-safe-bottom));
    padding-bottom: var(--ew-safe-bottom);
    background: var(--ew-card);
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    z-index: 1040;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    pointer-events: auto;
}

.ew-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-decoration: none;
    color: var(--ew-muted);
    font-size: 0.65rem;
    font-weight: 500;
    min-height: var(--ew-nav-h);
}

.ew-bottom-nav a i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.ew-bottom-nav a.active {
    color: var(--ew-primary);
}

.ew-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ew-quick-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--ew-card);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ew-text);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ew-quick-btn i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ew-primary), var(--ew-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ew-welcome {
    background: linear-gradient(135deg, var(--ew-primary) 0%, var(--ew-primary-dark) 100%);
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.ew-welcome h2 {
    font-size: 1.25rem;
    margin: 0 0 4px;
}

.ew-welcome p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.ew-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--ew-muted);
}

.ew-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--ew-card);
    border-radius: 14px;
    margin-bottom: 8px;
    text-decoration: none;
    color: var(--ew-text);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.ew-menu-item i.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ew-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ew-primary);
}

.ew-login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(160deg, var(--ew-primary) 0%, var(--ew-primary-dark) 50%, #5a4a8a 100%);
}

.ew-login-card {
    background: var(--ew-card);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.ew-login-card .form-control {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
}

.ew-login-card .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.ew-login-card .btn-primary,
.ew-login-card button[type="submit"] {
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--ew-primary), var(--ew-primary-dark));
    border: none;
    color: #fff;
    width: 100%;
    font-size: 1rem;
}

.ew-login-alert {
    background: #f8d7da;
    color: #842029;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.ew-desktop-link {
    text-align: center;
    margin-top: 16px;
}

.ew-desktop-link a {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

/* —— Mini dashboard (inicio móvil) —— */
.ew-mini-dash {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
}

.ew-dash-header {
    background: linear-gradient(135deg, var(--ew-primary) 0%, var(--ew-primary-dark) 100%);
    border-radius: 20px;
    padding: 20px 18px;
    color: #fff;
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.3);
}

.ew-dash-header__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 4px;
}

.ew-dash-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.ew-dash-header p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.ew-dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ew-kpi {
    background: var(--ew-card);
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s;
}

.ew-kpi:active {
    transform: scale(0.97);
}

.ew-kpi__value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--ew-primary), var(--ew-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ew-kpi__label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--ew-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 4px;
}

.ew-dash-block {
    background: var(--ew-card);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ew-dash-block__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ew-muted);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ew-dash-block__title i {
    color: var(--ew-primary);
    font-size: 0.9rem;
}

.ew-dash-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ew-dash-btn {
    display: flex !important;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 14px;
    text-decoration: none !important;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.ew-dash-btn:active {
    transform: scale(0.98);
}

.ew-dash-btn__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
}

.ew-dash-btn__text {
    flex: 1;
    min-width: 0;
}

.ew-dash-btn__text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.ew-dash-btn__text small {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.75;
    margin-top: 2px;
}

.ew-dash-btn__arrow {
    color: var(--ew-muted);
    font-size: 0.85rem;
    opacity: 0.5;
    flex-shrink: 0;
}

.ew-dash-btn--primary {
    background: linear-gradient(135deg, #4f6ef7 0%, #6b4fa2 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(79, 110, 247, 0.35);
    padding: 16px 18px;
}

.ew-dash-btn--primary .ew-dash-btn__icon {
    background: rgba(255, 255, 255, 0.25);
}

.ew-dash-btn--primary .ew-dash-btn__text small {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

.ew-dash-btn--primary .ew-dash-btn__arrow {
    color: #fff;
    opacity: 0.8;
}

.ew-dash-btn--light {
    background: var(--ew-bg);
    color: var(--ew-text);
    border: 1px solid rgba(102, 126, 234, 0.12);
}

.ew-dash-btn--light .ew-dash-btn__icon.icon-violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.ew-dash-btn--light .ew-dash-btn__icon.icon-green { background: linear-gradient(135deg, #059669, #10b981); }
.ew-dash-btn--light .ew-dash-btn__icon.icon-teal { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.ew-dash-btn--light .ew-dash-btn__icon.icon-orange { background: linear-gradient(135deg, #ea580c, #f97316); }
.ew-dash-btn--light .ew-dash-btn__icon.icon-indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.ew-dash-btn--light .ew-dash-btn__icon.icon-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }

.ew-dash-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ew-dash-btn-grid .ew-dash-btn {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px;
    gap: 10px;
}

.ew-dash-btn-grid .ew-dash-btn__icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
}

.ew-dash-btn-grid .ew-dash-btn__text strong {
    font-size: 0.8rem;
}

.ew-dash-btn-grid .ew-dash-btn__arrow {
    display: none;
}

.ew-dash-btn-grid .ew-dash-btn__text small {
    display: none;
}

.ew-actions-panel {
    background: var(--ew-card);
    border-radius: 22px;
    padding: 18px 16px 20px;
    margin-bottom: 22px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ew-actions-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 2px;
}

.ew-actions-panel__head h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ew-text);
}

.ew-actions-panel__head p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--ew-muted);
    line-height: 1.35;
}

.ew-actions-panel__head .ew-actions-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.2));
    color: var(--ew-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ew-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ew-action-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0;
    padding: 14px 14px 16px;
    background: var(--ew-bg);
    border: 1px solid rgba(102, 126, 234, 0.08);
    border-radius: 18px;
    box-shadow: none;
    text-decoration: none;
    color: var(--ew-text);
    min-height: 118px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ew-action-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tile-accent, linear-gradient(90deg, var(--ew-primary), var(--ew-primary-dark)));
    opacity: 0.85;
}

.ew-action-tile:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.ew-action-tile--featured {
    grid-column: 1 / -1;
    min-height: auto;
    padding: 18px 18px 20px;
    background: linear-gradient(135deg, #4f6ef7 0%, #6b4fa2 55%, #7c5cbf 100%);
    border: none;
    color: #fff;
    box-shadow: 0 10px 28px rgba(79, 110, 247, 0.35);
}

.ew-action-tile--featured::before {
    display: none;
}

.ew-action-tile--featured:active {
    box-shadow: 0 6px 20px rgba(79, 110, 247, 0.4);
}

.ew-action-tile--featured .tile-body p,
.ew-action-tile--featured .tile-title {
    color: #fff;
}

.ew-action-tile--featured .tile-desc {
    color: rgba(255, 255, 255, 0.82);
}

.ew-action-tile--featured .tile-icon {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ew-action-tile--featured .tile-deco {
    position: absolute;
    right: -20px;
    bottom: -25px;
    font-size: 5.5rem;
    opacity: 0.12;
    color: #fff;
    pointer-events: none;
}

.ew-action-tile__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
}

.ew-action-tile i.tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    background: var(--tile-icon-bg, linear-gradient(135deg, var(--ew-primary), var(--ew-primary-dark)));
    box-shadow: 0 4px 12px var(--tile-icon-shadow, rgba(102, 126, 234, 0.35));
    flex-shrink: 0;
}

.ew-action-tile .tile-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ew-primary-dark);
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ew-action-tile--featured .tile-badge {
    background: #fff;
    color: #5a4a9e;
    font-size: 0.75rem;
    padding: 5px 12px;
}

.ew-action-tile .tile-body {
    width: 100%;
    position: relative;
    z-index: 1;
}

.ew-action-tile .tile-title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
    color: var(--ew-text);
}

.ew-action-tile .tile-desc {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ew-muted);
}

.ew-action-tile--violet { --tile-accent: linear-gradient(90deg, #7c3aed, #a855f7); --tile-icon-bg: linear-gradient(135deg, #7c3aed, #9333ea); --tile-icon-shadow: rgba(124, 58, 237, 0.35); }
.ew-action-tile--green { --tile-accent: linear-gradient(90deg, #059669, #10b981); --tile-icon-bg: linear-gradient(135deg, #059669, #34d399); --tile-icon-shadow: rgba(5, 150, 105, 0.35); }
.ew-action-tile--teal { --tile-accent: linear-gradient(90deg, #0d9488, #14b8a6); --tile-icon-bg: linear-gradient(135deg, #0d9488, #2dd4bf); --tile-icon-shadow: rgba(13, 148, 136, 0.35); }
.ew-action-tile--orange { --tile-accent: linear-gradient(90deg, #ea580c, #f97316); --tile-icon-bg: linear-gradient(135deg, #ea580c, #fb923c); --tile-icon-shadow: rgba(234, 88, 12, 0.35); }
.ew-action-tile--indigo { --tile-accent: linear-gradient(90deg, #4f46e5, #6366f1); --tile-icon-bg: linear-gradient(135deg, #4f46e5, #818cf8); --tile-icon-shadow: rgba(79, 70, 229, 0.35); }
.ew-action-tile--slate { --tile-accent: linear-gradient(90deg, #475569, #64748b); --tile-icon-bg: linear-gradient(135deg, #475569, #94a3b8); --tile-icon-shadow: rgba(71, 85, 105, 0.3); }

.ew-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ew-card-actions .btn {
    flex: 1;
    min-width: calc(50% - 4px);
    font-size: 0.8rem;
    padding: 10px 8px;
    border-radius: 10px;
}

.ew-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.ew-tab {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: var(--ew-card);
    color: var(--ew-muted);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.ew-tab.active {
    background: linear-gradient(135deg, var(--ew-primary), var(--ew-primary-dark));
    color: #fff;
}

.ew-result-box {
    background: var(--ew-card);
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: none;
}

.ew-result-box.show {
    display: block;
}

.ew-result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.ew-result-row:last-child {
    border-bottom: none;
}

.ew-result-row .label {
    color: var(--ew-muted);
}

.ew-loading {
    text-align: center;
    padding: 24px;
    color: var(--ew-muted);
}

.ew-detail-hero {
    background: var(--ew-card);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ew-print-toolbar {
    position: sticky;
    top: var(--ew-header-h);
    z-index: 1020;
    display: flex;
    gap: 8px;
    padding: 10px 0 16px;
    background: var(--ew-bg);
}

.ew-print-toolbar .btn {
    flex: 1;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
}

@media print {
    .ew-mobile-header, .ew-bottom-nav, .ew-print-toolbar, .no-print {
        display: none !important;
    }
    body.ew-mobile {
        padding-bottom: 0;
    }
}

/* Botones auxiliares (sin Bootstrap) */
.ew-mobile .btn,
.ew-mobile a.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none !important;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.ew-mobile .btn-primary { background: linear-gradient(135deg, var(--ew-primary), var(--ew-primary-dark)); color: #fff !important; }
.ew-mobile .btn-success { background: #198754; color: #fff !important; }
.ew-mobile .btn-outline-primary { background: #fff; color: var(--ew-primary) !important; border-color: var(--ew-primary); }
.ew-mobile .btn-outline-secondary { background: #fff; color: #6c757d !important; border-color: #ced4da; }
.ew-mobile .btn-outline-info { background: #fff; color: #0dcaf0 !important; border-color: #0dcaf0; }
.ew-mobile .btn-sm { padding: 8px 10px; font-size: 0.75rem; }
.ew-mobile .w-100 { width: 100%; }
.ew-mobile .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
}
.ew-mobile .alert-warning {
    background: #fff3cd;
    color: #664d03;
    padding: 12px;
    border-radius: 10px;
}
.ew-mobile .d-none { display: none !important; }
.ew-mobile .mt-2 { margin-top: 0.5rem; }
.ew-mobile .mb-3 { margin-bottom: 1rem; }
