/* Company Insight site chrome (site-chrome-v1, owner brief 2026-11-07): the marketing header and footer on every app page,
 * signed in or out. Rendered into each page's HTML by tools/apply-app-chrome.mjs, so nothing is injected after load. The
 * signed-in sidebar (app-shell.js) sits beside it; html.ci-in is set when the shell arrives, and the header keeps the same layout
 * either way, so nothing visible moves. Navy #173B4D, slate #7893A5, off-white #F7F8FA. */
.dc-top{display:none!important}
.dc-top:has(#rp-print-top){display:flex!important;justify-content:flex-end;margin-bottom:8px;box-shadow:none;clip-path:none;background:none;padding-top:8px;padding-bottom:0}
.dc-top:has(#rp-print-top) .dc-brand{display:none}
.ci-head{background:#fff;border-bottom:1px solid #e1e8ed;position:relative;z-index:30}
.ci-head-in{display:flex;align-items:center;gap:20px;max-width:none;margin:0;padding:0 24px;height:64px;box-sizing:border-box}
.ci-logo{display:flex;align-items:center;flex:none}.ci-logo img{height:28px;width:auto;display:block}
.ci-nav{display:flex;gap:4px;margin-left:12px}
.ci-nav a,.ci-signin,.ci-mine{color:#173b4d;text-decoration:none;font-weight:600;font-size:15px;padding:8px 10px;border-radius:8px;white-space:nowrap}
.ci-nav a:hover,.ci-signin:hover,.ci-mine:hover{background:#edf4f8}
.ci-act{display:flex;align-items:center;gap:8px;margin-left:auto}
.ci-cta{background:#173b4d;color:#fff;text-decoration:none;font-weight:700;font-size:15px;padding:10px 16px;border-radius:10px;white-space:nowrap}
.ci-cta:hover{background:#0f2b39}
.ci-head a:focus-visible,.ci-menu>summary:focus-visible,.ci-foot a:focus-visible{outline:3px solid #6aa5c8;outline-offset:2px}
.ci-mine{display:none}
html.ci-in .ci-signin{display:none}html.ci-in .ci-mine{display:inline-block}
.ci-menu{display:none;position:relative}
.ci-menu>summary{list-style:none;cursor:pointer;font-weight:700;font-size:15px;color:#173b4d;padding:9px 12px;border:1px solid #c9dbe6;border-radius:10px}
.ci-menu>summary::-webkit-details-marker{display:none}
.ci-menu-list{position:absolute;right:0;top:calc(100% + 8px);width:240px;background:#fff;border:1px solid #e1e8ed;border-radius:14px;padding:8px;box-shadow:0 12px 32px rgba(23,59,77,.18);display:grid;gap:2px}
.ci-menu-list a{color:#173b4d;text-decoration:none;font-weight:600;font-size:16px;padding:12px;border-radius:10px}
.ci-menu-list a:hover{background:#edf4f8}
html.ci-in .ci-menu-list .ci-signin{display:none}
.ci-foot{border-top:1px solid #e1e8ed;background:#fff;margin-top:32px;color:#4e6576;font-size:14px}
.ci-foot-in{max-width:1240px;margin:0 auto;padding:22px 24px 26px;display:grid;gap:12px}
.ci-foot-ask{margin:0;font-weight:650;color:#173b4d;font-size:15px}
.ci-foot-ask a{color:#346a89}
.ci-foot-links{display:flex;flex-wrap:wrap;gap:6px 18px}
.ci-foot-links a{color:#346a89;text-decoration:none;font-weight:600}.ci-foot-links a:hover{text-decoration:underline}
.ci-foot-note,.ci-foot-legal{margin:0;font-size:13px;color:#5b7080}
/* Signed in: the sidebar sits under the header on the left (desktop); the header's contents keep their place. */
html.ci-in body{padding-left:232px}
html.ci-in .ci-head{margin-left:-232px}
body.has-shell .as-side{top:65px!important}
body.has-shell .as-brand{display:none}
@media (max-width:1060px){.ci-nav a{padding:8px 6px;font-size:14px}.ci-head-in{gap:10px}}
@media (max-width:960px){
 .ci-nav{display:none}.ci-menu{display:block}.ci-act>.ci-signin{display:none}.ci-act>.ci-mine{display:none!important}
}
@media (max-width:760px){
 html.ci-in body{padding-left:0}html.ci-in .ci-head{margin-left:0;padding-left:0}
 .ci-head-in{padding:0 16px;height:60px}.ci-logo img{height:24px}
 .ci-cta{padding:9px 12px;font-size:14px}
 .ci-foot-in{padding:18px 16px 22px}
 html.ci-in .ci-foot{padding-bottom:72px}
}
@media (max-width:400px){.ci-head-in{padding:0 10px;gap:8px}.ci-logo img{height:20px}.ci-cta{font-size:13px;padding:8px 10px}.ci-menu>summary{padding:7px 9px;font-size:14px}}
@media (max-width:350px){.ci-menu>summary{font-size:0;width:40px;height:36px;padding:0;display:grid;place-items:center}.ci-menu>summary::before{content:"";width:18px;height:12px;border-top:2px solid #173b4d;border-bottom:2px solid #173b4d;background:linear-gradient(#173b4d,#173b4d) center/100% 2px no-repeat}}
@media print{.ci-head,.ci-foot{display:none!important}}
/* Pages that fill in after load stay invisible until their first render (site-chrome.js), and every app page's main is at least
 * one screen tall, so the footer never jumps up into view and back down. */
main[data-ci-wait]{visibility:hidden}
body>main,body>.dc-page>main{min-height:calc(100vh - 64px)}
/* Signed in on a phone: a tour card sits above the bottom bar, never over it. */
@media (max-width:760px){body.has-shell .ci-tour{bottom:calc(84px + env(safe-area-inset-bottom))}body.has-shell .as-bar{z-index:70}}
/* The sign-in pages had their own logo; the header now carries it. */
.company-signin>a.brand:first-child{display:none}
