/* Alleanza HQ polish layer · Dec 2 2026 · simple shell (Steep-style): calm rail, clear hierarchy, phone-first, few words.
   Presentational + small DOM helpers in polish-1202.js. Loaded last. */
:root{--pz-navy:#1f2a44;--pz-gold:#8a6a2c;--pz-ivory:#faf8f3;--pz-line:#e8e4da;--pz-muted:#5a5f66;--pz-r:14px}
body.neo{background:var(--pz-ivory)!important}
/* desktop rail: lighter, fewer lines, one accent */
#neoRail{background:#fff;border-right:1px solid var(--pz-line);padding:22px 14px 18px}
#neoRail .lg{border-bottom:0;padding:4px 10px 20px}
#neoRail .lg b{background:var(--pz-navy);border-radius:10px}
#neoRail a{min-height:44px;font-size:15px;color:#3d4249;border-radius:12px;padding:10px 12px}
#neoRail a.on{background:#f3efe4;color:var(--pz-navy);box-shadow:inset 3px 0 0 var(--pz-gold)}
#neoRail .neo-rail-sec{padding:18px 12px 6px;font-size:11px;letter-spacing:.1em}
#neoRail a:focus-visible,.neo-seg a:focus-visible,.pz-task:focus-visible,#side nav a:focus-visible,#side nav .g:focus-visible{outline:3px solid var(--pz-gold);outline-offset:2px}
/* tab strip: quiet pills, scroll instead of wrap */
.neo-seg{border-bottom:0!important;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 0 22px!important;padding:2px}
.neo-seg::-webkit-scrollbar{display:none}
.neo-seg a{flex:none!important;padding:9px 16px!important;border:1px solid var(--pz-line)!important;border-radius:999px;background:#fff;color:#3d4249!important;font-size:14px!important;white-space:nowrap;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
.neo-seg a.on{background:var(--pz-navy)!important;color:#fff!important;border-color:var(--pz-navy)!important}
/* home header: title + quiet tools; one action row */
body.neo #view .hqd .hqd-title-row{align-items:center}
body.neo #view .hqd .hqd-title{font-size:30px;font-weight:800;letter-spacing:-.02em;color:var(--pz-navy)}
.hqd-tool-btn.pz-hide{display:none!important}
body.neo #view .hqd .hqd-pills{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:8px;padding:2px 2px 4px}
body.neo #view .hqd .hqd-pills::-webkit-scrollbar{display:none}
body.neo #view .hqd .hqd-pill{border-radius:999px!important;white-space:nowrap;min-height:44px;flex:none}
body.neo #view .hqd .hqd-refresh-meta{font-size:12.5px;color:var(--pz-muted);white-space:nowrap}
body.neo #view .hqd .hqd-auto-tag{display:none}
body.neo #view .hqd .hqd-card{border-radius:var(--pz-r)!important;border:1px solid var(--pz-line)!important;background:#fff!important}
/* Your tasks */
.pz-tasks{background:#fff;border:1px solid var(--pz-line);border-radius:var(--pz-r);margin:4px 0 22px;overflow:hidden}
.pz-tasks h2{font-size:17px;font-weight:800;margin:0;padding:16px 18px 6px;color:var(--pz-navy);display:flex;justify-content:space-between;align-items:center}
.pz-tasks h2 .pz-sub{font-size:13px!important;font-weight:600;color:var(--pz-muted);font-family:'Barlow',system-ui,sans-serif}
.pz-task{display:flex;align-items:center;gap:14px;padding:14px 18px;min-height:60px;text-decoration:none;color:#17181c;border:0;background:none;width:100%;text-align:left;font:inherit;cursor:pointer;box-sizing:border-box}
.pz-task+.pz-task{border-top:1px solid #f1eee6}
.pz-task:hover{background:#fbf9f4}
.pz-tasks .pz-task .ck{display:block;border-radius:50%!important;width:22px;height:22px;border-radius:50%;border:2px solid #b9b2a2;flex:none;box-sizing:border-box}
.pz-task.done .ck{background:#2f6b4f;border-color:#2f6b4f}
.pz-task .tx{flex:1;min-width:0}
.pz-task .t{font-weight:700;font-size:16px}
.pz-task .s{font-size:13.5px;color:var(--pz-muted);margin-top:2px}
.pz-task .n{font-weight:800;font-size:15px;min-width:28px;height:28px;border-radius:999px;background:#f3efe4;color:var(--pz-navy);display:grid;place-items:center;padding:0 8px}
.pz-task .go{color:#8b8f95;font-size:20px}
/* long lists behind a toggle */
details.pz-more{margin:18px 0 0;border:1px solid var(--pz-line);border-radius:var(--pz-r);background:#fff}
details.pz-more>summary{list-style:none;cursor:pointer;padding:14px 18px;min-height:48px;box-sizing:border-box;font-weight:700;font-size:14.5px;color:#3d4249;display:flex;justify-content:space-between;align-items:center}
details.pz-more>summary::-webkit-details-marker{display:none}
details.pz-more>summary:before{display:none!important;content:none!important}
details.pz-more>summary:after{content:"Show";font-weight:600;color:var(--pz-gold)}
details.pz-more[open]>summary:after{content:"Hide"}
details.pz-more ul{margin:0;padding:0 18px 14px 36px;color:var(--pz-muted);font-size:14px;line-height:1.6}
details.pz-chart>summary:after{content:"Show chart"}
details.pz-chart[open]>summary:after{content:"Hide chart"}
/* phone */
@media(max-width:768px){
  body.neo{font-size:17px}
  .neo-page{padding:14px 16px 96px!important}
  .neo-top{margin-bottom:14px}
  .neo-ib{width:44px;height:44px}
  .neo-menu-btn{min-height:44px;white-space:nowrap;width:auto!important;padding:0 14px!important;font-weight:700;font-size:16px!important}
  .pz-tasks h2 .pz-sub{font-size:15px!important}
  .neo-seg a{font-size:16px!important;padding:10px 16px!important}
  body.neo #view .hqd .hqd-title{font-size:28px}
  body.neo #view .hqd .hqd-head-tools .hqd-tool-btn{display:none!important}
  body.neo #app #fbFab span{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  body.neo #app #fbFab{width:44px;height:44px;padding:0!important;border-radius:12px!important}
  body.neo #view .hqd .hqd-pills{flex-wrap:nowrap!important;margin:0 -16px;padding:2px 16px 6px}
  body.neo #view .hqd .hqd-pill{font-size:16px!important}
  body.neo #view .hqd .hqd-refresh-meta{display:block;font-size:14px}
  .pz-task .t{font-size:18px}.pz-task .s{font-size:15.5px}
  .pz-tasks h2{font-size:19px}
  details.pz-more>summary{font-size:16.5px}
  details.pz-more ul{font-size:16px}
  /* drawer: brand, who, groups, then settings at the bottom */
  body.neo #side{width:300px!important;padding:22px 16px 28px!important;background:#fff!important}
  body.neo #side.open{display:flex!important;flex-direction:column}
  body.neo #side .brand{order:1;font-family:'Barlow',system-ui,sans-serif!important;font-size:20px!important;font-weight:800;letter-spacing:0!important;text-transform:none!important;color:var(--pz-navy)!important;margin:0 4px 4px}
  body.neo #side .brand small{display:block;font-size:13px!important;letter-spacing:0!important;text-transform:none!important;color:var(--pz-muted)!important;font-weight:600}
  body.neo #side .who{order:2;margin:10px 4px 14px;padding:12px;border:1px solid var(--pz-line);border-radius:12px;font-size:15px}
  body.neo #side .who b{font-size:16px}
  body.neo #side .who span{display:block;font-size:14px;color:var(--pz-muted)!important;overflow:hidden;text-overflow:ellipsis}
  body.neo #side .who .role{font-size:12px!important;letter-spacing:.06em}
  body.neo #side nav{order:3}
  body.neo #side nav .g{text-transform:none!important;letter-spacing:0!important;font-size:17px!important;font-weight:700!important;background:#fff!important;border:1px solid var(--pz-line);border-radius:12px!important;min-height:52px!important;padding:10px 14px!important;margin:6px 0!important;cursor:pointer}
  body.neo #side nav .g.open{background:#f3efe4!important;border-color:#e2d8c2}
  body.neo #side nav a{font-size:16.5px!important;min-height:48px!important}
  body.neo #side nav a.on{background:#f3efe4!important;color:var(--pz-navy)!important}
  body.neo #side .switch{order:4;margin:16px 4px 0!important;border:1px solid var(--pz-line)!important;border-radius:12px;font-size:15px}
  body.neo #side #neoCustLink{order:5;margin:10px 4px 0!important;border-radius:12px!important;font-size:16px;min-height:48px;box-sizing:border-box;display:flex;align-items:center}
  body.neo #side .foot{order:6;margin:14px 4px 0;font-size:15px;line-height:2}
  body.neo #side #footTech{display:none!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

#side nav .n.pz-zero,#neoRail .neo-badge.pz-zero{display:none!important}
