/* Help uses the app's type, colors, and real page layout. */
.header-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 20px;margin-left:auto}
.header-tools .button-row:empty{display:none}
.help-public-header{display:flex;justify-content:flex-end;padding:10px 24px;background:var(--paper);border-bottom:1px solid var(--line)}
.help-launcher{display:inline-flex;align-items:center;gap:8px;min-height:44px;flex-shrink:0;white-space:nowrap;font-size:13px;font-weight:650;text-decoration:none;color:var(--ink)}
.help-symbol{display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--line-strong);border-radius:50%;font-size:13px}
.help-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-shrink:0}
.help-launcher:hover{color:var(--accent)}
.help-panel{position:fixed;inset:0 0 0 auto;margin:0;border:0;border-left:1px solid var(--line);padding:0;width:390px;max-width:100%;height:100dvh;max-height:100dvh;background:var(--paper);color:var(--ink);box-shadow:-12px 0 45px #00000012;z-index:40}
.help-panel[open]{display:flex;flex-direction:column}
.help-panel::backdrop{background:#17202765}
.help-panel-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line);flex-shrink:0}
.help-panel-header .icon-button,.help-tour-heading .icon-button{font-size:26px;min-width:44px;min-height:44px}
.help-panel-body{padding:26px;overflow:auto;overscroll-behavior:contain;flex:1}
.help-panel-body>h2{font-size:26px;line-height:1.12;letter-spacing:-.025em;font-weight:750;outline:none}
.help-summary{margin:14px 0 20px;font-size:15px;line-height:1.55;color:var(--muted)}
.help-show-me{margin:0 0 24px}
.help-steps{list-style:none;counter-reset:help-step;padding:0;margin:8px 0 24px;display:grid;gap:24px}
.help-steps>li{position:relative;padding-left:38px;counter-increment:help-step}
.help-steps>li::before{content:counter(help-step);position:absolute;left:0;top:0;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--accent-light);color:var(--accent-dark);font-size:12px;font-weight:750}
.help-steps h3{font-size:15px;line-height:1.4;font-weight:700;margin:0 0 6px}
.help-steps p{font-size:14px;line-height:1.6;margin:0;color:var(--muted)}
.help-note{padding:15px 17px;border-left:3px solid var(--accent);background:var(--ground);margin:20px 0}
.help-note p{font-size:13px;line-height:1.6;margin:0}
.help-full-link{font-size:14px;display:inline-block;margin:4px 0 16px}
.help-related{border-top:1px solid var(--line);padding-top:20px;margin-top:12px}
.help-related h2,.help-related h3{font-size:13px;margin:0 0 10px;color:var(--muted)}
.help-related a{display:block;font-size:14px;line-height:1.5;padding:8px 0;text-decoration:none}
.help-related a:hover{text-decoration:underline}
.help-panel-footer{display:flex;justify-content:space-between;gap:12px;padding:20px 26px max(20px,env(safe-area-inset-bottom));border-top:1px solid var(--line);font-size:13px;flex-shrink:0}
.help-library{max-width:1040px;width:100%;margin:0 auto}
.help-intro{margin:12px 0 28px}
.help-intro h2{font-size:clamp(27px,3vw,40px);line-height:1.12;letter-spacing:-.03em;margin:12px 0}
.help-intro>p:last-child{font-size:16px;line-height:1.6;color:var(--muted);max-width:45em}
.help-search{padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:10px;margin:0 0 32px}
.help-search label{font-size:13px;font-weight:700;display:block;margin-bottom:8px}
.help-search-row{display:flex;gap:10px;align-items:center}
.help-search-row input{flex:1;min-width:0;width:100%;font:inherit;font-size:15px;padding:13px;border:1px solid var(--line-strong);border-radius:5px;background:var(--paper);color:var(--ink)}
.help-search>p{font-size:13px;line-height:1.5;margin-top:14px;overflow-wrap:anywhere}
.help-category{margin-bottom:32px}
.help-category>h2{font-size:16px;margin-bottom:14px}
.help-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.help-guide-card{display:flex;flex-direction:column;padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--ink)}
.help-guide-card:hover{border-color:var(--accent)}
.help-guide-card h3{font-size:17px;line-height:1.35;margin:0 0 8px}
.help-guide-card p{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 20px}
.help-guide-card>span{font-size:12px;font-weight:650;color:var(--accent-dark);margin-top:auto}
.help-guide-card>span>span{float:right}
.help-contact{padding:24px 0;border-top:1px solid var(--line);margin-top:28px}
.help-contact h2{font-size:20px;margin-bottom:10px}
.help-contact p,.help-account-hint,.help-empty p{font-size:14px;line-height:1.6;margin:0 0 14px}
.help-article{max-width:720px;width:100%;margin:0 auto;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:clamp(22px,4vw,44px)}
.help-back{font-size:13px;display:inline-block;margin-bottom:18px}
.help-article .help-steps{gap:30px;margin-top:32px}
.help-article .help-steps h3{font-size:18px}
.help-article .help-steps p{font-size:16px}
.help-tour{position:fixed;inset:0;border:0;margin:0;padding:0;width:100%;height:100dvh;max-width:none;max-height:none;background:transparent;overflow:hidden;color:var(--ink)}
.help-tour::backdrop{background:transparent}
.help-spotlight{position:fixed;box-shadow:0 0 0 9999px #172027a6;border:2px solid var(--accent);border-radius:8px;pointer-events:none}
.help-tour-card{position:fixed;width:min(350px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:var(--paper);padding:20px 24px 24px;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 60px #0003}
.help-tour-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px -10px 8px 0}
.help-tour-card h2{font-size:22px;line-height:1.2;letter-spacing:-.02em;margin-bottom:12px}
.help-tour-card p:not(.kicker){font-size:14px;line-height:1.6}
.help-tour-card .help-tour-hint{font-size:12px!important;color:var(--muted);margin-top:16px}
.help-tour-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}
@media(min-width:1280px){
 body.help-open .app-shell{width:calc(100% - 390px);margin-left:0;margin-right:390px}
 body.help-open.screen-today .page-content{display:flex}
 body.help-open .staff-two-column,body.help-open .profile-layout{grid-template-columns:1fr}
 body.help-open.signed-in .reader-footer{width:calc(100% - 622px);left:calc(50% - 79px)}
 body.help-open .calendar-options{grid-template-columns:1fr}
 body.help-open .calendar-option+.calendar-option{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}
}
@media(max-width:600px){
 .help-header-tools{gap:8px}
 .topbar h1{min-width:0;overflow-wrap:anywhere}
 .help-launcher{width:44px;justify-content:center;gap:0}
 .help-label{display:none}
 .staff-topbar .header-tools{width:100%;gap:8px 16px}
 .staff-topbar .header-tools .button-row{width:auto;margin-right:auto}
 .help-public-header{padding:4px 16px}
 .help-panel{inset:auto 0 0;width:100%;height:92dvh;max-height:92dvh;border-left:0;border-radius:18px 18px 0 0}
 .help-panel-header{padding:10px 20px}
 .help-panel-body{padding:22px}
 .help-panel-footer{padding:16px 22px max(16px,env(safe-area-inset-bottom))}
 .help-panel-body>h2{font-size:25px}
 .help-guide-grid{grid-template-columns:1fr}
 .help-search{padding:16px}
 .help-search-row{gap:8px}
 .help-search-row .button{padding:13px 16px}
 .help-intro{margin-top:6px}
 .help-article{padding:22px 18px}
 .help-article .help-steps>li{padding-left:35px}
}
@media print{
 .help-header-tools,.help-public-header,.help-panel,.help-tour{display:none!important}
 body.help-open .app-shell{width:100%;margin:0}
 .help-article{max-width:none;border:0;padding:0}
}

.help-library p a,.help-article p a{ text-decoration:underline; text-underline-offset:3px; }

/* Inline policy links need a cue beyond the brand color. */
.screen-sms .card p a, .screen-sms-terms .card p a, .screen-sms-privacy .card p a {
  text-decoration: underline;
  text-underline-offset: .16em;
}
