:root{--ink:#183d2d;--soft-ink:#6d7c71;--line:#e0e6db;--page:#f3f5ef;--green:#17684c;--amber:#bd8435}
*{box-sizing:border-box}
body{background:var(--page);color:var(--ink);font-size:14px}
.shell{max-width:1700px;grid-template-columns:232px minmax(0,1fr)}
.workspace{min-width:0;padding:26px 34px 36px}
.app-sidebar{height:100dvh;padding:28px 20px;background:#123e2d;border-right:1px solid #ffffff12}
.sidebar-brand{display:block;text-decoration:none;color:white}
.app-sidebar .brand{width:78px;height:64px;object-fit:cover}
.brandname{font-size:25px;margin:5px 0 36px}
.brandname>span{display:block;font:9px system-ui,sans-serif;letter-spacing:3px;color:#b5cdbd;margin-top:8px}
.sidebar-section{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:#85ab96;margin:0 12px 14px}
.sidebar-navigation{display:grid;gap:7px}
.sidebar-navigation button{display:flex;align-items:center;gap:12px;margin:0;font-weight:500;font-size:13px;color:#c4d8ca;min-height:46px;padding:12px 13px;border-radius:10px}
.sidebar-navigation button>span{width:19px;font-size:21px;line-height:1;color:#95baa4}
.sidebar-navigation button.active{color:white;background:#ffffff15;box-shadow:inset 3px 0 #cbd6b7}
.sidebar-navigation button.active>span{color:#e6efd8}
.sidebar-bottom{padding:18px 10px 6px;font-size:11px;line-height:1.8!important}
.sidebar-bottom>span:last-child{color:#8eb29c;font-size:10px}
.location-dot{display:inline-block;height:6px;width:6px;background:#b9cd8c;border-radius:50%;margin-right:7px}
.top{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:28px}
.top .eyebrow{letter-spacing:1px;font-size:10px}
.session-info{display:flex;align-items:center;gap:9px;min-width:0;font-size:12px;color:#5f7266}
.user-indicator{height:7px;width:7px;background:#51966e;border-radius:50%;flex-shrink:0}
.session-info button{padding:7px 5px;min-height:34px;font-size:11px;margin-left:4px}
.overview-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 24px}
.overview-heading .eyebrow{font-size:9px;letter-spacing:2px;color:#6c8372}
.overview-heading h1{font-size:clamp(36px,3.5vw,53px);letter-spacing:.3px;line-height:1.05;margin:10px 0 8px}
.overview-heading p{margin:0;color:var(--soft-ink);font-size:13px;line-height:1.6}
.refresh-button{background:white;border:1px solid var(--line);display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:13px;min-height:40px;padding:8px 13px}
.overview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;flex-wrap:wrap}
.branch-segment{display:flex;gap:4px;background:#e8ede3;border:1px solid #dfe6d9;border-radius:11px;padding:4px}
.branch-segment button{font-size:12px;min-height:35px;padding:7px 14px;border-radius:8px;background:transparent;color:#647a6a;font-weight:550}
.branch-segment button.active{background:white;color:#164e34;box-shadow:0 2px 4px #1b392b10}
.overview-updated{font-size:10px;color:#7c8b7e}
.overview-filters{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) minmax(180px,1.5fr) auto;gap:12px;align-items:end;border:1px solid var(--line);background:#fcfdf9;padding:16px;border-radius:13px;margin-bottom:24px}
.overview-filters label>span{font-size:10px;font-weight:650;color:#627769;margin-bottom:5px}
.overview-filters input,.overview-filters select{min-height:39px;padding:8px 10px;font-size:12px;border-color:#dce4d7}
.overview-filters>button{min-height:39px;padding:9px 16px;font-size:12px}
.period-shortcuts{grid-column:1/-1;display:flex;gap:7px}
.period-shortcuts button{min-height:25px;font-size:10px;font-weight:500;border:1px solid #dde5d7;border-radius:6px;padding:4px 9px;background:white;color:#637a69}
#overview-filter-error{grid-column:1/-1;margin:0;font-size:11px}
#overview-filter-error:empty{display:none}
.overview-period{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.section-kicker{font-size:9px;letter-spacing:1.5px;text-transform:uppercase;font-weight:750;color:#7c8e7e}
.overview-period>span:last-child{font-size:10px;color:#7c8e7e}
.overview-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:15px}
.overview-stat{background:white;border:1px solid var(--line);border-radius:15px;padding:18px 18px 12px;min-width:0;box-shadow:0 2px 3px #213d2410}
.stat-top{display:flex;align-items:center;justify-content:space-between;gap:5px;color:#657b6b;font-size:11px;min-height:27px}
.stat-icon{width:26px;height:26px;display:grid;place-items:center;border:1px solid #e0eadc;border-radius:8px;background:#f3f7ef;color:#53775a;font-size:16px;flex-shrink:0}
.overview-stat>strong{display:block;font-family:Rift,system-ui,sans-serif;font-weight:700;font-size:clamp(27px,2.6vw,40px);letter-spacing:.4px;line-height:1.1;margin:14px 0 10px;overflow-wrap:anywhere}
.overview-stat>p{font-size:10px;color:#859181;line-height:1.6;margin-bottom:9px;min-height:32px}
.stat-link{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:10px;min-height:25px;background:transparent;border-radius:0;border-top:1px solid #edf1e9;padding:8px 0 0;font-weight:600;color:#658166}
.debt-stat .stat-icon{color:#a77c37;background:#faf4e8;border-color:#eee1c9}
.review-stat{background:#edf2e4;border-color:#dce5cf}
.overview-quick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 0 25px}
.overview-quick>span{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#81917c;margin-right:5px}
.overview-quick button{font-size:10px;min-height:31px;padding:6px 11px;border:1px solid #d8e1d2;background:#fff;border-radius:7px;color:#4d7156;font-weight:650}
.overview-chart-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:18px;margin-bottom:18px}
.overview-panel{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:18px;min-width:0;overflow:hidden}
.overview-chart-grid>.overview-panel{margin-bottom:0}
.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.panel-title h2,.period-breakdown h2{font-family:system-ui,sans-serif;font-size:17px;letter-spacing:-.4px;margin:5px 0 0;font-weight:700}
.panel-title .section-kicker{font-size:8px}
.chart-unit{font-size:9px;color:#7d8c7e;white-space:nowrap}
.trend-chart{display:block;width:100%;height:auto;margin:4px 0 10px;overflow:visible}
.trend-chart text{font-family:system-ui,sans-serif;font-size:11px;fill:#81907f}
.chart-legend{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:10px;color:#637d68;margin:8px 0 0}
.chart-legend>span{display:flex;align-items:center;gap:6px}
.chart-legend i{display:inline-block;width:7px;height:7px;border-radius:50%}
.chart-legend .legend-note{font-size:9px;color:#96a08f}
.chart-details{font-size:11px;color:#6e836f;margin-top:17px;border-top:1px solid #e9eee3;padding-top:12px}
.chart-details summary{cursor:pointer;min-height:25px}
.overview-table-wrap{overflow-x:auto;margin-top:10px}
.overview-table{border-collapse:collapse;width:100%;font-size:11px}
.overview-table th,.overview-table td{text-align:left;padding:9px 10px;border-bottom:1px solid #edf1e7;white-space:nowrap}
.overview-table th{color:#6c7b67;font-weight:650;font-size:10px}
.table-link{background:transparent;padding:0;font-size:11px;min-height:28px;border-radius:0;color:#31634b;text-align:left;white-space:normal}
.method-bars{display:grid;gap:15px}
.method-bar>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;line-height:1.5;margin-bottom:7px;color:#667e6c}
.method-bar b{font-size:11px;color:#3c5d47;font-weight:650;white-space:nowrap}
.method-track{height:6px;border-radius:6px;background:#f0f3eb;overflow:hidden}
.method-track i{display:block;height:100%;border-radius:6px}
.chart-caption{font-size:9px;line-height:1.7;color:#8a9787;margin:18px 0 0}
.chart-empty{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;font-size:13px;color:#84927f}
.chart-empty>span{font-size:11px}
.overview-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.branch-card{background:#f9fbf5;border:1px solid #e3e9dc;border-radius:12px;padding:17px 18px}
.branch-card .line h3{display:flex;align-items:center;gap:8px;font-size:13px;margin:0}
.branch-card h3 i{width:7px;height:7px;border-radius:50%}
.branch-card>.line>.table-link{font-size:9px;min-height:25px}
.branch-card>strong{font-size:30px;font-family:Rift,system-ui;display:block;margin:17px 0 4px}
.branch-card>span{font-size:10px;color:#81917d}
.branch-meter{height:5px;background:#e5ebdf;border-radius:5px;overflow:hidden;margin:16px 0}
.branch-meter i{display:block;height:100%;border-radius:5px}
.branch-data{display:flex;justify-content:space-between;gap:14px;font-size:9px;color:#7a8c75}
.branch-data b{display:block;font-size:13px;color:#41694b;margin-top:5px}
.branch-card .muted{font-size:9px;margin:14px 0 0}
.overview-operating-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.review-row,.supplier-row{display:flex;align-items:center;gap:11px;padding:13px 0;background:transparent;width:100%;border-bottom:1px solid #edf0e6;border-radius:0;text-align:left;min-width:0}
.review-row b,.supplier-row b{display:block;font-size:11px;font-weight:650;line-height:1.5}
.review-row small,.supplier-row small{display:block;font-size:9px;font-weight:400;color:#8b9984;margin-top:4px}
.review-row>span:last-child{margin-left:auto;font-size:14px;color:#6c8a68}
.review-mark{display:grid;place-items:center;width:31px;height:31px;border:1px solid #e6dec9;background:#fbf5e7;color:#b08030;border-radius:9px;flex-shrink:0}
.supplier-row{justify-content:space-between}
.supplier-row strong{font-size:12px;white-space:nowrap}
.overdue-banner{font-size:10px;padding:10px 12px;background:#fbf1e8;color:#9e6335;border-radius:8px;margin-bottom:8px}
.mini-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid #ebefe4;margin-top:15px;padding-top:15px}
.mini-metrics b{display:block;font-size:18px;font-weight:600}
.mini-metrics span{display:block;font-size:9px;color:#8a9883;margin-top:4px;line-height:1.5}
.all-clear{display:flex;gap:12px;align-items:center;min-height:110px;color:#476c4d}
.all-clear>span{display:grid;place-items:center;width:35px;height:35px;background:#edf5e4;color:#6a8c50;border-radius:50%;font-size:17px}
.all-clear b{font-size:12px}
.all-clear p{font-size:10px;color:#8a9981;margin:5px 0 0}
.period-breakdown{display:grid;grid-template-columns:1fr 2fr;gap:22px;align-items:center}
.period-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.period-figures>div{border-left:1px solid #e5eadf;padding-left:18px}
.period-figures span{display:block;font-size:10px;color:#7d9077}
.period-figures b{display:block;font-size:23px;font-family:Rift,system-ui;margin:7px 0}
.period-figures small{display:block;font-size:9px;line-height:1.6;color:#8e9b85}
.data-notes{padding:3px 2px 10px}
.data-notes h3{font-size:11px;color:#6d8268;margin-bottom:7px}
.data-notes p{font-size:10px;color:#8b9985;line-height:1.7;margin-bottom:8px}
.source-note{background:#f3ecd9;border:1px solid #e5dbbd;color:#8a6a32;font-size:10px;line-height:1.5;text-align:left;font-weight:500;min-height:36px;padding:9px 12px;margin:4px 0 10px;width:100%}
.overview-loading{padding-top:20px}
.overview-loading h1{font-size:36px;margin:15px 0 25px}
.skeleton-card{height:160px;border-radius:16px;background:linear-gradient(100deg,#e7ece1 20%,#f7f9f1 45%,#e7ece1 70%);background-size:250% 100%;animation:loading-shimmer 1.6s infinite}
@keyframes loading-shimmer{to{background-position:-200% 0}}
.mobile-navigation{display:none}
body:not(.authenticated) .sidebar-navigation,body:not(.authenticated) .sidebar-section,body:not(.authenticated) .sidebar-bottom,body:not(.authenticated) .mobile-navigation{display:none}
.login-wrap h1{font-size:40px}
.footer{font-size:9px;letter-spacing:1.7px}
@media(min-width:1600px){.workspace{padding:28px 48px}.overview-stat>strong{font-size:42px}.overview-heading h1{font-size:55px}}
@media(max-width:1150px){.shell{grid-template-columns:200px minmax(0,1fr)}.workspace{padding:22px}.app-sidebar{padding:25px 14px}.overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-stat>strong{font-size:37px}.overview-stat>p{min-height:16px}.overview-chart-grid{grid-template-columns:1fr}.overview-chart-grid>.overview-panel:last-child .method-bars{grid-template-columns:1fr 1fr;gap:18px 24px}.period-breakdown{grid-template-columns:1fr}.period-figures>div:first-child{padding-left:0;border-left:0}}
@media(max-width:760px){.shell{display:block}.app-sidebar{display:none}.workspace{padding:18px 16px 100px}.mobilebrand{display:flex;background:#123e2d;padding:8px 16px;align-items:center;gap:9px}.mobilebrand img{height:35px;width:43px;object-fit:cover}.mobilebrand>span{font-size:16px}.mobilebrand .mobile-admin{margin-left:auto;font:9px system-ui;letter-spacing:1px;color:#b4cbb9}.top{padding-bottom:13px;margin-bottom:23px}.top .eyebrow{font-size:8px;letter-spacing:.6px;max-width:45%;line-height:1.5}.session-info{gap:5px;font-size:10px}.session-info button{font-size:10px;margin-left:0;min-height:32px}.overview-heading{margin-bottom:21px;gap:10px;align-items:flex-start}.overview-heading h1{font-size:37px;margin-top:9px}.overview-heading p{font-size:11px;max-width:280px}.overview-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.refresh-button{font-size:19px;padding:6px 10px;min-height:35px}.refresh-button>span{display:none}.overview-toolbar{gap:10px}.branch-segment{width:100%;justify-content:space-between}.branch-segment button{font-size:10px;padding:7px 9px;flex:1}.overview-updated{margin-left:auto;font-size:9px}.overview-filters{grid-template-columns:1fr 1fr;padding:13px;gap:11px;margin-bottom:22px}.overview-filters label:nth-child(3){grid-column:1/2}.overview-filters>button{font-size:11px;padding:9px 8px;align-self:end}.overview-filters select{font-size:10px}.overview-period .section-kicker{font-size:8px;letter-spacing:.7px}.overview-period>span:last-child{font-size:8px}.overview-kpis{gap:10px}.overview-stat{padding:14px 13px 10px;border-radius:13px}.stat-top{font-size:10px;gap:4px}.stat-icon{width:22px;height:22px;font-size:13px}.overview-stat>strong{font-size:32px;margin:11px 0 7px}.overview-stat>p{font-size:9px;min-height:29px;line-height:1.55}.stat-link{font-size:9px}.overview-quick{gap:7px;padding-bottom:23px}.overview-quick>span{width:100%;font-size:9px;margin-bottom:2px}.overview-quick button{font-size:9px;min-height:33px;padding:7px 8px}.overview-chart-grid{gap:14px;margin-bottom:14px}.overview-panel{padding:17px;border-radius:14px;margin-bottom:14px}.panel-title{margin-bottom:16px}.panel-title h2,.period-breakdown h2{font-size:16px}.chart-unit{font-size:8px}.trend-chart text{font-size:17px}.chart-legend{gap:12px;font-size:9px}.chart-legend .legend-note{width:100%;font-size:8px}.chart-caption{font-size:9px}.overview-chart-grid>.overview-panel:last-child .method-bars{grid-template-columns:1fr;gap:15px}.method-bar>div:first-child{font-size:11px}.overview-branches,.overview-operating-grid{grid-template-columns:1fr;gap:12px}.branch-card{padding:17px}.branch-card>strong{font-size:32px}.branch-card>span{font-size:10px}.branch-data{font-size:10px}.branch-data b{font-size:14px}.branch-card .muted{font-size:10px}.branch-card>.line>.table-link{font-size:10px}.period-figures{grid-template-columns:1fr;gap:12px}.period-figures>div{border-left:0;border-top:1px solid #e5eadf;padding:13px 0 0}.period-figures>div:first-child{border-top:0}.period-figures small{font-size:10px}.period-figures b{font-size:26px}.period-figures span{font-size:11px}.data-notes p{font-size:10px}.mobile-navigation{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid #dce5d4;z-index:50;padding:6px 8px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #1b33280a}.mobile-navigation button{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:47px;font-size:9px;font-weight:550;background:transparent;color:#8b9c85;padding:4px;border-radius:9px}.mobile-navigation button>span{font-size:22px;line-height:1.1}.mobile-navigation button.active{color:#18583d;background:#eaf1e4}.mobile-navigation button.active>span{color:#18583d}.footer{font-size:8px;margin-bottom:0}.formgrid{grid-template-columns:1fr}.overview-filters.formgrid{grid-template-columns:1fr 1fr}#toast{bottom:90px}.login-wrap{margin-top:35px;padding:25px}.login-wrap h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.skeleton-card{animation:none}*{scroll-behavior:auto!important}}
.overview-data-coverage{display:flex;gap:7px;align-items:center;font-size:10px;line-height:1.6;color:#798b72;margin:0 0 15px}
.coverage-dot{width:5px;height:5px;border-radius:50%;background:#8aab66;flex-shrink:0}
.overview-stat>p{font-size:11px;min-height:36px;color:#6c7e6a}
.chart-caption,.data-notes p{font-size:11px;color:#6e806b}
.chart-legend{font-size:11px}
.chart-legend .legend-note{font-size:10px}
.overview-quick button{font-size:11px;min-height:35px}
.review-row b,.supplier-row b{font-size:12px}
.review-row small,.supplier-row small{font-size:10px}
.period-figures small{font-size:10px}

body.cashier-session [data-nav]:not([data-nav="cash"]):not([data-nav="pos"]){display:none!important}
body.cashier-session .mobile-navigation{grid-template-columns:1fr}

#install-dialog{max-width:420px;width:calc(100% - 64px);border:0;border-radius:20px;padding:24px;color:#173e30}#install-dialog p{line-height:1.6}#install-dialog::backdrop{background:#10261dcc}#install-app{white-space:nowrap}.mobile-navigation{padding-bottom:max(8px,env(safe-area-inset-bottom))}.top{padding-top:max(12px,env(safe-area-inset-top))}@media(max-width:480px){.session-info{flex-wrap:wrap;justify-content:flex-end;gap:6px}#install-app{font-size:12px}}
/* Operación de mesas, turnos y cobros */
body.cashier-session [data-nav="pos"]{display:flex!important}body.waiter-session [data-nav]:not([data-nav="pos"]){display:none!important}body.cashier-session .mobile-navigation{grid-template-columns:repeat(2,1fr)}body.waiter-session .mobile-navigation{grid-template-columns:1fr}.mobile-navigation{grid-template-columns:repeat(5,1fr)}
.pos-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:20px}.pos-heading h1{font-size:clamp(28px,5vw,46px);margin:7px 0}.pos-heading p{margin:8px 0}.pos-heading>button{white-space:nowrap}.pos-turn-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:#123e2d;color:white;border-radius:18px;padding:22px;margin-bottom:18px}.pos-turn-summary>div{display:grid;gap:8px}.pos-turn-summary span{font-size:12px;color:#c4dbce}.pos-turn-summary b{font-size:20px}.pos-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.pos-table-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin:16px 0 24px}.pos-table-card{padding:20px;background:#fff;border:1px solid #dce4d9;border-radius:16px;display:grid;text-align:left;gap:12px;color:#173e30;min-width:0;box-shadow:0 4px 12px #173e3005}.pos-table-card:hover{border-color:#17684c;background:#f5faf4}.pos-table-card>strong{font-size:28px}.pos-table-card>span:not(.line),.pos-table-card small{color:#6d7d70;font-size:12px}.pos-bill{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;padding:22px;background:#e9efe5;border-radius:16px;margin:14px 0}.pos-bill>div{display:grid;gap:8px}.pos-bill strong{font-size:30px}.pos-bill span{font-size:13px}.pos-item{padding:16px 0;border-bottom:1px solid #e0e7dc}.pos-item p{margin:10px 0;font-size:14px;line-height:1.6}.pos-item small{color:#657367}.pos-item-actions{display:flex;gap:12px}.pos-void{opacity:.65;background:#f7f4f0}.pos-void>.line b,.pos-void>.line strong{text-decoration:line-through}.pos-products{display:grid;gap:8px;max-height:360px;overflow:auto;margin-top:15px}.pos-products button{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#f6f8f2;border:1px solid #e1e7da;padding:14px;border-radius:12px;text-align:left;color:#173e30}.pos-products button span:first-child{flex:1}.pos-products button b{white-space:nowrap}.pos-product-picker{display:grid;gap:10px}.pos-draft-line{padding:14px 0;border-bottom:1px solid #e1e7da}.pos-member{display:flex;align-items:center;gap:12px;padding:15px 0}.pos-member input{width:22px;height:22px;flex:none}.pos-member span{display:grid;gap:5px}.pos-member small{font-weight:normal;color:#657367}.pos-code{overflow-wrap:anywhere;font-family:monospace}.pos-events{max-height:320px;overflow:auto}#pos-error:not(:empty){background:#fff0e7;padding:14px;border-radius:12px;margin:12px 0}#pos-close-form{margin-bottom:12px}@media(max-width:520px){.pos-turn-summary{gap:10px;padding:18px}.pos-turn-summary b{font-size:16px}.pos-table-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pos-table-card{padding:16px 12px}.pos-table-card .line{flex-wrap:wrap;gap:5px}.pos-heading{flex-wrap:wrap}.pos-bill{gap:12px;padding:18px}.pos-bill strong{font-size:25px}.pos-actions>button{flex:1}.pos-item .line{flex-wrap:wrap}.mobile-navigation button{font-size:10px}}

body.authenticated:not(.pos-enabled) .mobile-navigation{grid-template-columns:repeat(4,1fr)}

[hidden]{display:none!important}#pos-payment-equivalent{background:#e9efe5;border-radius:12px;padding:16px;margin:16px 0;font-size:18px;font-weight:700}#cash-form input[readonly]{background:#edf1e9;color:#435d49}
/* Servicio móvil: primero las mesas; finanzas reservadas por rol en la API. */
.pos-service-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#eaf0e6;border:1px solid #dce6d6;border-radius:14px;font-size:12px;color:#46624c;margin:12px 0 22px}.pos-service-strip>span:first-child{font-weight:700;color:#174f36;display:flex;align-items:center;gap:8px}.service-dot{width:7px;height:7px;background:#3c9061;border-radius:50%;display:inline-block}.pos-service-tables{margin-top:28px}.pos-service-tables h2{margin:0;font:700 23px system-ui}.pos-section-count{background:#e8eee2;color:#315c3e;border-radius:20px;padding:4px 10px;font-size:12px}.pos-table-search{width:100%;margin:16px 0 0;border:1px solid #dce4d6;background:white;border-radius:12px;padding:14px 16px;font:inherit}.pos-table-card{gap:14px;transition:background .15s,border-color .15s;min-height:200px}.pos-table-label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:20px;font-weight:750}.pos-table-label small{font:600 10px system-ui;background:#edf3e7;color:#4b774d;border-radius:20px;padding:5px 7px}.pos-table-owner{display:flex;align-items:center;gap:7px;font-size:12px;color:#69796b}.pos-table-owner i{width:23px;height:23px;border-radius:50%;background:#e7eee2;display:grid;place-items:center;font-style:normal;color:#476749}.pos-table-card .pos-table-amount{font-size:28px;font-weight:750;color:#173e30}.pos-table-link{border-top:1px solid #e5eadf;padding-top:12px;display:flex;justify-content:space-between;font-size:12px;font-weight:650;color:#245d3c!important}.pos-history-card{min-height:120px}.pos-kitchen-note{font-size:11px;color:#7b8777;line-height:1.6;margin:24px 0}.pos-no-tables{grid-column:1/-1;min-height:160px;display:grid;place-content:center;text-align:center;border:1px dashed #d1ddc9;border-radius:16px;color:#687c66;padding:24px}.pos-no-tables b{color:#37593d}.pos-no-tables p{font-size:13px;line-height:1.6}.pos-welcome{max-width:540px;margin:32px auto;background:white;border:1px solid #e1e7d9;border-radius:22px;padding:32px;text-align:center}.pos-welcome-icon{display:inline-grid;place-items:center;background:#e8f0e0;color:#1c603c;border-radius:20px;width:68px;height:68px;font-size:35px}.pos-welcome h2{margin:20px 0 10px;font-size:24px}.pos-welcome p{font-size:14px;line-height:1.7;color:#6a7b65}.pos-welcome button{margin-top:16px}.live-panel{margin:24px 0}.live-badge{font-size:11px;color:#216b42;background:#e7f0df;border-radius:20px;padding:8px 12px}.live-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.live-branch{display:grid;text-align:left;gap:10px;padding:22px;border:1px solid #dce7d2;border-radius:16px;background:#f8faf4;color:#234a2c}.live-branch>strong{font-size:30px}.live-branch>span{font-weight:700}.live-branch>div{display:grid;gap:10px;margin:10px 0}.live-branch>div span{display:flex;justify-content:space-between;font-size:13px}.live-branch small{color:#77866f;font-size:12px}.blind-intro{background:#edf2e5;border:1px solid #dce6cf;border-radius:16px;padding:24px;margin-bottom:20px}.blind-intro h3{margin:10px 0;font-size:23px}.blind-intro p{line-height:1.7;font-size:14px;color:#52694b}.blind-confirmation{background:#f3f5ef;color:#52644b}.cash-blind-form input:not([readonly]){min-height:48px;font-size:17px;background:#fff}.cash-blind-form input[readonly]{font-size:15px;background:#f2f4ed}.cash-blind-form label small{font-size:11px;line-height:1.5}.cash-zero-button{margin:12px 0 24px}.reconciliation-panel{border:1px solid #d9e5d0!important}.recon-alert{background:#fae8df!important;color:#9b422c!important}.recon-match{background:#e6efdd!important;color:#3f6d32!important}.recon-row-different{background:#fff3ec}.recon-row-different td:last-child{color:#a64529}.recon-table{min-width:660px}.cash-declaration-card{min-height:150px}.cash-blind-form .formgrid{gap:20px}.pos-table-card:focus-visible,.live-branch:focus-visible{outline:3px solid #bd8435;outline-offset:3px}
@media(max-width:620px){.pos-service-strip{flex-wrap:wrap;font-size:11px;gap:10px;padding:13px}.pos-service-strip>span:first-child{flex-basis:100%;font-size:12px}.pos-heading h1{font-size:34px}.pos-table-grid{gap:12px}.pos-table-card{padding:17px 13px;border-radius:17px}.pos-table-label{font-size:19px;flex-wrap:wrap}.pos-table-card .pos-table-amount{font-size:25px}.pos-history-card{min-height:115px}.pos-service-tables{margin-top:24px}.pos-service-tables h2{font-size:21px}.pos-actions{gap:8px}.pos-actions .primary{min-height:48px}.pos-actions .quiet{font-size:12px}.pos-welcome{padding:26px 22px}.live-branches{grid-template-columns:1fr}.blind-intro{padding:20px}.blind-intro h3{font-size:22px}.cash-blind-form .formgrid{gap:18px}.pos-heading .muted{font-size:13px}.pos-heading{margin-bottom:12px}.waiter-session .top{margin-bottom:18px}.waiter-session .pos-heading .eyebrow{font-size:10px}.waiter-session .pos-heading>button{font-size:12px}.reconciliation-panel .line{flex-wrap:wrap;gap:12px}}

@media(max-width:620px){.recon-table{min-width:0;width:100%;border-collapse:separate}.recon-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.recon-table tbody{display:block}.recon-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e2e8da;border-radius:10px;padding:12px;margin:10px 0;background:#f6f8f0}.recon-table tr.recon-row-different{background:#fff0e6}.recon-table td{border:0;min-width:0;padding:8px 4px!important;overflow-wrap:anywhere;white-space:normal!important;font-size:12px}.recon-table td:first-child{grid-column:1/-1;font-size:13px;font-weight:650;color:#314d35}.recon-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:7px;color:#78836f;font-size:10px;font-weight:normal}.reconciliation-panel{padding:18px}.reconciliation-panel .muted{font-size:12px;line-height:1.7}}

/* Supervisión de turnos: conserva los controles de cierre y prueba del POS. */
.active-shifts{min-width:0}.active-shifts h1{font-size:clamp(28px,4vw,44px)}.active-shifts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.active-shift-card{min-width:0}.active-shift-card h2{margin:0}.active-shift-card>small{display:block;line-height:1.7}.active-shift-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.active-shift-totals>div{display:grid;gap:6px;min-width:0}.active-shift-totals span{font-size:12px;color:#63735f}.active-shift-totals b{font-size:clamp(16px,2vw,23px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.active-shift-actions{display:grid;gap:8px;margin:20px 0}.active-shifts #active-shifts-error:empty{display:none}@media(max-width:1050px){.active-shifts-grid{grid-template-columns:1fr}}@media(max-width:420px){.active-shift-totals{grid-template-columns:1fr;gap:14px}.active-shift-totals>div{grid-template-columns:1fr auto;align-items:center}.active-shift-card .line{flex-wrap:wrap;gap:8px}}
