:root{--astro-blue:#0510a0;--astro-navy:#061457;--astro-purple:#b15de2;--astro-cyan:#00dcde;--astro-ink:#111d4a;--astro-light:#f4f6fc;--astro-border:#e4e8f5;--astro-muted:#73809a;--astro-shadow:0 10px 32px rgba(25,38,94,.055)}
.astro-standalone{margin:0!important;background:var(--astro-light);font-family:Inter,'Segoe UI',Arial,sans-serif!important;color:var(--astro-ink);font-size:14px}.astro-standalone *, .astro-app *, .astro-login-screen *{box-sizing:border-box}.astro-app{display:flex;min-height:100vh;width:100%;background:#f6f8fd;color:var(--astro-ink);font-family:Inter,'Segoe UI',Arial,sans-serif;line-height:1.5}.astro-app input,.astro-app textarea,.astro-app select,.astro-app button{font:inherit;line-height:1.4}.astro-app button{cursor:pointer}.astro-app button:disabled{opacity:.5;cursor:not-allowed}.astro-app h1,.astro-app h2,.astro-app h3,.astro-app h4{color:#0a1852;line-height:1.2;margin:0;font-weight:750}.astro-app p{margin:0 0 10px}.astro-app a{color:var(--astro-blue);text-decoration:none}.astro-app .muted{color:var(--astro-muted)}.astro-app .tiny{font-size:11.8px}.astro-sidebar{width:213px;flex:none;min-height:100vh;position:sticky;top:0;height:100vh;background:linear-gradient(170deg,#031056 0%,#050d4d 60%,#121185 100%);padding:22px 13px;display:flex;flex-direction:column;z-index:40}.astro-brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:32px;min-height:132px}.astro-brand img{width:139px;max-height:121px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.08))}.astro-brand span{font-size:10px;color:#95e9ff;font-weight:800;letter-spacing:.27em}.astro-nav{display:flex;flex-direction:column;gap:6px}.astro-nav button{display:flex;align-items:center;gap:14px;background:transparent;border:0;color:#e2eafd;border-radius:10px;text-align:left;padding:12px 14px;font-weight:600;min-height:46px;font-size:13.5px;transition:background .15s,transform .15s}.astro-nav button span{width:18px;text-align:center;font-size:22px;line-height:1}.astro-nav button:hover{background:#172a89}.astro-nav button.selected{background:linear-gradient(100deg,#9146df,#007fec);color:white;box-shadow:0 7px 18px #030b4e42}.astro-side-footer{margin-top:auto;border-top:1px solid #ffffff22;padding:22px 7px 5px;color:#b3c7f1;display:flex;flex-direction:column;gap:5px}.astro-side-footer strong{font-size:10px;letter-spacing:.08em;color:#dffaff}.astro-workspace{flex:1;min-width:0}.astro-topbar{height:73px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border-bottom:1px solid var(--astro-border);padding:0 26px;position:sticky;top:0;z-index:20}.astro-top-left,.astro-top-right{display:flex;align-items:center;gap:15px}.astro-greeting{display:flex;flex-direction:column;gap:1px}.astro-greeting strong{font-size:15px;color:#06115f}.astro-greeting span{color:#8a96ad;font-size:11px}.astro-live,.astro-fx{white-space:nowrap;display:inline-flex;align-items:center;gap:7px;border:1px solid #edf0fa;background:#f8f9fd;padding:8px 10px;border-radius:10px;font-size:11.5px;color:#263d79;font-weight:650}.astro-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#0dc990;box-shadow:0 0 0 3px #0dc99018}.astro-icon-btn{border:0;background:transparent;display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:10px;position:relative;font-size:20px;color:#0510a0!important}.astro-icon-btn:hover{background:#edf0ff}.astro-icon-btn b{position:absolute;top:-4px;right:-4px;background:#aa42d8;color:white;font-size:10px;border-radius:12px;min-width:16px;text-align:center;padding:0 3px}.astro-content{max-width:1680px;margin:auto;padding:25px 26px 85px}.page-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:21px}.page-heading h1{font-size:26px;margin:3px 0 5px}.page-heading p{color:var(--astro-muted);font-size:12px;margin:0}.eyebrow{font-size:10px;color:#8a64ce;font-weight:850;letter-spacing:.14em}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-align:center;border:1px solid transparent;border-radius:10px;min-height:41px;padding:9px 14px;font-weight:700!important;font-size:12.5px!important;text-decoration:none!important;white-space:normal;color:#fff;transition:filter .16s}.btn:hover{filter:brightness(.97)}.btn.primary{background:linear-gradient(105deg,#9141e3,#066ce9);color:#fff!important;box-shadow:0 6px 13px rgba(57,53,189,.12)}.btn.cyan{background:#00dde8;color:#07104d!important}.btn.outline{border-color:#dce1f0;background:#fff;color:#243a8b!important}.btn.ghost{color:#3247aa;background:#f4f5fd}.btn.danger{color:#a42c54!important;border-color:#f0dae2}.btn.xs{font-size:11px!important;min-height:28px;padding:5px 10px;border-radius:8px}.astro-hero{background:radial-gradient(circle at 80% 10%,#672ac4,transparent 47%),linear-gradient(120deg,#04135a,#10178a 75%);color:white;display:flex;justify-content:space-between;align-items:center;border-radius:18px;padding:25px 30px;min-height:198px;overflow:hidden;margin-bottom:15px;position:relative}.astro-hero>div{z-index:1;max-width:550px}.hero-tag{display:inline-block;letter-spacing:.14em;font-size:10px;font-weight:700;color:#5cfbfc;margin-bottom:8px}.astro-hero h2{color:#fff;font-size:25px;margin-bottom:8px}.astro-hero p{color:#e0e6ff;font-size:12.5px;max-width:470px}.astro-hero img{position:absolute;right:6%;top:8%;height:173px;width:160px;object-fit:contain;background:#ffffffed;border-radius:50%;padding:15px;opacity:.97}.astro-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.astro-stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}.astro-stat{background:#fff;border:1px solid #e6eaf5;border-radius:15px;padding:18px 19px;box-shadow:var(--astro-shadow);display:flex;flex-direction:column;gap:7px;border-top:3px solid #244bde;min-width:0}.astro-stat.purple{border-top-color:#b15de2}.astro-stat.cyan{border-top-color:#00cad8}.astro-stat.green{border-top-color:#13b986}.stat-kicker{font-size:12px;color:#65728c;font-weight:600}.astro-stat strong{font-size:23px;color:#04146a;line-height:1.2;overflow-wrap:anywhere;font-weight:800}.astro-stat small{font-size:11px;color:#8b97ac}.astro-panel{background:#fff;border:1px solid var(--astro-border);border-radius:16px;padding:19px 19px 21px;margin-bottom:15px;box-shadow:var(--astro-shadow);min-width:0}.astro-panel h3{font-size:15px;margin-bottom:12px}.astro-two-col{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;flex-wrap:wrap}.panel-heading h3{margin:0}.machine-line{display:flex;align-items:center;gap:13px;border-bottom:1px solid #eef1f9;padding:11px 0}.machine-line:last-of-type{border-bottom:0}.machine-dot{flex:none;width:12px;height:12px;border-radius:50%}.machine-dot.inline{display:inline-block;margin-right:8px;vertical-align:middle}.machine-info{display:flex;flex-direction:column;flex:1}.machine-info b{font-size:12px}.machine-info small,.machine-date{color:#818eaa;font-size:10.5px}.machine-date{text-align:right}.notice-row{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid #eff1fa}.notice-row:last-child{border:0}.notice-bullet{width:8px;height:8px;border-radius:50%;background:#a85de1;margin-top:5px;flex:none}.notice-row div{display:flex;flex-direction:column;gap:3px}.notice-row b{font-size:11.5px;color:#142265}.notice-row small{font-size:10.8px;color:#7d8ca6}.small-info{font-size:10.5px;color:#9ca4bb;padding-top:10px}.table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.astro-table{width:100%;border-collapse:collapse;text-align:left;font-size:11.5px;min-width:730px}.astro-table thead{background:#f2f5fb;color:#657496}.astro-table th{white-space:nowrap;font-weight:750;font-size:11px;padding:12px 11px}.astro-table th:first-child{border-radius:9px 0 0 9px}.astro-table th:last-child{border-radius:0 9px 9px 0}.astro-table td{padding:13px 11px;border-bottom:1px solid #eef1f9;color:#2f395d;white-space:nowrap}.astro-table tr:last-child td{border-bottom:0}.order-customer{display:flex;align-items:center;gap:9px}.order-customer span:not(.product-thumb){display:flex;flex-direction:column;gap:2px}.order-customer small{font-size:10px;color:#8190a9;max-width:250px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.product-thumb{width:37px;height:37px;object-fit:cover;border-radius:8px;flex:none}.product-thumb.fallback{display:inline-flex;align-items:center;justify-content:center;background:#e9e5fc;color:#7046bd;font-size:19px}.link-button{color:#193aa8!important;font-weight:750;background:transparent;border:0;padding:0}.astro-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:10px;font-weight:750;white-space:nowrap}.astro-pill.info{background:#e0f6ff;color:#0082b9}.astro-pill.purple{background:#efe3fd;color:#7c40c4}.astro-pill.green{background:#d5f7e7;color:#098454}.astro-pill.muted{background:#edf0f4;color:#78859b}.astro-pill.red{background:#ffecf0;color:#b23456}.search-row{display:flex;align-items:center;gap:14px;margin:0 0 18px}.search-row input{flex:1;max-width:570px}.astro-app input:not([type=checkbox]):not([type=file]),.astro-app select,.astro-app textarea{appearance:auto;width:100%;border:1px solid #dce2f1;border-radius:9px;padding:10px 12px;background:#fff;color:#152452!important;min-height:41px;font-size:13px;box-shadow:none;outline:none}.astro-app input:focus,.astro-app select:focus,.astro-app textarea:focus{border-color:#7467dc;box-shadow:0 0 0 3px #7044da1f}.astro-app input::placeholder{color:#a3adc0}.astro-app input[type=checkbox]{accent-color:#7550d6;width:17px;height:17px;vertical-align:middle}.astro-planner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.printer-panel{border-top:4px solid var(--printer-color)}.printer-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.printer-icon{width:35px;height:35px;border-radius:9px;color:white;background:var(--printer-color);display:grid;place-items:center;font-size:20px}.printer-heading h3{font-size:14px;margin:0}.printer-heading small{display:block;color:#8a97af;font-size:10px;margin-top:4px}.printer-heading strong{margin-left:auto;font-size:13px;color:var(--printer-color)}.printer-free{margin:15px 0;background:#f5f6fc;padding:9px;border-radius:8px;font-size:10.5px;color:#69768d}.printer-free b{color:#233276}.planner-task{display:flex;width:100%;background:linear-gradient(90deg,#f5f5fc,#f9fafe);border:1px solid #e8eaf5;border-left:3px solid var(--printer-color);text-align:left;border-radius:10px;margin-bottom:9px;padding:11px 10px;gap:10px}.planner-task:hover{background:#f1f0fe}.task-index{font-size:10px;background:var(--printer-color);color:#fff;border-radius:50%;min-width:20px;height:20px;display:grid;place-items:center}.task-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.task-body b{font-size:10.9px;color:#26316e}.task-body small{font-size:10px;color:#7e8ca4;overflow-wrap:anywhere}.task-progress,.progress-line{display:block;height:7px;width:100%;background:#dfe6f8;overflow:hidden;border-radius:99px}.task-progress i{display:block;height:100%;background:var(--printer-color);border-radius:99px}.astro-empty-mini{color:#8895ac;font-size:12px;text-align:center;padding:30px 12px}.trash-row,.expense-card{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #eceffa}.trash-row>div,.expense-card>div{display:flex;flex-direction:column;flex:1}.trash-row small,.expense-card small{font-size:11px;color:#7d8ca6;margin-top:4px}.expense-card strong{font-size:13px;color:#10206a}.astro-tabbar{display:flex;gap:7px;overflow-x:auto;padding-bottom:12px;margin-bottom:8px}.astro-tabbar button{border:1px solid #dee3f1;background:white;border-radius:10px;padding:9px 12px;font-size:12px;white-space:nowrap;color:#455279}.astro-tabbar button.active{background:#111da5;color:#fff;border-color:#111da5}.balance-row{display:flex;justify-content:space-between;gap:14px;padding:12px 5px;border-bottom:1px solid #f0f1f9}.balance-row strong{font-size:13px;color:#172a79;text-align:right}.astro-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 15px}.form-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#54627c;font-size:11.5px;font-weight:650}.form-field span,.form-field>label{color:#425273;font-size:11.5px;font-weight:650}.form-field.full,.astro-form-grid .full{grid-column:1/-1}.form-field textarea{resize:vertical;min-height:75px}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0}.corporate-identity{display:flex;align-items:center;gap:16px}.corporate-identity img{max-width:70px}.corporate-identity div{display:flex;flex-direction:column;gap:5px}.corporate-identity small{color:#8290aa}.astro-loading,.astro-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:250px;color:#697995}.astro-spinner{height:38px;width:38px;border-radius:50%;border:4px solid #dcdcf8;border-top-color:#9a4dcf;animation:astrospin .9s linear infinite}@keyframes astrospin{to{transform:rotate(360deg)}}.astro-toast{position:fixed;bottom:30px;right:30px;background:#14206e;color:#fff;padding:14px 18px;border-radius:13px;z-index:10000;box-shadow:0 15px 35px #11174535;max-width:min(450px,90vw);opacity:0;pointer-events:none;transform:translateY(12px);transition:.2s;font-weight:650}.astro-toast.visible{opacity:1;transform:translateY(0)}.astro-toast.is-error{background:#a32652}.astro-modal-layer{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:18px}.astro-modal-layer[hidden]{display:none!important}.astro-modal-backdrop{position:absolute;inset:0;background:#081440a8;backdrop-filter:blur(3px)}.astro-modal-panel{position:relative;background:#fff;border-radius:17px;max-width:830px;width:100%;max-height:calc(100vh - 36px);overflow-y:auto;box-shadow:0 28px 90px #08123a66;padding:24px 25px;scrollbar-width:thin}.astro-modal-x{position:sticky;top:0;margin:0 0 -26px auto;background:#eef1fa;color:#1a2772;border:0;width:30px;height:30px;border-radius:50%;font-size:22px;display:flex;align-items:center;justify-content:center;z-index:1}.astro-modal-open{overflow:hidden}.detail-top{padding:5px 25px 15px 0;border-bottom:1px solid var(--astro-border);margin-bottom:16px}.detail-top h2{font-size:23px;margin:5px 0}.detail-top p{font-size:12px;color:#74819b}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}.astro-detail-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}.astro-detail-summary .astro-stat{padding:13px}.astro-detail-summary .astro-stat strong{font-size:19px}.astro-detail-section{border-bottom:1px solid #e7eaf3;padding:13px 0 16px;margin-bottom:5px}.astro-detail-section h3{font-size:15px;margin-bottom:13px}.astro-item-detail{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf0f7}.astro-item-detail>div:nth-child(2){flex:1;display:flex;flex-direction:column;gap:5px}.astro-item-detail img{width:70px;height:65px;object-fit:cover;border-radius:9px}.astro-item-detail b{font-size:12px;color:#222e78}.astro-item-detail small{font-size:11px;color:#8792a8}.progress-line{margin:12px 0 7px;height:10px}.progress-line>div{height:100%;background:linear-gradient(100deg,#066fe4,#b15de2)}.astro-order-form .item-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.astro-draft-item{border:1px solid #e5e8f2;background:#fafbff;border-radius:14px;padding:16px;margin:13px 0}.astro-draft-item h4{font-size:13.5px;color:#0c226f}.photo-control{display:flex;gap:10px;align-items:center}.photo-control img{height:61px;width:61px;object-fit:cover;border-radius:8px}.extras-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.extras-row label{font-size:12px;font-weight:600;color:#233260}.item-calculation{color:#637293;font-size:11.2px;margin-top:12px;border-top:1px solid #e5eaf8;padding-top:11px}.astro-order-footer{position:sticky;bottom:-24px;background:white;border-top:1px solid #e6eaf6;padding:12px 0 5px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.astro-order-footer>div:first-child{display:flex;flex-direction:column;gap:4px}.astro-order-footer span{color:#7b88a1;font-size:11px}.astro-order-footer strong{font-size:21px;color:#111fa0}.modal-form{margin-top:16px}.astro-mobile-tabs{display:none}.astro-login-screen{min-height:100vh;background:radial-gradient(circle at 30% 10%,#5532c5 0%,transparent 38%),linear-gradient(135deg,#040e62,#060b3d);display:flex;align-items:center;justify-content:center;padding:20px;font-family:Inter,'Segoe UI',Arial,sans-serif}.astro-login-card{background:white;border-radius:21px;padding:35px;width:100%;max-width:407px;text-align:center;box-shadow:0 20px 75px #02082e88}.astro-login-card img{height:142px;max-width:90%;object-fit:contain;margin:auto}.astro-login-card h2{font-size:24px;color:#09166c;margin:14px 0 9px}.astro-login-card p{color:#75829f;font-size:13px}.astro-login-card form{text-align:left;margin:22px 0}.astro-login-card label{display:block;font-size:12px;color:#38476a;font-weight:700;margin-bottom:8px}.astro-login-card input{display:block;width:100%;border:1px solid #dbe0ee;border-radius:10px;min-height:46px;padding:12px;color:#151e5c!important;font-size:15px;background:#fff}.astro-login-card button{margin-top:13px;width:100%;background:linear-gradient(100deg,#9b47e0,#0966df);border:0;color:white;border-radius:10px;padding:12px;font-size:14px;font-weight:700;cursor:pointer}.astro-login-card small{font-size:10px;color:#97a0b6}.astro-login-error{background:#ffeaf0;color:#a41c48;border-radius:8px;padding:10px;margin:12px 0;font-size:12px}
@media(max-width:1250px){.astro-sidebar{width:185px}.astro-content{padding:23px 18px 70px}.astro-stat strong{font-size:20px}.astro-planner-grid{grid-template-columns:1fr 1fr}.astro-fx{display:none}.astro-hero img{right:3%}}
@media(max-width:900px){.astro-sidebar{width:71px;padding:17px 7px}.astro-brand{min-height:76px;margin-bottom:18px}.astro-brand img{width:60px;max-height:65px}.astro-brand span,.astro-nav button:not(.selected){color:#e6edff}.astro-nav button{font-size:0;justify-content:center;padding:12px 5px}.astro-nav button span{font-size:23px}.astro-side-footer{display:none}.astro-greeting strong{font-size:13px}.astro-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.astro-two-col{grid-template-columns:1fr}.astro-topbar{padding:0 14px}.astro-planner-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.astro-sidebar{position:fixed;left:-235px;top:0;bottom:0;width:214px;transition:left .2s;box-shadow:4px 0 15px #050e4420}.astro-app.menu-open .astro-sidebar{left:0}.astro-app.menu-open:before{content:"";position:fixed;inset:0;background:#070d3b89;z-index:39}.astro-nav button{font-size:13.5px;justify-content:flex-start;padding:12px 14px}.astro-sidebar .astro-brand{min-height:130px}.astro-sidebar .astro-brand img{width:140px;max-height:130px}.astro-sidebar .astro-brand span{display:block}.astro-content{padding:15px 12px 96px}.astro-topbar{height:58px;padding:0 12px}.astro-top-left,.astro-top-right{gap:5px}.astro-topbar .astro-greeting strong{font-size:12px}.astro-topbar .astro-greeting span{font-size:9px}.astro-icon-btn{width:32px;height:32px;font-size:18px}.astro-live{display:none}.astro-hero{padding:20px 19px;min-height:170px}.astro-hero h2{font-size:19px;max-width:65%}.astro-hero p{font-size:11.2px;max-width:67%}.astro-hero img{height:105px;width:105px;right:5px;top:25px;padding:8px}.hero-tag{font-size:8px}.btn{font-size:11px!important;min-height:40px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px}.astro-stats,.astro-stats.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.astro-stat{padding:13px 12px;border-radius:12px}.astro-stat strong{font-size:19px}.stat-kicker{font-size:10.5px}.astro-stat small{font-size:10px}.astro-panel{padding:13px;border-radius:13px}.astro-two-col,.astro-planner-grid{grid-template-columns:1fr;gap:0}.astro-mobile-tabs{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;min-height:67px;padding:7px 8px max(7px,env(safe-area-inset-bottom));background:white;border-top:1px solid #e3e6f3;z-index:35;box-shadow:0 -5px 22px #132b6e16}.astro-mobile-tabs button{display:flex;flex-direction:column;align-items:center;gap:0;color:#5a668d;border:0;background:transparent;font-size:23px;min-width:49px}.astro-mobile-tabs button span{font-size:9px;font-weight:700}.astro-mobile-tabs .astro-mobile-new{background:linear-gradient(135deg,#a344e4,#006ee9);width:48px;height:48px;border-radius:15px;color:#fff;margin-top:-26px;box-shadow:0 5px 16px #332eac45}.astro-mobile-tabs .astro-mobile-new span{font-size:8px}.astro-modal-layer{padding:0;align-items:flex-end}.astro-modal-panel{width:100%;border-radius:18px 18px 0 0;max-height:95dvh;padding:18px 15px 72px}.astro-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.astro-detail-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.astro-detail-summary .astro-stat{padding:8px}.astro-detail-summary .astro-stat strong{font-size:14px}.astro-detail-summary .stat-kicker{font-size:9px}.astro-detail-section h3{font-size:14px}.astro-order-footer{bottom:-73px;flex-wrap:wrap}.astro-item-detail img{width:50px;height:50px}.astro-item-detail small{font-size:10px}.astro-item-detail button{font-size:9px!important}.astro-toast{left:10px;bottom:80px;right:10px}.astro-live{font-size:10px}.search-row{flex-wrap:wrap}}
@media(max-width:400px){.astro-hero img{height:90px;width:90px}.astro-hero h2{font-size:17px}.astro-hero p{max-width:72%}.astro-content{padding:12px 9px 93px}.astro-topbar .astro-icon-btn{width:26px;font-size:16px}.astro-stat strong{font-size:17px}.astro-form-grid{grid-template-columns:1fr}.astro-item-detail{flex-wrap:wrap}.astro-order-footer .button-row{width:100%;justify-content:flex-end}}
@media(prefers-reduced-motion:reduce){.astro-app *{animation:none!important;transition:none!important}}

.astro-confirm-box{background:#eff5ff;border:1px solid #dce6fb;border-radius:12px;padding:13px 15px;font-size:12px;color:#26386f;margin-top:17px}.astro-confirm-box input{accent-color:#8647d7;width:18px;height:18px;vertical-align:middle;margin-right:9px}

.astro-cost-summary{font-size:12px;color:#4c5b7b;background:#f1f6ff;border-left:3px solid #b15de2;border-radius:7px;padding:10px 13px;margin-bottom:12px}.astro-cost-summary b{color:#0510a0}

.astro-top-logo{width:40px;height:40px;border-radius:11px;object-fit:contain;background:#091466;padding:4px}@media(max-width:640px){.astro-top-logo{height:30px;width:30px;padding:2px;border-radius:8px}}

/* Astro v1.0.1: active navigation drawer and additional settings */
.astro-quicklinks{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:17px}
.astro-smtp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.astro-smtp-grid .form-field{display:flex;flex-direction:column;gap:6px}.astro-seller-link{display:flex;flex-direction:column;gap:10px;margin:15px 0;padding:15px;background:#f5f6ff;border:1px solid #dfe5f6;border-radius:12px}.astro-seller-link input{width:100%;font-size:14px;font-weight:600;background:#fff;color:#0d2063}.astro-password-field{display:flex;flex-direction:column;gap:7px;margin:13px 0}.astro-menu-overlay{display:none;position:fixed;inset:0;background:#0712407c;border:0;z-index:38}.astro-menu-overlay[hidden]{display:none!important}
@media(min-width:901px){.astro-app.menu-open .astro-sidebar{width:70px;padding:19px 7px}.astro-app.menu-open .astro-brand img{width:57px}.astro-app.menu-open .astro-brand span,.astro-app.menu-open .astro-side-footer{display:none}.astro-app.menu-open .astro-nav button{font-size:0;justify-content:center;padding:12px 4px}.astro-app.menu-open .astro-nav button span{font-size:22px}}
@media(max-width:900px){.astro-app.menu-open .astro-sidebar{position:fixed!important;left:0;top:0;bottom:0;z-index:41;width:235px!important;box-shadow:3px 0 25px #070d363f}.astro-app.menu-open .astro-sidebar .astro-nav button{font-size:13.5px;justify-content:flex-start;padding:12px 13px}.astro-app.menu-open .astro-sidebar .astro-brand img{width:125px;max-height:115px}.astro-app.menu-open .astro-sidebar .astro-brand span{display:block}.astro-app.menu-open .astro-menu-overlay{display:block}.astro-menu-overlay:not([hidden]){display:block}}
@media(max-width:640px){.astro-smtp-grid{grid-template-columns:1fr}.astro-quicklinks{gap:6px}.astro-quicklinks .btn{flex:1 1 43%}.astro-menu-overlay:not([hidden]){display:block}.astro-top-right #astro-install-top{display:flex}}

@media(max-width:640px){.astro-app.menu-open:before{pointer-events:none!important;opacity:0!important}.astro-app.menu-open .astro-menu-overlay:not([hidden]){display:block!important;z-index:40}.astro-app.menu-open .astro-sidebar{z-index:41}}

/* ===============================================================
   ASTRO v1.1.0 — readability, production command center & calendar
   =============================================================== */
.astro-app{font-size:15.5px;line-height:1.6}
.astro-content{max-width:1800px;margin:0 auto;width:100%}
.astro-nav button{font-size:15px!important;min-height:47px;letter-spacing:.05px}
.astro-panel{padding:23px;border:1px solid #e4e8f5;box-shadow:0 8px 25px #0c267010}
.astro-panel h3,.astro-detail-section h3{font-size:18px;line-height:1.3;letter-spacing:-.2px}
.page-heading h1{font-size:clamp(26px,2.5vw,37px);line-height:1.2}
.page-heading p{font-size:15px}
.astro-stat .stat-kicker,.stat-kicker{font-size:13px;letter-spacing:0;font-weight:700}
.astro-stat strong{font-size:clamp(22px,2.15vw,29px);line-height:1.2}
.astro-stat small{font-size:12.5px;line-height:1.4}
.astro-app .btn{font-size:14px!important;min-height:43px;font-weight:750;line-height:1.25}
.astro-app .btn.xs{font-size:12px!important;min-height:37px}
.astro-table,.astro-table td{font-size:13.5px;line-height:1.5}
.astro-table th{font-size:12.5px;letter-spacing:.15px}
.astro-table td,.astro-table th{padding:13px 12px}
.astro-app small,.astro-app .muted{line-height:1.55}
.astro-item-detail b,.astro-order-form .form-field>span,.astro-form-grid .form-field>span{font-size:14px}
.astro-item-detail small{font-size:12px}
.astro-detail-top h2,.detail-top h2{font-size:26px}
.astro-app input:not([type=checkbox]):not([type=radio]),.astro-app select,.astro-app textarea{font-size:16px!important;min-height:46px;color:#12265C!important;background:#fff;letter-spacing:0;outline-color:#8550d9;line-height:1.45}
.astro-app textarea{min-height:90px}
.astro-app input::placeholder,.astro-app textarea::placeholder{color:#7988a3;opacity:1}
.astro-app input:focus-visible,.astro-app select:focus-visible,.astro-app textarea:focus-visible,.astro-app button:focus-visible{outline:3px solid #74ddec;outline-offset:2px}
.astro-app input[type=checkbox]{width:19px;height:19px;accent-color:#8b48d6}
.astro-modal-panel{max-width:1020px;padding:30px 32px;border-radius:22px}
.astro-modal-x{width:42px;height:42px;font-size:25px;cursor:pointer}
.astro-save-feedback{display:block;border-radius:11px;background:#edf6ff;color:#153b78;font-size:14px;font-weight:650;padding:14px;margin:4px 0}
.astro-save-feedback[hidden]{display:none!important}
.astro-save-feedback.error{background:#fff0f1;border:1px solid #ebbdc7;color:#952448}
.astro-tabbar{gap:6px;overflow-x:auto;padding:5px}
.astro-tabbar button{font-size:14px;min-height:41px;font-weight:700;white-space:nowrap}
.astro-draft-item{padding:19px;border-radius:16px}
.astro-draft-item h4{font-size:16px}
.item-calculation,.astro-cost-summary,.astro-confirm-box{font-size:13.5px;line-height:1.5}
.astro-order-footer span{font-size:13px}
.astro-order-footer strong{font-size:25px}
.astro-weather{background:radial-gradient(circle at 71% -18%,#8346d590,transparent 42%),linear-gradient(120deg,#06105b 5%,#071b98 72%,#1a54bd 100%);color:#fff;border-radius:21px;padding:25px 32px;display:grid;grid-template-columns:1.02fr 1fr;gap:25px;box-shadow:0 20px 50px #1027a927;margin-bottom:18px;position:relative;overflow:hidden}
.astro-weather::after{content:"";position:absolute;width:280px;height:280px;border:1px solid #ffffff18;right:-115px;top:-150px;border-radius:50%;pointer-events:none}
.astro-weather .eyebrow.light{color:#b5deff;font-size:12px;letter-spacing:1.3px}
.weather-time,.weather-meteorology{position:relative;z-index:1}
.weather-clock{font-size:clamp(42px,4.2vw,65px);font-weight:800;line-height:1.12;font-variant-numeric:tabular-nums;letter-spacing:-1.5px;margin:7px 0 4px;color:#fff}
.weather-date{font-size:17px;font-weight:650;text-transform:capitalize;color:#f3eaff}
.weather-time>small,.weather-label{font-size:13px;color:#c6d9ff}
.weather-temp{display:flex;justify-content:flex-end;align-items:center;gap:13px;font-size:39px}
.weather-temp strong{font-size:39px;color:#fff}
.weather-label{text-align:right}
.weather-forecast{margin-top:17px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.weather-forecast>div{border-radius:11px;background:#ffffff18;border:1px solid #ffffff23;padding:10px 6px;text-align:center;display:flex;flex-direction:column;gap:4px}
.weather-forecast b{font-size:12px;text-transform:capitalize}.weather-forecast span{font-size:21px}.weather-forecast small{font-size:12px;color:#eef3ff;white-space:nowrap}
.visual-overview{margin:5px 0 20px;align-items:stretch}
.astro-mini-tag{font-size:12px;font-weight:750;border-radius:20px;background:#f0edff;color:#4939ab;padding:7px 11px;white-space:nowrap}
.astro-production-chart{display:flex;align-items:center;gap:24px;margin:15px 0 22px}
.astro-donut{width:154px;aspect-ratio:1;border-radius:50%;background:conic-gradient(#b15de2 0 var(--progress),#e7eafa var(--progress) 100%);padding:16px;flex:0 0 154px;box-shadow:0 5px 15px #182fb315}
.astro-donut>div{height:100%;width:100%;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.astro-donut strong{font-size:33px;letter-spacing:-1.2px;line-height:1;color:#141e83}.astro-donut small{font-size:12px;color:#677696}
.astro-breakdown{display:flex;flex-direction:column;gap:11px;flex:1}
.astro-breakdown p{margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.astro-breakdown b{font-size:20px;font-weight:800;color:#15265f;white-space:nowrap}
.astro-breakdown small{font-size:13px;color:#647392;text-align:right}
.astro-machine-rows{display:grid;gap:12px}
.astro-visual-machine{display:grid;grid-template-columns:13px 72px minmax(45px,1fr) 57px;gap:10px;align-items:center;font-size:12px}
.astro-visual-machine b{font-size:13px}.astro-visual-machine strong{font-size:12px;text-align:right}
.astro-progress{height:10px;background:#e7ebf7;overflow:hidden;border-radius:20px}
.astro-progress i{height:100%;display:block;border-radius:20px;transition:width .35s ease}
.astro-big-cash{font-size:clamp(32px,3.1vw,48px);line-height:1.2;font-weight:800;color:#07166f;margin-top:35px;letter-spacing:-1.1px}
.astro-finance-chart>small{font-size:13px;color:#7280a2}
.astro-stacked{margin:27px 0 20px;height:16px;border-radius:30px;background:#e4d9ff;overflow:hidden}
.astro-stacked i{display:block;height:100%;border-radius:30px;background:linear-gradient(90deg,#0866dc,#00c8da)}
.astro-breakdown.horizontal{flex-direction:row;justify-content:space-between;gap:14px}
.astro-breakdown.horizontal p{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.astro-breakdown.horizontal p small{text-align:left}
.astro-finance-hint{font-size:12px;color:#74829f;margin:21px 0 2px;border-top:1px solid #eef0f7;padding-top:13px}
.astro-calendar-wrap{margin:18px 0 22px}
.astro-cal-heading{align-items:center;gap:15px}
.astro-cal-heading p{margin:5px 0 0;color:#75819e;font-size:13px}
.astro-cal-controls,.astro-cal-tools,.astro-cal-legend{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.astro-cal-controls b{font-size:18px;text-transform:capitalize;min-width:150px;text-align:center;color:#0b1e76}
.astro-cal-controls .btn{min-width:36px;padding-inline:12px}
.astro-cal-tools{margin-bottom:17px;justify-content:space-between}
.astro-cal-tools label{color:#536286;font-size:13px;font-weight:700;display:flex;align-items:center;gap:9px}
.astro-cal-tools select{max-width:170px;min-height:38px!important;font-size:13px!important}
.astro-cal-legend span{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:650;color:#536286}
.astro-cal-legend i{width:10px;height:10px;border-radius:50%}
.astro-calendar-scroll{overflow-x:auto;border:1px solid #e3e7f3;border-radius:13px}
.astro-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:715px;background:#e6eaf4;gap:1px}
.astro-weekday{background:#f0f3fc;text-align:center;padding:10px 0;color:#465783;font-weight:750;font-size:12px}
.astro-day{background:#fff;min-height:108px;padding:8px;display:flex;flex-direction:column;gap:5px;overflow:hidden}
.astro-day.empty{background:#f9faff}
.astro-day.today{background:#f1fcff;box-shadow:inset 0 0 0 2px #00bdcf}
.astro-day-number{font-size:13px;font-weight:850;color:#1b2c72;align-self:flex-end;border-radius:7px}
.astro-cal-item{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;border:0;border-left:4px solid var(--pcolor);background:color-mix(in srgb,var(--pcolor) 10%,white);border-radius:5px;padding:5px 6px;font-size:10px;color:#17215c;text-align:left;cursor:pointer}
.astro-cal-item span{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}
.astro-cal-item small{font-size:9px;opacity:.76}
.astro-cal-item:hover{filter:brightness(.96)}
.astro-more{color:#576586;font-size:10px}
.astro-login-card p{font-size:14px}.astro-login-card label{font-size:14px}.astro-login-card small{font-size:12px}
@media(max-width:1000px){.astro-weather{padding:25px;gap:14px}.astro-donut{width:124px;flex-basis:124px;padding:13px}.astro-breakdown b{font-size:17px}}
@media(max-width:640px){
 .astro-app{font-size:15px}.astro-sidebar .astro-nav button{font-size:15px!important}
 .astro-content{padding:16px 13px 105px}.astro-hero p{font-size:12.8px;max-width:74%}.astro-hero h2{font-size:21px}
 .page-heading h1{font-size:26px}.page-heading p{font-size:13px}
 .astro-stats{gap:11px}.astro-stat{padding:16px 13px}.astro-stat .stat-kicker{font-size:12px}.astro-stat strong{font-size:21px}.astro-stat small{font-size:11.5px}
 .astro-panel{padding:17px}.astro-panel h3{font-size:17px}.astro-app .btn{font-size:13px!important;min-height:44px}.astro-app .btn.xs{font-size:12px!important}
 .astro-weather{grid-template-columns:1fr;padding:19px 20px;gap:16px;border-radius:17px}.weather-clock{font-size:45px}.weather-date{font-size:14px}.weather-temp{justify-content:flex-start}.weather-label{text-align:left}.weather-forecast{margin-top:10px}
 .astro-production-chart{gap:15px}.astro-donut{width:110px;flex-basis:110px;padding:11px}.astro-donut strong{font-size:25px}.astro-breakdown b{font-size:17px}.astro-breakdown small{font-size:12px}
 .astro-modal-panel{padding:23px 18px 82px;border-radius:18px 18px 0 0}.detail-top h2{font-size:24px}
 .astro-form-grid{grid-template-columns:1fr}.astro-order-footer .button-row{justify-content:flex-end}
 .astro-mobile-tabs button span{font-size:11px}.astro-cal-controls b{font-size:16px;min-width:95px}
 .astro-cal-tools{align-items:flex-start}.astro-cal-legend{order:4;width:100%}
 .astro-quicklinks .btn{flex:1 1 45%}
 .astro-app input:not([type=checkbox]),.astro-app select,.astro-app textarea{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){.astro-progress i{transition:none}}
@media(min-width:641px) and (max-width:900px){
 .astro-app:not(.menu-open) .astro-sidebar .astro-nav button{font-size:0!important;justify-content:center;padding:12px 4px}
 .astro-app:not(.menu-open) .astro-sidebar .astro-nav button span{font-size:23px}
}
.astro-expense-month{display:block;margin-top:5px;color:#157565!important;font-size:12.5px!important;font-weight:650}
.astro-apply-current{padding:13px;border:1px solid #d3e7e1;border-radius:12px;background:#f3faf7}
.astro-apply-current small{display:block;color:#56715f;font-size:12px;margin:4px 0 0 25px}
.astro-depreciation-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;background:linear-gradient(110deg,#f7f9ff,#f3eaff)}
.astro-depreciation-head h3{font-size:20px;margin:5px 0}
.astro-rate-control{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.astro-rate-control label{font-size:13px;color:#273968;font-weight:750;display:flex;flex-direction:column;gap:6px}
.astro-rate-control input{width:105px}

/* V1.2: compacto en desktop, alta legibilidad y planner dividido. */
.astro-app{font-size:14.5px;line-height:1.46}
.astro-sidebar{width:198px;padding:14px 10px}
.astro-brand{margin-bottom:17px;min-height:98px}
.astro-brand img{width:112px;max-height:91px;object-fit:contain;object-position:center}
.astro-nav{gap:2px}.astro-nav button{min-height:40px!important;padding:9px 12px;font-size:13.5px!important}
.astro-topbar{height:63px;padding:0 18px}
.astro-content{max-width:1720px;padding:17px 19px 65px}
.astro-home-head{display:grid;grid-template-columns:minmax(290px,.92fr) minmax(415px,1.08fr);gap:14px;align-items:stretch;margin-bottom:12px}
.astro-home-intro{padding:12px 5px;display:flex;flex-direction:column;justify-content:center;gap:5px}
.astro-home-intro h1{font-size:27px;letter-spacing:-.6px;margin:1px 0!important}
.astro-home-intro p{color:#65718a;font-size:13.5px;margin:0 0 12px}
.astro-home-actions{display:flex;flex-wrap:wrap;gap:7px}.astro-home-actions .btn{min-height:38px;padding:8px 12px;font-size:12px!important}
.astro-home-head .astro-weather{margin:0;min-height:161px;padding:16px 18px;gap:15px;border-radius:14px;grid-template-columns:1fr .9fr;box-shadow:0 8px 22px #0d187e13}
.astro-home-head .weather-clock{font-size:clamp(28px,2.5vw,39px);letter-spacing:-1px;margin:5px 0 3px}
.astro-home-head .weather-date{font-size:12px}.astro-home-head .weather-time>small,.astro-home-head .weather-label{font-size:11px}
.astro-home-head .astro-weather .eyebrow.light{font-size:9px}
.astro-home-head .weather-temp{gap:6px}.astro-home-head .weather-temp span{font-size:29px}.astro-home-head .weather-temp strong{font-size:28px}
.astro-home-head .weather-forecast{margin-top:8px;gap:4px}.astro-home-head .weather-forecast>div{padding:5px 3px;border-radius:7px;gap:2px}
.astro-home-head .weather-forecast b{font-size:10px}.astro-home-head .weather-forecast span{font-size:15px}.astro-home-head .weather-forecast small{font-size:10px}
.astro-home-stats{gap:10px;margin:0 0 12px}.astro-home-stats .astro-stat{padding:11px 14px;border-radius:12px;gap:3px}
.astro-home-stats .astro-stat strong{font-size:21px}.astro-home-stats .astro-stat small{font-size:11px}
.astro-home-stats .stat-kicker{font-size:12px}.astro-panel{padding:14px 16px;margin-bottom:11px;border-radius:12px}
.astro-panel h3{font-size:15px}.visual-overview{margin:0 0 12px;gap:12px}.visual-overview .astro-panel{margin:0}
.visual-overview .astro-production-chart{margin:8px 0 10px;gap:18px}.visual-overview .astro-donut{width:102px;flex-basis:102px;padding:11px}
.visual-overview .astro-donut strong{font-size:24px}.visual-overview .astro-breakdown{gap:5px}.visual-overview .astro-breakdown b{font-size:16px}
.visual-overview .astro-breakdown small{font-size:11.5px}.visual-overview .astro-machine-rows{gap:5px}
.visual-overview .astro-visual-machine{min-height:24px}.visual-overview .astro-finance-chart{padding:1px 0 5px}
.astro-home-bottom{gap:12px}.astro-home-bottom .machine-line{padding:6px 0}.astro-home-bottom .notice-row{padding:6px 0}
.astro-home-orders .astro-table td{padding:8px 10px}.astro-home-orders .astro-table th{padding:8px 10px}
.astro-planner-topline{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:0 0 12px;padding:8px 14px;background:white;border:1px solid var(--astro-border);border-radius:12px;color:#5b6887;font-size:12px}
.astro-planner-topline b{font-size:15px;color:#10226e}
.astro-planner-split{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:13px;align-items:start}
.astro-planner-split .astro-calendar-wrap{margin:0}.astro-planner-split .astro-calendar-wrap .astro-cal-heading{display:block}
.astro-planner-split .astro-calendar-wrap .astro-cal-heading h3{margin-bottom:2px}
.astro-planner-split .astro-cal-heading p{margin:0 0 7px;font-size:11px;color:#66748d}
.astro-planner-split .astro-cal-controls{justify-content:space-between;gap:5px}
.astro-planner-split .astro-cal-controls b{font-size:14px;min-width:0}
.astro-planner-split .astro-cal-controls .btn{min-height:31px;padding:5px 8px;font-size:11px!important}
.astro-planner-split .astro-cal-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:9px 0}
.astro-planner-split .astro-cal-legend{gap:7px}
.astro-planner-split .astro-cal-legend span{font-size:10px}
.astro-planner-split .astro-cal-tools .btn{font-size:10.5px!important;padding:5px 8px;min-height:31px}
.astro-planner-split .astro-cal-tools select{min-height:31px!important}
.astro-planner-split .astro-month-grid{min-width:480px}
.astro-planner-split .astro-weekday{padding:6px 0;font-size:10px}
.astro-planner-split .astro-day{min-height:75px;padding:4px;gap:3px}
.astro-planner-split .astro-day-number{font-size:11px;align-self:flex-end;border:0;background:transparent;padding:1px 4px;cursor:pointer;color:#132770}
.astro-planner-split .astro-day.selected{background:#ece9ff;box-shadow:inset 0 0 0 2px #a34fd8}
.astro-planner-split .astro-cal-item{font-size:9px;padding:3px 4px;border-left-width:3px}
.astro-planner-split .astro-cal-item small{display:none}
.astro-planner-split .astro-more{font-size:9px}
.astro-planner-split .astro-calendar-wrap>p{font-size:10px;margin:8px 0 0}
.astro-agenda-column{min-width:0;display:flex;flex-direction:column;gap:11px}
.astro-agenda-column .astro-panel{margin:0}.astro-machine-mini{display:flex;align-items:center;gap:7px;padding:6px 0;border-bottom:1px solid #e9eefa;font-size:12px}
.astro-machine-mini:last-child{border:0}.astro-machine-mini i{display:block;flex:0 0 9px;width:9px;height:9px;border-radius:50%}
.astro-machine-mini b{min-width:65px}.astro-machine-mini span{font-size:11px;color:#64718c;margin-left:auto}
.astro-agenda-list .panel-heading{margin-bottom:8px}.astro-agenda-items{max-height:520px;overflow-y:auto;padding-right:4px;display:flex;flex-direction:column;gap:7px}
.astro-agenda-task{border:1px solid #e7eafa;border-left:4px solid var(--machine-color);background:#fff;border-radius:9px;padding:8px 10px;display:flex;flex-direction:column;gap:5px;text-align:left;width:100%;color:#213362;font-size:12px;cursor:pointer}
.astro-agenda-task:hover{background:#f8f8ff}.astro-agenda-top{display:flex;justify-content:space-between;gap:5px;align-items:center}.astro-agenda-top b{font-size:12px}
.astro-agenda-status{font-size:10px;color:#6654a8;background:#f0edff;padding:2px 6px;border-radius:15px}
.astro-agenda-client{font-size:11px;color:#5c6a88}.astro-agenda-progress{width:100%;height:5px;background:#ebeefa;border-radius:10px;overflow:hidden}
.astro-agenda-progress i{display:block;height:100%;background:var(--machine-color)}
.astro-agenda-bottom{display:flex;justify-content:space-between;gap:7px;font-size:10px;color:#5c6a88;flex-wrap:wrap}
.astro-planner-weather{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:45px!important;font-size:12px}
.astro-planner-weather strong{font-size:16px;color:#0e216a}.astro-planner-weather small{color:#5d6c88}
@media(max-width:1120px){.astro-home-head{grid-template-columns:1fr}.astro-home-head .astro-weather{min-height:150px}.astro-planner-split{grid-template-columns:1fr}.astro-agenda-items{max-height:350px}}
@media(max-width:640px){.astro-content{padding:13px 11px 100px}.astro-home-head{gap:8px}.astro-home-intro{padding:4px 0}.astro-home-intro h1{font-size:23px}.astro-home-head .astro-weather{grid-template-columns:1fr 1fr;padding:12px;gap:6px;min-height:132px}.astro-home-head .weather-clock{font-size:27px}.astro-home-head .weather-temp strong{font-size:23px}.astro-home-head .weather-forecast{grid-template-columns:repeat(2,minmax(0,1fr))}.astro-home-head .weather-forecast>div:nth-child(n+3){display:none}.astro-home-actions .btn{flex:1 1 auto}.astro-planner-split{grid-template-columns:1fr}.astro-planner-split .astro-month-grid{min-width:475px}.astro-agenda-items{max-height:400px}}

/* v1.2 - better toolbar targets, stronger contrast, production ETA */
.astro-topbar .astro-icon-btn{min-width:42px;width:42px;height:42px;min-height:42px;border:1px solid #dce5fb;background:#f4f7ff;color:#101f8f!important;border-radius:12px;font-size:25px!important;box-shadow:0 1px 3px #132a6b0a}
.astro-topbar .astro-icon-btn:hover,.astro-topbar .astro-icon-btn:focus-visible{background:#e8eeff;outline:2px solid #9784ee;outline-offset:2px}
.astro-topbar .astro-icon-btn b{font-size:11px;min-width:18px;padding:1px 4px}
.astro-delivery-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:9px 0 10px}
.astro-delivery-summary>div{border:1px solid #dfe5f8;background:#f5f7ff;border-radius:10px;padding:11px 13px;display:flex;flex-direction:column;gap:3px}
.astro-delivery-summary span{font-size:12px;font-weight:650;color:#64708a}
.astro-delivery-summary strong{font-size:15px;color:#0e1b75;line-height:1.3}
.astro-agenda-delivery{font-size:11px;color:#667297;display:block;padding:2px 0}
.astro-agenda-delivery b{color:#1c2a7b}
@media(max-width:640px){.astro-topbar .astro-icon-btn{min-width:38px;width:38px;min-height:38px;height:38px;font-size:23px!important}.astro-delivery-summary{grid-template-columns:1fr}}


/* v1.3 · libro de caja, mayor claridad y estados financieros */
.astro-finance-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px;background:#fff;border:1px solid #dfe5f7;border-radius:14px;margin:4px 0 13px}
.astro-finance-toolbar>div{display:flex;flex-direction:column;gap:3px}.astro-finance-toolbar strong{font-size:17px;color:#061765}.astro-finance-toolbar small{font-size:12px;color:#657491}
.astro-finance-toolbar label{font-weight:700;color:#20346e;font-size:12px;display:flex;align-items:center;gap:10px}.astro-finance-toolbar input{min-height:41px;max-width:185px;border-radius:9px;border:1px solid #ccd6f2;color:#09236f;background:#f9faff;font-size:14px;font-weight:700;padding:6px 10px}
.astro-finance-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 12px}.astro-finance-cards .astro-stat{margin:0!important;min-height:112px;padding:15px!important}.astro-finance-cards .astro-stat strong{font-size:clamp(19px,1.6vw,25px)!important;line-height:1.3}.astro-finance-cards .stat-kicker{font-size:12px}
.astro-finance-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:13px;align-items:start}.astro-finance-columns>.astro-panel{margin:0}
.astro-ledger-overview .panel-heading{margin-bottom:12px}.astro-ledger-overview .panel-heading h3{font-size:16px}
.astro-ledger-hero{border-radius:12px;padding:16px 18px;background:linear-gradient(125deg,#0d1968,#3030ad);color:#fff;display:flex;flex-direction:column;gap:5px}.astro-ledger-hero>span{font-size:12px;color:#e0eaff;font-weight:700}.astro-ledger-hero>strong{font-size:clamp(25px,2.3vw,37px);letter-spacing:-1px}.astro-ledger-hero>small{font-size:11px;color:#dbe6ff}
.astro-ledger-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0}.astro-ledger-indicator{background:#f2f5fe;border:1px solid #e1e7f7;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:5px}.astro-ledger-indicator>span{font-size:11.5px;color:#627192;font-weight:700}.astro-ledger-indicator>strong{font-size:clamp(16px,1.5vw,22px);color:#122472;overflow-wrap:anywhere}.astro-ledger-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 15px}
.astro-ledger-overview .balance-row{padding:9px 3px;font-size:12.5px}.astro-ledger-overview .balance-row strong{font-size:14px;color:#0a1a77}
.astro-mini-tag{background:#ebf8f1;color:#137247;border-radius:25px;padding:5px 9px;font-size:11px;font-weight:750}
.astro-payment-split{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}.astro-payment-split>div{border:1px solid #e3e7f4;background:#f8faff;border-radius:10px;padding:14px 12px;display:flex;flex-direction:column;gap:6px}.astro-payment-split strong{font-size:19px;color:#071b76}.astro-payment-split span{font-size:11px;color:#697595}
.astro-collection-mini{display:flex;flex-direction:column;gap:6px}.astro-collection-line{background:#fff;border:1px solid #e7eaf7;border-radius:9px;display:flex;align-items:center;gap:7px;min-width:0;min-height:46px;padding:8px;color:#15266c;text-align:left;cursor:pointer}.astro-collection-line:hover{background:#f7f6ff}.astro-collection-line>span{flex:1;font-weight:650;font-size:12px;min-width:0}.astro-collection-line small{display:block;color:#77849c;font-size:10px}.astro-collection-line b{font-size:12px;white-space:nowrap}
.astro-finance-state{font-size:10px;font-weight:850;letter-spacing:.4px;border-radius:6px;padding:6px 8px;white-space:nowrap;display:inline-block}.astro-finance-state.paid{background:#e1f9ed;color:#11633b;border:1px solid #bbe7d0}.astro-finance-state.pending{background:#fff3e3;color:#9b4d00;border:1px solid #f5d7ad}
.astro-table-pay{margin-top:5px}.astro-payment-flag{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin:8px 0}.astro-payment-flag>span:last-child{font-size:12px;color:#63738f}.astro-cobro-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.astro-ledger-table{min-width:780px}.astro-ledger-table td{font-size:12px}.astro-ledger-table .positive{color:#13784b;font-weight:700}.astro-ledger-table .negative{color:#ba4054;font-weight:700}
.astro-mail-status{display:flex;flex-direction:column;gap:6px;background:#f2f7ff;border:1px solid #dbe5f7;border-radius:12px;padding:13px 16px;margin:10px 0}.astro-mail-status>b{font-size:14px;color:#0a2377}.astro-mail-status small{color:#5d708e;font-size:12px}.astro-mail-status .warn{color:#9f4b20}
.astro-save-feedback{padding:12px 15px;border-radius:10px;background:#e8f5fb;border:1px solid #c5e5f3;color:#0c4679;font-size:13px;font-weight:700}.astro-save-feedback.error{background:#fff0ee;border-color:#f5c9c1;color:#a82b2b}
.astro-form-grid input,.astro-form-grid select,.astro-form-grid textarea{font-size:15px!important;color:#0e225b!important;min-height:45px}.astro-form-grid textarea{min-height:90px}.astro-form-grid label>span{font-size:13px!important;color:#253864!important}
.astro-modal-panel{max-height:92dvh;overflow-y:auto}.astro-modal-panel h2{font-size:26px}
@media(max-width:1100px){.astro-finance-columns{grid-template-columns:1fr}.astro-finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.astro-ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.astro-finance-toolbar{align-items:stretch;flex-direction:column;padding:13px}.astro-finance-toolbar label{justify-content:space-between}.astro-finance-cards{gap:8px}.astro-finance-cards .astro-stat{min-height:98px;padding:11px!important}.astro-ledger-grid{gap:7px}.astro-ledger-indicator{padding:10px}.astro-collection-line{flex-wrap:wrap}.astro-finance-state{font-size:9px}}

/* v1.4.0: jerarquía contable para lectura rápida sin confundir caja con utilidad */
.astro-accounting-lead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 14px;padding:15px 18px;border-radius:13px;background:#fff;border:1px solid #e0e7f5}
.astro-accounting-lead h2{font-size:19px!important;color:#081b63;margin:2px 0 3px!important;line-height:1.2}
.astro-accounting-lead p{font-size:13px;color:#647293;margin:0!important}
.astro-accounting-kicker{display:block;color:#7953c5;font-size:10.5px;letter-spacing:.08em;font-weight:850;margin-bottom:4px}
.astro-accounting-report{padding:18px!important}
.astro-accounting-report .panel-heading{padding-bottom:10px;border-bottom:1px solid #e7eaf2;margin-bottom:8px}
.astro-accounting-report h3,.astro-accounting-receivables h3{font-size:17px!important;margin:0!important;color:#0b1b5e}
.astro-accounting-table{display:flex;flex-direction:column;gap:0}
.astro-accounting-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px;border-bottom:1px solid #eef1f8;color:#39486f;font-size:13.5px}
.astro-accounting-line span{flex:1}.astro-accounting-line b{font-size:14px;color:#162658;white-space:nowrap;font-variant-numeric:tabular-nums}
.astro-accounting-line.total{margin-top:8px;padding:13px 10px;background:#eff2ff;border:1px solid #dce4ff;border-radius:9px;color:#102074;font-weight:800}
.astro-accounting-line.total strong{font-size:19px;color:#08198f;white-space:nowrap;font-variant-numeric:tabular-nums}
.astro-accounting-line.available{font-weight:700;color:#0d654d}.astro-accounting-line.available strong{color:#0d654d;font-size:15px}
.astro-accounting-line.positive b{color:#0d784d}.astro-accounting-line.negative b{color:#923f3f}
.astro-accounting-note{font-size:12px;color:#71809a;line-height:1.45;margin:12px 2px 0!important}
.astro-accounting-receivables{margin-top:14px}.astro-receivables-total{display:flex;align-items:center;gap:13px;padding:11px 14px;background:#f5f6fd;border:1px solid #e3e8f4;border-radius:11px}
.astro-receivables-total span:first-child{font-size:13px;color:#506080}.astro-receivables-total strong{font-size:18px;color:#14207a;margin-right:auto}
.astro-accounting-debt-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;margin-top:8px}
.astro-accounting-debt-list .astro-collection-line{min-width:0}
.astro-finance-toolbar{padding:11px 15px}.astro-finance-cards{margin-bottom:12px}
.astro-tabbar{overflow-x:auto;scrollbar-width:thin;gap:5px!important}.astro-tabbar button{white-space:nowrap;font-size:13px!important}
@media(max-width:780px){.astro-accounting-lead{flex-wrap:wrap}.astro-accounting-debt-list{grid-template-columns:1fr}}
@media(max-width:560px){.astro-accounting-report{padding:13px!important}.astro-accounting-line{font-size:12.5px;gap:9px}.astro-accounting-line b{font-size:12.5px}.astro-accounting-line.total strong{font-size:16px}.astro-receivables-total{flex-wrap:wrap}.astro-accounting-lead h2{font-size:17px!important}}

/* Depreciación por producto fabricado · Astro v1.4.0 */
.astro-depr-intro{margin-bottom:12px!important;padding:17px 19px!important}
.astro-depr-intro h3{font-size:19px;color:#07196a;margin:4px 0 7px}
.astro-depr-intro p{font-size:13px;color:#526183;max-width:820px;line-height:1.5;margin:0}
.astro-depr-machine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.astro-machine-depr{min-width:0;padding:16px;background:#fff;border:1px solid #dce4f4;border-top:4px solid var(--printer-color);border-radius:14px;box-shadow:0 4px 18px rgba(20,35,94,.035)}
.astro-depr-top{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:14px;font-size:15px;color:#142361}
.astro-depr-top .astro-mini-tag{margin-left:auto;font-size:11px}
.astro-depr-rate{display:flex;gap:7px;align-items:end;margin-bottom:12px}
.astro-depr-rate label{font-size:11px;color:#526389;font-weight:750;flex:1;min-width:0}
.astro-depr-rate input{display:block;width:100%;margin-top:6px;padding:9px;font-size:15px;font-weight:800;color:#0b1d68;border:1px solid #cad5ef;border-radius:8px;background:#fff}
.astro-depr-rate button{font-size:12px!important;white-space:nowrap;min-height:40px}
.astro-depr-metrics{display:grid;gap:8px}
.astro-depr-metrics div{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #edf0f7;padding-bottom:7px}
.astro-depr-metrics small{font-size:11px;color:#657491}.astro-depr-metrics strong{color:#0a1c73;font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.astro-depr-metrics strong.astro-green{color:#128454}.astro-depr-metrics strong.astro-amber{color:#975f10}
.astro-depr-progress{height:9px;margin:13px 0 10px;border-radius:9px;background:#edf1fa;overflow:hidden}.astro-depr-progress i{display:block;height:100%;border-radius:9px}
.astro-depr-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:11.5px;color:#536382}
.astro-depr-guide{padding:17px 18px!important}.astro-depr-guide p{font-size:13px;line-height:1.45;color:#415174}
@media(max-width:1200px){.astro-depr-machine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:840px){.astro-depr-machine-grid{grid-template-columns:1fr}}
@media(max-width:560px){.astro-machine-depr{padding:13px}.astro-depr-rate{flex-wrap:wrap}.astro-depr-rate button{width:100%}}

.astro-extra-cost-block{margin-top:14px;border-top:1px solid #dfe4f0;padding-top:14px}.astro-extra-cost-block .panel-heading{margin:0 0 4px}.astro-generic-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.65fr) auto;align-items:end;gap:10px;margin:10px 0}.astro-generic-row .form-field{min-width:0}.astro-generic-row button{margin-bottom:2px}@media(max-width:700px){.astro-generic-row{grid-template-columns:1fr 1fr}.astro-generic-row button{grid-column:1/-1}}

/* Planner v1.4.3: trabajos continuos, marcadores de inicio/fin y entrega */
.astro-planner-split .astro-cal-item{display:flex;flex-direction:column;align-items:flex-start;padding:3px 5px;gap:1px;min-height:21px;border-radius:5px;border-left:4px solid var(--pcolor);line-height:1.15}
.astro-planner-split .astro-cal-item span{font-size:10px;font-weight:800;max-width:100%;text-overflow:ellipsis;overflow:hidden}
.astro-planner-split .astro-cal-item small{display:block!important;font-size:9px;opacity:.85;white-space:normal;line-height:1.2}
.astro-cal-item.entrega{background:#e9fbf7;border-left-color:#049d78}
.astro-cal-delivery{font-size:9px;color:#08664c;font-style:normal;font-weight:900}
.astro-day .astro-more{margin-top:auto}
@media(max-width:850px){.astro-planner-split .astro-cal-item small{font-size:9px}.astro-planner-split .astro-day{min-height:76px}}

.astro-cost-review-state{background:#f0f0fc;color:#283777;border-radius:8px;font-size:12px;font-weight:750;padding:8px 10px;margin-bottom:12px}

/* Astro v1.4.6 — private customer profiles, readable customer statements and QR. */
.astro-customer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 12px}
.astro-customer-stats .astro-stat{min-width:0;margin:0;padding:14px 16px}
.astro-customer-stats .astro-stat strong{font-size:clamp(19px,1.8vw,26px)}
.astro-customer-list .panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.astro-customer-list .panel-heading p{font-size:13px;color:#697a9e;margin:4px 0 0}
.astro-customer-search{min-width:min(320px,100%);display:flex;flex-direction:column;gap:5px;color:#536484;font-weight:650;font-size:12px}
.astro-customer-search input{min-height:40px;border:1px solid #d9e1f4;border-radius:10px;padding:10px 12px;font-size:14px;color:#0b1b59;background:white}
.astro-client-avatar{width:37px;height:37px;flex:0 0 auto;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#0c28ba,#a54ce0);color:#fff;font-weight:850;font-size:17px}
.astro-client-avatar.large{width:64px;height:64px;border-radius:19px;font-size:30px}
.astro-client-identity{display:flex;align-items:center;gap:10px;min-width:165px}
.astro-client-identity strong{font-size:15px;color:#0c1b61}
.astro-client-email{display:block;font-size:12px;color:#657692;font-weight:450;margin-top:3px;overflow-wrap:anywhere}
.astro-client-back{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.astro-client-profile-head{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:linear-gradient(115deg,#fff,#f4f6ff)}
.astro-client-profile-identity{display:flex;align-items:center;gap:15px;min-width:0}
.astro-client-profile-identity h2{font-size:clamp(22px,2.5vw,31px);line-height:1.12;margin:4px 0 8px;color:#0d1a63}
.astro-client-links{display:flex;gap:8px;flex-wrap:wrap}
.astro-client-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.astro-client-contact-grid>div{background:#f6f8fe;border:1px solid #e5eafd;border-radius:11px;padding:12px 13px;min-width:0}
.astro-client-contact-grid small{display:block;color:#687899;font-size:11.5px;margin-bottom:5px}
.astro-client-contact-grid strong{display:block;color:#112257;font-size:14px;line-height:1.5;font-weight:750;overflow-wrap:anywhere}
.astro-client-product{display:flex;align-items:center;gap:8px;font-size:12.5px;line-height:1.3;margin:3px 0;min-width:155px}
.astro-client-product img{object-fit:contain;object-position:center;width:38px;height:38px;border-radius:7px;background:#f3f4fb;border:1px solid #e9ebf4}
.astro-client-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.astro-client-columns .astro-panel{margin:0}
.astro-client-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #e7ebf5}
.astro-client-line:last-child{border-bottom:0}
.astro-client-line>b{font-size:14px}
.astro-client-line div{min-width:0;overflow-wrap:anywhere}
.astro-client-line b{color:#112568;font-size:13px}
.astro-client-line small{display:block;color:#65728c;font-size:11.5px;margin-top:3px}
.astro-client-pending{margin-top:13px;border:1px solid #f5d5a7;border-radius:9px;padding:11px 13px;background:#fff7eb;color:#965014}
.astro-client-pending strong,.astro-client-pending small{display:block;margin:3px 0}
.astro-client-private{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}
.astro-client-private>span{color:#6a36ca;font-size:26px}
.astro-client-private>div{flex:1}
.astro-client-private b{font-size:14px;color:#16255d}
.astro-client-private p{font-size:12px;color:#63758d;margin:2px 0 0}
.astro-client-qr-modal{text-align:center;max-width:440px;margin:auto}
.astro-client-qr-modal h2{font-size:25px;margin:9px 0 3px}
.astro-client-qr-modal>p{margin:7px 0 13px;color:#50648c}
.astro-client-qr-art{border:1px solid #d9e1f7;border-radius:13px;background:#fff;display:inline-flex;padding:15px;box-shadow:0 10px 25px #142d7420}
.astro-client-qr-art svg{max-width:min(260px,65vw);height:auto}
#astro-client-profile-link{width:100%;border:1px solid #dee4f5;padding:9px;border-radius:8px;margin:12px 0 10px;font-size:12px}
.astro-client-qr-modal .button-row{justify-content:center}
@media(max-width:900px){.astro-customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.astro-client-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.astro-client-columns{grid-template-columns:1fr}}
@media(max-width:650px){.astro-customer-list .panel-heading{flex-direction:column;align-items:stretch}.astro-customer-search{min-width:0}.astro-client-contact-grid{grid-template-columns:1fr}.astro-client-profile-head{gap:14px}.astro-client-links{width:100%}.astro-client-links .btn{flex:1}.astro-customer-stats{gap:7px}.astro-customer-stats .astro-stat{padding:11px}.astro-customer-stats .astro-stat strong{font-size:19px}.astro-client-private{flex-wrap:wrap}.astro-client-private .btn{width:100%}}
@media print{.astro-modal-backdrop,.astro-modal-x,.astro-client-qr-modal .button-row,.astro-client-qr-modal input{display:none!important}.astro-modal-layer{position:static!important;background:white!important}.astro-modal-panel{width:100%!important;max-width:100%!important;box-shadow:none!important}.astro-client-qr-art{box-shadow:none!important}}
.astro-client-mobile-orders{display:none}
@media(max-width:650px){.astro-client-history-table{display:none}.astro-client-mobile-orders{display:grid;gap:10px}.astro-client-mobile-order{border:1px solid #dfe6f7;border-radius:11px;background:#fafbff;padding:12px}.astro-client-mobile-order-header{display:flex;align-items:start;justify-content:space-between;gap:9px}.astro-client-mobile-order-header b{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.astro-client-mobile-order-header small{display:block;font-size:11px;color:#6b7591;margin-top:4px}.astro-client-mobile-order p{margin:9px 0;font-size:12.5px;color:#3c4b75}.astro-client-mobile-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:10px 0}.astro-client-mobile-numbers span{font-size:10.5px;color:#7280a0}.astro-client-mobile-numbers b{display:block;font-size:12px;color:#0b2062}.astro-client-mobile-order>.btn{width:100%}}

/* v1.4.6 - crisp, accessible icon system for operators of all ages */
.astro-ui-icon{width:23px;height:23px;display:block;flex:0 0 auto;stroke-width:2.05}
.astro-topbar{height:78px;padding:0 20px;gap:14px}
.astro-top-right{gap:9px;min-width:0}
.astro-top-left{gap:12px}
.astro-topbar .astro-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:49px;height:49px;padding:0 12px;background:#f4f6fe;border:1px solid #e4e9fa;border-radius:13px;color:#10239d!important;box-shadow:0 2px 6px #152b6c0b;font-size:14px;font-weight:800;white-space:nowrap;flex:0 0 auto;transition:background .15s,transform .15s,box-shadow .15s}
.astro-topbar .astro-icon-btn:hover{background:#e9eefe;box-shadow:0 5px 12px #152b6c19;transform:translateY(-1px)}
.astro-topbar .astro-icon-btn:active{transform:translateY(0)}
.astro-topbar .astro-icon-btn .astro-ui-icon{width:25px;height:25px}
.astro-topbar .astro-icon-btn[aria-label="Salir del Manager"]{min-width:48px}
.astro-topbar .astro-notification-button{position:relative;background:#121f90;color:#fff!important;border-color:#121f90;min-width:113px;padding:0 14px;overflow:visible}
.astro-topbar .astro-notification-button:hover{background:#2538bd;color:#fff!important}
.astro-topbar .astro-notification-button .astro-ui-icon{width:27px;height:27px;stroke-width:2.1}
.astro-topbar .astro-notice-badge{position:absolute;top:-9px;right:-8px;min-width:25px;height:25px;line-height:21px;padding:1px 5px;background:#e72e42;color:#fff;border:2px solid #fff;box-shadow:0 3px 9px #b10b333f;border-radius:999px;text-align:center;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums;z-index:3}
.astro-topbar .astro-notice-badge[hidden]{display:none!important}
.astro-topbar .astro-settings-button{background:#f0effc;color:#301994!important}
.astro-nav button{gap:12px}
.astro-nav .astro-nav-icon{width:28px;min-width:28px;display:flex;align-items:center;justify-content:center}
.astro-nav .astro-nav-icon .astro-ui-icon{width:23px;height:23px}
.astro-mobile-tabs .astro-ui-icon{height:24px;width:24px;margin:0 auto 3px}
.astro-topbar .astro-icon-btn:focus-visible,.astro-nav button:focus-visible,.astro-mobile-tabs button:focus-visible{outline:3px solid #00cfdb;outline-offset:2px}
.astro-notifications-head{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin:0 0 14px}
.astro-notifications-head h2{display:flex;align-items:center;gap:11px;font-size:24px;color:#101d70}
.astro-notifications-head h2 .astro-ui-icon{color:#241baa;width:28px;height:28px}
.astro-notifications-head p{margin:5px 0 0;color:#637391;font-size:14px}
.astro-notice-card{display:flex;gap:13px;align-items:flex-start;border:1px solid #dfe7f5;background:#fff;border-radius:13px;padding:14px 16px;margin:9px 0;line-height:1.45}
.astro-notice-card.unread{background:#f4f6ff;border-color:#cbd9fe;border-left:5px solid #6a3bd4}
.astro-notice-card .astro-notice-status{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#e8eaf9;color:#261ca3;flex:0 0 38px}
.astro-notice-card .astro-notice-status .astro-ui-icon{width:22px;height:22px}
.astro-notice-card strong{font-size:15px;color:#0b1b69;display:block;margin-bottom:5px}
.astro-notice-card p{font-size:13.5px;margin:0 0 4px;color:#394b74}
.astro-notice-card small{font-size:12px;color:#6b7894}
.astro-notice-empty{border-radius:13px;padding:27px;text-align:center;background:#f5f7fc;color:#4c5b82}
.astro-notice-empty .astro-ui-icon{width:38px;height:38px;margin:0 auto 10px;color:#6278c8}
.astro-notifications-head .btn{min-height:44px}
/* Desktop fits controls without wrapping; retain readability, never shrink touch targets. */
@media(max-width:1300px){.astro-topbar .astro-action-label{display:none}.astro-topbar .astro-notification-button{min-width:53px;padding:0 12px}.astro-topbar .astro-live,.astro-topbar .astro-fx{font-size:11px}}
@media(max-width:780px){.astro-topbar{height:72px;padding:0 12px}.astro-top-right{gap:7px}.astro-topbar .astro-icon-btn{min-width:45px;height:45px;padding:0 9px}.astro-topbar .astro-icon-btn .astro-ui-icon{width:25px;height:25px}.astro-topbar .astro-notification-button{min-width:51px}.astro-topbar .astro-notice-badge{top:-7px;right:-5px}.astro-topbar .astro-fx{display:none}}
@media(max-width:480px){.astro-topbar{padding:0 8px;gap:6px}.astro-top-left{gap:5px}.astro-top-logo{display:none!important}.astro-greeting{display:none!important}.astro-topbar .astro-live{display:none!important}.astro-top-right{gap:6px}.astro-topbar .astro-icon-btn{min-width:48px;height:48px;padding:0 10px}.astro-topbar .astro-notification-button{min-width:58px}.astro-topbar .astro-action-label{display:none}.astro-modal-panel{padding:19px 15px}}
@media(min-width:1301px){.astro-topbar .astro-settings-button{min-width:105px}.astro-topbar .astro-notification-button{min-width:112px}}

/* Big, calm and recognizable settings controls (computer and mobile) */
#astro-content:has(#astro-settings-form) .astro-panel{padding:21px 22px}
#astro-content:has(#astro-settings-form) .astro-settings-title{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-size:20px;line-height:1.32;color:#102268;font-weight:800}
#astro-content:has(#astro-settings-form) .astro-settings-title .astro-ui-icon{width:26px;height:26px;color:#6434c0;flex:0 0 26px}
#astro-content:has(#astro-settings-form) .btn{min-height:50px;padding:11px 18px;font-size:15px!important;border-radius:11px;display:inline-flex;gap:10px;align-items:center;font-weight:750!important}
#astro-content:has(#astro-settings-form) .btn .astro-ui-icon{width:21px;height:21px;flex:0 0 21px}
#astro-content:has(#astro-settings-form) .button-row{gap:10px}
#astro-content:has(#astro-settings-form) .astro-panel>p{font-size:14.5px;line-height:1.6;color:#52617e}
#astro-content:has(#astro-settings-form) .form-field span,#astro-content:has(#astro-settings-form) .form-field label{font-size:14.5px;line-height:1.45}
@media(max-width:650px){#astro-content:has(#astro-settings-form) .astro-panel{padding:16px 15px}#astro-content:has(#astro-settings-form) .astro-settings-title{font-size:18px}#astro-content:has(#astro-settings-form) .button-row .btn{width:100%}}

/* Astro v1.4.7 — barra superior equilibrada / Planner móvil visible / SMTP WordPress */
.astro-topbar{height:66px;padding:0 16px;gap:9px}
.astro-top-left,.astro-top-right{gap:9px}
.astro-topbar .astro-icon-btn{min-width:42px;width:auto;height:42px;min-height:42px;padding:0 10px;border-radius:11px;font-size:13px!important;gap:6px}
.astro-topbar .astro-icon-btn .astro-ui-icon{width:22px;height:22px}
.astro-topbar .astro-notification-button{min-width:85px;padding:0 11px}
.astro-topbar .astro-notification-button .astro-ui-icon{width:23px;height:23px}
.astro-topbar .astro-settings-button{min-width:42px}
.astro-topbar .astro-notice-badge{min-width:20px;height:20px;line-height:16px;font-size:11px;top:-6px;right:-6px;padding:1px 4px}
@media(min-width:1301px){.astro-topbar .astro-settings-button{min-width:83px}.astro-topbar .astro-notification-button{min-width:90px}}
@media(max-width:780px){
 .astro-topbar{height:64px;padding:0 10px;gap:6px}
 .astro-top-right{gap:5px}
 .astro-topbar .astro-icon-btn{width:41px;min-width:41px;height:41px;min-height:41px;padding:0 8px}
 .astro-topbar .astro-icon-btn .astro-ui-icon{width:21px;height:21px}
 .astro-topbar .astro-notification-button{min-width:43px}
 .astro-topbar .astro-action-label{display:none}
}
@media(max-width:640px){
 .astro-workspace,.astro-content,.astro-planner-split,.astro-calendar-column,.astro-calendar-wrap,.astro-calendar-scroll{min-width:0;max-width:100%;box-sizing:border-box}
 .astro-planner-split{grid-template-columns:minmax(0,1fr);gap:12px}
 .astro-calendar-scroll{width:100%;overflow-x:hidden;overflow-y:visible}
 .astro-planner-split .astro-month-grid,.astro-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:0!important;width:100%;max-width:100%;gap:1px}
 .astro-planner-split .astro-weekday,.astro-weekday{padding:8px 0;font-size:10px}
 .astro-planner-split .astro-day,.astro-day{min-width:0;min-height:67px;padding:5px 2px;gap:3px;overflow:hidden}
 .astro-planner-split .astro-day-number,.astro-day-number{font-size:12px;align-self:center;padding:2px 1px;min-height:22px;min-width:22px}
 .astro-planner-split .astro-cal-item,.astro-cal-item{height:7px;min-height:7px;width:100%;max-width:100%;border:0;border-radius:5px;background:var(--pcolor);padding:0;display:block;overflow:hidden;box-shadow:0 0 0 1px #ffffff33 inset}
 .astro-planner-split .astro-cal-item span,.astro-planner-split .astro-cal-item small,.astro-planner-split .astro-cal-item em,.astro-cal-item span,.astro-cal-item small,.astro-cal-item em{display:none!important}
 .astro-planner-split .astro-more,.astro-more{display:block;font-size:8px;line-height:1.1;white-space:nowrap;text-align:center}
 .astro-cal-controls{gap:6px;max-width:100%;flex-wrap:wrap}
 .astro-cal-tools{align-items:stretch;gap:8px;max-width:100%}
 .astro-cal-tools label{flex:1 1 170px;min-width:0;justify-content:space-between}
 .astro-cal-tools select{max-width:120px}
 .astro-cal-legend{width:100%;gap:7px 9px;order:3}
 .astro-cal-legend span{font-size:10px}
 .astro-planner-split .astro-cal-tools .btn{flex:1 1 auto;min-height:36px;white-space:nowrap}
 .astro-report-actions{display:flex;flex-wrap:wrap;gap:7px;max-width:100%}
 .astro-report-actions .btn{flex:1 1 120px;min-width:0;white-space:normal}
 .astro-calendar-wrap{padding:11px 9px}
 .astro-planner-topline{gap:7px;padding:9px;justify-content:space-between}
 .astro-planner-topline span{font-size:10.5px}
 .astro-topbar .astro-notification-button{width:43px}
}
@media(max-width:400px){
 .astro-topbar{padding:0 7px;gap:4px}
 .astro-top-left,.astro-top-right{gap:4px}
 .astro-topbar .astro-icon-btn{min-width:39px;width:39px;min-height:39px;height:39px;padding:0 7px}
 .astro-topbar .astro-notification-button{min-width:40px;width:40px}
 .astro-planner-split .astro-day,.astro-day{min-height:61px;padding:4px 1px}
 .astro-planner-split .astro-weekday,.astro-weekday{font-size:9px}
 .astro-cal-tools{gap:6px}
}

/* v1.4.8: pérdida de material/impresión – acción reconocible y formulario compacto */
.astro-app .btn.astro-loss-button{background:#c51f34!important;color:#fff!important;border-color:#b0182d!important;font-weight:800!important;min-height:43px;box-shadow:0 3px 10px rgba(197,31,52,.16)}
.astro-app .btn.astro-loss-button:hover{background:#a8192c!important;filter:none}
.astro-loss-history .astro-loss-sum{font-size:1.15rem;color:#a51b31}
.astro-loss-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}
.astro-loss-metrics span{background:#f8f3f5;border:1px solid #efdae0;padding:12px;border-radius:12px;display:flex;flex-direction:column;gap:4px;min-width:0}
.astro-loss-metrics b{font-size:1rem;color:#8b1930}.astro-loss-metrics small{font-size:.75rem;color:#626a7c}
.astro-loss-row{border-top:1px solid #e8ebf4;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 0}
.astro-loss-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}.astro-loss-row b{font-size:.93rem}.astro-loss-row small{font-size:.78rem;color:#6a7391;overflow-wrap:anywhere}.astro-loss-row>strong{white-space:nowrap;color:#a51b31}
.astro-loss-preview{display:grid;grid-template-columns:1fr auto;gap:7px 15px;border:1px solid #e9d2d8;background:#fff8fa;padding:15px;border-radius:12px;align-items:center}.astro-loss-preview strong{font-size:1.3rem;color:#a51b31}.astro-loss-preview>span{font-size:.86rem;color:#5c6173}
@media(max-width:480px){.astro-loss-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.astro-loss-row{gap:8px}.astro-app .btn.astro-loss-button{width:100%}}

/* v1.4.9 — Pérdidas por período visibles en Finanzas */
.astro-inline-link{padding:3px 5px;border:0;background:transparent;color:#2040ba;font-weight:700;text-decoration:underline;cursor:pointer;font-size:12px}
.astro-loss-finance-line b,.astro-loss-expense{color:#a81938!important}
.astro-loss-finance-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:17px 0}
.astro-loss-finance-cards>div{border:1px solid #e2e6f6;border-radius:12px;padding:14px;background:#f7f8ff;display:flex;flex-direction:column;gap:5px;min-width:0}
.astro-loss-finance-cards strong{color:#0b1c75;font-size:clamp(17px,1.5vw,23px)}
.astro-loss-finance-cards>div:first-child{background:#fff1f3;border-color:#f6d5dd}.astro-loss-finance-cards>div:first-child strong{color:#a81938}
.astro-loss-finance-cards small{font-size:12px;color:#647394}
.astro-loss-finance-table td{vertical-align:middle}.astro-loss-finance-table strong{white-space:nowrap}
.astro-loss-finance-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px;background:#f8f0f3;border:1px solid #f3d9e1;border-radius:12px;margin:13px 0;color:#7c2240;font-weight:700}.astro-loss-finance-foot strong{font-size:21px;color:#9b1735}
@media(max-width:850px){.astro-loss-finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.astro-loss-finance-cards>div{padding:10px}.astro-loss-finance-cards strong{font-size:17px}.astro-loss-finance-foot strong{font-size:18px}}

/* v1.5.0 — Login de una sola contraseña con sesión recordada. */
.astro-login-card .astro-remember{display:flex;align-items:center;gap:10px;margin:15px 0 0;color:#28386f;font-size:14px;font-weight:600;line-height:1.35;cursor:pointer}
.astro-login-card .astro-remember input[type="checkbox"]{appearance:auto;width:19px;height:19px;min-height:19px;flex:0 0 19px;margin:0;accent-color:#6149d8;cursor:pointer}
.astro-login-card .astro-remember span{display:block}
.astro-login-inline-error{background:#fff0f3;color:#9d2141;border-radius:9px;margin-top:12px;padding:11px;font-size:13px;font-weight:600}
.astro-login-card button:disabled{opacity:.7;cursor:wait}

/* Astro 1.5.1 — movilidad real: vistas sin desplazamiento lateral.
   No esconder datos: sustituir tablas por fichas/filas etiquetadas. */
.astro-mobile-records,.astro-finance-mobile-picker{display:none}
@media (max-width:640px){
 html,body,.astro-standalone,.astro-app{width:100%;max-width:100%;min-width:0;margin:0}
 .astro-app,.astro-workspace,.astro-content,#astro-content{min-width:0;max-width:100%;box-sizing:border-box}
 .astro-content{padding:14px 12px 112px!important}
 #astro-content>*{max-width:100%;min-width:0;box-sizing:border-box}
 .astro-panel,.astro-detail-section,.astro-calendar-wrap,.astro-finance-toolbar,.astro-accounting-lead{min-width:0;max-width:100%;box-sizing:border-box}
 .astro-panel{padding:14px 13px!important;margin-bottom:12px}
 .page-heading{gap:10px;margin-bottom:14px}
 .page-heading h1{font-size:clamp(23px,6vw,28px);line-height:1.2}
 .page-heading p{font-size:13px;line-height:1.45}
 .page-heading .btn{min-width:0;max-width:100%}
 .astro-stats,.astro-stats.three,.astro-customer-stats,.astro-finance-cards,.astro-loss-finance-cards,.astro-ledger-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .astro-stat,.astro-stats .astro-stat,.astro-customer-stats .astro-stat{min-width:0;padding:12px!important}
 .astro-stat strong,.astro-customer-stats .astro-stat strong,.astro-finance-cards .astro-stat strong{font-size:clamp(16px,4.6vw,21px)!important;overflow-wrap:anywhere}
 .stat-kicker{font-size:12px!important}
 .astro-customer-list .panel-heading{display:block}
 .astro-customer-search{margin-top:12px;width:100%;min-width:0}
 .astro-customer-search input{width:100%}
 .search-row{display:flex;align-items:stretch;flex-direction:column;gap:5px;margin-bottom:12px}
 .search-row input{width:100%;max-width:100%!important;flex:none}
 .search-row>.muted{align-self:flex-start}
 /* La tabla completa se mantiene en escritorio. Las fichas contienen los mismos datos y botones. */
 #astro-content .astro-desktop-records{display:none!important}
 #astro-content .astro-mobile-records{display:grid;gap:11px;min-width:0;width:100%}
 .astro-mobile-record{min-width:0;width:100%;border:1px solid #dfe5f4;border-radius:14px;background:linear-gradient(180deg,#fff,#fafdff);padding:13px;box-shadow:0 4px 13px rgba(22,41,95,.05);display:grid;gap:11px}
 .astro-mobile-record-head,.astro-mobile-record-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
 .astro-mobile-record-title{appearance:none;padding:3px 0;color:#102ba1;background:none;border:0;font-size:15px;font-weight:850;max-width:100%;overflow-wrap:anywhere;text-align:left}
 .astro-mobile-record .astro-pill{white-space:normal;font-size:11px;text-align:center}
 .astro-mobile-record-customer{display:flex;gap:10px;align-items:center;min-width:0}
 .astro-mobile-record-customer>div{display:grid;gap:1px;min-width:0;flex:1}
 .astro-mobile-record-customer strong{font-size:15px;color:#14235e;overflow-wrap:anywhere;line-height:1.35}
 .astro-mobile-record-customer small{font-size:12px;color:#60708d;overflow-wrap:anywhere;line-height:1.45}
 .astro-mobile-record-customer .product-thumb{width:46px;height:46px}
 .astro-mobile-record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .astro-mobile-record-facts>div{background:#f3f6fd;border-radius:9px;min-width:0;padding:9px 10px;display:grid;gap:3px}
 .astro-mobile-record-facts span{font-size:11px;color:#667695;font-weight:650}
 .astro-mobile-record-facts b{font-size:13px;color:#11276b;font-weight:800;line-height:1.32;overflow-wrap:anywhere}
 .astro-mobile-record-foot .btn,.astro-mobile-record-action{min-height:44px;flex:1 1 130px}
 .astro-mobile-client .astro-mobile-record-action{width:100%}
 .astro-mobile-empty{padding:13px;color:#546788}
 /* Resto de tablas: filas como tarjetas etiquetadas, sin scroll lateral. */
 #astro-content .table-scroll{width:100%;max-width:100%;overflow-x:visible;overflow-y:visible}
 #astro-content .table-scroll .astro-table{display:block;width:100%;min-width:0!important;max-width:100%;border-collapse:separate}
 #astro-content .table-scroll .astro-table thead{display:none}
 #astro-content .table-scroll .astro-table tbody{display:grid;width:100%;min-width:0;gap:10px}
 #astro-content .table-scroll .astro-table tbody tr{display:block;width:100%;min-width:0;border:1px solid #dfe6f6;border-radius:11px;padding:9px 11px;background:#fff;box-shadow:0 3px 10px rgba(20,35,80,.035)}
 #astro-content .table-scroll .astro-table tbody td{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);align-items:center;gap:7px;padding:9px 2px;min-width:0;max-width:100%;white-space:normal!important;font-size:13px;overflow-wrap:anywhere;border-bottom:1px solid #eef1f7;line-height:1.4}
 #astro-content .table-scroll .astro-table tbody td:last-child{border:0}
 #astro-content .table-scroll .astro-table tbody td::before{content:attr(data-label);font-size:11.5px;line-height:1.35;color:#60708f;font-weight:750;overflow-wrap:anywhere}
 #astro-content .table-scroll .astro-table tbody td[colspan]{display:block;width:100%}
 #astro-content .table-scroll .astro-table tbody td[colspan]::before{content:none}
 #astro-content .table-scroll .astro-table tbody td .btn{white-space:normal;max-width:100%;min-height:39px}
 #astro-content .table-scroll .astro-table tbody td>*{max-width:100%;min-width:0}
 .astro-finance-mobile-picker{display:flex;flex-direction:column;gap:7px;width:100%;padding:13px;margin:0 0 14px;background:#fff;border:1px solid #dfe5f7;border-radius:12px;color:#263773}
 .astro-finance-mobile-picker>span{font-size:13px;font-weight:800}
 .astro-finance-mobile-picker select{width:100%;min-width:0;font-size:16px!important;min-height:48px!important;background:#f6f8ff!important;border:1px solid #cfd9f2!important;font-weight:700}
 #astro-content .astro-tabbar{display:none!important}
 .astro-finance-toolbar{display:flex;flex-direction:column;gap:9px;padding:13px!important;margin-bottom:10px}
 .astro-finance-toolbar>div{width:100%}
 .astro-finance-toolbar strong{font-size:15px}
 .astro-finance-toolbar label{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:5px;font-size:12px}
 .astro-finance-toolbar input[type=month]{display:block;width:100%!important;max-width:100%!important;min-width:0;min-height:46px}
 .astro-finance-columns{grid-template-columns:1fr!important;gap:11px}
 .astro-accounting-lead{padding:13px!important;display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .astro-accounting-lead>div{min-width:0;max-width:100%}
 .astro-accounting-lead h2{font-size:18px!important;overflow-wrap:anywhere}
 .astro-accounting-lead .btn{width:100%;min-height:42px}
 .astro-accounting-line{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);align-items:start;gap:9px}
 .astro-accounting-line span{min-width:0;overflow-wrap:anywhere}
 .astro-accounting-line b,.astro-accounting-line strong{text-align:right;min-width:0;overflow-wrap:anywhere;white-space:normal}
 .astro-receivables-total,.astro-ledger-grid{min-width:0;max-width:100%}
 .astro-client-back{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .astro-client-back .btn{min-width:0;max-width:100%;padding:9px;font-size:12px!important;overflow-wrap:anywhere;line-height:1.35}
 .astro-client-profile-identity{width:100%}
 .astro-client-profile-head .astro-client-links{width:100%}
 .astro-client-links .btn{min-width:0;overflow-wrap:anywhere}
 .astro-client-contact-grid,.astro-client-columns{grid-template-columns:1fr!important}
 .astro-client-line{gap:8px;flex-wrap:wrap;min-width:0}
 .astro-client-line>div{flex:1;min-width:0}
 .astro-client-line .btn{max-width:100%}
 .astro-client-mobile-numbers b{overflow-wrap:anywhere}
 /* evita controles que se salen del borde, no oculta el contenido */
 .astro-panel .panel-heading{max-width:100%;min-width:0}
 .astro-panel .panel-heading>*{min-width:0;max-width:100%}
 .astro-panel .button-row{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
 .astro-panel .button-row .btn{min-width:0;flex:1 1 135px}
 .astro-client-private{min-width:0}
 .astro-loss-finance-cards strong{overflow-wrap:anywhere}
 .astro-topbar{max-width:100%;min-width:0}
 .astro-mobile-tabs{z-index:60}
 .astro-modal-panel{width:calc(100vw - 24px);max-width:calc(100vw - 24px);min-width:0;padding:18px 14px!important}
 .astro-modal-panel .astro-form-grid{grid-template-columns:1fr!important;min-width:0}
 .astro-modal-panel input,.astro-modal-panel textarea,.astro-modal-panel select{min-width:0;max-width:100%}
}
@media(max-width:359px){
 .astro-content{padding-left:9px!important;padding-right:9px!important}
 .astro-mobile-record{padding:11px}
 .astro-mobile-record-facts>div{padding:8px 7px}
 .astro-customer-stats .astro-stat,.astro-finance-cards .astro-stat{padding:9px!important}
 .astro-topbar{gap:3px;padding:0 5px}
}
@media(max-width:640px){
 #astro-content .table-scroll .astro-table .order-customer,
 #astro-content .table-scroll .astro-table .astro-client-product{max-width:100%;min-width:0;gap:6px;overflow-wrap:anywhere}
 #astro-content .table-scroll .astro-table .order-customer span:not(.product-thumb){max-width:100%;min-width:0;flex:1 1 0%;overflow-wrap:anywhere}
 #astro-content .table-scroll .astro-table .order-customer small{max-width:100%;min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
 #astro-content .table-scroll .astro-table .order-customer b{font-size:12px;overflow-wrap:anywhere}
}
