/* Admin Inicio + Operación: compact editorial layout. Scoped to these two views. */
.productive-home,.admin-operation{--compact-line:#e7e8eb;--compact-muted:#74777d;--compact-yellow:#ffd91a;padding-top:22px;padding-bottom:30px}
.productive-home>.page-head,.admin-operation>.page-head{margin-bottom:16px;align-items:flex-end}
.productive-home>.page-head h1,.admin-operation>.page-head h1{font-size:clamp(27px,2.4vw,38px);font-weight:660;letter-spacing:-.045em}
.productive-home>.page-head p,.admin-operation>.page-head p{margin-top:4px;font-size:12px;line-height:1.45}
.productive-home>.page-head>.badge,.admin-operation>.page-head>.badge{padding:6px 10px;font-size:9px;font-weight:650;letter-spacing:.08em}
.productive-home :is(h2,h3),.admin-operation :is(h2,h3){font-weight:610}
.productive-home .journey-heading{margin:0 0 10px}
.productive-home .journey-heading h2{font-size:14px;font-weight:610}
.productive-home .welcome-profile{min-height:0;margin:0 0 12px;padding:14px 18px;gap:16px;border-radius:14px;box-shadow:none}
.productive-home .welcome-profile .welcome-avatar{width:60px;height:60px}
.productive-home .welcome-profile h2{font-size:21px;margin:2px 0 4px}
.productive-home .welcome-profile p{font-size:12px;line-height:1.4}
.productive-home .recognition-home{margin:0 0 12px;padding:14px 18px;min-height:0;border-radius:14px}
.productive-home .home-operations{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);gap:1px;margin:0 0 12px;padding:0;overflow:hidden;border:1px solid var(--compact-line);border-radius:14px;background:var(--compact-line);box-shadow:none}
.productive-home .home-operations>:is(.home-agencies,.panel){height:auto;min-height:0;margin:0;padding:16px 18px;border:0;border-radius:0;box-shadow:none;background:#fff}
.productive-home .home-section-head,.productive-home .home-panel-head{min-height:0;padding:0 0 10px;background:transparent;border:0}
.productive-home :is(.home-section-head,.home-panel-head) h2{font-size:14px;font-weight:620}
.productive-home :is(.home-section-head,.home-panel-head) p{font-size:11px;line-height:1.35;margin-top:3px}
.productive-home .agency-orbits{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:4px 0 0;overflow:visible}
.productive-home .agency-orbit{width:auto;min-width:0;gap:5px;padding:7px 4px;border-radius:10px}
.productive-home .agency-logo{width:48px;height:48px;box-shadow:none}
.productive-home .agency-logo img{padding:7px}
.productive-home .agency-orbit strong{font-size:10px;line-height:1.25}
.productive-home .agency-orbit small{font-size:9px;line-height:1.25}
.productive-home .agency-alert{top:-4px;right:-4px;min-width:19px;height:19px;border-width:2px;font-size:8px}
.productive-home .home-operations .home-team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.productive-home .home-person{min-width:0;padding:7px;border:1px solid #efeff1;border-radius:10px;background:#fff;box-shadow:none}
.productive-home .home-person :is(.avatar,.profile-photo,.person-avatar){width:38px;height:38px}
.productive-home .home-person strong{font-size:10px;line-height:1.2}
.productive-home .home-person small{font-size:9px;line-height:1.25}
.productive-home .load-explainer{margin-top:8px;padding-top:8px;font-size:10px}
.productive-home .home-command{min-height:0;margin:0 0 12px;padding:14px 18px;border:0;border-radius:14px;background:linear-gradient(108deg,#111 0,#1d1d1b 72%,#302a08 100%);box-shadow:none}
.productive-home .home-command h2{font-size:17px;margin:3px 0}
.productive-home .home-command p{font-size:11px;line-height:1.35}
.productive-home .home-command .eyebrow{font-size:8px}
.productive-home .home-command .btn{min-height:34px;padding:7px 13px;font-size:11px}
.productive-home .journey-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 12px;padding:0;border-block:1px solid var(--compact-line);background:#fff}
.productive-home .journey-metrics .metric{min-height:92px;padding:13px 17px;border:0;border-right:1px solid var(--compact-line);border-radius:0;background:transparent;box-shadow:none;transform:none}
.productive-home .journey-metrics .metric:nth-child(4n){border-right:0}
.productive-home .journey-metrics .metric:nth-child(n+5){border-top:1px solid var(--compact-line)}
.productive-home .journey-metrics .metric:hover{background:#fffbea;transform:none}
.productive-home .journey-metrics .metric strong{font-size:32px;line-height:1;margin:8px 0 3px;letter-spacing:-.055em;color:#0e0f10;text-shadow:none}
.productive-home .journey-metrics .metric span{font-size:10px;color:#55585e}
.productive-home .journey-metrics .metric small{font-size:9px;color:var(--compact-muted)}
.productive-home .dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,.5fr);gap:1px;overflow:hidden;border:1px solid var(--compact-line);border-radius:14px;background:var(--compact-line)}
.productive-home :is(.left-column,.right-column){gap:1px;background:var(--compact-line)}
.productive-home .dashboard-grid .panel{margin:0;border:0;border-radius:0;box-shadow:none;background:#fff}
.productive-home .dashboard-grid .panel-head{min-height:0;padding:12px 15px 9px;background:#fff;border-bottom:1px solid #f0f0f2}
.productive-home .dashboard-grid .panel-head h2{font-size:13px;font-weight:620}
.productive-home .dashboard-grid :is(.task-row,.priority-row,.waiting-row,.delivery){min-height:0;margin:0;padding:9px 15px;gap:9px}
.productive-home .dashboard-grid :is(.task-row,.priority-row,.waiting-row) strong{font-size:12px;font-weight:560}
.productive-home .dashboard-grid :is(.task-row,.priority-row,.waiting-row) small{font-size:10px}
.productive-home .dashboard-grid .btn{min-height:30px;padding:6px 10px;font-size:10px}
.productive-home .empty{padding:18px 15px;min-height:0}

.admin-operation .activity-tabs{margin-bottom:10px}
.admin-operation :is(.activity-tabs,.work-view-switch) .btn{min-height:34px;padding:7px 14px;font-size:11px}
.admin-operation .task-filters{margin:0 0 9px;padding:9px 11px;gap:7px;border:1px solid var(--compact-line);border-radius:12px;background:#fff}
.admin-operation .task-filters :is(input,select){min-height:34px;padding:6px 9px;font-size:11px}
.admin-operation .work-view-switch{margin:0 0 9px}
.admin-operation .board-state-tabs{margin:0 0 8px;padding:0}
.admin-operation .work-help{margin:0 0 8px;font-size:10px;line-height:1.35;color:var(--compact-muted)}
.admin-operation .work-board{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:1px;align-items:start;overflow:auto;padding:0;border:1px solid var(--compact-line);border-radius:14px;background:var(--compact-line)}
.admin-operation .work-column{min-width:190px;min-height:260px;margin:0;padding:0;border:0;border-radius:0;background:#f7f7f5;box-shadow:none}
.admin-operation .work-column-head{position:sticky;top:0;z-index:2;min-height:42px;padding:9px 10px;border:0;border-bottom:1px solid var(--compact-line);background:rgba(255,255,255,.88);backdrop-filter:blur(14px)}
.admin-operation .work-column-head h2{font-size:11px}
.admin-operation .work-column-head>span{padding:2px 7px;font-size:9px;background:#efeff0;color:#555;border-radius:999px}
.admin-operation .work-column-cards{display:grid;gap:7px;padding:8px}
.admin-operation .work-card{display:grid;gap:6px;margin:0;padding:10px;border:1px solid #e2e2df;border-radius:11px;background:#fff;box-shadow:none}
.admin-operation .work-card:hover{border-color:#cfcfc9;box-shadow:0 6px 18px #00000009}
.admin-operation .work-drag-handle{width:max-content;min-height:24px;margin:0;padding:3px 6px;border:0;border-radius:6px;background:#f4f4f2;color:#7a7b78;font-size:9px}
.admin-operation .work-agency{font-size:9px;color:#686a6f}
.admin-operation .work-card .task-link{font-size:13px;font-weight:610;line-height:1.3;color:#17181a}
.admin-operation .work-card small{font-size:9px;line-height:1.35;color:#72747a}
.admin-operation .work-card-meta{gap:4px}
.admin-operation .work-card .badge{padding:3px 6px;font-size:8px;border-radius:999px}
.admin-operation .work-card label{gap:3px;font-size:9px}
.admin-operation .work-card select{min-height:31px;padding:5px 7px;font-size:10px;border-radius:8px;background:#fafafa}
.admin-operation .work-column-empty{padding:12px 6px;font-size:10px}
.admin-operation table :is(th,td){padding:9px 12px;font-size:11px}
.admin-operation .panel{border-radius:12px;box-shadow:none}

@media(max-width:1100px){
 .productive-home .home-operations{grid-template-columns:1fr}
 .productive-home .agency-orbits{grid-template-columns:repeat(4,minmax(0,1fr))}
 .productive-home .dashboard-grid{grid-template-columns:1fr}
 .admin-operation .work-board{grid-template-columns:repeat(5,minmax(210px,1fr))}
}
@media(max-width:700px){
 .productive-home,.admin-operation{padding-top:16px}
 .productive-home>.page-head,.admin-operation>.page-head{align-items:flex-start;margin-bottom:12px}
 .productive-home>.page-head>.badge,.admin-operation>.page-head>.badge{display:none}
 .productive-home .home-operations>:is(.home-agencies,.panel){padding:14px}
 .productive-home .agency-orbits{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .productive-home .home-operations .home-team{grid-template-columns:repeat(2,minmax(0,1fr))}
 .productive-home .journey-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .productive-home .journey-metrics .metric{border-right:1px solid var(--compact-line);border-top:1px solid var(--compact-line)}
 .productive-home .journey-metrics .metric:nth-child(2n){border-right:0}
 .productive-home .journey-metrics .metric:nth-child(-n+2){border-top:0}
 .productive-home .home-command{align-items:flex-start;padding:14px}
 .admin-operation .work-board{display:flex;gap:8px;padding:8px;border:0;border-radius:0;background:transparent;scroll-snap-type:x mandatory}
 .admin-operation .work-column{flex:0 0 min(84vw,310px);min-width:0;border:1px solid var(--compact-line);border-radius:12px;scroll-snap-align:start;overflow:hidden}
}
.admin-operation .operations-hero{min-height:0;margin:0 0 12px;padding:16px 20px;border-radius:14px;box-shadow:none}
.admin-operation .operations-hero h2{font-size:20px;line-height:1.15;margin:4px 0}
.admin-operation .operations-hero p{font-size:11px;line-height:1.4;max-width:680px}
.admin-operation .operations-hero .btn{min-height:35px;padding:7px 14px;font-size:11px}
.admin-operation .operations-stages{gap:6px;margin:0 0 10px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}
.admin-operation .operations-stages .btn{flex:0 0 auto;min-height:34px;padding:7px 14px;font-size:10px}
.admin-operation .operations-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;margin:0 0 10px;padding:0;border-block:1px solid var(--compact-line);background:#fff}
.admin-operation .operations-summary button{min-height:74px;padding:11px 13px;text-align:left;border:0;border-right:1px solid var(--compact-line);border-radius:0;background:transparent;box-shadow:none}
.admin-operation .operations-summary button:last-child{border-right:0}
.admin-operation .operations-summary button:hover{background:#fffbea}
.admin-operation .operations-summary span{display:block;font-size:9px;color:#6c6f75}
.admin-operation .operations-summary strong{display:block;margin-top:5px;font-size:25px;line-height:1;letter-spacing:-.04em;color:#111}
.admin-operation .operations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.admin-operation .operation-card{min-height:0;margin:0;padding:13px 14px;border:1px solid var(--compact-line);border-radius:11px;background:#fff;box-shadow:none}
.admin-operation .operation-card h2{font-size:15px;line-height:1.25;margin:7px 0}
.admin-operation .operation-card p{font-size:11px;line-height:1.4;margin:4px 0}
.admin-operation .operation-card small{font-size:9px;line-height:1.35}
.admin-operation .operation-card .actions{gap:5px;margin-top:8px}
.admin-operation .operation-card .btn{min-height:31px;padding:5px 9px;font-size:9px}
@media(max-width:1100px){.admin-operation .operations-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-operation .operations-summary button:nth-child(4n){border-right:0}.admin-operation .operations-summary button:nth-child(n+5){border-top:1px solid var(--compact-line)}.admin-operation .operations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.admin-operation .operations-hero{padding:14px}.admin-operation .operations-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-operation .operations-summary button:nth-child(odd){border-right:1px solid var(--compact-line)}.admin-operation .operations-summary button:nth-child(even){border-right:0}.admin-operation .operations-summary button:nth-child(n+3){border-top:1px solid var(--compact-line)}.admin-operation .operations-grid{grid-template-columns:1fr}}
