/* La Curva Móvil 0.5: four tabs, mobile Hiopos and supplier notebook. */
.bottom-nav{gap:4px;padding:8px 7px calc(8px + env(safe-area-inset-bottom));}
.bottom-nav button{min-width:0;flex:1 1 25%;padding:9px 4px;display:flex;flex-direction:column;gap:3px;min-height:62px;font-size:11px;line-height:1.2;white-space:nowrap}
.bottom-nav button svg{width:22px;height:22px;flex:none}
@media(min-width:650px){.bottom-nav button{font-size:13px;flex-direction:row;gap:8px}}
.shell{padding-bottom:105px}
.sm-hiopos-toolbar{margin:2px 0 15px;display:grid;gap:11px;min-width:0}
.sm-hiopos-toolbar h1{margin:0;font-size:25px;letter-spacing:-.4px;color:#212b39}
.sm-hiopos-subnav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%}
.sm-hiopos-subnav button{min-height:46px;border:1px solid #dfe2e9;border-radius:11px;background:#fff;color:#3b4b63;padding:9px 5px;font-weight:800;font-size:13px;cursor:pointer}
.sm-hiopos-subnav button.active{background:#c32237;color:#fff;border-color:#c32237}
.sm-hiopos-content{min-width:0}
.sm-hiopos-content .smi-root{max-width:100%;margin:0 auto}
.sm-hiopos-content .smi-header{padding:17px;border-radius:15px;border-left-width:4px;gap:9px}
.sm-hiopos-content .smi-header h2{font-size:24px;margin-bottom:5px}
.sm-hiopos-content .smi-header p{font-size:13px;line-height:1.5}
.sm-hiopos-content .smi-panel{padding:15px 13px;border-radius:13px;margin-bottom:12px}
.sm-hiopos-content .smi-panel h3{font-size:18px}
.sm-hiopos-content .smi-panel-head{gap:7px;padding-bottom:11px}
.sm-hiopos-content .smi-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;margin-bottom:12px}
.sm-hiopos-content .smi-card{padding:12px 10px;min-height:125px;gap:7px;border-radius:12px}
.sm-hiopos-content .smi-card strong{font-size:clamp(16px,5.4vw,24px);line-height:1.18;overflow-wrap:anywhere}
.sm-hiopos-content .smi-card small{font-size:11px}
.sm-hiopos-content .smi-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.sm-hiopos-content .smi-formcols{grid-template-columns:minmax(0,1fr)}
.sm-hiopos-content .smi-input input{max-width:100%;min-width:0;min-height:48px;font-size:16px}
.sm-hiopos-content .smi-mini-list>div{align-items:flex-start}
.sm-hiopos-content .smi-mini-list span{font-size:12px}
.sm-hiopos-content .smi-mini-list b{font-size:13px}
.sm-hiopos-content .smi-meta{padding:12px 2px}
.sm-hiopos-content .smi-bottom-note{padding:10px 3px 22px}
.sm-hiopos-content .smi-filters{flex-wrap:wrap}
.sm-hiopos-content .btn{font:750 14px system-ui,-apple-system,sans-serif;line-height:1.25;min-height:44px;border-radius:11px;border:1px solid #cb2538;background:#cb2538;color:#fff;cursor:pointer;padding:10px 13px;white-space:normal}
.sm-hiopos-content .btn.secondary{border-color:#d6dde5;color:#37445a;background:#fff}
.sm-hiopos-content .btn.small{font-size:12px;min-height:38px;padding:8px}
.sm-hiopos-content .btn:disabled{opacity:.45;cursor:not-allowed}
.sm-hiopos-content .hpr-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 10px;gap:9px;margin:10px 0}
.sm-hiopos-content .hpr-filters label{font-size:12px;min-width:0}
.sm-hiopos-content .hpr-filters .hpr-check{grid-column:span 2}
.sm-hiopos-content .hpr-bar-item{grid-template-columns:18px minmax(0,1fr) 75px;gap:7px;padding:10px 4px}
.sm-hiopos-content .hpr-bar-main b{font-size:12px}
.sm-hiopos-content .hpr-bar-item strong{font-size:12px;white-space:normal;overflow-wrap:anywhere}
.sm-hiopos-content .hpr-selected-numbers{white-space:normal;text-align:right}
.sm-hiopos-content .hpr-selection-title h3{font-size:17px}
.sm-hiopos-content .hpr-grid{grid-template-columns:minmax(0,1fr)}
.sm-hiopos-content .hpr-scroll{overflow-x:auto;max-width:100%}
.sm-hiopos-content .hpr-matrix{min-width:600px}
.sm-hiopos-content .hpr-table-toolbar{margin:10px 0}
.sm-mob-day-list{display:grid;gap:1px}
.sm-mob-day-list>div{display:flex;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid #edf0f4;padding:10px 3px;font-size:14px}
.sm-mob-day-list>div:last-child{border-bottom:0}
.sm-print-report{width:100%;margin:14px 0 24px;min-height:47px;border-radius:11px;background:#fff;color:#243a62;border:1px solid #cdd4df;font-weight:800;font-size:15px;cursor:pointer}
.sm-detail-actions{display:flex;flex-wrap:wrap;gap:8px}
.sm-detail-actions button{flex:1 1 auto;min-height:46px;font-size:15px;white-space:normal}
@media(max-width:370px){.sm-hiopos-content .smi-kpi-grid{grid-template-columns:1fr}.sm-hiopos-content .hpr-filters{grid-template-columns:1fr}.sm-hiopos-content .hpr-filters .hpr-check{grid-column:auto}}
@media print{.bottom-nav,.sm-hiopos-toolbar,.sm-print-report{display:none!important}}
