:root{--primary:#2563eb;--bg:#f5f7fb;--text:#172033;--muted:#718096;--border:#e5eaf2}*{box-sizing:border-box}body{margin:0;font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text);background:var(--bg)}a{text-decoration:none;color:inherit}.layout{display:flex;min-height:100vh}.sidebar{width:258px;flex-shrink:0;background:#101b31;color:#c6d0e2;padding:26px 16px}.brand{font-size:22px;font-weight:800;color:white;display:block;padding:0 10px 24px}.brand small{font-size:12px;color:#93a6c7}.paw{font-size:25px}.company{padding:15px;background:#1a2a45;border-radius:12px;margin-bottom:20px}.company-name{font-weight:700;color:white}.muted{color:#9caec7;font-size:12px}.sidebar nav a{display:block;padding:11px 13px;border-radius:9px;font-size:14px}.sidebar nav a:hover{background:#243752;color:white}.navlabel{font-size:10px;letter-spacing:1.5px;color:#8296b8;padding:22px 12px 8px}.main{flex:1;min-width:0}.topbar{height:74px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:12px}.top-title{font-weight:700}.version{font-size:11px;background:#eaf0fc;color:#3c67a8;padding:4px 7px;border-radius:5px}.top-actions{display:flex;align-items:center;gap:12px}.user{font-size:13px;color:#64748b}.small-button{border:1px solid var(--border);border-radius:8px;background:white;padding:8px 12px;cursor:pointer}.content{padding:34px;max-width:1450px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}h1{font-size:28px;margin:0 0 5px}h2{font-size:18px;margin:0 0 20px}.heading p{margin:0;color:var(--muted)}.pill{background:#e8efff;color:#2d5ec5;border-radius:30px;padding:7px 12px;font-size:12px;white-space:nowrap}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.kpi,.panel{background:white;border:1px solid var(--border);border-radius:15px;box-shadow:0 5px 24px #15274a08}.kpi{padding:23px}.kpi div{color:#64748b;font-size:13px}.kpi strong{display:block;font-size:30px;margin:12px 0 6px}.kpi small{color:#8a9aaf}.panels{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-top:22px}.panel{padding:24px}.empty-chart{height:280px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#8a98ad}.empty-chart span{font-size:46px}.empty-chart h3{margin:14px 0 0;color:#45536b}.empty-chart p{max-width:360px}.alert-item{padding:16px 0;border-bottom:1px solid var(--border)}.notice{padding:12px 16px;background:#e7f8ee;border-radius:9px;margin-bottom:20px}.button,.primary{background:var(--primary);color:white;border:0;border-radius:9px;padding:11px 17px;display:inline-block;cursor:pointer;font-size:14px}.form-panel{max-width:720px}.form-panel label,.login-card label{display:block;font-weight:600;font-size:13px;margin:12px 0 6px}input,select{padding:11px;border:1px solid #d8dfeb;border-radius:8px;max-width:100%;font:inherit}input[type=text],input[type=email],input[type=password],.form-panel input:not([type=file]){width:100%}.form-panel p{margin:14px 0}.help{font-size:12px;color:#77859b}.error{background:#ffeded;color:#a11;padding:10px;border-radius:7px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:13px;text-align:left;border-bottom:1px solid var(--border)}th{color:#728198;font-size:13px}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(125deg,#122340,#2456a1)}.login-card{background:white;width:min(420px,92vw);padding:38px;border-radius:20px;box-shadow:0 30px 90px #0003}.login-symbol{font-size:40px}.login-card h1{font-size:28px;margin:10px 0 0}.login-card p{color:#8290a3;margin:0 0 22px}.login-card input{width:100%}.login-card button{width:100%;margin:23px 0}.login-card small{display:block;text-align:center;color:#9aa6b6}@media(max-width:1100px){.kpis{grid-template-columns:repeat(2,1fr)}.panels{grid-template-columns:1fr}}@media(max-width:700px){.layout{display:block}.sidebar{width:100%;padding:12px}.brand{padding:6px}.company{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:6px}.sidebar nav a{white-space:nowrap}.navlabel{display:none}.topbar{padding:12px;height:auto}.content{padding:20px}.heading{align-items:flex-start;flex-direction:column}.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:15px}.kpi strong{font-size:24px}.top-title{display:none}}@media(max-width:390px){.kpis{grid-template-columns:1fr}}

.pet-table{width:100%;border-collapse:collapse;margin-top:18px}.pet-table th,.pet-table td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:left}.pet-table th{background:#f1f5f9}.panel form input,.panel form select{padding:9px;border:1px solid #cbd5e1;border-radius:6px;max-width:100%}.panel form p{margin:12px 0}.panel form button{background:#2563eb;color:white;padding:10px 18px;border:0;border-radius:6px;cursor:pointer}

/* PetShop Manager v1.1.1 · interfaz renovada */
:root{--primary:#2563eb;--bg:#f3f6fb;--text:#15233b;--muted:#73829a;--border:#e2e9f3}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.01em}
.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(165deg,#111f37 0%,#0c172b 100%);padding:0;width:260px;box-shadow:4px 0 20px #12233a10;scrollbar-width:thin;scrollbar-color:#405474 transparent}
.sidebar-inner{min-height:100%;display:flex;flex-direction:column;padding:26px 14px 18px}
.brand{padding:0 12px 26px;font-size:22px;letter-spacing:-.035em}
.company{background:#1c3050;border:1px solid #2c4263;border-radius:14px;padding:17px;margin:0 0 25px}
.sidebar nav{flex:1}.sidebar nav a{display:block;margin:3px 0;padding:12px 13px;border-radius:10px;transition:background .15s,transform .15s;font-weight:500;color:#cad6e8}
.sidebar nav a:hover,.sidebar nav a:focus-visible{background:#253d60;color:#fff;transform:translateX(2px)}
.navlabel{padding:18px 13px 8px;color:#8ea5c5;font-size:10px;font-weight:700;letter-spacing:.14em}
.sidebar-footer{border-top:1px solid #31415a;margin-top:24px;padding:19px 12px 4px;color:#b5c6e0;font-size:12px}.sidebar-footer small{display:block;color:#7189a8}
.main{min-height:100vh}.topbar{position:sticky;top:0;z-index:10;height:72px;box-shadow:0 3px 14px #15243c08}.content{padding:38px;max-width:1510px}
h1{font-size:30px;letter-spacing:-.045em;font-weight:750}.heading{margin-bottom:26px}.heading p{margin-top:5px}.eyebrow{font-size:11px;color:#5675ac;font-weight:800;letter-spacing:.14em;margin-bottom:7px}
.panel,.kpi{border-radius:18px;box-shadow:0 9px 30px #233d6a08}.panel{padding:28px}.button,.primary{border-radius:10px;font-weight:650;box-shadow:0 4px 12px #2563eb20}.small-button{border-radius:10px;font-weight:600}
.wide-form{max-width:1050px}.section-title{display:flex;gap:15px;align-items:center;border-bottom:1px solid var(--border);padding-bottom:22px;margin-bottom:24px}.section-title h2{margin:0 0 3px;font-size:19px}.section-title p{margin:0;color:var(--muted);font-size:13px}.section-icon{background:#eaf1ff;color:#245dd6;border-radius:12px;padding:13px;font-size:22px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 24px}.field-wide{grid-column:1/-1}.field label{display:block;font-size:13px;font-weight:650;margin-bottom:8px;color:#33445e}.field input:not([type=checkbox]),.field select,.field textarea{display:block;width:100%;min-height:44px;border:1px solid #d6e0ee;background:#fff;border-radius:10px;padding:10px 12px;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus{outline:0;border-color:#5589ed;box-shadow:0 0 0 3px #2563eb1a}.field input[type=checkbox]{width:18px;height:18px;accent-color:var(--primary)}.field-hint{font-size:12px;color:#7889a2;margin-top:7px}.field-hint a{color:#2563eb;font-weight:650}.field-error{color:#bd2434;font-size:12px;margin-top:5px}
.form-footer{border-top:1px solid var(--border);margin-top:28px;padding-top:23px;display:flex;justify-content:space-between;align-items:center;gap:15px}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:18px}.form-footer .form-actions{margin-top:0}
.table-wrap table th{background:#f7f9fd;font-weight:700}.table-wrap table tr:hover td{background:#f9fbff}.status{border-radius:30px;background:#edf0f5;padding:5px 10px;font-size:12px}.status-ok{background:#e8f8ef;color:#18764c}.empty-cell{text-align:center;color:var(--muted);padding:38px}
@media(max-width:900px){.sidebar{width:215px}.content{padding:25px}.form-grid{grid-template-columns:1fr}}
@media(max-width:700px){.sidebar{position:sticky;top:0;z-index:20;width:100%;height:auto;max-height:190px;overflow-y:auto}.sidebar-inner{padding:10px 12px}.brand{padding:4px 7px}.sidebar nav{display:flex;overflow-x:auto;gap:4px}.sidebar nav a{white-space:nowrap}.sidebar-footer{display:none}.main{min-height:0}.topbar{top:0}.form-footer{align-items:flex-start;flex-direction:column}.content{padding:18px}.form-grid{gap:13px}}

/* PetShop Manager v1.1.2 */
:root{--primary:#1d65dc;--bg:#f1f5fb;--border:#dfe7f1}
.sidebar{position:fixed;left:0;top:0;bottom:0;height:100dvh;z-index:30;width:260px}
.main{margin-left:260px;width:calc(100% - 260px)}
.sidebar nav a{border:1px solid transparent}.sidebar nav a:hover{border-color:#3a5070}
.topbar{height:70px}.content{max-width:1500px;padding:34px 38px}
.page-hero{background:linear-gradient(110deg,#fff 10%,#eaf2ff 100%);border:1px solid #e0e9f6;border-radius:20px;padding:28px 30px;box-shadow:0 10px 25px #243e6508}
.page-hero h1{font-size:31px}.page-hero p{max-width:640px}.hero-symbol{width:65px;height:65px;border-radius:18px;background:#dce9ff;color:#245cd2;font-size:40px;display:grid;place-items:center}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:22px 0;padding:4px 0}.toolbar strong{font-size:20px}.toolbar-muted{color:var(--muted);font-size:13px}.toolbar-actions,.row-actions,.import-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.secondary-button{background:white;color:#245cd2;border:1px solid #c8d9f7;box-shadow:none}.import-panel{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px;background:#fafdff;border-style:dashed;border-color:#bed2f0}.import-panel h2,.table-heading h2{margin:0 0 4px}.import-panel p,.table-heading p{margin:0;color:var(--muted);font-size:13px}.import-form input[type=file]{background:white;max-width:290px}.table-heading{margin-bottom:20px}.danger-button{color:#b42336;border-color:#f3cbd0;background:#fff5f5}.danger-button:hover{background:#fee5e7}.row-actions form{margin:0}.row-actions form button{font-size:13px}.info-strip{margin-top:22px;background:#eff6ff;border:1px solid #cfe2ff;border-radius:12px;padding:15px;color:#30527e}.field[hidden]{display:none!important}
@media(max-width:900px){.sidebar{width:215px}.main{margin-left:215px;width:calc(100% - 215px)}.import-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.sidebar{position:relative;left:auto;top:auto;bottom:auto;width:100%;height:auto}.main{margin-left:0;width:100%}.page-hero{padding:22px}.toolbar{align-items:flex-start;flex-direction:column}.import-form{align-items:stretch}.content{padding:18px}}

/* v1.1.3: encabezados unificados con iconografía vectorial */
.unified-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(112deg,#ffffff 0%,#f5f9ff 55%,#e9f1ff 100%);border:1px solid #dce6f5;border-radius:20px;padding:29px 32px;box-shadow:0 12px 30px rgba(28,61,113,.055);gap:24px}
.unified-hero .hero-copy{min-width:0}.unified-hero .eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:#4c6eaa;margin-bottom:9px}.unified-hero h1{margin:0 0 6px;color:#112544;line-height:1.2}.unified-hero p{color:#637a9a;max-width:720px;margin:0}.hero-side{display:flex;align-items:center;gap:14px;flex-shrink:0}.unified-hero .hero-symbol{width:76px;height:76px;border-radius:21px;background:#dce9ff;border:1px solid #cfdef9;color:#225ed0;display:flex;align-items:center;justify-content:center}.unified-hero .hero-symbol svg{width:37px;height:37px}.hero-actions-below{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin:-12px 0 24px}.hero-actions-below .small-button,.hero-actions-below .pill{box-shadow:0 4px 14px #172b4a10}@media(max-width:700px){.unified-hero{padding:22px;flex-direction:row;align-items:center}.unified-hero .hero-symbol{width:54px;height:54px;border-radius:15px}.unified-hero .hero-symbol svg{width:28px;height:28px}.unified-hero h1{font-size:25px}.hero-actions-below{justify-content:flex-start;margin:0 0 20px}}

/* v1.5.3: catálogo legible y desplazamiento horizontal controlado */
.catalogo-table-scroll {width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin-top:16px}
.catalogo-table {min-width:1320px;width:100%;border-collapse:collapse;table-layout:auto}
.catalogo-table th,.catalogo-table td {padding:13px 12px;vertical-align:middle;text-align:left;white-space:nowrap}
.catalogo-table .catalogo-producto {min-width:250px;max-width:360px;white-space:normal;line-height:1.45;font-weight:600}
.catalogo-table .catalogo-acciones {min-width:215px;white-space:nowrap}
.catalogo-table .catalogo-acciones a {display:inline-block;margin:3px 2px}
.catalogo-table tbody tr:hover {background:#f7faff}

/* v1.5.4 — catálogo legible, sin dividir símbolos y cifras */
.catalogo-table-v154{min-width:990px;table-layout:fixed;width:100%;margin-top:0}
.catalogo-table-v154 th,.catalogo-table-v154 td{white-space:normal;vertical-align:middle;padding:18px 14px;line-height:1.4}
.catalogo-table-v154 th:nth-child(1){width:29%}.catalogo-table-v154 th:nth-child(2){width:25%}.catalogo-table-v154 th:nth-child(3){width:15%}.catalogo-table-v154 th:nth-child(4){width:17%}.catalogo-table-v154 th:nth-child(5){width:14%}
.catalogo-table-v154 .catalogo-producto{min-width:0;max-width:none;overflow-wrap:anywhere}
.catalogo-sub{font-size:12px;color:#64748b;font-weight:400;margin-top:7px}
.catalogo-info-grid{display:grid;grid-template-columns:minmax(85px,1fr) max-content;gap:5px 10px;align-items:baseline;font-size:13px}
.catalogo-info-grid span{color:#64748b}.catalogo-info-grid strong{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.catalogo-profit{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.catalogo-profit small{font-weight:400;color:#64748b}
.catalogo-stock{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#64748b}.catalogo-stock strong{font-size:15px;color:#0f172a;white-space:nowrap}.catalogo-low{color:#b45309;font-weight:700}
.catalogo-table-v154 .catalogo-acciones{min-width:0;white-space:normal}
.catalogo-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.catalogo-actions form{display:inline;margin:0}
.catalogo-table-v154 .catalogo-actions .catalogo-action{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:7px 9px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#1d4ed8;font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none;cursor:pointer;line-height:1.2}
.catalogo-table-v154 .catalogo-actions .catalogo-delete{color:#b42318;border-color:#fecaca;background:#fff5f5}
.catalogo-table-v154 .catalogo-actions .catalogo-action:hover{background:#eff6ff}.catalogo-table-v154 .catalogo-actions .catalogo-delete:hover{background:#fee2e2}
/* v1.5.6: catálogo legible, filtros combinables */
.food-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.food-kpis>div{background:#fff;border:1px solid #dce5f1;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:9px;min-width:0}.food-kpis small,.food-muted,.food-count{color:#64748b}.food-kpis strong{font-size:21px;overflow-wrap:anywhere}.food-top-actions{margin-bottom:15px}.food-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;margin-bottom:15px}.food-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#334155;min-width:0}.food-filters input,.food-filters select{width:100%;min-width:0;box-sizing:border-box;min-height:42px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font-size:14px}.food-filter-actions{display:flex;gap:9px;align-items:center}.food-filter-actions button,.food-filter-actions a{min-height:40px}.food-count{font-size:13px;margin:8px 0}.food-table{width:100%;min-width:1050px;table-layout:fixed;border-collapse:collapse}.food-table th,.food-table td{padding:16px 13px;vertical-align:top;text-align:left;white-space:normal;line-height:1.5;overflow-wrap:anywhere}.food-table th:nth-child(1){width:27%}.food-table th:nth-child(2){width:25%}.food-table th:nth-child(3){width:16%}.food-table th:nth-child(4){width:17%}.food-table th:nth-child(5){width:15%}.food-muted{font-size:12px;margin-top:5px}.food-values{display:flex;flex-direction:column;gap:7px}.food-values>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf2f7;padding-bottom:5px}.food-values span,.food-stock span{color:#64748b;font-size:12px}.food-values strong{white-space:nowrap;font-variant-numeric:tabular-nums}.food-stock{display:flex;flex-direction:column;gap:5px}.food-actions{display:flex;flex-wrap:wrap;gap:7px}.food-actions form{margin:0}.food-actions a,.food-actions button{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;background:#fff;color:#1d4ed8;border:1px solid #cbd5e1;border-radius:8px;text-decoration:none;font-size:12px;font-weight:600;cursor:pointer;min-height:34px}.food-actions .food-delete{color:#b42318;background:#fff5f5;border-color:#fecaca}@media(max-width:900px){.food-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.food-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.food-kpis,.food-filters{grid-template-columns:1fr}}

/* PetShop Manager 1.6.0 — sistema visual turquesa comercial */
:root{--primary:#087f8c;--bg:#f3f7f8;--text:#173340;--muted:#607987;--border:#dce8eb;--ps-navy:#102b38;--ps-teal:#087f8c;--ps-soft:#e7f6f5}
body{background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}
.sidebar{background:var(--ps-navy)!important;box-shadow:5px 0 24px #102b3814;width:250px;transition:width .2s}
.sidebar-inner{padding:24px 13px 18px}.brand{letter-spacing:-.045em}.company{background:#193d4a!important;border:1px solid #31515d!important;color:white}
.ps-nav{display:flex!important;flex-direction:column!important;gap:5px!important;overflow:visible!important}.ps-nav-link,.ps-nav-group>summary{display:flex!important;align-items:center;gap:12px;padding:12px 13px!important;color:#d2e5e9!important;border-radius:11px;cursor:pointer;font-size:14px;font-weight:600;list-style:none;min-height:44px}
.ps-nav-group>summary::-webkit-details-marker{display:none}.ps-nav-group>summary::marker{content:""}.ps-nav-group>summary:hover,.ps-nav-link:hover,.ps-nav-group[open]>summary,.ps-nav-link.ps-active{background:#23515c!important;color:white!important}.ps-ico{width:22px;text-align:center;font-size:18px;flex-shrink:0}.ps-chevron{margin-left:auto;transition:transform .18s;color:#b8d0d5}.ps-nav-group[open] .ps-chevron{transform:rotate(180deg)}.ps-submenu{display:grid;gap:3px;margin:3px 0 7px 24px;padding-left:11px;border-left:1px solid #41616c}.ps-submenu a{padding:9px 12px!important;margin:0!important;font-size:13px!important;color:#b8d0d5!important;border-radius:8px!important;white-space:normal!important}.ps-submenu a:hover,.ps-submenu a.ps-active{background:#255765!important;color:white!important;transform:none!important}.ps-submenu a.ps-active{box-shadow:inset 3px 0 var(--ps-teal)}
.topbar{border-color:var(--border);background:#fff}.version{background:var(--ps-soft);color:var(--primary);font-weight:700}.content{max-width:1600px;padding:34px clamp(18px,3vw,46px)}
.kpi,.panel,.card{border-color:var(--border)!important;box-shadow:0 10px 30px #18374408!important;border-radius:18px!important}.kpi{padding:22px}.kpi strong{font-weight:750;letter-spacing:-.035em}
button,.button,.primary,.small-button,input,select,textarea{font-family:inherit;transition:border-color .16s,background .16s,box-shadow .16s}button,.button,.primary,.small-button{border-radius:10px!important;min-height:39px;cursor:pointer}.button,.primary{background:var(--primary)!important;color:white!important}.button:hover,.primary:hover{background:#076a76!important}.small-button{border-color:var(--border)!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #68cbd0!important;outline-offset:2px}
input,select,textarea{border:1px solid #cadce0!important;border-radius:10px!important;background:white;min-height:41px}input:focus,select:focus,textarea:focus{border-color:var(--primary)!important;box-shadow:0 0 0 3px #087f8c1a;outline:none}label{color:#284956;font-weight:600}form{line-height:1.65}form p{margin-bottom:14px}form label{margin-right:6px}
table,.pet-table{border-collapse:separate!important;border-spacing:0;width:100%}th,.pet-table th{background:#edf4f5!important;color:#53717e!important;font-size:12px!important;font-weight:750!important;letter-spacing:.01em;padding:14px 15px!important}td,.pet-table td{padding:16px 15px!important;vertical-align:middle!important;line-height:1.65!important;border-bottom:1px solid var(--border)!important}tbody tr:hover{background:#f7fbfb}.table-wrap{border-radius:12px;overflow-x:auto}
.hero,.page-hero,.unified-hero{border-color:#d6e8e9!important}.eyebrow{color:var(--primary)!important}.pill{background:var(--ps-soft);color:var(--primary)}.notice{border:1px solid #b9e2d5}
.ps-menu-toggle{display:none;background:white;border:1px solid var(--border);font-size:20px;padding:4px 12px;color:var(--text)}
@media(max-width:850px){.layout{display:block}.sidebar{position:fixed!important;z-index:40;left:0;top:0;bottom:0;height:100dvh!important;width:min(290px,85vw)!important;transform:translateX(-105%);transition:transform .22s;overflow-y:auto}.sidebar.ps-open{transform:translateX(0)}.ps-menu-toggle{display:inline-flex;align-items:center;justify-content:center}.topbar{height:auto;min-height:66px;padding:12px 16px}.top-title{display:block;font-size:13px}.top-actions{gap:8px}.top-actions .user{display:none}.content{padding:20px 14px}.ps-nav{display:flex!important}.company{display:block!important}.sidebar nav a{white-space:normal!important}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.panels{grid-template-columns:1fr}.panel{padding:18px}}
@media(max-width:480px){.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:14px}.kpi strong{font-size:22px}.top-actions select{max-width:135px}.heading{gap:12px}th,td,.pet-table th,.pet-table td{padding:11px 10px!important}}

/* v1.6.2: pulido visual turquesa y navegación lateral */
:root{--primary:#087f8c;--ps-teal:#087f8c;--ps-navy:#102b38;--ps-soft:#e7f6f5}
.ps-nav-group{display:block;width:100%;border-radius:11px}.ps-nav-group>summary{user-select:none;position:relative}.ps-nav-group>summary .ps-chevron{font-size:19px;line-height:1}.ps-nav-group[open]{background:#ffffff08}.ps-nav-link,.ps-nav-group>summary{text-decoration:none!important;line-height:1.35!important}.ps-ico{display:inline-flex;justify-content:center;align-items:center;min-width:22px;font-size:18px}.ps-submenu a{display:block!important;line-height:1.5!important}.ps-nav-group>summary:focus-visible{outline:2px solid #5ad2c8!important;outline-offset:2px}.sidebar .sidebar-footer{color:#a7c4ca}.sidebar .company .muted{color:#c5dce0}.version{border-radius:7px;padding:4px 7px}.food-actions .food-delete,.catalogo-actions .catalogo-delete{background:#fff5f4!important;color:#b42318!important;border-color:#f4c8c5!important}.food-actions .food-delete:hover,.catalogo-actions .catalogo-delete:hover{background:#ffe5e2!important}.food-filters input:focus,.food-filters select:focus{border-color:var(--primary)!important}.food-table th,.food-table td{vertical-align:middle!important}.food-values{gap:8px}.food-values>div{align-items:center}.food-kpis>div{border-color:var(--border)}
@media(max-width:850px){.sidebar .ps-nav{display:flex!important;flex-direction:column!important}.sidebar .ps-submenu{display:grid!important}.ps-menu-toggle{display:inline-flex!important}}

/* PetShop Manager v1.7.0 — Dashboard comercial, ventas y login */
.sales-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;flex-wrap:wrap}.sales-head h1{font-size:clamp(26px,3vw,36px);color:#173642;margin:4px 0 7px}.sales-head p{color:#617985;margin:0}.sales-eyebrow{color:#087f8c;font-weight:800;letter-spacing:.12em;font-size:11px}.sales-link{display:inline-flex;align-items:center;justify-content:center;background:#087f8c;color:white!important;padding:11px 17px;border-radius:11px;text-decoration:none;font-weight:700;white-space:nowrap}.sales-link:hover{background:#076674}.sales-inline{margin-top:16px}.sales-panel{background:#fff;border:1px solid #dce9ec;border-radius:18px;padding:23px;box-shadow:0 10px 30px #18374408;min-width:0}.sales-panel h2{font-size:18px;color:#183b46;margin:0 0 17px}.sales-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:840px}.sales-field{display:flex;flex-direction:column;gap:7px}.sales-field label{margin:0}.sales-field input,.sales-field select{width:100%;box-sizing:border-box}.sales-actions{grid-column:1/-1;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.sales-actions a{color:#607b87}.sales-note{font-size:13px;color:#6b838e;line-height:1.6;margin-top:14px}.dash-period{display:flex;align-items:center;gap:10px;margin-bottom:22px;flex-wrap:wrap}.dash-period label{margin:0}.dash-period select{min-width:175px}.dash-period button{background:#e8f6f5;color:#087f8c;border:1px solid #b8dfdf;padding:8px 16px}.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.dash-kpi{background:#fff;border:1px solid #dce9ec;border-radius:17px;padding:20px;min-width:0;box-shadow:0 8px 25px #18374408;display:flex;flex-direction:column;gap:12px}.dash-kpi span{font-size:13px;color:#607b87;font-weight:600}.dash-kpi strong{font-size:clamp(20px,2.1vw,29px);color:#173b46;overflow-wrap:anywhere;letter-spacing:-.03em}.dash-kpi small{color:#708993}.dash-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px}.dash-list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #e9f0f2;font-size:14px}.dash-list-row span{min-width:0;overflow-wrap:anywhere}.dash-list-row strong{white-space:nowrap;color:#183d48}.dash-list-row small{white-space:nowrap;color:#708993}.dash-subtitle{margin-top:28px!important}.dash-chart{display:flex;align-items:flex-end;gap:6px;overflow-x:auto;height:220px;border-bottom:1px solid #dce9ec;padding:10px 2px 0}.dash-bar-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;flex:1;min-width:25px;height:100%}.dash-bar-wrap{height:185px;width:100%;display:flex;align-items:flex-end;justify-content:center}.dash-bar{width:min(70%,36px);background:linear-gradient(180deg,#27b7ad,#087f8c);border-radius:6px 6px 0 0;min-height:3px}.dash-bar-item small{font-size:10px;color:#7b929c;white-space:nowrap}
body.ps-login{margin:0;background:#edf5f6;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#183742}.ps-login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,0.9fr)}.ps-login-story{background:linear-gradient(145deg,#102b38,#105665);color:white;padding:clamp(30px,5vw,75px);display:flex;flex-direction:column;justify-content:space-between;gap:65px}.ps-login-logo{display:flex;gap:12px;align-items:center;font-size:21px}.ps-login-eyebrow{color:#75ddd2;letter-spacing:.16em;font-size:12px;font-weight:750}.ps-login-story h1{font-size:clamp(36px,4.1vw,62px);line-height:1.12;letter-spacing:-.05em;margin:20px 0}.ps-login-story p{max-width:490px;color:#c0dce0;font-size:17px;line-height:1.7}.ps-login-features{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.ps-login-features span{padding:9px 12px;border:1px solid #56828b;border-radius:9px;font-size:13px;color:#d9f4f1}.ps-login-story>small{color:#9bc4ca}.ps-login-form-area{display:flex;justify-content:center;align-items:center;padding:32px}.ps-login-card{background:white;border:1px solid #deebed;border-radius:24px;box-shadow:0 22px 65px #173c4914;padding:clamp(25px,4vw,50px);width:min(100%,440px);box-sizing:border-box}.ps-login-avatar{width:54px;height:54px;border-radius:15px;background:#e6f7f4;display:grid;place-items:center;font-size:28px}.ps-login-card h2{font-size:27px;letter-spacing:-.03em;margin:23px 0 6px}.ps-login-card>p{color:#6b838e;margin-bottom:25px}.ps-login-card form{display:flex;flex-direction:column;gap:10px}.ps-login-card label{font-size:13px;margin-top:9px}.ps-login-card input{box-sizing:border-box;width:100%;padding:11px 13px}.ps-login-submit{margin-top:17px;background:#087f8c!important;color:white!important;border:0;border-radius:11px;padding:13px;font-size:15px;font-weight:700}.ps-login-submit:hover{background:#076674!important}.ps-login-foot{text-align:center;color:#8097a0;font-size:12px;margin-top:25px}.ps-login-error{padding:12px;border-radius:10px;background:#fff0ef;color:#a72c22;font-size:13px}
@media(max-width:1100px){.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.dash-grid{grid-template-columns:1fr}.ps-login-shell{grid-template-columns:1fr}.ps-login-story{padding:24px;gap:14px}.ps-login-story h1{font-size:30px}.ps-login-story p{font-size:14px}.ps-login-story>small{display:none}.ps-login-form-area{padding:18px}.ps-login-card{max-width:500px}}@media(max-width:500px){.dash-kpis{grid-template-columns:1fr}.sales-form{grid-template-columns:1fr}.sales-panel{padding:16px}.dash-period{align-items:stretch}.dash-period select{flex:1}.ps-login-features{display:none}}

/* v1.7.1: personalización visual por empresa */
.ps-login-story{background-size:cover;background-position:center;background-repeat:no-repeat}
.ps-brand-logo{max-height:66px;max-width:190px;object-fit:contain;vertical-align:middle;margin-right:9px}
.ps-login-avatar-image{max-height:45px;max-width:100%;object-fit:contain}
.ps-login-submit{background:var(--login-accent,#087f8c)!important}
.ps-login-submit:hover{filter:brightness(.88)}
.ps-login-avatar{overflow:hidden}

/* v1.8.0 — Centro de informes, compatible con el tema Turquesa comercial */
.reports-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 20px}.reports-tab{padding:10px 14px;border:1px solid #cde4e6;background:white;border-radius:11px;color:#305965;font-weight:650;font-size:13px}.reports-tab:hover{background:#e8f6f5}.reports-tab.active{background:#087f8c;color:#fff;border-color:#087f8c}.reports-filters{display:flex;align-items:end;gap:13px;flex-wrap:wrap;margin-bottom:20px;padding:17px 20px}.reports-field{display:flex;flex-direction:column;gap:5px;min-width:150px}.reports-field label{font-size:12px}.reports-field input,.reports-field select{width:100%;min-height:41px}.reports-apply{background:#087f8c;color:white;border:0;border-radius:10px;padding:11px 18px;font-weight:700;cursor:pointer}.reports-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.reports-chart-panel{margin-bottom:20px}.reports-chart{height:210px;display:flex;gap:5px;overflow-x:auto;align-items:end;padding:8px 0;border-bottom:1px solid #d8e9e9}.reports-chart-item{display:flex;flex-direction:column;align-items:center;justify-content:end;flex:1;min-width:25px;height:100%;gap:7px}.reports-chart-wrap{height:175px;display:flex;align-items:end;justify-content:center;width:100%}.reports-chart-bar{background:linear-gradient(#39c5b4,#087f8c);width:min(75%,40px);min-height:2px;border-radius:6px 6px 0 0}.reports-chart-item small{font-size:10px;color:#69848d;white-space:nowrap}.reports-result-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}.reports-result-head h2{margin-bottom:0}.reports-exports{display:flex;gap:9px;flex-wrap:wrap}.reports-export{border:1px solid #a8d8d6;color:#087f8c;padding:9px 14px;border-radius:9px;font-size:13px;font-weight:700;background:#e8f6f5}.reports-export:hover{background:#d4efec}.reports-table{font-size:13px}.reports-table td{white-space:normal;min-width:90px}.reports-results{margin-bottom:24px}
@media(max-width:1100px){.reports-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.reports-kpis{grid-template-columns:1fr 1fr;gap:9px}.reports-kpis .dash-kpi{padding:13px}.reports-field{flex:1;min-width:125px}.reports-apply{width:100%}}

/* Dashboard v1.8.1: server-rendered daily sales chart. */
.dash-chart{height:260px;overflow-x:auto;gap:10px;padding-bottom:4px}
.dash-bar-item{min-width:48px;gap:5px}
.dash-bar-wrap{height:192px;flex-shrink:0}
.dash-bar{min-height:4px;transition:height .2s ease}
.dash-bar-zero{height:3px;background:#dce9ec}
.dash-day-value{font-size:10px;color:#37616b;font-weight:700;white-space:nowrap}
/* Panel de superadministrador v1.9.0: estilos aislados del resto del sistema */
.ps-platform{max-width:1200px;margin:0 auto}.ps-platform-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.ps-platform h1{margin:0 0 8px}.ps-platform h2{margin:0 0 16px}.ps-platform-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:22px}.ps-platform-stats>div,.ps-platform-card{background:#fff;border:1px solid #dce9e7;border-radius:14px;padding:20px;box-shadow:0 3px 16px rgba(13,58,57,.05)}.ps-platform-stats small{display:block;color:#607876;margin-bottom:9px}.ps-platform-stats strong{font-size:28px;color:#133e3b}.ps-platform-card{margin:18px 0}.ps-platform-button{display:inline-block;background:#0f897d;color:#fff!important;padding:11px 17px;border:0;border-radius:9px;text-decoration:none;cursor:pointer;font-weight:600}.ps-platform-button:hover{background:#08695f}.ps-platform-table-wrap{overflow-x:auto}.ps-platform-table{width:100%;border-collapse:collapse}.ps-platform-table th,.ps-platform-table td{padding:12px;text-align:left;border-bottom:1px solid #e7efed}.ps-platform-table th{color:#536e6b}.ps-platform-status{color:#06765e;font-weight:600}.ps-platform-status.suspended{color:#a94a2b}.ps-platform-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:14px 0 20px}.ps-platform-fields label{display:flex;flex-direction:column;gap:6px;font-weight:600}.ps-platform-fields input,.ps-platform-fields select{width:100%;border:1px solid #c6d8d5;border-radius:8px;padding:10px;background:#fff;color:#183e3b}.ps-platform-error{color:#b42318}.ps-platform-link{border:0;background:transparent;color:#087b70;text-decoration:underline;cursor:pointer;padding:0}

/* v2.0.0 — análisis inteligente */
.ai-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:12px}.ai-head h1{margin:0 0 5px}.ai-head p,.ai-panel p,.ai-note{color:#64748b}.ai-head form{display:flex;align-items:center;gap:8px}.ai-head select{padding:9px;border:1px solid #cbd5e1;border-radius:9px}.ai-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:14px;margin:20px 0}.ai-card,.ai-panel{background:#fff;border:1px solid #dbe8e8;border-radius:14px;padding:20px;box-shadow:0 3px 12px #163e4210}.ai-card{display:flex;flex-direction:column;gap:9px}.ai-card span,.ai-card small{color:#64748b}.ai-card strong{font-size:clamp(20px,2vw,27px);color:#0f766e}.ai-panel{margin:18px 0}.ai-panel h2{font-size:19px;margin:0 0 10px}.ai-projections{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.ai-projections>div{background:#effcf9;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:8px}.ai-projections strong{color:#0f766e;font-size:22px}.ai-chart{display:flex;align-items:flex-end;gap:3px;height:190px;border-bottom:1px solid #cbd5e1;padding-top:15px}.ai-bar-wrap{flex:1;min-width:3px;height:100%;display:flex;align-items:flex-end}.ai-bar{width:100%;background:linear-gradient(0deg,#0d9488,#5eead4);border-radius:4px 4px 0 0;min-height:0}.ai-warning{padding:12px 15px;background:#fffbeb;border:1px solid #fcd34d;border-radius:10px}.ai-recommendations{padding-left:20px}.ai-recommendations li{margin:8px 0}.ai-table{overflow-x:auto}.ai-table table{width:100%;border-collapse:collapse}.ai-table th,.ai-table td{text-align:left;padding:10px;border-bottom:1px solid #e2e8f0}.ai-table th{color:#475569}.ai-tags{display:flex;gap:8px;flex-wrap:wrap}.ai-tags span{background:#f1f5f9;border-radius:15px;padding:7px 12px}

/* v2.1.0 — asistente comercial local */
.ai-assistant{border-color:#b7e1dd}.ai-assistant-head{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.ai-local-tag{background:#e7f6f5;color:#087f8c;border-radius:20px;padding:7px 11px;font-size:12px;font-weight:700}.ai-assistant-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.ai-assistant-form select{flex:1;min-width:220px;padding:10px}.ai-assistant-form .sales-link{border:0}.ai-answer{background:#f0faf8;border:1px solid #c5e8e3;padding:18px;border-radius:12px;margin-top:16px}.ai-answer h3{margin:0 0 8px;color:#075e60}.ai-answer ul{padding-left:22px}.ai-answer li{margin:7px 0}.ai-answer small{color:#536f75}@media(max-width:600px){.ai-assistant-form{align-items:stretch;flex-direction:column}.ai-assistant-form select{width:100%;min-width:0}}

/* v2.1.1 — login: identidad de empresa centrada y responsive */
.ps-login-story .ps-login-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;width:100%;font-size:clamp(24px,2.2vw,32px);line-height:1.2}
.ps-login-story .ps-login-logo strong{display:block;max-width:100%;overflow-wrap:anywhere;text-shadow:0 2px 12px rgba(0,0,0,.2)}
.ps-login-story .ps-brand-logo{display:block;width:auto;height:auto;max-width:min(240px,70%);max-height:165px;object-fit:contain;vertical-align:initial;margin:0;filter:drop-shadow(0 4px 14px rgba(0,0,0,.14))}
.ps-login-card .ps-login-avatar{width:90px;height:90px;border-radius:20px;margin:0 auto 14px;overflow:hidden}
.ps-login-card .ps-login-avatar-image{display:block;max-height:76px;max-width:76px;width:100%;height:100%;object-fit:contain}
.ps-login-card h2{text-align:center;margin-top:14px}
.ps-login-card>p{text-align:center}
@media(max-width:780px){.ps-login-story .ps-login-logo{gap:10px;font-size:24px}.ps-login-story .ps-brand-logo{max-height:115px;max-width:min(190px,65%)}.ps-login-story{gap:22px}}
@media(max-width:500px){.ps-login-story .ps-brand-logo{max-height:95px}.ps-login-card .ps-login-avatar{width:76px;height:76px}.ps-login-card .ps-login-avatar-image{max-width:65px;max-height:65px}}

/* v2.2.0: asistente de preguntas libres */
.ai-assistant-form input[type="text"]{flex:1;min-width:240px;padding:12px 14px;border:1px solid #c8d9df;border-radius:10px;font:inherit;max-width:100%}.ai-chat-history{margin-top:20px}.ai-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ai-chat-heading h3{margin:0}.ai-chat-entry{margin-top:14px}.ai-question{margin:0 0 8px;padding:12px 16px;background:#e9f5f7;border-radius:12px}.ai-chat-entry .ai-answer{margin-top:0}@media(max-width:600px){.ai-assistant-form input[type="text"]{min-width:0;width:100%}}

/* v2.2.1 - Consultas guiadas del asistente */
.ai-guided-form { display:flex; align-items:flex-end; flex-wrap:wrap; gap:12px; }
.ai-guided-field { display:flex; flex-direction:column; gap:7px; min-width:180px; flex:1 1 200px; }
.ai-guided-question { flex:3 1 330px; }
.ai-guided-form select { width:100%; min-height:44px; border:1px solid #c8dde0; border-radius:9px; padding:9px 12px; background:#fff; color:#123744; }
.ai-guided-form .sales-link { min-height:44px; }
@media(max-width:650px){ .ai-guided-form {align-items:stretch;} .ai-guided-field,.ai-guided-question {flex-basis:100%;} }

/* PetShop Manager 2.5.0 — renovación visual */
.sidebar-inner{min-height:100dvh!important}.sidebar .ps-nav{flex:0 0 auto}.sidebar-footer{margin-top:auto!important;padding-top:18px!important}.sidebar-footer .company-bottom{margin:0 0 12px!important;padding:13px 15px!important}.sidebar-footer small{line-height:1.6}.ps-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:6px 11px;font-weight:750;font-size:12px;white-space:nowrap}.ps-success{background:#dcfce7;color:#166534}.ps-warning{background:#fff2c7;color:#925500}.ps-danger{background:#fee2e2;color:#ae1b2a}.ps-info{background:#dbeafe;color:#1d4ed8}.ps-action-group{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.ps-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:35px;border:1px solid #c7dce0;border-radius:9px;padding:7px 11px!important;background:#f6fbfc;color:#075d6a!important;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap;cursor:pointer;line-height:1.25}.ps-action:hover{background:#e4f5f5;border-color:#6bc3c8}.ps-action-primary{background:#078492!important;color:white!important;border-color:#078492!important}.ps-action-primary:hover{background:#076e7b!important}.ps-action-danger{background:#fff1f1!important;color:#a92331!important;border-color:#f7c7cd!important}.ps-action-danger:hover{background:#ffe0e0!important}.inv-table-wrap .pet-table tbody tr:hover,.ps-table-card tbody tr:hover,.sales-panel tbody tr:hover{background:#f3fbfb}.inv-table-wrap .pet-table td,.ps-table-card td{vertical-align:middle}.inv-table-wrap .pet-table td strong{color:#173d4b}.inv-kpi:nth-child(2){border-top:3px solid #eab308}.inv-kpi:nth-child(3){border-top:3px solid #ef4444}.inv-kpi:nth-child(4){border-top:3px solid #10b981}.ps-section-heading{margin-bottom:16px}.ps-table-card{background:white;border:1px solid #d9e8ea;border-radius:17px;padding:20px;box-shadow:0 8px 26px #102b3810;overflow:hidden}.ps-table-card table{width:100%}.ps-table-card th{background:#eaf3f4;color:#33546a}.ps-money{font-size:15px;color:#0a7580;white-space:nowrap}.ps-profit{color:#16804d}.ps-sales-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.ps-sales-summary>div{background:white;border:1px solid #d7e7e9;border-top:3px solid #0b91a0;border-radius:14px;padding:18px;box-shadow:0 5px 18px #102b3810}.ps-sales-summary span,.ps-sales-summary small{display:block;color:#64788b;font-size:12px}.ps-sales-summary strong{display:block;font-size:23px;color:#087a83;margin-top:6px}.ps-filter-panel{margin-bottom:18px}.ps-filter-panel h2{margin:0 0 15px}.ps-filter-grid{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.ps-filter-grid label{display:flex;flex:1 1 145px;flex-direction:column;gap:6px;font-size:13px;font-weight:650}.ps-filter-grid input,.ps-filter-grid select{width:100%;background:white;min-height:42px}.ps-filter-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ps-settings-form{max-width:1120px;margin:auto;display:grid;gap:18px}.ps-settings-card{padding:28px}.ps-card-head{display:flex;align-items:center;gap:15px;margin-bottom:22px}.ps-card-head h2{margin:0 0 4px}.ps-card-head p{margin:0;color:#61788b;font-size:13px}.ps-card-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:14px;background:#e5f6f6;font-size:24px}.ps-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 23px}.ps-field{min-width:0}.ps-field label{display:block;font-size:13px;font-weight:750;margin-bottom:7px;color:#28475a}.ps-field input:not([type=checkbox]),.ps-field select{width:100%;min-height:43px}.ps-field small{display:block;color:#64788b;margin-top:5px}.ps-file-field{grid-column:span 2;background:#f5fafb;border:1px solid #dbe9eb;border-radius:12px;padding:16px}.ps-file-field a{overflow-wrap:anywhere}.ps-file-field input[type=checkbox]{width:17px;height:17px;accent-color:#0a8790;vertical-align:middle}.ps-file-field input[type=file]{display:block;margin-top:12px;max-width:100%}.ps-settings-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:28px}.notify-menu{position:relative;z-index:50}.notify-menu>summary{display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;list-style:none;width:43px;height:43px;border:1px solid #d6e6e8;border-radius:11px;background:#f4fbfb;font-size:21px}.notify-menu>summary::-webkit-details-marker{display:none}.notify-count{position:absolute;right:-5px;top:-7px;background:#d32f45;color:white;border:2px solid white;border-radius:999px;font-size:10px;font-weight:800;min-width:20px;padding:2px 4px;text-align:center}.notify-popover{display:none;position:absolute;right:0;top:calc(100% + 9px);width:min(370px,90vw);max-height:440px;overflow:auto;background:white;border:1px solid #d7e7e9;box-shadow:0 18px 55px #092e3a28;border-radius:15px;padding:15px}.notify-menu[open] .notify-popover{display:block}.notify-popover>strong{display:block;margin:3px 0 10px}.notify-item{display:flex;align-items:flex-start;flex-direction:column;gap:5px;padding:12px 4px;border-top:1px solid #e7f0f1;font-size:13px;overflow-wrap:anywhere}.notify-item:hover{background:#f4fafb}.top-actions form{margin:0}@media(max-width:850px){.sidebar-inner{min-height:100%!important}.sidebar-footer{margin-top:auto!important}.ps-sales-summary{grid-template-columns:1fr}.ps-settings-grid{grid-template-columns:1fr}.ps-file-field{grid-column:span 1}.ps-settings-card{padding:18px}.notify-popover{right:-80px}}

/* v2.6.0 - Centro de ayuda */
.ps-help-page{max-width:1200px;margin:auto}.ps-help-hero{background:linear-gradient(120deg,#075c61,#119e91);color:white;padding:30px;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.ps-help-hero h1{margin:6px 0 9px;color:#fff}.ps-help-hero p{color:#e1fffa;margin:0}.ps-help-kicker{font-size:11px;font-weight:800;letter-spacing:1.6px}.ps-help-hero-icon{font-size:52px}.ps-help-toolbar{background:white;border:1px solid #d6e8e6;padding:20px;border-radius:14px;margin-bottom:18px}.ps-help-toolbar label{display:block;font-weight:750;margin-bottom:8px}.ps-help-toolbar input{width:100%;max-width:690px;border:1px solid #bddbd8;border-radius:10px;padding:12px 14px;font-size:15px}.ps-help-hint{color:#607d7b;font-size:13px;margin:8px 0 0}.ps-help-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;align-items:start}.ps-help-index{background:#fff;border:1px solid #d9eae8;border-radius:14px;padding:17px;display:flex;flex-direction:column;gap:10px;position:sticky;top:16px}.ps-help-index strong{color:#194f4d}.ps-help-index a{color:#137a74;text-decoration:none;font-size:14px;padding:5px 0}.ps-help-index a:hover{text-decoration:underline}.ps-help-section{scroll-margin-top:20px;margin-bottom:23px}.ps-help-section h2{font-size:20px;margin:0 0 12px;color:#185854}.ps-help-guide{background:#fff;border:1px solid #d9e9e6;border-radius:12px;margin-bottom:9px;overflow:hidden;box-shadow:0 2px 9px #0a514509}.ps-help-guide summary{padding:16px 18px;font-weight:700;color:#244c4b;cursor:pointer;list-style-position:inside}.ps-help-guide[open] summary{background:#e9f8f5;color:#087a70;border-bottom:1px solid #d6eae6}.ps-help-steps{padding:5px 20px 20px}.ps-help-steps ol{padding-left:24px}.ps-help-steps li{margin:12px 0;line-height:1.6;color:#345657}.ps-help-action{display:inline-block;background:#087f8c;color:white!important;text-decoration:none;padding:10px 15px;border-radius:9px;font-size:13px;font-weight:750;margin-top:9px}.ps-help-action:hover{background:#05646e}.ps-help-warning{background:#fff7e7;border-left:3px solid #d68a23;padding:12px;border-radius:6px;color:#78541c;font-size:13px}.ps-help-empty{padding:24px;background:white;border-radius:12px}.ps-help-guide[hidden],.ps-help-section[hidden],.ps-help-empty[hidden]{display:none!important}.ps-help-nav{margin-top:10px;border-top:1px solid #ffffff25;padding-top:15px!important}@media(max-width:850px){.ps-help-layout{grid-template-columns:1fr}.ps-help-index{position:static;display:flex;flex-direction:row;flex-wrap:wrap}.ps-help-hero{padding:23px}.ps-help-hero-icon{display:none}}

/* v2.9.7: compact library and product photo layout */
.ps-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;margin-bottom:20px}
.ps-upload-grid .ps-upload-card{max-width:none;min-width:0;margin:0;display:flex;flex-direction:column}
.ps-upload-grid .ps-upload-card form{margin-top:auto!important;display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.ps-upload-grid .ps-upload-card .field{min-width:0;flex:1 1 200px}
.ps-upload-grid .ps-upload-card input[type=file]{width:100%;max-width:100%}
.ps-product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(255px,300px);gap:24px;align-items:start}
.ps-product-details{min-width:0}.ps-product-photo-panel{border:1px solid #d7e5f4;background:#f7faff;border-radius:16px;padding:18px;min-width:0;position:sticky;top:20px}
.ps-product-photo-panel h3{font-size:16px;margin:0 0 6px;color:#15334d}
.ps-photo-preview{height:205px;background:#fff;border:1px solid #dce6f1;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:16px 0}
.ps-photo-preview img{max-width:100%;max-height:100%;object-fit:contain}
.ps-photo-placeholder{color:#90a3b9;font-size:40px;text-align:center;line-height:1.3}.ps-photo-placeholder small{display:block;font-size:12px}
.ps-product-photo-panel select,.ps-product-photo-panel input[type=file]{width:100%;max-width:100%;min-width:0}
.ps-product-photo-panel .field{margin:12px 0}.ps-product-photo-panel .field label{margin-bottom:7px}
.ps-product-photo-panel .clearable-file-input{overflow-wrap:anywhere}
.ps-product-photo-panel input[type=checkbox]{vertical-align:middle;margin:6px}
@media(max-width:1100px){.ps-product-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.ps-product-layout .form-grid{grid-template-columns:1fr}}
@media(max-width:800px){.ps-upload-grid,.ps-product-layout{grid-template-columns:1fr}.ps-product-photo-panel{position:static}.ps-product-layout .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.ps-product-layout .form-grid{grid-template-columns:1fr}.ps-upload-grid{gap:14px}}

/* v2.9.8: formulario de productos amplio y panel de imagen legible */
.ps-product-form-panel{width:100%;max-width:none;margin-left:0;margin-right:0}
.ps-product-form-panel .product-form{width:100%;min-width:0}
.ps-product-form-panel .ps-product-layout{grid-template-columns:minmax(0,1.85fr) minmax(340px,1fr);gap:26px;align-items:start}
.ps-product-form-panel .ps-product-details{min-width:0}
.ps-product-form-panel .ps-product-details .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 22px}
.ps-product-form-panel .ps-product-photo-panel{min-width:0;width:100%;padding:22px;overflow:hidden;position:static}
.ps-product-form-panel .ps-product-photo-panel .field,.ps-product-form-panel .ps-product-photo-panel select,.ps-product-form-panel .ps-product-photo-panel input[type=file]{max-width:100%;min-width:0}
.ps-product-form-panel .ps-product-photo-panel input[type=file]{display:block;width:100%;font-size:13px;overflow:hidden;text-overflow:ellipsis}
.ps-product-form-panel .ps-product-photo-panel .field-hint{overflow-wrap:anywhere}
.ps-product-form-panel .ps-photo-preview{height:230px;margin:14px 0 20px}
.ps-product-form-panel .ps-photo-clear{display:flex!important;align-items:center;gap:10px;margin-top:14px;padding:11px 12px;border:1px solid #d9e4ef;border-radius:10px;background:white;color:#38516a;cursor:pointer;font-weight:600;line-height:1.35}
.ps-product-form-panel .ps-photo-clear input{width:17px;height:17px;flex:none;margin:0;accent-color:#0b8391}
.ps-product-form-panel .ps-photo-clear span{min-width:0;overflow-wrap:anywhere}
@media(max-width:1250px){.ps-product-form-panel .ps-product-layout{grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);gap:20px}}
@media(max-width:1050px){.ps-product-form-panel .ps-product-layout{grid-template-columns:1fr}.ps-product-form-panel .ps-product-photo-panel{max-width:none}.ps-product-form-panel .ps-photo-preview{height:220px}}
@media(max-width:600px){.ps-product-form-panel .ps-product-details .form-grid{grid-template-columns:1fr}.ps-product-form-panel .ps-product-photo-panel{padding:16px}}

/* v2.9.9 - selector visual de biblioteca */
.ps-open-library{width:100%;margin-top:12px;white-space:normal;text-align:center}
.ps-library-manage{display:inline-block;margin:12px 0;font-size:13px}
.ps-library-modal[hidden]{display:none!important}
.ps-modal-open{overflow:hidden}
.ps-library-modal{position:fixed;inset:0;z-index:5000;background:rgba(9,25,43,.65);display:flex;align-items:center;justify-content:center;padding:20px}
.ps-library-dialog{background:#fff;color:#15334d;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.25);width:min(960px,100%);max-height:90vh;display:flex;flex-direction:column;padding:22px;gap:14px;min-width:0}
.ps-library-header,.ps-library-bottom,.ps-library-buttons{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ps-library-header h3{margin:0 0 5px;font-size:21px}
.ps-library-search{display:flex;flex-direction:column;gap:6px}.ps-library-search input{width:100%}
.ps-library-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;overflow:auto;min-height:170px;max-height:55vh;padding:4px}
.ps-library-tile{border:2px solid #dce6f1;background:white;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;align-items:center;cursor:pointer;min-width:0;text-align:left;color:#18354c}
.ps-library-tile img{width:100%;height:125px;object-fit:contain}.ps-library-tile span{font-size:12px;font-weight:600;overflow-wrap:anywhere;width:100%}
.ps-library-tile:hover,.ps-library-tile:focus-visible{border-color:#0b8391}.ps-library-tile.selected{border-color:#087c8a;background:#e9f8f8;box-shadow:0 0 0 2px #a4e0e2}
@media(max-width:600px){.ps-library-modal{padding:8px}.ps-library-dialog{padding:14px;max-height:96vh}.ps-library-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Punto de venta v3.0.0 */
.pos-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr);gap:18px;align-items:start}.pos-layout .sales-panel{min-width:0}.pos-products>label{display:block;font-weight:600;margin-bottom:7px}.pos-products>input{width:100%;padding:12px;border:1px solid #cbdde2;border-radius:10px}.pos-results{max-height:650px;overflow:auto;margin-top:14px}.pos-result{display:flex;gap:12px;align-items:center;padding:12px 4px;border-bottom:1px solid #e7eff1}.pos-thumb{width:56px;height:56px;flex:0 0 56px;object-fit:contain;border-radius:10px;border:1px solid #e4e9ed;background:#fff}.pos-no-photo{display:grid;place-items:center;font-size:24px;background:#f2f7f8}.pos-result-info,.pos-cart-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.pos-result-info strong,.pos-cart-info strong{overflow-wrap:anywhere}.pos-result-info small,.pos-cart-info small{color:#56727a}.pos-add{border:0;border-radius:9px;background:#087f8c;color:white;padding:9px 12px;cursor:pointer;white-space:nowrap}.pos-add:disabled{opacity:.4}.pos-cart-row{display:flex;gap:10px;align-items:start;border-bottom:1px solid #e7eff1;padding:12px 0}.pos-controls{display:flex;gap:7px;flex-wrap:wrap}.pos-controls select{max-width:100%;min-width:110px;flex:1}.pos-controls select,.pos-qty{border:1px solid #cbdde2;border-radius:8px;padding:8px}.pos-qty{width:82px}.pos-remove{background:transparent;border:1px solid #e0c6c6;border-radius:8px;padding:8px;color:#a63b3b;cursor:pointer}.pos-total{display:flex;justify-content:space-between;gap:10px;margin:20px 0;padding:15px;border-radius:12px;background:#eaf7f7;align-items:center}.pos-total strong{font-size:1.5rem;color:#086875}.pos-empty{color:#71848c;padding:16px 0}.pos-count{display:inline-block;font-size:.8rem;background:#e0f3f4;color:#087f8c;border-radius:999px;padding:2px 10px}@media(max-width:1000px){.pos-layout{grid-template-columns:1fr}}@media(max-width:600px){.pos-result{flex-wrap:wrap}.pos-add{margin-left:68px}.pos-total strong{font-size:1.15rem}}

/* Punto de venta v3.0.1: controles espaciados y modalidad visible */
.pos-cart-row{gap:14px;padding:18px 0;align-items:flex-start}.pos-cart-row>.pos-thumb{width:62px;height:62px;flex-basis:62px}.pos-cart-info{gap:11px}.pos-item-title{line-height:1.4}.pos-controls{display:grid;grid-template-columns:minmax(0,1fr) 112px auto;gap:12px;align-items:end;width:100%}.pos-control-field{display:flex;flex-direction:column;gap:6px;min-width:0}.pos-control-field label{font-size:12px;font-weight:700;color:#42636c}.pos-controls select,.pos-controls .pos-qty{width:100%;min-width:0;max-width:none;min-height:44px;box-sizing:border-box;padding:10px 11px;background:#fff}.pos-controls .pos-remove{min-height:44px;padding:10px 14px;align-self:end}.pos-line-subtotal{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#526f78;font-size:13px}.pos-line-subtotal strong{font-size:16px;color:#08707c}.pos-mode-hint{font-size:12px;line-height:1.5}.pos-cart .sales-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px}.pos-cart .sales-actions .primary{padding:12px 18px;min-height:44px}.pos-cart .sales-actions a{padding:10px 6px}.pos-cart .sales-field{margin-top:18px}.pos-cart .sales-field input{width:100%;box-sizing:border-box}.pos-cart .pos-total{margin:20px 0 22px}
@media(max-width:1250px) and (min-width:1001px){.pos-controls{grid-template-columns:minmax(0,1fr) 90px}.pos-controls .pos-remove{grid-column:1/-1;justify-self:start}}
@media(max-width:560px){.pos-cart-row{gap:9px}.pos-cart-row>.pos-thumb{width:46px;height:46px;flex-basis:46px}.pos-controls{grid-template-columns:minmax(0,1fr) 88px;gap:9px}.pos-controls .pos-remove{grid-column:1/-1;justify-self:start}.pos-cart .sales-actions .primary{width:100%}}

/* Seguridad de usuarios v3.0.2 */
.ps-password-panel{max-width:760px}.ps-password-field{margin:0 0 20px;display:flex;flex-direction:column;gap:7px}.ps-password-field label{font-weight:700}.ps-password-field input{width:100%;max-width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #cbd5e1;border-radius:10px}.ps-password-field .help{font-size:.85rem;color:#64748b}.ps-password-field .help ul{padding-left:22px}.ps-password-error{color:#b91c1c;font-size:.9rem}.ps-password-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px}

/* v3.0.3: menu de cuenta en barra superior */
.top-actions{min-width:0;gap:12px}
.ps-account-menu{position:relative;z-index:70;min-width:0}
.ps-account-menu>summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:43px;max-width:270px;padding:5px 11px 5px 6px;background:#fff;border:1px solid #d6e6e8;border-radius:11px;cursor:pointer;color:#183d4b;font-weight:600;font-size:13px;transition:background .15s,border-color .15s}
.ps-account-menu>summary::-webkit-details-marker{display:none}
.ps-account-menu>summary:hover,.ps-account-menu[open]>summary{background:#f3fafb;border-color:#8ecbd0}
.ps-account-menu>summary:focus-visible,.ps-account-action:focus-visible{outline:3px solid #8ed9e2;outline-offset:2px}
.ps-account-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#e8f5f6;font-size:17px;flex-shrink:0}
.ps-account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ps-account-chevron{font-size:19px;line-height:1;color:#64748b;transition:transform .15s;flex-shrink:0}
.ps-account-menu[open] .ps-account-chevron{transform:rotate(180deg)}
.ps-account-popover{position:absolute;right:0;top:calc(100% + 9px);width:245px;max-width:calc(100vw - 20px);background:#fff;border:1px solid #dce7eb;border-radius:13px;box-shadow:0 14px 36px rgba(22,55,70,.16);padding:7px;z-index:100}
.ps-account-header{padding:12px 11px 11px;border-bottom:1px solid #e8eff2;margin-bottom:5px;display:flex;flex-direction:column;gap:3px;min-width:0}
.ps-account-header-title{font-size:13px;font-weight:700;color:#193b49}
.ps-account-header-name{font-size:12px;color:#718294;overflow-wrap:anywhere}
.ps-account-action{display:flex;align-items:center;gap:11px;width:100%;box-sizing:border-box;padding:11px 10px;border:0;border-radius:8px;background:transparent;color:#244654;font-size:13px;font-weight:600;text-align:left;text-decoration:none;cursor:pointer;font-family:inherit}
.ps-account-action:hover{background:#edf7f8}
.ps-account-popover form{margin:0;padding:5px 0 0;border-top:1px solid #e8eff2}
.ps-account-logout{color:#b34242}
.ps-account-logout:hover{background:#fff1f1}
@media(max-width:650px){.ps-account-name{display:none}.ps-account-menu>summary{padding:5px 8px 5px 5px;gap:5px}.ps-account-chevron{font-size:16px}.top-actions{gap:8px}}

/* v3.0.5 - Catálogo: tabla y tarjetas */
.catalog-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 10px;flex-wrap:wrap}.catalog-view-title{display:flex;flex-direction:column;gap:3px}.catalog-view-title span{color:#64748b;font-size:12px}.catalog-view-switch{display:flex;gap:4px;padding:4px;background:#edf3f6;border:1px solid #dbe5eb;border-radius:11px}.catalog-view-btn{background:transparent;border:0;border-radius:8px;padding:9px 16px;font-weight:700;color:#425a6b;cursor:pointer}.catalog-view-btn.is-active{background:#fff;color:#087e8b;box-shadow:0 1px 5px #0f172a1a}.catalog-quick-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 18px;font-size:12px}.catalog-quick-filters span{color:#64748b}.catalog-quick-filters a{padding:7px 12px;border:1px solid #dbe5eb;border-radius:999px;text-decoration:none;color:#176273;background:#fff}.catalog-quick-filters a:hover{background:#edf7f8}.catalog-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:18px;margin:14px 0}.catalog-card-grid[hidden],#catalog-table-view[hidden]{display:none!important}.catalog-product-card{min-width:0;background:#fff;border:1px solid #dbe5eb;border-radius:16px;overflow:visible;box-shadow:0 2px 8px #0f172a0a}.catalog-card-photo{height:165px;background:#f7fafb;border-radius:16px 16px 0 0;display:flex;align-items:center;justify-content:center;overflow:hidden}.catalog-card-photo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.catalog-card-photo span{font-size:44px}.catalog-card-body{padding:15px;display:flex;flex-direction:column;gap:12px}.catalog-card-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.catalog-card-head strong{font-size:14px;color:#183647;overflow-wrap:anywhere}.catalog-card-head p,.catalog-card-sku{color:#64748b;font-size:12px;margin:5px 0 0;overflow-wrap:anywhere}.catalog-card-price,.catalog-card-stock{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.catalog-card-price strong{color:#076b7a;font-size:17px}.catalog-card-stock strong{font-size:14px}.catalog-card-warning{align-self:flex-start;background:#fff4e5;color:#9a5800;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:700}.catalog-card-details{border-top:1px solid #e5edf2;padding-top:10px}.catalog-card-details summary{cursor:pointer;color:#087e8b;font-size:12px;font-weight:700}.catalog-card-metrics{display:flex;flex-direction:column;gap:7px;margin-top:12px}.catalog-card-metrics>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.catalog-card-metrics span{color:#64748b}.catalog-card-metrics strong{text-align:right}.catalog-card-actions{position:relative;flex-shrink:0}.catalog-card-actions>summary{list-style:none;cursor:pointer;border:1px solid #dbe5eb;border-radius:9px;padding:0 11px;font-size:23px;line-height:31px}.catalog-card-actions>summary::-webkit-details-marker{display:none}.catalog-card-menu{position:absolute;z-index:20;right:0;top:36px;min-width:190px;background:#fff;border:1px solid #dbe5eb;border-radius:12px;padding:6px;box-shadow:0 10px 30px #0f172a20}.catalog-card-menu a,.catalog-card-menu button,.catalog-card-menu>span{display:block;width:100%;box-sizing:border-box;padding:10px;border:0;background:transparent;color:#234456;font:inherit;font-size:12px;text-align:left;text-decoration:none;cursor:pointer;border-radius:7px}.catalog-card-menu a:hover,.catalog-card-menu button:hover{background:#edf7f8}.catalog-card-menu form{margin:0}.catalog-card-menu .catalog-card-danger{color:#b42318}.catalog-card-menu .catalog-card-danger:hover{background:#fff1f1}@media(max-width:620px){.catalog-view-toolbar{align-items:stretch}.catalog-view-switch{width:100%}.catalog-view-btn{flex:1}.catalog-card-grid{grid-template-columns:1fr}}
/* v3.0.6 - gestión de precios */
.price-management-actions{display:flex;justify-content:flex-end;margin:12px 0}.ps-price-page{padding:26px}.ps-price-header{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:22px}.ps-price-header h1{margin:0 0 6px}.ps-price-columns{display:grid;grid-template-columns:minmax(220px,1fr) minmax(320px,1.6fr);gap:24px}.ps-price-product,.ps-price-form{border:1px solid #d9e5eb;border-radius:14px;padding:20px}.ps-price-product img{width:100%;max-height:230px;object-fit:contain}.ps-price-placeholder{font-size:64px;text-align:center}.ps-price-form{display:flex;flex-direction:column;gap:18px}.ps-price-form label,.ps-bulk-controls label,.ps-price-search label{display:flex;flex-direction:column;gap:8px;font-weight:600}.ps-price-form input,.ps-bulk-controls input,.ps-bulk-controls select,.ps-price-search input{width:100%;box-sizing:border-box;padding:11px;border:1px solid #c9dce4;border-radius:9px}.ps-price-buttons{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.ps-bulk-controls{display:grid;grid-template-columns:minmax(150px,1fr) minmax(230px,1.4fr) auto;align-items:end;gap:16px;margin:20px 0}.ps-bulk-count{padding-bottom:12px;font-weight:700}.ps-price-search{display:flex;align-items:end;gap:12px}.ps-price-search label{flex:1}.ps-bulk-list{border:1px solid #d9e5eb;border-radius:12px;overflow:hidden;max-height:570px;overflow-y:auto}.ps-bulk-list-header,.ps-bulk-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px;border-bottom:1px solid #e4edf1}.ps-bulk-list-header{background:#f1f7f9;position:sticky;top:0;z-index:1}.ps-bulk-row label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;flex-wrap:wrap}.ps-bulk-row label small{color:#698091}.ps-bulk-values{display:flex;flex-direction:column;gap:5px;font-size:13px;min-width:245px;text-align:right;color:#116a7a}@media(max-width:760px){.ps-price-columns,.ps-bulk-controls{grid-template-columns:1fr}.ps-bulk-row{align-items:flex-start;flex-direction:column}.ps-bulk-values{text-align:left;min-width:0}.ps-price-page{padding:15px}}

/* v3.0.7: entradas de mercadería */
.ps-stock-entry{padding:28px!important;max-width:1150px;margin:0 auto}.ps-stock-product{display:flex;gap:22px;align-items:center;padding:4px 0 24px}.ps-stock-photo{width:108px;height:108px;flex:none;display:grid;place-items:center;border:1px solid #dae7ec;border-radius:16px;background:#f7fafb;font-size:40px;overflow:hidden}.ps-stock-photo img{width:100%;height:100%;object-fit:contain}.ps-stock-product h2{margin:6px 0 8px}.ps-stock-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.2px;color:#087f8c}.ps-stock-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px;margin:0 0 28px}.ps-stock-summary>div{padding:19px 20px;background:#f0f7f8;border:1px solid #dcebed;border-radius:14px;display:flex;flex-direction:column;gap:8px}.ps-stock-summary span,.ps-stock-preview span:not(.ps-stock-arrow){font-size:13px;color:#527181}.ps-stock-summary strong{font-size:24px;color:#143b4b}.ps-stock-form{border-top:1px solid #e0ebef;padding-top:24px}.ps-stock-form-head h3{margin:0 0 7px}.ps-stock-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.ps-stock-field{display:flex;flex-direction:column;gap:9px;margin:0 0 20px;min-width:0}.ps-stock-field label{font-weight:700;color:#153c4c}.ps-stock-field input,.ps-stock-field select,.ps-stock-field textarea{width:100%;max-width:100%;min-height:45px;padding:10px 12px;border:1px solid #cadde4;border-radius:10px;background:white;box-sizing:border-box}.ps-stock-field textarea{min-height:85px;resize:vertical}.ps-stock-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#edf8f7;border:1px solid #d3eae7;border-radius:14px;padding:18px 24px;margin:6px 0 24px}.ps-stock-preview>div{display:flex;flex-direction:column;gap:8px}.ps-stock-preview strong{font-size:21px;color:#096b77}.ps-stock-arrow{font-size:24px;color:#528b91}.ps-stock-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.ps-stock-actions button{min-height:44px;padding:10px 20px}.ps-stock-cancel{color:#456779;text-decoration:none}.ps-stock-error,.ps-stock-field .errorlist{color:#a33;font-size:13px}.ps-stock-field .errorlist{margin:0;padding-left:18px}@media(max-width:850px){.ps-stock-fields{grid-template-columns:1fr}.ps-stock-entry{padding:18px!important}.ps-stock-product{align-items:flex-start}.ps-stock-photo{width:82px;height:82px}.ps-stock-preview{padding:15px}}

/* v3.0.8 - Pantallas administrativas unificadas */
.catalog-card-menu form button.catalog-card-danger,.catalog-card-menu form button.catalog-card-danger:hover,.catalog-card-menu form button.catalog-card-danger:focus{background:#fff0f1!important;color:#a71d2a!important;border:1px solid #f6cbd0!important;font-weight:750!important;box-shadow:none!important;line-height:1.4!important}.catalog-card-menu form button.catalog-card-danger:hover{background:#ffe0e4!important}
.ps-modern-panel{padding:26px;margin-bottom:20px}.ps-section-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap}.ps-section-top h2{margin:0 0 5px}.ps-section-top p{margin:0;color:#64748b;font-size:13px}.ps-supplier-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.ps-supplier-card{border:1px solid #dbe7ec;border-radius:15px;padding:19px;background:#fff;min-width:0;box-shadow:0 4px 18px #102b3808}.ps-supplier-top{display:flex;align-items:center;gap:12px}.ps-supplier-icon{display:grid;place-items:center;background:#eaf7f7;border-radius:12px;width:49px;height:49px;font-size:23px}.ps-supplier-identity{flex:1;min-width:0}.ps-supplier-identity h3{margin:0 0 4px;font-size:16px;overflow-wrap:anywhere}.ps-supplier-identity span{font-size:12px;color:#64748b}.ps-supplier-details{display:grid;gap:9px;font-size:13px;color:#425a6b;margin:18px 0;min-height:40px;overflow-wrap:anywhere}.ps-supplier-details a{color:#087e8b}.ps-supplier-notes{margin:0;color:#64748b;font-size:12px}.ps-supplier-footer{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #e6eef1;padding-top:14px}.ps-dropdown{position:relative}.ps-dropdown summary{cursor:pointer;list-style:none;border:1px solid #dbe5eb;border-radius:9px;padding:2px 10px;font-size:23px;line-height:30px}.ps-dropdown summary::-webkit-details-marker{display:none}.ps-dropdown-menu{position:absolute;z-index:25;right:0;top:38px;width:210px;max-width:85vw;background:white;border:1px solid #dbe5eb;border-radius:12px;box-shadow:0 12px 30px #0f172a26;padding:6px}.ps-dropdown-menu a,.ps-dropdown-menu button{display:block;width:100%;box-sizing:border-box;padding:10px;border:0;border-radius:8px;background:transparent;color:#234456!important;font:inherit;font-size:13px;text-align:left;text-decoration:none;cursor:pointer}.ps-dropdown-menu a:hover,.ps-dropdown-menu button:hover{background:#edf7f8}.ps-dropdown-menu form{margin:0}.ps-dropdown-menu button.ps-danger-menu{background:#fff0f1!important;color:#a71d2a!important}.ps-supplier-form{max-width:1040px;margin-inline:auto}.ps-wide-field{grid-column:1/-1}.ps-wide-field textarea{width:100%;min-height:90px}.ps-form-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:25px}.ps-form-error{color:#a71d2a;font-size:12px}.ps-users-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.ps-users-kpis>div{background:white;border:1px solid #dbe7ec;border-radius:15px;padding:20px}.ps-users-kpis span{display:block;color:#64748b;font-size:12px}.ps-users-kpis strong{display:block;font-size:26px;margin-top:8px}.ps-user-identity{display:flex;align-items:center;gap:10px}.ps-user-avatar{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;background:#e5f5f6;color:#087e8b;border-radius:50%;font-weight:800}.ps-user-identity small{display:block;color:#64748b;margin-top:4px}.ps-settings-modern{max-width:1180px}.ps-brand-preview{display:flex;align-items:center;gap:13px;background:#f5fafb;border:1px solid #dbe9eb;border-radius:13px;padding:16px;margin-bottom:20px}.ps-brand-preview-icon{display:grid;place-items:center;width:65px;height:65px;background:white;border-radius:12px;overflow:hidden;font-size:27px}.ps-brand-preview-icon img{width:100%;height:100%;object-fit:contain}.ps-brand-preview>div:nth-child(2){flex:1}.ps-brand-preview strong,.ps-brand-preview span:not(.ps-brand-color){display:block}.ps-brand-preview span:not(.ps-brand-color){color:#64748b;font-size:12px;margin-top:4px}.ps-brand-color{width:34px;height:34px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #dbe5eb}
.inv-table-wrap .pet-table td{padding-top:17px;padding-bottom:17px}.inv-table-wrap .pet-table tbody tr{transition:background .15s}.inv-table-wrap .pet-table tbody tr:hover{background:#f2f9fa}.inv-table-wrap .pet-table td:nth-child(3){font-size:12px;color:#64748b;overflow-wrap:anywhere;max-width:185px}.inv-table-wrap .pet-table td:nth-child(4),.inv-table-wrap .pet-table td:nth-child(5),.inv-table-wrap .pet-table td:nth-child(6){font-weight:750;font-variant-numeric:tabular-nums}.inv-table-wrap .pet-table td:nth-child(6){color:#087e8b}.inv-table-wrap .pet-table td:first-child img{width:60px!important;height:60px!important;background:#f7fafb;border:1px solid #e3edf1;padding:4px}.inv-table-wrap .pet-table td:first-child strong{font-size:13px;line-height:1.5}.inv-table-wrap .pet-table td:last-child .ps-action{white-space:normal;text-align:center}
@media(max-width:760px){.ps-supplier-grid,.ps-users-kpis{grid-template-columns:1fr}.ps-modern-panel{padding:16px}.ps-settings-card{padding:18px}}

/* v3.1.3 - buscador de proveedores */
.ps-supplier-searchbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-3px 0 20px}
.ps-supplier-searchfield{display:flex;align-items:center;gap:10px;flex:1 1 340px;min-width:200px;max-width:720px;background:#fff;border:1px solid #cbdfe5;border-radius:11px;padding:0 14px;transition:border-color .15s,box-shadow .15s}
.ps-supplier-searchfield:focus-within{border-color:#078b9a;box-shadow:0 0 0 3px #078b9a1c}
.ps-supplier-searchfield>span{font-size:25px;color:#087e8b;line-height:1}
.ps-supplier-searchfield input{width:100%;min-width:0;padding:13px 0;border:0;outline:0;background:transparent;color:#173047;font:inherit;font-size:14px}
.ps-supplier-searchfield input::placeholder{color:#8295a5}
.ps-supplier-count{font-size:12px;color:#64748b;white-space:nowrap;margin-left:auto}
.ps-supplier-empty{border:1px dashed #cbdfe5;background:#f7fbfc;border-radius:13px;padding:28px;text-align:center;margin-bottom:18px;color:#234456}
.ps-supplier-empty strong,.ps-supplier-empty span{display:block}.ps-supplier-empty span{font-size:13px;color:#64748b;margin-top:6px}
.ps-supplier-card[hidden],.ps-supplier-empty[hidden],#psSupplierClear[hidden]{display:none!important}
@media(max-width:640px){.ps-supplier-searchfield{flex-basis:100%}.ps-supplier-count{margin-left:0}}

/* v3.1.7 — Calculadora de precios clara y compacta */
.ps-pricing-panel{margin-top:22px;border:1px solid #d4e3f0;border-radius:16px;background:#f5f9ff;padding:20px;color:#19354f}
.ps-pricing-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:17px}
.ps-pricing-heading h3{font-size:18px;margin:0 0 6px;color:#15334d}
.ps-pricing-heading p{font-size:13px;line-height:1.6;margin:0;color:#54708b;max-width:700px}
.ps-pricing-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;background:#e3edff;border-radius:12px;color:#245cd2;font-size:20px;font-weight:800}
.ps-pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ps-pricing-card{min-width:0;background:#fff;border:1px solid #d8e6f1;border-radius:13px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.ps-pricing-tag{font-size:12px;font-weight:750;color:#176a81;background:#e9f7f9;border-radius:7px;padding:5px 9px}
.ps-pricing-caption{font-size:12px;color:#647b90}
.ps-pricing-value{font-size:clamp(19px,2vw,27px);font-weight:800;color:#173c5c;line-height:1.2;overflow-wrap:anywhere}
.ps-pricing-profit{font-size:13px;font-weight:650;color:#18704f;min-height:18px}
.ps-pricing-apply{margin-top:auto!important;min-height:38px}
.ps-pricing-apply:disabled{opacity:.55;cursor:not-allowed}
.ps-pricing-inactive{background:#f9fbfe}
.ps-pricing-notice{font-size:13px;color:#176a81;margin:12px 0 0;min-height:1em}
#calculadora-rentabilidad .form-grid>div,#calculadora-accesorios .form-grid>div{display:flex;flex-direction:column;gap:5px;min-width:0}
#calculadora-rentabilidad .form-grid strong,#calculadora-accesorios .form-grid strong{font-size:16px;overflow-wrap:anywhere}
@media(max-width:650px){.ps-pricing-panel{padding:14px}.ps-pricing-grid{grid-template-columns:1fr}.ps-pricing-card{padding:15px}}

/* v3.1.9: ocultar modalidades no habilitadas */
.ps-pricing-card[hidden],.ps-detail-kilo[hidden],.ps-detail-bolsa[hidden]{display:none!important}

/* v3.2.1 - informes de rentabilidad */
.reports-sort-btn{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-align:left}.reports-sort-btn:hover{color:#087f8c}.reports-sort-btn:focus-visible{outline:2px solid #087f8c;outline-offset:3px}.reports-sort-btn span{opacity:.65}.reports-row-low{background:#fff9eb}.reports-row-negative{background:#fff0f0}.reports-row-missing{background:#fff8ec}.reports-alert{display:inline-block;padding:4px 8px;border-radius:8px;font-weight:700}.reports-alert-low,.reports-alert-missing{background:#fff0c7;color:#825800}.reports-alert-negative{background:#ffdddd;color:#9d2323}.reports-chart-legend{display:flex;align-items:center;gap:9px;font-size:12px;color:#526b73}.reports-legend-sales{color:#087f8c}.reports-legend-gain{color:#6dbfb1;margin-left:14px}.reports-chart-bars{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px;width:100%}.reports-chart-bar.sales{background:#087f8c}.reports-chart-bar.gain{background:#6dbfb1}.reports-chart-bar{flex:1;max-width:18px;border-radius:4px 4px 0 0;min-height:1px}.reports-chart-item{min-width:38px}.reports-chart-wrap{height:175px}.reports-table td[data-numeric="1"]{font-variant-numeric:tabular-nums;white-space:nowrap}

/* PetShop Manager v3.2.6 - recorrido guiado y ayuda */
.ps-tour-backdrop[hidden]{display:none!important}
.ps-tour-backdrop{position:fixed;inset:0;background:rgba(12,35,47,.72);z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto}
body.ps-tour-active{overflow:hidden}
.ps-tour-card{width:min(100%,560px);max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;border-radius:22px;padding:30px;box-shadow:0 25px 75px #001f2b55;color:#123345}
.ps-tour-heading{display:flex;justify-content:space-between;gap:12px;color:#087e8b;font-weight:800;font-size:13px}
.ps-tour-illustration{width:76px;height:76px;border-radius:20px;background:#e7f7f7;display:grid;place-items:center;font-size:36px;margin:24px auto 14px}
.ps-tour-card h2{text-align:center;font-size:25px;line-height:1.2;margin:0 0 12px;color:#123345}
.ps-tour-card p#ps-tour-description{color:#50697a;font-size:15px;line-height:1.65;min-height:95px;text-align:center}
.ps-tour-steps{display:flex;justify-content:center;gap:8px;margin:20px 0 24px}.ps-tour-steps span{width:26px;height:6px;background:#dbe7ea;border-radius:10px}.ps-tour-steps span.active{background:#087e8b}
.ps-tour-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.ps-tour-actions>div{display:flex;gap:8px}.ps-tour-actions button,.ps-tour-launch{cursor:pointer;border:1px solid #cddfe5;background:white;color:#174355;padding:11px 15px;border-radius:10px;font:inherit;font-weight:700;font-size:13px}.ps-tour-actions #ps-tour-next,.ps-tour-launch{background:#078495;color:white;border-color:#078495}.ps-tour-actions button[hidden]{display:none}
.ps-tour-note{margin:20px 0 0;font-size:11px;color:#708493;text-align:center}
.ps-tour-help{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#e9f7f7;border:1px solid #bce4e6;border-radius:16px;padding:18px 22px;margin:20px 0}.ps-tour-help strong{color:#124153}.ps-tour-help p{margin:5px 0 0;color:#537080;font-size:13px}
@media(max-width:560px){.ps-tour-card{padding:20px}.ps-tour-card h2{font-size:21px}.ps-tour-actions{align-items:stretch}.ps-tour-actions>div{margin-left:auto}}

/* v3.2.7 - foco interactivo del tutorial */
.ps-tour-backdrop{pointer-events:none}
.ps-tour-card{pointer-events:auto;position:relative}
.ps-tour-highlight{position:relative!important;z-index:10002!important;outline:3px solid #21d5df!important;outline-offset:3px;box-shadow:0 0 0 7px rgba(33,213,223,.22)!important;border-radius:10px;pointer-events:none}
.ps-tour-card.ps-tour-guided{position:fixed;width:min(440px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:22px;z-index:10003}
.ps-tour-card.ps-tour-guided .ps-tour-illustration{margin:12px auto 8px;width:58px;height:58px;font-size:29px}
.ps-tour-card.ps-tour-guided h2{font-size:21px}
.ps-tour-card.ps-tour-guided p#ps-tour-description{min-height:0}
.ps-tour-visit{display:block;width:max-content;max-width:100%;margin:0 auto 16px;padding:9px 14px;border-radius:9px;background:#e6f7f7;color:#087e8b;font-weight:800;text-decoration:none;border:1px solid #a6dbdf}
.ps-tour-visit[hidden]{display:none!important}
@media(max-width:849px){.ps-tour-card.ps-tour-guided{max-height:55vh;overflow-y:auto}}
