/* La Cilla v1.2 · panel claro y navegación compacta */
.panel,.auth{--ink:#232e3b;--green:#335d73;--paper:#f5f6f8;--line:#e4e8ed;--muted:#697586;--gold:#70879a;background:var(--paper);color:var(--ink);font:14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.01em}.panel{display:grid;grid-template-columns:236px minmax(0,1fr);align-items:start;min-height:100dvh}.panel h1,.auth h1{font-family:inherit;font-weight:650;font-size:clamp(26px,3.2vw,34px);line-height:1.2;letter-spacing:-.045em}.panel h2,.auth h2{font-family:inherit;font-weight:600;font-size:19px;letter-spacing:-.025em}.panel h3{font-size:14px}.panel p{max-width:80ch}.panel .eyebrow,.auth .eyebrow{color:#718094;font-size:10px;letter-spacing:.12em}.panel a,.auth a{color:#335d73}.panel button,.panel .button,.auth button{border-radius:9px;font-size:13px;padding:10px 16px;min-height:42px;letter-spacing:0;background:#335d73;border-color:#335d73;box-shadow:none}.panel .button,.auth button{color:#fff}.panel .secondary,.panel button.secondary{background:#fff;border-color:#dce2e9;color:#3e5366}.panel button:hover,.panel .button:hover{filter:brightness(.97)}.panel button:disabled{opacity:.55;cursor:wait}.panel .whatsapp{background:#2c6e5b;border-color:#2c6e5b;color:#fff}.panel button:focus-visible,.panel a:focus-visible,.panel summary:focus-visible,.auth button:focus-visible{outline:3px solid #91b4cb;outline-offset:3px}.panel svg{width:20px;height:20px;flex-shrink:0}.panel .workspace{margin:0;padding:0 38px 45px;max-width:1450px;width:100%;min-width:0}.panel .sidebar{position:sticky;top:0;inset:auto;align-self:start;width:236px;height:auto;min-height:100dvh;display:flex;flex-direction:column;background:#fff;color:#465468;border-right:1px solid var(--line);padding:26px 15px 20px;overflow:visible}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;margin:0 8px 35px}.panel .brand{display:flex;align-items:center;gap:10px;margin:0;text-decoration:none;color:#243344;font:inherit}.panel .brand-symbol{display:grid;place-items:center;width:38px;height:42px;border:1px solid #c8d4dd;background:#f1f5f7;border-radius:10px;color:#335d73;font:21px Georgia,serif;letter-spacing:-.05em}.panel .brand-name{display:block;font-size:22px;font-weight:650;line-height:1.15;letter-spacing:-.04em}.brand-name small{display:block;margin-top:7px;font-size:7px;letter-spacing:.15em;font-weight:600;color:#8190a0}.panel .sidebar nav{display:block;overflow:visible;min-height:auto}.nav-start{margin:0 0 15px}.panel .sidebar nav a{display:flex;align-items:center;gap:11px;min-height:42px;padding:10px 12px;border-radius:8px;color:#5c6878;font-size:13px;text-decoration:none;font-weight:500}.panel .sidebar nav a:hover{background:#f4f6f9;color:#263d51}.panel .sidebar nav a.active{background:#eaf1f6;color:#2f5e7c;font-weight:650}.nav-group{margin:4px 0;border:0}.panel .nav-group>summary{display:flex;align-items:center;gap:11px;min-height:44px;list-style:none;padding:10px 12px;font-size:13px;font-weight:550;color:#536173;cursor:pointer;margin:0;border-radius:8px;user-select:none}.nav-group>summary::-webkit-details-marker,.profile-menu>summary::-webkit-details-marker{display:none}.panel .nav-group>summary:hover{background:#f6f7f9}.nav-chevron{margin-left:auto;font-size:17px;color:#8b97a5;line-height:1;transition:transform .15s}.nav-group[open]>summary .nav-chevron,.profile-menu[open]>summary .nav-chevron{transform:rotate(180deg)}.nav-children{margin:0 0 10px 23px;padding-left:10px;border-left:1px solid #e3e9ee}.panel .sidebar .nav-children a{min-height:39px;font-size:12px;padding:9px 11px}.nav-children a svg{display:none}.sidebar-bottom{margin-top:auto;padding:35px 7px 0}.panel .profile-menu>summary{display:flex;align-items:center;gap:9px;list-style:none;margin:0;font-size:12px;cursor:pointer}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e9eef3;color:#335d73;font-size:12px;font-weight:650;flex-shrink:0}.profile-name{min-width:0;overflow-wrap:anywhere;font-weight:650;color:#37485b}.profile-name small{display:block;font-size:10px;color:#8a96a3;font-weight:400}.profile-actions{padding:12px 0 0 41px}.profile-actions a{display:block;margin-bottom:9px;font-size:12px}.profile-actions form{margin:0}.panel .profile-actions button{padding:0;min-height:26px;border:0;background:transparent;color:#84909c;font-size:11px}.panel-version{display:block;color:#9ba6b2;font-size:9px;margin:22px 0 0 41px}.panel .workspace .panel-header{height:82px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 32px;padding:0;border-bottom:1px solid var(--line)}.header-location,.header-tools{display:flex;align-items:center;gap:12px}.header-location>div{display:flex;gap:12px;align-items:center;font-size:12px}.header-brand{font-size:12px;color:#7c8998}.header-separator{font-size:12px;color:#c0c9d3}.header-location strong{font-weight:550;color:#435268}.panel .header-date{color:#8994a3;font-size:11px}.panel .icon-button{padding:8px;min-width:38px;min-height:38px;border:0;background:transparent;color:#53677c;border-radius:8px}.panel .mobile-menu,.panel .drawer-close{display:none}.panel .install-action{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;font-size:11px;min-height:34px}.install-action svg{width:15px;height:15px}.drawer-shade,.mobile-tabs{display:none}.panel .heading{margin:0 0 28px;align-items:center}.panel .heading p:last-child{margin-bottom:0}.panel .heading .eyebrow{margin-bottom:9px}.panel .heading h1{margin-bottom:10px}.panel .heading>div{min-width:0}.panel .card{border-color:var(--line);padding:24px;border-radius:12px;box-shadow:0 2px 5px #25334b02}.panel .stats{gap:18px;margin-bottom:8px}.panel .stats .card{padding:22px 24px;display:flex;flex-direction:column-reverse;gap:10px}.panel .stats strong{font:600 33px/1.2 system-ui;letter-spacing:-.045em;color:#304354}.panel .stats span{font-size:12px;color:#7b8899}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 34px}.panel .quick-card{display:block;position:relative;padding:24px;background:#edf2f6;border:1px solid #e1e8ee;border-radius:12px;color:#2a455c;text-decoration:none}.panel .quick-card:nth-child(2){background:#f2f0eb;border-color:#e7e4dd;color:#625541}.quick-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#ffffff9c;margin-bottom:17px}.quick-card h2{font-size:16px;margin-bottom:7px}.quick-card p{font-size:12px;margin:0;max-width:90%;color:#7a8896}.quick-arrow{position:absolute;right:24px;top:27px;color:#8fa0af}.panel .amount{font:600 27px system-ui;letter-spacing:-.03em}.panel .badge{background:#eef2f6;color:#617489;padding:5px 11px;font-size:10px;border:1px solid #e5ebf0}.panel .table-wrap{border-radius:12px;border-color:var(--line)}.panel th{font-weight:550;background:#fbfcfd;letter-spacing:.03em;font-size:10px;color:#8a96a5}.panel td,.panel th{padding:17px 20px;border-color:#eff2f5}.panel td{font-size:12px;color:#647285}.panel td strong{font-weight:550;color:#35465a}.panel td small{font-size:10px;color:#99a3af}.panel td a{font-size:11px;text-decoration:none}.panel td a:hover{text-decoration:underline}.panel .form-grid{gap:17px}.panel input,.panel select,.panel textarea,.auth input{background:#fff;border-color:#dce3eb;color:#304254;border-radius:8px;font-size:13px;min-height:44px}.panel label,.auth label{font-weight:550;font-size:12px;color:#586a7c}.panel input:focus,.panel select:focus,.panel textarea:focus,.auth input:focus{outline:2px solid #c4d9e8;outline-offset:1px}.panel fieldset{border-color:#e7ebf0;border-radius:10px}.panel .stack{gap:20px}.panel .stack .muted{font-size:12px}.panel .muted{color:#8190a0;font-size:13px}.panel .filters{padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px}.panel .back{font-size:11px;color:#8091a1;text-decoration:none;margin-bottom:20px}.panel .empty{background:#fff;border-color:#d9e2e9;color:#8794a4;padding:38px 20px}.panel .empty h2,.panel .empty h3{color:#52677b}.panel .alert{font-size:12px;border-radius:9px}.panel .success{background:#edf4f1;border-color:#d6e7df;color:#50715f}.panel .finance-stats{gap:12px}.panel .finance-stats>div{background:#f4f7fa;border:1px solid #edf1f5}.panel .finance-stats strong{font:600 23px/1.3 system-ui;letter-spacing:-.035em;color:#3c556c}.panel .finance-stats span{font-size:10px}.panel .finance summary{font-size:14px;font-weight:600;color:#435d73}.panel .finance-warning{background:#fbf5e9;color:#9b855f}.panel .menu-paper{margin-top:30px}.auth{display:grid;min-height:100dvh;place-items:center;padding:25px;background:linear-gradient(135deg,#eef2f6,#f6f5f1)}.auth .login{margin:0;width:100%;max-width:430px;border-radius:18px;border-color:#e0e6ec;padding:38px;box-shadow:0 15px 70px #33485e0a}.auth .login h1{font-size:30px;margin-top:25px}.auth .login>p{color:#7f8d9e;font-size:13px}.auth .stack{gap:20px}.auth button{width:100%}.install-dialog{border:1px solid #dce4eb;border-radius:16px;max-width:420px;width:calc(100% - 32px);padding:28px;color:#3d5266;box-shadow:0 30px 100px #17354d33}.install-dialog::backdrop{background:#24364c55;backdrop-filter:blur(3px)}.install-dialog h2{margin-top:20px}.dialog-top{display:flex;justify-content:space-between;align-items:center}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:100;background:#fff;padding:10px;border:2px solid #335d73;border-radius:8px}.panel .sidebar a:focus-visible{outline:2px solid #91b4cb}.panel .table-wrap:focus-visible{outline:2px solid #91b4cb}.panel .cards .actions{row-gap:10px}.panel .actions{gap:9px}.panel .inline button{font-size:11px;min-height:36px;padding:7px 11px}.panel .sidebar .profile-actions button{min-height:24px;padding:0}.panel .finance p,.panel .finance li{font-size:12px}
@media(min-width:901px) and (max-height:680px){.panel .sidebar{position:static;min-height:100vh}.sidebar-brand{margin-bottom:18px}.sidebar-bottom{padding-top:22px}.panel-version{margin-top:16px}}
@media(min-width:901px) and (max-width:1150px){.panel{grid-template-columns:212px minmax(0,1fr)}.panel .sidebar{width:212px}.panel .workspace{padding-left:25px;padding-right:25px}.header-brand,.header-separator{display:none}.panel .quick-card{padding:20px}.quick-card p{max-width:100%}.quick-arrow{right:18px}}
@media(max-width:900px){.panel{display:block}.panel .workspace{margin:0;padding:0 22px 100px;max-width:none}.panel .workspace .panel-header{height:70px;margin-bottom:25px;background:var(--paper)}.panel .mobile-menu{display:inline-flex}.panel .drawer-close{display:inline-flex}.panel .sidebar{position:fixed;inset:0 auto 0 0;top:0;left:0;width:min(300px,86vw);min-height:0;height:100dvh;padding:24px 17px;z-index:51;transform:translateX(-102%);visibility:hidden;transition:transform .2s ease,visibility .2s;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d4dfe7 transparent}.panel.drawer-open .sidebar{visibility:visible;transform:translateX(0)}.drawer-shade:not([hidden]){display:block;position:fixed;inset:0;z-index:50;background:#20344c66;backdrop-filter:blur(2px)}.panel.drawer-open{overflow:hidden}.panel .sidebar nav{display:block}.panel .sidebar-brand{margin:0 4px 25px}.panel .brand-name small{display:block}.panel .sidebar-bottom{padding-top:25px}.panel .sidebar .brand-symbol{display:grid}.panel .sidebar .brand-name{display:block}.panel .sidebar .profile-name small{display:block}.panel .sidebar nav a{font-size:13px;padding:11px 12px}.panel .header-location>div{font-size:12px;gap:0}.header-brand,.header-separator{display:none}.panel .header-date{display:none}.panel .heading h1{font-size:29px}.panel .heading{display:flex;align-items:flex-start;gap:15px}.panel .heading .button{margin-top:0;padding:10px 12px;font-size:11px;white-space:normal;text-align:center;max-width:155px}.panel .stats{gap:10px}.panel .stats .card{padding:17px 15px}.panel .stats strong{font-size:29px}.panel .stats span{font-size:10px}.panel .quick-grid{gap:12px;margin-bottom:28px}.panel .quick-card{padding:19px}.panel .quick-card h2{font-size:15px;line-height:1.4}.panel .quick-card p{font-size:11px;max-width:100%}.quick-arrow{top:22px;right:17px}.quick-arrow svg{width:16px;height:16px}.panel .mobile-tabs{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#ffffffed;backdrop-filter:blur(14px);border-top:1px solid #e4eaf0;padding:7px 12px calc(7px + env(safe-area-inset-bottom));gap:8px}.panel .mobile-tabs a{flex:1;display:flex;align-items:center;flex-direction:column;gap:3px;padding:6px;border-radius:8px;color:#8b98a6;font-size:10px;line-height:1.3;text-decoration:none}.panel .mobile-tabs a.active{color:#335d73;background:#edf3f7}.panel .mobile-tabs svg{width:18px;height:18px}.panel .columns{grid-template-columns:1fr;gap:12px}.panel .finance-stats{grid-template-columns:1fr 1fr}.panel .finance-stats strong{font-size:21px}.panel .card{padding:21px}.panel .cards{grid-template-columns:1fr}.panel .table-wrap td,.panel .table-wrap th{padding:15px}.panel .install-action{padding:8px;font-size:10px}.panel .install-action svg{width:15px;height:15px}}
@media(max-width:480px){.panel .workspace{padding-left:17px;padding-right:17px}.panel .heading{display:block;margin-bottom:23px}.panel .heading .button{margin-top:18px;max-width:none}.panel .heading h1{font-size:29px}.panel .heading .muted{font-size:12px}.panel .stats .card{padding:17px 12px}.panel .stats strong{font-size:27px}.panel .stats{gap:8px}.panel .quick-card{padding:17px}.panel .quick-icon{width:29px;height:29px;margin-bottom:18px}.panel .quick-card h2{font-size:14px}.panel .quick-card p{font-size:11px;line-height:1.6}.quick-arrow{right:12px;top:21px}.panel .form-grid{grid-template-columns:1fr}.panel .filters{padding:15px}.panel .install-action{max-width:150px}.panel .install-action span{font-size:10px}.auth .login{padding:28px}.panel .finance-stats>div{padding:14px}.panel .finance-stats strong{font-size:19px}.panel .table-wrap{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){.panel .sidebar,.nav-chevron{transition:none}}
@media print{.panel{display:block;background:#fff}.panel .sidebar,.panel .panel-header,.panel .mobile-tabs,.panel .drawer-shade,.panel .quick-grid,.install-dialog,.sr-only,.skip-link{display:none!important}.panel .workspace{margin:0;padding:0;max-width:none}.panel .menu-paper{margin:0}.panel .no-print{display:none!important}}
.panel .sidebar{top:0}.panel .brand-name{font-family:inherit;font-weight:650;color:#243344;margin:0}.panel .brand-symbol{margin:0}.panel .menu-section{border:1px solid #e2e8ef;border-radius:10px;background:#fff}.panel .menu-section>summary{font-size:12px;font-weight:550;padding:16px;margin:0;color:#5e7489}.panel .menu-section fieldset{border:0;border-top:1px solid #edf1f5;border-radius:0;padding:18px}.panel .menu-section[open]>summary{color:#335d73;background:#f8fafc;border-radius:10px 10px 0 0}
@media(max-width:600px){.panel .table-wrap{border:0;background:transparent;border-radius:0;overflow:visible}.panel .table-wrap table,.panel .table-wrap tbody{display:block;width:100%}.panel .table-wrap thead{display:none}.panel .table-wrap tr{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}.panel .table-wrap td{display:block;white-space:normal;border:0;padding:0;font-size:12px;min-width:0;overflow-wrap:anywhere}.panel .table-wrap td::before{content:attr(data-label);display:block;font-size:9px;letter-spacing:.04em;color:#99a5b2;margin-bottom:5px}.panel .table-wrap td:first-child,.panel .table-wrap td:last-child{grid-column:1/-1}.panel .table-wrap td:first-child::before,.panel .table-wrap td:last-child::before{display:none}.panel .table-wrap td:first-child strong{font-size:15px}.panel .table-wrap td:first-child small{display:inline;margin-left:8px}.panel .table-wrap td:last-child{padding-top:13px;border-top:1px solid #f0f3f6}.panel .table-wrap td:last-child a{font-size:12px;color:#335d73;display:block}}
/* La propuesta imprimible conserva su estilo de restaurante. */
.panel .menu-paper{--ink:#27382e;--green:#304d3c;--muted:#69736b;--gold:#a58250;color:#27382e}.panel .menu-paper h1{font:400 35px/1.12 Georgia,serif;letter-spacing:-.025em}.panel .menu-paper .course h2{font:600 11px system-ui;letter-spacing:.12em;color:#99733e}.panel .menu-paper .conditions h3{font-size:11px}.panel .menu-paper .eyebrow{color:#a58250}.panel .menu-paper .muted{color:#69736b;font-size:14px}@media print{.panel .menu-paper h1{font-size:27px}}
