
/* RFC platform look. Generated from packages/brand/brand.js. */
.rfc{
  --rfc-navy:#001d4a;
  --rfc-ink:#0f1b2d;
  --rfc-muted:#56627a;
  --rfc-line:#d7dde8;
  --rfc-field:#8b96ab;
  --rfc-bg:#eef1f6;
  --rfc-surface:#fff;
  --rfc-on-shade:#fff;
  --rfc-on-shade-muted:#ffffffbf;
  --rfc-focus:#fcba04;
  --rfc-danger:#a32020;
  --rfc-danger-bg:#fcefee;
  --rfc-radius:12px;
  --rfc-radius-lg:22px;
  --rfc-shadow:0 24px 64px #0a1f4518;
  --rfc-font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --rfc-shade:var(--rfc-navy);
}
.rfc,.rfc [data-portal]{
  --rfc-shade-glow:color-mix(in srgb,var(--rfc-shade) 72%,#fff);
  --rfc-shade-tint:color-mix(in srgb,var(--rfc-shade) 9%,#fff);
  --rfc-shade-hover:color-mix(in srgb,var(--rfc-shade) 85%,#000);
}
.rfc[data-portal=notes],.rfc [data-portal=notes]{--rfc-shade:#001d4a} /* Navy */
.rfc[data-portal=media],.rfc [data-portal=media]{--rfc-shade:#0f4a3c} /* Evergreen */
.rfc[data-portal=events],.rfc [data-portal=events]{--rfc-shade:#8f3418} /* Sienna */
.rfc[data-portal=propresenter],.rfc [data-portal=propresenter]{--rfc-shade:#4a2763} /* Plum */
.rfc[data-portal=directory],.rfc [data-portal=directory]{--rfc-shade:#005a7a} /* Steel */
.rfc[data-portal=partwise],.rfc [data-portal=partwise]{--rfc-shade:#1f3f8f} /* Royal */
.rfc[data-portal=website],.rfc [data-portal=website]{--rfc-shade:#2f3a4c} /* Slate */
.rfc[data-portal=prayer],.rfc [data-portal=prayer]{--rfc-shade:#8a1424} /* Crimson */
.rfc[data-portal=moss],.rfc [data-portal=moss]{--rfc-shade:#3b5323} /* Moss */
.rfc[data-portal=ochre],.rfc [data-portal=ochre]{--rfc-shade:#7a5200} /* Ochre */

/* Brand panel: the shade, a soft glow and concentric rings */
.rfc-brand-panel{position:relative;isolation:isolate;overflow:hidden;color:var(--rfc-on-shade);
  background:radial-gradient(ellipse at 100% 0%,var(--rfc-shade-glow) 0%,transparent 62%),var(--rfc-shade)}
.rfc-brand-panel::after{content:"";position:absolute;z-index:-1;width:30rem;aspect-ratio:1;border-radius:50%;
  right:-15rem;bottom:-13rem;pointer-events:none;background:repeating-radial-gradient(circle,#ffffff2a 0 1px,transparent 1px 1.5rem)}
.rfc-mark{display:block;width:3.25rem;height:auto;flex:none}
.rfc-church-name{margin:0;font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--rfc-on-shade-muted)}
.rfc-portal-name{margin:0;font-size:clamp(2.5rem,4vw,3.5rem);font-weight:750;line-height:1;letter-spacing:-.055em;color:#fff}

/* Buttons */
.rfc-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:46px;padding:0 1.15rem;margin:0;
  border-radius:var(--rfc-radius);border:1px solid var(--rfc-shade);background:var(--rfc-shade);color:#fff;
  font:inherit;font-weight:650;line-height:1.2;text-decoration:none;cursor:pointer;width:auto}
.rfc-btn:hover{background:var(--rfc-shade-hover);border-color:var(--rfc-shade-hover);color:#fff}
.rfc-btn.quiet{background:#fff;color:var(--rfc-shade);border-color:var(--rfc-field)}
.rfc-btn.quiet:hover{background:var(--rfc-shade-tint);color:var(--rfc-shade)}
.rfc-btn.danger{background:#fff;color:var(--rfc-danger);border-color:var(--rfc-danger)}
.rfc-btn.danger:hover{background:var(--rfc-danger-bg)}
.rfc-btn.small{min-height:38px;padding:0 .85rem;font-size:.875rem}
.rfc-btn.block{width:100%}
.rfc-btn:disabled{opacity:.6;cursor:wait}
.rfc-btn svg{width:20px;height:20px;flex:none}

/* Fields */
.rfc-field{display:grid;gap:.42rem;align-content:start;min-width:0}
fieldset.rfc-field{margin:0;padding:0;border:0}
fieldset.rfc-field>legend{padding:0;margin-bottom:.42rem}
.rfc-label{display:block;margin:0;font-size:.875rem;font-weight:650;color:var(--rfc-ink)}
.rfc-label-note{font-weight:500;color:var(--rfc-muted)}
.rfc-input,.rfc-select,.rfc-textarea{display:block;width:100%;min-height:46px;margin:0;border:1px solid var(--rfc-field);border-radius:var(--rfc-radius);
  padding:.7rem .85rem;font:inherit;font-size:1rem;color:var(--rfc-ink);background:#fff}
.rfc-textarea{min-height:8rem;resize:vertical}
.rfc-select{appearance:none;-webkit-appearance:none;padding-right:2.4rem;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2356627a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .9rem center}
.rfc-input-shell{position:relative;display:block}
.rfc-input-shell>svg{position:absolute;left:.85rem;top:0;bottom:0;margin:auto 0;width:20px;height:20px;color:var(--rfc-muted);pointer-events:none}
.rfc-input-shell>.rfc-input{padding-left:2.65rem}
.rfc :focus-visible{outline:3px solid var(--rfc-focus);outline-offset:2px}

/* Sign-in page: the two-panel card */
.rfc-signin-page{margin:0;min-height:100svh;display:grid;place-items:center;padding:clamp(.75rem,3vw,2.5rem);background:#e4e9f2;font-family:var(--rfc-font);color:var(--rfc-ink);line-height:1.5}
.rfc-signin{display:grid;grid-template-columns:1fr minmax(0,1.2fr);width:min(100%,58rem);background:#fff;border:1px solid #cdd6e5;border-radius:1.65rem;overflow:hidden;box-shadow:var(--rfc-shadow)}
.rfc-signin>.rfc-brand-panel{display:flex;flex-direction:column;justify-content:space-between;gap:2rem;padding:clamp(1.75rem,4vw,3rem)}
.rfc-signin>.rfc-brand-panel .rfc-mark{width:3.5rem}
.rfc-brand-words{display:grid;gap:.6rem}
.rfc-signin-body{padding:clamp(1.75rem,4.5vw,3.25rem);display:grid;gap:1rem;align-content:center;min-width:0}
.rfc-signin-body h1{margin:0;font-size:clamp(2rem,4vw,2.6rem);font-weight:720;letter-spacing:-.05em;line-height:1.1;color:var(--rfc-ink)}
.rfc-intro{margin:-.4rem 0 0;color:var(--rfc-muted)}
.rfc-divider{display:flex;align-items:center;gap:.8rem;color:var(--rfc-muted);font-size:.875rem}
.rfc-divider::before,.rfc-divider::after{content:"";height:1px;flex:1;background:var(--rfc-line)}
.rfc-note{margin:0;color:var(--rfc-muted);font-size:.875rem;text-align:center}
.rfc-status:empty{display:none}
.rfc-status{margin:0;padding:.65rem .8rem;border-radius:.6rem;background:var(--rfc-shade-tint);overflow-wrap:anywhere}
.rfc-status.error{background:var(--rfc-danger-bg);color:var(--rfc-danger)}
@media (max-width:42rem){
  .rfc-signin{grid-template-columns:1fr;max-width:30rem}
  .rfc-signin>.rfc-brand-panel{flex-direction:row;align-items:center;justify-content:flex-start;gap:1rem;padding:1.25rem}
  .rfc-signin>.rfc-brand-panel .rfc-mark{width:2.6rem}
  .rfc-signin .rfc-brand-words{gap:.2rem}
  .rfc-signin .rfc-church-name{font-size:.68rem}
  .rfc-signin .rfc-portal-name{font-size:1.55rem;letter-spacing:-.04em}
  .rfc-signin-body{padding:1.5rem 1.25rem}
}

/* App shell: a shaded side menu on wide screens, a shaded bar on phones */
/* The side menu's color runs the full height of the page, however long it is: the shell paints the
   menu column, and the menu itself stays in view while the page scrolls. */
.rfc-shell{display:grid;grid-template-columns:15.5rem minmax(0,1fr);min-height:100svh;font-family:var(--rfc-font);color:var(--rfc-ink);background:linear-gradient(to right,var(--rfc-shade) 15.5rem,var(--rfc-bg) 15.5rem);line-height:1.5}
.rfc-rail{position:sticky;top:0;height:100svh;overflow:auto;display:flex;flex-direction:column;gap:2rem;padding:1.75rem 1rem}
.rfc-rail-brand{display:flex;align-items:center;gap:.75rem;padding:0 .5rem;min-height:44px;color:#fff;text-decoration:none}
.rfc-rail-brand:hover{color:#fff}
.rfc-rail-brand .rfc-mark{width:2.3rem}
.rfc-rail-brand>span{display:grid;line-height:1.15}
.rfc-rail-brand small{max-width:9rem;font-size:.6rem;letter-spacing:.06em;text-transform:uppercase;color:var(--rfc-on-shade-muted);font-weight:600}
.rfc-rail-brand strong{font-size:1.15rem;letter-spacing:-.03em}
.rfc-nav{display:grid;gap:.25rem}
.rfc-nav a{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:0 .75rem;border-radius:10px;color:#fff;text-decoration:none;font-weight:600}
.rfc-nav a svg{width:20px;height:20px;flex:none}
.rfc-nav a:hover{background:#ffffff17;color:#fff}
.rfc-nav a[aria-current=page]{background:#fff;color:var(--rfc-shade)}
.rfc-account{position:relative;margin-top:auto;padding:.75rem .5rem 0;border-top:1px solid #ffffff2b}
.rfc-account-button{display:inline-flex;list-style:none;cursor:pointer;border-radius:50%}
.rfc-account-button::-webkit-details-marker{display:none}
.rfc-account-button .rfc-avatar{width:2.5rem;height:2.5rem;background:#fff;color:var(--rfc-shade);font-size:.85rem}
.rfc-account-button:hover .rfc-avatar,.rfc-account[open] .rfc-account-button .rfc-avatar{box-shadow:0 0 0 3px #ffffff59}
.rfc-account-menu{position:absolute;left:.5rem;bottom:calc(100% + .35rem);z-index:20;display:grid;min-width:13rem;padding:.4rem;background:#fff;color:var(--rfc-ink);border:1px solid var(--rfc-line);border-radius:var(--rfc-radius);box-shadow:var(--rfc-shadow)}
.rfc-account-name{margin:0;padding:.5rem .65rem .55rem;font-weight:650;border-bottom:1px solid var(--rfc-line);margin-bottom:.3rem;overflow-wrap:anywhere}
.rfc-account-menu a,.rfc-account-menu button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:40px;padding:0 .65rem;margin:0;border:0;border-radius:8px;background:none;color:var(--rfc-ink);font:inherit;font-weight:500;text-decoration:none;text-align:left;cursor:pointer;letter-spacing:0;text-transform:none}
.rfc-account-menu a:hover,.rfc-account-menu button:hover{background:var(--rfc-shade-tint);color:var(--rfc-shade)}
.rfc-account-menu form{margin:0}
/* In a top bar (not a side menu) the account menu opens downward from the right. */
.rfc-account.rfc-account-down{margin:0;padding:0;border:0}
.rfc-account-down .rfc-account-menu{top:calc(100% + .4rem);bottom:auto;left:auto;right:0}
.rfc-main{min-width:0;padding:2.25rem clamp(1.25rem,4vw,3.25rem) 3rem}
.rfc-main>*{max-width:1200px}
.rfc-page-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.rfc-page-head h1{margin:0;font-size:clamp(1.9rem,3vw,2.5rem);font-weight:750;letter-spacing:-.05em;line-height:1.1;color:var(--rfc-navy)}
.rfc-page-head p{margin:.35rem 0 0;color:var(--rfc-muted);max-width:72ch}

/* Panels */
.rfc-panel{background:var(--rfc-surface);border:1px solid var(--rfc-line);border-radius:var(--rfc-radius-lg);padding:clamp(1.25rem,2.5vw,1.75rem)}
.rfc-panel+.rfc-panel{margin-top:1.25rem}
.rfc-panel-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.rfc-panel-head h2{margin:0;font-size:1.15rem;font-weight:700;letter-spacing:-.02em;color:var(--rfc-ink)}
.rfc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.rfc-span-2{grid-column:1/-1}
.rfc-form-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:1.25rem;margin-top:1.25rem;border-top:1px solid var(--rfc-line)}

/* Choice tiles: equal-size radio and checkbox options */
.rfc-choices{display:grid;gap:.75rem;grid-template-columns:repeat(var(--rfc-cols,3),minmax(0,1fr));margin:0;padding:0;border:0;min-width:0}
.rfc-choice{position:relative;display:grid;grid-template-columns:auto 1fr;gap:.2rem .7rem;align-items:start;align-content:start;padding:.9rem 1rem;margin:0;
  border:1px solid var(--rfc-line);border-radius:var(--rfc-radius);background:#fff;cursor:pointer;font-weight:400}
.rfc-choice input{margin:.2rem 0 0;width:1.1rem;height:1.1rem;min-height:0;accent-color:var(--rfc-shade);grid-row:span 2}
.rfc-choice strong{font-weight:650}
.rfc-choice span{color:var(--rfc-muted);font-size:.85rem;line-height:1.4}
.rfc-choice:has(input:checked){border-color:var(--rfc-shade);background:var(--rfc-shade-tint);box-shadow:inset 0 0 0 1px var(--rfc-shade)}
.rfc-choice:has(input:focus-visible){outline:3px solid var(--rfc-focus);outline-offset:2px}
.rfc-choice.compact{align-items:center;align-content:center;padding:.7rem .9rem}
.rfc-choice.compact input{grid-row:auto;margin:0}
.rfc-check{display:inline-flex;align-items:center;gap:.6rem;margin:0;font-weight:500}
.rfc-check input{width:1.1rem;height:1.1rem;min-height:0;margin:0;accent-color:var(--rfc-shade)}

/* Aligned table list */
.rfc-table{width:100%;border-collapse:collapse}
.rfc-table th{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--rfc-muted);font-weight:650;text-align:left;padding:0 .75rem .6rem;border-bottom:1px solid var(--rfc-line)}
.rfc-table td{padding:.85rem .75rem;border-bottom:1px solid var(--rfc-line);vertical-align:middle}
.rfc-table tbody tr:last-child td{border-bottom:0}
.rfc-table th:first-child,.rfc-table td:first-child{padding-left:0}
.rfc-table th:last-child,.rfc-table td:last-child{padding-right:0;text-align:right}
.rfc-person{display:flex;align-items:center;gap:.75rem;min-width:0}
.rfc-person strong{display:block;font-weight:650}
.rfc-person small{display:block;color:var(--rfc-muted);font-size:.85rem;overflow-wrap:anywhere}
.rfc-avatar{display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;flex:none;border-radius:50%;background:var(--rfc-shade-tint);color:var(--rfc-shade);font-weight:700;font-size:.8rem}
.rfc-muted{color:var(--rfc-muted)}
/* Inside pages: toolbar, tabs, back link, detail lists, portal rows, two-column layout. */
.rfc-toolbar{display:flex;gap:.75rem;align-items:center;margin-bottom:1rem}
.rfc-search{position:relative;flex:1;max-width:26rem}
.rfc-search svg{position:absolute;left:.85rem;top:0;bottom:0;margin:auto;width:20px;height:20px;color:var(--rfc-muted);pointer-events:none}
.rfc-search .rfc-input{padding-left:2.65rem}
.rfc-toolbar .rfc-select{flex:0 0 13rem;width:13rem}
.rfc-tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--rfc-line);margin:0 0 1.25rem}
.rfc-tabs a{padding:.6rem .9rem;text-decoration:none;color:var(--rfc-muted);font-weight:600;border-bottom:2px solid transparent;margin-bottom:-1px}
.rfc-tabs a[aria-current=page]{color:var(--rfc-shade);border-bottom-color:var(--rfc-shade)}
.rfc-tabs a span{font-weight:500;margin-left:.3rem;color:var(--rfc-muted)}
.rfc-row-link{color:inherit;text-decoration:none}
.rfc-row-link:hover strong{color:var(--rfc-shade);text-decoration:underline}
.rfc-chevron{width:20px;height:20px;color:var(--rfc-muted);vertical-align:middle}
.rfc-back{display:inline-flex;align-items:center;gap:.35rem;color:var(--rfc-shade);font-weight:600;text-decoration:none;margin-bottom:1rem}
.rfc-back svg{width:18px;height:18px}
.rfc-person.rfc-large .rfc-avatar{width:3.5rem;height:3.5rem;font-size:1.1rem}
.rfc-person.rfc-large h1{margin:0}
.rfc-person.rfc-large p{margin:.2rem 0 0}
.rfc-two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:1.25rem;align-items:start}
.rfc-two-col>div>.rfc-panel+.rfc-panel{margin-top:1.25rem}
.rfc-facts{display:grid;margin:0}
.rfc-facts>div{display:grid;grid-template-columns:8rem 1fr;gap:1rem;padding:.7rem 0;border-top:1px solid var(--rfc-line)}
.rfc-facts>div:first-child{border-top:0;padding-top:0}
.rfc-facts dt{color:var(--rfc-muted);font-size:.875rem;font-weight:600}
.rfc-facts dd{margin:0;overflow-wrap:anywhere}
.rfc-portal-row{display:grid;grid-template-columns:2.25rem minmax(0,1fr) 13rem;gap:1rem;align-items:center;padding:.85rem 0;border-top:1px solid var(--rfc-line)}
.rfc-portal-row:first-child{border-top:0;padding-top:0}
.rfc-portal-badge{width:2.25rem;height:2.25rem;border-radius:10px;display:grid;place-items:center;background:var(--rfc-shade);color:#fff}
.rfc-portal-badge .rfc-mark{width:1.3rem;height:auto}
.rfc-portal-row strong{display:block}
.rfc-portal-row small{display:block;color:var(--rfc-muted);font-size:.85rem}
.rfc-portal-row small a{color:var(--rfc-shade);font-weight:600}
.rfc-stack{display:grid;gap:.6rem}
.rfc-stack form{display:contents}
.rfc-hint{margin:1rem 0 0;color:var(--rfc-muted);font-size:.875rem}
.rfc-hint a{color:var(--rfc-shade);font-weight:600}
.rfc-empty{padding:2rem 0;text-align:center;color:var(--rfc-muted)}
.rfc-field-error{margin:.35rem 0 0;color:var(--rfc-danger);font-size:.875rem}
.rfc-notice{margin:0 0 1.25rem;padding:.75rem 1rem;border-radius:var(--rfc-radius);background:var(--rfc-shade-tint);color:var(--rfc-ink)}
.rfc-alert{margin:0 0 1.25rem;padding:.75rem 1rem;border-radius:var(--rfc-radius);background:var(--rfc-danger-bg);color:var(--rfc-danger)}

@media (max-width:52rem){
  .rfc-shell{grid-template-columns:1fr;grid-template-rows:auto 1fr;background:var(--rfc-bg)}
  .rfc-rail{position:relative;z-index:30;height:auto;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.85rem 1rem .75rem}
  .rfc-rail-brand{padding:0}
  .rfc-nav{display:flex;gap:.25rem;overflow-x:auto;grid-column:1/-1}
  .rfc-account{grid-column:2;grid-row:1;margin:0;padding:0;border:0;position:static}
  .rfc-account-menu{position:fixed;left:auto;right:1rem;top:4.25rem;bottom:auto}
  .rfc-nav a{min-height:40px;padding:0 .75rem;white-space:nowrap}
  .rfc-main{padding:1.5rem 1rem 2.5rem}
  .rfc-form-grid{grid-template-columns:1fr}
  .rfc-choices{grid-template-columns:1fr}
  .rfc-choices.two-up{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rfc-form-foot{flex-direction:column;align-items:stretch}
  .rfc-table thead{display:none}
  .rfc-table,.rfc-table tbody,.rfc-table tr,.rfc-table td{display:block;width:100%}
  .rfc-table tr{padding:1rem 0;border-bottom:1px solid var(--rfc-line);display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
  .rfc-table tbody tr:last-child{border-bottom:0}
  .rfc-table td{border:0;padding:0!important;text-align:left!important}
  .rfc-table td.full{grid-column:1/-1}
  .rfc-table td[data-label]::before{content:attr(data-label);display:block;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--rfc-muted);font-weight:650;margin-bottom:.35rem}
  .rfc-table td.end{align-self:end}
  .rfc-table td.end .rfc-btn{width:100%}
  .rfc-toolbar{flex-wrap:wrap}
  .rfc-search,.rfc-toolbar .rfc-select{flex:1 1 100%;max-width:none;width:100%}
  .rfc-two-col{grid-template-columns:1fr}
  .rfc-portal-row{grid-template-columns:2.25rem 1fr}
  .rfc-portal-row>.rfc-select{grid-column:1/-1}
}

:root{font-family:var(--rfc-font);color:var(--rfc-ink);background:#e4e9f2;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;padding:clamp(1rem,5vw,3rem)}main{max-width:29rem;margin:clamp(0rem,5vh,4rem) auto;background:#fff;border:1px solid var(--rfc-line);border-radius:1.25rem;padding:clamp(1.4rem,5vw,2.5rem);box-shadow:0 1rem 3rem #0a1f4508}
h1{font-size:clamp(2.125rem,6vw,2.5rem);font-weight:500;letter-spacing:-1.3px;line-height:1.15;margin:1.5rem 0 .5rem}p{line-height:1.6;color:var(--rfc-muted)}label{display:block;font-weight:650;margin-block:1.3rem .45rem}input,button{font:inherit;width:100%;min-height:48px;border-radius:.75rem;padding:.8rem}input{background:white;color:var(--rfc-ink);border:1px solid var(--rfc-field);font-size:1rem}button{cursor:pointer;border:0;background:var(--rfc-shade);color:white;font-weight:650;margin-top:1rem}button.secondary{background:var(--rfc-shade-tint);color:var(--rfc-shade)}#link-hint{color:var(--rfc-muted);margin:.55rem 0 0}button:disabled{opacity:.6;cursor:wait}:focus-visible{outline:3px solid var(--rfc-focus);outline-offset:3px}[hidden]{display:none!important}#status{font-size:.95rem;overflow-wrap:anywhere}#status.error{color:var(--rfc-danger)}.password-field{display:flex;gap:.5rem}.password-field input{min-width:0}.password-field .toggle{width:auto;min-width:4rem;margin:0}.button-link{display:flex;min-height:48px;align-items:center;justify-content:center;margin-top:1rem;padding:.8rem;border-radius:.75rem;background:var(--rfc-shade);color:#fff;font-weight:650;text-align:center}.button-link.secondary{background:var(--rfc-shade-tint);color:var(--rfc-shade)}a{color:var(--rfc-shade)}.small{font-size:.85rem}footer{border-top:1px solid var(--rfc-line);margin-top:1.5rem;padding-top:1rem}h2{font-size:1.2rem;margin-top:1.5rem}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}
.passkey-signin{display:flex;align-items:center;justify-content:center;gap:.55rem;margin-top:.5rem}
#status:empty{margin:0}
.text-link{display:inline-block;min-height:44px;padding:.625rem 0;line-height:1.5;text-decoration:underline}
#passkey-skip{display:table;margin-inline:auto}
.passkey-card{margin-top:1.5rem}
.account-passkeys{border-top:1px solid var(--rfc-line)}
.passkey-list{list-style:none;padding:0;margin:0}
.passkey-list li{border-top:1px solid var(--rfc-line);padding:.75rem 0;overflow-wrap:anywhere}
.passkey-list strong,.passkey-list span{display:block}
.passkey-list span{color:var(--rfc-muted);margin-top:.25rem}
.passkey-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.passkey-actions button{width:auto;min-height:44px;padding:.5rem .8rem;margin-top:.6rem}
.passkey-list .passkey-badge{display:inline-block;background:var(--rfc-shade-tint);color:var(--rfc-shade);border-radius:1rem;padding:.2rem .55rem;font-size:.85rem}

.signin-page {
  --ink: var(--rfc-ink);
  --muted: var(--rfc-muted);
  --accent: var(--rfc-shade);
  --outline: var(--rfc-field);
  display: grid;
  align-items: center;
  min-height: 100svh;
  background: #e4e9f2;
  color: var(--ink);
  padding: clamp(.75rem, 3vw, 2.5rem);
}
.signin-page main {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.24fr);
  width: min(100%, 59rem);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cdd6e5;
  border-radius: 1.65rem;
  box-shadow: 0 1.5rem 4rem #0a1f451a;
}
.signin-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  color: #fff;
  background: radial-gradient(ellipse at 100% 0%, var(--rfc-shade-glow) 0%, transparent 65%), var(--rfc-shade);
}
.signin-brand::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 26rem;
  aspect-ratio: 1;
  border-radius: 50%;
  right: -14rem;
  bottom: -11rem;
  background: repeating-radial-gradient(circle, #ffffff2a 0 1px, transparent 1px 1.5rem);
  pointer-events: none;
}
.portal-mark, .result-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border-radius: .9rem;
  background: var(--rfc-shade-tint);
  color: var(--rfc-shade);
}
.portal-mark svg, .result-icon svg { width: 1.55rem; height: 1.55rem; }
.signin-brand p { margin: 0; color: var(--rfc-on-shade-muted); font-size: .875rem; font-weight: 600; }
.signin-brand .portal-name {
  margin-top: .45rem;
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-weight: 720;
  line-height: .99;
  letter-spacing: -.062em;
}
.signin-content {
  align-self: center;
  max-width: 37rem;
  width: 100%;
  margin-inline: auto;
  padding: clamp(1.75rem, 4.5vw, 3.4rem);
}
.signin-content h1 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -.052em;
}
.signin-content .signin-intro { margin: .6rem 0 1.5rem; color: var(--muted); }
.signin-field { margin: 0 0 .95rem; }
.signin-field label { margin: 0 0 .42rem; font-size: .875rem; }
.signin-content .input-shell { position: relative; display: block; }
.input-shell > svg { position: absolute; inset: 0 auto 0 .85rem; margin: auto 0; color: var(--muted); pointer-events: none; }
.signin-content input {
  display: block;
  border: 1px solid var(--outline);
  border-radius: .75rem;
  padding: .75rem .85rem .75rem 2.65rem;
  color: var(--ink);
}
.signin-content .password-field input { padding-inline-end: 4.4rem; }
.signin-content .toggle {
  position: absolute;
  inset: .125rem .125rem .125rem auto;
  min-height: 44px;
  min-width: 3.85rem;
  padding: .45rem .6rem;
  background: white;
  color: var(--accent);
  font-size: .875rem;
}
.signin-content .primary-action, .signin-content .alternate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: .75rem;
}
.signin-content .primary-action, .link-only #request-link { background: var(--accent); color: #fff; }
.signin-content .primary-action { margin-top: 1.2rem; }
.signin-content .alternate {
  margin: 0;
  border: 1px solid var(--outline);
  background: white;
  color: var(--accent);
  font-size: .94rem;
}
.signin-content .primary-action:hover, .link-only #request-link:hover { background: var(--rfc-shade-hover); }
.signin-content .alternate.secondary:hover, .signin-content .passkey-signin:hover, .signin-content .toggle:hover { background: var(--rfc-shade-tint); }
.signin-content :is(.alternate,.primary-action) svg { flex-shrink: 0; }
.signin-divider { display: flex; align-items: center; gap: .8rem; margin: 1.15rem 0; color: var(--muted); font-size: .875rem; }
.signin-divider::before, .signin-divider::after { content: ''; height: 1px; flex: 1; background: var(--rfc-line); }
.link-only .signin-divider { display: none; }
.signin-alternatives { display: grid; gap: .6rem; }
.signin-content #link-hint { margin: 0 0 .25rem; color: var(--muted); }
.signin-content #status:not(:empty) { padding: .65rem .8rem; border-radius: .6rem; background: var(--rfc-shade-tint); }
.signin-content #status.error { background: var(--rfc-danger-bg); }
.signin-content .result-icon { margin-bottom: 1.1rem; }
.signin-page noscript { grid-column: 1 / -1; padding-inline: 1.25rem; }

.auth-detail h2 { margin: 0 0 .6rem; line-height: 1.3; letter-spacing: -.02em; }
.auth-detail label { margin-block: 1rem .4rem; font-size: .875rem; }
.auth-detail .input-shell + .small { margin-top: .45rem; }
.auth-detail button:enabled:not(.toggle):hover { background: var(--rfc-shade-hover); }
.auth-detail button.secondary:enabled:not(.toggle):hover { background: var(--rfc-shade-tint); }
.auth-detail #passkey-label { padding-inline: .85rem; }
.auth-detail .passkey-card p { margin: .5rem 0; }
.account-page .signin-content { align-self: start; }
.account-page .signin-brand { justify-content: flex-start; }
.account-page .auth-detail > .text-link { padding-top: 0; }
.account-page .account-password, .account-page .account-passkeys {
  margin: 1.25rem 0 0;
  padding: clamp(.85rem, 2vw, 1.25rem);
  border: 1px solid #cdd6e5;
  border-radius: 1rem;
  background: #f8f9fc;
}
.account-page .account-password:has(#status:not(:empty)) #status { margin-top: .65rem; }

@media (max-width: 42rem) {
  .signin-page main { grid-template-columns: minmax(0, 1fr); max-width: 30rem; border-radius: 1.3rem; }
  .signin-brand { flex-direction: row; justify-content: flex-start; align-items: center; gap: .85rem; padding: 1.25rem; }
  .signin-brand::after { bottom: -13rem; right: -12rem; }
  .signin-brand p { font-size: .75rem; }
  .signin-brand .portal-name { margin-top: .25rem; font-size: 1.5rem; line-height: 1.12; letter-spacing: -.045em; }
  .signin-content { padding: 1.45rem 1.25rem; }
}

.signin-brand .portal-mark{width:auto;height:auto;background:none;border-radius:0;color:#fff}
.signin-brand .portal-mark .rfc-mark{width:3.5rem;height:auto}
.signin-brand .church{margin:0;font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--rfc-on-shade-muted)}
.signin-brand{justify-content:space-between}
:is(h1,h2)[tabindex="-1"]:focus{outline:none}
.signin-brand>div{display:grid;gap:.15rem}
@media (max-width: 42rem){
  .signin-brand{justify-content:flex-start}
  .signin-brand .portal-mark .rfc-mark{width:2.6rem;height:auto}
  .signin-brand .church{font-size:.68rem}
}
