/* ANO Site Hub V8.4 - polish layer (loaded last) */
/* 10. compact header; master-data pill only on Home */
body>header{padding:12px 16px 12px!important;min-height:0!important;align-items:center!important}
body>header .brand-identity{gap:10px}
body>header .brand-title{font-size:1.45rem!important;margin:0!important;letter-spacing:-.02em}
body>header .brand-subtitle{display:none!important}
body>header .brand-meta{margin-top:8px!important;margin-bottom:0!important}
body>header .brand-wrap{gap:0!important}
body:not([data-page="home"])>header .brand-meta{display:none!important}
body:not([data-page="home"])>header .brand-wrap{display:flex;align-items:center}
/* 12. footer only on Security */
.site-footer{display:none!important}
body[data-page="security"] .site-footer{display:block!important}
/* 11. page intros hidden behind an (i) button */
.v84-intro{display:none!important}
.v84-showhelp .v84-intro{display:block!important;animation:v84in .15s ease}
@keyframes v84in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
.v84-info{all:unset;cursor:pointer;display:inline-grid;place-items:center;width:24px;height:24px;margin-left:8px;border-radius:50%;border:1.5px solid var(--u-line);color:var(--u-muted);font:700 .78rem/1 system-ui,sans-serif;vertical-align:middle}
.v84-showhelp .v84-info{background:var(--u-primary);border-color:var(--u-primary);color:#fff}
/* 13. one button system */
button{background:var(--u-primary);color:#fff;border-radius:12px}
button:disabled{opacity:.45;cursor:not-allowed}
button.secondary{background:transparent;color:var(--u-primary);border:1px solid var(--u-primary)}
.px-sec-b>button,.px-bk-grp>button{width:100%;min-height:46px;margin:10px 0 0!important;border-radius:12px!important;font-weight:700}
#restore{background:transparent!important;color:#b35400!important;border:1px solid #b35400!important}
.px-btn-lock{background:#c0392b!important;color:#fff!important}
/* 14. undo snackbar */
.v84-undo{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:9999;display:flex;align-items:center;gap:14px;max-width:min(92vw,460px);padding:12px 14px 12px 18px;border-radius:14px;background:#13263a;color:#fff;font-size:.88rem;box-shadow:0 10px 30px rgba(0,0,0,.3);animation:v84in .18s ease}
.v84-undo span{flex:1}
.v84-undo button{margin:0!important;padding:8px 12px!important;border-radius:10px!important;background:transparent!important;color:#7fb8ff!important;font-weight:800;border:0!important}
.v84-undo.out{opacity:0;transition:opacity .2s}
/* 16. home tiles 2x2 */
.v8-tiles.v8-tiles4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* 19. site card: star + compact actions */
.site-card.hx-hasstar{position:relative}
.site-card.hx-hasstar .site-card-title{padding-right:44px}
.hx-star{position:absolute;top:12px;right:12px;width:38px;height:38px;margin:0!important;padding:0!important;border-radius:50%!important;background:var(--u-surface2)!important;border:1px solid var(--u-line)!important;color:var(--u-muted)!important;font-size:1.2rem;line-height:1;display:grid;place-items:center;box-shadow:none!important}
.hx-star.on{color:#e0a020!important;border-color:#e0a020!important}
/* 20/21 handled in route-map.css */
/* 22. master data */
#transfer .px-sec.imp .px-sec-b>label{font-size:0}
#transfer .px-sec.imp .px-sec-b>label>*{font-size:1rem}
#importBtn:disabled{display:none!important}
.v84-how{margin:8px 0}.v84-how summary{cursor:pointer;font-size:.82rem;font-weight:700;color:var(--u-primary)}
.v84-how p{font-size:.8rem!important}
.px-sec-h>span:nth-child(2){display:flex!important;flex-direction:column!important;min-width:0;flex:1}
#transfer>p.warn{font-size:.76rem;padding:10px 12px}
/* 23. security */
#pxSecCard .px-sc-grid>div:nth-child(3){display:none}
#pxSecCard .px-sc-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.v84-hide{display:none!important}
.px-sec.v84-fold>.px-sec-h{cursor:pointer;user-select:none}
.px-sec.v84-fold>.px-sec-h::after{content:"";width:8px;height:8px;margin-left:auto;border-right:2px solid var(--u-muted);border-bottom:2px solid var(--u-muted);transform:rotate(45deg);transition:transform .15s;flex:none}
.px-sec.v84-fold.open>.px-sec-h::after{transform:rotate(-135deg)}
.px-sec.v84-fold:not(.open)>.px-sec-b{display:none}
.hx-store.v84-fold>h3{cursor:pointer;display:flex;align-items:center;gap:8px}
.hx-store.v84-fold>h3::after{content:"";width:8px;height:8px;margin-left:auto;border-right:2px solid var(--u-muted);border-bottom:2px solid var(--u-muted);transform:rotate(45deg);flex:none}
.hx-store.v84-fold.open>h3::after{transform:rotate(-135deg)}
.hx-store.v84-fold:not(.open)>:not(h3){display:none!important}
/* 24. report KPI: no grey "pressed" look */
.rp-kpi:hover,.rp-kpi:focus,.rp-kpi:active{background:var(--u-surface2)!important;border-color:var(--u-primary)!important;outline:none}
/* work log day body>header actions */
.hx-dayacts{display:flex;gap:6px;flex:none}
.hx-dayacts .ico{width:16px;height:16px}
#work .hx-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px}
#work .hx-kpis>div{padding:8px 4px!important}
#work .hx-kpis b{font-size:1.15rem!important}
#work .hx-kpis span{font-size:.64rem!important}
.px-sec.v84-fold:not(.open)>.px-sec-h{margin-bottom:0!important}
/* 1: shorter body>header on Home */
body[data-page="home"]>header{padding:10px 16px!important}
body>header .brand-meta{margin-top:6px!important}
body>header .brand-meta>*{padding:4px 12px!important;font-size:.64rem!important}
body>header{row-gap:8px!important;gap:8px 12px!important}
body>header .brand-meta{margin-top:0!important}
