/* PsyAlliance 1.0: the one design system for the workspace and account pages. Loads last, so it wins.
   A's precision and B's warmth: warm paper ground, deep green, brass details; Inter for text, Inter Tight for
   headings; service colours only on small icons, pills and status. Public pages use the same tokens (v1-public.css). */
@import url("/fonts/fonts.css");

:root{
  --forest:#1F4A3A; --forest-dark:#143327; --green:#2E5E4B; --sage:#E9EEE6; --cream:#F6F3EC; --paper:#FFFEFB;
  --ink:#18231E; --muted:#5A6159; --line:#E7E1D4; --gold:#8C6A2F; --brass:#8C6A2F; --brass-ink:#7A5C25;
  --shadow:0 1px 2px rgba(24,35,30,.04),0 8px 22px rgba(24,35,30,.045);
  --calm-ground:#F6F3EC; --calm-card:#FFFEFB; --calm-line:#E7E1D4; --calm-line-soft:#EEE9DD; --calm-soft:#F2EEE5; --calm-ink:#18231E; --calm-sub:#5A6159;
  --bold-line:#E7E1D4;
  --svc-cover:#1F6B55; --svc-referrals:#8E5321; --svc-consult:#5E4A86; --svc-search:#3D6489;
  --r-control:10px; --r-card:14px;
  --font-text:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-display:"Inter Tight","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-serif:"Newsreader",Georgia,serif;
}
.feature-cover,.modal-feature-cover{--feature:#1F6B55;--feature-pale:#E4EFEA;--feature-page:var(--cream)}
.feature-referrals,.modal-feature-referrals{--feature:#8E5321;--feature-pale:#F4E8DA;--feature-page:var(--cream)}
.feature-consult,.modal-feature-consult{--feature:#5E4A86;--feature-pale:#ECE7F2;--feature-page:var(--cream)}
.feature-network,.modal-feature-network{--feature:#3D6489;--feature-pale:#E8EEF4;--feature-page:var(--cream)}
.feature-home,.feature-messages,.feature-library,.modal-feature-home,.modal-feature-library{--feature:#1F4A3A;--feature-pale:#E9EEE6;--feature-page:var(--cream)}

/* Type: one text face, one display face. */
html,body,button,input,select,textarea{font-family:var(--font-text)}
body{background:var(--cream);color:var(--ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"cv11","ss01"}
.workspace h1,.workspace h2,.workspace h3,.modal h2,.modal h3,.page-heading h1,.account-main h1,.account-main h2{font-family:var(--font-display);letter-spacing:-.022em;color:var(--ink)}
.workspace h1,.page-heading h1{font-weight:600}
.page-heading h1{font-size:30px;line-height:1.12;letter-spacing:-.028em}
.page-heading p{color:var(--muted)}
.eyebrow,.workspace .eyebrow,.nav-caption{color:var(--brass-ink);letter-spacing:.14em}
.nav-caption{color:#6A6252}

/* Shell: warm paper sidebar and top bar, hairline rules. */
body,.workspace,.workspace.feature-cover,.workspace.feature-referrals,.workspace.feature-consult,.workspace.feature-network,.workspace.feature-home,.workspace.feature-library,.workspace.feature-messages{background:var(--cream)}
.sidebar,.topbar{background:#FBF9F4}
.sidebar{border-right:1px solid var(--line)}
.topbar{border-bottom:1px solid var(--line)}
.nav-item{border-radius:9px;color:#454C46;font-weight:500}
.nav-item:hover{background:#F2EEE5}
.nav-item.active,.nav-item[aria-current="page"]{background:var(--sage);color:var(--forest-dark);font-weight:600}
.nav-item.active:before{background:var(--forest)}
.sidebar .profile-button{border-radius:12px}
.sidebar .profile-button:hover{background:#F2EEE5}
.topbar .search-trigger,.topbar .top-search,.topbar .search-field{background:#fff;border-color:#DDD5C4}

/* Surfaces and controls. */
.workspace .panel,.workspace .card,.account-main .card{background:var(--paper);border-color:var(--line);border-radius:var(--r-card);box-shadow:var(--shadow)}
.workspace .button,.workspace .field input,.workspace .field select,.workspace .field textarea,.workspace .search-field,.modal .button,.modal .field input,.modal .field select,.modal .field textarea{border-radius:var(--r-control)}
.workspace .button.primary,.modal .button.primary,.account-main .btn:not(.secondary):not(.ghost){background:var(--forest);border-color:var(--forest);color:#fff}
.workspace .button.primary:hover,.modal .button.primary:hover{background:var(--forest-dark);border-color:var(--forest-dark)}
.workspace .button.secondary,.modal .button.secondary{background:#fff;border:1px solid #D9D1C0;color:var(--forest)}
.workspace .button.secondary:hover,.modal .button.secondary:hover{background:#F2EEE5}
.workspace .field input,.workspace .field select,.workspace .field textarea,.modal .field input,.modal .field select,.modal .field textarea{border-color:#D9D1C0;background:#fff}
.workspace .field input:focus,.workspace .field select:focus,.workspace .field textarea:focus,.modal .field input:focus,.modal .field select:focus,.modal .field textarea:focus{border-color:var(--forest);box-shadow:0 0 0 3px rgba(31,74,58,.12);outline:none}
.workspace :focus-visible,.modal :focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.modal{background:var(--paper);border-color:var(--line)}
.modal-header{border-bottom-color:var(--line)}
.modal-footer{border-top-color:var(--line);background:#FBF9F4}

/* Mobile bar keeps the deep green. */
.mobile-nav{background:var(--forest-dark)}

/* Waiting members (licence not yet reviewed): a quiet line, never a wall. */
.waiting-note{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:14px 18px;border:1px solid #EADFC6;background:#FBF4E4;border-radius:12px;color:#5E4A1E;font-size:14px}
.waiting-note b{color:#4B3B1C}
.waiting-note a{margin-left:auto;color:var(--forest);font-weight:600}

/* The Hub (1.0): a short visible greeting, one search in the top bar, the waiting note, then work. */
.hub-page .hub-head{display:flex;flex-direction:column;gap:4px;margin:0 0 18px}
.hub-page .hub-hello{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal;display:block;font:600 30px/1.12 var(--font-display);letter-spacing:-.028em;color:var(--ink)}
.hub-page .hub-sub{margin:0;color:var(--muted);font-size:14px}
.hub-page .hub-search{display:none}
.topbar .top-search{display:inline-flex;align-items:center;gap:10px;min-width:340px;max-width:460px;flex:0 1 460px;height:40px;padding:0 12px;border:1px solid #D9D1C0;border-radius:var(--r-control);background:#fff;color:#5A6159;font-size:14px;cursor:pointer}
.topbar .top-search .top-search-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.topbar .top-search kbd{margin-left:auto;font:600 11px/1 var(--font-text);border:1px solid #DDD5C4;border-radius:5px;padding:4px 6px;color:#6B6E67;background:#FBF9F4}
.topbar .top-search:hover{border-color:#C9BFA9}
.waiting-note{align-items:flex-start;margin:0 0 18px}
.waiting-note > svg{width:20px;height:20px;flex:none;margin-top:2px;color:#8C6A2F}
.waiting-body{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.waiting-body > b{font-size:15px}
.waiting-steps{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.waiting-steps li{display:flex;align-items:center;gap:7px;font-size:13.5px;color:#5E4A1E}
.waiting-steps li svg{width:15px;height:15px;color:#1E6B47}
.waiting-steps li i{width:13px;height:13px;border:1.5px solid #C9AE7C;border-radius:50%}
.waiting-steps li.done span{color:#1E6B47}
.waiting-steps a{color:var(--forest);font-weight:600}
@media (max-width:1100px){.topbar .top-search{min-width:0;flex:1 1 auto}}
@media (max-width:760px){.topbar .top-search{display:none}.hub-page .hub-hello{font-size:25px}}

/* Network (1.0, Nick 31 Oct): Trusted, Worked with before and Suggested side by side in three columns, compact rows. */
@media (min-width:1100px){
  .relationship-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
  .relationship-group .net-list{padding:0;grid-template-columns:minmax(0,1fr)}
  .relationship-group .net-list .net-row{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 18px;gap:12px}
  .relationship-group .net-list .net-row:last-child{border-bottom:0}
  .relationship-group .net-row .avatar{width:36px;height:36px;font-size:12px}
  .relationship-group .net-row strong button{font-size:14.5px}
  .relationship-group .net-row small{font-size:13px}
  .relationship-group .net-row .net-why{font-size:12.5px;margin-top:4px}
  .relationship-group .net-actions{margin-top:9px;gap:6px}
  .relationship-group .net-actions .button{min-height:34px;padding:0 10px;font-size:12.5px}
  .relationship-group>header{padding:16px 18px 12px}
  .relationship-group>header h2{font-size:15.5px}
  .relationship-group .net-head p{font-size:13px}
}
.relationship-group{background:var(--paper);box-shadow:var(--shadow)}
.relationship-group>header{background:var(--paper)}

/* @mentions (1.0) */
.mention{color:var(--forest);background:#E3EBE2;border-radius:5px;padding:0 3px;font-weight:600}
.outgoing .bubble .mention{background:rgba(255,255,255,.18);color:inherit}
.mention-pop{position:absolute;left:0;bottom:calc(100% + 6px);z-index:60;width:min(340px,100%);max-height:320px;overflow:auto;background:var(--paper);border:1px solid #D9D1C0;border-radius:12px;box-shadow:0 18px 40px rgba(24,35,30,.14);padding:6px}
.mention-head{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6B6E67;padding:8px 10px}
.mention-opt{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 10px;border:0;border-radius:8px;background:none;text-align:left;cursor:pointer;color:var(--ink);font:inherit}
.mention-opt.on,.mention-opt:hover{background:var(--sage)}
.mention-opt b{display:block;font-size:14px}
.mention-opt small{display:block;font-size:12px;color:#6B6E67}
.mention-opt .avatar{width:30px;height:30px;font-size:11px;flex:none}
.mention-foot,.mention-empty{font-size:12px;color:#6B6E67;padding:8px 10px;border-top:1px solid var(--line);margin-top:4px}
.mention-empty{border-top:0;margin:0}
.topbar .top-date{white-space:nowrap}
.topbar .top-search{max-width:420px}
@media (max-width:1380px){.topbar .top-date{display:none}.topbar .top-date + .top-divider{display:none}}
.topbar .top-search kbd{white-space:nowrap;flex:none}
.topbar .top-search svg{flex:none}
.waiting-explore{margin:2px 0 0;font-size:13.5px;color:#5E4A1E}
.waiting-explore a{font-weight:600;color:var(--forest)}
.network-overview>div>p{color:#5A6159}
/* Availability: segmented choices centre their text ("Limited capacity," then "ask me" beneath). */
.av-seg label span{text-align:center;line-height:1.3}
.av-empty{margin:10px 0 0;padding:12px 14px;border-radius:10px;background:#F2EEE5;color:#4A534D;font-size:13.5px}
/* Back to where you came from (account pages opened from Settings, a card or another page). */
.back-bar{padding:14px 36px 0;max-width:1440px;margin:0 auto}
.back-bar a{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:var(--forest);text-decoration:none;min-height:40px;padding:0 12px 0 8px;border-radius:10px;border:1px solid #D9D1C0;background:#fff}
.back-bar a:hover{background:#F2EEE5}
.sidebar-bottom .settings-link{display:block;text-align:left;padding:8px 6px;font-weight:600;color:var(--ink);text-decoration:none}
@media (max-width:760px){.back-bar{padding:12px 16px 0}}
/* The Hub's Actions bar (Nick, 1 Nov): deep PsyAlliance green, "Actions", the count, then the summary. */
.hub-page .hub-attn-toggle,.hub-page .hub-clear-bar{background:var(--forest);border:1px solid var(--forest);color:#fff;border-radius:14px;min-height:60px;padding:12px 18px;gap:14px;box-shadow:0 10px 24px -18px rgba(20,51,39,.7)}
.hub-page .hub-attn-toggle:hover{background:var(--forest-dark);border-color:var(--forest-dark)}
.hub-page .hub-attn-label{font:600 12px/1 var(--font-text);letter-spacing:.14em;text-transform:uppercase;color:#CFE0D6;padding-right:14px;border-right:1px solid rgba(255,255,255,.25)}
.hub-page .hub-attn-main,.hub-page .hub-attn-clear{color:#fff;font-size:17px;font-weight:600;display:inline-flex;align-items:center;gap:10px}
.hub-page .hub-attn-count{display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border-radius:999px;background:#fff;color:var(--forest);font-weight:700;font-size:15px}
.hub-page .hub-attn-note{color:#DCE8E1}
.hub-page .hub-attn-chev{color:#fff}
.hub-page .hub-clear-bar{display:flex;align-items:center}
.hub-page .hub-clear-sub{margin-left:auto;color:#DCE8E1;font-size:14px}
.hub-page .hub-attention{margin-bottom:20px}
.hub-group[aria-label="Profile setup"] h2{color:var(--brass-ink)}
.feature-setup .hub-row-icon{background:#F4EBD9;color:#7A5C25}
@media (max-width:760px){.hub-page .hub-attn-label{border-right:0;padding-right:0;flex:1 0 100%}.hub-page .hub-clear-sub{flex:1 0 100%;margin-left:0}.hub-page .hub-clear-bar{flex-wrap:wrap;row-gap:6px}}
.nav-item.nav-setup{color:var(--brass-ink);text-decoration:none}
/* A page opened as a card over another page (PageCardLink). */
.page-card{border:0;padding:0;border-radius:18px;width:min(1040px,calc(100vw - 32px));height:min(860px,calc(100dvh - 32px));background:var(--paper);box-shadow:0 30px 80px -30px rgba(24,35,30,.55);overflow:hidden}
.page-card[open]{display:flex;flex-direction:column}
.page-card::backdrop{background:rgba(20,34,28,.45)}
.page-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);background:#FBF9F4}
.page-card-head strong{font:600 17px/1.2 var(--font-display)}
.page-card-x{width:40px;height:40px;border:0;border-radius:10px;background:none;font-size:26px;line-height:1;cursor:pointer;color:#4A534D}
.page-card-x:hover{background:#F2EEE5}
.page-card-frame{flex:1;border:0;width:100%;background:var(--cream)}
html.in-card .sidebar,html.in-card .topbar,html.in-card .mobile-nav,html.in-card .back-bar,html.in-card .account-strip,html.in-card .mobile-scrim,html.in-card .first-visit{display:none!important}
html.in-card .workspace{margin-left:0!important;min-height:0}
html.in-card body{background:var(--cream)}
html.in-card-ws #app{visibility:hidden}
html.in-card .overlay{background:transparent!important;backdrop-filter:none!important;padding:0!important;align-items:stretch!important}
html.in-card .overlay .modal{max-width:none!important;width:100%!important;max-height:100dvh!important;height:100dvh;border-radius:0!important;box-shadow:none!important}
html.in-card .overlay .modal-header .icon-button[data-action="close-modal"]{display:none}
@media (max-width:760px){.page-card{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0}}
/* Your profile, LinkedIn style (1.1): the profile as colleagues see it, a pencil per section, cards to edit. */
.pf-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start;margin-top:18px}
form.pf-main{display:grid;gap:18px;min-width:0}
.pf-layout .pf-aside{display:grid;gap:18px;position:sticky;top:18px}
.pf-layout .pf-head{padding:28px!important}
.pf-layout .pf-head-row{display:flex;gap:22px;align-items:flex-start}
.pf-layout .pf-avatar{position:relative;flex:none}
.pf-layout .pf-photo-edit{position:absolute;right:-4px;bottom:-4px;width:34px;height:34px;border-radius:50%;border:2px solid var(--paper);background:var(--forest);color:#fff;display:grid;place-items:center;cursor:pointer}
.pf-layout .pf-photo-edit svg{width:15px;height:15px}
.pf-layout .pf-head-text{flex:1;min-width:0}
.pf-layout .pf-name{margin:0;font:600 30px/1.12 var(--font-display);letter-spacing:-.028em;color:var(--ink)}
.pf-layout .pf-head .pf-role{margin:4px 0 10px;font-size:15.5px;color:var(--muted)}
.pf-layout .pf-meta{margin:12px 0 0;font-size:14px;color:var(--muted)}
.pf-layout .pf-meta b{color:var(--ink);font-weight:600}
.pf-layout .pf-edit{flex:none;width:40px;height:40px;border-radius:10px;border:1px solid #D9D1C0;background:#fff;color:var(--forest);display:grid;place-items:center;cursor:pointer}
.pf-layout .pf-edit:hover{background:#F2EEE5;border-color:#C9BFA9}
.pf-layout .pf-about{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.pf-layout .pf-about-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pf-layout .pf-about-head h3{margin:0;font:600 17px/1.2 var(--font-display)}
.pf-layout .pf-about p{margin:10px 0 0;font-size:15.5px;line-height:1.65;color:var(--ink);max-width:70ch}
.pf-layout .pf-about .pf-empty,.pf-layout .pf-row.is-empty .pf-row-text span{color:#7A6F5B;font-style:italic}
.pf-layout .pf-block{padding:22px 24px!important}
.pf-layout .pf-block-title{margin:0 0 6px;font:600 19px/1.2 var(--font-display);letter-spacing:-.02em;color:var(--ink)}
.pf-layout .pf-rows{list-style:none;margin:0;padding:0}
.pf-layout .pf-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.pf-layout .pf-row:last-child{border-bottom:0}
.pf-layout .pf-row-text{flex:1;min-width:0;display:grid;gap:3px}
.pf-layout .pf-row-text b{font-size:14.5px;font-weight:700;color:var(--ink)}
.pf-layout .pf-row-text span{font-size:15px;color:#3E4540}
.pf-layout .pf-row-text small{font-size:12.5px;color:var(--muted)}
.pf-layout .pf-row.is-filled,.pf-layout .pf-head.is-filled,.pf-layout [data-block].is-filled{box-shadow:inset 3px 0 0 #B78A53}
.pf-layout .pf-state{flex:none;font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px;background:#EEF2EC;color:#1E5A3F}
.pf-layout .pf-state.tone-amber{background:#FBF1DC;color:#7A5C25}
.pf-layout .pf-state.tone-red{background:#F7E6E2;color:#8A3B2E}
.pf-layout .pf-strength .meter{margin:10px 0}
.pf-layout .pf-strength-line{margin:0 0 6px;font-size:14px;color:var(--muted)}
.pf-layout .pf-strength-line b{color:var(--ink)}
.pf-layout .pf-todo{list-style:none;margin:8px 0 0;padding:0}
.pf-layout .pf-todo li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:14px}
.pf-layout .pf-todo li small{margin-left:8px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7A5C25}
.pf-layout .pf-todo .text-link{font-weight:600;color:var(--forest);background:none;border:0;cursor:pointer;font-size:14px;padding:4px 0;text-decoration:underline;text-underline-offset:3px}
dialog.pf-card{border:0;padding:0;border-radius:18px;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);background:var(--paper);color:var(--ink);box-shadow:0 30px 80px -30px rgba(24,35,30,.55)}
dialog.pf-card[open]{display:flex;flex-direction:column}
dialog.pf-card::backdrop{background:rgba(20,34,28,.45)}
dialog.pf-card .pf-card-head{display:flex;justify-content:space-between;gap:16px;padding:22px 24px 16px;background:#EEF2EC;border-bottom:1px solid var(--line)}
dialog.pf-card .pf-card-head h2{margin:6px 0 0;font:600 24px/1.15 var(--font-display);letter-spacing:-.02em}
dialog.pf-card .pf-card-help{margin:6px 0 0;font-size:14px;color:var(--muted)}
dialog.pf-card .pf-card-x{flex:none;width:40px;height:40px;border:0;border-radius:10px;background:none;font-size:26px;line-height:1;cursor:pointer;color:#4A534D}
dialog.pf-card .pf-card-x:hover{background:rgba(0,0,0,.05)}
dialog.pf-card .pf-card-body{padding:20px 24px;overflow:auto;flex:1}
dialog.pf-card .pf-card-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid var(--line);background:#FBF9F4}
.import-bar{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0;padding:12px 16px;border-radius:12px;background:#FBF1DC;border:1px solid #EAD9B6;color:#4B3B1C}
@media (max-width:1100px){.pf-layout{grid-template-columns:minmax(0,1fr)}.pf-layout .pf-aside{position:static}}
@media (max-width:640px){.pf-layout .pf-head-row{flex-wrap:wrap}.pf-layout .pf-head-row>.pf-edit{position:absolute;right:16px;top:16px}.pf-layout .pf-head{position:relative;padding:20px!important}.pf-layout .pf-name{font-size:24px}dialog.pf-card{width:100vw;max-height:100dvh;border-radius:0;margin:0}dialog.pf-card .pf-card-body{padding:16px}}
/* "Need a demo?" (1.1): one quiet line at the top of each section, and a way to turn the prompts off. */
.demo-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:0 0 14px}
.demo-line button{background:none;border:0;padding:6px 0;font:inherit;cursor:pointer;color:var(--forest)}
.demo-line-watch{display:inline-flex;align-items:center;gap:10px;font-size:14px}
.demo-line-watch b{font-weight:600}
.demo-line-icon{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#7A5C25;color:#fff;font-size:10px}
.demo-line-off{font-size:13px;color:var(--muted)!important;text-decoration:underline;text-underline-offset:3px}
.demo-list{list-style:none;margin:0;padding:0}
.demo-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.demo-list b{display:block;font-size:15px}.demo-list small{color:var(--muted);font-size:13px}
.demo-toggle{margin-top:16px}
.support-line{margin:12px 0 0;font-size:13.5px;color:var(--muted)}.support-line a{color:var(--forest);font-weight:600}
/* Colleague cards (1.1): two lines. Green is how they match; amber is "partly", red is what they lack. */
.match-lines{display:grid;gap:6px;margin-top:10px;min-width:0}
.match-line{display:flex;gap:6px;flex-wrap:nowrap;overflow:hidden;mask-image:linear-gradient(90deg,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 92%,transparent)}
.match-line:hover{overflow-x:auto;mask-image:none;-webkit-mask-image:none}
.mchip{display:inline-flex;align-items:center;gap:5px;flex:none;white-space:nowrap;font-size:12.5px;font-weight:500;padding:4px 9px;border-radius:999px;border:1px solid}
.mchip svg{width:13px;height:13px}
.mchip.good{background:#EEF4EE;border-color:#CFE0D2;color:#1E5A3F}
.mchip.warn{background:#FBF1DC;border-color:#EAD9B6;color:#7A5C25}
.mchip.gap{background:#FBE9E5;border-color:#F0C9C0;color:#8A3B2E}
.match-name{background:none;border:0;padding:0;font:inherit;font-weight:600;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.match-name svg{width:14px;height:14px;color:var(--forest)}
.match-name:hover{text-decoration:underline}
.match-card .match-profile-link{display:none}
.match-card.is-hard{opacity:.6;background:#F6F3EC;cursor:not-allowed}
.match-card.is-hard .match-name{pointer-events:auto}
.match-hard{display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:13px;color:#5A6159}
.match-hard svg{width:15px;height:15px}
.match-hard-head{margin:18px 0 6px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#6A6252}
/* Who a request goes to, as overlapping discs. */
.disc-stack{display:inline-flex;align-items:center}
.disc-stack .avatar{width:34px;height:34px;font-size:11px;border:2px solid var(--paper);margin-left:-10px}
.disc-stack .avatar:first-child{margin-left:0}
.disc-stack.is-wide .avatar{margin-left:-14px}
.disc-more{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 6px;margin-left:-10px;border-radius:999px;background:var(--forest);color:#fff;font-size:11px;font-weight:700;border:2px solid var(--paper)}
.review-hero{position:relative}
.review-recipients{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px;align-self:center}
.review-recipients small{font-size:12.5px;color:var(--muted)}
/* Labels bold, values regular, everywhere (Nick, 1 Nov). */
.detail-grid dt{font-weight:700!important;color:var(--ink)!important;font-size:13.5px!important;letter-spacing:0!important;text-transform:none!important}
.detail-grid dd{font-weight:400!important;color:#3E4540!important;font-size:14.5px!important}
.glance li span{font-weight:700;color:var(--ink)}
.glance li strong{font-weight:400;color:#3E4540}
/* A record's name in the card header, with its pencil. */
.title-edit{display:inline-grid;place-items:center;width:32px;height:32px;margin-left:10px;vertical-align:middle;border-radius:9px;border:1px solid rgba(0,0,0,.12);background:rgba(255,255,255,.7);color:var(--forest);cursor:pointer}
.title-edit svg{width:15px;height:15px}
.title-edit:hover{background:#fff}
/* Progress: the step just reached is green, earlier steps gold (Nick, 1 Nov). */
.journey-stage.done.earlier .journey-dot{background:#B78A53!important;border-color:#B78A53!important;color:#fff!important}
.journey-stage.done.latest .journey-dot{background:#1E6B47!important;border-color:#1E6B47!important;color:#fff!important}
.journey-stage.done.latest strong{color:#1E6B47}
.referral-journey.is-placed .journey-stage.done.latest strong{color:#1E6B47}
/* Responses, compact: one line each, the conversation opens in place. */
.referral-responses.compact{display:grid;gap:8px}
.response-row{border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 14px}
.response-row.is-open{border-color:#C9BFA9}
.response-main{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.response-main .avatar{width:36px;height:36px;font-size:12px}
.response-who{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;flex:1}
.response-who .person-link{font-weight:600;color:var(--ink);display:inline-flex;align-items:center;gap:4px}
.response-who .person-link svg{width:13px;height:13px;color:var(--forest)}
.resp-pill{font-size:12.5px;font-weight:600;padding:4px 10px;border-radius:999px;background:#F1EEE6;color:#4A534D}
.resp-pill.tone-good{background:#E6F0E9;color:#1E5A3F}.resp-pill.tone-gold{background:#FBF1DC;color:#7A5C25}.resp-pill.tone-placed{background:#1E6B47;color:#fff}
.response-main .response-actions{display:flex;gap:8px;margin:0}
.quick-thread{margin-top:12px;border-top:1px solid var(--line);padding-top:12px;display:grid;gap:10px}
.quick-msgs{max-height:280px;overflow:auto;display:grid;gap:8px;padding-right:4px}
.quick-form{display:flex;gap:8px;align-items:flex-end}
.quick-form textarea{flex:1;min-height:44px;border:1px solid #D9D1C0;border-radius:10px;padding:10px 12px;font:inherit;resize:vertical}
.quick-open{justify-self:start}
/* Choosing a colleague: you, the referral, them. */
.handover-visual{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:6px 0 18px}
.hv-person{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:110px;text-align:center}
.hv-person .avatar{width:52px;height:52px;font-size:16px}
.hv-person small{font-size:12.5px;font-weight:600;color:var(--ink)}
.hv-arrow{color:#B78A53}
.hv-card{display:grid;gap:3px;min-width:180px;max-width:260px;padding:14px 16px;border:1px solid #E7D7C2;border-radius:12px;background:#FBF4EA;font-size:13px;color:#4A534D}
.hv-card strong{font-size:14.5px;color:var(--ink)}
/* Lists (1.1): active rows soft yellow, completed soft green, matching tabs; five a page; a line between rows. */
.arrangement-row.tint-active{background:#FCF6E6}
.arrangement-row.tint-completed{background:#EDF5EF}
.arrangement-row.tint-closed{background:#F4F2EE}
.list-section-body .arrangement-row{border-bottom:1px solid var(--line)!important}
.list-section-body .arrangement-row:last-child{border-bottom:0!important}
.filter-pills button[data-action$=":discussion"].active,.filter-pills button[data-action$=":active"].active{background:#E9C46A!important;border-color:#E9C46A!important;color:#3D2E0E!important}
.filter-pills button[data-action$=":placed"].active,.filter-pills button[data-action$=":past"].active{background:#1E6B47!important;border-color:#1E6B47!important;color:#fff!important}
.filter-pills button[data-action$=":discussion"]:not(.active),.filter-pills button[data-action$=":active"]:not(.active){background:#FCF6E6;border-color:#EAD9B6}
.filter-pills button[data-action$=":placed"]:not(.active),.filter-pills button[data-action$=":past"]:not(.active){background:#EDF5EF;border-color:#CFE0D2}
.list-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
/* Drafts as one quiet control. */
.drafts-drop{margin:0 0 16px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.drafts-drop summary{display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;list-style:none;font-weight:600;font-size:14px;color:var(--ink)}
.drafts-drop summary::-webkit-details-marker{display:none}
.drafts-drop summary b{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#F4EBD9;color:#7A5C25;font-size:12.5px}
.drafts-drop summary svg:last-child{margin-left:auto}
.drafts-drop[open] summary svg:last-child{transform:rotate(180deg)}
.drafts-list{border-top:1px solid var(--line);padding:4px 14px 10px}
.drafts-list .draft-banner{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;padding:10px 0;margin:0}
.drafts-list .draft-banner:last-child{border-bottom:0}
#main>.demo-line{max-width:1440px;margin:14px auto 0;padding:0 36px}
@media (max-width:760px){#main>.demo-line{padding:0 16px}}
.list-section-body .list-pager{margin-top:auto}
/* Cover plan as visuals (Nick, 1 Nov): the caseload as client discs, each opening in place. */
.resp-pill.tone-bad{background:#F8E5E1;color:#8F2F22}
.cover-caseload{display:grid;gap:14px;margin-top:6px}
.cdisc-row{display:flex;gap:10px;flex-wrap:wrap}
.cdisc{display:flex;flex-direction:column;align-items:center;gap:4px;width:104px;padding:10px 6px 8px;border:1px solid transparent;border-radius:14px;background:transparent;cursor:pointer;font:inherit;color:var(--ink);text-align:center}
.cdisc:hover{background:#F7F4EC}
.cdisc.is-sel{background:#fff;border-color:#D9D1C0;box-shadow:0 1px 3px rgba(30,40,35,.08)}
.cdisc-ring{width:52px;height:52px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:3px solid #D9D1C0;background:#fff;font-size:15px;font-weight:700;color:#4A534D}
.cdisc-ring .avatar{width:42px;height:42px;font-size:13px}
.cdisc strong{font-size:13px;line-height:1.2}
.cdisc small{font-size:11.5px;line-height:1.25;color:#5b6b61}
.cdisc.tone-needs .cdisc-ring{border-color:#C0503E;background:#FBEDEA;color:#8F2F22}
.cdisc.tone-waiting .cdisc-ring{border-color:#D9A441;background:#FDF6E7;color:#7A5C25}
.cdisc.tone-interest .cdisc-ring{border-color:#4E9B73;background:#EEF6F1;color:#1E5A3F;border-style:dashed}
.cdisc.tone-chosen .cdisc-ring{border-color:#1E6B47}
.cdisc.tone-ready .cdisc-ring{border-color:#1E6B47;box-shadow:0 0 0 3px #CFE5D8}
.cover-client-card{border:1px solid var(--line);border-radius:14px;background:#FBFAF6;padding:14px 16px;display:grid;gap:12px}
.cover-client-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cover-client-card>header>div{display:grid;gap:2px;min-width:0}
.cover-client-card>header strong{font-size:16px}
.cover-client-card>header span{color:#4c5a52;font-size:13.5px}
.cover-next{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#EEF6F1;border-radius:12px;padding:10px 14px}
.cover-next>svg{width:20px;height:20px;color:#1E6B47;flex:none}
.cover-next>span{display:grid;gap:2px;flex:1;min-width:200px}
.cover-next small{color:#4c5a52}
.cover-client-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cover-client-foot .inline-note{margin:0}
.cover-client-card .incoming-response{margin:0}
@media (max-width:640px){.cdisc{width:84px}.cdisc-ring{width:46px;height:46px}.cover-client-card{padding:12px}}
/* Cover calendar: the legend is the filter (Nick, 1 Nov). Both green, your plans blue, cover for colleagues gold. */
.legend-filter button{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.legend-filter button i{width:10px;height:10px;border-radius:50%;flex:none}
.legend-filter .scope-all i{background:#1E6B47}.legend-filter .scope-own i{background:#46677F}.legend-filter .scope-colleagues i{background:#9A7A3F}
.legend-filter .scope-all{border-color:#BFD8C9;color:#1E5A3F}.legend-filter .scope-own{border-color:#C9D9E5;color:#3B5A71}.legend-filter .scope-colleagues{border-color:#E1D5BD;color:#7C663E}
.legend-filter .scope-all[aria-pressed=true]{background:#1E6B47;border-color:#1E6B47;color:#fff}
.legend-filter .scope-own[aria-pressed=true]{background:#46677F;border-color:#46677F;color:#fff}
.legend-filter .scope-colleagues[aria-pressed=true]{background:#8A6A33;border-color:#8A6A33;color:#fff}
.legend-filter button[aria-pressed=true] i{background:#fff}
.cal-dots i.own{background:#46677F}.cal-dots i.peer{background:#9A7A3F;border:0}
/* Cover plan steps: clients as discs, review collapsed. */
.client-discs{margin:4px 0 10px}
.client-entry-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.client-entry-head>div{display:flex;gap:6px;flex-wrap:wrap}
.review-who{border:1px solid var(--line);border-radius:14px;background:#fff;margin:12px 0}
.review-who>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}
.review-who>summary::-webkit-details-marker{display:none}
.review-who>summary>span{display:grid;gap:2px}
.review-who>summary small{color:#5b6b61}
.review-who[open]>summary svg{transform:rotate(180deg)}
.review-who>.view-tabs{margin:0 16px 10px}
.review-who>.review-section{margin:0;padding:0 16px 16px;border:0}
/* Consult (Nick, 1 Nov): the question in the header, the reply box next, replies a few at a time, Useful quiet. */
.useful-button{margin-top:4px!important;padding:2px 8px!important;font-size:12px!important;border-color:transparent!important;background:transparent!important;color:#6b7a71!important;gap:4px!important}
.useful-button svg{width:13px!important;height:13px!important}
.useful-button.active{color:#8A3F63!important;background:transparent!important}.useful-button.active svg{fill:#8A3F63!important}
.useful-button:hover{background:#F4F1EA!important}
.discussion-question{display:grid;gap:8px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:14px}
.discussion-question p{margin:0;line-height:1.55}
.discussion-question .discussion-author span{display:grid;font-weight:600}
.discussion-question .discussion-author small{font-weight:400;color:#5b6b61}
.posted-banner{display:flex;gap:12px;align-items:flex-start;background:#EEF6F1;border:1px solid #CFE5D8;border-radius:12px;padding:12px 14px;margin-bottom:14px}
.posted-banner svg{width:20px;height:20px;color:#1E6B47;flex:none;margin-top:2px}
.posted-banner span{display:grid;gap:2px}.posted-banner small{color:#3F5247}
.replies-more{display:flex;justify-content:center;margin:10px 0}
.consult-pills{margin:10px 0 6px}
.peer-tags .form-grid{align-items:start}
.peer-tags .form-grid .field{display:grid;grid-template-rows:auto auto;align-content:start;gap:6px;margin:0}
.peer-tags .form-grid .field label{margin:0}
/* Consultation group card */
.group-purpose{margin:0 0 12px;color:#3F5247}
.group-meet{border:1px solid var(--line);border-radius:14px;background:#FBFAF6;padding:12px 16px;display:grid;gap:10px;margin-bottom:12px}
.group-meet .detail-grid{margin:0}
.meet-link{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.meet-link a{color:var(--forest);word-break:break-all}
.group-meet-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.group-meet-form{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px;align-items:end}
.group-meet-form .field{margin:0}
.group-meet-save{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}
.group-members{border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:12px}
.group-members>summary{display:flex;align-items:center;gap:12px;padding:10px 14px;cursor:pointer;list-style:none}
.group-members>summary::-webkit-details-marker{display:none}
.group-members>summary>span:nth-child(2){display:grid;flex:1}.group-members>summary small{color:#5b6b61}
.group-members[open]>summary svg{transform:rotate(180deg)}
.group-members .colleague-row{padding:8px 14px;border-top:1px solid var(--line)}
.group-chat .quick-thread{border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px;margin-top:6px}
.charter-text{line-height:1.6;background:#FBFAF6;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
@media (max-width:640px){.group-meet-form{grid-template-columns:1fr}}
/* A colleague's card: the header holds the person. */
.modal-header.has-lead{display:flex;align-items:flex-start;gap:16px}
.modal-header.has-lead>div{flex:1;min-width:0}
.modal-lead .pf-avatar{position:relative;display:inline-block}
.modal-lead .avatar{width:64px;height:64px;font-size:20px}
.modal-header .pf-head-line{display:block}
.modal-header .head-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.modal-header .pf-chip{font-size:12px}
.pf-chip.is-trusted{background:#E3ECF6;color:#2F5277;display:inline-flex;align-items:center;gap:4px}.pf-chip.is-trusted svg{width:13px;height:13px}
.pf-chip.is-worked{background:#EEE6F4;color:#5B3D78}
@media (max-width:640px){.modal-lead .avatar{width:48px;height:48px;font-size:15px}.modal-header.has-lead{gap:12px}}
/* Network columns: equal headers in a pale tint of each colour (Nick, 1 Nov). */
.relationship-group>header{min-height:118px;align-items:flex-start;border-radius:14px 14px 0 0}
.net-trusted>header{background:#EAF1F8}
.net-worked>header{background:#F1EBF6}
.net-suggested>header{background:#E5F3F1}
.circle-person{z-index:1}.circle-person:hover,.circle-person:focus-visible{z-index:3}
@media (max-width:900px){.relationship-group>header{min-height:0}}
/* Messages (Nick, 1 Nov): colleagues, each opening a card with General, Referrals, Cover and All. */
.messages-heading>div{display:grid;gap:4px}
.messages-heading .chat-origin{display:inline-flex;align-items:center;gap:6px;justify-self:start;color:var(--forest);font-weight:600}
.your-groups{padding:12px 14px 4px;display:grid;gap:8px}
.your-groups-list{display:flex;gap:8px;flex-wrap:wrap}
.group-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #D9D1C0;background:#FBFAF6;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer;max-width:100%}
.group-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-chip svg{width:15px;height:15px;color:#6E4E86;flex:none}
.group-chip:hover{background:#F3EFE6}
.inbox-sort{display:flex;gap:6px}
.colleague-row-btn{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;padding:12px 14px;font:inherit;color:inherit;cursor:pointer}
.colleague-row-btn:hover{background:#F7F4EC}
.colleague-row-btn.active{background:#EEF4EF;box-shadow:inset 3px 0 0 var(--forest)}
.colleague-row-btn .inbox-person-content{display:grid;gap:2px;min-width:0}
.colleague-row-btn .inbox-latest-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3F5247;font-size:13.5px}
.colleague-row-btn small{color:#6b7a71;font-size:12px}
.colleague-row-btn .inbox-person-meta{display:grid;justify-items:end;gap:4px}
.colleague-tabs{display:flex;gap:4px;padding:8px 16px 0;border-bottom:1px solid var(--line);overflow-x:auto}
.colleague-tabs button{position:relative;border:0;background:transparent;font:inherit;font-size:14px;font-weight:600;color:#5b6b61;padding:10px 12px;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap}
.colleague-tabs button.active{color:var(--forest);border-bottom-color:var(--forest)}
.colleague-tabs .tab-n{font-size:12px;color:#7a877f;font-weight:500}
.colleague-tabs .unread-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#C0503E;margin-left:4px;vertical-align:middle}
.context-list{display:grid;gap:8px;padding:16px;align-content:start;overflow:auto}
.context-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 14px;text-align:left;font:inherit;color:inherit;cursor:pointer}
.context-row:hover{border-color:#C9BFA9}
.context-row>svg{width:18px;height:18px;color:var(--forest)}
.context-row span:nth-child(2){display:grid;gap:2px;min-width:0}
.context-row small{color:#5b6b61;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.context-row.is-unread strong{color:var(--forest)}
.empty-state.small{padding:40px 20px}
/* X2 everywhere: labels bold, values regular. */
.pf-glance li span{font-weight:650;color:var(--ink)}
.pf-glance li strong{font-weight:400;color:#3E4540}
.peer-tags .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important}
.peer-tags .form-grid .field>label{display:block;line-height:20px;min-height:20px;margin:0!important;padding:0!important}
.peer-tags .form-grid .field select,.peer-tags .form-grid .field input{height:46px!important;margin:0!important;box-sizing:border-box;width:100%}
.peer-tags .form-grid .select-wrap{margin:0!important}
.peer-tags .form-grid>.field{margin:0!important;align-self:start}
/* Library (Nick, 1 Nov): smaller tiles with overview, PDF and save; Saved is its own pill; the overview is information only. */
.resource-grid.compact{gap:14px}
.resource-grid.compact .resource-card{padding:16px 18px;display:flex;flex-direction:column;gap:6px;min-height:0}
.resource-grid.compact .resource-card h3{font-size:16px;line-height:1.3;margin:0}
.resource-grid.compact .resource-card p{font-size:13.5px;line-height:1.45;margin:0;color:#3F5247;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.resource-grid.compact .resource-actions{margin-top:auto;padding-top:10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.filter-pills .saved-pill{border-color:#D9C7A2;background:#FBF4E4;color:#7A5C25}
.filter-pills .saved-pill.active{background:#8A6A33;border-color:#8A6A33;color:#fff}
.library-tabs a{font-size:12px;padding:10px 0 13px;color:#73806c;text-decoration:none}
.resource-preview.overview{display:grid;gap:14px}
.resource-preview.overview .resource-lede{font-size:15px;margin:0}
.resource-preview.overview h3{margin:0 0 4px;font-size:15px}
.resource-preview.overview p{margin:0;line-height:1.55}
.resource-preview.overview .before-use{border-left:3px solid #C9A24A;background:#FBF6EA;border-radius:0 10px 10px 0;padding:12px 14px}
/* Guided sandbox (Nick, 1 Nov) */
.guide-panel{border:1px solid #CFE0D5;background:#F4F8F4;border-radius:18px;padding:20px 22px;margin:0 0 18px;display:grid;gap:14px}
.guide-head h2,.guide-panel h2{margin:0;font:600 22px/1.2 var(--font-display);letter-spacing:-.01em}
.guide-head p,.guide-panel p{margin:4px 0 0;color:#3F5247}
.guide-tasks{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.guide-task{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;font:inherit;color:inherit;cursor:pointer}
.guide-task:hover{border-color:#9FBFA9;box-shadow:0 2px 8px rgba(30,60,40,.08)}
.guide-task strong{display:block;font-size:15px}.guide-task small{display:block;color:#5b6b61;font-size:13px;line-height:1.4;margin-top:2px}
.guide-task>svg{width:18px;height:18px;color:var(--forest)}
.guide-skip{justify-self:start}
.guide-panel.is-done{grid-template-columns:auto minmax(0,1fr);align-items:center}
.guide-panel.is-done .guide-mark svg{width:28px;height:28px;color:#1E6B47}
.guide-panel.is-done .guide-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}
.guide-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:60;display:flex;align-items:center;gap:12px;background:#1F3D2E;color:#fff;border-radius:14px;padding:10px 16px;box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:min(560px,calc(100vw - 32px))}
.guide-bar strong{display:block;font-size:14px}.guide-bar small{display:block;color:#CFE0D5;font-size:12.5px}
.guide-bar .text-link{color:#fff;text-decoration:underline}
.guide-bar-mark svg{width:20px;height:20px;color:#E9C46A}
@media (max-width:760px){.guide-bar{bottom:calc(76px + env(safe-area-inset-bottom,0px))}.guide-panel{padding:16px}}
.resource-grid.compact .resource-actions{flex-wrap:nowrap;gap:6px}
.resource-grid.compact .resource-actions .button{padding:7px 10px;font-size:12.5px;white-space:nowrap}
.resource-grid.compact .resource-actions .resource-dl{text-decoration:none}
.resource-grid.compact .resource-actions .icon-button{margin-left:auto;flex:none}
.content .toolbar .filter-pills button{padding:8px 14px;font-size:14px}
@media (max-width:400px){.resource-grid.compact .resource-actions{flex-wrap:wrap}}
.library-tabs a{color:#4A574E}
.colleague-row-btn small{color:#55645B}
.response-main .response-actions{border:0!important;padding:0!important;background:none}
/* Account pages: the demo line lines up with the heading, and only the words are a link. */
#main.page>.demo-line{padding:0;margin:0 0 6px;max-width:none}
a.demo-line-watch{text-decoration:none;color:var(--ink)}
a.demo-line-watch:hover b,a.demo-line-watch:hover span:last-child{text-decoration:underline}
