/* DRAXEEN Tech: every rule is scoped to this edition or its own dialogs. */
body.tech-mode .tw-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.tw-panels .t-card{min-width:0}.tw-panels dl{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1.4fr);gap:10px}.tw-panels dd{margin:0;text-align:right;overflow-wrap:anywhere}.tw-photos{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.tw-photos img{width:100px;height:90px;object-fit:contain;border:1px solid #deebf4;border-radius:12px}.tw-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tw-totals>div{background:#effafa;border:1px solid #d9efef;border-radius:14px;padding:12px;display:grid;gap:5px}.tw-totals strong{font-size:clamp(16px,1.5vw,24px)}.tw-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.tw-actions .t-button{font-size:13px;padding:10px 12px}.tw-receipts,.tw-margin{font-size:12px;color:#5a718c;background:#f3f7fc;padding:12px;border-radius:12px;margin-top:12px}.tw-visit{border-bottom:1px solid #deebf4;padding:12px 0}.tw-visit .t-button{margin-top:10px}.tw-quote-lines{max-height:32vh;overflow:auto;border:1px solid #dce8ef;border-radius:14px;padding:12px}.tw-quote-lines>div{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;padding:10px 0;border-bottom:1px solid #e4edf2}.t-dialog textarea{min-height:90px;border:1px solid #d9e5ef;border-radius:10px;padding:12px;resize:vertical;font:inherit;width:100%}.t-dialog canvas{width:100%;max-width:600px;height:120px;border:1px dashed #aac4d8;border-radius:12px;background:white}.t-dialog .t-form-grid{max-height:70dvh;overflow:auto}.tc-page{padding:24px!important}.tc-shell{color:#12344b}.tc-header,.tc-turn{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.tc-header h1{font-size:clamp(26px,3vw,38px);font-weight:900;margin:5px 0}.tc-header small{color:#009d9c;letter-spacing:2px;font-weight:800}.tc-header p,.tc-turn p,.tc-metrics p,.tc-summary p{color:#66839a}.tc-header button{background:#00a7ac;color:white;border:0;border-radius:12px;padding:14px 20px;font-weight:800}.tc-turn{background:linear-gradient(110deg,#062c44,#094b64);border-radius:18px;padding:22px;color:white}.tc-turn h2{font-size:22px;font-weight:800}.tc-turn p{color:#b4dbe9}.tc-glyph{display:grid;place-items:center;width:60px;height:60px;font-size:34px;color:#14dfd3;background:#ffffff15;border-radius:15px}.tc-turn>div{flex:1}.tc-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.tc-metrics article,.tc-summary,.tc-controls{background:white;border:1px solid #dce8f1;border-radius:18px;padding:22px;box-shadow:0 5px 20px #103c6410}.tc-metrics article{display:grid;gap:7px}.tc-metrics strong{font-size:28px;font-weight:900;color:#008c9c}.tc-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:20px}.tc-layout>*{min-width:0}.tc-controls h2,.tc-summary h2{font-size:20px;font-weight:800;margin-bottom:16px}.tc-controls p{color:#667f96;line-height:1.6;margin:12px 0}.tc-controls label{display:grid;gap:8px;margin:14px 0;font-weight:700}.tc-controls input{padding:14px;border:1px solid #cbdde9;border-radius:10px;width:100%;min-height:48px;background:#f8fbfe}.tc-controls button{padding:12px 18px;border-radius:10px;background:#eaf7fa;color:#006e83;border:1px solid #cae4ed;font-weight:800;min-height:44px}.tc-controls button[onclick*="CashSession"]{background:#00a5ae;color:white;width:100%;border:0}.tc-summary{margin-bottom:18px}.tc-summary>div{display:grid;grid-template-columns:1fr auto;padding:12px 0;border-bottom:1px solid #e4edf3}.tc-summary small{grid-column:1/-1;color:#68859b}.tc-summary p{font-size:12px;margin-top:15px}.tc-shell .history-cash-panel{height:auto;min-height:300px;max-height:500px}.tc-review{background:white;border:1px solid #dce8f1;border-radius:14px;margin-top:18px;padding:18px}.tc-review summary{font-weight:800;cursor:pointer}.tc-expense>div{max-width:500px!important;border-radius:22px!important}.tc-expense>div>div:first-child{background:linear-gradient(120deg,#062e45,#008d9e)!important}.tc-expense [data-tc-expense-copy]{display:block;color:#54748c;font-size:13px;line-height:1.6;margin:8px 0}.tc-expense label{font-weight:800}.tc-expense #inp-exp-desc,.tc-expense #inp-exp-amount{background:#f4fafd!important;border-color:#bddfe7!important;color:#10384c!important}.tc-expense button[onclick="saveExpense()"]{background:#009fa9!important;color:white!important}
@media(max-width:900px){body.tech-mode .tw-panels,.tc-layout{grid-template-columns:1fr}.tc-metrics{grid-template-columns:1fr}.tc-header{align-items:flex-start;flex-direction:column}.tc-page{padding:12px!important}.tw-quote-lines>div{grid-template-columns:1fr 1fr}.tw-quote-lines .t-check{grid-column:1/-1}.tw-totals>div{padding:9px}.tc-turn{padding:16px;flex-wrap:wrap}}
#t-sidebar-nav,#t-mobile-nav{display:none}
.t-mobile-catalog{display:none}
@media(max-width:767px){body.tech-mode #view-tech .t-filters label:not(.t-search){display:grid;grid-template-columns:minmax(0,1fr);gap:6px;font-size:12px}body.tech-mode #view-tech .t-filters .t-search{display:flex;gap:10px;align-items:center}body.tech-mode #view-tech .t-filters .t-search input{flex:1;width:0;min-width:0}}
body.tech-mode #view-tech.active{display:block!important;width:100%;min-width:0;max-width:100%}body.tech-mode #view-tech .t-workspace{width:100%;min-width:0;max-width:100%;box-sizing:border-box}body.tech-mode #view-tech .t-heading{flex-wrap:wrap;gap:12px}body.tech-mode #view-tech .t-heading>div{min-width:0}body.tech-mode #view-tech .t-product-detail{min-width:0}
@media(max-width:767px){body.tech-mode #view-tech .t-catalog-desktop{display:none}body.tech-mode #view-tech .t-mobile-catalog{display:grid;gap:14px;width:100%;min-width:0}body.tech-mode #view-tech .t-catalog-card{display:grid;grid-template-columns:94px minmax(0,1fr);gap:12px;align-items:start;padding:13px;border:1px solid #dfebf4;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fcff);box-shadow:0 4px 15px #0d365c08}body.tech-mode #view-tech .t-catalog-photo{display:flex;align-items:center;justify-content:center;width:94px;height:112px;padding:8px;background:#edf6fb;border:1px solid #e3edf5;border-radius:13px;overflow:hidden}body.tech-mode #view-tech .t-catalog-photo>img,body.tech-mode #view-tech .t-catalog-photo>.t-atlas,body.tech-mode #view-tech .t-catalog-photo>.t-photo-placeholder{height:96px;width:78px;max-width:100%;object-fit:contain;margin:0}body.tech-mode #view-tech .t-catalog-copy{min-width:0;display:grid;gap:5px}body.tech-mode #view-tech .t-catalog-category{font-size:10px;font-weight:800;color:#008e9f;letter-spacing:.4px}body.tech-mode #view-tech .t-catalog-copy h3{font-size:14px;line-height:1.35;font-weight:900;color:#0c2850;overflow-wrap:anywhere;margin:0}body.tech-mode #view-tech .t-catalog-sku{font-size:10px;line-height:1.35;color:#6e86a0;overflow-wrap:anywhere}body.tech-mode #view-tech .t-catalog-price{font-size:20px;font-weight:900;line-height:1.2;color:#073955;white-space:normal;overflow-wrap:anywhere}body.tech-mode #view-tech .t-catalog-copy .t-tag{justify-self:start;font-size:10px;padding:4px 7px}body.tech-mode #view-tech .t-catalog-actions{grid-column:1/-1;display:flex;gap:8px;border-top:1px solid #e4eef6;padding-top:10px}body.tech-mode #view-tech .t-catalog-actions .t-button{flex:1;min-height:42px;justify-content:center;padding:10px 6px;font-size:12px;gap:7px}body.tech-mode #view-tech .t-card>header{flex-wrap:wrap;gap:8px}body.tech-mode #view-tech .t-card>header h2{min-width:0;flex:1;white-space:normal}body.tech-mode #view-tech .t-two>*{min-width:0;max-width:100%}body.tech-mode #view-tech .t-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;scrollbar-width:none;padding:2px 0 7px}body.tech-mode #view-tech .t-tabs::-webkit-scrollbar{display:none}body.tech-mode #view-tech .t-tabs button{flex:0 0 auto;min-height:40px;padding:10px 13px;white-space:nowrap}body.tech-mode #view-tech .t-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}body.tech-mode #view-tech .t-filters label{min-width:0}body.tech-mode #view-tech .t-filters input,body.tech-mode #view-tech .t-filters select{min-width:0;width:100%;min-height:44px}}
body.tech-mode{--t-ink:#081b43;--t-muted:#657b9f;--t-line:#e0eaf5;--t-blue:#087dff;--t-teal:#00aa9d;--t-bg:#f2f8fd}
body.tech-mode #sidebar{background:linear-gradient(165deg,#042b43,#001b32 70%);border:0}
body.tech-mode #sidebar nav>#t-sidebar-nav{display:block}
body.tech-mode #sidebar nav>#h-sidebar-nav,body.tech-mode #sidebar nav>#r-sidebar-nav,body.tech-mode #sidebar nav>.nav-btn:not(.ad-nav):not(#nav-cotizaciones),body.tech-mode #sidebar .ad-nav-label{display:none!important}
body.tech-mode #t-sidebar-nav p{padding:20px 14px 8px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#86a6be}
body.tech-mode #t-sidebar-nav button{display:flex;gap:12px;align-items:center;width:100%;min-height:40px;padding:10px 14px;margin:3px 0;border-radius:7px;text-align:left;color:#d5e6f3;font-size:13px;font-weight:600;border-left:3px solid transparent}
body.tech-mode #t-sidebar-nav button.active{background:linear-gradient(90deg,#006f85,#00536e);border-left-color:#00e1d5;color:white;box-shadow:0 3px 12px #00142055}
body.tech-mode #t-sidebar-nav button i{width:19px;text-align:center;color:#bceff4}body.tech-mode #t-sidebar-nav button.active i{color:#00e1d5}
body.tech-mode #desktop-header{background:#fff;border-bottom:1px solid #e2edf5}
body.tech-mode #h-mobile-nav,body.tech-mode #r-mobile-nav,body.tech-mode #mobile-nav{display:none!important}
body.tech-operating #main-content,body.tech-operating main{background:var(--t-bg)}
body.tech-mode .t-workspace{max-width:1680px;margin:auto;color:var(--t-ink);font-family:Nunito,Arial,sans-serif;padding:0 0 24px}
body.tech-mode #view-tech{padding:20px 24px}
.t-workspace *{box-sizing:border-box}.t-workspace button,.t-dialog button{cursor:pointer}.t-workspace button:disabled,.t-dialog button:disabled{cursor:not-allowed;opacity:.48}
.t-workspace button:focus-visible,.t-dialog button:focus-visible,.t-workspace input:focus-visible,.t-dialog input:focus-visible{outline:3px solid #1a9cff;outline-offset:2px}
.t-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:7px 0 18px}.t-heading h1{font-size:25px;line-height:1.2;font-weight:900;letter-spacing:-.6px;margin:0}.t-heading p{color:var(--t-muted);font-size:13px;margin:5px 0 0}
.t-status{display:flex;align-items:center;gap:7px;color:#4a718b;font-size:11px;margin:0 0 10px}.t-status button{margin-left:auto}.t-status.offline{padding:12px;border:1px solid #eed49a;background:#fff6e3;color:#77510c;border-radius:8px;font-size:13px}
.t-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(110deg,#0088a3,#00ae9d);border:1px solid #009a9c;border-radius:7px;padding:10px 17px;min-height:39px;color:white;font-size:13px;font-weight:800;white-space:nowrap;box-shadow:0 3px 8px #00969816}.t-button.secondary{background:#fff;color:#31517c;border:1px solid #d7e5f4;box-shadow:none}.t-button.wide{width:100%;min-height:48px;font-size:15px}
.t-card{min-width:0;background:#fff;border:1px solid var(--t-line,#dce8f5);border-radius:9px;padding:16px;box-shadow:0 3px 14px #234d8310;margin-bottom:16px;overflow:hidden}.t-card>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px}.t-card h2{font-size:15px;line-height:1.4;font-weight:900;margin:0;color:#0a2051}.t-card h3{font-size:15px;font-weight:800}.t-card>header .t-button{border:0;padding:0;min-height:0;color:#087dff;font-size:11px;box-shadow:none;background:none}.t-card p{font-size:13px;line-height:1.6}
.t-metrics{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:12px;margin-bottom:17px}.t-metrics article{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--t-line);background:linear-gradient(115deg,#fff,#fbfdff);border-radius:8px;padding:16px 13px;min-width:0;box-shadow:0 3px 13px #10437b06}.t-metrics article>div{min-width:0}.t-metrics span{display:block;font-size:12px;color:#587299;margin-bottom:6px}.t-metrics strong{font-size:23px;line-height:1;font-weight:900;letter-spacing:-.4px;display:block;overflow-wrap:anywhere}.t-metrics small{display:block;font-size:11px;color:#008b7a;margin-top:6px}.t-metrics b{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#e2fbf6;color:#00a498;flex-shrink:0;font-size:21px}.t-metrics .blue{background:#e9f3ff;color:#167fff}.t-metrics .orange{background:#fff2e1;color:#ea8c00}.t-metrics .purple{background:#f1eaff;color:#8163ff}.t-metrics .red{background:#fff0f2;color:#df3463}
.t-home-main{display:grid;grid-template-columns:1fr 1.2fr;gap:16px}.t-home-bottom{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.t-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.t-repair-details{display:grid;grid-template-columns:1fr 1.05fr 1.1fr;gap:16px}.t-two-buttons{display:flex;gap:8px;margin-top:10px}.t-sale-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.t-product-detail{display:grid;grid-template-columns:minmax(280px,.75fr) 1fr;gap:20px}
.t-table-wrap{overflow:auto;max-width:100%;scrollbar-width:thin}.t-workspace table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;text-align:left;white-space:nowrap}.t-workspace th{font-size:11px;background:#f2f7fe;padding:10px 9px;font-weight:800;color:#36537f;border-top:1px solid #edf3fa;border-bottom:1px solid #edf3fa}.t-workspace td{padding:11px 9px;border-bottom:1px solid #edf3fa;color:#36537f;max-width:230px;white-space:normal;vertical-align:middle}.t-workspace td strong{color:#0a2051}.t-workspace tbody tr:hover{background:#f8fcff}.t-workspace tr[role=button]{cursor:pointer}.t-workspace td:has(.t-product-name){min-width:205px}.t-products-table td:first-child{width:31%}
.t-tag{display:inline-flex;gap:4px;align-items:center;font-size:10px;font-weight:800;line-height:1.3;padding:4px 7px;border-radius:5px;background:#dcf8ef;color:#087a62;white-space:nowrap}.t-tag:before{content:'●';font-size:8px}.t-tag.blue{background:#e5f1ff;color:#0864c2}.t-tag.orange{background:#fff2d6;color:#9b5a00}.t-tag.red{background:#ffebef;color:#b92145}.t-tag.purple{background:#f0e7ff;color:#6c34b1}
.t-product-name{display:flex;align-items:center;gap:10px;text-align:left}.t-product-name>img,.t-product-name>.t-atlas,.t-product-name>.t-photo-placeholder{width:46px;height:42px;object-fit:contain;flex:0 0 46px}.t-product-name strong{font-size:12px;display:block}.t-product-name small{font-size:10px;display:block;color:#7b8ca7;margin-top:3px}.t-atlas{display:block;background-image:url('catalog-atlas.webp');background-size:400% 200%;background-repeat:no-repeat;aspect-ratio:1;background-color:white}.t-photo-placeholder{display:grid;place-items:center;background:#eef6fc;border-radius:7px;color:#69a6ce;font-size:24px}.t-plain{background:transparent;border:0;color:#0879df;font-size:12px;font-weight:700;text-align:left;padding:0}.t-icon-button{background:#edf5ff;border:1px solid #dfebff;color:#0879ff;border-radius:5px;padding:5px 7px;margin:2px}.t-round{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#00a99e;color:white;border:0;font-size:20px;line-height:1}.t-remove{color:#ed4967;background:#fff0f3;border-radius:50%;width:21px;height:21px;font-size:16px}
.t-product-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.t-product-cards>article{position:relative;border:1px solid #e0ebf6;border-radius:7px;background:#fbfdff;padding:12px;min-width:0}.t-product-cards>article>img,.t-product-cards>article>.t-atlas,.t-product-cards>article>.t-photo-placeholder{height:90px;width:90px;max-width:100%;object-fit:contain;margin:0 auto 8px}.t-product-cards h3{font-size:12px;line-height:1.3;margin:0 0 4px}.t-product-cards small{font-size:10px;color:#7288a9;display:block}.t-product-cards strong{display:block;font-weight:900;font-size:15px;margin:4px 0}.t-product-cards .t-round{position:absolute;right:7px;bottom:8px}.t-product-cards.compact{display:flex;flex-direction:column}.t-product-cards.compact>article{display:flex;gap:12px;padding:11px 4px;border-width:0 0 1px;background:#fff;align-items:center}.t-product-cards.compact>article>img,.t-product-cards.compact>article>.t-atlas,.t-product-cards.compact>article>.t-photo-placeholder{width:55px;height:55px;flex:0 0 55px;margin:0}.t-product-cards.compact .t-tag{display:none}.t-product-cards.compact .t-round{position:static;margin-left:auto}
.t-ranking article{display:flex;align-items:center;gap:9px;font-size:12px;border-bottom:1px solid #f0f5fa;padding:8px 0}.t-ranking article>img,.t-ranking article>.t-atlas{height:30px;width:30px;object-fit:contain;flex-shrink:0}.t-ranking em{font-size:10px;font-style:normal;border-radius:5px;background:#f0f5fb;padding:3px 5px}.t-ranking span{flex:1}.t-ranking strong{color:#00a18b}.t-activity article{display:flex;gap:12px;padding:10px 0}.t-activity i{background:#e2f9f5;color:#00a69b;border-radius:50%;padding:7px;height:28px}.t-activity strong,.t-activity span,.t-activity small{display:block;font-size:11px}.t-activity small{color:#6c85a5;font-size:10px}
.t-chart{display:flex;min-height:210px;height:230px;padding:15px 5px 25px;gap:10px}.t-chart-axis{display:flex;flex-direction:column;justify-content:space-between;width:67px;font-size:10px;color:#8092ab}.t-chart-bars{display:flex;align-items:end;justify-content:space-around;flex:1;gap:14px;border-bottom:1px solid #e1ebf5;background:repeating-linear-gradient(0deg,transparent,transparent calc(50% - 1px),#edf3fa 50%)}.t-chart-bars>div{height:100%;flex:1;display:flex;align-items:end;position:relative;min-width:12px}.t-chart-bars>div>span{width:100%;min-height:2px;border-radius:3px 3px 0 0;background:linear-gradient(#11d6df,#219dff)}.t-chart-bars small{position:absolute;top:calc(100% + 8px);font-size:10px;left:50%;transform:translateX(-50%);color:#617b9d}.t-category-bars button{display:flex;gap:16px;width:100%;align-items:center;padding:10px 0;font-size:12px;color:#23466d}.t-category-bars button>span{width:125px;text-align:left}.t-category-bars i{height:7px;border-radius:3px;background:#e7eef8;flex:1;overflow:hidden}.t-category-bars b{height:100%;display:block;background:linear-gradient(90deg,#1788ff,#5aaaff);border-radius:3px}.t-category-bars strong{width:30px;font-size:11px;color:#2787da}
.t-filters{display:flex;gap:16px;align-items:center;margin-bottom:16px}.t-filters label{display:flex;gap:8px;align-items:center;font-size:12px;color:#506b90}.t-filters input,.t-filters select,.t-search input,.t-dialog input,.t-dialog select,.t-dialog textarea{border:1px solid #cfdef1;border-radius:6px;background:#fff;padding:9px 11px;color:#26476b;font:inherit;min-height:36px;min-width:0;max-width:100%}.t-search{display:flex;align-items:center;gap:8px;border:1px solid #d6e4f6;padding:0 10px;border-radius:6px;flex:1;color:#6382aa}.t-search input{border:0;flex:1;width:100%;outline:none}.t-searchbar{display:flex;gap:10px;margin-bottom:15px}.t-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}.t-tabs button{padding:7px 11px;border-radius:6px;background:#f1f6fd;color:#47628b;border:1px solid #e8effa;font-size:11px;min-height:31px}.t-tabs button.active{color:white;background:linear-gradient(110deg,#0086ff,#02b1dd);border-color:transparent}.t-tabs button:hover{filter:brightness(.96)}
.t-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.t-category-grid button{padding:10px;border:1px solid #e3edf6;border-radius:7px;text-align:left;background:#fafdff;min-width:0}.t-category-grid img,.t-category-grid .t-atlas{height:62px;width:62px;object-fit:contain;margin:auto}.t-category-grid strong,.t-category-grid small{display:block;font-size:12px}.t-category-grid small{font-size:10px;color:#7087a6}.t-detail-photo img,.t-detail-photo .t-atlas{width:100%;max-width:350px;aspect-ratio:1;object-fit:contain;margin:auto}.t-price{font-size:30px!important;margin:14px 0!important}
.t-workspace dl{display:grid;grid-template-columns:1fr 1.2fr;gap:11px 16px;font-size:12px;margin:18px 0;color:#5c769a}.t-workspace dd{text-align:right;color:#183862;overflow-wrap:anywhere}.t-timeline{list-style:none;margin:0;padding:0}.t-timeline li{display:flex;gap:9px;border-left:2px solid #d7eee9;margin-left:6px;padding:0 0 15px 10px;font-size:12px;position:relative}.t-timeline i{color:#00b49d;position:relative;left:-17px;margin-right:-17px;background:white}.t-timeline small{display:block;color:#6e86a7;font-size:10px}.t-timeline strong{font-size:12px;color:#244574}.t-timeline p{margin:5px 0;font-size:12px;color:#557395}.t-used-parts article{display:grid;grid-template-columns:1fr auto;gap:5px;padding:9px 0;border-bottom:1px solid #e8eff7;font-size:12px}.t-budget{background:#fff;border:1px solid #dce9f6;border-radius:8px;padding:14px;display:grid;grid-template-columns:1fr auto;font-size:12px;gap:10px}.t-budget small{grid-column:1/-1;color:#758ba5}.t-used-parts~.t-budget{margin-top:10px}.t-repair-details>.t-budget{align-self:start}
.t-donut{width:170px;height:170px;display:grid;place-items:center;border:25px solid #d7effd;border-top-color:#179aff;border-right-color:#00b5a6;border-bottom-color:#9670ff;border-radius:50%;margin:16px auto}.t-donut strong{font-size:26px}.t-donut small{font-size:11px;display:block;text-align:center;color:#7185a4}.t-serial-detail{display:grid;grid-template-columns:150px 1fr 1fr;gap:25px}.t-serial-photo img,.t-serial-photo .t-atlas{width:140px;height:140px;object-fit:contain}.t-serial-detail dl{font-size:12px}.t-caption{font-size:11px!important;color:#7990ac;margin-top:12px}.t-request{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e7eff8;font-size:12px}.t-request>div{flex:1}.t-request small{display:block;color:#7e93ae}
.t-quantity{display:inline-flex;border:1px solid #d7e6f6;border-radius:6px;overflow:hidden;align-items:center}.t-quantity button{padding:5px 9px;color:#0877d7;background:#edf6ff}.t-quantity strong{padding:0 10px;min-width:30px;text-align:center}.t-checkout-total{margin:20px 0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dfeaf6;padding-top:16px;gap:10px;font-weight:900}.t-checkout-total strong{font-size:24px;letter-spacing:-.5px}.t-recent-sale{display:flex;align-items:center;width:100%;gap:10px;border-bottom:1px solid #e7eff8;padding:11px 0;font-size:11px}.t-recent-sale>strong:first-child{flex:1}.t-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#f9fcff;border:1px dashed #e2edf6;border-radius:7px;min-height:140px;padding:24px 12px;color:#7490ac;gap:8px;font-size:12px}.t-empty>i{font-size:25px;color:#80bbc9}.t-empty strong{color:#456b89;font-size:13px}.t-empty span{font-size:11px;max-width:250px}
.t-dialog{width:min(700px,94vw);max-height:90dvh;overflow:auto;border:1px solid #dbe8f3;border-radius:14px;box-shadow:0 24px 100px #001c3c55;padding:22px;color:#173359;font-family:Nunito,Arial,sans-serif}.t-dialog::backdrop{background:#001d3c88;backdrop-filter:blur(3px)}.t-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.t-dialog h2{font-size:21px;font-weight:900;line-height:1.3}.t-dialog header button{border:0;border-radius:8px;background:#f0f5fa;padding:5px 12px;font-size:24px}.t-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.t-dialog [role=status]{color:#ac2546;margin-top:14px;font-size:13px}.t-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.t-form-grid label{font-size:13px;font-weight:700;display:flex;flex-direction:column;gap:7px}.t-form-grid label.t-check{display:flex;flex-direction:row;align-items:center}.t-check input{min-height:0;width:17px;height:17px}.t-wide{grid-column:1/-1}.t-more small{font-size:10px;letter-spacing:.1em;color:#477b9b}.t-more-links{display:grid;grid-template-columns:1fr 1fr;gap:9px}.t-more-links button{display:flex;align-items:center;gap:12px;padding:15px 10px;background:#f5faff;border:1px solid #deebf6;border-radius:7px;text-align:left;color:#245174;font-size:13px}.t-more-links button>span{flex:1}.t-more-links button>i:first-child{color:#00a59c;width:22px;text-align:center}
.t-mobile-only{display:none}.t-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}.t-shortcuts button{display:flex;flex-direction:column;align-items:center;gap:7px;background:#e1f9f5;color:#007d7f;border-radius:8px;padding:13px 7px;font-size:11px;font-weight:800}.t-shortcuts i{font-size:22px}.t-shortcuts .tone-1{background:#e7f2ff;color:#076deb}.t-shortcuts .tone-2{background:#eee8ff;color:#7038dd}.t-shortcuts .tone-3{background:#fff0e8;color:#dd6814}
@media(min-width:1600px){.t-workspace table{font-size:13px}.t-workspace td{padding:13px 11px}.t-metrics strong{font-size:26px}.t-chart{height:265px}}
@media(max-width:1150px){.t-home-main{grid-template-columns:1fr}.t-home-bottom{grid-template-columns:1fr 1fr}.t-home-bottom>.t-card:last-child{grid-column:1/-1}.t-metrics{grid-auto-flow:initial;grid-template-columns:repeat(3,minmax(0,1fr))}.t-repair-details{grid-template-columns:1fr 1fr}.t-sale-layout{grid-template-columns:minmax(0,1fr) 260px}.t-serial-detail{grid-template-columns:120px 1fr}.t-serial-detail>div:last-child{grid-column:1/-1}}
@media(max-width:767px){body.tech-mode #t-mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #dde8f4;padding:8px 5px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #00335908}body.tech-mode #t-mobile-nav button{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:10px;color:#758bad;flex:1;min-width:0}body.tech-mode #t-mobile-nav button i{font-size:18px}body.tech-mode #t-mobile-nav button.active{color:#009a96;font-weight:900}body.tech-mode #view-tech{padding:12px 10px 85px}.t-heading h1{font-size:22px}.t-heading p{font-size:12px}.t-heading{align-items:flex-start;gap:8px;margin:8px 0 14px;flex-wrap:wrap}.t-heading>.t-button{padding:8px 12px;font-size:12px}.t-status{font-size:10px}.t-card{padding:12px;border-radius:8px;margin-bottom:12px}.t-card h2{font-size:14px}.t-mobile-only{display:block}.t-home-main,.t-home-bottom,.t-two,.t-sale-layout,.t-product-detail,.t-repair-details{display:flex;flex-direction:column;gap:0}.t-home-main>.t-card:has(.t-table-wrap),.t-home-bottom{display:none}.t-metrics{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.t-metrics article{padding:12px 10px;min-height:74px}.t-metrics b{width:32px;height:32px;font-size:17px}.t-metrics span{font-size:10px}.t-metrics strong{font-size:19px}.t-chart{height:190px;min-height:170px;padding-right:0}.t-chart-bars{gap:10px}.t-chart-axis{width:55px;font-size:9px}.t-searchbar{gap:7px}.t-searchbar .t-button{padding:8px 12px}.t-search input{font-size:12px}.t-tabs{gap:5px}.t-tabs button{font-size:10px;padding:7px 9px;flex:1;min-width:max-content}.t-filters{gap:8px;flex-wrap:wrap}.t-filters label{flex:1}.t-filters .t-search{min-width:100%}.t-product-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.t-product-detail>.t-card:first-child{border-bottom:0;margin-bottom:0;border-radius:8px 8px 0 0}.t-product-detail>.t-card+section{border-top:0;border-radius:0 0 8px 8px}.t-detail-photo img,.t-detail-photo .t-atlas{max-width:260px}.t-serial-detail{grid-template-columns:70px 1fr;gap:12px}.t-serial-photo img,.t-serial-photo .t-atlas{width:70px;height:70px}.t-serial-detail dl{font-size:11px;gap:9px}.t-card .t-table-wrap:has([data-t-select-repair]) table thead{display:none}.t-card .t-table-wrap:has([data-t-select-repair]) table,.t-card .t-table-wrap:has([data-t-select-repair]) tbody{display:block}.t-card .t-table-wrap:has([data-t-select-repair]) tr{display:grid;grid-template-columns:1fr auto;padding:12px 0;border-bottom:1px solid #e4edf6}.t-card .t-table-wrap:has([data-t-select-repair]) td{padding:3px 2px;border:0;max-width:none}.t-card .t-table-wrap:has([data-t-select-repair]) td:nth-child(2),.t-card .t-table-wrap:has([data-t-select-repair]) td:nth-child(6),.t-card .t-table-wrap:has([data-t-select-repair]) td:nth-child(8){display:none}.t-products-table td{font-size:11px}.t-products-table .t-product-name{gap:5px}.t-dialog{padding:17px;max-height:92dvh}.t-form-grid{grid-template-columns:1fr;gap:12px}.t-dialog h2{font-size:19px}.t-dialog footer{position:sticky;bottom:-17px;background:#fff;padding:12px 0;margin-bottom:-10px;flex-wrap:wrap}.t-dialog footer button{flex:1}.t-more-links{grid-template-columns:1fr 1fr;gap:7px}.t-more-links button{font-size:11px;padding:12px 8px;gap:7px}.t-more-links button>i:last-child{display:none}.t-workspace button:not(.t-plain){min-height:34px}}

body.tech-operating #ui-brand-name,body.tech-operating #sidebar>div:first-child p,body.tech-operating #sidebar>div:last-child{display:none!important}
body.tech-operating #desktop-header #ad-context{max-width:100%;flex-shrink:1;min-width:0}
body.tech-operating #ad-context label{min-width:0;max-width:210px}body.tech-operating #ad-context select{max-width:100%;text-overflow:ellipsis}
.t-home-repairs{table-layout:fixed}.t-home-repairs th:first-child{width:20%}.t-home-repairs th:nth-child(2){width:30%}.t-home-repairs th:nth-child(3){width:22%}.t-home-repairs td{padding:12px 6px;font-size:12px;overflow-wrap:anywhere}.t-home-repairs small{display:block;color:#6a819e;font-size:11px;margin-top:3px}.t-home-repairs .t-tag{white-space:normal}
.t-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:15px;font-size:13px}
.t-ranking article>.t-atlas{flex:0 0 30px}.t-chart-bars>div>span[style="height:0%"]{min-height:0}
@media(max-width:767px){.t-products-table,.t-products-table tbody{display:block}.t-products-table thead{display:none}.t-products-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid #e2edf6;padding:10px 0;gap:4px 8px}.t-products-table td{border:0;min-width:0!important;padding:2px!important;max-width:none}.t-products-table td:first-child{width:auto;grid-row:span 3}.t-products-table td:nth-child(2),.t-products-table td:nth-child(3),.t-products-table td:nth-child(6){display:none}.t-products-table td:nth-child(4),.t-products-table td:nth-child(5),.t-products-table td:nth-child(7){text-align:right}.t-products-table .t-product-name strong{font-size:13px}.t-products-table .t-product-name small{font-size:11px}.t-products-table .t-product-name{align-items:center}.t-workspace .t-tag{font-size:11px}.t-home-main>.t-card:has(.t-home-repairs){display:none}}

.t-mobile-context{display:none}
body.tech-mode #mobile-bottom-nav{display:none!important}
@media(max-width:767px){.t-mobile-context{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;margin:0 0 12px;background:white;border:1px solid #dce8f4;border-radius:8px;font-size:12px;font-weight:800;color:#234768}.t-mobile-context>i:last-child{margin-left:auto}.t-workspace[data-t-screen=home]>.t-metrics,.t-workspace[data-t-screen=home]>.t-home-main{display:none}.t-workspace[data-t-screen=home]>.t-heading p{display:none}.t-workspace[data-t-screen=home]>.t-heading{margin:5px 0 12px}.t-workspace[data-t-screen=home]>.t-status{display:none}.t-shortcuts{margin-bottom:12px}.t-shortcuts button{padding:10px 7px}.t-shortcuts i{font-size:21px}}

/* Inicio Tech sigue la composición de la referencia sin desplazar las tarjetas. */
.t-workspace[data-t-screen=home]{display:flex;flex-direction:column}.t-workspace[data-t-screen=home]>.t-heading{display:none}.t-workspace[data-t-screen=home]>.t-status:not(.offline){order:10;margin-top:4px}.t-workspace[data-t-screen=home]>.t-status.offline{order:-1}

/* Tech: el móvil presenta el mismo resumen operativo que computador. */
@media(max-width:767px){.t-workspace[data-t-screen=home]>.t-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.t-workspace[data-t-screen=home]>.t-metrics>article:first-child{grid-column:1/-1}.t-workspace[data-t-screen=home]>.t-home-main,.t-workspace[data-t-screen=home]>.t-home-bottom{display:flex;flex-direction:column}.t-workspace[data-t-screen=home]>.t-status.offline{display:flex}.t-home-main>.t-card:has(.t-home-repairs){display:block}.t-workspace[data-t-screen=home] .t-mobile-only{display:none}.t-home-repairs thead{display:none}.t-home-repairs,.t-home-repairs tbody{display:block}.t-home-repairs tr[role=button]{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:11px 0;border-bottom:1px solid #e3edf6;gap:5px}.t-home-repairs tr[role=button]>td{max-width:none;border:0;padding:2px;font-size:12px}.t-home-repairs tr[role=button]>td:first-child{font-size:11px;color:#71829c}.t-home-repairs tr[role=button]>td:nth-child(2){grid-column:1;grid-row:2}.t-home-repairs tr[role=button]>td:nth-child(3){display:none}.t-home-repairs tr[role=button]>td:last-child{grid-column:2;grid-row:1/3;align-self:center}.t-card .t-ranking span{overflow-wrap:anywhere}.t-metrics span{font-size:12px}.t-metrics strong{font-size:22px}.t-metrics article:first-child strong{font-size:28px}.t-card h2{font-size:15px}.t-card>header .t-button{font-size:12px}.t-workspace[data-t-screen=home]>.t-status:not(.offline){display:flex;flex-wrap:wrap;font-size:11px}}

/* Ventas Tech: catálogo amplio y controles táctiles, sin cambiar otras ediciones. */
body.tech-mode #view-tech.active:has(.t-workspace[data-t-screen="sales"]){display:block;width:100%;max-width:none}
body.tech-mode .t-workspace[data-t-screen="sales"]{width:100%;max-width:none}
body.tech-mode .t-workspace[data-t-screen="sales"] .t-heading h1{font-size:30px}
body.tech-mode #view-tech:has(>[data-t-screen=sales]),
body.tech-mode #modal-checkout-efectivo {
 --t-pos-deep:#102b4a;
 --t-pos-accent:#087d89;
 --t-pos-mint:#e3f5f6;
}
body.tech-mode #view-tech.active:has(>[data-t-screen=sales]) {transform:none;animation:none;opacity:1}
body.tech-mode #view-tech [data-t-screen=sales] > .t-pos-heading {margin:5px 0 10px;gap:10px}
body.tech-mode #view-tech [data-t-screen=sales] .t-pos-heading h1 {margin:0;font-size:25px}
.t-sale-heading-actions {display:flex;flex-wrap:wrap;gap:5px}
#view-tech .t-sale-heading-actions .t-button {min-height:38px;padding:6px 9px;font-size:12px}
#view-tech :is(.t-sale-refresh,.t-sale-open-cart,.t-sale-back,.t-sale-mobile-cart) {display:none}

body.tech-mode #view-tech [data-t-screen=sales] .t-sale-layout {
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(305px,37%);
 gap:12px;
 align-items:stretch;
 min-width:0;
}
.t-sale-main,.t-sale-checkout {min-width:0}
#view-tech .t-sale-tools {
 display:grid;
 gap:6px;
 padding:8px;
 margin:0 0 8px;
 border-radius:11px;
}
#view-tech .t-sale-tools .t-searchbar {
 display:flex;
 flex-wrap:nowrap;
 gap:5px;
 margin:0;
 min-width:0;
}
#view-tech .t-sale-tools .t-search {flex:1;min-width:0;width:auto}
#view-tech .t-sale-tools .t-search input {min-width:0;min-height:38px;font-size:15px}
#view-tech .t-sale-tools .t-searchbar > button {min-height:38px;padding:4px 8px}
.t-sale-categories {
 display:flex;
 gap:5px;
 min-width:0;
 overflow-x:auto;
 scrollbar-width:thin;
 padding:1px 0 3px;
}
.t-sale-categories button {
 flex:none;
 min-height:34px;
 padding:5px 9px;
 border:1px solid #dbe8f1;
 border-radius:7px;
 background:#f4f9fe;
 color:#365c77;
 font-size:12px;
 font-weight:750;
}
.t-sale-categories button.active {background:var(--t-pos-accent);color:#fff;border-color:var(--t-pos-accent)}
.t-sale-catalog-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(142px,100%),1fr));gap:8px}
.t-sale-product {
 display:flex;
 flex-direction:column;
 min-width:0;
 overflow:hidden;
 padding:7px;
 border:1px solid #dbe8f3;
 border-radius:11px;
 background:#fff;
 box-shadow:0 3px 12px #194a6d06;
}
.t-sale-product:hover {border-color:#75ccc9}
.t-sale-product-photo {
 display:grid;
 place-items:center;
 width:100%;
 height:clamp(70px,16dvh,148px);
 padding:4px;
 margin-bottom:6px;
 border-radius:7px;
 background:#f0f6fb;
}
.t-sale-product-photo > :is(img,.t-atlas,.t-photo-placeholder) {width:100%;height:100%;min-height:0;object-fit:contain}
.t-sale-product-photo .t-photo-placeholder {font-size:32px}
.t-sale-product-copy {display:flex;flex:1;flex-direction:column;min-width:0}
.t-sale-product-copy h3 {font-size:14px;line-height:1.3;overflow-wrap:anywhere;margin:0 0 2px;color:#102749}
.t-sale-product-copy small {font-size:11px;color:#576f86;overflow-wrap:anywhere}
.t-sale-product-copy > strong {font-size:18px;line-height:1.25;margin:4px 0;color:#092c45;font-weight:850;overflow-wrap:anywhere}
.t-sale-stock {font-size:11px;color:#16715d;font-weight:750;margin-top:auto}
.t-sale-stock.low {color:#94520a}
.t-sale-stock.empty {color:#a22443}
.t-sale-product.sold-out {background:#fcfcfd}
.t-sale-product.sold-out .t-sale-product-photo {opacity:.65}
.t-sale-add {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:6px;
 min-height:35px;
 margin-top:5px;
 border:1px solid #c4e6e9;
 border-radius:7px;
 background:#e6f5f6;
 color:#076476;
 font-size:13px;
 font-weight:800;
}
.t-sale-add:disabled {color:#8c4e5d;background:#fff0f2;border-color:#f4dce2}

#view-tech .t-sale-checkout {
 min-height:0;
 border:1px solid #ccdeed;
 border-radius:14px;
 background:white;
 box-shadow:0 5px 18px #102b490e;
 overflow:hidden;
}
.t-sale-cart-heading {
 display:flex;
 align-items:center;
 gap:7px;
 padding:5px 9px;
 background:#ebf5fc;
 border-bottom:1px solid #dce9f3;
}
.t-sale-cart-heading h2 {margin:0;font-size:17px;font-weight:850}
.t-sale-symbol {
 display:grid;
 place-items:center;
 width:32px;
 height:32px;
 border-radius:8px;
 background:#d9eef5;
 color:#066d81;
}
.t-sale-count {padding:2px 7px;border-radius:18px;background:#fff;color:#3a5d7c;font-size:11px;font-weight:800}
.t-sale-clear {margin-left:auto}
#view-tech :is(.t-sale-clear,.t-sale-back) {width:36px;min-height:36px;border-radius:8px;color:#41617d}
.t-sale-clear:hover:not(:disabled) {background:#fcecf0;color:#aa2447}
.t-sale-cart-items {min-height:0;padding:7px 8px}
.t-sale-cart-line {
 display:grid;
 grid-template-columns:38px minmax(0,1fr) minmax(57px,auto) 32px;
 grid-template-rows:auto auto;
 align-items:center;
 gap:3px 6px;
 padding:5px;
 margin:0 0 5px;
 border:1px solid #e0eaf3;
 border-radius:9px;
}
.t-sale-cart-photo {grid-column:1;grid-row:1/3}
.t-sale-cart-photo > :is(img,.t-atlas,.t-photo-placeholder) {width:38px;height:43px;object-fit:contain;border-radius:6px}
.t-sale-cart-copy {grid-column:2/4;min-width:0}
.t-sale-cart-copy > strong {display:block;font-size:13px;line-height:1.25;overflow-wrap:anywhere}
.t-sale-cart-copy > small {display:block;font-size:11px;line-height:1.2;color:#576f86;margin-top:3px;overflow-wrap:anywhere}
.t-sale-cart-line .t-remove {grid-column:4;grid-row:1/3;width:32px;height:34px;border-radius:7px}
.t-sale-cart-line .t-quantity {grid-column:2;width:fit-content;max-width:100%;min-width:0}
.t-sale-cart-line .t-quantity button {width:28px;min-width:0;min-height:30px;padding:3px;font-size:15px}
.t-sale-cart-line .t-quantity strong {min-width:16px;padding:0 3px;font-size:12px}
.t-sale-line-total {grid-column:3;text-align:right;font-size:13px;overflow-wrap:anywhere}
.t-sale-empty {display:grid;place-items:center;gap:4px;padding:14px 6px;color:#526e87;font-size:13px;text-align:center}
.t-sale-empty > i {font-size:22px;color:#0b7c8b}
.t-sale-empty p {margin:0}

.t-sale-footer {padding:8px;border-top:1px solid #dce9f3}
.t-sale-amount {padding:5px 8px;border-radius:8px;background:var(--t-pos-mint);color:#105165;font-size:13px;font-weight:800}
.t-sale-amount > div {display:flex;justify-content:space-between;align-items:baseline;gap:4px;flex-wrap:wrap}
.t-sale-amount strong {font-size:clamp(21px,2.1vw,30px);line-height:1.2}
.t-sale-amount small {color:#146445;font-size:11px}
.t-sale-methods {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:5px 0}
.t-sale-methods button {
 display:grid;
 place-items:center;
 align-content:center;
 gap:3px;
 min-width:0;
 min-height:40px;
 padding:3px 1px;
 border:1px solid #d4e3ed;
 border-radius:7px;
 color:#335675;
 font-size:11px;
}
.t-sale-methods i {font-size:14px}
.t-sale-methods [aria-pressed=true] {border-color:#61aeb7;background:#e0f4f5;color:#075664;font-weight:750}
#view-tech .t-sale-charge {
 width:100%;
 min-height:46px;
 padding:6px;
 border:1px solid var(--t-pos-accent);
 border-radius:8px;
 background:var(--t-pos-accent);
 color:white;
 box-shadow:none;
 white-space:normal;
 font-size:16px;
}
#view-tech .t-sale-charge:hover:not(:disabled) {background:#086977}
.t-sale-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:5px}
#view-tech .t-sale-shortcuts .t-button {
 justify-content:flex-start;
 min-width:0;
 min-height:35px;
 padding:5px;
 gap:4px;
 font-size:11px;
 line-height:1.15;
 white-space:normal;
}
.t-sale-shortcuts .t-button i {flex:none;color:#087387}
.t-sale-shortcuts [data-t-action=recovery] {grid-column:span 2}
.t-sale-overview,.t-sale-services {border:1px solid #dbe8f2;border-radius:10px;background:white;margin:8px 0;padding:10px}
.t-sale-overview > summary,.t-sale-services > summary {cursor:pointer;color:#234b66;font-size:13px;font-weight:850}
.t-sale-overview > .t-metrics {margin-top:12px}
.t-sale-services-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:8px;margin-top:8px}
.t-sale-services-grid > section {padding:9px;border:1px solid #e1edf4;border-radius:8px;background:#f9fcff;min-width:0}
.t-sale-services-grid :is(h3,strong) {font-size:14px;color:#14394f}
.t-sale-services-grid p {font-size:12px;color:#54718a;line-height:1.5}
.t-sale-services-grid button {margin:3px 3px 0 0;padding:4px 7px;font-size:12px;white-space:normal}
.t-sale-fiscal button {background:white;color:#087e99;border:1px solid #c6e1ec;border-radius:7px;min-height:36px;font-weight:800}
.t-recent-sale-row {display:flex;gap:6px;align-items:center}
.t-recent-sale-row > .t-recent-sale {min-width:0;flex:1;flex-wrap:wrap}
.t-sale-print {border:1px solid #cfe2ed;border-radius:7px;color:#087e99;min-height:38px;min-width:38px}
#view-tech :is(.t-sale-main,.t-sale-cart-items):focus-visible {outline:2px solid #0a889b;outline-offset:-2px}

@media(min-width:768px) {
 body.tech-mode #view-tech.active:has(>[data-t-screen=sales]) {
  height:100%!important;
  min-height:0;
  padding:8px 12px;
 }
 body.tech-mode #view-tech > [data-t-screen=sales] {
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:285px;
  padding:0;
 }
 #view-tech [data-t-screen=sales] > :is(.t-status,.t-pos-heading) {flex:none}
 #view-tech .t-sale-layout {flex:1;min-height:0}
 #view-tech :is(.t-sale-main,.t-sale-cart-items) {overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
 #view-tech .t-sale-checkout {display:flex;flex-direction:column}
 #view-tech .t-sale-checkout > :is(.t-sale-cart-heading,.t-sale-footer) {flex:none}
 #view-tech .t-sale-cart-items {flex:1}
 #view-tech .t-sale-tools {position:sticky;top:0;z-index:1}
 #view-tech .t-sale-catalog-grid {scroll-margin-top:94px}
 body.tech-mode.tech-pos-touch:has(#view-tech.active > [data-t-screen=sales]) :is(#sidebar,#sidebar-overlay,#desktop-header,#mobile-topbar,#t-mobile-nav,#mobile-bottom-nav) {display:none!important}
 body.tech-mode.tech-pos-touch #view-tech.active:has(>[data-t-screen=sales]) {
  position:fixed;
  inset:0;
  z-index:45;
  background:#f2f7fc;
  padding:12px;
 }
}
@media(min-width:768px) and (max-height:690px) {
 body.tech-mode #view-tech [data-t-screen=sales] > .t-status:not(.offline) {display:none}
 #view-tech .t-sale-heading-actions .t-sale-refresh {display:inline-flex}
 .t-sale-footer {display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px 8px}
 .t-sale-methods {grid-column:1/-1;grid-row:1;margin:0}
 .t-sale-methods button {min-height:34px;line-height:1.1}
 .t-sale-methods i {font-size:12px}
 #view-tech .t-sale-charge {font-size:14px}
 .t-sale-shortcuts {grid-column:1/-1;margin:0}
 #view-tech .t-sale-shortcuts .t-button {min-height:32px}
 .t-sale-amount strong {font-size:21px}
}

@media(min-width:768px) and (max-width:1023px) and (max-height:500px) {
 body.tech-mode:not(.tech-pos-touch) > main > .overflow-auto:has(> #view-tech.active > [data-t-screen=sales]) {
  bottom:env(safe-area-inset-bottom)!important;
 }
}
@media(min-width:768px) and (max-height:480px) {
 body.tech-mode #view-tech.active:has(>[data-t-screen=sales]) {padding-block:4px}
 #view-tech .t-sale-methods {display:none}
 #view-tech .t-sale-charge {min-height:42px}
 #view-tech .t-sale-shortcuts {grid-template-columns:repeat(5,minmax(0,1fr))}
 #view-tech .t-sale-shortcuts .t-button {justify-content:center;text-align:center;padding:3px 2px;font-size:10px}
 #view-tech .t-sale-shortcuts .t-button i {display:none}
 #view-tech .t-sale-shortcuts [data-t-action=recovery] {grid-column:auto}
}
@media(max-width:767px) {
 body.tech-mode #view-tech:has(>[data-t-screen=sales]) {padding:8px 0 16px}
 body.tech-mode #view-tech [data-t-screen=sales] .t-sale-layout {display:block}
 #view-tech .t-pos-heading {align-items:flex-start;flex-wrap:wrap}
 #view-tech .t-sale-heading-actions {width:100%}
 #view-tech .t-sale-heading-actions .t-button {flex:1;min-height:40px}
 #view-tech .t-sale-heading-actions [data-t-action=touch] {display:none}
 #view-tech .t-sale-tools .t-search input {font-size:16px}
 #view-tech .t-sale-tools .t-searchbar > button {min-height:42px}
 #view-tech .t-sale-open-cart {display:inline-flex;justify-self:end;min-height:40px;padding:5px 8px}
 #view-tech .t-sale-back {display:inline-grid;place-items:center;background:#deedf7}
 #view-tech .t-sale-layout:not(.t-sale-cart-open) .t-sale-checkout,
 #view-tech .t-sale-layout.t-sale-cart-open .t-sale-main,
 #view-tech [data-t-screen=sales]:has(.t-sale-cart-open) > :is(.t-mobile-context,.t-status:not(.offline),.t-pos-heading) {display:none}
 .t-sale-catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .t-sale-add {min-height:42px}
 .t-sale-methods button {min-height:44px}
 .t-sale-shortcuts {grid-template-columns:repeat(2,minmax(0,1fr))}
 #view-tech .t-sale-shortcuts .t-button {min-height:43px}
 #view-tech .t-sale-layout:not(.t-sale-cart-open) ~ .t-sale-mobile-cart:not([hidden]) {
  position:fixed;
  z-index:46;
  inset:auto max(12px,env(safe-area-inset-right)) calc(69px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  display:flex;
  align-items:center;
  gap:8px;
  min-height:52px;
  padding:7px 12px;
  border-radius:10px;
  background:var(--t-pos-deep);
  color:white;
  box-shadow:0 5px 17px #102b4944;
  font-size:14px;
  font-weight:750;
 }
 .t-sale-mobile-cart > span {flex:1;text-align:left}
 body.mobile-keyboard-open #view-tech .t-sale-mobile-cart,
 body:has([id^="modal-"].fixed.flex) #view-tech .t-sale-mobile-cart {display:none!important}
 body.tech-mode #view-tech:has(.t-sale-layout:not(.t-sale-cart-open) ~ .t-sale-mobile-cart:not([hidden])) {
  padding-bottom:calc(75px + env(safe-area-inset-bottom));
 }
}
body.tech-mode:has(#view-tech.active > [data-t-screen=sales]) :is(.dk-help-access,#draia-widget .da-orb,#draia-widget .da-orb-dismiss),
body.tech-mode:has(#view-tech.active > [data-t-screen=sales]) #draia-widget:not(:has(#draia-popover:not([hidden]))) {display:none!important}
body.tech-mode #modal-checkout-efectivo {
 --pos-checkout-heading:var(--t-pos-deep);
 --pos-checkout-accent:var(--t-pos-accent);
 --pos-checkout-total-bg:var(--t-pos-mint);
 --pos-checkout-total-ink:#105165;
}
body.tech-mode #modal-checkout-efectivo > div > div:first-child {position:sticky;top:0;z-index:2;padding:6px 12px}
body.tech-mode #modal-checkout-efectivo .p-6 {padding:10px 12px;gap:7px}
body.tech-mode #modal-checkout-efectivo #chk-customer-select {min-height:42px;padding:6px 8px}
body.tech-mode #modal-checkout-efectivo button[onclick="finalizeEfectivo()"] {
 position:sticky;
 bottom:0;
 z-index:1;
 min-height:44px;
 padding:7px 8px;
 box-shadow:0 6px 0 5px white;
}
@media(min-width:680px) and (max-height:690px) {
 body.tech-mode #modal-checkout-efectivo .p-6 {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 body.tech-mode #modal-checkout-efectivo .p-6 > * {grid-column:1/-1;min-width:0}
 body.tech-mode #modal-checkout-efectivo .p-6 > :is(div:has(> #chk-efectivo-total),div:has(#chk-customer-select),.ho-payment-amounts,.ho-payment-keys) {grid-column:auto}
 body.tech-mode #modal-checkout-efectivo .p-6 > div:has(> #chk-efectivo-total) {min-height:60px}
 body.tech-mode #modal-checkout-efectivo .ho-payment-amounts {grid-template-columns:1fr}
 body.tech-mode #modal-checkout-efectivo .ho-payment-keys button {min-height:40px}
 body.tech-mode #modal-checkout-efectivo .pos-checkout-tools {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}

/* Servicios electrónicos opcionales de Tech: usan las rutas fiscales existentes. */
.t-recent-sale-block{padding:5px 0;border-bottom:1px solid #e6eef5}
.t-recent-sale-block:last-child{border-bottom:0}
.t-sale-fiscal-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 10px 8px}
.t-sale-fiscal-actions button{border:1px solid #c6e1ec;border-radius:7px;background:#f4fbff;color:#087e99;padding:8px 10px;min-height:38px;font-size:12px;font-weight:800}
.t-sale-fiscal-actions button[hidden],.t-sale-payroll-service[hidden]{display:none!important}
.t-sale-fiscal-actions:not(:has(button:not([hidden]))){display:none}
#t-quote-alert-bell{position:relative;display:grid;place-items:center;flex:0 0 36px;height:36px;border:1px solid #d9e7f1;border-radius:50%;background:#eef6fb;color:#173359}
#t-quote-alert-bell span:not(:empty){position:absolute;top:-4px;right:-4px;min-width:18px;padding:2px 4px;border-radius:20px;background:#b82649;color:#fff;font-size:10px;font-weight:800;line-height:14px}
.t-quote-alert-dialog [data-tech-alert-list]{display:grid;gap:10px;margin-top:16px}
.t-quote-alert-dialog [data-tech-quote-alert]{width:100%;min-height:44px;padding:10px 14px;border:1px solid #d9e7f1;border-radius:10px;background:#eef6fb;color:#173359;text-align:left}
