@charset "UTF-8";
:root{color-scheme:light;--green:#214c39;--ink:#17392e;--paper:#f7f8f3;--lime:#d4eb88;--muted:#738078;--line:#e4e9e1;--white:#fff;--red:#a33333;--shadow:0 12px 42px #17392e0b;font-family:Arial,Helvetica,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #95b93d;outline-offset:4px}input:focus,select:focus,textarea:focus{border-color:#648454;outline:3px solid #d4eb8877}h1,h2,h3,p{margin-top:0}h1{font-size:38px;line-height:1.15;letter-spacing:-1.3px;margin-bottom:12px}h2{font-size:18px;letter-spacing:-.35px;margin-bottom:8px}h3{font-size:16px;letter-spacing:-.2px}p{margin-bottom:12px}label{display:block;font-size:12px;font-weight:700;margin:16px 0 7px}input,select,textarea{width:100%;border:1px solid #dce3d9;border-radius:9px;background:#fff;color:var(--ink);padding:11px 12px;min-height:44px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#909990}textarea{resize:vertical}select{padding-right:28px}small{font-size:11px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;margin-bottom:11px}.required{color:#6a843b}.optional{color:var(--muted);font-weight:400}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip-link{position:fixed;top:10px;left:10px;z-index:100;background:#fff;padding:12px;transform:translateY(-150%)}.skip-link:focus{transform:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:700;padding:11px 17px;white-space:nowrap;transition:background .15s,transform .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.primary{background:var(--green);color:white;box-shadow:0 3px 8px #214c3912}.primary:hover:not(:disabled){background:#2d604a}.secondary{background:white;border-color:var(--line);color:var(--ink)}.secondary:hover:not(:disabled){background:#f5f7ef}.danger{background:#fff5f3;border-color:#f0d5ce;color:var(--red)}.text-button{background:transparent;color:var(--green)}.small{min-height:36px;padding:8px 12px;font-size:11px}.full{width:100%}.icon-button{width:36px;height:36px;display:grid;place-items:center;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:24px;font-weight:400;color:var(--muted)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--green);font-size:27px;font-weight:800;letter-spacing:-1.3px;white-space:nowrap}.brand svg{width:31px;height:33px}.brand svg path:first-child{fill:var(--lime);stroke:var(--green)}.brand-dot{color:#a5bf50}.app-shell{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;position:sticky;top:0;align-self:start;height:100dvh;background:#fff;border-right:1px solid var(--line);padding:32px 22px 22px}.sidebar-caption{font-size:8px;letter-spacing:2px;color:#92a092;margin:15px 0 39px 43px}.navigation{display:flex;flex-direction:column;gap:7px}.nav-button{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;border:0;background:none;border-radius:9px;color:#728174;text-align:left;padding:12px;font-size:12px;font-weight:600}.nav-button.active{background:#edf2e5;color:var(--green)}.nav-button:hover{background:#f4f6ef}.nav-count{background:#dce9bf;border-radius:5px;padding:1px 6px;font-size:10px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:60px}.private-label{font-size:10px;color:#81917c;padding:14px 0 19px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:6px}.status-dot{width:5px;height:5px;background:#77a654;display:inline-block;border-radius:50%}.account{display:flex;align-items:center;gap:10px;margin:21px 0 13px;min-width:0}.avatar{height:34px;width:34px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#eaf0df;color:#6b8652;font-size:11px;font-weight:700}.account div{min-width:0}.account strong{display:block;font-size:10px}.account span:not(.avatar){display:block;color:#8a958b;font-size:9px;overflow-wrap:anywhere}.logout-button{border:0;background:none;padding:8px 0;color:#7b877d;font-size:10px;display:flex;align-items:center;justify-content:space-between;width:100%}.main-content{padding:0 40px;min-width:0;max-width:1700px;width:100%;margin:auto}.main-content:focus{outline:none}.topbar{display:flex;align-items:center;gap:20px;height:81px;border-bottom:1px solid var(--line);color:#8b978a;font-size:11px;margin-bottom:34px}.topbar>span:first-child{color:#657762;font-weight:600}.topbar-date{margin-left:auto;text-transform:capitalize}.admin-chip{padding:5px 9px;border:1px solid #dfe6d8;border-radius:6px;font-size:9px;background:#fcfdf9;color:#758369}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.page-heading .muted{font-size:12px;margin-bottom:0}.page-heading>.button{padding:12px 19px}.page-heading>.button>span{font-size:19px;font-weight:400}.page-heading .eyebrow{color:#91a17c}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:30px}.stat-card{position:relative;background:white;border:1px solid var(--line);border-radius:12px;padding:20px 21px;min-height:135px;box-shadow:0 3px 5px #17392e02}.stat-card>span:first-child{display:block;font-size:11px;color:#76816d}.stat-card strong{display:block;font-size:33px;line-height:1.2;letter-spacing:-1px;margin:9px 0 6px;font-weight:600}.stat-card small{display:block;font-size:9px;color:#99a08e}.stat-mark{position:absolute;right:18px;top:18px;display:grid;place-items:center;background:#f2f5e9;border-radius:7px;color:#87a75a;width:26px;height:26px;font-size:15px}.stat-highlight{background:#eef4e3;border-color:#dfebce}.stat-highlight .stat-mark{background:#ddecbb;color:#617d3d}.orders-panel{border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 23px 19px}.panel-heading h2{font-size:15px;display:flex;align-items:center;gap:8px}.panel-heading p{font-size:10px;margin:0;color:#949d90}.count-chip{font-size:10px;font-weight:400;background:#eef3e5;color:#788a60;padding:2px 7px;border-radius:5px}.filters{display:flex;gap:10px;flex-wrap:wrap;padding:0 23px 20px}.filters>select{width:auto;min-width:145px;max-width:200px;font-size:10px;min-height:39px;padding:9px 28px 9px 11px;color:#6d7b67}.filters>.button{font-size:10px;min-height:39px;padding:9px 14px}.search-field{position:relative;flex:1;min-width:210px}.search-field svg{position:absolute;width:15px;height:15px;left:12px;top:12px;color:#97a18f}.search-field input{padding:10px 12px 10px 35px;font-size:10px;min-height:39px;background:#fafbf7}.date-filters{display:flex;flex-basis:100%;align-items:flex-end;gap:14px;padding:5px 0}.date-filters label{margin:0}.date-filters input{margin-top:5px;font-size:12px}.table-wrap{overflow-x:auto}.orders-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.orders-table th{font-size:9px;font-weight:500;letter-spacing:.3px;color:#8b9683;background:#fbfcf8;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 16px}.orders-table th:first-child,.orders-table td:first-child{padding-left:23px}.orders-table th:last-child,.orders-table td:last-child{padding-right:23px}.orders-table td{padding:19px 16px;border-bottom:1px solid #edf0e8;font-size:11px}.orders-table tbody tr:last-child td{border-bottom:0}.orders-table tbody tr:hover{background:#fcfdf9}.order-link{border:0;padding:0;background:none;text-align:left;color:var(--ink);font-size:11px;font-weight:700;display:block;white-space:normal;max-width:230px;overflow-wrap:anywhere}.order-link:hover{text-decoration:underline}.cell-sub{display:block;font-size:9px;color:#919b88;margin-top:4px}.order-id{font-size:9px;font-weight:400;color:#819077;display:block;margin-bottom:4px}.delivery-cell{font-size:10px}.amount{text-align:right;font-weight:600;letter-spacing:-.15px}.row-open{border:0;background:none;color:#929f83;font-size:19px;padding:4px 6px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:500;padding:4px 8px;border-radius:5px;line-height:1.4;white-space:nowrap;background:#f1f3ee;color:#768271}.badge::before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.badge-to_prepare{background:#f8f1dd;color:#a88a3a}.badge-preparing{background:#eaf0f7;color:#5b7c9a}.badge-ready{background:#eaf3dc;color:#6d8e44}.badge-delivered,.badge-paid{background:#e9f1e6;color:#58844b}.badge-cancelled{background:#f9eae6;color:#aa675c}.badge-pending_collection{background:#f6f0e2;color:#ad914f}.badge-awaiting_proof,.badge-review_required{background:#f7ece4;color:#b0845a}.pagination{display:flex;align-items:center;justify-content:space-between;padding:17px 23px;border-top:1px solid var(--line);font-size:9px;color:#95a08b}.pagination>div{display:flex;align-items:center;gap:13px}.pagination .button{min-height:28px;padding:4px 9px;color:#879879}.subtle-note{font-size:9px;color:#97a28b;padding:16px 4px}.subtle-note>span{margin-right:5px;color:#a7b98e}.main-footer{display:flex;justify-content:space-between;align-items:center;color:#b1baa6;padding:25px 0 22px;font-size:9px}.main-footer>span:first-child{font-weight:700;font-size:14px;letter-spacing:-.5px}.notice{border:1px solid #d8e4c9;border-radius:9px;padding:12px 14px;background:#f2f7e8;color:#546f3e;font-size:12px;margin-bottom:18px;overflow-wrap:anywhere}.notice.error{border-color:#edcfc6;background:#fff4ef;color:#974f3e}.notice.warning{border-color:#eadab8;background:#fff8e8;color:#87672c}.panel-notice{margin:8px 23px 20px}.loading-state{display:flex;align-items:center;justify-content:center;gap:10px;padding:55px 20px;color:#829475;font-size:12px}.loader{display:inline-block;width:18px;height:18px;border:2px solid #d9e5c8;border-top-color:var(--green);border-radius:50%;animation:rotate 1s linear infinite;flex-shrink:0}@keyframes rotate{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:60px 24px 66px;border-top:1px solid var(--line)}.empty-icon{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 20px;background:#f0f5e5;color:#a0b773;border-radius:16px;font-size:27px}.empty-state h3{margin-bottom:8px;font-weight:600}.empty-state p{max-width:360px;margin:0 auto 20px;font-size:12px;color:#8c9982}.boot-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:12px;color:#789066}.login-view{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.login-story{background:var(--green);color:#eff4e9;padding:60px 10%;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh}.login-story .brand{color:white}.login-story .brand svg path:first-child{stroke:var(--lime);fill:var(--lime)}.login-story .brand svg path:last-child{stroke:var(--green)}.login-story .eyebrow{color:var(--lime);margin-bottom:20px}.login-story h1{font-size:clamp(40px,4.5vw,70px);letter-spacing:-2.7px;font-weight:500;line-height:1.08;margin-bottom:26px}.login-story p:not(.eyebrow){color:#bdcfc0;line-height:1.8;font-size:13px}.login-story .login-footer{font-size:10px!important;margin:0;letter-spacing:.4px}.login-main{display:grid;place-items:center;padding:55px 45px;background:var(--paper)}.login-form{width:100%;max-width:350px}.login-form .eyebrow{color:#869a6b;margin-top:25px}.login-form h2{font-size:30px;letter-spacing:-1px;margin-bottom:9px}.login-form .muted{font-size:12px;margin-bottom:31px}.login-form label{margin-top:19px}.login-form .button{margin-top:24px;justify-content:space-between}.login-note{color:#9ba68d;font-size:10px;text-align:center;margin:20px 0}.mini-leaf{width:44px;height:44px;border-radius:14px;background:#e6efd5;color:#6f8d49;font-size:24px;display:grid;place-items:center}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--green);color:#fff;border-radius:10px;padding:13px 20px;box-shadow:0 7px 25px #17392e33;z-index:20;font-size:12px;max-width:min(90vw,600px);overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;max-width:1000px}.settings-card{background:white;border:1px solid var(--line);padding:28px;border-radius:13px;align-self:start}.settings-card h2{margin-bottom:24px}.settings-card .button{margin-top:24px}.small-copy{font-size:11px;line-height:1.75}.facts{margin:0;display:grid;gap:16px}.facts>div{min-width:0}.facts dt{color:#8a987f;font-size:10px;margin-bottom:3px}.facts dd{margin:0;font-size:12px;overflow-wrap:anywhere}.settings-card .small-copy{margin-top:30px;margin-bottom:0}.settings-card small{display:block;margin-top:7px}dialog{padding:0;border:1px solid var(--line);border-radius:15px;color:var(--ink);background:#fff;box-shadow:0 30px 100px #102b2e44;max-height:92dvh;width:calc(100% - 32px);max-width:730px}dialog::backdrop{background:#142e2566;backdrop-filter:blur(3px)}.dialog-header{position:sticky;z-index:3;top:0;background:#fff;padding:24px 29px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-header .eyebrow{font-size:9px;color:#93a27e;margin-bottom:6px}.dialog-header h2{font-size:24px;letter-spacing:-.7px;margin:0;overflow-wrap:anywhere}.dialog-body{padding:26px 29px}.order-dialog{max-width:740px}.detail-statuses{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:24px}.detail-statuses .badge{font-size:11px;padding:6px 10px}.detail-time{font-size:10px;color:#94a286;margin-left:auto}.detail-section{padding:23px 0;border-top:1px solid var(--line)}.detail-section h3{font-size:13px;margin-bottom:18px}.detail-facts{grid-template-columns:1fr 1fr;gap:18px 30px}.wide{grid-column:1/-1}.line-items{padding:0;margin:0;list-style:none}.line-items li{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #f1f3ec;font-size:12px}.line-items li:last-child{border-bottom:0}.line-items li>div{min-width:0;overflow-wrap:anywhere}.line-items small{display:block;color:#9aa58d;font-size:10px;margin-top:3px}.line-items strong{white-space:nowrap;font-size:12px;font-weight:600}.total-line{display:flex;align-items:center;justify-content:space-between;background:#f2f6e9;padding:15px;border-radius:8px;font-size:12px;margin-top:16px}.total-line strong{font-size:20px;letter-spacing:-.5px}.detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.detail-section form label:first-child{margin-top:0}.detail-section form .button{margin-top:12px}.detail-section textarea{font-size:12px}.field-hint{font-size:10px;line-height:1.6;color:#93a182;margin-top:8px;margin-bottom:16px}.timeline{list-style:none;padding:0;margin:0}.timeline li{position:relative;padding:0 0 22px 24px;border-left:1px solid #e1e8d7;margin-left:4px}.timeline li:last-child{padding-bottom:0;border-color:transparent}.timeline li::before{content:"";position:absolute;top:4px;left:-4px;width:7px;height:7px;border-radius:50%;background:#b2c88e;box-shadow:0 0 0 4px white}.timeline strong{font-size:11px;font-weight:600;display:block}.timeline p{font-size:11px;margin:4px 0;color:#718265;white-space:pre-wrap;overflow-wrap:anywhere}.timeline small{font-size:9px;color:#9aa68e}.cash-box{background:#f8faf3;border:1px solid #e3ead7;padding:17px;border-radius:10px;margin-top:18px}.cash-box label{font-size:11px}.cash-box .field-hint{margin-bottom:12px}.cash-confirmation{display:flex;align-items:center;gap:8px;font-weight:400;line-height:1.4}.cash-confirmation input{width:17px;min-height:17px;height:17px;accent-color:var(--green);flex-shrink:0}.form-section{padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:25px}.form-section h3{display:flex;align-items:center;gap:10px;font-size:14px}.form-section h3>span{height:24px;width:24px;display:grid;place-items:center;border-radius:50%;font-size:10px;background:#edf3e2;color:#91a66d}.product-add{display:flex;gap:10px;align-items:flex-end}.product-add>div{flex:1;min-width:0}.product-add label{font-size:11px}.product-add select{font-size:12px}.cart-items{margin-top:17px}.cart-row{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #eef1e8}.cart-row>div{flex:1;min-width:0}.cart-row strong{font-size:12px;font-weight:600;display:block;overflow-wrap:anywhere}.cart-row small{color:#95a087;display:block;font-size:9px;margin-top:3px}.cart-row label{font-size:9px;margin:0 0 4px;font-weight:400;color:#8a997d}.cart-row .quantity-cell{flex:0 0 95px}.cart-row input{font-size:12px;padding:8px;min-height:36px;width:95px}.cart-row>.icon-button{width:30px;height:30px;font-size:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.quote-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#f1f6e7;border:1px solid #e3edcf;border-radius:10px;padding:18px}.quote-bar span{display:block;font-size:10px;color:#7d9162}.quote-bar strong{display:block;font-size:27px;margin:3px 0}.quote-bar small{font-size:10px;max-width:320px;display:block;color:#8a9c73}.review-intro{text-align:center;margin:7px 0 28px}.review-icon{display:grid;place-items:center;background:#e8f1d9;color:#88a35e;border-radius:50%;height:43px;width:43px;margin:0 auto 16px;font-size:21px}.review-intro h3{font-size:22px;margin-bottom:8px}.review-intro p{font-size:12px}.review-content .facts{margin-bottom:24px}.review-payment{margin:20px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}.cancel-confirm{padding:15px;margin-top:15px;background:#fff7f3;border:1px solid #eedacf;border-radius:9px;font-size:12px}.cancel-confirm p{margin-bottom:12px}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.section-label{display:block;font-size:10px;color:#94a288;margin-bottom:5px}.detail-notes{font-size:12px;line-height:1.6}
@media(min-width:1600px){.main-content{padding:0 65px}.stats{gap:23px}.stat-card{padding:24px;min-height:146px}.orders-table td{padding-top:23px;padding-bottom:23px}}
@media(max-width:1180px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:28px 16px}.brand{font-size:24px}.brand svg{width:27px}.sidebar-caption{margin-left:37px;font-size:7px}.main-content{padding:0 25px}.stats{gap:12px}.stat-card{padding:17px 14px}.stat-card>span:first-child{font-size:10px;padding-right:20px}.stat-mark{right:12px;width:22px;height:22px}.orders-table td,.orders-table th{padding-left:11px;padding-right:11px}.filters>select{max-width:none;flex:1}.filters>.search-field{flex-basis:100%}.settings-grid{grid-template-columns:1fr}.topbar{height:72px}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;height:auto;padding:20px 23px 0;border-right:0;border-bottom:1px solid var(--line);gap:20px}.sidebar>.brand{grid-column:1}.sidebar-caption,.private-label,.account,.nav-count{display:none}.sidebar-bottom{padding:0;margin:0;grid-column:2;grid-row:1}.logout-button{font-size:10px;gap:10px}.navigation{flex-direction:row;grid-column:1/-1;grid-row:2;gap:12px}.nav-button{border-radius:8px 8px 0 0;justify-content:center;min-height:43px;padding:10px 17px;font-size:11px}.nav-button svg{width:17px;height:17px}.main-content{padding:0 23px}.topbar{margin-bottom:26px;height:57px}.page-heading h1{font-size:34px}.stats{margin-bottom:23px}.stat-card{min-height:120px}.stat-card strong{font-size:28px}.stat-mark{display:none}.table-wrap{overflow:visible}.orders-table,.orders-table tbody{display:block;white-space:normal}.orders-table thead{display:none}.orders-table tbody{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:0 20px 20px}.orders-table tr{display:grid;grid-template-columns:1fr 1fr;gap:14px 8px;border:1px solid var(--line);border-radius:10px;padding:17px;position:relative}.orders-table td,.orders-table td:first-child,.orders-table td:last-child{padding:0;border:0}.orders-table td:first-child{grid-column:1/-1;padding-bottom:12px;border-bottom:1px solid #edf0e5}.orders-table td:nth-child(2){grid-column:1/-1}.orders-table td:nth-child(3)::before,.orders-table td:nth-child(4)::before{content:"Preparación";display:block;font-size:9px;color:#9ba68c;margin-bottom:6px}.orders-table td:nth-child(4)::before{content:"Pago"}.orders-table td.amount{grid-column:1/-1;padding-top:12px;border-top:1px solid #edf0e5;text-align:left;font-size:15px}.orders-table td:last-child{position:absolute;bottom:12px;right:15px}.order-link{font-size:13px;max-width:none}.order-id{font-size:9px}.cell-sub{font-size:10px}.delivery-cell{font-size:11px}.badge{font-size:8px;padding:4px 6px}.settings-grid{grid-template-columns:1fr 1fr;gap:18px}.settings-card{padding:22px}.login-story{padding:40px 13%;}.login-main{padding:40px 28px}.login-story h1{font-size:42px}.login-story p:not(.eyebrow){font-size:12px}}
@media(max-width:590px){.sidebar{padding:20px 18px 0;gap:17px}.brand{font-size:25px}.navigation{gap:3px;justify-content:space-between}.nav-button{gap:7px;padding:10px 12px;flex:1;font-size:10px}.nav-button svg{width:16px;height:16px}.main-content{padding:0 18px}.topbar{font-size:9px;gap:10px;margin-bottom:26px}.admin-chip{font-size:8px;padding:4px 6px}.topbar-date{font-size:8px}.page-heading{align-items:flex-start;margin-bottom:23px;gap:10px}.page-heading h1{font-size:30px;margin-bottom:9px}.eyebrow{font-size:8px;letter-spacing:1.4px}.page-heading .muted{font-size:10px;max-width:185px;line-height:1.6}.page-heading>.button{font-size:10px;padding:9px 10px;min-height:39px;margin-top:23px;gap:4px}.page-heading>.button>span{font-size:16px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:15px 16px;min-height:116px}.stat-card>span:first-child{padding:0;font-size:10px}.stat-card strong{font-size:29px;margin:8px 0 4px}.stat-card small{font-size:8px}.orders-panel{border-radius:12px}.panel-heading{padding:20px 15px 17px;align-items:flex-start}.panel-heading h2{font-size:13px;gap:6px}.panel-heading p{font-size:9px;max-width:155px;line-height:1.6}.panel-heading>.button{font-size:9px;padding:7px 9px;min-height:33px;gap:5px}.panel-heading>.button svg{width:14px;height:14px}.filters{padding:0 15px 17px;gap:8px}.filters>select{font-size:9px;min-width:0;flex-basis:calc(50% - 4px);padding-left:9px}.filters>.button{flex-basis:100%;min-height:32px;font-size:9px}.date-filters{flex-wrap:wrap;gap:9px}.date-filters label{font-size:10px;width:calc(50% - 5px)}.date-filters input{font-size:10px;padding:8px}.date-filters>.button{width:100%;min-height:30px;font-size:9px}.orders-table tbody{grid-template-columns:1fr;gap:12px;padding:0 14px 15px}.orders-table tr{padding:17px}.badge{font-size:9px;padding:5px 8px}.pagination{padding:15px;font-size:8px}.pagination>div{gap:8px}.subtle-note{font-size:9px;line-height:1.7;padding:13px 1px}.main-footer{font-size:8px;padding-top:15px}.main-footer>span:first-child{font-size:13px}.empty-state{padding:37px 17px}.empty-state h3{font-size:14px}.empty-state p{font-size:11px}.settings-grid{grid-template-columns:1fr}.settings-card{padding:22px}.login-view{grid-template-columns:1fr}.login-story{min-height:0;height:90px;padding:26px 28px}.login-story>div,.login-story .login-footer{display:none}.login-main{padding:40px 25px;place-items:start center;min-height:calc(100dvh - 90px)}.login-form h2{font-size:28px}.login-form .mini-leaf{display:none}.login-form .eyebrow{margin-top:10px}dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:13px}.dialog-header{padding:20px 20px 17px}.dialog-header h2{font-size:21px}.dialog-header .eyebrow{font-size:8px}.dialog-body{padding:20px}.detail-time{flex-basis:100%;margin-left:0;font-size:9px}.detail-facts{gap:17px}.facts dd{font-size:11px}.detail-statuses{margin-bottom:18px;gap:7px}.detail-statuses .badge{font-size:10px}.detail-section{padding:20px 0}.detail-actions>.button{flex:1;font-size:10px;padding:10px}.form-grid{grid-template-columns:1fr;gap:0}.form-section{padding-bottom:22px;margin-bottom:22px}.product-add{flex-wrap:wrap}.product-add>div{flex-basis:100%}.product-add>.button{width:100%;min-height:36px}.cart-row{gap:9px}.cart-row strong{font-size:11px}.cart-row .quantity-cell{flex-basis:72px}.cart-row input{width:72px}.cart-row>.icon-button{width:26px;height:26px;font-size:18px}.quote-bar{align-items:stretch;flex-direction:column;padding:16px;gap:14px}.quote-bar strong{font-size:25px}.quote-bar>.button{width:100%}.review-intro h3{font-size:19px}.review-intro p{font-size:11px}.dialog-actions{flex-direction:column-reverse;gap:9px}.detail-section .notice{font-size:11px}.toast{bottom:14px;font-size:11px;width:max-content}.panel-notice{margin:4px 15px 17px}.detail-notes{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


.integration-note{border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.integration-note h3{font-size:13px;margin-bottom:12px}.integration-note .small-copy{margin-top:12px}


.product-admin-list{display:grid;gap:12px;margin-top:24px}.product-admin-row{display:flex;justify-content:space-between;align-items:center;gap:16px;background:white;border:1px solid #dde5dc;border-radius:14px;padding:18px}.product-admin-row p{margin:6px 0;color:#526457;font-size:14px}#product-form{display:grid;gap:12px}#product-form input[type=checkbox]{width:auto;margin-right:8px}#product-form input[readonly]{background:#eef1ed;color:#667165}@media(max-width:600px){.product-admin-row{align-items:flex-start}.product-admin-row p{overflow-wrap:anywhere}}

/* Live notices, selection and batch catalog import. */
.notification-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-12px 0 24px;color:#61745c;font-size:11px}.notification-controls label,.selection-toolbar label,.order-selection{display:flex;align-items:center;gap:7px;margin:0;font-weight:400}.notification-controls input,.selection-toolbar input,.order-selection input{width:16px;height:16px;min-height:16px;padding:0;accent-color:var(--green)}.notification-center{border:1px solid #dbe8ca;border-radius:11px;background:#f0f6e6;padding:14px 18px;margin-bottom:20px;font-size:12px}.notification-center>div{display:flex;justify-content:space-between;align-items:center}.notification-center ul{list-style:none;padding:0;margin:5px 0;max-height:150px;overflow:auto}.notification-link{border:0;background:none;color:var(--green);font-size:12px;text-align:left;padding:7px 0}.notification-link:hover{text-decoration:underline}.selection-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0 23px 18px;font-size:10px}.selection-toolbar select{width:auto;font-size:10px;min-height:34px;padding:7px 25px 7px 9px;margin-left:auto}.selection-toolbar .button{min-height:34px}.order-selection{font-size:9px;color:#718265;margin-bottom:10px}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.badge-awaiting_payment,.badge-pending_payment{background:#fbefdc;color:#947038}#import-dialog{max-width:1000px}#import-dialog .dialog-body>p{font-size:12px;line-height:1.7}#import-file{margin-bottom:16px}#import-message{margin-top:15px}#import-preview{margin-top:25px}#import-summary{font-size:12px}.import-table-wrap{max-height:380px;overflow:auto;margin:18px 0;border:1px solid var(--line);border-radius:8px}.import-table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}.import-table th{position:sticky;top:0;background:#eef3e7;padding:12px}.import-table td{padding:12px;border-top:1px solid var(--line);vertical-align:top;max-width:430px;overflow-wrap:anywhere;white-space:pre-wrap}.import-invalid{background:#fff1ea;color:#8e4232}#print-region{display:none}
@media(max-width:850px){.notification-controls{margin-top:0}.selection-toolbar select{margin-left:0}.heading-actions{justify-content:flex-end}.heading-actions .button{font-size:10px}.order-selection{position:absolute;right:17px;top:17px;font-size:0}.orders-table td:first-child{padding-right:27px}.selection-toolbar{padding-left:15px;padding-right:15px}}
@media(max-width:590px){.notification-controls{align-items:flex-start;flex-direction:column;gap:9px;font-size:10px}.selection-toolbar{gap:8px}.selection-toolbar select{flex:1;min-width:0}.selection-toolbar>label:first-child{flex-basis:100%}.selection-toolbar #print-selected{font-size:10px}.heading-actions{flex-direction:column}.import-table{font-size:10px}.import-table th,.import-table td{padding:8px}.import-table td:nth-child(3){min-width:125px}}
@page receipt-a4{size:A4;margin:12mm}
@page receipt-ticket{size:80mm 297mm;margin:4mm}
@media print{
 body.printing{background:#fff;color:#000;margin:0;font-family:Arial,Helvetica,sans-serif}
 body.printing> :not(#print-region){display:none!important}
 body.printing #print-region{display:block!important}
 .print-a4 .print-order{page:receipt-a4;width:100%;font-size:12pt}
 .print-ticket .print-order{page:receipt-ticket;width:72mm;max-width:72mm;font-size:10pt}
 .print-order{break-after:page;overflow-wrap:anywhere;color:#000}
 .print-order:last-child{break-after:auto}
 .print-order header{border-bottom:2px solid #000;padding-bottom:8px}
 .print-order header>strong{font-size:18pt}.print-order h1{font-size:19pt;margin:8px 0}.print-ticket .print-order h1{font-size:15pt}
 .print-order p{margin:7px 0}.print-status{padding:10px 0;font-weight:bold;border-bottom:1px solid #777}
 .print-order dl{margin:15px 0}.print-order dt{font-weight:bold;font-size:.8em;margin-top:9px}.print-order dd{margin:3px 0;white-space:pre-wrap}
 .print-order table{width:100%;border-collapse:collapse}.print-order thead{display:table-header-group}.print-order th{text-align:left;border-bottom:1px solid #000;padding:6px 0}.print-order td{padding:9px 0;border-bottom:1px dotted #888;vertical-align:top}.print-order tr{break-inside:avoid}.print-order td:last-child,.print-order th:last-child{text-align:right;padding-left:8px;white-space:nowrap}.print-order td small{display:block;font-size:.85em;margin-top:3px}
 .print-total{display:flex;justify-content:space-between;font-size:1.2em;font-weight:bold;padding:10px 0}.print-order h2{font-size:1em;margin:13px 0 6px}.print-notes{white-space:pre-wrap}.print-order footer{border-top:1px solid #999;margin-top:18px;padding-top:8px;font-size:8pt;color:#333}
}

/* Gestión de accesos: mismas tarjetas y colores que el resto del panel. */
.users-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin:24px 0}.user-card{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.user-card .badge{display:inline-block;margin:4px 0 12px}.user-card h2{font-size:20px}.user-card .button{align-self:flex-start}.user-audit{margin:24px 0}.user-audit summary{cursor:pointer;font-weight:700}.user-audit .timeline{margin-top:24px}.permissions-fieldset{border:0;padding:0;margin:24px 0}.permissions-fieldset legend{font-size:17px;font-weight:700;margin-bottom:12px}.permissions-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.permission-choice{display:flex;gap:12px;padding:14px;margin:0;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-weight:400;background:#fafbf7}.permission-choice input,.user-active-label input{width:18px;height:18px;min-height:18px;padding:0;flex-shrink:0;accent-color:var(--green)}.permission-choice input{margin-top:3px}.permission-choice small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.permission-choice strong{font-size:13px}.user-active-label{display:flex;align-items:center;gap:10px}input:disabled,textarea:disabled{background:#f2f3ef;color:#697268}@media(max-width:650px){.permissions-grid{grid-template-columns:1fr}.user-card{padding:18px}}
