/* Guardian Command Center — isolated member dashboard visual layer. */
body.guardian-command {
  --page:#060d1e;--surface-1:#101e37;--surface-2:#152946;--surface-3:#1d3556;
  --text-primary:#f0f6ff;--text-secondary:#c1d1e7;--text-muted:#a0b4d0;
  --border:rgba(114,177,255,.21);--accent:#5ed6ff;--accent-ink:#071629;
  /* Always dark (Wiz, 2026-11-01). Tokens built from --accent in styles.css resolve at :root, so in light mode they
     arrive here already light (#006E9C on navy, ~2:1). Rebuild them from this page's accent and keep the dark values. */
  --gold:var(--accent);--gold-soft:color-mix(in srgb,var(--accent) 14%,transparent);--series-1:var(--accent);
  --glow:0 0 18px color-mix(in srgb,var(--accent) 45%,transparent);
  --coral:#FF7A59;--good:#5FD49A;--grid:#1B2742;--axis:#2C3B5C;
  --seq-1:#0E2A3D;--seq-2:#13506E;--seq-3:#1C7FA5;--seq-4:#36B3D9;--seq-5:#8BE6FF;
  color-scheme:dark;
  background:radial-gradient(ellipse at 84% 0%,rgba(24,86,176,.22),transparent 46%),linear-gradient(180deg,#071327,#060d1e 65%);
  min-height:100vh;
}
.guardian-command .top{background:rgba(6,15,32,.91);border-bottom-color:rgba(121,180,255,.23)}
.guardian-command .top .brand{letter-spacing:-.03em;font-size:19px}
.guardian-command .top .brand:before{content:"◆";color:#e6b85e;margin-right:9px;font-size:15px}
.guardian-command .top nav a:not(.cta):hover{color:#fff}
.guardian-command .command-shell{max-width:1500px;margin:0 auto;padding:26px 24px 70px;display:grid;grid-template-columns:238px minmax(0,1fr);gap:28px;align-items:start}
.guardian-command .command-sidebar{position:sticky;top:84px;border:1px solid var(--border);border-radius:20px;padding:19px 12px;background:linear-gradient(165deg,rgba(22,47,85,.95),rgba(9,21,43,.97));box-shadow:0 18px 55px rgba(0,0,0,.22)}
.guardian-command .command-sidebar-title{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#d8b76b;font-weight:800;padding:3px 13px 14px}
.guardian-command .command-sidebar a{display:flex;align-items:center;gap:10px;color:#c6d7ee;text-decoration:none;font-size:13px;font-weight:600;border-radius:11px;padding:11px 12px;margin:3px 0;border:1px solid transparent;transition:background .16s,border-color .16s}
.guardian-command .command-sidebar a:hover,.guardian-command .command-sidebar a:focus-visible{background:rgba(77,150,243,.15);color:#fff;outline-offset:2px}
.guardian-command .command-sidebar a[aria-current="page"]{background:linear-gradient(95deg,rgba(32,116,227,.35),rgba(23,65,129,.23));border-color:rgba(110,177,255,.3);color:white;box-shadow:inset 3px 0 #69d5ff}
.guardian-command .command-sidebar .nav-icon{font-size:17px;width:23px;text-align:center}
.guardian-command .command-sidebar-divider{height:1px;background:var(--border);margin:15px 10px}
.guardian-command .command-main{min-width:0;width:100%;max-width:none;padding:0}
.guardian-command .hello-row{position:relative;min-height:128px;padding:24px 200px 24px 27px;border:1px solid rgba(99,171,255,.25);border-radius:22px;background:radial-gradient(circle at 87% 40%,rgba(52,134,245,.28),transparent 34%),linear-gradient(110deg,#142e55,#0a1b38);overflow:hidden;margin-bottom:21px;box-shadow:0 18px 46px rgba(0,0,0,.16)}
.guardian-command .hello-row:before{content:"GUARDIAN COMMAND CENTER";display:block;font-size:10px;letter-spacing:.2em;color:#eac979;font-weight:800;margin-bottom:11px}
.guardian-command .hello-row h1{margin:0;font-size:clamp(27px,3vw,41px);line-height:1.15}
.guardian-command .tab-guardian{position:absolute;right:16px;bottom:-53px;max-height:205px;width:auto;object-fit:contain;pointer-events:none;filter:drop-shadow(0 12px 18px rgba(0,0,0,.32))}
.guardian-command .card,.guardian-command .home-card{border-radius:17px;border-color:rgba(114,177,255,.2);background:linear-gradient(160deg,rgba(20,39,69,.96),rgba(12,25,48,.98));box-shadow:0 10px 28px rgba(0,0,0,.1)}
.guardian-command .card h2{letter-spacing:-.025em}
.guardian-command .home-tiles>*{border-radius:16px}
.guardian-command #guardian-grid{margin-bottom:22px}
.guardian-command .tab a:not(.btn){text-underline-offset:3px}
.guardian-command :focus-visible{outline:2px solid #78dcff;outline-offset:3px}
@media(max-width:1000px){
 .guardian-command .command-shell{grid-template-columns:1fr;padding:17px 16px 55px;gap:16px}
 .guardian-command .command-sidebar{position:relative;top:auto;display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;padding:8px;white-space:nowrap;border-radius:15px}
 .guardian-command .command-sidebar-title,.guardian-command .command-sidebar-divider{display:none}
 .guardian-command .command-sidebar a{flex:0 0 auto;padding:9px 11px;margin:0}
}
@media(max-width:600px){
 .guardian-command .command-shell{padding:12px 12px 48px}
 .guardian-command .hello-row{min-height:108px;padding:20px 100px 20px 18px;border-radius:17px}
 .guardian-command .hello-row h1{font-size:26px}
 .guardian-command .tab-guardian{right:-12px;bottom:-26px;max-height:145px}
 .guardian-command .command-sidebar a{font-size:12px}
 .guardian-command .card{border-radius:14px}
}
@media(prefers-reduced-motion:reduce){.guardian-command .command-sidebar a{transition:none}}

/* ---------- Release pass (2026-10-31) ---------- */
/* One dashboard menu: the sidebar replaces the member bar on this page. */
.guardian-command #member-bar{display:none}
@media(max-width:600px){.guardian-command .top .brand:before{display:none}}
/* Readable, tappable sidebar (14px floor, 44px targets). */
.guardian-command .command-sidebar-title{font-size:13px}
.guardian-command .command-sidebar a{font-size:15px;min-height:44px}
.guardian-command .command-sidebar a:focus-visible{outline:2px solid #78dcff}
@media(max-width:1000px){.guardian-command .command-sidebar{scroll-snap-type:x proximity}.guardian-command .command-sidebar a{scroll-snap-align:center;font-size:14px}}
@media(max-width:600px){.guardian-command .command-sidebar a{font-size:14px}}
/* Welcome banner: greeting, message, and the Guardian (flag-waving on Overview and My Home, the section's pose elsewhere). */
.guardian-command .hello-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:24px 230px 24px 27px;min-height:170px}
.guardian-command .hello-row:before{flex-basis:100%}
.guardian-command .hello-tag{flex-basis:100%;margin:4px 0 0;color:#d6e6fb;font-size:17px;font-weight:600;max-width:560px}
.guardian-command .tab-guardian{position:absolute;right:22px;top:auto;bottom:0;width:auto;height:180px;max-height:none;margin:0;object-fit:contain;border:0;background:none;box-shadow:none;border-radius:0}
.guardian-command .tab-guardian:not([data-pose="hero"]){height:150px;bottom:10px;border-radius:14px;border:1px solid rgba(110,177,255,.45);box-shadow:0 0 22px rgba(52,150,255,.28)}
@media(max-width:600px){
 .guardian-command .hello-row{padding:18px 116px 18px 16px;min-height:140px}
 .guardian-command .hello-tag{font-size:15px}
 .guardian-command .tab-guardian{right:8px;height:118px}
 .guardian-command .tab-guardian:not([data-pose="hero"]){height:98px;bottom:12px}
}
/* The eight service cards: picture, name, and what it does. */
.guardian-command .guardian-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.guardian-command .g-card{background:linear-gradient(160deg,rgba(22,44,78,.96),rgba(12,25,48,.98));border-color:rgba(114,177,255,.28);border-radius:16px}
.guardian-command .g-card img{aspect-ratio:1/0.9}
.guardian-command .g-card span{font-size:16px;padding:10px 12px 2px;min-height:0;justify-content:flex-start;text-align:left}
.guardian-command .g-card small{display:block;padding:0 12px 14px;color:var(--text-secondary);font-size:14px;line-height:1.4}
.guardian-command .g-card:hover,.guardian-command .g-card:focus-visible{border-color:#69d5ff;box-shadow:0 0 0 1px rgba(105,213,255,.4),0 14px 30px rgba(0,0,0,.28)}
@media(max-width:1000px){.guardian-command .guardian-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- New-member welcome (onboarding, 2026-10-31) ---------- */
.guardian-command .welcome-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;margin:0 0 22px;padding:22px 24px;border-color:rgba(234,201,121,.45);
  background:radial-gradient(circle at 10% 40%,rgba(52,134,245,.30),transparent 40%),linear-gradient(120deg,#16315b,#0b1d3c)}
.guardian-command .welcome-card img{width:150px;height:auto;display:block;border-radius:16px;border:1px solid rgba(110,177,255,.45);box-shadow:0 0 22px rgba(52,150,255,.25)}
.guardian-command .welcome-card h2{font-size:clamp(22px,2.4vw,30px);margin:2px 0 8px}
.guardian-command .welcome-card .eyebrow{color:#eac979;margin:0}
.guardian-command .welcome-card p{margin:0 0 8px;color:#d6e6fb}
.guardian-command .welcome-verify{padding:10px 12px;border-radius:12px;background:rgba(234,201,121,.12);border:1px solid rgba(234,201,121,.4)}
.guardian-command .welcome-steps{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 12px}
.guardian-command .welcome-steps .btn{min-height:44px;border-color:rgba(110,177,255,.45);color:#f0f6ff;background:rgba(32,116,227,.18)}
.guardian-command .welcome-steps .btn:hover{background:rgba(32,116,227,.32)}
.guardian-command .linklike{background:none;border:0;padding:0 0 0 6px;color:var(--accent);font:inherit;text-decoration:underline;cursor:pointer;min-height:44px}
@media(max-width:600px){.guardian-command .welcome-card{grid-template-columns:1fr;gap:10px;padding:18px 16px}.guardian-command .welcome-card img{width:84px;margin:0}.guardian-command .welcome-steps .btn{flex:1 1 100%}}

/* ---------- Guardian Guestimate, shared files, meeting labels, comments (2026-10-31) ---------- */
.guardian-command .gg { display: grid; gap: 16px; margin-bottom: 16px; }
.guardian-command .gg-card { margin: 0; }
.guardian-command .gg-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; }
.guardian-command .gg-head img { width: 76px; height: auto; border-radius: 12px; }
.guardian-command .gg-head h2 { margin: 2px 0; }
.guardian-command .gg-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.guardian-command .gg-figs div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.guardian-command .gg-figs dt { font-size: 14px; color: var(--text-secondary); }
.guardian-command .gg-figs dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; }
.guardian-command .gg-big { font-size: 30px !important; color: var(--accent); font-variant-numeric: tabular-nums; }
.guardian-command .gg-conf { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border); }
.guardian-command .gg-high { border-color: var(--good); color: var(--good); }
.guardian-command .gg-moderate { border-color: #F5C451; color: #F5C451; }
.guardian-command .gg-low { border-color: var(--text-secondary); }
.guardian-command .gg-empty { font-size: 17px; font-weight: 600; margin: 14px 0 6px; }
.guardian-command .gg-disc { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 12px; }
.guardian-command .gg-locked { border-style: dashed; }
.guardian-command .gg-bars { display: grid; gap: 6px; margin: 8px 0; }
.guardian-command .gg-bar { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.guardian-command .gg-bar i { display: block; height: 10px; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--accent), #3B6CF6); }
.guardian-command .gg-table { width: 100%; font-size: 14px; margin: 6px 0 14px; }
.guardian-command .gg-table caption { text-align: left; }
.guardian-command .gg-consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; }
.guardian-command .gg-consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.guardian-command .share-check { border-color: #F5C451; }
.guardian-command .shared-h { margin: 22px 0 10px; }
.guardian-command .meet-src { font-size: 14px; margin: 4px 0; color: var(--text-secondary); }
.guardian-command .meet-src.ok { color: var(--good); }
.guardian-command .nb-comments { margin-top: 8px; }
.guardian-command .nb-comments summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--accent); }
.guardian-command .nb-comment { border-left: 2px solid var(--border); padding: 2px 0 2px 12px; margin: 8px 0; }
.guardian-command .nb-comment p { margin: 2px 0; }
@media (max-width: 640px) {
  .guardian-command .gg-figs { grid-template-columns: 1fr; }
  .guardian-command .gg-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .guardian-command .gg-bar i { grid-column: 1 / -1; grid-row: 2; }
}
/* The value form's rows shrink on phones (fields never push the page wider). */
.guardian-command .gg .row2, .guardian-command .gg .row3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.guardian-command .gg .field { min-width: 0; }
.guardian-command .gg .field input, .guardian-command .gg .field select { width: 100%; max-width: 100%; box-sizing: border-box; }
.guardian-command .gg .opt { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text-secondary); border: 1px solid var(--border); vertical-align: middle; }

/* Stand-alone member pages in the dashboard layout (report.html, 2026-11-02): visitor-only top links hide, and the
   report document itself stays white like a printed page (Wiz: "the report can remain white"). */
.guardian-command .top nav a.public-only{display:none}
/* Light "paper" colors only while a report is showing (2026-11-18): the loading, locked and no-HOA messages keep the
   dashboard's dark theme, so their text is never dark on dark. site/my.js renderReport sets .paper. */
.guardian-command #report.paper{--page:#F3F7FB;--surface-1:#FFFFFF;--surface-2:#EAF1F8;--surface-3:#DDE7F2;--text-primary:#0B1626;--text-secondary:#2E3E55;--text-muted:#4A5B73;--grid:#DCE5EF;--axis:#B7C6D8;--border:rgba(11,22,38,.12);--accent:#006E9C;--accent-ink:#FFFFFF;--gold:#006E9C;--gold-soft:#E3F1F8;--coral:#D9542F;--good:#1E8A4F;--glow:0 0 0 transparent;color-scheme:light;color:var(--text-primary)}
.guardian-command #report.paper .card{background:#FFFFFF;border-color:rgba(11,22,38,.12);box-shadow:0 10px 28px rgba(0,0,0,.18);color:var(--text-primary)}
.guardian-command #report.paper > p a{color:#5ed6ff}
@media print{.guardian-command .command-sidebar,.guardian-command .top{display:none}.guardian-command .command-shell{display:block;padding:0;max-width:none}body.guardian-command{background:#fff;color:#000}}
/* Printing a member page in the dashboard layout (letters, case packets, worksheets, 2026-11-02): white paper, black
   text, no dark cards or glows. */
@media print{body.guardian-command{--text-primary:#000;--text-secondary:#222;--text-muted:#444;--border:#bbb;--surface-1:#fff;--surface-2:#fff;--surface-3:#fff;color:#000}.guardian-command .card,.guardian-command .home-card{background:#fff!important;color:#000;border-color:#bbb;box-shadow:none}}
/* Community feed first on phones (Wiz, 2026-11-16): on the Community tab only, the header is a slim title, the top ad and
   the app banner step aside (ads still show inside the feed), and the property switcher is compact. Other tabs unchanged. */
@media(max-width:760px){
 html[data-tab="community"] .guardian-command .hello-row{min-height:0;padding:10px 14px;margin-bottom:10px;border-radius:14px;box-shadow:none}
 html[data-tab="community"] .guardian-command .hello-row:before,html[data-tab="community"] .guardian-command .hello-row .hello-tag,html[data-tab="community"] .guardian-command .tab-guardian{display:none}
 html[data-tab="community"] .guardian-command .hello-row h1{font-size:20px}
 html[data-tab="community"] .guardian-command .hello-row .avatar{width:32px;height:32px;font-size:13px}
 html[data-tab="community"] .ads-top,html[data-tab="community"] #app-nudge{display:none}
 html[data-tab="community"] .prop-switch{margin:0 0 8px;font-size:14px}
 html[data-tab="community"] .prop-menu>summary{padding:6px 12px;gap:8px}
 html[data-tab="community"] .prop-ico{width:28px;height:28px;font-size:16px}
 html[data-tab="community"] .prop-cur .note{display:none}
 html[data-tab="community"] .nb-ai-notice{padding:8px 12px;font-size:14px;margin:4px 0 8px}
 html[data-tab="community"] .comm-layout .comm-nav{margin-bottom:8px}
}
/* The line under the report ("Always up to date ... Print or save as PDF") sits on the dark card, outside the light
   report itself: light text there (parity check, 2026-11-19: it was dark gray on navy, about 2:1). */
.guardian-command #report.paper > p, .guardian-command #report.paper > p.note{color:#C9D6EA}
.guardian-command #report.paper > p .link-btn{color:#5ED6FF}
