/* GRAS Hubs: shared styles (scoped to .gh-root so the site theme is untouched) */
.gh-root{--gh-bg:#F7F5F1;--gh-surface:#fff;--gh-surface2:#EFEBE3;--gh-ink:#1B2233;--gh-soft:#5B6273;--gh-line:#E4DFD5;--gh-accent:#8A5A2B;--gh-navy:#14284B;--gh-gold:#B8862E;--gh-ok:#2E7D46;--gh-okbg:#E7F3EA;--gh-info:#0F6E63;--gh-infobg:#E7F3EF;--gh-bad:#9A3B2E;--gh-badbg:#FBEAE6;
  font-family:"IBM Plex Sans",-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;color:var(--gh-ink);background:var(--gh-bg);max-width:1180px;margin:0 auto;padding:0 16px 48px;min-height:100vh;box-sizing:border-box}
.gh-root *{box-sizing:border-box}
.gh-band{background:var(--gh-navy);color:#fff;margin:0 -16px 20px;padding:14px 16px 18px;position:sticky;top:0;z-index:20}
.admin-bar .gh-band{top:32px}
@media (max-width:782px){.admin-bar .gh-band{top:46px}}
.gh-band h1{font-family:"Newsreader",Georgia,serif;font-size:28px;margin:2px 0 10px;color:#fff;line-height:1.15}
.gh-eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--gh-gold);font-weight:600}
.gh-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.gh-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--gh-gold);background:var(--gh-gold);color:#14284B;border-radius:6px;padding:7px 14px;font:inherit;font-size:13.5px;font-weight:600;text-decoration:none;cursor:pointer}
.gh-btn.gh-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.gh-btn:hover{filter:brightness(1.05)}
.gh-hubs{position:relative}
.gh-hubs>summary{list-style:none;cursor:pointer;background:#0E7C86;color:#fff;border-radius:6px;padding:7px 14px;font-size:13.5px;font-weight:600}
.gh-hubs>summary::-webkit-details-marker{display:none}
.gh-hubs-pop{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:280px;background:#fff;border:1px solid var(--gh-line);border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.2);padding:6px;display:grid}
.gh-hubs-pop a{color:var(--gh-ink);text-decoration:none;padding:8px 10px;border-radius:6px;font-size:14px}
.gh-hubs-pop a:hover,.gh-hubs-pop a.on{background:var(--gh-surface2)}
.gh-hubs-pop small{color:var(--gh-soft);font-size:11.5px;margin-left:4px}
.gh-stats{display:flex;flex-wrap:wrap;gap:8px}
.gh-stat{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:6px 12px;font-size:13px}
.gh-stat b{font-size:16px;margin-right:4px}
.gh-band .gh-muted{color:#C3CCDB}
.gh-note{background:#fff;color:var(--gh-ink);border-left:4px solid var(--gh-gold);border-radius:6px;padding:12px 14px;margin-top:8px}
.gh-note p{margin:0 0 10px}
.gh-sec{margin-top:26px}
.gh-sec-h{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.gh-sec-h h2{font-family:"Newsreader",Georgia,serif;font-size:21px;margin:0}
.gh-count{font-size:12px;background:var(--gh-surface2);border-radius:20px;padding:2px 9px;color:var(--gh-soft)}
.gh-cal-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:640px){.gh-cal-grid{grid-template-columns:1fr}}
.gh-card{background:var(--gh-surface);border:1px solid var(--gh-line);border-radius:12px;padding:14px 16px;box-shadow:0 1px 2px rgba(27,34,51,.06)}
.gh-card h3{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--gh-accent);margin:0 0 8px}
.gh-cal-row{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid var(--gh-line);font-size:14px}
.gh-cal-row:last-child{border-bottom:0}
.gh-cal-row.done .gh-strong{text-decoration:line-through;color:var(--gh-soft)}
.gh-time{font-family:"IBM Plex Mono",monospace;font-size:12px;color:var(--gh-soft);min-width:96px;padding-top:2px}
.gh-cal-body{flex:1;min-width:0}
.gh-list{display:grid;gap:10px}
.gh-mail.unread{border-left:4px solid var(--gh-info)}
.gh-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.gh-strong{font-weight:600}
.gh-sub{color:var(--gh-soft);font-size:13.5px}
.gh-muted{color:var(--gh-soft);font-size:13px}
.gh-nowrap{white-space:nowrap}
.gh-preview{margin:8px 0 0;font-size:14px}
.gh-acts{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin-top:8px}
.gh-link{font-size:13px;font-weight:600;color:var(--gh-info);text-decoration:none}
.gh-link:hover{text-decoration:underline}
.gh-chip{font:inherit;font-size:12px;background:#fff;border:1px solid var(--gh-line);color:var(--gh-soft);border-radius:20px;padding:3px 11px;cursor:pointer}
.gh-chip:hover{background:var(--gh-surface2);color:var(--gh-ink)}
.gh-chip.ok{color:var(--gh-ok);border-color:#C3E0CB}
.gh-chip.info{color:var(--gh-info);border-color:#BFDED4}
.gh-chip.bad{color:var(--gh-bad);border-color:#EEC3B8}
.gh-chip.is-done{background:var(--gh-okbg);border-style:dashed}
.gh-chip:disabled{opacity:.5;cursor:default}
.gh-pill{font-size:11px;border-radius:20px;padding:1px 8px}
.gh-pill.bad{background:var(--gh-badbg);color:var(--gh-bad)}
.gh-done-row{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;padding:7px 0;border-bottom:1px solid var(--gh-line)}
.gh-done-row span:first-child{flex:1 1 300px;min-width:0}
.gh-toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:#14284B;color:#fff;padding:9px 16px;border-radius:8px;z-index:99999;font:14px sans-serif;max-width:calc(100% - 32px)}
.gh-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.gh-tile{display:grid;gap:4px;background:var(--gh-surface);border:1px solid var(--gh-line);border-radius:12px;padding:16px;text-decoration:none;color:var(--gh-ink);box-shadow:0 1px 2px rgba(27,34,51,.06)}
.gh-tile:hover{border-color:var(--gh-gold)}
.gh-tile.is-wp{border-left:4px solid var(--gh-ok)}
.gh-tile-ic{font-size:24px}
.gh-tile-n{font-family:"Newsreader",Georgia,serif;font-size:19px;font-weight:600}
.gh-tile-d{font-size:13.5px;color:var(--gh-soft)}
.gh-tile-s{font-size:11.5px;font-weight:600;color:var(--gh-accent);margin-top:4px}
.gh-tile.is-wp .gh-tile-s{color:var(--gh-ok)}
.gh-live{display:inline-block;font-size:12px;font-weight:600;color:#C3CCDB;border:1px solid rgba(255,255,255,.25);border-radius:20px;padding:2px 10px;margin-bottom:6px}
.gh-live.on{color:#8FD9AC;border-color:#8FD9AC}

/* ---------- GRAS Business Hub sign-in ---------- */
.gs-wrap{--gs-navy:#14284B;--gs-gold:#B8862E;--gs-ink:#1B2233;--gs-soft:#5B6273;--gs-line:#E4DFD5;min-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;
  background:linear-gradient(160deg,#14284B 0%,#14284B 42%,#F7F5F1 42%);font-family:"IBM Plex Sans",-apple-system,"Segoe UI",sans-serif;color:var(--gs-ink)}
.gs-wrap *{box-sizing:border-box}
.gs-card{width:100%;max-width:420px;background:#fff;border-radius:16px;padding:32px 28px 26px;box-shadow:0 24px 60px -24px rgba(20,40,75,.45);border-top:4px solid var(--gs-gold)}
.gs-mark{display:inline-block;background:var(--gs-navy);color:var(--gs-gold);font-weight:700;letter-spacing:.14em;font-size:15px;border-radius:8px;padding:8px 12px}
.gs-logo{display:block;max-height:52px;max-width:220px}
.gs-brand{margin-top:14px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gs-gold);font-weight:600}
.gs-card h1{font-family:"Newsreader",Georgia,serif;font-size:28px;line-height:1.15;margin:4px 0 6px;color:var(--gs-navy)}
.gs-sub{color:var(--gs-soft);font-size:14.5px;margin:0 0 16px;line-height:1.5}
.gs-alert{border-radius:8px;padding:10px 12px;font-size:14px;margin:0 0 14px;line-height:1.45}
.gs-alert.bad{background:#FBEAE6;color:#9A3B2E}
.gs-alert.ok{background:#E7F3EA;color:#2E7D46}
.gs-form{display:grid;gap:14px}
.gs-f{display:grid;gap:6px;font-size:13.5px;font-weight:600;color:var(--gs-ink)}
.gs-f input{width:100%;font:inherit;font-weight:400;font-size:16px;border:1px solid #CFC8BA;border-radius:8px;padding:11px 12px;background:#fff;color:var(--gs-ink)}
.gs-f input:focus{outline:2px solid var(--gs-gold);outline-offset:1px;border-color:var(--gs-gold)}
.gs-pw{position:relative;display:block}
.gs-pw input{padding-right:64px}
.gs-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--gs-navy);font:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:6px 8px}
.gs-check{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--gs-soft)}
.gs-check input{width:16px;height:16px;accent-color:var(--gs-navy)}
.gs-btn{display:inline-flex;justify-content:center;align-items:center;width:100%;border:0;border-radius:8px;background:var(--gs-navy);color:#fff;font:inherit;font-size:15.5px;font-weight:600;padding:12px 16px;cursor:pointer;text-decoration:none}
.gs-btn:hover{background:#1D3766}
.gs-btn-alt{background:#fff;color:var(--gs-navy);border:1px solid var(--gs-navy)}
.gs-btn-alt:hover{background:#F7F5F1}
.gs-links{margin:16px 0 0;text-align:center;font-size:14px}
.gs-links a:not(.gs-btn){color:var(--gs-navy);font-weight:600;text-decoration:none}
.gs-links a:not(.gs-btn):hover{text-decoration:underline}
.gs-foot{margin:22px 0 0;text-align:center;font-size:12.5px;color:var(--gs-soft);line-height:1.6}
.gs-foot a{color:var(--gs-soft)}
@media (max-width:480px){.gs-card{padding:26px 20px 22px}.gs-card h1{font-size:25px}}

/* ---------- v0.5: dialogs, ⋯ Actions menu, composer, tasks ---------- */
.gh-band .gh-btn{font-size:13px;padding:6px 12px}
.gh-more>summary{list-style:none}.gh-more>summary::-webkit-details-marker{display:none}
.gh-more .gh-hubs-pop{left:auto;right:0}
.gh-menu{position:absolute;z-index:100000;background:#fff;border:1px solid #E4DFD5;border-radius:10px;box-shadow:0 14px 34px rgba(0,0,0,.22);padding:6px;display:grid;max-height:70vh;overflow:auto;min-height:0;padding-bottom:6px}
.gh-menu button{display:flex;gap:10px;align-items:center;text-align:left;border:0;background:none;font:500 14px "IBM Plex Sans",-apple-system,sans-serif;color:#1B2233;padding:8px 10px;border-radius:6px;cursor:pointer}
.gh-menu button span{width:20px;text-align:center}
.gh-menu button:hover{background:#EFEBE3}.gh-menu button.bad{color:#9A3B2E}
dialog.gh-dlg{border:0;border-radius:14px;padding:0;width:min(640px,calc(100% - 24px));max-height:calc(100vh - 32px);box-shadow:0 24px 60px -16px rgba(0,0,0,.4)}
dialog.gh-dlg.wide{width:min(900px,calc(100% - 24px))}
dialog.gh-dlg::backdrop{background:rgba(20,20,25,.5)}
.gh-dlg .gh-dlg-in{min-height:0;padding:0;max-width:none}
.gh-dlg-h{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--gh-line);position:sticky;top:0;background:#fff;z-index:2}
.gh-dlg-h h3{margin:0;font-family:"Newsreader",Georgia,serif;font-size:20px}
.gh-x{border:0;background:none;font-size:18px;cursor:pointer;color:var(--gh-soft)}
.gh-dlg-b{padding:14px 18px 18px}
.gh-dlg-f{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.gh-dlg-f .gh-link{margin-left:auto}
.gh-btn.gh-ghost2{background:#fff;color:var(--gh-navy);border-color:var(--gh-line)}
.gh-btn.gh-claude{background:#14284B;color:#fff;border-color:#14284B}
.gh-btn.confirm{background:#9A3B2E!important;color:#fff!important;border-color:#9A3B2E!important}
.gh-btn.bad{color:#9A3B2E}
.gh-btn:disabled{opacity:.55;cursor:default}
.gh-mr-meta{font-size:13px;color:var(--gh-soft);line-height:1.6;margin-bottom:10px;word-break:break-word}.gh-mr-meta b{color:var(--gh-ink)}
.gh-mr-body{height:min(55vh,560px);border:1px solid var(--gh-line);border-radius:10px;overflow:hidden}.gh-mr-body iframe{width:100%;height:100%;border:0;background:#fff}
.gh-form{display:grid;gap:10px}
.gh-f{display:grid;gap:4px;font-size:12.5px;font-weight:600;color:var(--gh-soft)}
.gh-f input,.gh-f select,.gh-f textarea,.gh-claude-row input{font:14px "IBM Plex Sans",-apple-system,sans-serif;color:var(--gh-ink);background:#fff;border:1px solid #CFC8BA;border-radius:8px;padding:8px 10px;min-width:0;width:100%;box-sizing:border-box}
.gh-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gh-grid3{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:10px}
@media (max-width:600px){.gh-grid2,.gh-grid3{grid-template-columns:1fr}}
.gh-claude-row{display:flex;gap:8px;flex-wrap:wrap}.gh-claude-row input{flex:1 1 260px;width:auto}
.gh-tools{display:flex;gap:6px}.gh-tools button{font:600 12px sans-serif;border:1px solid var(--gh-line);background:#fff;border-radius:6px;padding:3px 9px;cursor:pointer}
.gh-editor{min-height:170px;border:1px solid #CFC8BA;border-radius:10px;padding:10px 12px;background:#fff;color:#1b2233;font:14px/1.55 Calibri,-apple-system,Segoe UI,sans-serif;outline:none;overflow:auto;max-height:45vh}
.gh-editor:focus{border-color:var(--gh-gold)}.gh-editor p{margin:0 0 8px}
.gh-sig{font:13px/1.5 Calibri,-apple-system,sans-serif;color:#5B6273;border-left:3px solid var(--gh-line);padding-left:10px}.gh-sig p{margin:0 0 4px}
.gh-quote{font-size:12.5px;color:var(--gh-soft)}.gh-quote .q{max-height:200px;overflow:auto;background:#fff;border:1px dashed var(--gh-line);border-radius:8px;padding:8px;margin-top:6px;color:#333}
.gh-status{font-size:13px;min-height:18px}.gh-status.err{color:var(--gh-bad)}.gh-status.ok{color:var(--gh-ok)}
.gh-linkbtn{border:0;background:none;color:var(--gh-info);font:600 13px sans-serif;cursor:pointer;text-decoration:underline;padding:0 4px}
.gh-check{display:flex;gap:8px;align-items:center;font-size:14px}
.gh-chips{display:flex;flex-wrap:wrap;gap:6px}
.gh-answer{white-space:pre-wrap;background:#F7F5F1;border:1px solid var(--gh-line);border-radius:10px;padding:10px 12px;font-size:14px;max-height:40vh;overflow:auto}
.gh-pre{white-space:pre-wrap;max-height:120px;overflow:auto;margin:0}
.gh-hist{max-height:200px;overflow:auto;border-top:1px solid var(--gh-line);font-size:13px}.gh-hist p{margin:8px 0}
.gh-task.late{border-left:4px solid var(--gh-bad)}
.gh-note-line{margin:6px 0 0}

/* Daily Briefing header jump chips */
a.gh-stat.gh-jump{text-decoration:none;color:inherit;cursor:pointer}
a.gh-stat.gh-jump:hover{outline:2px solid var(--gh-gold)}
a.gh-stat.gh-jump.ok b{color:#2E7D46}a.gh-stat.gh-jump.bad b{color:#9A3B2E}
.gh-root .gh-sec{scroll-margin-top:190px}
.gh-task.late{box-shadow:inset 4px 0 0 #9A3B2E}

.gs-ms{display:flex;align-items:center;justify-content:center;gap:8px;background:#2F2F2F!important;border-color:#2F2F2F!important;color:#fff!important;text-decoration:none;width:100%;box-sizing:border-box}
.gs-or{text-align:center;font-size:13px;color:#5B6273;margin:10px 0 4px}
a.gh-stat.gh-jump.warn b{color:#A86A10}
/* 0.9.10: Daily Briefing next steps + actions */
.gh-next{margin:8px 0 2px;background:#EEF3FA;border-radius:8px;padding:7px 10px;font-size:13px;color:#2F4A7A}
.gh-next b{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#5B6273}.gh-next ol{margin:2px 0 0;padding-left:18px}.gh-next li{margin:2px 0}
.gh-chip.gh-claude{background:#14284B;color:#fff;border-color:#14284B}
.gh-actgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px;margin:6px 0 10px}
.gh-actgrid .gh-chip{font-size:13px;padding:7px 12px;text-align:left}
.gh-actgrid .gh-chip.on{background:#14284B;color:#fff;border-color:#14284B}
.gh-navrow{margin-bottom:6px}.gh-navrow .on{border-color:var(--gh-gold);color:var(--gh-gold)}
.gh-nextbox{background:#F4FAF5;border:1px solid #CFE6D5;border-radius:10px;padding:8px 12px;margin:6px 0 10px;font-size:13.5px}.gh-nextbox b{color:#2E7D46;font-size:11px;letter-spacing:.06em;text-transform:uppercase}.gh-nextbox ol{margin:4px 0 0;padding-left:20px}
.gh-nextline{margin:6px 0 4px;font-size:13.5px;color:#2F4A3A;background:#F4FAF5;border-radius:8px;padding:6px 10px}.gh-nextline b{color:#2E7D46}
