/* DFC experience system: one visual language across preparation, invitation and release. */
:root {
  --dfc-forest: #103f31;
  --dfc-deep: #0b3028;
  --dfc-leaf: #147651;
  --dfc-cream: #f6f5ef;
  --dfc-paper: #fffefa;
  --dfc-mist: #edf4ed;
  --dfc-stroke: #d9e6db;
  --dfc-copy: #24382c;
  --dfc-quieter: #587063;
  --dfc-serif: Georgia, 'Iowan Old Style', 'Baskerville', serif;
}

/* Make interaction legible without turning every control into a green button. */
body { background-color: var(--dfc-cream); color: var(--dfc-copy); }
button, input, select, textarea { font-family: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #76bc92;
  outline-offset: 3px;
}
.primary {
  background: var(--dfc-leaf);
  border-radius: 11px;
  min-height: 46px;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.primary:hover { background: #0b6143; box-shadow: 0 10px 22px rgba(12, 80, 47, .18); transform: translateY(-1px); }
.primary:disabled { box-shadow: none; transform: none; }
.eyebrow { letter-spacing: .18em; }

/* Member access: make the reason to plan visible before asking for an email. */
.member-login-body { background: #f4f3ec; }
.member-story {
  isolation: isolate;
  background: radial-gradient(circle at 77% 91%, rgba(179, 211, 166, .20), transparent 35%),
    linear-gradient(145deg, #0a3028, #0e533e 76%, #24694d);
  border: 1px solid rgba(245, 248, 234, .1);
  border-radius: 25px;
}
.member-story:after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(230, 248, 223, .23);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(225, 246, 223, .025), 0 0 0 140px rgba(225, 246, 223, .025);
}
.member-story h1 { max-width: 720px; font-size: clamp(42px, 5vw, 76px); line-height: 1.03; }
.member-story-copy>p:not(.eyebrow) { max-width: 530px; line-height: 1.6; }
.member-card { border: 1px solid #e5eadf; border-radius: 22px; }
.member-card h2 { font-size: clamp(30px, 3vw, 43px); }
.member-signin .field input { min-height: 52px; border-radius: 11px; }
.member-action { min-height: 52px; }
.member-assurance { border-top: 1px solid var(--dfc-stroke); }

/* A personal welcome and a single next decision. */
.portal-body { background: #f5f7f1; }
.portal-body #portal { max-width: 1240px; }
.portal-hero { border: 1px solid rgba(238, 250, 229, .17); }
.portal-hero .score { transform: rotate(4deg); }
.plan-command {
  position: relative;
  z-index: 2;
  margin: -17px 27px 30px;
  padding: 24px 26px;
  background: var(--dfc-paper);
  border-color: #dbe8d9;
  box-shadow: 0 20px 38px rgba(11, 55, 32, .095);
}
.plan-command .command-label { color: var(--dfc-leaf); }
.plan-command .primary { border-radius: 12px; }
.today-check { background: var(--dfc-paper); border-radius: 24px; }
.today-check .today-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.today-check .today-grid>button {
  position: relative;
  min-height: 90px;
  padding: 18px 20px;
  border-radius: 15px;
  background: #f2f7f1;
}
.today-check .today-grid>button b { font-size: 15px; }
.today-check .today-grid>button small { font-size: 12px; line-height: 1.4; }
.today-check .family-preview-prompt { margin-top: 20px; }
.plan-utilities .checkup-banner, .plan-utilities .plan-card-banner {
  background: #fdfdf9;
  border: 1px solid #dfe8d9;
  border-radius: 19px;
}
.section-intro h2 { font-size: clamp(27px, 3vw, 38px); }
.portal-grid { gap: 13px; }
.portal-grid .card { min-height: 226px; background: var(--dfc-paper); }
.portal-grid .card h2 { font-size: 20px; }
.portal-grid .card .icon { color: var(--dfc-forest); background: #e9f3e8; }
.portal-grid .card footer { border-top: 1px solid #e7eee4; }

/* First run: a reassuring path, not a wall of required fields. */
.first-run { margin-inline: 0; border-radius: 26px; }
.first-run-copy { max-width: 700px; }
.first-run h2 { font-size: clamp(39px, 4.7vw, 63px); }
.first-run-lead { max-width: 610px; }
.first-run-meta span { background: #edf5ec; border: 1px solid #dbe9da; color: #2c6346; }
.first-run-action { min-height: 53px; padding-inline: 25px; }
.first-run-roadmap { background: #f8fbf6; }
.first-run-roadmap-head { border-bottom: 1px solid var(--dfc-stroke); margin-bottom: 5px; }
.first-run-roadmap-head b { font-family: var(--dfc-serif); font-weight: 500; font-size: 25px; }
.first-run-roadmap article { padding-block: 17px; }
.first-run-roadmap article b { font-size: 16px; }
.first-run-roadmap article p { line-height: 1.45; }
.first-run-outcome { margin-top: 15px; padding: 19px; background: #e8f3e8; border-radius: 13px; color: #204e35; }
.first-run-outcome span { font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.first-run-outcome p { margin: 7px 0 0; line-height: 1.5; font-size: 14px; }

/* Workspaces share the same hierarchy from guide to letters. */
.portal-body .workspace { background: var(--dfc-paper); border-color: var(--dfc-stroke); }
.portal-body .workspace-head h2 { max-width: 790px; }
.portal-body .workspace-head .muted { color: var(--dfc-quieter); }
.portal-body .form-card { background: #fff; border-radius: 16px; }
.portal-body .section-tabs { background: #f5f9f4; }
.portal-body .section-tab { min-height: 46px; }
.portal-body .section-tab.active { background: #e5f1e6; color: #135c3d; }
@media (min-width: 761px) {
  .portal-body .guide-layout { grid-template-columns: minmax(285px, 315px) minmax(0, 1fr); gap: 28px; }
  .portal-body .section-tabs { padding: 20px 16px; }
}
.portal-body .section-tab { display: flex; align-items: center; gap: 12px; width: 100%; line-height: 1.35; font-size: 15px; font-weight: 650; padding: 13px 14px; }
.portal-body .section-tab > span:first-child { flex: 0 0 28px; width: 28px; height: 28px; margin: 0; }
.portal-body .section-tab-label { display: block; min-width: 0; width: auto; height: auto; margin: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; text-align: left; }
.portal-body .guide-more { margin: 18px 0; border: 1px solid #d9e8dc; border-radius: 15px; background: #f7faf6; }
.portal-body .guide-more summary { cursor: pointer; padding: 18px 20px; font-size: 16px; font-weight: 750; color: #174f38; }
.portal-body .guide-more summary span { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; color: #557269; }
.portal-body .guide-more summary:focus-visible { outline: 3px solid #69b68e; border-radius: 15px; }
.portal-body .guide-more-fields { padding: 2px 20px 8px; }
.portal-body .guide-previous { background: #fafbf8; }
.portal-body .guide-previous > p { margin: 0 20px 14px; color: #557269; }
.portal-body .person-row.master [data-g-edit] { background: #e8f3e9; color: #135c3d; font-weight: 750; }
.portal-body .person-row.master [data-g-remove] { color: #96554f; font-weight: 550; }
@media (max-width: 760px) {
  .portal-body .guide-layout { display: block; padding-inline: 18px; }
  .portal-body .section-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid #d9e8dc; }
  .portal-body .section-tab { width: auto; flex: 0 0 auto; }
  .portal-body .section-tabs { overflow-x: auto; }
}

/* The plan's next useful action belongs in the welcome, not below it. */
.portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
  min-height: 325px;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(circle at 14% 115%, rgba(88, 171, 119, .27), transparent 44%), linear-gradient(126deg, #082d26 4%, #0d503b 78%, #126646);
  box-shadow: 0 24px 56px rgba(10, 56, 36, .17);
}
.portal-body .portal-hero:before { background: none; }
.portal-body .portal-hero:after { right: 20%; top: -100%; opacity: .32; }
.portal-body .portal-hero .hero-copy { min-width: 0; }
.portal-body .portal-hero .hero-topline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.portal-body .portal-hero .hero-topline .eyebrow { margin: 0; }
.portal-body .portal-hero .score {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  flex: none;
  width: auto;
  height: auto;
  padding: 6px 11px;
  border-radius: 100px;
  border: 1px solid rgba(230, 246, 231, .35);
  background: rgba(244, 253, 245, .11);
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}
.portal-body .portal-hero .score span { font: 750 11px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; }
.portal-body .portal-hero .score small { font-size: 11px; color: #e5f4e8; }
.portal-body .portal-hero .score:after { display: none; }
.portal-body .portal-hero h1 { font-size: clamp(37px, 4.2vw, 57px); max-width: 690px; margin: 23px 0 17px; }
.portal-body .portal-hero .muted { max-width: 560px; }
.portal-body .hero-accent { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: #dbefdd; font-size: 13px; line-height: 1.4; }
.portal-body .hero-accent span { color: #dbd4a2; font-size: 20px; }
.portal-body .portal-hero .plan-command {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 23px;
  background: #fdfcf6;
  box-shadow: 0 28px 48px rgba(2, 30, 21, .16);
}
.portal-body .portal-hero .command-label { border: 0; padding: 0; }
.portal-body .portal-hero .command-label span { color: #17714d; font-size: 11px; }
.portal-body .portal-hero .command-copy b { display: block; font: 500 clamp(23px, 2.3vw, 30px)/1.17 Georgia, 'Iowan Old Style', serif; color: #173b2a; }
.portal-body .portal-hero .command-copy p { font-size: 14px; line-height: 1.55; color: #51675c; margin-top: 10px; }
.portal-body .portal-hero .plan-command .primary { width: 100%; min-height: 52px; margin-top: 5px; white-space: normal; }
.portal-body .today-check { margin-top: 25px; }
@media (max-width: 900px) {
  .portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero { grid-template-columns: 1fr; gap: 25px; }
  .portal-body .portal-hero .plan-command { max-width: none; }
  .portal-body .hero-accent { margin-top: 18px; }
}
@media (max-width: 520px) {
  .portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero { padding: 28px 22px; border-radius: 23px; }
  .portal-body .portal-hero h1 { font-size: clamp(36px, 9vw, 42px); margin-top: 16px; }
  .portal-body .portal-hero .plan-command { padding: 22px; border-radius: 19px; }
  .portal-body .portal-hero .score { min-width: 0; padding: 6px 10px; }
  .portal-body .portal-hero .score small { display: none; }
}

/* Give the public entry a calmer scale and show the product in concrete terms. */
@media (min-width: 901px) {
  .member-login-body .member-story h1 { max-width: 680px; font-size: clamp(43px, 4.3vw, 66px); line-height: 1.08; }
  .member-login-body .member-story { padding-block: clamp(46px, 5vw, 72px); }
  .member-login-body .member-card { padding: clamp(35px, 4vw, 56px); }
}
.member-login-body .member-trust { gap: 8px; }
.member-login-body .member-trust span { background: rgba(255, 255, 255, .075); border-color: rgba(234, 255, 237, .27); }
.member-login-body .member-family-note small { line-height: 1.5; }
.member-login-body .member-card { background: #fffef9; }
.member-login-body .member-action { box-shadow: 0 12px 22px rgba(8, 91, 56, .17); }
.portal-body .notification-banner { border-radius: 18px; background: #eff6ef; }
.portal-body .person-row.master { background: #fff; }
.portal-body .doc-row { align-items: center; }
.portal-body .letter-card { transition: transform .18s ease, box-shadow .18s ease; }
.portal-body .letter-card:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(65, 53, 27, .09); }
.portal-body .modalbox { background: var(--dfc-paper); }
.portal-body .story-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.portal-body .story-journey>article { display: block; min-height: 160px; padding: 17px; }
.portal-body .story-journey>article>b { margin-bottom: 12px; }
.portal-body .story-journey>article p { font-size: 13px; }

/* Short, private, purposeful views on the other side of the plan. */
.invite-body, .notifier-body, .release-body, .reset-body, .admin-login-body {
  background: radial-gradient(circle at 100% 0%, #e5efe3, transparent 38%), #f5f7f1;
}
.invite-panel, .notifier-panel, .family-release>.panel, .admin-login-card {
  background: var(--dfc-paper);
  border-radius: 24px;
}
.invite-panel h1, .notifier-panel h1, .family-release h1, .admin-login-card h1 {
  font-family: var(--dfc-serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.family-release { max-width: 910px; padding-top: clamp(22px, 5vw, 56px); }
.family-release>.panel { padding: clamp(22px, 5vw, 52px); }
.family-release .family-start { border-radius: 15px; }
.notifier-panel .notice, .invite-panel .notice { background: #eef5ee; border-radius: 12px; }
.reset-body .shell { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.reset-body .shell>.card { width: min(460px, 100%); min-height: 0; padding: 30px; border-radius: 21px; }
.reset-body .shell h1 { font-family: var(--dfc-serif); font-size: 34px; font-weight: 500; }
.reset-body #f { display: grid; gap: 12px; margin-top: 23px; }
.reset-body #p { min-height: 49px; border: 1px solid #b6ceba; border-radius: 10px; padding: 12px; font: inherit; }
.reset-body #m { min-height: 1.5em; }

/* Demo is explicitly a sample; operations remain visually distinct. */
.demo-body { background: #f5f7f1; }
.demo-body .hero { border-radius: 23px; }
.demo-body .notice:first-child { border-radius: 13px; }
.demo-body .bigcta { border-radius: 18px; }
.demo-body .demo-header { max-width: none; padding-inline: max(25px, calc((100vw - 1170px)/2)); }
.demo-header .primary { display: inline-flex; align-items: center; text-decoration: none; font-size: 13px; }
.demo-shell { max-width: 1170px; margin: auto; padding: 26px 24px 80px; }
.demo-banner { display: flex; gap: 13px; flex-wrap: wrap; padding: 13px 20px; border: 1px solid #d4e4d5; background: #eaf3e9; border-radius: 12px; color: #28533b; font-size: 13px; }
.demo-banner span { color: #4d6756; }
.demo-hero { position: relative; overflow: hidden; margin: 22px 0 0; padding: clamp(30px, 6vw, 76px); border-radius: 25px; background: radial-gradient(circle at 82% 75%,rgba(158,207,158,.2),transparent 37%), linear-gradient(130deg,#0a3028,#11533d); color: #fff; }
.demo-hero:after { content: ''; position: absolute; width: 410px; height: 410px; border: 1px solid rgba(232,248,224,.2); border-radius: 50%; right: -105px; bottom: -280px; pointer-events: none; box-shadow: 0 0 0 70px rgba(227,245,219,.025); }
.demo-hero>* { position: relative; z-index: 1; }
.demo-hero .eyebrow { color: #c8e9ce; }
.demo-hero h1 { font-family: var(--dfc-serif); font-weight: 500; letter-spacing: -.04em; line-height: 1.07; font-size: clamp(38px, 5.5vw, 68px); max-width: 780px; margin: 18px 0; }
.demo-hero p:not(.eyebrow) { max-width: 630px; color: #e1ede4; line-height: 1.55; font-size: clamp(16px, 1.7vw, 20px); }
.demo-hero-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.demo-hero-actions a { color: #e2efe3; font-weight: 750; text-underline-offset: 4px; }
.demo-tabs { position: relative; display: flex; gap: 8px; flex-wrap: wrap; padding: 14px; margin: -13px 22px 35px; background: #fffefa; border: 1px solid var(--dfc-stroke); border-radius: 17px; box-shadow: 0 15px 28px rgba(11,50,31,.07); }
.demo-tabs button { border: 0; background: transparent; color: #466753; border-radius: 9px; padding: 11px 16px; font-weight: 750; }
.demo-tabs button.active { background: #e5f2e6; color: #135c3e; }
.demo-tabs button:hover:not(.active) { background: #f1f6ef; }
.demo-screen { scroll-margin-top: 20px; background: #fffefa; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--dfc-stroke); border-radius: 23px; box-shadow: 0 12px 33px rgba(20,52,32,.045); }
.demo-screen[hidden] { display: none; }
.demo-screen-head { max-width: 800px; margin-bottom: 27px; }
.demo-screen h2 { font: 500 clamp(32px, 4.4vw, 51px)/1.1 var(--dfc-serif); letter-spacing: -.035em; margin: 10px 0 13px; }
.demo-screen-head>p:not(.eyebrow) { color: var(--dfc-quieter); line-height: 1.55; font-size: 17px; }
.demo-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.demo-feature { display: flex; flex-direction: column; min-height: 225px; padding: 24px; border: 1px solid #dce9dd; background: #f5f9f3; border-radius: 17px; }
.demo-feature-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: #e1f0e3; color: #146643; font-size: 18px; }
.demo-feature h3,.demo-family-card h3 { font: 500 27px/1.2 var(--dfc-serif); letter-spacing: -.02em; margin: 20px 0 7px; }
.demo-feature p,.demo-family-card p:not(.eyebrow) { color: #536b5b; line-height: 1.6; }
.demo-feature-foot { margin-top: auto; border-top: 1px solid #dce9dc; padding-top: 15px; font-size: 13px; color: #366b4b; font-weight: 750; }
.demo-next { margin-top: 25px; }
.demo-person { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--dfc-stroke); border-radius: 14px; margin: 10px 0; }
.demo-person>div { display: grid; gap: 3px; }.demo-person>div span { color: var(--dfc-quieter); font-size: 13px; }
.demo-person strong { font-size: 12px; color: #216f48; background: #e8f4e8; padding: 8px 11px; border-radius: 999px; }
.demo-boundary { padding: 20px; margin: 23px 0 0; background: #eef6ed; border-left: 4px solid #247c50; border-radius: 0 11px 11px 0; line-height: 1.6; color: #355643; }
.demo-family-card { max-width: 730px; padding: 28px; background: #f4f8f2; border: 1px solid var(--dfc-stroke); border-radius: 16px; }
.demo-family-note { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--dfc-stroke); color: #236345; font-weight: 700; line-height: 1.5; }
.demo-finish { display: inline-flex; align-items: center; text-decoration: none; margin-top: 25px; padding: 13px 19px; }
.demo-disclaimer { max-width: 870px; margin: 28px auto 0; text-align: center; font-size: 12px; line-height: 1.6; color: #617366; }
.admin-body { background: #f5f7f3; }
.admin-body .admin-hero { background: #f0f5ee; border: 1px solid var(--dfc-stroke); border-radius: 20px; }
.admin-body .admin-hero h1 { font-family: var(--dfc-serif); font-weight: 500; letter-spacing: -.03em; }
.admin-body .panel { background: #fffefa; border-radius: 17px; }
.admin-body .admin-state { letter-spacing: .11em; }

@media(max-width: 900px) {
  .member-story { border-radius: 22px; }
  .plan-command { margin-inline: 15px; }
  .portal-body .story-journey { grid-template-columns: 1fr; }
  .portal-body .story-journey>article { min-height: 0; display: grid; grid-template-columns: 34px 1fr; }
  .portal-body .story-journey>article>b { margin-bottom: 0; }
}
@media(max-width: 620px) {
  .demo-header { height: auto; min-height: 80px; gap: 10px; padding: 13px 18px; }.demo-header .brand>div { display: none; }
  .demo-header .primary { font-size: 11px; padding: 9px 11px; }
  .demo-shell { padding: 14px 15px 50px; }.demo-hero { padding: 29px 23px 46px; }
  .demo-tabs { margin: -13px 8px 23px; display: grid; }.demo-tabs button { text-align: left; }
  .demo-two { grid-template-columns: 1fr; }.demo-feature { min-height: 0; }
  .demo-person { grid-template-columns: 42px 1fr; }.demo-person strong { grid-column: 2; justify-self: start; }
  .plan-command { margin: -9px 10px 24px; padding: 19px; }
  .today-check .today-grid { grid-template-columns: 1fr; }
  .today-check .today-grid>button { min-height: 75px; }
  .portal-grid .card { min-height: 200px; }
  .first-run { margin-inline: 0; }
  .member-story h1 { font-size: clamp(34px, 9vw, 45px); }
  .portal-body .letter-card:hover { transform: none; }
}
@media(prefers-reduced-motion: reduce) {
  .primary, .portal-body .letter-card { transition: none; }
  .primary:hover, .portal-body .letter-card:hover { transform: none; }
}

/* The plan itself leads; maintenance lives after the working sections. */
.portal-body .section-intro { margin-top: clamp(38px, 5vw, 70px); }
.portal-body .section-intro h2 { font-size: clamp(34px, 4vw, 52px); }
.portal-body .portal-grid { gap: 16px; margin: 24px 0 28px; }
.portal-body .portal-grid .card { min-height: 222px; padding: 24px; }
.portal-body .portal-grid .card>p:not(.kicker) { margin: 12px 0 18px; line-height: 1.5; }
.portal-body .portal-grid .card footer { margin-top: auto; }
.portal-body .plan-utilities { gap: 12px; margin-top: 24px; }
.portal-body .plan-utilities .checkup-banner,
.portal-body .plan-utilities .plan-card-banner { min-height: 0; padding: 22px 26px; border-radius: 19px; }
.portal-body .plan-utilities .checkup-banner h2,
.portal-body .plan-utilities .plan-card-banner h2 { font-size: 20px; }
.portal-body .plan-utilities .checkup-banner p:not(.eyebrow),
.portal-body .plan-utilities .plan-card-banner p:not(.eyebrow) { font-size: 14px; }
.portal-body .today-check .family-preview-prompt p { color: #355947; }
.portal-body .portal-hero .command-copy b { font-size: clamp(22px, 2.15vw, 29px); }
@media (max-width: 620px) {
  .portal-body .section-intro { margin-top: 35px; }
  .portal-body .portal-grid .card { min-height: 0; }
  .portal-body .portal-grid { gap: 12px; }
  .portal-body .plan-utilities .checkup-banner,
  .portal-body .plan-utilities .plan-card-banner { padding: 19px; }
}

.portal-body .today-check .family-preview-prompt {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 24px 26px;
  margin-top: 24px;
  border: 1px solid #d8e9dc;
  border-radius: 18px;
  background: linear-gradient(115deg, #ecf5ed, #fafcf8 84%);
}
.portal-body .today-check .family-preview-prompt .preview-eyebrow {
  display: block;
  color: #17714d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 8px;
}
.portal-body .today-check .family-preview-prompt p { margin: 0; }
.portal-body .today-check .family-preview-prompt strong {
  display: block;
  color: #173b2a;
  font: 500 clamp(22px, 2.4vw, 31px)/1.18 Georgia, 'Iowan Old Style', serif;
}
.portal-body .today-check .family-preview-prompt small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #4e6658;
}
.portal-body .today-check .family-preview-prompt button {
  flex: none;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: #0b6045;
  border-color: #0b6045;
  color: #fff;
}
.portal-body .today-check .family-preview-prompt button:hover { background: #084c36; color: #fff; }
@media (max-width: 700px) {
  .portal-body .today-check .family-preview-prompt { flex-direction: column; align-items: stretch; padding: 20px; }
  .portal-body .today-check .family-preview-prompt button { width: 100%; }
}

/* Readiness belongs in the detailed snapshot below, where its meaning is explained. */
.portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero .score { display: none; }

.portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero .handoff-story {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 2.3fr);
  gap: 22px;
  align-items: center;
  padding: 20px 23px;
  border: 1px solid rgba(230, 248, 229, .2);
  border-radius: 18px;
  background: rgba(2, 37, 27, .2);
  color: #fff;
}
.portal-body .handoff-story-head span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; color: #bdd9c0; margin-bottom: 7px; }
.portal-body .handoff-story-head strong { display: block; font: 500 21px/1.2 Georgia, 'Iowan Old Style', serif; }
.portal-body .handoff-story ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.portal-body .handoff-story li { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.portal-body .handoff-story li>b { color: #d5d5aa; font-size: 11px; line-height: 1.4; }
.portal-body .handoff-story li strong { display: block; font-size: 13px; line-height: 1.35; }
.portal-body .handoff-story li small { display: block; margin-top: 5px; color: #d2e3d6; font-size: 11px; line-height: 1.45; }
@media (max-width: 900px) {
 .portal-body .portal-hero .handoff-story { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
 .portal-body .portal-hero .handoff-story { padding: 17px; }
 .portal-body .handoff-story ol { grid-template-columns: 1fr; gap: 14px; }
 .portal-body .handoff-story-head strong { font-size: 19px; }
}

.member-login-body .member-family-note { max-width: 570px; }
.member-login-body .member-family-note b { font-size: 14px; line-height: 1.4; }
.member-login-body .member-family-note small { max-width: 525px; font-size: 12px; line-height: 1.6; }

.portal-body .people-role-path { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin: 18px 0 24px; }
.portal-body .people-role-path>div { padding: 18px 20px; border: 1px solid #dde9df; border-radius: 16px; background: #f7faf5; }
.portal-body .people-role-path b { display: block; color: #184c36; font-size: 15px; margin-bottom: 7px; }
.portal-body .people-role-path span { display: block; color: #52685a; font-size: 13px; line-height: 1.5; }
@media (max-width: 760px) { .portal-body .people-role-path { grid-template-columns: 1fr; } }
.member-sample-link { display: inline-flex; align-items: center; margin-top: 22px; padding: 11px 0; color: #fff; font-weight: 750; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); }
.member-sample-link:hover,.member-sample-link:focus-visible { color: #e8f4e8; border-color: #fff; }
.member-example-link { display: block; margin: 17px auto 0; width: fit-content; color: #136449; font-size: 13px; font-weight: 750; text-underline-offset: 4px; }

/* Dashboard: make the personal action and the handoff readable in one glance. */
@media (min-width: 901px) {
 .portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero { min-height: 0; gap: 22px 35px; padding: 32px 38px; align-items: start; }
 .portal-body .portal-hero h1 { margin: 12px 0 10px; font-size: clamp(38px, 3.4vw, 49px); }
 .portal-body .portal-hero .hero-accent { margin-top: 15px; }
 .portal-body .portal-hero .plan-command { padding: 22px 26px; gap: 9px; }
 .portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero .handoff-story { padding: 16px 20px; grid-template-columns: minmax(145px,.56fr) minmax(0,2.44fr); }
 .portal-body .today-check .today-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .portal-body .today-check .today-grid>button { min-height: 96px; }
 .portal-body .portal-grid .card { min-height: 195px; }
}
.portal-body .portal-hero .handoff-story li strong { color: #f5fff4; font-weight: 750; }
.portal-body .portal-hero .handoff-story li small { color: #dbece0; font-size: 12px; }
.portal-body .portal-hero .handoff-story-head strong { color: #f5fff4; }
.portal-body .portal-hero .handoff-story li>b { color: #e9dda6; }
@media (max-width: 900px) {
 .portal-body .portal-hero .handoff-story ol { gap: 12px; }
 .portal-body .portal-hero .handoff-story li strong { font-size: 13px; }
}

.admin-body .admin-mail-health { margin: 16px 0; padding: 20px 25px; border: 1px solid #dfc29a; background: #fff9eb; border-radius: 18px; color: #413221; }
.admin-body .admin-mail-health h2 { margin: 7px 0; font-size: 21px; }
.admin-body .admin-mail-health p { margin: 6px 0; }
.admin-body .admin-mail-health ul { margin: 12px 0 0; padding-left: 20px; line-height: 1.6; overflow-wrap: anywhere; }

/* v26.6.37: one deliberate visual hierarchy from the first visit to family delivery. */
:root { --dfc-ink: #18362b; --dfc-subtle: #476253; --dfc-gold: #d8bf83; }
.portal-body, .member-login-body, .invite-body, .notifier-body, .release-body,
.reset-body, .admin-login-body, .demo-body, .admin-body { color: var(--dfc-ink); }
.portal-body .eyebrow, .member-login-body .eyebrow, .demo-body .eyebrow { letter-spacing: .13em; }
.portal-body header { min-height: 76px; height: auto; padding-block: 10px; }
.portal-body main#portal { padding-top: clamp(20px, 3vw, 34px); }
.portal-body .portal-nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }
.portal-body .portal-nav button { min-height: 42px; }
.portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero {
  gap: clamp(18px, 2.5vw, 32px); padding: clamp(25px, 3vw, 36px);
  border-radius: 23px; box-shadow: 0 16px 36px rgba(7, 55, 36, .13);
}
.portal-body .portal-hero .hero-accent { color: #eff8ec; }
.portal-body .portal-hero .plan-command { border-radius: 18px; box-shadow: 0 16px 32px rgba(3, 30, 21, .14); }
.portal-body .portal-hero .plan-command .primary { font-weight: 750; }
.portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero .handoff-story {
  gap: 18px; border-color: rgba(232, 249, 228, .27);
  background: rgba(0, 31, 24, .4); padding: 18px 20px;
}
.portal-body .handoff-story-head span { color: #dcefd7; }
.portal-body .handoff-story ol { gap: 12px; }
.portal-body .handoff-story li { padding-left: 12px; border-left: 1px solid rgba(223, 242, 221, .38); }
.portal-body .handoff-story li:first-child { padding-left: 0; border-left: 0; }
.portal-body .portal-hero .handoff-story li strong { color: #fff; font-size: 13px; }
.portal-body .portal-hero .handoff-story li small { color: #e3f1e5; font-size: 12px; }
.portal-body .today-check { margin-top: 18px; border: 1px solid #dce9df; box-shadow: 0 9px 28px rgba(22, 63, 40, .045); }
.portal-body .today-check .today-grid > button { border: 1px solid #dce9df; background: #f6faf5; }
.portal-body .today-check .today-grid > button:hover,
.portal-body .today-check .today-grid > button:focus-visible { border-color: #6da685; background: #eff7ee; }
.portal-body .section-intro { margin-top: clamp(30px, 4vw, 48px); align-items: end; }
.portal-body .section-intro h2 { font-size: clamp(30px, 3.3vw, 43px); line-height: 1.13; }
.portal-body .portal-grid .card { min-height: 190px; border-color: #dae7da; border-radius: 19px; box-shadow: 0 7px 23px rgba(24, 55, 35, .045); }
.portal-body .portal-grid .card h2 { font-size: 21px; line-height: 1.2; }
.portal-body .portal-grid .card .kicker { color: #176d4b; letter-spacing: .13em; }
.portal-body .portal-grid .card footer button { color: #0b6647; font-weight: 800; }
.portal-body .portal-grid .card footer button:hover { text-decoration: underline; text-underline-offset: 3px; }
.portal-body .portal-grid .card .tag { max-width: 100%; white-space: normal; }

/* The guide is a working form: bring the first field into view quickly. */
.portal-body.view-open main#portal { padding-top: 16px; }
.portal-body.view-open .workspace { padding: clamp(18px, 2.5vw, 32px); min-height: 0; }
.portal-body.view-open .workspace-head { padding-bottom: 17px; margin-bottom: 20px; }
.portal-body.view-open .workspace-head h2 { font-size: clamp(30px, 3.1vw, 40px); }
.portal-body .guide-layout { grid-template-columns: minmax(185px, 230px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.portal-body .guide-layout .form-card { max-width: 800px; min-width: 0; }
.portal-body .section-tabs { padding: 9px; border-radius: 16px; }
.portal-body .section-tab.active { box-shadow: inset 0 0 0 1px #bcd9c5; }
.portal-body .field > span, .portal-body .check-field span { color: #284438; }
.portal-body .field input, .portal-body .field select, .portal-body .field textarea { min-height: 46px; }
.portal-body .person-row.master, .portal-body .letter-card,
.portal-body .resource-grid article, .portal-body .security-grid article { border: 1px solid #dce8df; border-radius: 15px; }
.portal-body .person-row.master { padding: 16px; }
.portal-body .person-row.master .row-actions button { min-height: 40px; }
.portal-body .people-next { display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 21px 25px; margin: 0 0 19px; border: 1px solid #c8dec9; border-radius: 16px;
  background: linear-gradient(115deg, #eff7ec, #fafcf7); }
.portal-body .people-next span { color: #176d4a; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.portal-body .people-next h3 { margin: 5px 0 5px; color: #193f2d; font: 500 clamp(21px, 2.2vw, 28px)/1.22 var(--dfc-serif); }
.portal-body .people-next p { max-width: 610px; margin: 0; color: #445f4f; font-size: 14px; line-height: 1.5; }
.portal-body .people-next .primary { flex: none; min-height: 46px; }
.portal-body .modalbox { max-height: calc(100dvh - 32px); overflow: auto; }
.portal-body .modalbox .field input, .portal-body .modalbox .field select { min-height: 47px; }
.portal-body .modalbox:has(.dfc-confirm){width:min(420px,calc(100vw - 32px));padding:28px;}
.dfc-confirm h2{font-size:clamp(24px,4vw,30px);line-height:1.2;margin:8px 0 12px;}
.dfc-confirm .muted{font-size:15px;line-height:1.5;margin:0 0 22px;}
.dfc-confirm .modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.dfc-confirm .modal-actions button{min-height:44px;}
.portal-body .toast { top: max(22px, env(safe-area-inset-top)); bottom: auto; right: max(16px, env(safe-area-inset-right));
  width: max-content; max-width: min(440px, calc(100vw - 32px)); height: auto;
  background: #164a36; color: #fff; font-weight: 650; }
@media(max-width:620px){.portal-body .toast{top:max(80px, env(safe-area-inset-top));left:16px;right:16px;width:auto}}

/* One consistent invitation, reporting and delivery family of pages. */
.invite-shell, .notifier-shell, .family-release, .admin-login-shell { width: min(100%, 900px); }
.invite-panel, .notifier-panel, .family-release > .panel, .admin-login-card {
  border: 1px solid #dbe8dd; box-shadow: 0 17px 45px rgba(20, 59, 40, .085);
}
.invite-panel h1, .notifier-panel h1, .family-release h1, .admin-login-card h1 { max-width: 710px; text-wrap: balance; }
.invite-role-card { border-left: 4px solid #277d53; }
.invite-boundaries p { line-height: 1.5; }
.notifier-panel #reportForm { border-left: 4px solid #277d53; }
.notifier-panel #reportForm textarea { min-height: 100px; }
.family-release .family-start { border-left: 4px solid #277d53; }
.family-release .release-item { line-height: 1.55; }
.reset-body .shell > .card { border: 1px solid #dbe8dd; box-shadow: 0 17px 45px rgba(20, 59, 40, .085); }
.member-login-body .member-story { border-radius: 22px; }
.member-login-body .member-story h1 { text-wrap: balance; }
.member-login-body .member-card { border-radius: 20px; }
.member-login-body .member-card .field > span { color: #29483a; }
.member-login-body .member-trust span { color: #f6fff2; }
.member-login-body .signup-cta { margin-top: 20px; padding: 16px; border: 1px solid #cde2d2;
  border-radius: 12px; background: #f1f8f1; color: #27543b; font-size: 14px; line-height: 1.45; }
.member-login-body .signup-cta b { display: inline-block; color: #0a6545; text-decoration-thickness: 1px; }
.member-login-body .signup-cta:hover { border-color: #75a889; background: #e7f3e8; }
.demo-hero { padding-block: clamp(32px, 4vw, 58px); }
.demo-hero h1 { text-wrap: balance; }
.demo-feature, .demo-family-card, .demo-person { border-color: #d5e5d8; }
.admin-body .admin-hero, .admin-body .admin-panel { box-shadow: 0 9px 27px rgba(24, 55, 35, .045); }

@media (max-width: 900px) {
  .portal-body .portal-nav .nav-pill { display: inline-flex; align-items: center; }
  .portal-body .portal-hero .handoff-story li { padding-left: 10px; }
  .portal-body .guide-layout { grid-template-columns: minmax(160px, 200px) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .portal-body .guide-layout { display: block; }
  .portal-body .section-tabs { border-radius: 12px; }
  .portal-body .section-tab { min-width: max-content; }
  .portal-body .portal-hero .handoff-story li { border: 0; padding-left: 0; }
}
@media (max-width: 620px) {
  .portal-body header { height: auto; min-height: 74px; padding-block: 10px; flex-wrap: wrap; gap: 7px; }
  .portal-body header .brand { min-width: 0; }
  .portal-body header .brand b { font-size: 11px; }
  .portal-body header .brand small { font-size: 8px; }
  .portal-body .portal-nav { width: 100%; justify-content: space-between; overflow-x: auto; flex-wrap: nowrap; }
  .portal-body .portal-nav button { flex: 0 0 auto; padding-inline: 9px; font-size: 12px; }
  .portal-body #storyBtn { display: inline-flex; }
  .portal-body .portal-nav .avatar { display: none; }
  .portal-body:not(.first-run-mode):not(.setup-mode) .portal-hero { padding: 24px 20px; }
  .portal-body .portal-hero .plan-command { padding: 19px; }
  .portal-body .handoff-story ol { gap: 16px; }
  .portal-body .handoff-story li { padding-top: 12px; border-top: 1px solid rgba(223, 242, 221, .33); }
  .portal-body .handoff-story li:first-child { padding-top: 0; border-top: 0; }
  .portal-body .portal-grid .card { padding: 21px; }
  .portal-body .people-next { flex-direction: column; align-items: stretch; padding: 19px; }
  .portal-body .people-next .primary { width: 100%; }
  .portal-body.view-open .workspace { padding: 18px; }
  .portal-body .modalbox { max-height: calc(100dvh - 22px); }
  .invite-panel, .notifier-panel, .family-release > .panel, .admin-login-card { border-radius: 18px; }
  .member-login-body .member-story h1, .demo-hero h1 { text-wrap: initial; }
}

/* People rows: identity and progress together; one clear invitation action. */
.portal-body .person-row.master { display:grid; grid-template-columns:48px minmax(0,1fr) auto; column-gap:14px; row-gap:4px; align-items:center; }
.portal-body .person-row.master > .mini-avatar { grid-column:1; grid-row:1 / span 2; }
.portal-body .person-row.master > div:nth-child(2) { grid-column:2; grid-row:1; min-width:0; }
.portal-body .person-row.master > div:nth-child(2) small { overflow-wrap:anywhere; }
.portal-body .person-row.master > span:nth-child(3) { grid-column:2; grid-row:2; justify-self:start; padding:0; background:transparent; color:#806425; font-size:12px; letter-spacing:0; }
.portal-body .person-row.master > .status-good:nth-child(3) { color:#247353; }
.portal-body .person-row.master > .row-actions { grid-column:3; grid-row:1 / span 2; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:7px; }
.portal-body .person-row.master [data-g-invite] { color:#176c4d; border:1px solid #c8dfce; background:#f4faf5; font-weight:700; }
.portal-body .person-row.master [data-g-edit] { background:transparent; border:1px solid #dce8df; font-weight:650; }
.portal-body .person-row.master [data-g-remove] { background:#fff; border:1px solid #ead7d2; color:#92574f; font-weight:650; }
@media(max-width:760px) {
 .portal-body .person-row.master { grid-template-columns:42px minmax(0,1fr); }
 .portal-body .person-row.master > .row-actions { grid-column:2; grid-row:3; justify-content:flex-start; margin-top:8px; }
}

/* Recipient handoff and staff guidance. */
.release-verification{margin:1.5rem 0;padding:1.4rem;border:1px solid #d4e3db;border-radius:18px;background:#f5faf7}
.release-verification p{margin:0 0 1rem;max-width:38rem;line-height:1.6}
.release-verification .field{max-width:20rem}
.release-verification [role="alert"]{margin-top:.8rem;color:#8b2f2f;font-weight:700}
.admin-playbook{margin:1.25rem 0 1.5rem;border-top:4px solid #bc934f;background:linear-gradient(135deg,#fff,#f4f9f5)}
.admin-playbook h2{margin:.2rem 0 .6rem}
.admin-playbook p:last-child{max-width:75ch;line-height:1.65}
.person-row .row-actions .ghost.danger{border:1px solid #b88686;border-radius:9px;padding:.5rem .8rem;background:#fff;color:#893c3c}
.person-row .row-actions .ghost.danger:hover,.person-row .row-actions .ghost.danger:focus-visible{background:#fff2f0;border-color:#893c3c}
#caseContent li [data-repair],#caseContent li [data-retry]{display:block;margin:.55rem 0 .25rem}
@media(max-width:640px){.release-verification{padding:1rem}.person-row .row-actions .ghost.danger{min-height:40px}}

/* Coherent actions and release rules across first run, family and operations. */
.setup-added .person-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px 12px}
.setup-added [data-pinvite]{font-weight:800;color:#175c42}
#setupActionError{flex-basis:100%;width:100%;margin:8px 0 0}
.admin-rule-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.admin-rule-steps>div{padding:18px;border:1px solid #d8e6dd;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(18,58,39,.04)}
.admin-rule-steps strong{display:block;color:#174d36;font-size:13px;letter-spacing:.04em;margin-bottom:8px}
.admin-rule-steps span{display:block;color:#42544a;font-size:14px;line-height:1.55}
.admin-rule-boundary{margin:0;padding:12px 16px;border-left:3px solid #b98d51;color:#3d5145;background:#fbf8f1;border-radius:0 9px 9px 0}
@media(max-width:760px){.admin-rule-steps{grid-template-columns:1fr}.setup-added .person-actions{justify-content:flex-start}}
.setup-added .person-actions button{min-height:44px}
.release-verification .primary{min-height:46px}
@media(prefers-reduced-motion:reduce){.release-verification *,.admin-rule-steps *{scroll-behavior:auto;transition:none!important}}

/* A clear single action for notifier setup, with a quiet defer option. */
.person-save-choice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.person-save-choice .person-invite-explanation{flex-basis:100%;margin:0;color:#425b4b;font-size:14px;line-height:1.5}
.person-save-choice .text-link{min-height:44px;padding:8px 12px}
.person-modal-actions{align-items:center;gap:10px;flex-wrap:wrap}
.person-modal-actions .ghost{min-height:44px}
.person-modal-actions #personSaveOnly,.person-modal-actions #personEditSaveOnly{border-color:#d9e7dc;background:#f8fbf8;color:#28513b}
.person-edit-form .person-invite-explanation{margin:12px 0 0;padding:12px 14px;border-radius:10px;background:#f1f7f2;color:#315440;font-size:14px;line-height:1.5}
.setup-added .person-role-state{display:block;color:#426653;font-weight:650;margin-top:4px}
@media(max-width:600px){.person-modal-actions{display:grid;grid-template-columns:1fr 1fr}.person-modal-actions .primary{grid-column:1/-1;grid-row:1}.person-modal-actions .ghost{width:100%}.person-save-choice .primary{width:100%}}

/* Notifier return: one clear action for each appointment. */
.notifier-return{max-width:680px;margin:auto}.notifier-return-form{display:grid;gap:14px;margin:26px 0 12px}.notifier-return-form .primary{justify-self:start;min-width:190px}.notifier-return-help{margin-top:30px;padding:18px 20px;border-radius:14px;background:#edf5ee;color:#294737}.notifier-return-help p{margin:6px 0 0;line-height:1.5}.notifier-appointment{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #dbe5dd;border-radius:16px;padding:20px;margin:13px 0;background:#fff}.notifier-appointment b,.notifier-appointment span{display:block}.notifier-appointment span{margin-top:5px;color:#53665a;font-size:14px}.notifier-appointment button{white-space:nowrap}.notifier-accepted-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.notifier-accepted-actions a{display:inline-flex;align-items:center;text-decoration:none}.case-dialog{border:1px solid #dae4dd;border-radius:20px;width:min(92vw,520px);padding:30px;box-shadow:0 22px 80px #10251a35;color:#18372b}.case-dialog::backdrop{background:#10251a90}.case-dialog h2{margin-top:0}.case-dialog .case-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.case-dialog textarea{width:100%}@media(max-width:600px){.notifier-appointment{align-items:stretch;flex-direction:column}.notifier-appointment button{width:100%}.case-dialog .case-actions{flex-direction:column-reverse}.case-dialog .case-actions button{width:100%}}

.member-story-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.member-report-link{color:#f4e5b0!important;font-weight:700;text-decoration:underline;text-underline-offset:4px}.member-report-link:focus-visible{outline:3px solid #f4e5b0;outline-offset:5px;border-radius:3px}

.notifier-appointment{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.notifier-appointment-copy{grid-row:span 2}.notifier-appointment .notifier-card-save{justify-self:end;color:#176b47;font-weight:700}.staging-card-warning{padding:12px 16px;border-radius:10px;background:#fff1d4;color:#694c0c;font-size:14px;line-height:1.45}@media(max-width:600px){.notifier-appointment{grid-template-columns:1fr}.notifier-appointment-copy{grid-row:auto}.notifier-appointment .notifier-card-save{justify-self:start}}

/* Notification Circle: compact task screens, natural document scrolling. */
.notifier-shell,.invite-shell{width:100%;max-width:680px;margin:32px auto;padding:0 20px;box-sizing:border-box}
.notifier-panel,.invite-panel{padding:28px 32px;border-radius:20px}
.notifier-panel h1,.invite-panel h1{font-size:32px;line-height:1.16;margin:8px 0 12px}
.notifier-logo,.invite-panel>img{height:48px!important;margin:0 0 12px}
.notifier-panel #copy,.invite-panel #copy{font-size:16px;line-height:1.5;margin:0 0 20px}
.notifier-return-form{margin:16px 0 0;gap:12px}
.notifier-return-form[hidden]{display:none}
.notifier-return-form p{font-size:14px;line-height:1.5;margin:0 0 6px}
.notifier-return-form input{min-height:48px;font-size:17px}
.notifier-return-form .primary,.notifier-person-actions .primary{min-height:46px;font-size:15px}
.notifier-return-form .text-link{justify-self:start;font-size:14px;padding:6px 0}
.notifier-appointment{padding:18px;margin:12px 0;gap:16px}
.notifier-appointment-copy{grid-row:auto}
.notifier-appointment-copy b{font-size:20px}
.notifier-status{color:#146b4b!important;font-weight:700}
.notifier-person-actions{display:grid;gap:8px;justify-items:end}
.notifier-person-actions .text-link{font-size:13px;padding:4px 0}
.invite-story p{font-size:16px;line-height:1.55;margin:14px 0}
.invite-role-card{padding:18px;margin:20px 0}
.invite-role-card h2{font-size:20px;line-height:1.35;margin:0 0 10px}
.invite-role-card p{font-size:14px;line-height:1.5;margin:0}
.invite-own-plan{border-top:1px solid #dbe5dd;padding-top:18px;margin-top:24px;font-size:14px}
.invite-own-plan b,.invite-own-plan a{display:block;margin:8px 0}
.case-dialog{box-sizing:border-box;max-height:90dvh;overflow:auto}
.case-dialog h2{font-size:24px;line-height:1.25}
@media(max-width:600px){.notifier-shell,.invite-shell{margin:16px auto;padding:0 12px}.notifier-panel,.invite-panel{padding:24px 20px}.notifier-panel h1,.invite-panel h1{font-size:28px}.notifier-person-actions{justify-items:stretch}.notifier-person-actions .notifier-card-save{justify-self:start}.notifier-appointment{grid-template-columns:1fr}}

/* Clear tasks and roles, without competing explanations. */
.edit-role-choices label>span{display:grid;grid-template-columns:22px 1fr;gap:5px 10px;align-items:center}
.edit-role-choices i{grid-row:span 2}.edit-role-choices label small{grid-column:2;font-size:13px;font-weight:400;line-height:1.45;color:#52695b}
.invite-own-plan a{color:#176b47;font-weight:700;text-decoration:none}.invite-own-plan a:hover{text-decoration:underline}
.invite-own-plan a:focus-visible{outline:3px solid #176b47;outline-offset:4px}
.recipient-picker{border:1px solid #dce5df;border-radius:14px;padding:16px}.recipient-picker legend{font-weight:750;padding:0 6px}
.recipient-picker .check-field small{display:block;font-size:12px;color:#64756c}
.letter-new-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.letter-new-fields .field:last-child{grid-column:1/-1}
.recipient-picker summary{cursor:pointer;color:#176b47;font-weight:700;padding:10px 0}
.person-duplicate-note{background:#fff6df;border-radius:12px;padding:14px;font-size:14px;color:#654b19}
[data-iwait]:disabled{cursor:default;opacity:.7}
@media(max-width:600px){.letter-new-fields{grid-template-columns:1fr}.letter-new-fields .field:last-child{grid-column:auto}}

/* Recovery actions stay readable on small screens and with long names. */
.letter-delivery-status{display:inline-block;margin:12px 0 0;padding:6px 10px;border-radius:8px;background:#edf5ef;color:#205c3d;font-size:13px;font-weight:700}
.letter-delivery-status.needs-attention{background:#fff5dc;color:#654b19}
.letter-email-note{font-size:14px!important;line-height:1.5;overflow-wrap:anywhere}
.person-row.master>div,.letter-card,.notifier-person-card{min-width:0;overflow-wrap:anywhere}
.person-row.master small{overflow-wrap:anywhere}
.row-actions button:focus-visible,.recipient-picker summary:focus-visible{outline:3px solid #176b47;outline-offset:3px}
@media(max-width:600px){.person-row.master .row-actions{display:flex;flex-wrap:wrap;gap:8px}.row-actions button,.person-actions button{min-height:44px}.letter-card{padding:20px}.person-modal-actions{flex-wrap:wrap}.person-modal-actions button{flex:1;min-height:46px}.recipient-picker .check-field{align-items:flex-start}.recipient-picker .check-field input{flex-shrink:0}}

/* Role cards: two choices, wrapping descriptions and a stable checkbox column. */
.person-edit-form .edit-role-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.person-edit-form .edit-role-choices label{position:relative}
.person-edit-form .edit-role-choices label>span{display:block;position:relative;box-sizing:border-box;height:100%;min-height:94px;padding:14px 14px 14px 46px;white-space:normal;text-align:left;overflow-wrap:anywhere;line-height:1.35}
.person-edit-form .edit-role-choices label>span i{position:absolute;left:13px;top:14px;box-sizing:border-box}
.person-edit-form .edit-role-choices label small{display:block;grid-column:auto;margin-top:6px;white-space:normal;line-height:1.45}
@media(max-width:600px){.person-edit-form .edit-role-choices{grid-template-columns:1fr}}

/* Guided topics stay bounded, including user-resized notes and repeated entries. */
#sectionForm,.guide-layout>*{min-width:0}
#sectionForm input,#sectionForm select,#sectionForm textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
#sectionForm textarea{resize:vertical;min-height:90px;max-height:300px;overflow:auto}
.guide-direction,.guide-role-reference{font-size:15px;line-height:1.55;color:#52695b}
.guide-role-reference{padding:14px 16px;background:#f2f6f1;border-radius:12px}
.guide-topic{border:1px solid #dce5df;border-radius:16px;margin:16px 0;background:#fff;overflow:hidden}
.guide-topic>summary{padding:18px 20px;display:flex;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;font-weight:750;color:#173f30;font-size:18px}
.guide-topic>summary:before{content:'+'}.guide-topic[open]>summary:before{content:'−'}
.guide-topic>summary>span{flex:1}.guide-topic>summary small{font-size:12px;font-weight:500;color:#52695b;align-self:center}
.guide-topic-fields{padding:0 20px 20px;display:grid;gap:20px}
.guide-topic-fields>[hidden]{display:none!important}
.guide-choice,.guide-collection{min-width:0;border:0;padding:0;margin:0}
.guide-choice legend,.guide-collection legend{font-weight:750;font-size:16px;margin-bottom:10px;line-height:1.4}
.guide-help{display:block;color:#52695b;font-size:13px;line-height:1.5;margin:0 0 12px}
.guide-choice-options{display:flex;flex-wrap:wrap;gap:8px}
.guide-choice-options label{position:relative;cursor:pointer;max-width:100%}
#sectionForm .guide-choice-options input{position:absolute;width:1px;height:1px;opacity:0}
.guide-choice-options span{display:block;padding:12px 16px;min-height:44px;box-sizing:border-box;border:1px solid #bdcfc3;border-radius:10px;color:#294e3b;font-size:14px;line-height:1.4}
.guide-choice-options input:checked+span{background:#edf7ef;border-color:#176b47;color:#15482d;box-shadow:inset 0 0 0 1px #176b47}
.guide-choice-options input:focus-visible+span,.guide-topic summary:focus-visible,.guide-notes summary:focus-visible{outline:3px solid #176b47;outline-offset:3px}
.guide-entry{background:#f7f9f5;border:1px solid #dce5df;border-radius:12px;padding:16px;margin-bottom:12px}
.guide-entry-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.guide-entry-head b{font-size:13px;color:#52695b}
.guide-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.guide-entry-grid .field{margin:0;min-width:0}
.guide-notes{margin-top:14px}.guide-notes summary{font-size:14px;color:#176b47;cursor:pointer;padding:8px 0}.guide-notes .field{margin-top:10px}
.guide-retained-note{border-left:3px solid #af852c;background:#fff7e5;padding:12px;font-size:13px;line-height:1.45;color:#654b19}
.release-topic{margin:26px 0}.release-review-note{display:block;color:#735618;margin-top:5px}
.release-item p{overflow-wrap:anywhere;white-space:normal}
@media(max-width:600px){.guide-topic>summary{padding:16px;font-size:17px;flex-wrap:wrap}.guide-topic>summary small{margin-left:24px}.guide-topic-fields{padding:0 16px 16px}.guide-entry-grid{grid-template-columns:1fr}.guide-choice-options label{flex:1 1 auto}.guide-choice-options span{text-align:center}.guide-entry-head button,.guide-add-entry{min-height:44px}}
.guide-review-list{padding:18px;border:1px solid #dce5df;border-radius:14px;margin-bottom:20px;background:#f6f8f3}.guide-review-list h3{margin-top:0}.guide-review-list p{font-size:14px;color:#52695b}.guide-review-list ul{list-style:none;padding:0;margin:0}.guide-review-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #dce5df}.guide-review-list small{display:block;font-size:13px;line-height:1.4;color:#52695b;margin-top:4px}.guide-review-list button{flex-shrink:0;min-height:44px}

/* Guided Plan v26.6.58: adjacent checks and calm topic layouts. */
#sectionForm .check-field{display:flex!important;justify-content:flex-start!important;align-items:flex-start;gap:12px;padding:16px;min-height:0}
#sectionForm .check-field input{width:20px!important;height:20px!important;flex:0 0 20px;margin:3px 0 0}
#sectionForm .check-field span{flex:1;text-align:left;margin:0;line-height:1.5}
#sectionForm h3:focus{outline:none}#sectionForm h3{scroll-margin-top:24px}
.guide-document-index ul{list-style:none;padding:0}.guide-document-index li{display:flex;flex-wrap:wrap;gap:8px 20px;padding:12px 0;border-bottom:1px solid #dce7df}.guide-document-index li span{overflow-wrap:anywhere}
.legacy-welcome{padding:20px;background:#edf6ef;border-radius:16px;margin:18px 0}.legacy-welcome h3{margin-top:0}.legacy-welcome p{max-width:65ch}
.save-row{flex-wrap:wrap;gap:12px}.save-row [hidden]{display:none!important}

.digital-access-guide{border:1px solid #d6e5da;background:#f4f8f5;padding:20px;border-radius:16px;margin-bottom:20px}.digital-access-guide a{color:#075d45;text-decoration:underline}.digital-access-guide li{margin:12px 0}.doc-notes{white-space:pre-wrap;overflow-wrap:anywhere}
/* A compact readiness summary, followed by clear navigation. */
.portal-body .today-head b{font-size:26px;line-height:1.2}.portal-body .today-grid{gap:8px}.portal-body .today-grid button{min-height:0;padding:12px;border:0;background:transparent;border-radius:10px}.portal-body .today-grid button:hover{background:#edf5ef}.portal-body .today-grid button:focus-visible{outline:3px solid #12795c;outline-offset:2px}.portal-body .family-preview-prompt{padding:18px 20px}.portal-body .family-preview-prompt strong{font-size:26px;line-height:1.2}
@media(max-width:600px){.portal-body .today-grid{grid-template-columns:1fr 1fr}.portal-body .today-head b,.portal-body .family-preview-prompt strong{font-size:22px}.portal-body .today-grid button{padding:10px 4px}.portal-body .today-grid small{font-size:12px}}
/* Family media: quiet cards, clear destinations and native accessible playback. */
.family-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px;margin:20px 0}.family-media-card{background:#f5f9f6;border:1px solid #dce8df;border-radius:16px;padding:18px;min-width:0}.family-media-card h4{margin:10px 0;font-size:19px;overflow-wrap:anywhere}.family-media-card p{white-space:pre-wrap;overflow-wrap:anywhere}.family-media-card small{display:block;color:#52695b;line-height:1.5}.family-media-card .row-actions{margin-top:16px;flex-wrap:wrap}.family-photo-preview{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;border-radius:12px}.family-audio{width:100%;max-width:100%;margin:16px 0}.legacy-photo-section,.shared-document-section{padding:22px;border:1px solid #dce8df;background:white;border-radius:18px;margin:24px 0}.voice-studio{padding:22px;background:#edf6ef;border-radius:18px}.voice-studio [hidden]{display:none!important}.voice-studio .row-actions{flex-wrap:wrap}.media-scope-note{padding:14px;background:#edf6ef;border-radius:12px;line-height:1.5}.account-email-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#edf6ef;padding:20px;border-radius:16px;margin:20px 0}.account-email-panel p{overflow-wrap:anywhere}.release-media-view{margin-top:14px}.family-media-card .eyebrow{font-size:11px}
@media(max-width:600px){.family-media-grid{grid-template-columns:1fr}.account-email-panel{align-items:flex-start;flex-direction:column}.voice-studio{padding:16px}.family-media-card .row-actions button{flex:1;min-height:44px}}
.family-photo-thumb{width:100%;height:160px;object-fit:cover;border-radius:10px;margin:12px 0}.media-kind-mark{font-size:30px;color:#13775a;margin:12px 0}.letter-card .family-media-grid{grid-template-columns:1fr}.letter-card .family-media-card{background:white;padding:14px}
.portal-body .modal-form .check-field{justify-content:flex-start;align-items:flex-start;gap:12px}.portal-body .modal-form .check-field input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin-top:3px}.portal-body .modal-form .check-field span{flex:1;text-align:left}
.portal-body .voice-record-action{background:#0c654c;color:white;border-color:#0c654c}.portal-body .voice-record-action:disabled{opacity:.55}
.voice-clock{font-size:32px;font-variant-numeric:tabular-nums;font-weight:700;color:#075a42;letter-spacing:.02em}


/* v26.6.63 UX completion: discoverable preservation tools and stable cross-browser navigation. */
#workspace{scroll-margin-top:12px}.workspace-back{position:sticky;top:0;z-index:12;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.preserve-hub{margin:28px 0;padding:28px;border:1px solid #d8e5dc;border-radius:22px;background:linear-gradient(135deg,#f7faf7 0%,#eef6f0 100%);box-shadow:0 14px 40px rgba(18,74,53,.06)}
.preserve-hub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.preserve-hub-head h2{margin:6px 0 8px;font-size:clamp(24px,3vw,34px);line-height:1.12}.preserve-hub-head p{max-width:720px;margin:0;color:#52695b;line-height:1.6}.preserve-lock{flex:0 0 auto;border:1px solid #bed3c4;background:#fff;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:750;color:#285c45}
.preserve-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}.preserve-actions button{appearance:none;-webkit-appearance:none;text-align:left;border:1px solid #d7e3da;background:#fff;border-radius:16px;padding:20px;min-height:170px;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.preserve-actions button:hover{transform:translateY(-2px);border-color:#9fc1aa;box-shadow:0 12px 24px rgba(18,74,53,.08)}.preserve-actions button:focus-visible{outline:3px solid #12795c;outline-offset:3px}.preserve-icon{font-size:28px;line-height:1;color:#0f7254;margin-bottom:18px}.preserve-actions b{font-size:18px;color:#183f30}.preserve-actions small{margin-top:7px;color:#60776a;line-height:1.45}.preserve-actions em{margin-top:auto;padding-top:18px;color:#0c674d;font-style:normal;font-weight:750;font-size:13px}
#sectionSaveStatus{display:inline-flex;align-items:center;min-height:28px;font-weight:650;color:#52695b}.shared-document-section>.primary,.legacy-photo-section>.primary{margin-top:8px}.account-email-panel small{display:block;color:#52695b;margin-top:4px}.guide-layout{align-items:start}.section-tabs{position:sticky;top:76px;max-height:calc(100vh - 96px);overflow:auto}
@media(max-width:850px){.preserve-actions{grid-template-columns:1fr}.preserve-actions button{min-height:0}.preserve-hub-head{flex-direction:column}.section-tabs{position:static;max-height:none;display:flex;overflow-x:auto;scrollbar-width:none;gap:8px;padding-bottom:8px}.section-tabs::-webkit-scrollbar{display:none}.section-tab{flex:0 0 auto;min-width:150px}}
@media(max-width:600px){.preserve-hub{padding:20px;margin:20px 0;border-radius:18px}.preserve-lock{font-size:11px}.preserve-actions button{padding:18px}.workspace-back{top:0}.save-row .primary{width:100%}}
@media(prefers-reduced-motion:reduce){.preserve-actions button{transition:none}}

/* v26.6.63 final navigation polish */
.portal-body .portal-nav{scrollbar-width:none}
.portal-body .portal-nav::-webkit-scrollbar{display:none}
.portal-body .portal-nav .nav-pill[data-view="security"]{white-space:nowrap}
@media(max-width:620px){.portal-body header{align-items:flex-start}.portal-body .portal-nav{overscroll-behavior-x:contain;scroll-snap-type:x proximity}.portal-body .portal-nav button{scroll-snap-align:start}.portal-body .portal-nav .nav-pill{min-height:44px}}

/* v26.6.63 completion pass: unmistakable primary actions, quiet hierarchy, responsive by default. */
.feature-launcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 28px}.feature-launcher.message-launcher{grid-template-columns:repeat(4,minmax(0,1fr))}.feature-action{appearance:none;-webkit-appearance:none;border:1px solid #d5e3d9;background:#fff;border-radius:18px;padding:20px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;min-height:190px;cursor:pointer;box-shadow:0 8px 24px rgba(24,68,50,.04);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease;color:#173f30}.feature-action:hover{transform:translateY(-2px);border-color:#98bba3;box-shadow:0 14px 30px rgba(24,68,50,.08)}.feature-action:focus-visible{outline:3px solid #12795c;outline-offset:3px}.feature-action.primary-action{background:linear-gradient(145deg,#0e7657,#0b6249);border-color:#0e7657;color:#fff}.feature-action.primary-action b,.feature-action.primary-action small,.feature-action.primary-action em,.feature-action.primary-action .feature-action-icon{color:#fff}.feature-action-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#edf6f0;color:#0d6d50;font-size:22px;font-weight:800;margin-bottom:18px}.feature-action.primary-action .feature-action-icon{background:rgba(255,255,255,.14)}.feature-action b{font-size:17px;line-height:1.25}.feature-action small{display:block;margin-top:8px;color:#60756a;line-height:1.5}.feature-action em{margin-top:auto;padding-top:20px;font-style:normal;color:#0b684d;font-size:13px;font-weight:800}.section-heading-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:28px 0 14px}.section-heading-row h3{margin:4px 0 0;color:#173f30}.section-heading-row p:not(.eyebrow){margin:8px 0 0;color:#5c7065;max-width:760px;line-height:1.55}.document-workbench{margin-top:8px}.messages-heading{margin-top:34px}.empty-state.generous{padding:32px}.message-mode-switch{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#edf6f0;border:1px solid #d9e7dd;border-radius:14px;padding:14px 16px;margin:16px 0 20px}.message-mode-switch span{font-weight:700;color:#315d49}.legacy-studio{background:linear-gradient(145deg,#fbfdfb,#f3f8f4)}.legacy-actions{margin-bottom:20px}.account-email-panel{border:1px solid #d8e6dc;background:linear-gradient(145deg,#f7fbf8,#edf6f0);box-shadow:0 10px 28px rgba(24,68,50,.05)}
@media(max-width:1050px){.feature-launcher.message-launcher{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.feature-launcher{grid-template-columns:1fr}.feature-launcher.message-launcher{grid-template-columns:1fr}.feature-action{min-height:0}.section-heading-row{flex-direction:column}.section-heading-row>button{width:100%}}
@media(max-width:600px){.feature-action{padding:18px;border-radius:16px}.message-mode-switch{align-items:stretch;flex-direction:column}.message-mode-switch button{width:100%}.portal-nav{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}.portal-nav::-webkit-scrollbar{display:none}.portal-nav>*{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){.feature-action{transition:none}.feature-action:hover{transform:none}}
/* v26.6.71 experience refinement */
.portal-body .modal{background:rgba(5,21,15,.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:1000}
.portal-body .modalbox{background:#fff;box-shadow:0 30px 100px rgba(0,0,0,.34);border:1px solid rgba(255,255,255,.85)}
.simple-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 34px}.simple-action{border:1px solid #d7e4da;background:#fff;border-radius:18px;padding:20px;display:flex;align-items:flex-start;gap:14px;text-align:left;color:#173f30;min-height:116px;box-shadow:0 8px 28px rgba(17,61,45,.045);transition:.16s ease}.simple-action:hover{transform:translateY(-2px);border-color:#9bbda5;box-shadow:0 14px 34px rgba(17,61,45,.08)}.simple-action>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#edf6f0;color:#0d6d50;font-size:21px;font-weight:850}.simple-action b{display:block;font-size:17px;line-height:1.3}.simple-action small{display:block;color:#62756b;line-height:1.45;margin-top:5px}.simple-action.primary-action{background:#0b6b4f;color:#fff;border-color:#0b6b4f}.simple-action.primary-action>span{background:rgba(255,255,255,.14);color:#fff}.simple-action.primary-action small{color:#e8f4ee}
.content-section{margin:28px 0}.memory-section{border-top:1px solid #e2e9e5;padding-top:10px}.legacy-bridge{display:flex;align-items:center;justify-content:space-between;gap:24px}.legacy-bridge h3{max-width:760px;margin:5px 0 8px}.legacy-bridge p{max-width:800px;color:#61736a;line-height:1.55;margin:0}
.account-head{margin-bottom:12px}.account-settings{display:grid;gap:12px;max-width:900px}.account-setting{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #dde7e1;background:#fff;border-radius:18px;padding:22px 24px}.account-setting>div{min-width:0}.account-setting span{font-size:10px;letter-spacing:.14em;font-weight:850;color:#0b6b4f}.account-setting h3{margin:5px 0 4px;font-size:20px;overflow-wrap:anywhere}.account-setting p{margin:0;color:#62746b;line-height:1.5;max-width:650px}.account-link{text-decoration:none;white-space:nowrap}.account-activity{max-width:900px;margin-top:22px;border-top:1px solid #e1e8e4;padding-top:16px}.account-activity summary{cursor:pointer;color:#0b6b4f;font-weight:800}
.review-shell{max-width:850px;margin:0 auto;padding:32px 0 48px}.review-shell h2{font-family:Georgia,'Iowan Old Style',serif;font-weight:500;letter-spacing:-.035em;font-size:clamp(34px,5vw,50px);margin:4px 0 12px;color:#17372b}.review-lead{font-size:17px;line-height:1.6;color:#5f7268;max-width:690px}.review-list{display:grid;gap:10px;margin:30px 0}.review-list button{display:grid;grid-template-columns:42px 1fr auto;gap:15px;align-items:center;width:100%;border:1px solid #dce6e0;background:#fff;border-radius:15px;padding:17px 18px;text-align:left;color:#173f30}.review-list button:hover{border-color:#9bbda6;background:#f8fbf9}.review-list button>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf5ef;color:#0d6b4e;font-size:10px;font-weight:900}.review-list b,.review-list small{display:block}.review-list small{color:#687a71;margin-top:3px}.review-list em{font-style:normal;font-size:12px;font-weight:850;color:#0b6b4f}.review-confirm{display:flex;align-items:flex-start;gap:12px;background:#edf6ef;border-radius:14px;padding:17px 18px;margin-top:25px}.review-confirm input{width:20px;height:20px;flex:0 0 20px;margin-top:1px}.review-finish{margin-top:16px;min-height:50px}.review-note{color:#718078;font-size:12px;line-height:1.5;max-width:650px}
.portal-body .portal-nav{gap:6px}.portal-body .portal-nav .nav-pill{padding-inline:11px}
@media(max-width:900px){.simple-actions{grid-template-columns:1fr}.simple-action{min-height:0}.legacy-bridge,.account-setting{align-items:flex-start;flex-direction:column}.account-setting button,.account-setting .account-link{align-self:flex-start}}
@media(max-width:620px){.simple-action{padding:17px}.review-shell{padding-top:14px}.review-list button{grid-template-columns:38px 1fr}.review-list em{display:none}.portal-body .portal-nav{padding-bottom:4px}.legacy-photo-section{padding:17px}.account-setting{padding:18px}}


/* v26.6.71 experience layer: aha, completion, notifier understanding, polished empty states. */
.core-complete{margin:26px 0 30px;padding:28px 30px;border:1px solid #b8d5c2;border-radius:24px;background:linear-gradient(135deg,#0f664d,#174e3f);color:#fff;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;box-shadow:0 18px 50px rgba(19,72,53,.12)}
.core-complete[hidden]{display:none}.core-complete-mark{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#f4e6a7;color:#164d3c;font-size:27px;font-weight:900}.core-complete .eyebrow{color:#d8eadf;margin:0 0 5px}.core-complete h2{color:#fff;margin:0;font-size:clamp(25px,3vw,36px)}.core-complete p{margin:8px 0 0;color:#e5f0e9;line-height:1.55;max-width:850px}.core-complete .ghost{background:#fff;color:#0f644b;border-color:#fff;white-space:nowrap}
.first-run-outcome b{display:block;margin:7px 0 5px;color:#173f30;font-size:18px}
.empty-state-polished{display:grid;justify-items:start;gap:6px;padding:28px!important;background:linear-gradient(145deg,#fbfdfb,#f1f7f3)!important;border:1px dashed #b8d3c1!important;border-radius:18px!important;color:#183f30}.empty-state-polished .empty-symbol{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e4f1e8;color:#0b6a4d;font-weight:900;font-size:19px;margin-bottom:4px}.empty-state-polished b{font-size:18px}.empty-state-polished span:not(.empty-symbol){color:#607268;line-height:1.5;max-width:720px}.compact-empty{margin:12px 0;padding:20px!important}.compact-empty .empty-symbol{width:32px;height:32px}
.notifier-shell{max-width:940px}.notifier-panel{padding:34px 38px}.notifier-welcome{margin:8px 0 30px;padding:28px;border-radius:22px;background:linear-gradient(145deg,#0d6048,#174b3d);color:#fff}.notifier-welcome .eyebrow{color:#d9eee1;margin:0 0 8px}.notifier-welcome h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,4vw,46px);line-height:1.05;color:#fff;margin:0;max-width:760px}.notifier-welcome-lead{font-size:17px;line-height:1.55;color:#e2eee7;max-width:760px;margin:16px 0 22px}.notifier-why{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid rgba(255,255,255,.18);border-radius:16px;overflow:hidden}.notifier-why article{padding:20px}.notifier-why article+article{border-left:1px solid rgba(255,255,255,.18)}.notifier-why span{display:block;color:#f1d977;font-weight:900;font-size:13px;letter-spacing:.08em;margin-bottom:7px}.notifier-why b{display:block;color:#fff;font-size:16px}.notifier-why p{margin:6px 0 0;color:#dfece4;font-size:14px;line-height:1.5}.notifier-purpose{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.16)}.notifier-purpose span{display:block;font-size:11px;font-weight:900;letter-spacing:.15em;color:#cfe5d6}.notifier-purpose b{display:block;margin-top:5px;color:#fff;font-size:17px}.notifier-access{max-width:620px}.notifier-access h1{margin-top:5px}.notifier-after-report{margin-top:18px;padding:24px;border-radius:18px;background:linear-gradient(145deg,#eef7f1,#f9fcfa);border:1px solid #cfe1d4}.notifier-after-report>b{display:block;font-family:Georgia,'Times New Roman',serif;font-size:26px;color:#173f30;margin:6px 0}.notifier-after-report p{color:#5e7066;line-height:1.5}.notifier-learn-more{display:inline-flex;margin-top:8px;text-decoration:none}
@media(max-width:760px){.core-complete{grid-template-columns:1fr;padding:24px}.core-complete .ghost{white-space:normal;width:100%}.notifier-panel{padding:24px 20px}.notifier-welcome{padding:24px 20px}.notifier-why{grid-template-columns:1fr}.notifier-why article+article{border-left:0;border-top:1px solid rgba(255,255,255,.18)}}

.notifier-access{margin-top:26px;padding:24px;border:1px solid #d7e4da;border-radius:18px;background:#fbfdfb}.notifier-access .eyebrow{margin-bottom:7px}


/* v26.6.71 — report-a-death focus */
.notifier-welcome-simple{padding:clamp(28px,5vw,48px)!important;background:linear-gradient(150deg,#0b684f,#0a5743)!important;border-radius:28px!important}
.notifier-welcome-simple h2{font-size:clamp(42px,6vw,68px)!important;max-width:760px!important;margin:8px 0 18px!important}
.notifier-welcome-simple .notifier-welcome-lead{max-width:720px!important;font-size:clamp(17px,2vw,21px)!important}
.notifier-report-rule{margin-top:28px;padding-top:22px;border-top:1px solid rgba(255,255,255,.22);display:flex;flex-direction:column;gap:5px;max-width:760px}
.notifier-report-rule b{font-size:16px;color:#fff}.notifier-report-rule span{font-size:14px;line-height:1.55;color:rgba(255,255,255,.82)}
.notifier-access-simple{padding-top:34px!important}.notifier-access-simple h1{font-size:clamp(34px,5vw,52px)!important;margin-bottom:8px!important}
