.report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:14px;margin-bottom:16px;align-items:end}
.report-filters .field{margin:0;min-width:0;font-size:12px;color:var(--ui-muted)}
.report-filters select,.report-filters input{max-width:100%;min-width:0}
.report-secondary{min-height:44px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-soft);color:var(--ui-accent);padding:10px 16px;font:inherit;cursor:pointer}
.report-error{grid-column:1/-1;color:var(--ui-danger);margin:0}.report-error:empty{display:none}
.report-summary{border:1px solid var(--ui-border);background:var(--ui-panel);border-radius:16px;overflow:hidden;margin-bottom:16px}
.report-hero{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--ui-soft)}
.report-hero>div{min-width:0}.report-eyebrow{display:block;color:var(--ui-accent);font-size:12px;font-weight:700}.report-total{display:block;font-size:clamp(24px,3vw,38px);line-height:1.3;margin:8px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.report-count,.report-scope{font-size:12px;color:var(--ui-muted);line-height:1.6;margin:4px 0;overflow-wrap:anywhere}.report-hero button{flex-shrink:0}
.report-help{font-size:12px;line-height:1.6;color:var(--ui-muted);padding:0 24px}
.report-breakdown>summary{padding:16px 24px;border-top:1px solid var(--ui-border);cursor:pointer;font-weight:600}
.report-group-body{padding:0 24px 20px}.report-project{border:1px solid var(--ui-border);border-radius:10px;margin-top:10px;overflow:hidden}
.report-project>summary,.report-line{display:flex;justify-content:space-between;gap:16px;align-items:baseline;overflow-wrap:anywhere}
.report-project>summary{padding:14px;cursor:pointer;background:var(--ui-bg);font-size:13px}.report-project>summary span{min-width:0}.report-project>summary strong,.report-line>span:last-child{flex-shrink:0;font-variant-numeric:tabular-nums}
.report-task{padding:14px;border-top:1px solid var(--ui-border);font-size:13px}.report-line strong{min-width:0}.report-person{font-size:12px;color:var(--ui-muted);margin-top:9px;padding-left:12px}
.shell>header{height:auto!important;min-height:76px;flex-wrap:wrap}.shell>header .workspace-label{flex:1 1 160px;min-width:0;overflow-wrap:anywhere}.shell>header .meta{max-width:100%;min-width:0;flex-wrap:wrap}.auth-actions{flex-wrap:wrap}.account-menu{max-width:100%}
@media(max-width:900px){
 .shell>header{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px 0;min-height:0!important}
 .shell>header .workspace-label{display:block;flex:none;font-size:12px;max-width:100%}
 .shell>header .meta{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%}
 .shell>header .meta .live{align-self:flex-start;margin:0;padding:0;display:inline-flex}
 .shell>header .auth-actions{display:flex;width:100%;gap:8px;justify-content:flex-start;align-items:center;flex-wrap:wrap}
 .auth-actions #attendance-requests-button{max-width:100%;white-space:normal;min-width:0}
 .account-menu>summary{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:44px}
 .shell .panel-head{position:static;flex-wrap:wrap;align-items:center;padding-top:22px}.panel-head>div{min-width:0;flex:1 1 170px}.panel-head #create{max-width:100%;white-space:normal;flex-shrink:0}
 .panel-head h2{overflow-wrap:anywhere}.panel-head .view-caption{max-width:none}
 .shell .toolbar{flex-wrap:wrap}.toolbar .search{min-width:0;flex-basis:100%}
 .task-row{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 .task-row>.row-title{grid-column:1!important;grid-row:1!important;padding-left:34px;position:relative;min-width:0}
 .task-row>.row-title>.task-done{position:absolute;top:-6px;left:0;margin:0!important;width:26px!important}
 .task-row>.secondary{grid-column:1!important;grid-row:2!important;padding-left:34px}
 .task-row>.right{grid-column:1!important;grid-row:3!important;display:flex;flex-wrap:wrap;align-items:center;gap:8px;text-align:left;padding-left:34px}
 .task-row>.actions{grid-column:1!important;grid-row:4!important;justify-content:flex-end!important;min-height:44px}
 .task-row .task-clock{width:44px!important;height:44px!important;min-width:44px!important}.action-menu>summary{width:44px;height:44px}
 .task-row>.row-title>.record-link{display:inline!important}.task-row .task-time{font-size:12px;line-height:1.6}
 .row,.row>*{min-width:0}.row .name,.secondary{overflow-wrap:anywhere}
 .time-controls{align-items:end}.time-controls .field{min-width:0;flex:1 1 150px}.time-controls>button{max-width:100%;white-space:normal}
 .report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .report-hero{flex-wrap:wrap}.report-hero button{width:100%}
 #panel-fichajes .pf-toolbar{flex-wrap:wrap;height:auto}.pf-toolbar label{min-width:0;max-width:100%}
 .pf-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pf-section{min-width:0}.pf-table-wrap{max-width:100%;overflow:auto}
 .feature-dialog .dialog-top{gap:12px}.feature-dialog .dialog-top h2{font-size:20px;overflow-wrap:anywhere;min-width:0}.dialog-top>button{flex-shrink:0}
 .dialog-actions{flex-wrap:wrap}.dialog-actions button{min-width:0}
 #fields{grid-template-columns:minmax(0,1fr)}.shared-participants{min-width:0}
 .record-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.record-grid,.advanced-grid{grid-template-columns:minmax(0,1fr)}
 #pf-detail{overflow-x:auto}#pf-detail>button{max-width:100%;white-space:normal}
 .premium-sidebar{height:auto;min-height:calc(76px + env(safe-area-inset-bottom))}
 .premium-nav>.tab,.premium-nav #chat-toggle,.nav-extra>summary{white-space:normal;overflow-wrap:anywhere;min-width:0}
 .shell{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
 .push-actions{flex-wrap:wrap}.push-actions button{max-width:100%}
}
@media(max-width:480px){
 .report-filters{grid-template-columns:minmax(0,1fr);padding:16px;gap:12px}.report-hero{padding:18px}.report-help{padding:0 18px}
 .report-breakdown>summary{padding:16px 18px}.report-group-body{padding:0 14px 16px}
 .report-project>summary,.report-line{flex-wrap:wrap;gap:6px}
 .report-line>span:last-child,.report-project>summary strong{margin-left:auto}
 .panel-head #create{flex:1 1 100%}
 .toolbar .filter,.toolbar #task-sort{flex-basis:100%;width:100%}
 #attendance-requests-button{flex:1 1 150px}
 .record-metrics{grid-template-columns:minmax(0,1fr)}
 .feature-content{padding:18px}
}

.report-picker{position:relative;min-width:0;align-self:start}.report-picker .client-options{position:absolute;top:100%;left:0;right:0;z-index:30;box-shadow:0 12px 28px #0003}.report-picker input{width:100%;min-width:0}.quick-project{padding:16px;border:1px solid var(--line,#8885);border-radius:14px;background:var(--ui-panel);display:grid;gap:10px;min-width:0}.quick-project[hidden]{display:none}.quick-project-actions{display:flex;flex-wrap:wrap;gap:8px}.quick-project-actions button{min-height:42px}.project-combobox>#quick-project-toggle{align-self:flex-start}.quick-project label,.quick-project small{overflow-wrap:anywhere}
