main>[hidden],#retomas[hidden]{display:none!important}
.nav-item[hidden]{display:none!important}.workshop-backup{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px;font-size:12px;color:#707178}.workshop-backup button[hidden]{display:none}
.sidebar .nav-item{white-space:nowrap;flex-shrink:0}.sidebar .nav-symbol,.sidebar .nav-count{flex-shrink:0}
@media(max-width:1100px){.sidebar{overflow-x:auto}.sidebar .brand{flex-shrink:0}}
@media(min-width:721px) and (max-width:850px){#entries-panel .record-head,#entries-panel .record{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) minmax(0,.7fr) minmax(0,1.5fr) 155px 35px;gap:8px}#retoma-list .mota-table-head,#retoma-list .mota-table-row{grid-template-columns:minmax(0,1.2fr) 85px minmax(0,2.3fr) 155px 35px;gap:8px}.mota-table-head{font-size:10px;letter-spacing:.5px}}
@media(min-width:1101px){.sidebar{width:260px}main{margin-left:260px}}
.overview-breakdown{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 0 4px;font-size:16px;color:#858a80}.overview-breakdown a{color:#707178;text-decoration:none}.overview-breakdown a:hover{color:var(--ink);text-decoration:underline}
#vehicle-form label[hidden]{display:none!important}
#vehicle-form .form-section[hidden]{display:none!important}
#retomas .retoma-list-panel.board{overflow:visible}
.volume-demo-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 15px;margin-top:16px;border:1px solid #dce6cc;border-radius:8px;background:#edf3e5;font-size:12px;color:#536747}.volume-demo-banner>div{display:flex;gap:8px;flex-shrink:0}.volume-demo-banner a{text-decoration:none}.mota-table-row[hidden]{display:none!important}.mota-pagination{padding:0 20px 12px}.mota-pagination>span:first-child{margin-right:auto}@media(max-width:720px){.volume-demo-banner{align-items:flex-start;flex-direction:column}}
#entries-panel .board{margin-top:0}.nav-item:not(.selected) .nav-active-dot{display:none}
#entries-panel{padding-bottom:40px}
#entries-panel .board{border-radius:10px}
#entries-panel .controls .search{width:min(340px,100%);flex:0 1 340px}
#entries-panel .records{padding:0 9px 8px}
#entries-panel .record-head{color:#77787e;font-size:12px;letter-spacing:1px;padding:0 11px 12px}
#entries-panel .record{margin:0;border:0;border-top:1px solid #f0f1ed;border-radius:0;padding:16px 11px;background:transparent;box-shadow:none;min-width:0}
#entries-panel .record:hover{background:#f7f8f4}
#entries-panel .customer,#entries-panel .date-cell,#entries-panel .request-main{font-size:13px;color:#707178;line-height:1.5}
#entries-panel .request-sub{font-size:12px;color:#858a80;line-height:1.5;margin-top:4px}
#entries-panel .bike-name{font-size:15px}
#entries-panel .bike-plate{font-size:14px}
#entries-panel .list-pagination{padding:0 20px 12px}
#entries-panel .row-actions{gap:5px}
#entries-panel .row-actions button{background:#f6f7f3;border:1px solid var(--line);width:28px;height:28px}
#entries-panel .row-actions button:hover{background:#edf3e5;color:#658047}
@media(min-width:721px){
  #entries-panel .record-head,#entries-panel .record{display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(90px,.8fr) minmax(80px,.7fr) minmax(130px,1.5fr) minmax(100px,1fr) 61px;grid-template-rows:auto;gap:12px;align-items:center}
  #entries-panel .record>div{grid-column:auto;grid-row:auto;min-width:0}
  #entries-panel .record .customer,#entries-panel .record .date-cell{display:block;overflow-wrap:anywhere}
  #entries-panel .record .customer::before,#entries-panel .record .date-cell::before,#entries-panel .record .request-cell::before{display:none}
  #entries-panel .record .request-cell{padding-top:0;border-top:0}
  #entries-panel .record .request-main,#entries-panel .record .request-sub{white-space:normal;overflow-wrap:anywhere}
  #entries-panel .record .status-cell{justify-self:start}
  #entries-panel .record .status-select{white-space:normal;text-align:left;line-height:1.4}
  #entries-panel .record .row-actions{min-width:0;justify-self:end}
}
@media(max-width:720px){
  #entries-panel .welcome{align-items:flex-start;flex-direction:column;gap:15px}
  #entries-panel .controls .search{width:100%;flex-basis:100%}
  #entries-panel .record-head{display:none}
  #entries-panel .record{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;gap:12px;padding:16px 8px}
  #entries-panel .record .bike-info{grid-column:1;grid-row:1}
  #entries-panel .record .status-cell{grid-column:2;grid-row:1;max-width:125px}
  #entries-panel .record .customer{grid-column:1;grid-row:2;display:block}
  #entries-panel .record .date-cell{grid-column:2;grid-row:2;display:block;text-align:right}
  #entries-panel .record .request-cell{grid-column:1/-1;grid-row:3;padding:0;border:0}
  #entries-panel .record .row-actions{grid-column:2;grid-row:4;justify-self:end}
  #entries-panel .record .request-main,#entries-panel .record .request-sub{white-space:normal;overflow-wrap:anywhere}
  #entries-panel .record .customer::before,#entries-panel .record .date-cell::before,#entries-panel .record .request-cell::before{display:none}
}
.retoma-preview{padding:11px 14px;margin-bottom:22px;border:1px solid #dfe7d5;background:#edf3e5;color:#61734c;border-radius:8px;font-size:12px}
.retoma-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;padding-bottom:40px;align-items:start}
.retoma-list-panel .search{width:100%;margin-bottom:15px;background:white}.retoma-list-panel .search input{width:100%;min-width:0}
.retoma-card{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;padding:18px;margin-bottom:10px;color:var(--ink);cursor:pointer;font:inherit}.retoma-card.is-selected{border-color:#8eaa6d;background:#f3f8ec;box-shadow:inset 3px 0 #84a65b}.retoma-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.retoma-card-top b{font-size:14px}.retoma-card-top>span{font-size:10px;color:#777d72;white-space:nowrap}.retoma-reference{display:inline-block;margin:12px 0 10px;font-size:12px;font-weight:700;letter-spacing:1px}.retoma-card small{display:block;font-size:11px;color:#858a80}
.retoma-history{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px}.retoma-history-head{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px}.retoma-history h2{font:700 23px Manrope,sans-serif;margin:9px 0 0}.retoma-timeline{margin-top:25px}.retoma-event{position:relative;margin-left:7px;padding:0 0 30px 24px;border-left:1px solid #e1e8d8}.retoma-event:last-child{padding-bottom:5px}.retoma-event:before{content:'';position:absolute;left:-5px;top:3px;width:9px;height:9px;border-radius:50%;background:#90b565;box-shadow:0 0 0 4px #f3f7ee}.retoma-event time{font-size:11px;color:#7a856e;font-weight:600}.retoma-event h3{font-size:14px;margin:9px 0}.retoma-event p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#60675b;line-height:1.7;margin:0}.retoma-parts{margin-top:14px;background:#f6f7f3;border-radius:7px;padding:12px;font-size:12px}.retoma-parts b,.retoma-parts span{display:block}.retoma-parts b{font-size:10px;color:#858a80;margin-bottom:6px}.retoma-parts span{white-space:pre-wrap;overflow-wrap:anywhere}.retoma-empty{padding:30px 12px;color:#858a80;font-size:13px;text-align:center}
.retoma-dialog{width:min(480px,94vw);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:28px;color:var(--ink)}.retoma-dialog::backdrop{background:#24282066}.retoma-dialog h2{margin:10px 0;font-size:23px}.retoma-dialog p{font-size:12px;color:#858a80}.retoma-dialog label{display:block;font-size:12px;font-weight:600;margin-top:18px}.retoma-dialog label span{font-weight:400;color:#858a80}.retoma-dialog input,.retoma-dialog textarea{display:block;width:100%;margin-top:8px;padding:11px;border:1px solid #dce1d5;border-radius:7px;font:inherit;background:#fff}.retoma-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#retoma-error{color:#ae4141}.retoma-history-head h2,.retoma-card-top b{overflow-wrap:anywhere}
.history-entry-dialog{width:min(720px,94vw)}.history-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.history-entry-dialog select{display:block;width:100%;margin-top:8px;padding:11px;border:1px solid #dce1d5;border-radius:7px;background:white;font:inherit}.history-recognition{margin-top:16px;padding:12px;background:#edf3e5;border-radius:7px;font-size:12px;line-height:1.6;color:#55713a}.history-previous{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.history-previous summary,.retoma-event summary{cursor:pointer;font-size:12px;color:#658047}.history-tag{display:inline-block;margin-left:10px;padding:4px 8px;border-radius:5px;background:#eff3e8;font-size:10px;color:#657854}.history-field{margin-top:14px}.history-field>b{display:block;font-size:11px;margin-bottom:6px;color:#858a80}.history-customer{display:block;color:#858a80;margin-bottom:12px}.retoma-event details{margin-top:10px}#history-error{color:#ae4141}
@media(max-width:600px){.history-form-grid{grid-template-columns:1fr;gap:0}.history-tag{display:block;width:fit-content;margin:8px 0}.history-entry-dialog{padding:20px}}
@media(max-width:1000px){.retoma-grid{grid-template-columns:250px minmax(0,1fr)}.retoma-history-head{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.retoma-grid{grid-template-columns:1fr}.retoma-history{padding:20px}#retomas .welcome{gap:15px;align-items:flex-start;flex-direction:column}.retoma-list-panel{min-width:0}}

/* Use the same full-width list and board styling as Entradas. */
.retoma-grid{grid-template-columns:minmax(0,1fr);gap:22px}
.retoma-list-panel.board{margin-top:0;min-width:0;overflow:hidden}
.retoma-list-panel .controls .search{width:min(340px,100%);margin-bottom:0;flex:0 1 340px}
#retoma-list,#history-bikes{padding:0 9px 8px}
.mota-table-head,.mota-table-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(80px,.6fr) minmax(110px,.8fr) minmax(180px,1.6fr) 150px;gap:12px;align-items:center}
.mota-table-head{padding:0 11px 12px;color:#77787e;font-size:12px;font-weight:700;letter-spacing:1px}
.retoma-card.mota-table-row{width:100%;border:0;border-top:1px solid #f0f1ed;border-radius:0;padding:16px 11px;margin:0;background:transparent;box-shadow:none;min-width:0}
.retoma-card.mota-table-row:hover{background:#f7f8f4}
.retoma-card.mota-table-row.is-selected{background:#f3f7ed;box-shadow:inset 3px 0 #8eaa6d}
.mota-table-row .bike-info>span:last-child{min-width:0}
.mota-table-row .bike-name,.mota-table-row .bike-plate{display:block}
.mota-cell{font-size:13px;color:#707178;text-align:left;min-width:0}
.mota-work{overflow-wrap:anywhere;line-height:1.5}
.mota-open{font-size:12px;color:#658047;font-weight:600;text-align:right}
.retoma-history{border-radius:10px;padding:20px}
.retoma-history h2{font-size:21px;letter-spacing:-.4px}
.retoma-history-head{flex-direction:row;align-items:center}
.retoma-preview{background:#f6f7f3;color:#74786e;border-color:var(--line);font-size:12px;margin-bottom:18px}
.retoma-event time,.retoma-parts b{font-size:12px}.retoma-event h3{font-size:15px}.retoma-event p,.retoma-parts{font-size:14px}
@media(max-width:1100px){.mota-table-head,.mota-table-row{grid-template-columns:minmax(150px,1.2fr) 75px 105px minmax(130px,1.2fr) 110px;gap:8px}.mota-open{font-size:11px}}
@media(max-width:720px){.mota-table-head{display:none}.retoma-card.mota-table-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 8px}.mota-table-row .bike-info{grid-column:1;grid-row:1}.mota-table-row .mota-cell:nth-child(2){grid-column:2;grid-row:1;text-align:right}.mota-table-row .mota-cell:nth-child(3){grid-column:1;grid-row:2}.mota-table-row .mota-work{grid-column:1/3;grid-row:3}.mota-open{grid-column:2;grid-row:2;font-size:12px}.retoma-history-head{flex-direction:column;align-items:flex-start}.retoma-list-panel .controls .search{flex-basis:100%;width:100%}.mota-cell{font-size:13px}}

#retomas>.retoma-preview{display:none}
#historico-demo>.retoma-preview{display:none}
#history-bikes .mota-table-head,#history-bikes .mota-table-row{grid-template-columns:minmax(150px,1.2fr) minmax(100px,.7fr) minmax(180px,2.3fr) minmax(120px,1fr) 61px;gap:12px}
#history-bikes .mota-table-row{padding:16px 11px;cursor:default}
#history-bikes .request-main{font-size:13px;color:#707178;white-space:normal;line-height:1.5}
#history-bikes .request-sub{font-size:12px;color:#858a80;white-space:normal;line-height:1.5;margin-top:4px}
#history-bikes .row-actions{gap:5px;justify-content:flex-end}
#history-bikes .row-actions button{background:#f6f7f3;border:1px solid var(--line);width:28px;height:28px}
#history-bikes .row-actions button:hover{background:#edf3e5;color:#658047}
#historico-demo .welcome{gap:15px}
#history-detail{scroll-margin-top:24px}
@media(max-width:720px){#history-bikes .mota-table-head{display:none}#history-bikes .mota-table-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 8px}#history-bikes .bike-info{grid-column:1;grid-row:1}#history-bikes .history-visit-count{grid-column:2;grid-row:1;text-align:right}#history-bikes .history-last-date{grid-column:1;grid-row:2;text-align:left}#history-bikes .mota-work{grid-column:1/-1;grid-row:3}#history-bikes .row-actions{grid-column:2;grid-row:2}#historico-demo .welcome{flex-direction:column;align-items:flex-start}}
#retoma-list .mota-table-head,#retoma-list .mota-table-row{grid-template-columns:minmax(150px,1.2fr) minmax(100px,.7fr) minmax(180px,2.3fr) minmax(120px,1fr) 61px;gap:12px}
#retoma-list .mota-table-row{padding:16px 11px}
#retoma-list .mota-cell{font-size:13px;color:#707178}
#retoma-list .request-main{font-size:13px;color:#707178;white-space:normal;line-height:1.5}
#retoma-list .request-sub{font-size:12px;color:#858a80;white-space:normal;line-height:1.5;margin-top:4px}
#retoma-list .retoma-status-cell{min-width:0}
#entries-panel .record .status-picker,#retoma-list .retoma-status-cell .status-picker{width:min(145px,100%);max-width:100%;min-width:0}
#entries-panel .record .status-picker .status-select,#retoma-list .retoma-status-cell .status-picker .status-select{display:block;width:100%;min-width:0;max-width:100%;padding:7px 10px;font-size:12px;line-height:1.4;white-space:normal;text-align:left;cursor:pointer}
@media(max-width:720px){#entries-panel .record .status-picker .status-select,#retoma-list .retoma-status-cell .status-picker .status-select{min-height:34px;padding:5px 6px;font-size:10px;line-height:1.2;text-align:center;overflow-wrap:anywhere}}

#entries-panel .record .status-picker,#retoma-list .retoma-status-cell .status-picker{width:max-content;max-width:none}
#entries-panel .record .status-picker .status-select,#retoma-list .retoma-status-cell .status-picker .status-select{width:auto;white-space:nowrap;overflow-wrap:normal}
@media(min-width:721px){
  #entries-panel .record-head,#entries-panel .record{grid-template-columns:minmax(110px,1.2fr) minmax(80px,.8fr) minmax(75px,.7fr) minmax(100px,1.5fr) 170px 61px}
  #retoma-list .mota-table-head,#retoma-list .mota-table-row{grid-template-columns:minmax(130px,1.2fr) minmax(90px,.7fr) minmax(140px,2.3fr) 170px 61px}
}
@media(max-width:720px){#entries-panel .record .status-cell,#retoma-list .retoma-status-cell{max-width:none}}
#retoma-list .row-actions{gap:5px;justify-content:flex-end}
#retoma-list .row-actions button{background:#f6f7f3;border:1px solid var(--line);width:28px;height:28px}
#retoma-list .row-actions button:hover{background:#edf3e5;color:#658047}
@media(max-width:720px){#retoma-list .mota-table-head{display:none}#retoma-list .mota-table-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 8px}#retoma-list .bike-info{grid-column:1;grid-row:1}#retoma-list .retoma-status-cell{grid-column:2;grid-row:1;max-width:125px}#retoma-list .retoma-entry-date{grid-column:1;grid-row:2;text-align:left}#retoma-list .mota-work{grid-column:1/-1;grid-row:3}#retoma-list .row-actions{grid-column:2;grid-row:2}}
.history-dates{display:grid;gap:5px;font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.history-dates time{font-size:inherit;color:inherit;font-weight:inherit}.retoma-event>.history-dates{margin-bottom:8px}
