/* YRV CRM v347 — focused visual polish. Autor: Yosdelvis de la Rosa Vega. Fecha: 2026-08-10. Loaded last to avoid changing legacy business logic. */
:root{--v347-gap:clamp(14px,1.8vw,24px);--v347-radius:18px;--v347-soft:#f7f9fc;--v347-border:#dfe7f1;--v347-text:#10233e;--v347-muted:#66768a}
html,body{max-width:100%;overflow-x:hidden}.app-shell,.main-area,.content,.card,.card-body,.grid>*{min-width:0}.content{padding:clamp(16px,2.2vw,30px)}
.card{border-radius:var(--v347-radius)}.card-header{gap:12px}.card-header h3{line-height:1.22}.card-header p,.page-header p,.section-heading p{max-width:72ch}.form-grid{gap:16px}.field input,.field select,.field textarea,select,input,textarea{max-width:100%}.form-actions{display:flex;flex-wrap:wrap;gap:10px}.toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.table-wrap{max-width:100%;overflow:auto}.table-wrap table{min-width:680px}.compact-list a{min-width:0}.compact-list a strong{overflow-wrap:anywhere}
/* Public site: retain visual identity but remove excess vertical air. */
.marketing-v250 .mkt250-hero{min-height:auto;padding-top:clamp(64px,7vw,96px);padding-bottom:clamp(54px,6vw,82px)}
.marketing-v250 .mkt250-section{padding-top:clamp(58px,6.5vw,88px);padding-bottom:clamp(58px,6.5vw,88px)}
.marketing-v250 .section-heading{margin-bottom:clamp(28px,3.5vw,46px)}
.marketing-v250 .commercial-benefits-v317{padding-top:clamp(50px,5vw,76px);padding-bottom:clamp(50px,5vw,76px)}
.marketing-v250 .product-gallery{gap:clamp(18px,2.5vw,30px)}
.marketing-v250 .pricing-grid{align-items:flex-start}.marketing-v250 .price-card{height:auto;min-height:0;align-self:flex-start}.marketing-v250 .price-card>p{min-height:0}.marketing-v250 .plan-capacities-v256{margin-bottom:12px}.marketing-v250 .plan-details-v347{margin:14px 0 18px;border-top:1px solid rgba(16,35,62,.11);border-bottom:1px solid rgba(16,35,62,.11)}
.marketing-v250 .plan-details-v347 summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;font-weight:750;color:#143a69}.marketing-v250 .plan-details-v347 summary::-webkit-details-marker{display:none}.marketing-v250 .plan-details-v347 summary::after{content:'+';width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:rgba(20,58,105,.08);font-size:19px}.marketing-v250 .plan-details-v347[open] summary::after{content:'−'}.marketing-v250 .plan-details-body-v347{padding:0 0 13px}.marketing-v250 .plan-feature-matrix-v256{margin:0}.marketing-v250 .plan-details-v347:not([open])+.mkt250-btn{margin-top:0}
.marketing-v250 .trust-strip-v347{max-width:1180px;margin:0 auto;padding:0 clamp(18px,3vw,34px) clamp(18px,3vw,30px);display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.marketing-v250 .trust-strip-v347>div{display:flex;gap:11px;align-items:flex-start;padding:14px 16px;border:1px solid rgba(34,79,130,.13);border-radius:14px;background:rgba(247,250,255,.76)}.marketing-v250 .trust-strip-v347 strong{display:block;font-size:.92rem}.marketing-v250 .trust-strip-v347 small{display:block;color:#607188;line-height:1.45;margin-top:2px}
/* Customer profile */
.customer-profile-v347{display:grid;gap:18px}.customer-profile-hero-v347{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:20px 22px;border-radius:20px;background:linear-gradient(135deg,#0c315d,#135b9e);color:#fff;box-shadow:0 18px 44px rgba(17,52,91,.16)}.customer-avatar-v347{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;font-weight:800;font-size:1.25rem;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2)}.customer-profile-hero-v347 h2{margin:4px 0;font-size:clamp(1.3rem,2.2vw,1.8rem)}.customer-profile-hero-v347 p{margin:0;color:rgba(255,255,255,.78);overflow-wrap:anywhere}.customer-profile-quick-v347{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.customer-profile-quick-v347>strong{width:100%;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.67);text-align:right}.customer-profile-quick-v347 .btn:not(.primary){background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#fff}.customer-profile-grid-v347{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.customer-profile-section-v347 .card-body{padding-top:16px}.customer-profile-section-v347 textarea{min-height:150px}.customer-profile-save-v347{position:sticky;bottom:12px;z-index:9;justify-self:end;display:flex;gap:10px;padding:9px;border:1px solid rgba(20,51,86,.11);border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 12px 30px rgba(23,49,80,.13);backdrop-filter:blur(10px)}.customer-danger-v347{margin-top:22px;border-color:#f0d4d4}.customer-danger-v347>summary{cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:17px 20px;list-style:none}.customer-danger-v347>summary::-webkit-details-marker{display:none}.customer-danger-v347>summary span{color:var(--v347-muted);font-size:.9rem}
/* Help center */
.help-quick-v347{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}.help-quick-v347 a{display:flex;align-items:center;gap:12px;padding:15px 16px;border-radius:15px;border:1px solid var(--v347-border);background:#fff;text-decoration:none;color:var(--v347-text);transition:.18s ease}.help-quick-v347 a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(23,52,87,.08)}.help-quick-v347 svg{width:21px;height:21px}.help-search{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;max-width:900px;margin:0 auto 24px;padding:8px 9px 8px 14px;border:1px solid #d7e1ee;border-radius:17px;background:#fff;box-shadow:0 10px 30px rgba(18,51,86,.07)}.help-search input{border:0!important;box-shadow:none!important;min-height:44px}.help-search>span{display:grid;place-items:center;color:#486783}.help-grid{gap:14px}.help-article{min-height:0!important;padding:18px!important;border-radius:16px!important}.help-article h3{margin:10px 0 6px}.help-article p{margin-bottom:12px;line-height:1.55}.help-group-v347{border-top:1px solid var(--v347-border);padding-top:8px}.help-group-v347>summary{list-style:none;cursor:pointer;padding:18px 2px;display:flex;justify-content:space-between;align-items:center;gap:14px}.help-group-v347>summary::-webkit-details-marker{display:none}.help-group-v347>summary h2{margin:0;font-size:1.22rem}.help-group-v347>summary p{margin:4px 0 0;color:var(--v347-muted)}.help-group-v347>summary::after{content:'+';font-size:1.35rem}.help-group-v347[open]>summary::after{content:'−'}
/* Work schedule */
.route-work_schedule .page-header{margin-bottom:18px}.schedule-toolbar-v346{border:1px solid var(--v347-border);border-radius:18px;padding:12px;background:#fff;box-shadow:0 8px 26px rgba(20,50,85,.05)}.schedule-week-nav-v346 strong{padding:0 5px}.schedule-access-note-v346{margin:12px 0 14px;padding:10px 13px;border-radius:13px;background:#f6f9fd;border:1px solid #e1e8f1}.schedule-tabs-v346{margin-bottom:14px;padding:4px;border-radius:14px;background:#eef3f8;display:inline-flex}.schedule-tabs-v346 a{border-radius:11px!important;padding:9px 16px!important}.schedule-tabs-v346 a.active{background:#fff;box-shadow:0 3px 11px rgba(20,48,78,.09)}
.schedule-kpis-v347{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 14px}.schedule-kpi-v347{padding:15px 17px;border:1px solid var(--v347-border);border-radius:16px;background:#fff}.schedule-kpi-v347 span{display:block;color:var(--v347-muted);font-size:.8rem}.schedule-kpi-v347 strong{display:block;margin-top:3px;font-size:1.45rem;color:#153b67}.schedule-hours-details-v347{margin-bottom:14px}.schedule-hours-details-v347>summary{list-style:none;cursor:pointer;padding:17px 20px;display:flex;justify-content:space-between;align-items:center;gap:18px}.schedule-hours-details-v347>summary::-webkit-details-marker{display:none}.schedule-hours-details-v347>summary div{min-width:0}.schedule-hours-details-v347>summary h3{margin:0 0 3px}.schedule-hours-details-v347>summary p{margin:0;color:var(--v347-muted)}.schedule-hours-details-v347>summary::after{content:'+';width:30px;height:30px;border-radius:50%;background:#eef4fa;display:grid;place-items:center;font-size:20px}.schedule-hours-details-v347[open]>summary::after{content:'−'}.schedule-hours-grid-v346{gap:10px!important}.schedule-day-v346{border-radius:15px!important;border:1px solid #e0e8f1!important;background:#fbfcfe!important;padding:13px!important}.schedule-day-head-v346{margin-bottom:9px}.schedule-week-board-card-v346{overflow:hidden}.schedule-week-board-v346{gap:9px!important}.schedule-week-column-v346{border-radius:15px!important;min-width:0!important}.schedule-week-column-v346.is-today{outline:2px solid rgba(24,104,180,.24);outline-offset:-1px;background:#f7fbff!important}.schedule-mini-item-v346{border-radius:11px!important;padding:10px!important}.schedule-main-grid-v346{align-items:start}.schedule-list-v346{display:grid;gap:10px}.schedule-item-v346{border-radius:15px!important}.schedule-participant-grid-v346{max-height:230px;overflow:auto;border:1px solid #e1e8f1;border-radius:14px;padding:8px;background:#fafcff}.schedule-meet-toggle-v346{border-radius:14px!important}
/* Legal pages */
.legal-main-v253{max-width:1100px!important}.legal-hero-v253{padding-top:clamp(34px,5vw,64px)!important;padding-bottom:clamp(24px,4vw,42px)!important}.legal-article-v253 section{scroll-margin-top:90px}.legal-article-v253 section p{line-height:1.72}.legal-tabs-v253{position:sticky;top:0;z-index:5;backdrop-filter:blur(12px);background:rgba(255,255,255,.94)}
/* Generic responsive hardening */
@media(max-width:980px){.customer-profile-grid-v347{grid-template-columns:1fr}.customer-profile-hero-v347{grid-template-columns:auto 1fr}.customer-profile-quick-v347{grid-column:1/-1;justify-content:flex-start}.customer-profile-quick-v347>strong{text-align:left}.help-quick-v347{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-kpis-v347{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-week-board-v346{overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}.schedule-week-column-v346{min-width:230px!important;scroll-snap-align:start}.trust-strip-v347{grid-template-columns:1fr!important}}
@media(max-width:720px){.content{padding:13px}.page-header{gap:12px}.page-header .actions{width:100%;display:flex;overflow-x:auto;padding-bottom:4px}.card-header,.card-body{padding-left:15px!important;padding-right:15px!important}.form-grid{grid-template-columns:1fr!important}.field-full{grid-column:auto!important}.customer-profile-hero-v347{grid-template-columns:1fr;text-align:left;padding:17px}.customer-avatar-v347{width:48px;height:48px}.customer-profile-quick-v347{grid-column:auto}.customer-profile-save-v347{width:100%;justify-self:stretch;justify-content:flex-end;bottom:7px}.help-quick-v347{grid-template-columns:1fr}.help-search{grid-template-columns:auto 1fr;padding-right:8px}.help-search .btn{grid-column:1/-1;width:100%}.schedule-toolbar-v346{padding:9px}.schedule-week-nav-v346{width:100%;display:grid!important;grid-template-columns:1fr 1fr;gap:7px}.schedule-week-nav-v346 strong{grid-column:1/-1;text-align:center;order:-1}.schedule-week-nav-v346 .btn{justify-content:center}.schedule-user-filter-v346{width:100%}.schedule-user-filter-v346 label{width:100%}.schedule-user-filter-v346 select{width:100%}.schedule-kpis-v347{grid-template-columns:1fr 1fr}.schedule-kpi-v347:last-child{grid-column:1/-1}.schedule-hours-details-v347>summary{padding:14px}.schedule-time-row-v346{grid-template-columns:1fr!important}.marketing-v250 .mkt250-hero{padding-top:52px;padding-bottom:44px}.marketing-v250 .mkt250-section{padding-top:48px;padding-bottom:48px}.marketing-v250 .price-card{min-width:min(88vw,360px)}.marketing-v250 .plan-description-v317{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}}
@media(max-width:420px){.schedule-kpis-v347{grid-template-columns:1fr}.schedule-kpi-v347:last-child{grid-column:auto}.customer-profile-quick-v347 .btn{width:100%;justify-content:center}.mkt250-hero-actions .mkt250-btn{width:100%}}

.page-header{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px}.page-header>div{min-width:0}.page-header h1{overflow-wrap:anywhere}.page-header .actions{display:flex;flex-wrap:wrap;gap:8px}.settings-layout,.two-column,.support-admin-layout-v251{min-width:0}.settings-main,.settings-sidebar{min-width:0}.notice p,.alert span,.card p{overflow-wrap:anywhere}.code-block,pre,code{max-width:100%;overflow:auto}.tabs,.subtabs{max-width:100%;overflow-x:auto;scrollbar-width:thin}.btn{max-width:100%}
@media(max-width:900px){.settings-layout,.two-column,.support-admin-layout-v251,.grid.cols-2,.grid.cols-3,.grid.cols-4{grid-template-columns:1fr!important}.settings-sidebar{position:static!important;max-height:none!important}.topbar{gap:8px}.topbar-actions{min-width:0}.global-search{min-width:0}}
@media(max-width:560px){.page-header .actions{width:100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.page-header .actions .btn{flex:0 0 auto}.toolbar>form{width:100%;display:grid;grid-template-columns:1fr auto;gap:8px}.toolbar>form input,.toolbar>form select{min-width:0;width:100%}.footer-v335{gap:12px}.footer-links-v335{display:flex;flex-wrap:wrap;gap:8px 14px}}
