:root{font-family:'DM Sans',Arial,sans-serif;color:#23392f;background:#f5f2eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #a4512e;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand{font-family:Manrope,'DM Sans',sans-serif}h1{font-size:clamp(1.65rem,2.4vw,2.2rem);letter-spacing:-.055em;line-height:1.16;margin-bottom:10px}h2{font-size:1.14rem;letter-spacing:-.04em}h3{font-size:1rem;letter-spacing:-.025em}.app-shell{display:flex;min-height:100vh}.sidebar{width:244px;flex:none;background:#163c31;color:#e8efe9;display:flex;flex-direction:column;padding:28px 16px 20px;min-height:100vh}.brand{display:flex;gap:12px;align-items:center;padding:0 11px 45px}.brand strong{display:block;font-size:1.38rem;line-height:1.2;letter-spacing:-.06em}.brand small{font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:.2em;color:#b8ccc0;font-weight:700}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#efb08a;color:#583826;font-size:25px;line-height:1}.sidebar-label,.eyebrow{font-size:10px;font-weight:800;letter-spacing:.18em}.sidebar-label{padding:0 15px 13px;color:#9ab7a8}.nav-list{display:grid;gap:5px}.nav-item{border:0;border-radius:10px;background:transparent;color:#c6d7cc;text-align:left;padding:12px 12px;display:flex;align-items:center;gap:13px;font-weight:600;font-size:13px;width:100%}.nav-item:hover,.nav-item.active{background:#2b5747;color:white}.nav-icon{font-size:17px;width:20px;text-align:center;font-weight:400}.nav-count{margin-left:auto;border-radius:100px;background:#dfad88;color:#483b30;font-size:10px;line-height:18px;text-align:center;min-width:19px;padding:0 4px;font-weight:800}.sidebar-bottom{margin-top:auto}.aside-note{border:1px solid #537062;background:#234a3c;border-radius:15px;padding:17px 16px 13px;margin:24px 3px 17px}.note-spark{display:inline-block;color:#efb08a;font-size:20px;margin-bottom:9px}.aside-note strong{font-family:Manrope,sans-serif;font-size:13px;display:block;line-height:1.45}.aside-note p{font-size:11px;line-height:1.5;color:#c8d9ce;margin:7px 0 16px}.aside-note button{background:none;border:0;padding:0;color:#f5bd99;font-size:11px;font-weight:800}.aside-note button span{padding-left:12px}.sidebar-foot{font-size:10px;color:#a6bfae;padding:0 10px}.main-area{flex:1;min-width:0}.topbar{height:72px;background:#fffdfa;border-bottom:1px solid #e7e4dc;padding:0 38px;display:flex;justify-content:space-between;align-items:center;gap:16px}.topbar-context{font-size:12px;color:#58665c;font-weight:600}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#81ab88;margin-right:8px}.topbar-divider{display:inline-block;height:13px;width:1px;background:#d9ddd6;vertical-align:-2px;margin:0 17px}.topbar-actions{display:flex;align-items:center;gap:18px}.avatar{height:34px;width:34px;border-radius:50%;background:#e9d8ca;color:#744b39;display:grid;place-items:center;font-size:10px;font-weight:800}.mobile-brand{display:none}.demo-ribbon{padding:10px 38px;background:#fff2e8;color:#7f523e;border-bottom:1px solid #f3e0d3;display:flex;align-items:center;gap:12px;font-size:11px;line-height:1.4}.demo-ribbon strong{font-size:9px;letter-spacing:.12em;border:1px solid #d99e7e;border-radius:4px;padding:4px 6px;white-space:nowrap}.content{max-width:1510px;margin:auto;padding:34px 38px 60px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:26px}.page-head p{color:#58665c;font-size:13px;line-height:1.5;margin:0}.eyebrow{color:#925438;display:block;margin-bottom:12px}.page-actions{display:flex;gap:9px;flex-wrap:wrap}.button{border-radius:9px;border:1px solid #d5ded5;padding:10px 15px;background:white;color:#254336;font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:10px;justify-content:center;white-space:nowrap;min-height:38px}.button:hover{filter:brightness(.97)}.button-primary{background:#1d4b3b;color:white;border-color:#1d4b3b}.button-primary:hover{background:#2a5a48}.button-ghost{border-color:#dfe5dc;background:#fffdfa}.button-soft{background:#ecf2eb;border-color:#ecf2eb}.button:disabled{opacity:.45;cursor:not-allowed}.button-small{padding:7px 11px;min-height:32px;font-size:11px}.dashboard-hero{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-bottom:20px}.hero-card{background:#1b4838;border-radius:16px;color:white;min-height:210px;padding:27px 30px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.hero-card:after{content:'✳';position:absolute;font-size:255px;right:-2px;top:-97px;color:#2c624b;line-height:1;transform:rotate(-17deg);pointer-events:none}.hero-card>*{position:relative;z-index:1}.hero-card .eyebrow{color:#e3ad87}.hero-card h2{font-size:clamp(1.45rem,2.3vw,2rem);letter-spacing:-.06em;max-width:460px;line-height:1.24;margin-bottom:11px}.hero-card p{max-width:420px;color:#c7d9cb;line-height:1.5;font-size:12px;margin:0}.hero-card .hero-cta{align-self:flex-start;margin-top:20px;color:#173f32;background:#f6dfc9;border-color:#f6dfc9}.snapshot-card{background:#e9dfd1;border-radius:16px;padding:25px 27px;display:flex;flex-direction:column;justify-content:space-between;min-height:210px}.snapshot-card .eyebrow{color:#865037}.snapshot-card strong{font-family:Manrope,sans-serif;font-size:34px;letter-spacing:-.07em;line-height:1.2}.snapshot-card p{font-size:12px;color:#715f52;margin:7px 0 14px}.spark-bars{height:46px;display:flex;gap:7px;align-items:flex-end}.spark-bars i{flex:1;border-radius:4px 4px 0 0;background:#c98965;opacity:.65}.spark-bars i:nth-child(5),.spark-bars i:nth-child(8){opacity:1}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:21px}.stat-card,.panel{background:#fffdfa;border:1px solid #e8e9e2;border-radius:14px;box-shadow:0 3px 20px #163c3106}.stat-card{padding:19px 21px;min-height:126px}.stat-top{display:flex;justify-content:space-between;align-items:flex-start;color:#58665c;font-size:11px;font-weight:700}.stat-icon{height:27px;width:27px;border-radius:8px;background:#edf3ea;color:#496f4e;display:grid;place-items:center;font-size:15px}.stat-card strong{display:block;font-family:Manrope,sans-serif;font-size:26px;letter-spacing:-.06em;margin-top:13px}.stat-card small{color:#58665c;font-size:10px}.two-col{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.panel{padding:21px 22px}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.panel-header h2{margin:0}.text-link{border:0;background:none;color:#925438;font-size:11px;font-weight:800;padding:3px}.order-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;padding:15px 0;border-top:1px solid #edf0e8;font-size:12px}.order-row:first-of-type{border-top:0}.order-row strong{display:block;font-size:12px}.order-row small{color:#58665c;font-size:11px;display:block;margin-top:4px}.order-value{font-weight:800;white-space:nowrap}.status,.pill{display:inline-flex;align-items:center;gap:5px;border-radius:30px;padding:6px 9px;font-size:10px;font-weight:800;white-space:nowrap}.status-confirmado{background:#f7e6d2;color:#855028}.status-cocina{background:#e4ebf6;color:#4c6b9c}.status-listo{background:#e7f3e7;color:#43734d}.status-entregado{background:#eef0ee;color:#58665c}.status-pendiente{background:#fff0e9;color:#995033}.pill{border:1px solid #e7e9e1;color:#58665c;background:#fafbf8}.channel-list{display:grid;gap:13px}.channel-row{display:flex;align-items:center;gap:11px;font-size:12px}.channel-row .channel-icon{height:33px;width:33px;border-radius:9px;flex:none}.channel-row .bar-wrap{flex:1}.bar-track{height:5px;background:#edf0e9;border-radius:4px;margin-top:7px}.bar-fill{height:100%;border-radius:4px;background:#ca916d}.channel-row b{font-size:11px}.channel-icon{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;font-size:13px;font-weight:900}.channel-whatsapp{background:#ddefdc;color:#3b8152}.channel-instagram{background:#f9e2e3;color:#bc607b}.channel-facebook{background:#e0e9f8;color:#5374a2}.channel-salon{background:#e9eee7;color:#5f7863}.channel-web{background:#f3e8df;color:#986d54}.section-summary{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px;gap:12px}.summary-count{font-size:11px;color:#58665c;font-weight:700}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{padding:8px 12px;border:1px solid #e0e6dc;border-radius:8px;background:#fffdfa;color:#647467;font-size:11px;font-weight:700}.filter.active{background:#214c3d;border-color:#214c3d;color:white}.inbox-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.35fr);gap:18px}.message-list{display:grid;gap:9px}.message-card{width:100%;text-align:left;border:1px solid #e8e9e2;border-radius:12px;background:#fffdfa;padding:16px;display:block}.message-card.selected{border-color:#adba9f;box-shadow:0 0 0 2px #dfe9d9}.message-card:hover{border-color:#b4c9b3}.message-meta{display:flex;justify-content:space-between;align-items:center;gap:9px}.message-meta small{color:#58665c;font-size:10px}.message-card strong{display:block;margin:13px 0 5px;font-size:13px}.message-card p{font-size:11px;color:#58665c;line-height:1.45;margin:0}.message-card .message-foot{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.detail-panel{min-height:420px}.detail-top{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e9ece5;padding-bottom:17px;margin-bottom:18px}.detail-top h2{margin:0}.detail-top small{display:block;color:#58665c;font-size:10px;margin-top:4px}.detail-top .pill{margin-left:auto}.chat-bubble{background:#f4f1e9;border-radius:4px 14px 14px 14px;padding:17px 19px;font-size:13px;line-height:1.6;color:#3c4c40;max-width:88%;white-space:pre-wrap}.chat-time{font-size:10px;color:#58665c;margin:8px 0 25px}.parsed-card{border:1px solid #e9e8df;border-radius:11px;padding:18px;margin-bottom:18px;background:#fffdf8}.parsed-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.parsed-head strong{font-size:12px}.parsed-card p,.muted{font-size:11px;color:#58665c;line-height:1.5}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.detail-grid div{background:#f7f7f1;border-radius:8px;padding:10px 12px}.detail-grid small{display:block;color:#58665c;font-size:10px;margin-bottom:5px}.detail-grid strong{font-size:11px}.detail-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.notice{background:#f3f5ee;border-left:3px solid #9eae90;border-radius:5px;padding:11px 12px;font-size:11px;color:#627369;line-height:1.5;margin-top:16px}.notice-warm{background:#fff5eb;border-color:#d8a27d;color:#8c684d}.table-wrap{overflow:auto;background:#fffdfa;border:1px solid #e8e9e2;border-radius:14px}.data-table{border-collapse:collapse;width:100%;font-size:11px;min-width:780px}.data-table th{text-align:left;color:#58665c;font-size:10px;letter-spacing:.04em;background:#fbfbf6;padding:14px 18px;font-weight:800}.data-table td{border-top:1px solid #edf0e9;padding:15px 18px;vertical-align:middle}.data-table strong{font-size:11px}.data-table small{display:block;color:#58665c;margin-top:4px;font-size:10px}.data-table tr:hover td{background:#fffefb}.mono{font-variant-numeric:tabular-nums}.order-action{display:flex;gap:6px;align-items:center}.select-control{border:1px solid #dfe7dc;border-radius:7px;padding:7px 8px;background:white;color:#305043;font-size:11px;min-width:116px}.channel-with-name{display:flex;gap:8px;align-items:center}.kitchen-grid{display:grid;grid-template-columns:repeat(3,minmax(210px,1fr));gap:17px}.kitchen-column{background:#eeeae1;border-radius:14px;padding:13px;min-height:330px}.kitchen-column-head{display:flex;align-items:center;justify-content:space-between;padding:4px 6px 14px}.kitchen-column-head h2{margin:0;font-size:13px}.kitchen-column-head span{background:white;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:10px;font-weight:800}.ticket{background:#fffdfa;border:1px solid #e4e6dc;border-radius:10px;padding:16px;margin-bottom:10px;box-shadow:0 4px 10px #203b2d08}.ticket-head{display:flex;justify-content:space-between;gap:10px}.ticket-head strong{font-size:12px}.ticket-head small{font-size:10px;color:#58665c}.ticket h3{margin:14px 0 6px;font-size:12px}.ticket p{font-size:11px;color:#58665c;margin:0 0 8px;line-height:1.45}.ticket .button{width:100%;margin-top:10px}.ticket-type{display:flex;gap:5px;align-items:center;color:#855c3e;font-size:10px;font-weight:700}.empty-state{padding:30px 20px;text-align:center;border:1px dashed #d3d9d0;border-radius:10px;color:#58665c;font-size:11px;line-height:1.5}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:17px}.menu-card{background:#fffdfa;border:1px solid #e8e9e2;border-radius:14px;overflow:hidden}.menu-art{height:116px;background:#e5e2d3;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.menu-art:before{content:'';height:126px;width:126px;border-radius:50%;background:#fbf8f0;box-shadow:0 8px 20px #6c634331, inset 0 0 0 11px #eee9dc;position:absolute}.menu-art span{position:relative;z-index:1;font-size:53px;filter:drop-shadow(0 3px 2px #0002)}.menu-art.art-2{background:#e9d9cb}.menu-art.art-3{background:#dbe4d7}.menu-art.art-4{background:#eedbc8}.menu-art.art-5{background:#e5dfd4}.menu-art.art-6{background:#eaded7}.menu-body{padding:16px}.menu-body .eyebrow{font-size:9px;margin:0 0 9px}.menu-body h2{margin:0 0 6px}.menu-body p{font-size:11px;color:#58665c;line-height:1.5;min-height:33px;margin-bottom:14px}.menu-body .menu-options{color:#526753;font-size:10px;min-height:20px}.menu-foot{display:flex;justify-content:space-between;align-items:center;margin-top:9px}.menu-foot strong{font-size:13px}.availability{border:1px solid #dce6d8;background:#f2f7ef;color:#477150;font-size:10px;font-weight:800;border-radius:7px;padding:6px 9px}.availability.off{border-color:#eadbd5;background:#fff2ec;color:#925438}.crm-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,1fr);gap:18px}.customer-row{display:flex;align-items:center;gap:12px;padding:13px 11px;border-radius:9px;border:1px solid transparent;width:100%;background:none;text-align:left}.customer-row:hover,.customer-row.selected{background:#f6f7ef;border-color:#e2e9d9}.customer-avatar{width:38px;height:38px;flex:none;border-radius:11px;background:#e9dbca;color:#754d33;display:grid;place-items:center;font-size:11px;font-weight:800}.customer-row strong{font-size:12px;display:block}.customer-row small{font-size:10px;color:#58665c}.customer-row .pill{margin-left:auto}.profile-head{display:flex;gap:15px;align-items:center;padding-bottom:17px;border-bottom:1px solid #edf0e9}.profile-head .customer-avatar{width:56px;height:56px;font-size:18px}.profile-head h2{margin:0 0 4px}.profile-head small{color:#58665c;font-size:11px}.crm-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.crm-facts div{background:#f7f7f1;padding:12px;border-radius:9px}.crm-facts small{color:#58665c;font-size:10px;display:block;margin-bottom:7px}.crm-facts strong{font-size:12px}.crm-note{background:#fff8ed;border-radius:9px;padding:13px;font-size:11px;line-height:1.55;color:#705d4b}.crm-note strong{display:block;color:#885632;margin-bottom:5px}.subheading{font-family:Manrope,sans-serif;font-size:12px;font-weight:800;margin:22px 0 8px}.timeline{border-left:2px solid #dfe7dc;padding-left:14px;color:#58665c;font-size:11px;line-height:1.5}.timeline div{position:relative;margin:12px 0}.timeline div:before{content:'';width:7px;height:7px;background:#a6b899;border-radius:50%;position:absolute;left:-19px;top:4px}.toast{position:fixed;right:24px;bottom:24px;background:#1a4738;color:white;padding:12px 18px;border-radius:10px;box-shadow:0 12px 30px #1b473844;font-size:12px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none;z-index:20;max-width:320px}.toast.visible{opacity:1;transform:translateY(0)}.tour-dialog{border:0;border-radius:17px;padding:31px 36px;max-width:555px;width:calc(100% - 30px);color:#294236;box-shadow:0 20px 70px #0b291f66}.tour-dialog::backdrop{background:#102c23a8}.tour-dialog h2{font-size:24px;line-height:1.28;letter-spacing:-.06em;margin-bottom:18px}.tour-dialog ol{padding-left:20px;color:#697b6d;font-size:12px;line-height:1.65}.tour-dialog li{margin:11px 0}.tour-dialog li strong{color:#294236}.dialog-close{border:0;background:#f3f3ed;position:absolute;right:17px;top:15px;border-radius:7px;width:27px;height:27px;font-size:19px;color:#617266}.dialog-actions{margin-top:21px}.screen-reader{position:absolute;left:-9999px}.footer-note{margin-top:22px;color:#58665c;font-size:10px;line-height:1.5}
@media(max-width:1100px){.sidebar{width:210px}.content{padding:27px}.topbar,.demo-ribbon{padding-left:27px;padding-right:27px}.stats-grid{grid-template-columns:repeat(2,1fr)}.menu-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.dashboard-hero{grid-template-columns:1.4fr 1fr}}
@media(max-width:800px){.app-shell{display:block}.sidebar{width:100%;min-height:0;padding:12px 16px;position:relative}.sidebar .brand,.sidebar-label,.sidebar-bottom{display:none}.nav-list{display:flex;overflow:auto;gap:3px;scrollbar-width:thin}.nav-item{white-space:nowrap;width:auto;padding:9px 11px;font-size:11px}.nav-icon{display:none}.topbar{height:58px}.mobile-brand{display:flex;align-items:center;gap:8px}.mobile-brand .brand-mark{width:26px;height:26px;font-size:19px;border-radius:8px}.topbar-context{display:none}.dashboard-hero,.two-col,.inbox-layout,.crm-layout{grid-template-columns:1fr}.kitchen-grid{grid-template-columns:repeat(2,minmax(210px,1fr))}.detail-panel{min-height:0}}
@media(max-width:560px){.content{padding:23px 16px 45px}.topbar,.demo-ribbon{padding-left:16px;padding-right:16px}.demo-ribbon{align-items:flex-start}.demo-ribbon span{font-size:10px}.page-head{display:block}.page-actions{margin-top:16px}.stats-grid{gap:9px}.stat-card{padding:15px;min-height:108px}.stat-card strong{font-size:21px}.stat-top{font-size:10px}.menu-grid,.kitchen-grid{grid-template-columns:1fr}.order-row{grid-template-columns:1fr auto;gap:6px}.order-row .status{grid-column:1 / -1;justify-self:start}.topbar-actions{gap:8px}.topbar-actions .button span{display:none}.topbar-actions .button{min-width:36px;padding:8px}.hero-card{min-height:205px;padding:23px}.snapshot-card{min-height:160px}.profile-head{align-items:flex-start}}

.portfolio-link{display:block;padding:10px 38px;background:#fffdfa;color:#254336;font-size:12px;font-weight:700;text-underline-offset:3px}.portfolio-link:focus-visible{outline:3px solid #a4512e;outline-offset:-3px}
/* ponytail: estado en el flujo del documento, sin superponer ni bloquear acciones. */
.toast{position:static;max-width:none;margin:0 38px;padding:0;min-height:0;max-height:0;overflow:hidden;opacity:0;transform:none;box-shadow:none;transition:none}.toast.visible{max-height:none;padding:12px 16px;margin-top:14px;opacity:1;transform:none}
.section-summary,.parsed-head,.detail-top,.panel-header{flex-wrap:wrap}.detail-grid>div,.crm-facts>div,.customer-row>span,.order-row>div,.page-head>div{min-width:0;overflow-wrap:anywhere}.detail-panel,.crm-layout>.panel,.two-col>.panel{min-width:0}.hero-cta{max-width:100%;white-space:normal;text-align:left}.customer-row{flex-wrap:wrap}.table-wrap:focus-visible{outline:3px solid #a4512e;outline-offset:2px}
@media(max-width:560px){.portfolio-link{padding:10px 16px}.toast{margin-left:16px;margin-right:16px}.demo-ribbon{flex-wrap:wrap;gap:7px}.nav-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:4px}.nav-item{white-space:normal;justify-content:center;text-align:center;font-size:10px;padding:9px 4px;gap:4px}.nav-count{margin-left:0}.detail-grid{grid-template-columns:1fr}.panel{padding:17px 15px}.detail-actions .button{white-space:normal;width:100%}.chat-bubble{max-width:100%}.tour-dialog{padding:34px 22px 24px;max-height:calc(100dvh - 30px);overflow:auto}.dialog-actions .button{white-space:normal}.stat-icon{flex:none}.summary-count{line-height:1.5}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* ponytail: native controls and a wrapping layout cover the local demo. */
.button,.button-small,.filter,.availability,.aside-note button{min-height:44px;white-space:normal}
.dialog-close{width:44px;height:44px;top:8px;right:8px}
.tour-dialog{padding-top:58px;max-height:calc(100dvh - 30px);overflow:auto}
.menu-body h2{font-size:1rem;letter-spacing:-.025em}
.menu-foot{flex-wrap:wrap;gap:8px}
:focus-visible{outline:3px solid #a4512e;outline-offset:3px}

.skip-link{position:absolute;top:8px;left:8px;z-index:30;transform:translateY(-200%);padding:12px;background:#fffdfa;color:#23392f}.skip-link:focus{transform:none}
