/* Clear task hierarchy; the original forms and print sheet retain their behavior. */
#simple-mobile-nav,#simple-more-sheet,.simple-row-toggle{display:none}
.simple-home-link{border:0;background:#e8f1ff;color:#145cbe;padding:9px 12px;border-radius:8px;font-weight:700;min-height:42px}
#nav [data-simple-nav-more]>summary{padding:12px 14px;color:#d8e6fa;font-size:.9rem;cursor:pointer;border-top:1px solid #ffffff26;margin-top:8px}
.simple-nav-extras{display:grid;gap:4px;padding:5px 0 0 8px}
.simple-fold{border:1px solid #d7e3f1;border-radius:10px;background:#fff;margin:12px 0;min-width:0}
.simple-fold>summary{padding:13px 15px;font-weight:650;color:#145cbe;cursor:pointer;min-height:44px;line-height:1.4}
.simple-fold[open]>summary{border-bottom:1px solid #e3ebf5;background:#f3f8ff}
.simple-fold>.card{border:0;box-shadow:none;margin:0}.simple-fold>form,.simple-fold>label,.simple-fold>button{margin:12px}.simple-fold>label{display:block}
.simple-fold:has(>.order-open-edit[hidden]){display:none}
.simple-order-tabs{display:flex;gap:6px;margin:12px 0 18px;padding:5px;border-radius:10px;background:#e9f1fc}
.simple-order-tabs button{flex:1;border:0;border-radius:7px;background:transparent;padding:12px 8px;color:#36536c;font-weight:650;min-height:44px}
.simple-order-tabs button[aria-selected=true]{background:#145cbe;color:#fff;box-shadow:inset 0 -3px #f58220}
[data-simple-order-panel][hidden],.simple-empty-columns{display:none!important}
.simple-task-brief{border-left:4px solid #f58220;background:#f1f7ff;padding:15px 18px;border-radius:8px;margin:10px 0 18px}
.simple-task-brief>strong{color:#145cbe;font-size:1.15rem}.simple-task-brief p{line-height:1.6;margin:7px 0 0;white-space:pre-wrap}
.simple-materials>h4{display:none}.simple-materials>p,.simple-materials>label,.simple-materials>[data-job-materials],.simple-materials>[data-job-part-results]{margin:12px}
.simple-worker-identity{display:none!important}
.simple-more-dialog{background:#fff;padding:20px;border-radius:18px 18px 0 0;width:min(100%,520px);max-height:85dvh;overflow:auto;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.simple-more-dialog [data-simple-more-links]{display:grid;gap:9px;margin:16px 0}.simple-more-dialog [data-simple-more-links] button{display:flex;justify-content:space-between;text-align:left;min-height:48px}.simple-more-dialog h2{margin:0;color:#145cbe}.simple-more-dialog>button{width:100%}
#simple-more-sheet[hidden]{display:none!important}
@media screen and (max-width:760px){
 .app{display:block!important}.app>.side{display:none!important}.app .main{min-width:0;width:100%}.app .top{padding:10px 14px;gap:8px;flex-wrap:nowrap}.app .top #toplabel{font-size:.8rem;flex:1}.app .session-tools #session-user,.app .session-tools #logout-button{display:none!important}.app .session-tools:empty{display:none}
 .app .content{padding:18px 13px calc(94px + env(safe-area-inset-bottom));width:100%;max-width:100%;overflow-wrap:anywhere}.app .heading{gap:10px;margin-bottom:16px}.app .heading h1{font-size:1.4rem}.app .heading p{font-size:.85rem;line-height:1.45}.app .heading>div:has(.inventory-head-actions){width:100%}
 #simple-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:80;border-top:1px solid #d2e0f0;background:#fff;box-shadow:0 -5px 20px #163d6b0c;padding:5px 6px calc(5px + env(safe-area-inset-bottom));min-height:65px}
 #simple-mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#52677e;background:transparent;border:0;border-radius:9px;min-height:54px;font-size:.68rem;font-weight:650;min-width:0;padding:4px 0}
 #simple-mobile-nav button[aria-current=page]{color:#145cbe;background:#eaf2ff;box-shadow:inset 0 3px #f58220}
 .login-locked #simple-mobile-nav,.login-locked #simple-more-sheet{display:none!important}
 #simple-more-sheet{display:flex;align-items:flex-end;justify-content:center;position:fixed;inset:0;z-index:120;background:#122c4c70}
 .app #view .card{border-radius:11px}.app #view .panel{padding:15px;margin-top:14px}.app #view .btn{min-height:44px}.app #view .order-journey{display:none}.app #view .next-action{font-size:.82rem;padding:10px;margin:8px 0}.app #view .order-overview{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:10px}.app #view .order-overview>div{padding:9px 11px}.app #view .order-overview>div:nth-child(n+3){display:none}
 .app #view .simple-order-tabs{gap:3px;position:sticky;top:0;z-index:12}.app #view .simple-order-tabs button{font-size:.78rem;padding:10px 5px;min-width:0}.app #view [data-simple-order-panel]>.card,.app #view [data-simple-order-panel]>.panel{margin-top:12px}
 .app #view .team-job{padding:14px;margin-top:12px}.app #view .team-job>[data-job-clock]{font-size:1.2rem}.app #view .team-job>.subtle,.app #view .team-order-panel>p.subtle{display:none}.app #view .team-job .actions{gap:8px}.app #view .team-job .actions .btn{flex:1}.app #view .team-job .panel-head h3{font-size:1rem}.app #view .simple-materials .job-material-row{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0}
 .app #view .dashboard-stats,.app #view .vehicle-stats{gap:9px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.app #view .stats-disclosure>summary{padding:12px;min-height:76px}.app #view .stats-disclosure>summary strong{font-size:1.3rem}.app #view .stats-disclosure>summary small{font-size:.72rem;line-height:1.35}.app #view .stats-disclosure[open]{grid-column:1/-1}.app #view .dashboard-panel-body{padding:10px}.app #view .stats-disclosure .table-wrap{margin:0}
 .app #view .quick-actions{gap:10px}.app #view .quick-action{padding:14px;min-height:100px}.app #view .quick-action>b{font-size:.95rem}.app #view .quick-action>span{font-size:.76rem;line-height:1.4}.app #view .compact-tabs{gap:6px;flex-wrap:wrap}.app #view .compact-tabs .btn{font-size:.8rem;flex:1}
 .app #view .inventory-head-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.app #view .inventory-head-actions>[data-part-new]{grid-column:1/-1;grid-row:1}.app #view .inventory-head-actions .btn{font-size:.8rem;padding:10px 8px}.app #view [data-simple-inventory-tools]>.btn{display:block;width:calc(100% - 24px);margin:12px}.app #view .entry-methods{grid-template-columns:1fr}.app #view .entry-method{padding:14px}.app #view .entry-method .method-icon,.app #view .entry-method>p{display:none}.app #view .entry-method h3{margin:0 0 10px}
 .app #view table[data-simple-table],.app #view table[data-simple-table] tbody{display:block;min-width:0!important;width:100%;table-layout:auto}.app #view table[data-simple-table] thead,.app #view table[data-simple-table] colgroup{display:none}
 .app #view table[data-simple-table] tr:not(.compact-empty-row){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 10px;margin:10px 0;padding:13px;border:1px solid #d6e4f2;border-radius:10px;background:#fff;box-shadow:0 2px 6px #163d6b05}
 .app #view table[data-simple-table] tr[hidden]{display:none!important}.app #view table[data-simple-table] td{display:block!important;width:auto!important;min-width:0!important;padding:3px 0!important;border:0!important;text-align:left!important;overflow-wrap:anywhere;font-size:.86rem;grid-column:1/-1;line-height:1.5}
 .app #view table[data-simple-table] td::before{display:none!important}.app #view table[data-simple-table] .simple-row-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:38px!important;margin-left:6px;font-size:.75rem;padding:6px 9px}.app #view table[data-simple-table] .record-actions{display:inline-flex;flex-wrap:wrap}
 .app #view table[data-simple-table=order] td:nth-child(2){grid-row:1;font-size:1.05rem;color:#145cbe}.app #view table[data-simple-table=order] td:nth-child(6){grid-column:1}.app #view table[data-simple-table=order] td:nth-child(7){grid-column:2;text-align:right!important}.app #view table[data-simple-table=order] tr:not([data-simple-expanded=true]) td:is(:nth-child(1),:nth-child(3),:nth-child(5)){display:none!important}.app #view table[data-simple-table=order] tr:not([data-simple-expanded=true]) .order-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.app #view table[data-simple-table=order] .work-type{font-size:.75rem}
 .app #view table[data-simple-table=stock] td:nth-child(1){grid-column:1;grid-row:1;color:#145cbe}.app #view table[data-simple-table=stock] td:nth-child(3){grid-column:2;grid-row:1;text-align:right!important;font-weight:700}.app #view table[data-simple-table=stock] tr:not([data-simple-expanded=true]) td:is(:nth-child(4),:nth-child(5),:nth-child(6)){display:none!important}.app #view table[data-simple-table=stock] tr:not([data-simple-expanded=true]) .record-actions{display:none!important}
 .app #view table[data-simple-table=vehicle] td:nth-child(1){grid-row:1}.app #view table[data-simple-table=vehicle] td:nth-child(5){grid-column:1}.app #view table[data-simple-table=vehicle] td:nth-child(6){grid-column:2}.app #view table[data-simple-table=vehicle] tr:not([data-simple-expanded=true]) td:is(:nth-child(2),:nth-child(3),:nth-child(4)){display:none!important}.app #view table[data-simple-table=vehicle] tr:not([data-simple-expanded=true]) .vin-line{display:none}.app #view table[data-simple-table=vehicle] td:nth-child(5)::before{display:block!important;content:'ITV';font-size:.7rem;color:#52677e}.app #view table[data-simple-table=vehicle] td:nth-child(6)::before{display:block!important;content:'Mantenimiento';font-size:.7rem;color:#52677e}
 .app #view .worker-preview-banner{margin:10px 12px 0;padding:10px;font-size:.78rem}.app #view .worker-preview-banner p{line-height:1.4}.app #view .worker-preview-banner .actions{display:flex;gap:6px}.app #view .worker-preview-banner .actions button{font-size:.74rem;min-height:38px;padding:7px}
}
@media print{#simple-mobile-nav,#simple-more-sheet,.simple-home-link,.simple-order-tabs,[data-simple-order]{display:none!important}}
