/* FOL-147: ocean-blue app brand (from foldoo-help-workspace.stage40.css; old brand colours mapped by scripts/brand/recolour.mjs, site-content rules unchanged). */
/* Stage 40: customer Help centre in the dashboard content, editor unchanged. */
.dashboard-help-main{min-width:0}
.dashboard-help-main > .dashboard-content-grid[hidden],.dashboard-help-main > #dashboardHelpPage[hidden]{display:none!important}
#dashboardHelpPage{width:100%;min-width:0;max-width:1040px;margin:0 auto;color:#1b2432}
#dashboardHelpPage[hidden]{display:none!important}
#dashboardHelpPage .hc-shell{height:min(780px,calc(100dvh - 154px));min-height:540px;display:flex;flex-direction:column;min-width:0;border:1px solid #e5e9f0;border-radius:12px;background:#fff;overflow:hidden}
#dashboardHelpPage .hc-header{display:flex;align-items:center;gap:22px;padding:15px 20px;border-bottom:1px solid #e9edf3;flex:none;background:#fff}
#dashboardHelpPage .hc-header button,#dashboardHelpPage .hc-shell button{cursor:pointer;font-family:inherit}
#dashboardHelpPage .hc-brand{display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:720;letter-spacing:-.015em;white-space:nowrap;border:0;background:none;color:#172033;padding:4px}
#dashboardHelpPage .hc-brand svg{color:#106c96}
#dashboardHelpPage .hc-shell svg.i{width:17px;height:17px;flex:none}
#dashboardHelpPage .hc-search{display:flex;align-items:center;flex:1;gap:10px;min-width:0;max-width:560px;border:1px solid #dfe4ed;border-radius:8px;padding:0 12px;background:#f8f9fc;color:#667085}
#dashboardHelpPage .hc-search:focus-within{border-color:#147dad;box-shadow:0 0 0 3px #3346d315}
#dashboardHelpPage .hc-search input{border:0;background:transparent;outline:0;flex:1;min-width:0;height:42px;color:#1d2738;font:inherit;font-size:13px}
#dashboardHelpPage .hc-search button{border:0;background:transparent;color:#667085;padding:6px}
#dashboardHelpPage .hc-search button[hidden]{display:none}
#dashboardHelpPage .hc-body{display:grid;grid-template-columns:204px minmax(0,1fr);flex:1;min-height:0}
#dashboardHelpPage .hc-nav{display:flex;flex-direction:column;gap:3px;padding:15px 10px;min-height:0;overflow:auto;border-right:1px solid #e9edf3;background:#fcfcfd}
#dashboardHelpPage .hc-nav button{display:flex;align-items:center;gap:9px;padding:10px 12px;text-align:left;color:#5c6677;background:none;border:0;border-radius:7px;font-size:12px;font-weight:570}
#dashboardHelpPage .hc-nav button.on,#dashboardHelpPage .hc-nav button:hover{background:#eff1f7;color:#1f2838}
#dashboardHelpPage .hc-nav p{font-size:11px;line-height:1.5;color:#8891a0;padding:8px 12px}
#dashboardHelpPage .hc-reader{display:flex;flex-direction:column;min-height:0;min-width:0}
#dashboardHelpPage .hc-breadcrumb{display:flex;align-items:center;gap:8px;padding:10px 18px;min-height:45px;box-sizing:border-box;border-bottom:1px solid #edf0f4;color:#6b7585;font-size:11px}
#dashboardHelpPage .hc-breadcrumb button{display:inline-flex;align-items:center;gap:5px;padding:4px;border:0;background:transparent;color:#106c96;white-space:nowrap}
#dashboardHelpPage .hc-breadcrumb button:disabled{opacity:.4;cursor:default}
#dashboardHelpPage .hc-breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#dashboardHelpPage .hc-main{flex:1;min-height:0;overflow:auto;padding:24px 26px 30px;scroll-padding-top:16px;overflow-wrap:anywhere}
#dashboardHelpPage .hc-main:focus{outline:none}
#dashboardHelpPage .hc-main h1{font-size:clamp(22px,2.5vw,27px);line-height:1.2;letter-spacing:-.028em;margin:8px 0 13px;color:#182233}
#dashboardHelpPage .hc-main h2{font-size:16px;letter-spacing:-.012em;margin:24px 0 12px;color:#192335}
#dashboardHelpPage .hc-main p{font-size:13px;line-height:1.6;color:#6c7585}
#dashboardHelpPage .hc-kicker{font-size:10px;font-weight:750;letter-spacing:.1em;color:#647088}
#dashboardHelpPage .hc-hero{padding:0 0 16px}
#dashboardHelpPage .hc-quick{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0 5px}
#dashboardHelpPage .hc-quick button{border:1px solid #e1e5ed;border-radius:7px;background:#fff;padding:9px 12px;color:#354052;font-size:12px;font-weight:580}
#dashboardHelpPage .hc-journeys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#dashboardHelpPage .hc-journey{display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid #e5e9f0;border-radius:9px;padding:16px;background:#fff;text-align:left;color:#1b2432}
#dashboardHelpPage .hc-journey>svg{color:#106c96;width:20px!important;height:20px!important}
#dashboardHelpPage .hc-journey b{font-size:14px}
#dashboardHelpPage .hc-journey>span{font-size:12px;line-height:1.5;color:#6b7585}
#dashboardHelpPage .hc-journey small{display:flex;align-items:center;gap:5px;width:100%;margin-top:auto;color:#68768a;font-size:11px}
#dashboardHelpPage .hc-journey:hover,#dashboardHelpPage .hc-result:hover{border-color:#adb8d8;background:#fbfcff}
#dashboardHelpPage .hc-results{display:grid;gap:10px}
#dashboardHelpPage .hc-result{display:flex;align-items:center;gap:13px;padding:13px 15px;width:100%;text-align:left;border:1px solid #e5e9f0;border-radius:9px;background:#fff;color:#1d2736}
#dashboardHelpPage .hc-result-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:8px;background:#f0f2fb;color:#106c96}
#dashboardHelpPage .hc-result>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
#dashboardHelpPage .hc-result b{font-size:13px}
#dashboardHelpPage .hc-result small,#dashboardHelpPage .hc-result>span>span{font-size:11px;color:#69758a}
#dashboardHelpPage .hc-pagehead{margin-bottom:22px}
#dashboardHelpPage .hc-reference details{border-bottom:1px solid #e5e9f0;padding:10px 0}
#dashboardHelpPage .hc-reference summary{font-weight:650;cursor:pointer}
#dashboardHelpPage .hc-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px;border-top:1px solid #e9edf3;padding-top:18px;color:#6b7585;font-size:12px}
#dashboardHelpPage .hc-bottom button{border:0;background:transparent;color:#106c96;font-size:12px;display:inline-flex;align-items:center;gap:6px}
#dashboardHelpPage .hc-article-top{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#6b7585;margin-bottom:12px}
#dashboardHelpPage .hc-article-top button{color:#106c96;border:0;background:transparent}
#dashboardHelpPage .hc-toc{border:1px solid #e3e8f0;border-radius:9px;padding:12px 14px;margin:14px 0;font-size:12px}
#dashboardHelpPage .hc-toc nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
#dashboardHelpPage .hc-toc button{border:0;background:transparent;color:#106c96}
#dashboardHelpPage .hc-article{background:#fff;padding:14px 0;color:#424242}
#dashboardHelpPage .hc-article-end{margin-top:28px}
#dashboardHelpPage .hc-empty{padding:20px;border:1px dashed #dfe4ed;border-radius:9px}
#dashboardHelpPage .hc-shell button:focus-visible,#dashboardHelpPage .hc-shell summary:focus-visible{outline:2px solid #147dad;outline-offset:2px}
/* Header order, left-to-right: notifications, New. No duplicate profile avatar. */
.dashboard-shell .dashboard-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto}
.dashboard-shell .dashboard-top-actions .dashboard-top-icon{display:inline-flex;align-items:center;justify-content:center;min-width:38px;width:38px;height:38px;border-radius:8px;border:0;background:transparent;color:#576276}
.dashboard-shell .dashboard-top-actions .dashboard-top-icon:hover{background:#f3f5f9;color:#1e2837}
.dashboard-shell .dashboard-top-actions [data-dash="templates"]{min-height:40px;border-radius:8px}
@media(max-width:800px){
 #dashboardHelpPage .hc-shell{height:auto;min-height:440px;max-height:none}
 #dashboardHelpPage .hc-body{grid-template-columns:minmax(0,1fr)}
 #dashboardHelpPage .hc-nav{display:flex;flex-direction:row;overflow-x:auto;min-height:0;flex:none;border-right:0;border-bottom:1px solid #e9edf3;padding:8px}
 #dashboardHelpPage .hc-nav button{white-space:nowrap;flex:none;padding:9px}
 #dashboardHelpPage .hc-nav p{display:none}
 #dashboardHelpPage .hc-main{min-height:400px;max-height:calc(100dvh - 300px);padding:18px}
 #dashboardHelpPage .hc-journeys{grid-template-columns:minmax(0,1fr)}
 #dashboardHelpPage .hc-header{flex-wrap:wrap;gap:10px;padding:12px}
 #dashboardHelpPage .hc-header .hc-brand{flex:1}
 #dashboardHelpPage .hc-search{flex:1 0 100%;order:2;max-width:none}
}
@media(max-width:520px){
 .dashboard-shell .dashboard-top-actions{gap:8px}
 #dashboardHelpPage .hc-main{padding:16px}
 #dashboardHelpPage .hc-result-icon{display:none}
}
