/* Scope to the admin start page; existing metric styling is deliberately untouched. */
.admin-phase-home{display:flex;flex-direction:column;gap:16px;min-width:0}
.admin-phase-home .admin-home-hero{min-height:150px;padding:22px 28px;position:relative}
.admin-phase-home .admin-home-hero h1{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0;font-weight:800}
.admin-phase-home .admin-home-hero h1 .btn{flex-shrink:0;padding:3px 10px;min-height:32px}
.admin-home-status{display:inline-block;font-size:13px;font-weight:700;position:relative;z-index:1}
.admin-home-phases{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.admin-home-phases>span{font-weight:700;font-size:13px}.admin-home-phases small{font-size:12px;opacity:.75}
.admin-phase-home h2{font-size:20px;margin:0;font-weight:800}.admin-phase-home h3{font-size:16px;margin:0;font-weight:800}
.admin-phase-home .ro-panel{margin:0;padding:16px;min-width:0}
.admin-home-task,.admin-home-message{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border,rgba(140,170,150,.22))}
.admin-home-task:last-child,.admin-home-message:last-child{border-bottom:0;padding-bottom:0}
.admin-home-task>div,.admin-home-message>div{min-width:0;flex:1}.admin-home-task .btn{flex-shrink:0}
.admin-home-task p,.admin-home-message p{margin:5px 0 0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.admin-home-task.error h3{color:var(--danger,#d68171)}
.admin-home-clear{margin:14px 0 0;font-size:14px}
.admin-home-more>summary{cursor:pointer;font-weight:700;padding:6px 0;font-size:14px}
.admin-home-more:not(.ro-panel){padding:10px 0}.admin-home-more[open]>summary{margin-bottom:8px}
.admin-home-tools,.admin-home-buttons{display:flex;flex-wrap:wrap;gap:8px}.admin-home-tools>.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
.admin-home-tools svg{width:20px;height:20px;flex-shrink:0}
.admin-home-area-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
.admin-home-area-grid .btn{display:flex;flex-direction:column;align-items:flex-start;white-space:normal;text-align:left;gap:4px;padding:12px}.admin-home-area-grid span{font-size:13px}
.admin-home-shift-list{display:flex;flex-direction:column;gap:6px;margin-top:12px}.admin-home-shift.btn{display:flex;align-items:center;justify-content:space-between;white-space:normal;text-align:left;gap:10px;padding:10px 12px}.admin-home-shift strong{font-weight:700;font-size:14px;overflow-wrap:anywhere}.admin-home-shift small{display:block;font-size:13px;margin-top:4px}.admin-home-shift svg{width:18px;height:18px;flex-shrink:0}
.admin-home-detail{padding:12px 0;border-bottom:1px solid var(--border,rgba(140,170,150,.22))}.admin-home-detail h4{font-size:16px;font-weight:800;margin:0 0 6px}.admin-home-detail p{font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin:6px 0 12px}
.admin-home-message.is-important{border-left:3px solid var(--accent,#bda968);padding-left:10px}
.admin-phase-home .home-critical-bar:empty,.admin-phase-home .home-critical-bar[hidden]{display:none}
@media(max-width:700px){
 .admin-phase-home{gap:12px}.admin-phase-home .admin-home-hero{min-height:130px;padding:16px}.admin-phase-home .admin-home-hero h1{font-size:24px}
 .admin-home-phases{gap:6px}.admin-home-phases>span{width:100%}.admin-home-phases .btn{flex:1 1 calc(50% - 6px);min-width:0;font-size:13px;padding:8px}.admin-home-phases small{width:100%}
 .admin-phase-home .ro-panel{padding:12px}.admin-home-task,.admin-home-message{gap:8px;align-items:flex-start;flex-direction:column}.admin-home-task .btn,.admin-home-message .btn{font-size:13px;max-width:100%;white-space:normal;min-height:40px}
 .admin-home-tools>.btn{flex:1 1 calc(50% - 8px);font-size:13px;white-space:normal;padding:8px;min-width:0}.admin-phase-home .ro-panel-head{gap:8px;flex-wrap:wrap}.admin-phase-home h2{font-size:18px}
 .admin-home-area-grid{grid-template-columns:1fr}.admin-home-buttons>.btn{white-space:normal}.admin-home-detail .btn{white-space:normal;max-width:100%}
}

html[data-theme][data-theme][data-theme] body #content.admin-phase-home .admin-home-hero{min-height:150px!important;padding:22px 28px!important}
html[data-theme][data-theme][data-theme] body #content.admin-phase-home .admin-home-hero h1{display:block;font-weight:800!important}
.admin-home-hero [data-home-help]{display:inline-flex;vertical-align:middle;margin-left:6px}
@media(max-width:700px){html[data-theme][data-theme][data-theme] body #content.admin-phase-home .admin-home-hero{min-height:130px!important;padding:16px!important}}

html[data-theme][data-theme][data-theme] body .admin-home-header.warm-area-banner{min-height:120px!important;padding:18px!important}
.admin-home-header .admin-home-status{display:block;margin-top:6px}
.admin-home-header .ro-home-intro p{display:none}
.admin-home-message p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media(max-width:700px){html[data-theme][data-theme][data-theme] body .admin-home-header.warm-area-banner{min-height:105px!important;padding:14px!important}}
