@charset "UTF-8";
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#252e29;background:#f5f6f3;font-synthesis:none;--ink:#252e29;--muted:#69746b;--line:#e1e5df;--green:#385344;--accent:#ebad62;--paper:#fff;--radius:14px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,label,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button{color:inherit}svg{display:block;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:31px;letter-spacing:-1px;line-height:1.2;font-weight:650}h2{font-size:19px;letter-spacing:-.4px;font-weight:650}h3{font-size:15px;font-weight:650}p{line-height:1.6}small,.muted{color:var(--muted)}small{line-height:1.5}b,strong{font-weight:650}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:3px solid #bc7c2e;outline-offset:3px}.skip{position:fixed;top:-100px;left:16px;background:white;padding:16px;z-index:100}.skip:focus{top:12px}
.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:#202622;color:#d5ddd6;position:fixed;inset:0 auto 0 0;width:224px;padding:33px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:20px;color:#fff;font-weight:700;letter-spacing:-.6px}.brand svg{color:var(--accent)}.brand-sub{font-size:10px;letter-spacing:2.7px;padding:10px 0 0 39px;color:#9aa79d}.nav-title{font-size:10px;letter-spacing:1.6px;color:#8f9d92;margin:48px 12px 16px}.nav{display:flex;flex-direction:column;gap:7px}.nav a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;font-size:13px;font-weight:550;min-height:46px}.nav a:hover{background:#2d352f}.nav a.active{color:#f6d29f;background:#394035}.nav .count{margin-left:auto;background:#4d5445;color:#f8ddb7;padding:2px 7px;border-radius:5px;font-size:11px}.sidebar-bottom{margin-top:auto}.pilot-card{padding:17px 14px;border:1px solid #434b41;border-radius:10px;margin:32px 0 20px}.pilot-card small{color:#acb9ae;font-size:11px}.pilot-card strong{display:block;color:#e5b77b;font-size:12px;margin-bottom:7px}.session{display:flex;align-items:center;gap:10px;padding:17px 0 0;border-top:1px solid #3a433b;font-size:12px}.session small{display:block;color:#9eaca1;font-size:10px;margin-top:4px}.avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#edf0e9;color:#56664f;font-size:11px;font-weight:650;flex-shrink:0}.session .avatar{background:#3b493f;color:#d9e4da}.workspace{grid-column:2;min-width:0}.topbar{height:76px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);background:#fcfcfa;font-size:12px;color:var(--muted)}.crumb{display:flex;align-items:center;gap:10px}.crumb strong{font-weight:550;color:var(--ink)}.storage-status{display:flex;align-items:center;gap:7px;font-size:11px;text-align:right}.storage-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#6b9874;flex-shrink:0}.storage-status.error{color:#9c3d31}.storage-status.error:before{background:#b45140}.topbar .mobile-brand{display:none}.content{max-width:1640px;margin:auto;padding:34px 36px 50px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.7px;text-transform:uppercase;color:var(--muted);margin-bottom:9px;font-weight:650}.subtitle{font-size:13px;color:var(--muted);margin-top:9px}.button{border:1px solid var(--line);border-radius:8px;background:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;min-height:42px;padding:10px 16px;white-space:normal;text-align:center}.button:hover{background:#f4f5f0;border-color:#bdc9ba}.button.primary{background:#365341;color:#fff;border-color:#365341}.button.primary:hover{background:#294633}.button.accent{background:#efbb78;color:#302d22;border-color:#efbb78}.button.small{min-height:34px;padding:7px 10px;font-size:11px}.button.danger{color:#a24435;border-color:#e2c5be}.text-button{border:0;background:transparent;color:var(--green);padding:9px 0;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.demo-strip{padding:9px 14px;border:1px solid #e4dbc6;background:#faf6ec;color:#7c6641;border-radius:8px;display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.5;margin-bottom:24px}.demo-strip .pill{flex-shrink:0}.pill,.tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;border-radius:5px;padding:5px 8px;line-height:1.2;white-space:nowrap}.pill{background:#f0e5d0;color:#846332}.tag{background:#edf0ea;color:#657060}.tag.queued{background:#f0eee3;color:#877443}.tag.review{background:#e7edf5;color:#4a6d90}.tag.parts{background:#f5e8e1;color:#a56543}.tag.ready{background:#e6efe7;color:#4c7953}.tag.reservation{background:#eee8f4;color:#81679a}.tag.urgent{background:#fae6e3;color:#a04c43}.tag.high{background:#f8eddc;color:#99702f}.tag.origin{font-size:9px;background:#f3f4f0;color:#788073}.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:28px}.stat{border:1px solid var(--line);background:white;border-radius:var(--radius);padding:17px 19px;text-align:left;min-width:0;transition:transform .15s}.stat:hover{transform:translateY(-2px);border-color:#a6b49d}.stat.active{border-color:#7b9476;box-shadow:inset 0 0 0 1px #7b9476}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.stat-icon{padding:7px;background:#f3f5ef;border-radius:7px;color:#6b8062}.stat strong{font-size:29px;letter-spacing:-1px;display:block;margin:8px 0 5px;font-weight:550}.stat small{font-size:10px}.queue-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0}.panel-head{padding:20px 21px;display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid var(--line)}.panel-head h2{font-size:15px}.panel-body{padding:22px}.panel-body p{font-size:12px;color:var(--muted)}.toolbar{padding:17px 20px 15px}.search{position:relative;flex:1}.search svg{position:absolute;top:13px;left:12px;color:#899386}.search input{padding-left:38px;background:#f8f9f5}.search-row{display:flex;gap:12px}.search-row select{width:155px}.filters{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.filter{background:transparent;border:0;padding:8px 11px;font-size:11px;color:var(--muted);border-radius:6px;min-height:34px}.filter.active{background:#edf1e8;color:#39553e;font-weight:650}.filter:hover{background:#f1f3ed}.queue-table{border-collapse:collapse;width:100%;table-layout:fixed}.queue-table th{text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#85907f;background:#f9faf7;font-weight:550;padding:12px 18px;border-bottom:1px solid var(--line)}.queue-table th:nth-child(1){width:17%}.queue-table th:nth-child(2){width:34%}.queue-table th:nth-child(3){width:23%}.queue-table th:nth-child(4){width:20%}.queue-table th:nth-child(5){width:6%}.queue-table td{padding:17px 18px;border-bottom:1px solid #edf0e8;vertical-align:middle;font-size:12px;overflow-wrap:anywhere}.queue-table tr:last-child td{border-bottom:0}.queue-table tbody tr:hover{background:#fafbf8}.order-number{font-family:"Cascadia Code",Consolas,monospace;font-size:13px;font-weight:600;display:inline-block;color:#385342;padding:5px 0}.order-number:hover{text-decoration:underline}.cell-sub{font-size:10px;color:#8a9386;margin-top:4px;line-height:1.5;display:block}.client-name{font-size:12px;font-weight:600;display:block;line-height:1.45}.equipment-list{font-size:11px;color:#7b8575;line-height:1.6;margin-top:4px}.queue-table .date{font-size:12px;white-space:nowrap}.date small{font-size:10px;display:block;margin-top:4px}.row-arrow{color:#8a9683;padding:10px 0;display:block}.queue-foot{border-top:1px solid var(--line);padding:14px 20px;display:flex;justify-content:space-between;font-size:10px;color:#879180;gap:10px}.side-stack{display:grid;gap:18px}.side-card{padding:21px;border:1px solid var(--line);border-radius:var(--radius);background:white}.side-card h3{font-size:13px;display:flex;align-items:center;gap:8px;margin-bottom:15px}.side-card p{font-size:11px;color:var(--muted);line-height:1.7}.side-card.feature{background:#e9eee3;border-color:#d7e0cf}.feature-icon{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#dbe4d2;color:#57724d;margin-bottom:18px}.side-card.feature h3{font-size:17px;line-height:1.4;letter-spacing:-.4px}.side-card.feature .text-button{margin-top:12px}.next-item{border-top:1px solid #e8ebe3;padding-top:13px;margin-top:13px;display:block}.next-item:first-of-type{border-top:0;padding-top:0}.next-item b{font-size:11px;display:block;margin-top:5px}.next-item small{font-size:10px}.mini-line{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin:10px 0}.mini-line span{color:var(--muted)}.tiny-note{font-size:10px;line-height:1.7;color:#8b9386}.mobile-nav{display:none}.loading{padding:60px;max-width:800px;margin:auto}.empty{text-align:center;padding:45px 20px;color:var(--muted);font-size:13px}.empty svg{margin:0 auto 16px}.empty h3{color:var(--ink);margin-bottom:10px}.back{font-size:12px;color:var(--muted);display:inline-flex;gap:7px;align-items:center;margin-bottom:16px}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}.form-main{min-width:0}.form-summary{position:sticky;top:20px}.step-nav{display:flex;gap:0;background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px;margin-bottom:20px}.step{border:0;background:transparent;padding:12px 10px;flex:1;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:var(--muted);border-radius:6px}.step b{display:grid;place-items:center;border:1px solid #d8ded2;width:23px;height:23px;border-radius:50%;font-size:10px}.step.active{background:#eef2e9;color:#385341;font-weight:600}.step.active b{background:#385341;color:white;border-color:#385341}.form-section{padding:25px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:18px;min-width:0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:21px}.section-title h2{font-size:17px}.section-title .step-number{color:#97a08e;font-size:11px;letter-spacing:1px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 17px}.span-2{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span,.field>label{font-size:11px;color:#56614f;font-weight:600}.field em{font-style:normal;font-weight:400;color:#919a8c;font-size:10px;margin-left:4px}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{border:1px solid #dce1d6;background:#fff;color:var(--ink);border-radius:7px;width:100%;min-width:0;padding:11px 12px;font-size:13px;min-height:43px}input::placeholder,textarea::placeholder{color:#9ca394;font-size:12px}textarea{resize:vertical;min-height:88px;line-height:1.6}input:disabled,select:disabled{background:#f5f6f2;color:#8b9581}.field-help{font-size:10px;color:#89927f;line-height:1.6}.separator{border:0;border-top:1px solid var(--line);margin:23px 0}.choice-group{display:flex;gap:10px}.choice{flex:1;background:#fff;border:1px solid var(--line);border-radius:8px;padding:13px 15px;text-align:left;display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6}.choice small{display:block;font-size:10px}.choice.selected{background:#f1f5eb;border-color:#6f8b61}.choice.selected svg{color:#4d7249}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0 20px}.form-actions .button{min-height:45px}.notice{border-radius:8px;background:#f3f5ee;padding:13px 15px;font-size:11px;color:#64745a;line-height:1.7}.notice.warn{background:#fbf4e8;color:#8b6b3b}.notice.error{background:#faebe8;color:#a34336}.notice.success{background:#eaf2e9;color:#4b7446}.notice p{font-size:11px;color:inherit}.notice strong{display:block;margin-bottom:4px}.error-list{margin:5px 0 0;padding-left:19px}.errors{margin-bottom:18px}.summary-value{font-size:30px;letter-spacing:-1px;margin:11px 0}.summary-list{display:grid;gap:13px;margin:18px 0;font-size:12px}.summary-list>div{display:flex;justify-content:space-between;gap:12px}.summary-list span{color:var(--muted)}.summary-list strong{font-size:12px;text-align:right}.summary-item{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.summary-item small{display:block;font-size:10px;margin-top:3px}.summary-note{font-size:10px;line-height:1.7;color:var(--muted)}.equipment-header{display:flex;gap:12px;align-items:center;margin-bottom:21px}.equipment-number{background:#eff3e8;color:#56794a;display:grid;place-items:center;border:1px solid #e0e7d7;border-radius:9px;width:36px;height:36px;font-size:12px}.equipment-header .text-button{margin-left:auto;color:#a3594c}.equipment-header h3{font-size:14px}.equipment-header small{font-size:10px}.photo-zone{border:1px dashed #ccd6c4;background:#fafcf6;border-radius:9px;padding:17px;margin-top:19px}.photo-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.photo-actions .button{background:white;font-size:11px}.photo-actions label{cursor:pointer}.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.photo-help{font-size:10px;color:#7b8971;margin-top:10px}.photo-grid{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.photo{width:106px;position:relative}.photo img{width:106px;height:82px;object-fit:cover;border-radius:7px;border:1px solid var(--line)}.photo .remove-photo{position:absolute;top:3px;right:3px;width:28px;height:28px;border-radius:50%;border:0;background:#fff;color:#a34636}.photo small{font-size:9px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.add-equipment{border:1px dashed #b9c8ac;border-radius:9px;background:#f4f7ef;width:100%;padding:18px;display:flex;justify-content:center;align-items:center;gap:8px;color:#55744a;font-size:12px;min-height:48px;margin-bottom:20px}.check-line{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.7}.check-line input{width:18px;height:18px;margin:2px 0;accent-color:#446741;flex-shrink:0}.check-line small{display:block;font-size:10px}.privacy-status{display:flex;align-items:center;gap:12px;justify-content:space-between}.privacy-status p{font-size:11px;line-height:1.6}.privacy-status b{display:block;margin-bottom:4px}.privacy-status .button{flex-shrink:0}.money-field{position:relative}.money-field input{padding-right:42px!important}.money-field:after{content:'€';position:absolute;right:14px;top:13px;color:#8b947e;font-size:13px}.estimate-box{background:#f8faf5;border:1px solid #e5eadc;border-radius:9px;padding:16px;margin-top:16px}.estimate-box .big-date{font-size:23px;letter-spacing:-.6px;font-weight:550}.estimate-box p{font-size:11px;color:var(--muted);margin-top:5px}.estimate-details{margin-top:14px;font-size:11px;color:var(--muted);line-height:1.8}.estimate-details summary{cursor:pointer;color:#516d48;padding:6px 0}.sample-list{display:grid;gap:5px;margin:10px 0}.sample-list div{display:flex;justify-content:space-between;border-bottom:1px solid #e4eadc;padding:4px 0}.weekend-warning{color:#8d6b3d!important}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.detail-identity{display:flex;align-items:center;gap:14px;margin-bottom:16px}.detail-identity h2{font-size:21px}.detail-identity p{font-size:12px;color:var(--muted);margin-top:4px}.meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.meta-grid small{font-size:10px;display:block;margin-bottom:5px}.meta-grid strong{font-size:12px;font-weight:550}.equipment-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.equipment-tab{background:white;border:1px solid var(--line);padding:13px 16px;border-radius:8px;text-align:left;min-height:55px;flex:1;min-width:120px;font-size:11px}.equipment-tab strong{display:block;font-size:12px;margin-bottom:5px}.equipment-tab.active{background:#edf2e8;border-color:#6f8d60}.equipment-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:24px}.equipment-facts small{font-size:10px;display:block;margin-bottom:6px}.equipment-facts strong{font-size:12px;font-weight:550}.body-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#8a9580;margin-bottom:8px}.symptom{font-size:14px;line-height:1.8;margin-bottom:23px}.fact-list{display:grid;gap:0;font-size:12px}.fact-list>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #e9ede1}.fact-list>div:last-child{border-bottom:0}.fact-list span{color:var(--muted)}.fact-list strong{text-align:right;font-size:11px;font-weight:550}.document-item{border-top:1px solid var(--line);padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.document-item small{display:block;font-size:10px;margin-top:3px}.break-all{overflow-wrap:anywhere}.info-page{max-width:900px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.info-grid .panel-body{padding:25px}.info-grid h2{margin-bottom:16px}.info-grid li{font-size:13px;line-height:1.8;margin:8px 0}.info-grid ul,.info-grid ol{padding-left:19px}.scan-stage{border:1px dashed #9cae90;border-radius:12px;max-width:280px;height:170px;margin:25px auto;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f3f6ed;gap:15px;color:#728b63}.scan-stage p{font-size:11px}.transfer-steps{display:flex;gap:13px;align-items:center;justify-content:center;margin:25px 0;color:#718569}.transfer-steps span{border:1px solid #dce5d4;border-radius:10px;padding:17px;background:#f6f9f1}.error-banner{position:sticky;top:0;z-index:25;background:#fff0e7;color:#8c4436;padding:13px 25px;font-size:12px;border-bottom:1px solid #e6baa7}.error-banner button{margin-left:12px}.form-section .notice{margin-top:16px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:#263a2c;color:#fff;padding:14px 20px;border-radius:10px;box-shadow:0 7px 30px #17251a25;font-size:12px;max-width:min(90vw,530px);display:none;line-height:1.5}#toast.visible{display:block}dialog{border:1px solid #dce3d4;border-radius:17px;max-width:740px;width:calc(100% - 32px);max-height:90dvh;padding:0;box-shadow:0 18px 100px #18271938;color:var(--ink);overscroll-behavior:contain}dialog::backdrop{background:#18231e80;backdrop-filter:blur(3px)}.modal-head{padding:20px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:16px}.modal-body{padding:27px}.close-button{background:#f2f4ee;border:0;border-radius:7px;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}.client-sheet{border:1px solid #e2e8d9;border-radius:12px;padding:28px;background:#fdfefa;margin:17px 0}.client-sheet .brand{color:var(--ink);margin-bottom:25px}.client-sheet h3{font-size:21px;margin:8px 0 15px}.client-sheet .client-equipment{border-top:1px solid var(--line);padding:17px 0}.client-sheet p{font-size:12px}.client-equipment b{display:block;font-size:13px;margin-bottom:7px}.client-sheet .notice{margin-top:16px}.signature-canvas{display:block;width:100%;height:210px;border:1px dashed #9cad91;background:#fff;border-radius:8px;touch-action:none;margin-top:20px}.signature-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);margin:10px 0 23px}.full-photo{max-width:100%;height:auto;border-radius:8px}.recovered{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 17px;background:#eaf1e5;border:1px solid #d6e3ce;border-radius:10px;margin-bottom:23px;font-size:12px}.recovered small{display:block;font-size:10px;margin-top:4px}
@media(min-width:1500px){.queue-layout{grid-template-columns:minmax(0,1fr) 270px}.queue-table td{padding-top:21px;padding-bottom:21px}.content{padding:42px 45px}}
@media(max-width:1200px){.shell{grid-template-columns:196px minmax(0,1fr)}.sidebar{width:196px;padding:28px 16px}.brand{font-size:18px}.content{padding:28px 24px}.topbar{padding:0 24px}.queue-layout{grid-template-columns:minmax(0,1fr)}.queue-layout>.side-stack{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.side-card{padding:18px}.stats{gap:9px}.stat{padding:14px}.form-layout{grid-template-columns:minmax(0,1fr) 235px;gap:17px}.detail-grid{grid-template-columns:minmax(0,1fr) 250px;gap:17px}.form-section{padding:22px}}
@media(max-width:960px){.shell{grid-template-columns:170px minmax(0,1fr)}.sidebar{width:170px;padding:26px 13px}.brand{font-size:16px;gap:6px}.brand svg{width:25px}.brand-sub{padding-left:31px;font-size:8px}.nav a{font-size:12px;padding:11px 9px}.pilot-card{padding:13px 10px}.topbar{padding:0 20px}.content{padding:25px 20px}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stats .stat:nth-child(4),.stats .stat:nth-child(5){display:none}.queue-table td,.queue-table th{padding:15px 11px}.queue-table th:nth-child(2){width:34%}.queue-table th:nth-child(3){width:25%}.queue-table th:nth-child(4){width:20%}.queue-table th:nth-child(1){width:21%}.queue-table th:last-child,.queue-table td:last-child{display:none}.queue-layout>.side-stack{grid-template-columns:1fr 1fr}.queue-layout>.side-stack .side-card:last-child{display:none}.form-layout,.detail-grid{grid-template-columns:1fr}.form-summary{position:static}.form-summary .side-card.feature{display:none}.detail-grid>.side-stack{grid-template-columns:1fr 1fr}.detail-grid>.side-stack .side-card:last-child{grid-column:1/-1}.page-head{gap:12px}h1{font-size:28px}.privacy-status{flex-wrap:wrap}}
@media(max-width:700px){.shell{display:block}.sidebar{display:none}.workspace{width:100%}.topbar{height:66px;padding:0 20px;background:#202622;border-bottom:0;color:#cbd6c8}.topbar .crumb{display:none}.topbar .mobile-brand{display:flex;gap:8px;font-size:16px;font-weight:650;color:#fff;align-items:center;letter-spacing:-.4px}.mobile-brand svg{color:#eeb46a}.storage-status{font-size:9px;max-width:144px;color:#bfcfbb}.storage-status:before{width:5px;height:5px;background:#a2bd90}.content{padding:25px 17px 100px}.page-head{margin-bottom:21px;align-items:flex-start}.page-head h1{font-size:27px}.page-head .button{min-height:42px;font-size:11px;padding:10px 12px}.subtitle{font-size:11px;line-height:1.6;max-width:250px}.eyebrow{font-size:9px;margin-bottom:8px}.demo-strip{font-size:10px;margin-bottom:19px;padding:10px 12px;align-items:flex-start}.stats{gap:8px;margin-bottom:20px}.stat{padding:12px 11px;border-radius:10px}.stat-top{font-size:10px;gap:5px}.stat-icon{padding:5px}.stat-icon svg{width:15px;height:15px}.stat strong{font-size:26px;margin:10px 0 3px}.stat small{font-size:9px}.panel-head{padding:17px}.toolbar{padding:14px}.search-row{gap:8px}.search-row select{width:119px;font-size:11px}.search input{font-size:12px!important}.filters{gap:4px;margin-top:12px}.filter{font-size:10px;padding:8px 9px;min-height:36px}.queue-table{display:block}.queue-table thead{display:none}.queue-table tbody{display:grid}.queue-table tr{display:grid;grid-template-columns:1fr 1fr;padding:16px;gap:9px 13px;position:relative;border-bottom:1px solid var(--line)}.queue-table tr:last-child{border-bottom:0}.queue-table td{display:block;padding:0;border:0;overflow:visible}.queue-table td:first-child{display:flex;gap:8px;align-items:center;grid-column:1/-1}.queue-table td:first-child .cell-sub{margin:0}.queue-table td:nth-child(2){grid-row:2/4;grid-column:1}.queue-table td:nth-child(3){grid-column:2;text-align:right}.queue-table td:nth-child(4){grid-column:2;text-align:right}.queue-table td:nth-child(5){display:none}.queue-table .client-name{font-size:13px}.queue-table .equipment-list{font-size:11px}.queue-table .date{font-size:12px}.queue-table .date small{font-size:9px}.queue-foot{font-size:9px;padding:13px 16px}.queue-layout>.side-stack{grid-template-columns:1fr}.queue-layout>.side-stack .side-card:first-child{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;justify-content:space-around;background:#fffefc;box-shadow:0 -2px 20px #28372408;border-top:1px solid #e1e7d8;padding:8px 8px calc(7px + env(safe-area-inset-bottom))}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;color:#8a9580;min-height:47px;min-width:60px;padding:3px 8px;border-radius:9px}.mobile-nav a.active{color:#42603a;background:#eef3e8}.mobile-nav a.new{color:#365535}.form-layout{gap:10px}.form-section{padding:20px 17px;margin-bottom:15px}.form-grid{gap:17px;grid-template-columns:1fr}.span-2{grid-column:auto}.field>span,.field>label{font-size:12px}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:16px;min-height:46px}.field-help{font-size:11px}.step-nav{padding:5px;margin-bottom:17px}.step{font-size:11px;padding:9px 5px;gap:5px;min-height:45px}.step b{width:21px;height:21px}.choice{font-size:11px;padding:12px 9px;gap:6px}.choice small{font-size:9px}.choice svg{width:19px}.section-title h2{font-size:16px}.form-actions{padding:4px 0 15px;gap:10px}.form-actions .button{font-size:12px;flex:1}.form-summary{display:none}.photo-actions .button{font-size:11px;min-height:43px}.photo-zone{padding:13px}.privacy-status{gap:13px}.privacy-status .button{width:100%}.detail-grid>.side-stack{grid-template-columns:1fr}.meta-grid{grid-template-columns:1fr 1fr;gap:20px}.equipment-facts{grid-template-columns:1fr 1fr}.detail-identity h2{font-size:18px}.detail-identity p{font-size:11px}.detail-grid .form-section{margin-bottom:15px}.equipment-tabs{gap:6px}.equipment-tab{min-width:90px;padding:10px;font-size:10px;flex-grow:0}.equipment-tab strong{font-size:11px}.info-grid{grid-template-columns:1fr}.info-grid .panel-body{padding:22px}.modal-head{padding:17px}.modal-body{padding:20px 17px}.client-sheet{padding:21px 17px}.client-sheet .brand{font-size:19px}.modal-head h2{font-size:14px}dialog{width:calc(100% - 20px);max-height:93dvh;border-radius:12px}.error-banner{font-size:11px;padding:13px 17px}#toast{bottom:86px;font-size:11px;padding:12px 16px}.recovered{font-size:11px;align-items:flex-start}.recovered .button{font-size:10px}.signature-footer{flex-wrap:wrap}.back{font-size:11px}.page-head.detail-heading{flex-wrap:wrap}.detail-heading .actions{width:100%}.detail-heading .actions .button{flex:1}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{body{background:white}.sidebar,.topbar,.mobile-nav,.demo-strip,.actions,.back,.button,.text-button{display:none!important}.shell{display:block}.content{padding:0}.workspace{display:block}dialog{position:static;max-height:none;width:100%;border:0}.modal-head{display:none}}
 .search input{padding-left:38px!important}

.queue-table tr[data-act]{cursor:pointer}.queue-table tr[data-act]:focus-visible{outline:3px solid #bc7c2e;outline-offset:-3px;background:#f3f6ee}
.contact-name,.contact-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.contact-name{margin-bottom:7px}.contact-icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce4d6;border-radius:50%;background:#f5f8ef;color:#52644c}.contact-icon.whatsapp{color:#26733f;background:#ecf6ed}.detail-identity>div{min-width:0}.detail-identity p{overflow-wrap:anywhere}.section-title>.button{flex-shrink:0}
.edit-notice{padding:10px 12px;background:#f5f2e9;border-radius:8px;color:#796c4b;font-size:11px;margin-bottom:18px}.whatsapp-control{margin:18px 0}.whatsapp-control .field-help{margin:10px 0}.equipment-stage{margin-top:22px}.delivery-status{align-self:center;padding-top:16px}.tag.calendar{background:#eee8f4;color:#80629a}.budget{border-top:1px solid var(--line);margin:25px 0;padding-top:24px}.budget .section-title{margin-bottom:10px}.work-lines{margin:18px 0}.work-line{border:1px solid var(--line);border-radius:10px;padding:15px;margin-bottom:12px;background:#fcfdf9}.line-concept{display:grid;gap:10px}.line-concept>p{font-size:13px;white-space:pre-wrap}.line-concept textarea{min-height:70px}.line-numbers{display:grid;grid-template-columns:1fr 1.1fr .8fr 1fr auto;gap:10px;align-items:end;margin-top:12px}.line-numbers>.field input,.line-numbers>.field select{padding:10px 8px}.line-total{display:flex;flex-direction:column;gap:8px;padding-bottom:12px;min-width:0}.line-total small{font-size:10px}.line-total b{font-size:12px;white-space:nowrap}.line-numbers>.text-button{padding:12px 0}.line-numbers>span{font-size:11px;align-self:center}.budget-totals{margin:20px 0 12px 20%;font-size:12px}.budget-totals>div{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:10px 0;border-bottom:1px solid var(--line)}.budget-totals>div>span{color:var(--muted);font-size:11px}.budget-totals>div>b{white-space:nowrap}.budget-totals .grand-total{font-size:17px;padding:16px 0;color:#365341}.budget-totals .grand-total span{font-size:13px;font-weight:600;color:#365341}.empty-lines{font-size:12px;color:var(--muted);padding:15px 0}.label-preview{width:100%;height:250px;border:1px solid var(--line);border-radius:8px;margin:20px 0;background:#fff}.form-section>details>p{margin-top:12px}.detail-grid .section-title h2{overflow-wrap:anywhere}
@media(max-width:700px){.contact-name h2{width:100%}.detail-identity{align-items:flex-start}.contact-actions{gap:8px}.line-numbers{grid-template-columns:1fr 1fr;gap:12px}.line-numbers>.text-button{justify-self:end}.line-numbers .line-total{padding-bottom:8px}.budget-totals{margin-left:0}.work-line{padding:12px}.line-total b{font-size:15px}.budget .section-title{flex-wrap:wrap}.detail-grid .section-title h2{font-size:15px}.edit-notice{font-size:12px}.label-preview{height:220px}.equipment-stage{grid-template-columns:1fr auto}}

/* Iteración 0.9: órdenes, flujo y presupuesto */
.masteraudio-logo{display:block;width:100%;height:auto;object-fit:contain}.sidebar .brand{background:#fff;border-radius:9px;padding:12px 8px}.sidebar .brand-sub{padding-left:0;text-align:center;margin-top:10px}.sidebar .nav a{flex-wrap:wrap}.mobile-brand{width:145px;background:white;border-radius:6px;padding:7px}.client-sheet .brand{max-width:270px}.order-lists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 18px}.list-tab{border:1px solid var(--line);border-radius:12px;padding:18px;text-align:left;background:white;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;min-height:70px}.list-tab b{margin-left:auto;font-size:20px}.list-tab small{font-size:10px}.list-tab.active{border-color:#45634b;box-shadow:inset 0 -3px #45634b;background:#eef3e9}.orders-table{table-layout:fixed;width:100%}.orders-table th:nth-child(1){width:24%}.orders-table th:nth-child(2){width:32%}.orders-table th:nth-child(3){width:24%}.orders-table th:nth-child(4){width:20%}.orders-table td:last-child,.orders-table th:last-child{display:table-cell}.orders-table .client-name{display:block;margin:8px 0 2px;overflow-wrap:anywhere}.queue-phone{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 8px}.queue-phone .contact-icon{width:34px;height:34px}.queue-equipment{display:block;text-align:left;border:0;background:transparent;padding:10px 0;width:100%;border-bottom:1px solid #64736626;line-height:1.5;overflow-wrap:anywhere}.queue-equipment:last-child{border-bottom:0}.queue-equipment:hover b{text-decoration:underline}.queue-equipment small{display:block;font-size:10px;margin-top:3px}.orders-table .date small{display:block;margin-top:8px}.tone-pink{background:#fceff4!important}.tone-yellow{background:#fff6cb!important}.tone-orange{background:#ffe4c6!important}.tone-red{background:#ffc2bb!important}.orders-table tr:hover{box-shadow:inset 4px 0 #45634b;filter:brightness(.985)}.orders-table tr:focus-visible{outline:3px solid #516f47;outline-offset:-3px}.color-legend{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;font-size:11px;align-items:center}.color-legend span{padding:6px 9px;border-radius:5px}.color-legend .pink{background:#fceff4}.color-legend .yellow{background:#fff6cb}.color-legend .orange{background:#ffe4c6}.color-legend .red{background:#ffc2bb}.color-legend small{flex-basis:100%;font-size:11px}.outbox-panel{margin:28px 0;border-top:1px solid var(--line);padding-top:20px}.outbox-panel summary{cursor:pointer;font-size:13px;font-weight:600}.outbox-panel p{margin:15px 0}.outbox-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.waiting-call{background:#e5e3f8;color:#514776;border:1px solid #b8b2da;cursor:pointer}.stage-flow{display:flex;gap:2px;isolation:isolate;margin:23px 0}.stage-step{flex:1;min-width:0;position:relative;border:0;background:#e9eee5;padding:15px 14px 15px 22px;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%,14px 50%);font-size:11px;font-weight:600;line-height:1.4;min-height:63px}.stage-step:first-child{padding-left:12px;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%)}.stage-step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,14px 50%)}.stage-step.active{background:#3e5f49;color:white}.stage-step:hover{background:#cdddc2}.stage-step.active:hover{background:#3e5f49}.stage-step:focus-visible{outline:none;box-shadow:inset 0 0 0 4px #b87925}.budget-table-wrap{margin:18px 0;overflow:auto}.budget-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;background:white}.budget-table th{background:#edf1e8;font-size:10px;text-align:left;text-transform:uppercase;letter-spacing:.4px;padding:10px 6px;border:1px solid #d8dfd2}.budget-table td{padding:5px;border:1px solid #d8dfd2;vertical-align:top}.budget-table th:first-child{width:46%}.budget-table th:nth-child(2){width:12%}.budget-table th:nth-child(3){width:14%}.budget-table th:nth-child(4){width:12%}.budget-table th:nth-child(5){width:13%}.budget-table th:last-child{width:3%}.budget-table input,.budget-table select,.budget-table textarea{width:100%;min-width:0;font-size:12px!important;border:1px solid #dce3d7;padding:8px 5px!important;border-radius:4px}.budget-table td:first-child select{font-size:10px!important;padding:4px!important;min-height:29px;background:#f6f8f2}.budget-table textarea{min-height:68px;margin-top:5px;resize:vertical}.budget-table td>p{white-space:pre-wrap}.budget-table td>b{display:block;font-size:11px;padding-top:10px;white-space:nowrap}.budget-table .text-button{font-size:19px;padding:5px 0}.budget-table .field-help{font-size:10px}.budget-section .field{margin-top:15px}.budget-section .field textarea{min-height:70px}.budget-section .budget-totals{margin-left:25%}.message-options{display:grid;gap:10px;margin:20px 0}.message-options button{text-align:left;justify-content:flex-start;min-height:50px}.message-editor{width:100%;min-height:230px;line-height:1.7;margin:18px 0}.message-targets{display:grid;gap:10px;margin:15px 0}.billing-choice{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}.billing-choice small{display:block;margin:5px 0}.billing-choice input,.billing-choice select{width:100%;min-width:0;padding:10px}.billing-choice .storage-override{grid-column:1/-1;display:flex;align-items:center;gap:12px;font-size:12px}.storage-override input{width:100px}.billing-sheet table{width:100%;border-collapse:collapse;font-size:12px;margin:15px 0}.billing-sheet th,.billing-sheet td{padding:9px 6px;border-bottom:1px solid var(--line);text-align:right}.billing-sheet th:first-child,.billing-sheet td:first-child{text-align:left}.date-controls{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.date-controls input{padding:10px;max-width:100%}.ready-notice{margin:18px 0}.ready-notice p{font-size:12px}.delivery-status{padding:0}
@media(max-width:1100px) and (min-width:701px){.budget-table th:first-child{width:38%}.budget-table th:nth-child(3){width:18%}.budget-table th:nth-child(5){width:17%}.stage-step{font-size:10px;padding-left:17px;padding-right:11px}}
@media(max-width:700px){.topbar{gap:12px;padding:0 15px}.topbar .mobile-brand{width:135px;flex-shrink:0}.order-lists{gap:6px;margin:18px 0 14px}.list-tab{font-size:11px;padding:12px 9px;line-height:1.4;display:block}.list-tab b{display:block;margin-top:6px;font-size:21px}.list-tab small{font-size:9px}.orders-table tr{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);padding:16px;gap:14px 12px}.orders-table td:first-child{display:block;grid-column:1/-1}.orders-table td:last-child{display:block;grid-column:2}.orders-table td:nth-child(2){grid-column:1;grid-row:2/4}.orders-table td:nth-child(3){grid-column:2;text-align:right}.orders-table .client-name{margin-top:5px}.orders-table .queue-phone{margin-top:2px}.orders-table .queue-equipment{font-size:12px}.orders-table .order-number{font-size:15px}.orders-table .cell-sub{font-size:10px}.orders-table .tag{white-space:normal}.orders-table .queue-phone span{font-size:12px}.color-legend{font-size:10px;gap:6px}.stage-flow{gap:1px;margin:20px -5px}.stage-step{font-size:9px;padding:12px 7px 12px 14px;min-height:64px;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 50%,calc(100% - 9px) 100%,0 100%,9px 50%)}.stage-step:first-child{padding-left:5px;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 50%,calc(100% - 9px) 100%,0 100%)}.stage-step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,9px 50%)}.budget-table{min-width:520px}.budget-table input,.budget-table select,.budget-table textarea{font-size:14px!important;min-height:42px}.budget-table textarea{min-height:90px}.budget-table td:first-child select{font-size:11px!important}.budget-table th:first-child{width:37%}.budget-table th:nth-child(3){width:16%}.budget-table th:nth-child(4){width:14%}.budget-table th:nth-child(5){width:17%}.budget-section .budget-totals{margin-left:0}.budget-section .section-title{flex-wrap:wrap}.budget-table-wrap:after{content:'Desliza la tabla para ver todas las columnas';display:block;font-size:10px;color:#69746b;margin:8px 0}.billing-choice{grid-template-columns:minmax(0,1fr);gap:8px}.storage-override{flex-wrap:wrap}.outbox-row{font-size:11px}.order-lists+.panel .search-row{flex-wrap:wrap}.order-lists+.panel .search-row .search{width:100%}.order-lists+.panel .search-row select{width:100%}.page-head:not(.detail-heading){flex-wrap:wrap}}
.invoice-preview{width:100%;height:65vh;border:1px solid var(--line);margin-bottom:18px;background:white}.detail-grid{grid-template-columns:minmax(0,1fr) 270px}@media(max-width:1100px){.detail-grid{grid-template-columns:1fr}}
.detail-grid>div,.detail-grid>aside,.budget-section,.budget-table-wrap{min-width:0;max-width:100%}.section-title>div{min-width:0}.symptom{overflow-wrap:anywhere}@media(max-width:700px){.detail-identity{gap:8px}.detail-identity .avatar{width:34px;min-width:34px;height:34px}.detail-identity>div{flex:1}.actions{flex-wrap:wrap}.equipment-facts strong,.meta-grid strong{overflow-wrap:anywhere}}
@media(max-width:700px){.stage-step{overflow-wrap:anywhere;font-size:10px}.stage-step:last-child{padding-right:3px;padding-left:11px}}
.sidebar .nav a{flex-wrap:nowrap;line-height:1.5;font-size:12px}

/* Iteración 0.10: pantallas compactas y calendario del taller. */
.calendar-controls #calendar-year{width:76px;flex:0 0 76px}.calendar-controls #calendar-month{width:0}.calendar-controls>.button{flex-shrink:0}
.sidebar .brand{background:transparent;padding:8px 0;border-radius:0}.sidebar .masteraudio-logo{filter:brightness(0) invert(1)}
.orders-table .queue-equipment{padding:6px 0}.orders-table .date{white-space:normal}.pending-entry{display:flex;flex-wrap:wrap;gap:7px;align-items:center;line-height:1.5;margin:5px 0}.pending-entry small{flex-basis:100%}.pending-entry .button{padding:6px 10px}.review-sent{display:block;font-size:11px;color:#365341;font-weight:600;margin-top:10px}
.review-price-row{display:flex;gap:16px;align-items:flex-end}.review-price-row>.field{flex:1;min-width:0;margin:0}.review-price-row>.button{min-height:42px;white-space:nowrap;margin-bottom:0}.review-price-row .money-field{max-width:none}
.equipment-dates{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.equipment-dates>div{min-width:0}.equipment-dates small{display:block;font-size:11px;color:var(--muted)}.equipment-dates strong{display:block;font-size:13px;margin:7px 0;overflow-wrap:anywhere}.equipment-dates .date-title{display:flex;gap:10px;align-items:center;justify-content:space-between}.equipment-dates .date-title>.button{padding:5px 10px}.equipment-dates .date-edit{grid-column:1/-1}.equipment-facts{grid-template-columns:1fr 1fr}.calendar-trigger{justify-content:flex-start;width:100%;min-height:44px}
.calendar-picker{max-width:430px;margin:auto}.calendar-controls{display:flex;gap:6px;align-items:center;margin-bottom:20px}.calendar-controls select{min-width:0;padding:10px 8px;border:1px solid var(--line);border-radius:7px;background:white;font:inherit}.calendar-controls #calendar-month{flex:1}.calendar-controls .button{padding:9px}.calendar-grid{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:3px;font-size:13px}.calendar-grid th{padding:8px 0;font-size:11px;color:var(--muted)}.calendar-grid td{padding:0;border-radius:7px}.calendar-grid .weekend{background:#e6e8e2}.calendar-day{display:block;width:100%;border:1px solid transparent;background:transparent;border-radius:7px;min-height:43px;font:inherit}.calendar-day:hover{border-color:#45634b;background:#eef3e9}.calendar-day.outside-month{color:#90998d}.calendar-day.selected{background:#3e5f49;color:white;font-weight:700}.calendar-day:focus-visible{outline:3px solid #b87925;outline-offset:-3px}.calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:11px;color:var(--muted)}
.budget-table th:first-child{width:50%}.budget-table th:nth-child(2){width:12%}.budget-table th:nth-child(3){width:16%}.budget-table th:nth-child(4){width:18%}.budget-table th:last-child{width:4%}.material-matches{border:1px solid #a8b99b;border-radius:6px;background:#f5f8f1;margin-top:5px;max-height:245px;overflow:auto}.material-matches[hidden]{display:none}.material-matches button{width:100%;text-align:left;background:white;border:0;border-bottom:1px solid var(--line);padding:10px 8px;display:block;font-size:12px}.material-matches button b{display:block;font-size:10px;color:var(--muted);margin-top:3px}.material-matches button:hover,.material-matches button:focus{background:#edf3e5;outline:2px solid #547549;outline-offset:-2px}.material-matches>small{display:block;padding:7px;font-size:10px;color:var(--muted)}
@media(max-width:700px){.review-price-row{gap:9px}.review-price-row>.button{font-size:11px;padding:10px 8px}.equipment-dates{gap:12px}.equipment-dates strong{font-size:12px}.budget-table{min-width:500px}.budget-table th:first-child{width:46%}.budget-table th:nth-child(2){width:12%}.budget-table th:nth-child(3){width:17%}.budget-table th:nth-child(4){width:20%}.budget-table th:last-child{width:5%}.calendar-controls{gap:4px}.calendar-controls select{font-size:13px;padding:9px 5px}.calendar-grid{border-spacing:2px}.calendar-day{min-height:38px}.pending-entry .button{font-size:11px}}
/* v0.11: densidad de escritorio sin recortar contenido ni controles. */
.orders-table .tone-pink,.orders-table .tone-pink:hover{background:#fceff4}.orders-table .tone-red,.orders-table .tone-red:hover{background:#ffc2bb}
.color-legend .pink:before{background:#fceff4}.color-legend .red:before{background:#ffc2bb}
.phone-warning{color:#a34336;font-size:11px;line-height:1.4}.phone-warning[hidden]{display:none}input[aria-invalid=true]{border-color:#b55748}
.equipment-forms{display:grid;gap:12px}.camera-button{display:inline-flex;align-items:center;gap:5px;border:1px solid #d8e1d0;border-radius:7px;background:#f3f7ee;color:#43613b;min-height:34px;padding:6px 9px}.camera-button span{font-size:10px}.equipment-header .camera-button{margin-left:auto}.equipment-header .camera-button+.text-button{margin-left:0}
.capture-phone{padding:18px 0}.capture-phone .section-title{font-size:12px;margin-bottom:12px}.capture-phone .photo-grid{margin:0 0 16px}.photo-actions .disabled{opacity:.45;cursor:default}.photo-actions label:focus-visible{outline:3px solid #bc7c2e;outline-offset:3px}
.reception-panels{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;align-items:stretch}.reception-panels>.form-section{margin:0}.reception-organisation{grid-row:span 2}.whatsapp-control{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 0}.consent-status{font-size:11px;color:#43613b}.privacy-status{font-size:12px}.privacy-status .button{width:auto}.reception-panels .section-title h2{font-size:15px}.reception-panels .review-price-row{gap:10px}
.settings-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.settings-tabs .active{background:#e9f1e3;border-color:#7c946e}.settings-panel{max-width:960px}.settings-add{display:flex;gap:10px;margin:16px 0}.settings-add input{flex:1}.settings-entry{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.settings-panel>.field{max-width:360px;margin-bottom:16px}.settings-entries{max-height:60vh;overflow:auto;padding-right:4px}
.budget-breakdown{border-top:1px solid var(--line);margin-top:12px}.budget-breakdown>summary{cursor:pointer;padding:12px 0 0;font-size:12px;font-weight:600;color:#365341}.equipment-description{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px}.equipment-description>div{min-width:0}.equipment-description .symptom{margin:0}.order-notes .symptom{margin-bottom:0}.intake-summary .summary-list{margin:0 0 10px;gap:10px}.intake-summary .summary-item{padding:9px 0}.intake-summary>.summary-note{margin-top:10px}
@media(min-width:1101px){.topbar{height:56px;padding:0 24px}.content{padding:22px 24px 28px}.page-head{margin-bottom:16px}.page-head h1{font-size:27px}.subtitle{margin-top:5px}.form-layout{grid-template-columns:minmax(0,1fr) 235px;gap:16px}.form-section{padding:16px;margin-bottom:12px}.section-title{margin-bottom:12px}.form-grid{gap:12px 14px}.field{gap:5px}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{min-height:36px;padding:8px 10px}textarea{min-height:64px}.button{min-height:36px;padding:8px 12px}.step-nav{margin-bottom:12px;padding:4px}.step{padding:8px}.form-actions{padding:12px 0 0}.form-actions .button{min-height:38px}.equipment-header{margin-bottom:12px}.equipment-number{height:30px;width:30px}.add-equipment{padding:10px;min-height:38px;margin:12px 0 0}.review-price-row>.button{min-height:36px}.money-field:after{top:10px}.side-stack{gap:12px}.side-card{padding:16px}.side-card h3{margin-bottom:10px}.detail-grid{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.detail-grid .form-section{margin-bottom:12px}.client-section{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;align-items:center}.client-section>.section-title{grid-column:1/-1;margin:0}.client-section>.form-grid,.client-section>.edit-notice,.client-section>.whatsapp-control,.client-section>.notice{grid-column:1/-1}.detail-identity{margin:0}.detail-identity h2{font-size:18px}.contact-name{margin-bottom:0}.contact-icon{width:32px;height:32px}.meta-grid{gap:12px}.equipment-tabs{margin-bottom:12px}.equipment-tab{padding:8px 12px;min-height:44px}.equipment-tab strong{margin-bottom:3px}.equipment-facts{margin-bottom:12px;gap:12px}.body-label{margin-bottom:5px}.symptom{font-size:12px;line-height:1.5}.equipment-dates{gap:12px;margin-top:12px;padding:10px 0}.equipment-dates strong{font-size:12px;margin:5px 0}.stage-flow{margin:12px 0}.stage-step{min-height:42px;padding-top:10px;padding-bottom:10px}.budget-section{margin-top:12px;padding-top:12px}.budget-table textarea{min-height:48px;padding:6px 8px}.budget-table input,.budget-table select{min-height:32px;padding:6px 7px}.budget-table td{padding:7px 5px}.budget-table th{padding:8px 5px}.budget-section .field{margin-top:8px}.budget-section .field textarea{min-height:48px}.fact-list>div{padding:8px 0}.document-item{padding:9px 0}.edit-notice{margin-bottom:12px;padding:8px 10px}.compact-photos{margin-top:10px}.compact-photos .photo,.compact-photos .photo img{width:80px}.compact-photos .photo img{height:58px}.reception-panels+.form-actions{margin-top:0}.review-price-row{align-items:flex-end}}
@media(min-width:1400px){.equipment-forms{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.equipment-forms:has(>.equipment-entry:only-child){grid-template-columns:1fr}.equipment-forms .equipment-entry{margin:0}}
@media(max-width:1100px){.reception-panels{grid-template-columns:1fr}.reception-organisation{grid-row:auto}.equipment-description{grid-template-columns:1fr}.equipment-description .symptom{margin-bottom:6px}}
@media(max-width:700px){.mobile-nav{padding-left:3px;padding-right:3px}.mobile-nav a{min-width:0;flex:1;padding:3px 2px;font-size:9px}.equipment-forms{display:block}.camera-button{min-height:44px}.camera-button span{font-size:10px}.whatsapp-control{flex-wrap:wrap}.privacy-status{gap:8px}.privacy-status .button{width:auto}.equipment-description{gap:8px}.settings-entry{grid-template-columns:1fr 1fr;gap:7px}.settings-entry input{grid-column:1/-1}.settings-entry .button{min-height:44px}.settings-add{flex-wrap:wrap}.settings-add input{flex-basis:100%}.settings-tabs .button{flex:1;min-height:44px}.settings-entries{max-height:none}.budget-breakdown>summary{line-height:1.7}.photo-actions{align-items:stretch}.photo-actions .button{flex:1}.capture-phone{padding:14px 0}.reception-panels{gap:12px}.reception-panels .form-section{padding:17px}.review-price-row>.button{min-height:46px}.client-section .section-title{margin-bottom:10px}.detail-identity{margin-bottom:12px}}
@media(min-width:1101px){.equipment-detail:not(:has(.edit-notice)){display:grid;grid-template-columns:1fr 1fr;column-gap:24px;row-gap:10px}.equipment-detail>*{grid-column:1/-1}.equipment-detail:not(:has(.edit-notice))>.section-title{grid-row:1;margin:0}.equipment-detail:not(:has(.edit-notice))>.equipment-facts{grid-row:2;grid-column:1;margin:0;align-content:center}.equipment-detail:not(:has(.edit-notice))>.equipment-dates{grid-row:2;grid-column:2;margin:0;border:0;padding:0}.equipment-detail:not(:has(.edit-notice))>.equipment-description{grid-row:3;padding-top:10px;border-top:1px solid var(--line)}.equipment-detail .stage-flow{margin:0}.equipment-detail>.photo-grid:empty{display:none}.equipment-detail>.actions{margin-top:0!important}.budget-section .budget-table-wrap{margin:10px 0}.budget-table td:first-child:has(select){display:grid;grid-template-columns:115px minmax(0,1fr);gap:7px;align-items:start;border:0}.budget-table td:first-child select{margin:0;min-height:36px}.budget-table textarea{margin:0;height:48px;min-height:48px}.budget-table .material-matches{grid-column:1/-1}.budget-section .section-title{margin:0}.side-stack>.order-notes{margin-bottom:0}.side-stack>.order-notes h2{font-size:13px}.compact-details{margin-top:8px;font-size:11px}.compact-details summary{cursor:pointer}}
/* v0.12: estados alineados por equipo y documentos del taller. */
.mobile-wordmark{display:none}.aligned-orders th:nth-child(1){width:21%}.aligned-orders th:nth-child(2){width:29%}.aligned-orders th:nth-child(3){width:32%}.aligned-orders th:nth-child(4){width:18%}.orders-table.aligned-orders td.equipment-stage-cell{padding:0 12px}.queue-equipment-line{display:grid;grid-template-columns:minmax(0,29fr) minmax(0,32fr);gap:12px;align-items:center;min-height:62px;border-bottom:1px solid #ccd3c777}.queue-equipment-line:last-child{border:0}.orders-table .queue-equipment-line .queue-equipment{min-width:0;padding:12px 0;line-height:1.5}.queue-stage-preview{border:0;background:transparent;display:flex;gap:2px;align-items:stretch;padding:8px 0;min-width:0;width:100%;text-align:center}.queue-chevron{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;background:#e8ece5;color:#5d6c58;font-size:10px;font-weight:600;line-height:1.3;padding:9px 5px 9px 11px;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%,10px 50%)}.queue-chevron:first-child{padding-left:5px;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%)}.queue-chevron:last-child{padding-right:5px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,10px 50%)}.queue-chevron.active{background:#385d45;color:white}.queue-stage-preview:focus-visible{outline-offset:2px}.orders-table .tone-purple,.orders-table .tone-purple:hover{background:#eee3f8}.warranty-label{font-size:11px;color:#753b9b;margin-left:7px;white-space:nowrap;font-weight:750}.color-legend .purple:before{background:#eee3f8}.collection-line{grid-column:1/-1;font-size:10px;display:flex;justify-content:space-between;gap:10px;margin:-4px 0 10px;color:#54664c}.collection-line small{display:block}.compact-details summary,.communications-panel summary,.side-card>summary{cursor:pointer;font-weight:600;font-size:12px}.review-notifications{margin-bottom:16px;display:grid;gap:8px}.review-notifications .notice{display:flex;gap:16px;align-items:center;justify-content:space-between}.review-notifications .notice b{white-space:nowrap}.communications-panel>.field-help{margin:10px 0}.communication-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:11px}.communication-row small{display:block;margin-top:4px}.communication-row .button{flex-shrink:0}.financial-card .fact-list strong{white-space:nowrap}.financial-card .fact-list>div{gap:12px}.financial-card .fact-list span{min-width:0;overflow-wrap:anywhere}.financial-card .fact-list .total{border-top:1px solid var(--line);font-weight:700;color:#33563e}.financial-card .field-help{margin-top:8px}.billing-type-options,.billing-recipient-options{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.billing-type-options .button{flex:1}.billing-recipient-options .button{font-size:11px}.billing-recipient-fields{margin-bottom:16px}.billing-recipient-fields .field{gap:4px}.billing-recipient-fields input{min-height:36px}.side-card.compact-card>summary{padding:0}.compact-card[open]>summary{margin-bottom:12px}
@media(max-width:1100px){.aligned-orders th:nth-child(1){width:20%}.aligned-orders th:nth-child(2){width:27%}.aligned-orders th:nth-child(3){width:34%}.aligned-orders th:nth-child(4){width:19%}.queue-equipment-line{grid-template-columns:minmax(0,27fr) minmax(0,34fr)}.queue-chevron{font-size:9px}}
@media(max-width:700px){.mobile-wordmark{display:block;padding:15px 18px 0;width:170px}.mobile-wordmark img{width:100%;height:auto}.orders-table.aligned-orders thead{display:none}.orders-table.aligned-orders tr{display:grid;grid-template-columns:1fr}.orders-table.aligned-orders td{grid-column:1/-1;width:auto;display:block;padding:10px 14px}.orders-table.aligned-orders td.equipment-stage-cell{padding:0 14px}.orders-table.aligned-orders .queue-dates{padding-top:4px}.queue-equipment-line{grid-template-columns:minmax(0,1fr);gap:0;padding:7px 0}.orders-table .queue-equipment-line .queue-equipment{padding:4px 0;min-height:34px}.queue-stage-preview{padding:4px 0 7px;min-height:42px}.queue-chevron{font-size:10px;min-height:34px}.collection-line{display:block;margin:4px 0 7px}.review-notifications .notice{align-items:flex-start;flex-direction:column;gap:8px}.billing-type-options .button{min-height:44px}.billing-recipient-fields{grid-template-columns:1fr}.warranty-label{font-size:12px}.aligned-orders .queue-order .client-name{margin-top:3px}}

.billing-type,.recipient-choices{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.billing-type>.button{flex:1}.fiscal-panel{padding:14px;background:#f7f9f4;border:1px solid var(--line);border-radius:9px;margin:12px 0}.fiscal-panel .field-help{margin-top:8px}.billing-group-buttons{margin:12px 0}.financial-equipment{display:flex;justify-content:space-between;gap:12px;font-size:11px;padding:7px 0;border-bottom:1px solid var(--line)}.financial-equipment b{white-space:nowrap}.financial-card .amount-due{color:#33563e;font-weight:700}.financial-card .fact-list>div{font-size:11px}.financial-card .fact-list strong{font-size:12px}
@media(min-width:701px){.orders-table.aligned-orders td.queue-order,.orders-table.aligned-orders td.queue-dates{padding-top:12px;padding-bottom:12px}}@media(min-width:701px) and (max-width:960px){.orders-table.aligned-orders th:last-child,.orders-table.aligned-orders td:last-child{display:table-cell}}@media(max-width:700px){.orders-table.aligned-orders tr{gap:0;padding:12px 8px}.orders-table.aligned-orders td{grid-row:auto;text-align:left}.orders-table.aligned-orders .queue-dates .date{display:grid;grid-template-columns:105px minmax(0,1fr);gap:4px 8px}.orders-table.aligned-orders .queue-dates .date small{margin:0}.orders-table.aligned-orders .queue-dates .pending-entry small{grid-column:1/-1}}

/* v0.13: controles directos por equipo y recordatorios discretos. */
.orders-table .queue-equipment-line .queue-equipment{border-bottom:0}.queue-stage-controls{display:flex;gap:2px;min-width:0;align-items:stretch;padding:8px 0}.queue-stage-controls .queue-chevron{border:0;font-family:inherit;min-height:40px;cursor:pointer}.queue-stage-controls .queue-chevron:hover{background:#cfdcc8;color:#29442d}.queue-stage-controls .queue-chevron.active:hover{background:#385d45;color:white}.queue-stage-controls .queue-chevron:focus-visible{outline:none;box-shadow:inset 0 0 0 3px #bc7c2e}.queue-stage-controls .queue-chevron:nth-child(3){flex:1.5}.queue-stage-controls .collect-action{background:#dce9d8}.review-reminders{margin-top:18px}.review-reminder-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line);font-size:12px}.review-reminder-row>span{flex:1;min-width:0}.review-reminder-row small{display:block;margin-top:4px}.review-reminders>summary{padding-bottom:10px}.dismiss-reminder{border:0;border-radius:6px;background:#fae9e6;color:#b23329;font-size:25px;line-height:1;width:34px;height:34px;flex-shrink:0}.dismiss-reminder:hover{background:#f5cbc4}.review-reminder-row .button{flex-shrink:0}@media(max-width:700px){.queue-stage-controls{gap:2px;padding:5px 0}.queue-stage-controls .queue-chevron{min-height:44px;padding-left:9px;padding-right:5px;font-size:9px}.queue-stage-controls .queue-chevron:first-child{padding-left:4px}.review-reminder-row{gap:8px;flex-wrap:wrap}.review-reminder-row>span{flex-basis:calc(100% - 50px);order:0}.review-reminder-row .dismiss-reminder{order:1;width:40px;height:40px}.review-reminder-row .button{order:2}}

/* Los recordatorios permanecen a la vista en el lateral; acceso equivalente en móvil. */
.sidebar{overflow-y:auto}.sidebar-reminders{margin:24px 0 0;padding:15px 10px;border:1px solid #495448;border-radius:9px;background:#29352d}.sidebar-reminders h2{font-size:11px;letter-spacing:.2px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#f1d3a7;margin:0 0 10px}.sidebar-reminders h2 span{background:#50634f;border-radius:4px;padding:2px 6px;color:#fff}.review-reminder-list{max-height:220px;overflow-y:auto}.sidebar-reminders .review-reminder-row{display:flex;flex-wrap:nowrap;gap:6px;padding:8px 0;border-color:#465044}.review-reminder-open{min-width:0;flex:1;border:0;background:transparent;padding:3px 0;text-align:left;font:inherit;color:inherit}.review-reminder-open b,.review-reminder-open span{display:block;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.review-reminder-open span{font-size:10px;margin-top:3px}.review-reminder-open:hover b{text-decoration:underline}.sidebar-reminders .dismiss-reminder{width:28px;height:32px;font-size:24px;color:#ff9a8d;background:transparent}.sidebar-reminders .dismiss-reminder:hover{background:#613b38}.mobile-review-notice{display:none}.modal-review-reminders .review-reminder-row{flex-wrap:nowrap}.modal-review-reminders .review-reminder-open span{font-size:12px}.modal-review-reminders .dismiss-reminder{order:unset}@media(max-width:700px){.mobile-review-notice{display:flex;position:fixed;right:16px;bottom:82px;z-index:19;align-items:center;gap:9px;border:1px solid #455449;border-radius:18px;background:#202d24;color:white;font-size:12px;padding:9px 13px;min-height:40px;box-shadow:0 2px 8px #17241c33}.mobile-review-notice b{background:#e2b77d;color:#283b28;padding:2px 6px;border-radius:9px}}
/* v0.14 · Importes por equipo alineados con la etapa y total de la orden. */
.financial-orders.with-stage th:nth-child(1){width:15%}.financial-orders.with-stage th:nth-child(2){width:20%}.financial-orders.with-stage th:nth-child(3){width:25%}.financial-orders.with-stage th:nth-child(4){width:18%}.financial-orders.with-stage th:nth-child(5){width:10%}.financial-orders.with-stage th:nth-child(6){width:12%}
.financial-orders.without-stage th:nth-child(1){width:19%}.financial-orders.without-stage th:nth-child(2){width:30%}.financial-orders.without-stage th:nth-child(3){width:24%}.financial-orders.without-stage th:nth-child(4){width:13%}.financial-orders.without-stage th:nth-child(5){width:14%}
.financial-orders.with-stage .queue-equipment-line{grid-template-columns:minmax(0,20fr) minmax(0,25fr) minmax(0,18fr);gap:10px}.financial-orders.without-stage .queue-equipment-line{grid-template-columns:minmax(0,30fr) minmax(0,24fr);gap:18px}
.financial-orders th,.financial-orders td{padding-left:12px;padding-right:12px}.financial-orders .queue-chevron{font-size:10px}.queue-breakdown{min-width:0;font-size:12px;font-variant-numeric:tabular-nums}.breakdown-formula{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.breakdown-formula>span:not(.operator),.breakdown-formula>b{white-space:nowrap}.breakdown-formula .operator{color:#71816e}.queue-breakdown small{display:block;font-size:10px;margin-top:4px}.queue-breakdown .mobile-breakdown-label{display:none}.budget-state{display:inline-block;font-size:12px;font-weight:600;padding:5px 8px;border-radius:5px;background:#edf0ea}.budget-state.pending{color:#72796d;font-weight:400;background:transparent}.budget-state.rejected{background:#f6e3df;color:#963c32}.budget-state.review_only{background:#e2eee8;color:#365b43}.queue-order-amounts{display:grid;gap:10px;font-variant-numeric:tabular-nums}.queue-order-amounts small{display:block;font-size:10px;margin-bottom:2px}.queue-order-amounts b,.queue-order-amounts strong{font-size:16px;white-space:nowrap}.queue-order-amounts strong{color:#365b43}.queue-order-amounts .amount-note{font-size:9px;line-height:1.4}.financial-orders .queue-dates .date{white-space:normal;font-size:11px}.budget-decisions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.budget-decisions .button[aria-pressed="true"]{background:#385344;color:white;border-color:#385344}.budget-decisions .button.danger[aria-pressed="true"]{background:#9b493d;border-color:#9b493d}.budget-decision-note{font-size:11px;color:#69746b;margin-bottom:12px;line-height:1.5}
@media(max-width:1150px) and (min-width:701px){.financial-orders .queue-chevron{font-size:9px}.queue-breakdown{font-size:10px}.breakdown-formula{gap:3px}.queue-order-amounts b,.queue-order-amounts strong{font-size:13px}.financial-orders .queue-phone{flex-wrap:wrap}.financial-orders .queue-equipment-line{gap:5px}}
@media(max-width:700px){.financial-orders.with-stage .queue-equipment-line,.financial-orders.without-stage .queue-equipment-line{grid-template-columns:minmax(0,1fr);gap:3px}.financial-orders .queue-breakdown{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:4px 0 8px;font-size:12px}.queue-breakdown .mobile-breakdown-label{display:block;margin:0;min-width:65px}.breakdown-formula{justify-content:flex-start;gap:5px}.financial-orders td.queue-total{padding-top:8px;padding-bottom:12px}.queue-order-amounts{grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #cfd7c9;padding-top:10px}.queue-order-amounts b,.queue-order-amounts strong{font-size:18px}.queue-order-amounts .amount-note{grid-column:1/-1}.financial-orders .collection-line{margin-top:0}.financial-orders .queue-chevron{font-size:9px}}
/* v0.15 · Fechas por equipo, avisos de cobro y colores de etapa. */
.grouped-orders tbody{border-bottom:1px solid #dce2d7}.grouped-orders tbody:last-of-type{border-bottom:0}.orders-table.grouped-orders td{padding:12px;vertical-align:middle}.orders-table.grouped-orders td.queue-equipment-cell{min-height:62px}.grouped-orders .queue-equipment{border:0!important;padding:8px 0;min-width:0;flex:1;text-align:left}.equipment-name-actions{display:flex;align-items:center;gap:8px;min-width:0}.symptom-button{border:0;background:transparent;border-radius:5px;padding:6px;color:#657660;flex-shrink:0;min-width:30px;min-height:30px}.symptom-button:hover,.symptom-button:focus-visible{background:#e3eadc;color:#243d2c}.symptom-popup{white-space:pre-wrap;overflow-wrap:anywhere}.grouped-orders .collection-line{display:block;font-size:10px;margin:0 0 4px;line-height:1.5}.grouped-orders .collection-line small{display:block;font-size:9px}.grouped-orders .breakdown-formula{justify-content:flex-start}.amount-comments{border:1px solid #c3cebc;border-radius:6px;padding:7px 8px;background:#ffffff66}.queue-order-amounts .amount-comments small{font-size:9px;line-height:1.5;margin:0}.queue-order-amounts .amount-comments small+small{margin-top:6px}.review-payment-reminder{border:1px solid #dab57f;background:#fff1d8;color:#764714;border-radius:6px;display:block;text-align:left;font-size:10px;line-height:1.4;font-weight:650;padding:7px 8px;margin-top:10px}.review-payment-reminder:hover{background:#fce0ad}.side-card .review-payment-reminder{font-size:11px;width:100%}.prepay-draft{margin-top:10px}.modal-body .payment-total{margin:16px 0}.modal-body:has(#review-payment-method)>.field{margin:16px 0}.modal-body:has(#review-payment-method)>.field-help{margin-top:12px}
[data-stage="queued"]{--stage-light:#f7dcd9;--stage-dark:#9b302a;--stage-ink:#6e2925;--stage-active-ink:#fff}[data-stage="review"]{--stage-light:#fbe3c7;--stage-dark:#a95312;--stage-ink:#6c411e;--stage-active-ink:#fff}[data-stage="parts"]{--stage-light:#fff0ae;--stage-dark:#dfb62e;--stage-ink:#60500c;--stage-active-ink:#302803}[data-stage="ready"]{--stage-light:#dcebd7;--stage-dark:#2f6741;--stage-ink:#34553a;--stage-active-ink:#fff}[data-stage="delivered"]{--stage-light:#dae8f7;--stage-dark:#2d619e;--stage-ink:#284d77;--stage-active-ink:#fff}
.queue-stage-controls .queue-chevron[data-stage],.stage-flow .stage-step[data-stage]{background:var(--stage-light);color:var(--stage-ink)}.queue-stage-controls .queue-chevron[data-stage][aria-pressed="true"],.stage-flow .stage-step[data-stage][aria-pressed="true"]{background:var(--stage-dark);color:var(--stage-active-ink);font-weight:750;box-shadow:inset 0 -3px 0 #0004}.queue-stage-controls .queue-chevron[data-stage]:hover,.stage-flow .stage-step[data-stage]:hover{filter:brightness(.96)}.queue-stage-controls .queue-chevron[data-stage][aria-pressed="true"]:hover,.stage-flow .stage-step[data-stage][aria-pressed="true"]:hover{background:var(--stage-dark);color:var(--stage-active-ink)}
@media(max-width:700px){.orders-table.grouped-orders{display:block}.orders-table.grouped-orders tbody{display:flex;flex-direction:column;padding:10px 14px}.orders-table.grouped-orders tbody tr{display:contents}.orders-table.grouped-orders tbody td{display:block;width:auto;padding:4px 0;text-align:left}.orders-table.grouped-orders tbody td.queue-order{padding:4px 0 10px}.orders-table.grouped-orders tbody td.queue-equipment-cell{padding-top:12px;min-height:0}.orders-table.grouped-orders .queue-breakdown{padding:4px 0}.orders-table.grouped-orders tbody td.queue-total{padding:12px 0}.orders-table.grouped-orders .queue-stage-controls{padding:2px 0}.orders-table.grouped-orders .queue-dates .date{display:grid;grid-template-columns:95px minmax(0,1fr);gap:4px 7px}.orders-table.grouped-orders .queue-dates .date>small{margin:0}.symptom-button{min-height:40px;min-width:36px}.queue-order-amounts .amount-comments{grid-column:1/-1}.review-payment-reminder{font-size:12px}.grouped-orders .queue-equipment{font-size:12px}.grouped-orders .collection-line{margin-bottom:0}}

/* v0.16 · Planificación individual y ayudas inmediatas. */
.instant-tooltip{position:fixed;z-index:2000;max-width:min(430px,calc(100vw - 16px));max-height:50vh;overflow:hidden;white-space:pre-wrap;padding:12px 15px;background:#24382c;color:#fff;border:1px solid #536c59;border-radius:8px;box-shadow:0 8px 24px #0003;font-size:13px;line-height:1.6;pointer-events:none}
.orders-table.grouped-orders .mixed-tones .shared-cell{background:#fff}.orders-table.grouped-orders .queue-responsible{display:block;margin-top:4px;color:#657060;font-size:10px;font-weight:400}
.queue-stage-controls .queue-chevron[data-stage],.queue-stage-controls .queue-chevron[data-stage]:hover{background:#e8ede3;color:#5e6d5a;filter:none}.queue-stage-controls .queue-chevron[data-stage][aria-pressed="true"],.queue-stage-controls .queue-chevron[data-stage][aria-pressed="true"]:hover{background:#486341;color:#fff;box-shadow:inset 0 -3px 0 #243b2b55}
.equipment-planning{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.budget-responsible{max-width:380px;margin:0 0 13px}.budget-responsible select{min-height:38px}.issuer-fields{margin:18px 0}.date-edit .form-grid{align-items:end}
.work-calendar-panel{overflow:visible}.work-calendar-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}.work-calendar-head h2{text-transform:capitalize}.work-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.work-calendar-weekday{font-size:11px;padding:12px 8px;color:var(--muted);text-align:center;border-bottom:1px solid var(--line)}.work-calendar-day{min-height:155px;padding:10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;background:#fff}.work-calendar-day:nth-child(7n){border-right:0}.work-calendar-day.weekend,.work-calendar-weekday.weekend{background:#edf0eb}.work-calendar-day.outside-month{opacity:.48}.work-calendar-day.is-today{box-shadow:inset 0 0 0 2px #6f8b60}.work-calendar-day time{font-size:13px;font-weight:650}.calendar-overdue{border:0;background:transparent;padding:7px 0;color:#943c2c;font-size:11px;text-align:left;display:block;width:100%;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}.calendar-appointment{width:100%;display:block;text-align:left;border:1px solid #bdcdb6;background:#eff5e9;color:#355234;border-radius:5px;padding:7px;margin-top:6px;font-size:11px;line-height:1.4}.calendar-appointment b,.calendar-appointment small{display:block}.calendar-day-empty{font-size:10px;color:#8c9687;margin-top:12px}.calendar-day-modal-list{display:grid;gap:8px;margin-top:15px}.calendar-day-modal-list .button{justify-content:flex-start;text-align:left}.calendar-mobile-date{display:none}.calendar-key{padding:14px 20px;font-size:11px;color:var(--muted);line-height:1.6}
@media(max-width:700px){.instant-tooltip{font-size:12px}.work-calendar-grid{grid-template-columns:1fr}.work-calendar-weekday,.work-calendar-day.outside-month{display:none}.work-calendar-day{min-height:65px;border-right:0;padding:12px}.calendar-mobile-date{display:inline}.calendar-appointment{font-size:12px}.calendar-overdue{font-size:12px}.work-calendar-head{padding:12px;flex-wrap:wrap}.work-calendar-head h2{font-size:17px}.orders-table.grouped-orders .mixed-tones{background:#fff}.orders-table.grouped-orders .mixed-tones td{margin:0 -8px;padding-left:8px;padding-right:8px}.orders-table.grouped-orders .mixed-tones tr.tone-pink>td:not(.shared-cell){background:#fcf0f5}.orders-table.grouped-orders .mixed-tones tr.tone-yellow>td:not(.shared-cell){background:#fff8cd}.orders-table.grouped-orders .mixed-tones tr.tone-orange>td:not(.shared-cell){background:#ffe6c4}.orders-table.grouped-orders .mixed-tones tr.tone-red>td:not(.shared-cell){background:#ffc5bc}.orders-table.grouped-orders .mixed-tones tr.tone-purple>td:not(.shared-cell){background:#eee0fa}.equipment-planning{grid-template-columns:1fr}.search-row select{width:100%}}

/* v0.17 · Alta en dos pasos y calendario con carga. */
.intake-kind{margin:0 0 15px;gap:8px}.intake-kind .choice{min-height:42px;padding:8px 14px;flex:0 1 auto;align-items:center;gap:9px}.intake-completion{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}.intake-completion .intake-client{margin:0}.intake-completion .reception-panels{display:grid;grid-template-columns:1fr;gap:12px}.intake-completion .form-section{padding:17px}.intake-completion .section-title{margin-bottom:12px}.intake-completion .form-grid{gap:10px}.intake-completion textarea{min-height:64px}.summary-item small{display:block;font-size:11px;color:var(--muted);margin-top:5px}
.calendar-appointment{border:1px solid #c64c44;background:#fff0ef;color:#8a2b27}.calendar-appointment b>span{display:inline}.calendar-appointment:hover,.calendar-appointment:focus-visible{background:#ffddd9}.workload-picker .work-calendar-day{min-height:115px;padding:6px}.workload-picker .calendar-day{width:100%;text-align:left;min-height:32px;border-radius:4px}.workload-picker .calendar-day-empty{display:block;font-size:10px}.workload-picker .calendar-appointment{font-size:10px;padding:5px}.workload-picker .work-calendar-weekday{padding:8px}.workload-picker .calendar-overdue{font-size:10px;padding:5px 0}.modal:has(.workload-picker),dialog:has(.workload-picker){width:min(1180px,96vw)}.recovery-table{overflow:auto;margin:18px 0}.recovery-table table{border-collapse:collapse;width:100%}.recovery-table th,.recovery-table td{border:1px solid var(--line);padding:9px;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.recovery-table td{max-width:280px}
@media(max-width:1100px){.intake-completion{grid-template-columns:1fr}}@media(max-width:700px){.workload-picker .work-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.workload-picker .work-calendar-weekday{display:block;font-size:9px}.workload-picker .work-calendar-day{display:block;min-height:90px;padding:3px}.workload-picker .work-calendar-day.outside-month{display:block}.workload-picker .calendar-day{padding:4px;min-height:30px}.workload-picker .calendar-day-empty,.workload-picker .calendar-mobile-date{display:none}.workload-picker .calendar-appointment{font-size:8px;word-break:break-word;padding:3px}.workload-picker .calendar-appointment>span{display:none}.workload-picker .calendar-overdue{font-size:8px;line-height:1.3}.intake-kind .choice{flex:1;padding:8px;font-size:12px}}

.sync-status{padding:14px 25px;color:#d6e3cf;font-size:11px}.sync-status a{display:flex;align-items:center;gap:8px;color:inherit}.sync-status small{display:block;margin-top:6px;color:#aab8a4}.shared-gate{max-width:600px;margin:6vh auto;padding:20px}.shared-gate>.masteraudio-logo{width:230px;margin-bottom:30px}.shared-gate h1{margin-bottom:20px}.shared-gate .field{margin:20px 0}.shared-gate .text-button{display:block;margin-top:20px}.capture-transfer{display:flex;align-items:center;gap:20px;margin:10px 0 20px}.capture-qr{flex-shrink:0;width:150px;background:white;padding:8px}.capture-qr svg{width:100%;height:auto}.capture-transfer p{margin:8px 0}.capture-transfer a{text-decoration:underline;font-size:13px}.shared-gate .actions{margin-top:18px;flex-wrap:wrap}@media(max-width:700px){.capture-transfer{display:none}.shared-gate{margin-top:20px}.sync-status{display:none}}
/* v0.18: material es un aviso independiente, cuatro etapas en la ficha. */
.stage-flow{grid-template-columns:repeat(4,minmax(0,1fr))}.stage-flow [data-stage="ready"]{--stage-light:#fff0ae;--stage-dark:#dfb62e;--stage-ink:#60500c;--stage-active-ink:#302803}.stage-flow [data-stage="delivered"]{--stage-light:#dcebd7;--stage-dark:#2f6741;--stage-ink:#34553a;--stage-active-ink:#fff}.queue-stage-controls .queue-chevron:nth-child(3){flex:1}.material-control{margin:5px 0}.material-active,.material-icon{color:#684520;background:#fff2db;border-color:#d9b77f}.handoff-sticky{position:sticky;top:0;z-index:20;background:#eef4eb;border:1px solid #c8d6c1;border-radius:9px;padding:10px 14px;margin-bottom:12px;box-shadow:0 3px 10px #24362a0a}.handoff-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.handoff-main>span{font-size:12px;font-weight:650}.handoff-main>span>svg{vertical-align:middle;margin-right:7px}.handoff-main small{display:block;font-size:10px;font-weight:400;margin:4px 0 0;color:#4e6549}.handoff-pair{display:flex;align-items:center;gap:15px;max-width:650px}.handoff-pair p{font-size:12px}.handoff-pair .capture-qr{width:115px}.handoff-connect{font-size:12px;margin-top:8px}.handoff-connect summary{cursor:pointer}.device-role,.device-choices{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0}.qr-entry{max-width:740px}.qr-entry p{margin:12px 0}.qr-entry .actions{margin:22px 0;flex-wrap:wrap}.handoff-sticky .actions{flex-wrap:wrap}
@media(max-width:700px){.handoff-sticky{top:0;padding:8px;margin:0 -3px 12px}.handoff-main{gap:7px;align-items:flex-start}.handoff-main>span{font-size:11px}.handoff-main .actions{justify-content:flex-end}.handoff-main .button{min-height:42px;padding:8px;font-size:10px}.stage-flow{grid-template-columns:repeat(4,minmax(0,1fr))}.stage-flow .stage-step{font-size:10px;padding-left:10px;padding-right:9px}.handoff-pair{align-items:flex-start}.handoff-pair .capture-qr{width:90px}.device-role .button{min-height:44px}}

/* v0.19 · Componente físico y columnas de iconos estables. */
.equipment-name-actions{display:grid;grid-template-columns:minmax(0,1fr) 32px 32px;gap:6px}.equipment-name-actions>.queue-equipment{min-width:0;width:100%}.equipment-name-actions>.symptom-button,.material-icon-space{width:32px;height:32px;min-width:32px;padding:5px;display:grid;place-items:center}.equipment-name-actions>.material-icon{background:transparent;color:#684520;border:0}.equipment-name-actions>.material-icon:hover,.equipment-name-actions>.material-icon:focus-visible{background:transparent;color:#2d251b;outline:1px solid currentColor;outline-offset:-3px}.material-icon svg{display:block;fill:none}.material-icon-space{pointer-events:none}
@media(max-width:700px){.equipment-name-actions{grid-template-columns:minmax(0,1fr) 40px 40px;gap:4px}.equipment-name-actions>.symptom-button,.material-icon-space{width:40px;height:40px;min-width:40px}}

/* Finalización compacta y resguardo de recepción. */
.validation-list{margin:16px 0;padding-left:22px}.validation-list li{margin:8px 0}.receipt-preview{display:block;width:100%;height:420px;margin:16px 0;border:1px solid var(--line);border-radius:8px}.privacy-status .button{flex-shrink:0}
.remote-camera-video { display: block; width: 100%; max-height: 62dvh; aspect-ratio: 3 / 4; object-fit: contain; background: #111; border-radius: 12px; }
.remote-camera-shutter, .remote-camera-fallback { width: 100%; justify-content: center; min-height: 52px; margin-top: 12px; }
.remote-camera-footer { margin-top: 14px; justify-content: flex-end; }

/* v0.20: cinco etapas en ficha; flechas de la cola neutras. */
.stage-flow{grid-template-columns:repeat(5,minmax(0,1fr))}
.stage-flow [data-stage="repair"]{--stage-light:#fff0ae;--stage-dark:#dfb62e;--stage-ink:#60500c;--stage-active-ink:#302803}
.stage-flow [data-stage="ready"]{--stage-light:#dcebd7;--stage-dark:#2f6741;--stage-ink:#34553a;--stage-active-ink:#fff}
.stage-flow [data-stage="delivered"]{--stage-light:#dceafa;--stage-dark:#285f94;--stage-ink:#244d7b;--stage-active-ink:#fff}
.paid-equipment{display:inline-flex;gap:4px;align-items:center;background:#e0f1e2;color:#236030;border:1px solid #bdd6be;border-radius:4px;font-size:10px;font-weight:800;padding:3px 6px;margin-top:3px}
.paid-equipment small{font-size:9px;font-weight:400;margin:0!important}.duplicate-options{display:grid;gap:10px;margin:18px 0}.repair-payment-row{display:grid;gap:5px;border-bottom:1px solid var(--line);padding:10px 0}.repair-payment-row>small{font-size:10px}.repair-payment-row>span{font-size:11px}.repair-payments>.text-button{display:block;text-align:left;font-size:11px;margin-top:10px}.queue-stage-controls .queue-chevron{flex:1!important;padding-left:9px;padding-right:6px}
@media(max-width:700px){.stage-flow{grid-template-columns:repeat(5,minmax(0,1fr))}.stage-flow .stage-step{font-size:9px;min-height:48px;padding-left:8px;padding-right:6px}.equipment-detail>.actions{flex-wrap:wrap}}

.qr-visit-options{display:grid;gap:10px;margin-top:18px}.qr-visit-options .button{justify-content:flex-start;text-align:left}
.queue-equipment .paid-equipment{margin-inline-start:8px;vertical-align:middle}

/* Lectura QR e historial de visitas: una acción por fila y cámara sin recortes. */
.qr-video{display:block;width:100%;max-height:50dvh;object-fit:contain;background:#111;border-radius:10px}.qr-video[hidden]{display:none}
#qr-scan-status{margin:12px 0;font-size:13px;line-height:1.5}.qr-manual{margin-top:20px}.qr-manual summary{cursor:pointer;margin-bottom:10px}.qr-manual .button{margin-top:8px}
.qr-entry-options,.equipment-history-list{display:grid;gap:10px;margin-top:18px}.qr-entry-options .button{justify-content:flex-start;min-height:52px}
.equipment-history-row{display:grid;gap:6px;text-align:left;justify-content:stretch}.equipment-history-row small{font-size:11px;font-weight:400}
.billing-document{display:grid;gap:7px;border-top:1px solid var(--line);margin-top:14px;padding-top:14px;font-size:11px}.billing-document-title{display:flex;align-items:start;justify-content:space-between;gap:10px}.billing-document-title b{overflow-wrap:anywhere}.billing-document-title strong{white-space:nowrap}.billing-document>small{line-height:1.5}.billing-document .actions{gap:7px}.billing-document-status{font-weight:600}.billing-history{margin-top:16px}.billing-history summary{cursor:pointer;font-size:12px}.billing-payments>.field-help{margin-top:14px}.billing-payments>.text-button{display:block;text-align:left;margin-top:12px}
.label-preview{height:340px;min-height:340px;width:100%;background:#fff}
@media(max-width:700px){.label-preview{height:240px;min-height:240px}}
.billing-choice.not-selected{opacity:.65}
.billing-choice .check-row{align-items:center;gap:10px}
.billing-equipment-check{display:flex;align-items:center;gap:10px;min-width:0;font-size:13px}.billing-choice .billing-equipment-check input{width:17px;height:17px;padding:0;margin:0;flex:0 0 17px}.billing-equipment-check span{min-width:0}.billing-storage{grid-column:1/-1;font-size:11px;color:#647167}.billing-storage summary{cursor:pointer;width:fit-content}.billing-storage .storage-override{margin-top:8px}.billing-storage input{max-width:90px;padding:5px}.history-concepts{display:grid;gap:6px;font-size:12px;font-weight:400;border-top:1px solid #dfe4dc;padding-top:9px}.history-totals{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:12px}.equipment-history-row{white-space:normal}
.review-invoice{border-top:1px solid var(--line,#dfe4dc);padding-top:10px;margin-top:10px}
.review-invoice>.actions{margin-top:6px}

.register-panel { overflow: hidden; }
.register-filters { display:grid; grid-template-columns:minmax(210px,2.3fr) repeat(4,minmax(95px,1fr)); gap:12px; padding:20px; align-items:end; }
.register-filters .field { margin:0; min-width:0; }
.register-filters .field select, .register-filters .field input { width:100%; min-width:0; }
.register-totals { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border-block:1px solid var(--line); }
.register-totals > div { background:#f3f6ef; padding:16px 20px; }
.register-totals span, .register-totals strong, .register-table small { display:block; }
.register-totals span, .register-table small, .register-footer { color:var(--muted); font-size:12px; }
.register-totals strong { font-size:clamp(18px,2.1vw,28px); margin-top:5px; font-variant-numeric:tabular-nums; }
.register-table-wrap { overflow-x:auto; }
.register-table { width:100%; border-collapse:collapse; }
.register-table td, .register-table th { padding:12px 16px; text-align:left; border-bottom:1px solid var(--line); }
.register-table th { font-size:12px; color:var(--muted); }
.register-table td { font-size:14px; }
.register-table small { margin-top:4px; }
.register-table .register-amount, .register-table th:nth-last-child(-n+2) { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.register-number { color:var(--forest,#284c36); background:transparent; padding:4px 0; font:inherit; font-weight:700; border:0; text-align:left; cursor:pointer; }
.register-number:hover, .register-number:focus-visible { text-decoration:underline; }
.register-footer, .register-empty { padding:16px 20px; }
#series-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media(max-width:1050px){ .register-filters { grid-template-columns:repeat(4,minmax(0,1fr)); } .register-filters label:first-child { grid-column:1/-1; } }
@media(max-width:700px){
  .register-filters,.register-totals { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .register-filters { padding:14px; }
  .register-totals>div { padding:12px 14px; }
  .register-table thead { display:none; }
  .register-table tbody,.register-table tr { display:block; }
  .register-table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 10px; padding:12px 14px; border-bottom:1px solid var(--line); }
  .register-table td { display:block; padding:0; border:0; overflow-wrap:anywhere; }
  .register-table td:nth-child(2) { text-align:right; }
  .register-table td:nth-child(3) { grid-column:1; grid-row:2 / span 2; }
  .register-table td:nth-child(4):before { content:"Importe "; font-size:11px; }
  .register-table td:nth-child(5) { grid-column:2; }
  .register-table td:nth-child(5):before { content:"Pendiente "; font-size:11px; }
}
.register-sort { border:0; padding:5px 2px; cursor:pointer; font:inherit; font-weight:700; color:inherit; background:transparent; }
.register-sort span { font-size:10px; color:#8c958d; }
.register-sort span.chosen, .register-order { color:var(--forest,#284c36); }
.register-order { font-weight:700; }
.register-mobile-sort { display:none; }
#series-fields { grid-template-columns:repeat(auto-fit,minmax(125px,1fr)); }
#series-fields strong { display:block; font-variant-numeric:tabular-nums; }
@media(max-width:700px){
  .register-mobile-sort { display:flex; justify-content:space-between; border-bottom:1px solid var(--line); padding:4px 14px; }
}
