/* LUMA VET — visual enhancement only; no business logic. */
body:is(.luma-storefront,.crm-page){--lv-blue:#0096B2;--lv-pink:#F29499;--lv-depth:0 2px 0 rgb(242 148 153 / 65%),0 12px 30px rgb(0 150 178 / 14%);--lv-hover:0 4px 0 #F29499,0 18px 36px rgb(0 150 178 / 22%)}
.luma-storefront .luma-home .luma-hero.luma-split{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;box-shadow:var(--lv-depth);background-image:radial-gradient(ellipse at 12% 0%,#ffffff24,transparent 60%),linear-gradient(125deg,#0096B2,#0096B2d9)}
.luma-storefront .luma-hero-content{position:relative;z-index:1;padding-block:clamp(24px,4vw,64px)}
.luma-storefront .luma-hero-content h1{font-size:clamp(2rem,5vw,4.4rem);line-height:1.06;letter-spacing:-.045em}
.luma-storefront .luma-hero-photo{position:relative;isolation:isolate;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px #0096B233}
.luma-storefront .luma-hero-photo::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(140deg,#0096B226,transparent 55%,#F2949926);border:1px solid #ffffff70;border-radius:inherit}
.luma-storefront .luma-hero-photo img{transition:transform .65s cubic-bezier(.2,.7,.2,1)}
.luma-storefront .luma-quick-nav{position:relative;z-index:2;gap:12px}
.luma-storefront .luma-quick-nav a{border-radius:18px;box-shadow:var(--lv-depth);transition:transform .22s,box-shadow .22s}
.luma-storefront .luma-home :is(.luma-service,.luma-featured-card,.luma-store,.luma-record,.luma-groom,.luma-clinic,.luma-visit,.luma-gallery-grid figure){border-radius:22px;box-shadow:var(--lv-depth);transition:transform .24s,box-shadow .24s}
.luma-storefront .luma-home .luma-service-photo{overflow:hidden;border-radius:16px}
.luma-storefront .luma-home :is(.luma-service-photo img,.luma-featured-card img,.luma-groom-image img){transition:transform .45s ease}
.luma-storefront .luma-home .luma-section>header{gap:12px;align-items:center}
.luma-storefront .luma-home .luma-section>header h2{letter-spacing:-.035em}
.luma-storefront .luma-wallet-home{background-image:radial-gradient(ellipse at top right,#ffffff26,transparent 65%)}
.luma-storefront .home-wallet-stack>span{border:1px solid #ffffff55;border-radius:14px;padding:10px;backdrop-filter:blur(6px)}
.crm-page .crm-main :is(.lb-open-card,.lb-panel,.lb-shortcut,.crm-stat,.crm-module,.crm-patient-card,.crm-record-group,.luma-directory-panel,.luma-catalog-card,.lc,.passport){border-radius:18px;box-shadow:var(--lv-depth);transition:box-shadow .22s,border-color .22s}
.crm-page .crm-main :is(.lb-open-head,.luma-crm-service-heading,.luma-work-heading){border-radius:14px}
.crm-page .crm-main :is(.lb-tile-icon,.luma-quick-icon){box-shadow:0 3px 0 #F29499; border-radius:12px}
.crm-page .crm-main :is(.crm-dashboard-hero,.crm-patient-hero,.luma-staff-passport>header){background-image:radial-gradient(ellipse at top right,#ffffff26,transparent 65%);border-radius:20px;box-shadow:var(--lv-depth)}
.crm-page .crm-main :is(.lb-shortcut,.lb-open-card,.crm-patient-card,.luma-directory-entry):focus-within{outline:2px solid #0096B2;outline-offset:2px}
@media(hover:hover) and (pointer:fine){.luma-storefront .luma-hero-photo:hover img{transform:scale(1.045)}.luma-storefront .luma-home :is(.luma-service,.luma-featured-card,.luma-quick-nav a,.luma-gallery-grid figure):hover{transform:translateY(-4px);box-shadow:var(--lv-hover)}.luma-storefront .luma-home :is(.luma-service,.luma-featured-card,.luma-groom):hover img{transform:scale(1.025)}.crm-page .crm-main :is(.lb-shortcut,.crm-patient-card,.luma-directory-entry,.luma-catalog-card):hover{box-shadow:var(--lv-hover);border-color:#0096B2}}
@media(max-width:760px){.luma-storefront .luma-home .luma-hero.luma-split{border-radius:20px}.luma-storefront .luma-hero-content{padding-block:24px}.luma-storefront .luma-hero-photo{border-radius:16px}.luma-storefront .luma-home :is(.luma-service,.luma-featured-card,.luma-record,.luma-store,.luma-groom,.luma-clinic){border-radius:16px}.crm-page .crm-main :is(.lb-open-card,.lb-panel,.crm-stat,.crm-patient-card,.lc){border-radius:14px}}
@media(prefers-reduced-motion:no-preference){.luma-storefront .luma-hero-content{animation:lv-enter .48s ease-out both}.luma-storefront .luma-hero-photo{animation:lv-enter .6s ease-out both}@keyframes lv-enter{from{opacity:.65;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.luma-storefront .luma-home *, .crm-page .crm-main *{animation:none!important;transition:none!important}}

/* Caja en vivo */
.cash-hero,.cash-live{border:1px solid #0096B233!important;box-shadow:0 12px 35px #0096B21c!important;border-radius:24px!important;padding:clamp(16px,3vw,28px)!important}
.cash-hero h1{color:#0096B2;margin:0 0 16px}.cash-tabs{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}.cash-tabs a{display:inline-flex;padding:12px 20px;border-radius:14px;background:#0096B2;color:white!important;font-weight:700;text-decoration:none;box-shadow:0 5px 15px #0096B233}.cash-tabs a:hover{transform:translateY(-2px)}
.cash-team{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px;margin:16px 0 24px}.cash-person{display:flex;align-items:center;gap:12px;padding:16px;border-radius:18px;background:white;border:1px solid #0096B233;box-shadow:0 6px 20px #0096B214;min-width:0}.cash-person>div{flex:1;min-width:0;overflow-wrap:anywhere}.cash-person strong,.cash-person small{display:block}.cash-person small{font-size:.75rem;margin-top:4px}.cash-avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:#0096B2;color:white}.cash-avatar svg{width:22px;height:22px}.cash-state{display:grid;justify-items:center;gap:7px;font-size:.75rem;font-weight:700;color:#b91c1c;flex:none;--signal:#ef4444}.cash-active .cash-state{color:#15803d;--signal:#22c55e}.cash-state i{width:12px;height:12px;border-radius:50%;background:var(--signal);box-shadow:0 0 12px var(--signal);animation:cashPulse 2s ease-out infinite}@keyframes cashPulse{0%,100%{box-shadow:0 0 0 0 var(--signal)}70%{box-shadow:0 0 0 8px transparent,0 0 12px var(--signal)}}@media(prefers-reduced-motion:reduce){.cash-state i{animation:none}.cash-tabs a:hover{transform:none}}

/* Scoped compact POS and shift cards: override global CRM typography. */
html body.crm-page .crm-main :is(.cash-live,.cash-hero,.cash-shift-admin,.cash-shift-control,.cash-today,.cash-history,.cash-cut){box-sizing:border-box;min-width:0;max-width:100%;padding:clamp(14px,2vw,22px)!important;border:1px solid #0096b233!important;border-radius:20px!important;background:linear-gradient(145deg,#fff 70%,#0096b208)!important;box-shadow:0 8px 24px #0096b216!important}
html body.crm-page .crm-main :is(.cash-live,.cash-hero,.cash-shift-admin,.cash-shift-control,.cash-today,.cash-history,.cash-cut) :is(h1,h2,h3){font-size:clamp(1.05rem,1.6vw,1.4rem)!important;line-height:1.25!important;letter-spacing:-.02em!important;margin:0 0 10px!important}
html body.crm-page .crm-main .cash-team{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;margin:12px 0 20px}
html body.crm-page .crm-main .cash-person{display:grid!important;grid-template-columns:42px minmax(0,1fr) max-content;align-items:center!important;gap:12px!important;padding:14px!important;min-height:84px;height:auto!important;overflow:visible!important;background:linear-gradient(120deg,#fff,#0096b208)!important;border-radius:16px!important;box-shadow:0 5px 16px #0096b21a!important}
html body.crm-page .crm-main .cash-person>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
html body.crm-page .crm-main .cash-person strong{font-size:.95rem!important;line-height:1.25!important;margin:0!important}
html body.crm-page .crm-main .cash-person small{font-size:.76rem!important;line-height:1.4!important;white-space:normal!important}
html body.crm-page .crm-main :is(.cash-person,.cash-schedule) .cash-avatar{display:grid!important;place-items:center;width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;background:#0096b215!important;color:#0096b2!important;border-radius:14px!important}
html body.crm-page .crm-main .cash-person .cash-state{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-size:.75rem!important;line-height:1.2!important;padding:8px 10px!important;border-radius:999px!important;color:#b91c1c!important;background:#ef444412!important}
html body.crm-page .crm-main .cash-active .cash-state{color:#15803d!important;background:#22c55e12!important}
html body.crm-page .crm-main .cash-state i{display:block!important;flex:0 0 10px!important;width:10px!important;height:10px!important;min-width:10px!important}
html body.crm-page .crm-main .cash-schedule{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:10px}
html body.crm-page .crm-main .cash-schedule li{display:grid;grid-template-columns:42px minmax(0,1fr) max-content;align-items:center;gap:10px;padding:12px;border:1px solid #0096b233;border-radius:14px;background:white;box-shadow:0 5px 14px #0096b211}
.cash-schedule li strong,.cash-schedule li small{display:block;overflow-wrap:anywhere}.cash-schedule li small{font-size:.75rem!important;line-height:1.4}.cash-schedule-state{font-size:.75rem!important;white-space:nowrap;padding:6px 9px;border-radius:999px;background:#0096b215}
@media(max-width:480px){html body.crm-page .crm-main :is(.cash-person,.cash-schedule li){grid-template-columns:42px minmax(0,1fr);gap:8px!important}html body.crm-page .crm-main :is(.cash-state,.cash-schedule-state){grid-column:2;justify-self:start}html body.crm-page .crm-main .cash-tabs a{flex:1;text-align:center;justify-content:center;font-size:.85rem;padding:10px}}

/* Caja: controles directos, compactos y accesibles. */
.crm-page .cash-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px;margin:14px 0 22px}
.crm-page .cash-action-card,.crm-page .cash-code-issued{padding:16px;border:1px solid #0096b233;border-radius:18px;background:linear-gradient(145deg,#fff,#0096b20b);box-shadow:0 8px 24px #0096b215;min-width:0}
.crm-page .cash-code{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px;max-width:460px;margin:8px 0 12px;min-width:0}
.crm-page .cash-code label{display:block!important;font-size:.85rem!important;font-weight:600!important;min-width:0}
.crm-page .cash-code input{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;font-size:1rem!important;letter-spacing:.12em;padding:12px!important;border:1px solid #0096b244!important;border-radius:12px!important;background:white!important}
.crm-page .cash-code-actions{display:flex!important;flex-wrap:wrap;gap:6px;align-items:center}
.crm-page .cash-code-actions button{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;width:auto!important;min-width:40px!important;min-height:40px!important;padding:8px 12px!important;font-size:.8rem!important;line-height:1.2!important;border-radius:12px!important;background:#0096b215!important;color:#0096b2!important;border:1px solid #0096b233!important;box-shadow:none!important}
.crm-page .cash-code-actions svg{width:20px;height:20px}.crm-page .cash-code-actions button[aria-pressed=true]{background:#0096b2!important;color:white!important}.crm-page .cash-code-message{font-size:.75rem!important}.crm-page .cash-code-message:empty{display:none}.crm-page .cash-live-caption{font-size:.75rem!important;margin:0!important}
.crm-page .cash-action-card form{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px}.crm-page .cash-action-card form>button,.crm-page .cash-shift-control form>button{font-size:.9rem!important;min-height:44px;border-radius:12px!important}
/* Compact operational workspace; native disclosures preserve form behavior. */
html body.crm-page .crm-main .cash-workspace{display:grid;gap:12px;min-width:0}
html body.crm-page .crm-main .cash-workspace>.cash-hero{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 16px!important;margin:0!important}
html body.crm-page .crm-main .cash-hero h1,html body.crm-page .crm-main .cash-hero .cash-tabs{margin:0!important}
html body.crm-page .crm-main .cash-tabs a{padding:9px 14px!important;font-size:.85rem!important}
html body.crm-page .crm-main .cash-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;align-items:stretch}
html body.crm-page .crm-main .cash-overview-person{display:grid;min-width:0}
html body.crm-page .crm-main .cash-overview .cash-shift-control{margin:0!important;padding:12px 16px!important}
html body.crm-page .crm-main .cash-shift-control p{font-size:.78rem!important;margin:4px 0!important}
html body.crm-page .crm-main .cash-shift-control form{display:flex!important;align-items:end;flex-wrap:wrap;gap:10px;padding:0!important;margin:0!important}
html body.crm-page .crm-main .cash-code{display:flex!important;align-items:end;flex-wrap:wrap;gap:6px;flex:1 1 290px;max-width:none;margin:0!important}
html body.crm-page .crm-main .cash-code label{flex:1 1 130px;margin:0!important}
html body.crm-page .crm-main .cash-code input{height:40px!important;padding:8px!important;margin:4px 0 0!important}
html body.crm-page .crm-main .cash-code-actions{flex:0 0 auto}
html body.crm-page .crm-main .cash-code-message{flex-basis:100%}
html body.crm-page .crm-main .cash-shift-control form>button{width:auto!important;margin:0!important;min-height:40px!important;padding:8px 12px!important}
html body.crm-page .crm-main .luma-fold{min-width:0;margin:0!important;padding:0!important;border:1px solid #0096b233!important;border-radius:16px!important;background:linear-gradient(135deg,#fff,#0096b209)!important;box-shadow:0 6px 18px #0096b214!important}
html body.crm-page .crm-main .luma-fold>summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:14px 16px!important;font-size:.95rem!important;font-weight:700;color:#0096b2!important}
html body.crm-page .crm-main .luma-fold>summary::-webkit-details-marker{display:none}
html body.crm-page .crm-main .luma-fold>summary::after{content:' ';width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s;flex:none}
html body.crm-page .crm-main .luma-fold[open]>summary::after{transform:rotate(225deg)}
html body.crm-page .crm-main .luma-fold[open]>summary{border-bottom:1px solid #0096b222}
html body.crm-page .crm-main .luma-fold> :not(summary){margin:12px!important;max-width:calc(100% - 24px)}
html body.crm-page .crm-main details:not(.luma-fold)>summary{cursor:pointer;border-radius:12px;transition:background .2s}
html body.crm-page .crm-main details:not(.luma-fold)>summary:hover{background:#0096b20d}
@media(max-width:800px){html body.crm-page .crm-main .cash-overview{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.luma-fold>summary::after{transition:none!important}}
/* POS: compact single operational strip */
html body.crm-page .crm-main .cash-workspace{gap:8px!important}
html body.crm-page .crm-main .cash-workspace>.cash-hero{padding:7px 12px!important;min-height:0!important}
html body.crm-page .crm-main .cash-hero h1{font-size:1.05rem!important;line-height:1.2!important}
html body.crm-page .crm-main .cash-overview{grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:0!important;border:1px solid #0096b233;border-radius:16px;background:linear-gradient(120deg,#fff,#0096b20b);overflow:hidden}
html body.crm-page .crm-main .cash-overview :is(.cash-person,.cash-shift-control){border:0!important;box-shadow:none!important;background:transparent!important;padding:8px 12px!important;min-height:0!important;margin:0!important;border-radius:0!important}
html body.crm-page .crm-main .cash-overview .cash-shift-control{border-left:1px solid #0096b222!important}
html body.crm-page .crm-main .cash-shift-control h2{font-size:.95rem!important;margin:0!important;line-height:1.2!important}
html body.crm-page .crm-main .cash-shift-control p{margin:2px 0 4px!important;font-size:.72rem!important}
html body.crm-page .crm-main .cash-code input{height:34px!important;font-size:.82rem!important;letter-spacing:.04em!important}
html body.crm-page .crm-main .cash-code-actions button,html body.crm-page .crm-main .cash-shift-control form>button{min-height:34px!important;padding:5px 9px!important;font-size:.72rem!important}
html body.crm-page .crm-main .cash-workspace .luma-fold>summary{padding:9px 12px!important;font-size:.85rem!important}
@media(max-width:800px){html body.crm-page .crm-main .cash-overview{grid-template-columns:1fr}html body.crm-page .crm-main .cash-overview .cash-shift-control{border-left:0!important;border-top:1px solid #0096b222!important}}
.cash-pos-columns{display:grid;grid-template-columns:minmax(0, 2.3fr) minmax(260px,1fr);gap:12px;align-items:start}.cash-pos-main,.cash-pos-side{min-width:0}.cash-pos-side{display:grid;gap:8px;position:sticky;top:12px}.cash-pos-side .card{margin:0!important;min-width:0}.cash-pos-side .lc-scroll{overflow:auto;max-width:100%}.cash-pos-side .luma-fold>summary{font-size:.85rem!important;white-space:normal}.cash-personal-panel .cash-code{max-width:520px}.cash-pos-main .lc-pos{min-width:0}@media(max-width:1000px){.cash-pos-columns{grid-template-columns:minmax(0,1fr)}.cash-pos-side{position:static}}
