
.ccs-shell{--ccs-orange:#e5560c;--ccs-orange-dark:#c4480a;--ccs-orange-soft:#fff1e8;--ccs-ink:#18202b;--ccs-text:#323b49;--ccs-muted:#687386;--ccs-bg:#fff;--ccs-surface:#fff;--ccs-surface-2:#f7f9fc;--ccs-border:#e5e8ee;--ccs-header:rgba(255,255,255,.94);--ccs-shadow:0 18px 48px rgba(24,32,43,.09);--ccs-card-shadow:0 7px 22px rgba(24,32,43,.055);--ccs-max:1560px;box-sizing:border-box;color:var(--ccs-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html[data-theme="dark"] .ccs-shell{--ccs-orange:#ff742e;--ccs-orange-dark:#ff8a4c;--ccs-orange-soft:#101b2a;--ccs-ink:#f8fbff;--ccs-text:#e8eef8;--ccs-muted:#9eacc0;--ccs-bg:#020711;--ccs-surface:#07111f;--ccs-surface-2:#040c18;--ccs-border:#17283c;--ccs-header:rgba(2,7,17,.98);--ccs-shadow:0 20px 54px rgba(0,0,0,.58);--ccs-card-shadow:0 8px 26px rgba(0,0,0,.38)}
.ccs-shell,.ccs-shell *,.ccs-shell *::before,.ccs-shell *::after{box-sizing:border-box}.ccs-shell button,.ccs-shell input{font:inherit}.ccs-shell button{color:inherit}.ccs-shell svg{display:block}.ccs-shell a{color:inherit}.ccs-icon,.ccs-chevron{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ccs-icon{width:21px;height:21px}.ccs-chevron{width:14px;height:14px;transition:transform .18s}.ccs-header{position:sticky;top:0;z-index:2147483000;overflow:visible;border-bottom:1px solid var(--ccs-border);background:var(--ccs-header);-webkit-backdrop-filter:saturate(160%) blur(16px);backdrop-filter:saturate(160%) blur(16px)}
.ccs-top{position:relative;width:min(1560px,calc(100% - 44px));min-height:116px;margin-inline:auto;padding:9px clamp(8px,1.2vw,18px) 0;display:flex;flex-wrap:wrap;align-content:start;align-items:center;column-gap:14px;row-gap:0}.ccs-brand{display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}.ccs-header-brand{order:1;flex:0 0 auto;gap:12px}.ccs-header-brand-mark{width:48px;height:48px;flex:0 0 48px;overflow:visible;color:var(--ccs-ink)}.ccs-header-brand-ring,.ccs-header-brand-c,.ccs-header-brand-bar,.ccs-footer-brand-ring,.ccs-footer-brand-c,.ccs-footer-brand-bar{fill:none;stroke-linecap:round;stroke-linejoin:round}.ccs-header-brand-ring,.ccs-footer-brand-ring{stroke:var(--ccs-orange);stroke-width:3.2}.ccs-header-brand-c{stroke:var(--ccs-ink);stroke-width:5.5}.ccs-header-brand-bar,.ccs-footer-brand-bar{stroke:var(--ccs-orange);stroke-width:4.8}html[data-theme="dark"] .ccs-header-brand-c{stroke:#fff}.ccs-header-brand-name,.ccs-footer-brand-name{display:inline-flex;align-items:center;font-family:Baskerville,"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;font-weight:400;line-height:1;letter-spacing:-.045em}.ccs-header-brand-name{font-size:clamp(25px,2vw,31px);color:var(--ccs-ink)}.ccs-brand-correction{position:relative;display:inline-block}.ccs-header-brand-name .ccs-brand-correction{color:var(--ccs-ink)}html[data-theme="dark"] .ccs-header-brand-name .ccs-brand-correction{color:#fff}.ccs-brand-correction::after{content:"";position:absolute;z-index:2;left:-7px;right:0;top:60%;height:2.4px;border-radius:999px;background:var(--ccs-orange);transform:translateY(-50%);pointer-events:none}.ccs-brand-copy{color:var(--ccs-orange)}
.ccs-header-center-badge{position:absolute;z-index:4;left:50%;top:18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:min(360px,34vw);min-height:32px;padding:7px 13px;border:1px solid #efb28f;border:1px solid color-mix(in srgb,var(--ccs-orange) 38%,var(--ccs-border));border-radius:999px;background:var(--ccs-surface);background:color-mix(in srgb,var(--ccs-surface) 92%,transparent);color:var(--ccs-orange);box-shadow:var(--ccs-card-shadow);transform:translateX(-50%);white-space:nowrap;font-size:clamp(9px,.68vw,11px);font-weight:900;line-height:1;letter-spacing:.055em;text-transform:uppercase;pointer-events:none}.ccs-header-center-badge::before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--ccs-orange);box-shadow:0 0 0 5px rgba(229,86,12,.13);box-shadow:0 0 0 5px color-mix(in srgb,var(--ccs-orange) 13%,transparent)}
.ccs-actions{order:2;margin-left:auto;display:flex;align-items:center;gap:7px;flex:0 0 auto}.ccs-icon-btn,.ccs-menu-btn{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--ccs-border);border-radius:11px;background:var(--ccs-surface);color:var(--ccs-ink);cursor:pointer}.ccs-icon-btn:hover,.ccs-menu-btn:hover{border-color:var(--ccs-orange);color:var(--ccs-orange)}.ccs-theme{position:relative;width:66px;height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 7px;border:1px solid var(--ccs-border);border-radius:999px;background:var(--ccs-surface-2);cursor:pointer;overflow:hidden}.ccs-theme .ccs-icon{width:15px;height:15px;position:relative;z-index:2}.ccs-theme-moon{color:#56657b}.ccs-theme-sun{color:#ef8d19}.ccs-theme-knob{position:absolute;left:3px;top:3px;width:26px;height:26px;border-radius:50%;background:var(--ccs-surface);box-shadow:0 2px 8px rgba(0,0,0,.18);transition:transform .22s ease}html[data-theme="dark"] .ccs-theme-knob{transform:translateX(32px)}html[data-theme="dark"] .ccs-theme{background:#222b38}.ccs-account{min-height:42px;display:inline-flex;align-items:center;padding:0 13px;border-radius:11px;text-decoration:none;font-size:13px;font-weight:850}.ccs-login{color:var(--ccs-text)}.ccs-signup{background:var(--ccs-orange);color:#fff}.ccs-signup:hover{background:var(--ccs-orange-dark)}.ccs-menu-btn{display:none}.ccs-menu-btn .ccs-menu-open{display:block}.ccs-menu-btn .ccs-menu-close{display:none}.ccs-menu-btn[aria-expanded="true"] .ccs-menu-open{display:none}.ccs-menu-btn[aria-expanded="true"] .ccs-menu-close{display:block}
.ccs-nav{order:3;width:calc(100% + clamp(20px,2.4vw,38px));min-width:0;min-height:50px;margin:8px calc(clamp(10px,1.2vw,19px)*-1) 0;padding:4px clamp(4px,.7vw,10px);display:flex;align-items:center;justify-content:center;gap:clamp(3px,.65vw,11px);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;border-top:1px solid var(--ccs-border)}.ccs-nav::-webkit-scrollbar{display:none}.ccs-nav-btn{flex:0 0 auto;min-height:40px;padding-inline:clamp(10px,1vw,17px);display:inline-flex;align-items:center;gap:5px;border:0;border-radius:10px;background:transparent;color:var(--ccs-ink);font-size:clamp(13px,.95vw,15px);font-weight:820;white-space:nowrap;cursor:pointer}.ccs-nav-btn:hover,.ccs-nav-btn[aria-expanded="true"]{background:var(--ccs-orange-soft);color:var(--ccs-orange)}.ccs-nav-btn[aria-expanded="true"] .ccs-chevron{transform:rotate(180deg)}
.ccs-mega{position:absolute;left:0;right:0;top:116px;display:none;max-height:min(76vh,720px);overflow:auto;overscroll-behavior:contain;border-bottom:1px solid var(--ccs-border);background:var(--ccs-surface);box-shadow:var(--ccs-shadow)}.ccs-mega.ccs-open{display:block}.ccs-mega-inner{width:min(1460px,100%);margin-inline:auto;padding:24px clamp(30px,5.4vw,92px) 30px}.ccs-mega-cat-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.ccs-cat-icon{width:29px;height:29px;color:var(--ccs-orange)}.ccs-cat-icon .ccs-icon{width:29px;height:29px}.ccs-mega-cat-title strong{display:block;color:var(--ccs-ink);font-size:clamp(13px,.9vw,15px)}.ccs-mega-cat-title>div>span{display:block;color:var(--ccs-muted);font-size:11px}.ccs-mega-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 26px}.ccs-mega-group h3{margin:0 0 8px;color:var(--ccs-ink);font-size:clamp(11.5px,.75vw,12.5px);font-weight:750;letter-spacing:.045em;text-transform:uppercase}.ccs-mega-links{display:grid;gap:3px}.ccs-mega-link{min-height:34px;padding:4px 6px;display:flex;align-items:center;gap:8px;border-radius:7px;text-decoration:none;color:var(--ccs-ink);font-size:clamp(11.5px,.76vw,13px);font-weight:500;line-height:1.34}.ccs-mega-link:hover{background:var(--ccs-orange-soft);color:var(--ccs-ink)}.ccs-mini-icon{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border:1px solid #f0c4aa;border:1px solid color-mix(in srgb,var(--ccs-orange) 28%,var(--ccs-border));border-radius:6px;background:var(--ccs-orange-soft);color:var(--ccs-orange)}.ccs-mini-icon .ccs-icon{width:15px;height:15px}.ccs-mega-link:hover .ccs-mini-icon{border-color:var(--ccs-orange);background:var(--ccs-orange);color:#fff}.ccs-mega-link-text{min-width:0;color:var(--ccs-ink)}.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-groups{grid-template-columns:minmax(0,2.35fr) minmax(190px,.85fr);grid-template-rows:auto auto;gap:18px 26px}.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:first-child{grid-column:1;grid-row:1/span 2}.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:first-child .ccs-mega-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:nth-child(2){grid-column:2;grid-row:1}.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:nth-child(3){grid-column:2;grid-row:2}
.ccs-mobile-panel{position:fixed;inset:64px 0 0;z-index:2147482999;display:none;padding:14px 18px 30px;background:var(--ccs-bg);overflow:auto}.ccs-mobile-panel.ccs-open{display:block}.ccs-mobile-inner{width:min(680px,100%);margin:auto}.ccs-mobile-group{border-bottom:1px solid var(--ccs-border)}.ccs-mobile-group summary{display:flex;align-items:center;justify-content:space-between;min-height:54px;color:var(--ccs-ink);font-weight:850;cursor:pointer;list-style:none}.ccs-mobile-group summary::-webkit-details-marker{display:none}.ccs-mobile-group[open] summary .ccs-chevron{transform:rotate(180deg)}.ccs-mobile-group-body{padding:0 0 17px}.ccs-mobile-summary-label{display:inline-flex;align-items:center;gap:10px}.ccs-mobile-summary-label>.ccs-icon{width:40px;height:40px;flex:0 0 40px;padding:9px;border:1px solid #f0c4aa;border:1px solid color-mix(in srgb,var(--ccs-orange) 25%,var(--ccs-border));border-radius:12px;background:var(--ccs-orange-soft);color:var(--ccs-orange)}.ccs-mobile-cat h3{margin:12px 0 8px;color:var(--ccs-ink);font-size:13px}.ccs-mobile-sub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;margin-bottom:13px}.ccs-mobile-sub strong{grid-column:1/-1;color:var(--ccs-ink);font-size:11px;text-transform:uppercase;letter-spacing:.05em}.ccs-mobile-link{display:flex;align-items:center;gap:8px;min-height:38px;padding:5px 4px;border:1px solid var(--ccs-border);border-radius:9px;background:var(--ccs-surface);color:var(--ccs-ink);font-size:13px;font-weight:500;line-height:1.3;text-decoration:none}.ccs-mobile-link .ccs-mini-icon{width:28px;height:28px;flex-basis:28px;border-radius:7px}.ccs-mobile-link .ccs-mini-icon .ccs-icon{width:16px;height:16px}.ccs-mobile-account{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.ccs-mobile-account a{min-height:45px;display:grid;place-items:center;border-radius:11px;text-decoration:none;font-weight:850}.ccs-mobile-account a:first-child{border:1px solid var(--ccs-border)}.ccs-mobile-account a:last-child{background:var(--ccs-orange);color:#fff}
.ccs-search-panel,.ccs-modal{position:fixed;inset:0;z-index:2147483640;display:none;padding:90px 18px 30px;background:rgba(4,7,11,.68);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.ccs-search-panel.ccs-open,.ccs-modal.ccs-open{display:grid;place-items:start center}.ccs-search-box{width:min(720px,100%);max-height:calc(100vh - 130px);overflow:hidden;border:1px solid var(--ccs-border);border-radius:20px;background:var(--ccs-surface);box-shadow:var(--ccs-shadow)}.ccs-search-head{display:flex;gap:10px;padding:14px;border-bottom:1px solid var(--ccs-border)}.ccs-search-head input{flex:1;min-width:0;height:46px;padding:0 14px;border:1px solid var(--ccs-border);border-radius:11px;background:var(--ccs-surface-2);color:var(--ccs-ink);outline:none}.ccs-search-head input:focus{border-color:var(--ccs-orange);box-shadow:0 0 0 3px rgba(229,86,12,.14)}.ccs-search-results{max-height:60vh;overflow:auto;padding:10px}.ccs-search-result{display:flex;align-items:center;gap:10px;padding:10px;border-radius:11px;text-decoration:none}.ccs-search-result:hover{background:var(--ccs-orange-soft)}.ccs-search-result strong{color:var(--ccs-ink);font-size:13px}.ccs-search-empty{padding:30px;text-align:center;color:var(--ccs-muted)}.ccs-modal.ccs-open{place-items:center}.ccs-modal-card{position:relative;width:min(440px,100%);padding:26px;border:1px solid var(--ccs-border);border-radius:20px;background:var(--ccs-surface);color:var(--ccs-text);box-shadow:var(--ccs-shadow);text-align:center}.ccs-modal-card h2{margin:0;color:var(--ccs-ink);font-size:22px}.ccs-modal-card p{color:var(--ccs-muted)}.ccs-modal-close{position:absolute;right:12px;top:12px;width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--ccs-border);border-radius:10px;background:var(--ccs-surface);cursor:pointer}.ccs-modal-ok{width:100%;height:44px;border:0;border-radius:10px;background:var(--ccs-orange);color:#fff;font-weight:900;cursor:pointer}
.ccs-footer{margin:0;background:#10151d;color:#dce2eb}html[data-theme="dark"] .ccs-footer{background:#01040a}.ccs-footer-main{width:min(1240px,calc(100% - 36px));margin-inline:auto;padding:56px 0 38px;display:grid;grid-template-columns:1.45fr repeat(3,minmax(0,1fr));gap:clamp(28px,4vw,54px)}.ccs-footer-brand-link{gap:12px;align-items:center}.ccs-footer-brand-mark{width:48px;height:48px;flex:0 0 48px;overflow:visible}.ccs-footer-brand-c{stroke:#fff;stroke-width:5.5}.ccs-footer-brand-name{font-size:clamp(24px,1.8vw,29px);color:#fff}.ccs-footer-brand-name .ccs-brand-correction{color:#fff}.ccs-footer-brand p{max-width:360px;margin:15px 0 0;color:#9ea8b6;font-size:14px}.ccs-footer-account{display:flex;gap:8px;margin-top:18px}.ccs-footer-account a{padding:9px 12px;border:1px solid #313946;border-radius:9px;text-decoration:none;font-size:12px;font-weight:850}.ccs-footer-account a:last-child{border-color:var(--ccs-orange);background:var(--ccs-orange);color:#fff}.ccs-footer-col h2{margin:0 0 15px;color:#fff;font-size:12px;letter-spacing:.05em;text-transform:uppercase}.ccs-footer-links{display:grid;gap:10px}.ccs-footer-links a{color:#aeb7c4;text-decoration:none;font-size:13px}.ccs-footer-links a:hover{color:#fff}.ccs-footer-bottom{width:min(1240px,calc(100% - 36px));margin-inline:auto;padding:18px 0;border-top:1px solid #28303b;display:flex;justify-content:center;text-align:center;color:#929dac;font-size:12px}.ccs-footer-bottom span{width:100%;text-align:center}
@media(max-width:1120px) and (min-width:901px){.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-groups{grid-template-columns:1fr}.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:first-child,.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:nth-child(2),.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:nth-child(3){grid-column:1;grid-row:auto}.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:first-child .ccs-mega-links{grid-template-columns:1fr}.ccs-mega-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.ccs-footer-main{grid-template-columns:1fr 1fr}.ccs-footer-brand{grid-column:1/-1}}
@media(min-width:901px) and (max-width:1180px){.ccs-top{width:min(100% - 28px,1560px);padding-left:8px;padding-right:8px}.ccs-header-brand-name{font-size:18px}.ccs-header-brand-mark{width:38px;height:38px;flex-basis:38px}.ccs-nav{width:calc(100% + 20px);margin-left:-10px;margin-right:-10px;padding-left:4px;padding-right:4px}.ccs-nav-btn{padding-inline:9px;font-size:13px}.ccs-account{min-height:38px;padding-inline:10px;font-size:12px}.ccs-icon-btn{width:38px;height:38px}.ccs-theme{width:62px;height:34px}.ccs-header-center-badge{max-width:300px;padding-inline:10px;font-size:8.5px;letter-spacing:.035em}}
@media(max-width:900px){.ccs-top{width:min(100% - 22px,1560px);min-height:64px;padding:0;flex-wrap:nowrap}.ccs-header-brand{gap:9px}.ccs-header-brand-mark{width:40px;height:40px;flex-basis:40px}.ccs-header-brand-name{font-size:21px}.ccs-header-center-badge,.ccs-nav,.ccs-account{display:none}.ccs-menu-btn{display:grid}.ccs-mega{display:none!important}}
@media(max-width:680px){.ccs-footer-main{grid-template-columns:1fr}.ccs-footer-brand{grid-column:auto}.ccs-mobile-sub{grid-template-columns:1fr}.ccs-mega-inner{padding-left:18px;padding-right:18px}}
@media(max-width:560px){.ccs-header-brand{gap:8px}.ccs-header-brand-mark{width:36px;height:36px;flex-basis:36px}.ccs-header-brand-name{font-size:17px}.ccs-brand-correction::after{left:-4px;height:2px}.ccs-theme{width:60px}.ccs-footer-brand-link{gap:9px}.ccs-footer-brand-mark{width:42px;height:42px;flex-basis:42px}.ccs-footer-brand-name{font-size:22px}.ccs-footer-main,.ccs-footer-bottom{width:min(1240px,calc(100% - 26px))}}
@media(max-width:380px){.ccs-header-brand{gap:6px}.ccs-header-brand-mark{width:32px;height:32px;flex-basis:32px}.ccs-header-brand-name{font-size:15px}.ccs-actions{gap:4px}.ccs-icon-btn,.ccs-menu-btn{width:36px;height:36px}.ccs-theme{width:54px}html[data-theme="dark"] .ccs-theme-knob{transform:translateX(20px)}}

/* Mobile signed-in header keeps profile + logout visible without crowding. */
@media(max-width:900px){
  .ccs-profile-button{width:38px;height:38px;flex-basis:38px}
  .ccs-header-logout-btn{display:inline-flex!important;width:38px;min-width:38px;min-height:38px;padding:0!important;border-radius:10px}
  .ccs-header-logout-label{display:none}
  .ccs-header-logout-icon{display:block}
  .ccs-actions-logged-in>[data-ccs-search-open]{display:none}
  .ccs-mobile-utilities{display:block}
}
@media(max-width:560px){
  .ccs-actions-logged-in{gap:5px}
  .ccs-actions-logged-in .ccs-profile-button{width:36px;height:36px;flex-basis:36px}
  .ccs-actions-logged-in .ccs-header-logout-btn{width:36px;min-width:36px;min-height:36px}
}
@media(max-width:380px){
  .ccs-top-logged-in .ccs-header-brand-name{display:none}
  .ccs-top-logged-in .ccs-header-brand-mark{width:36px;height:36px;flex-basis:36px}
}
@media(prefers-reduced-motion:reduce){.ccs-shell *,.ccs-shell *::before,.ccs-shell *::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* ===== CorrectionCopy shared layout v2: fixed header, complete 150-tool menus and premium motion ===== */
html[data-theme="dark"],html[data-theme="dark"] body{background:#01040a;color:#e9eff8}
html[data-theme="dark"] .ccs-shell{--ccs-orange:#ff742e;--ccs-orange-dark:#ff8b4f;--ccs-orange-soft:#0d1724;--ccs-ink:#fbfdff;--ccs-text:#e8eef8;--ccs-muted:#94a4ba;--ccs-bg:#01040a;--ccs-surface:#040a13;--ccs-surface-2:#020711;--ccs-border:#122238;--ccs-header:rgba(1,4,10,.985);--ccs-shadow:0 24px 68px rgba(0,0,0,.68);--ccs-card-shadow:0 9px 30px rgba(0,0,0,.45)}
.ccs-header{position:fixed!important;inset:0 0 auto!important;width:100%!important;z-index:2147483000!important;isolation:isolate}
.ccs-header-spacer{display:block;width:100%;height:116px;flex:0 0 116px}
.ccs-nav-btn{position:relative;overflow:hidden;color:var(--ccs-orange)!important;font-weight:900!important;transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}
.ccs-nav-btn::after{content:"";position:absolute;left:13px;right:13px;bottom:4px;height:2px;border-radius:999px;background:currentColor;opacity:.42;transform:scaleX(.45);transition:transform .22s ease,opacity .22s ease}
.ccs-nav-btn:hover,.ccs-nav-btn[aria-expanded="true"]{background:var(--ccs-orange)!important;color:#fff!important;box-shadow:0 8px 20px rgba(229,86,12,.18);transform:translateY(-1px)}
.ccs-nav-btn:hover::after,.ccs-nav-btn[aria-expanded="true"]::after{transform:scaleX(1);opacity:.9}
.ccs-nav-label{color:inherit!important}
.ccs-signup,.ccs-mobile-account a:last-child,.ccs-footer-account a:last-child,.ccs-modal-ok{color:#fff!important}
.ccs-account-form{margin:0;display:inline-flex}
.ccs-account-button{border:0;font-family:inherit;cursor:pointer}

/* Signed-in header: compact profile avatar + confirmed logout. */
.ccs-profile-button{
  width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;
  border:1px solid var(--ccs-border);border-radius:50%;overflow:hidden;
  background:var(--ccs-surface);color:var(--ccs-ink);text-decoration:none;
  box-shadow:0 3px 12px rgba(20,32,48,.06);
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.ccs-profile-button:hover,.ccs-profile-button:focus-visible{
  border-color:var(--ccs-orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--ccs-orange) 14%,transparent);
  outline:none;transform:translateY(-1px)
}
.ccs-profile-button img{width:100%;height:100%;display:block;object-fit:cover}
.ccs-profile-fallback{
  width:100%;height:100%;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--ccs-orange),var(--ccs-orange-dark));
  color:#fff;font-size:15px;font-weight:900;line-height:1
}
.ccs-header-logout-wrap{position:relative;display:inline-flex;flex:0 0 auto}
.ccs-header-logout-form{position:relative}
.ccs-header-logout-btn{width:42px;min-width:42px;min-height:42px;padding:0!important;border-radius:11px;gap:0;justify-content:center}
.ccs-header-logout-icon{display:block;width:18px;height:18px;flex:0 0 18px}
.ccs-header-logout-label{display:none}
.ccs-header-logout-confirm{
  position:absolute;right:0;top:calc(100% + 11px);z-index:2147483500;
  width:270px;max-width:calc(100vw - 24px);padding:13px;
  border:1px solid var(--ccs-border);border-radius:13px;
  background:var(--ccs-surface);color:var(--ccs-text);
  box-shadow:0 18px 45px rgba(20,32,48,.20);text-align:left
}
html[data-theme="dark"] .ccs-header-logout-confirm{box-shadow:0 20px 50px rgba(0,0,0,.58)}
.ccs-header-logout-confirm::after{
  content:"";position:absolute;right:22px;top:-7px;width:12px;height:12px;
  background:var(--ccs-surface);border-left:1px solid var(--ccs-border);border-top:1px solid var(--ccs-border);
  transform:rotate(45deg)
}
.ccs-header-logout-confirm[hidden]{display:none!important}
.ccs-header-logout-confirm strong{display:block;margin:0 0 5px;color:var(--ccs-ink);font-size:13px;line-height:1.35}
.ccs-header-logout-confirm p{margin:0;color:var(--ccs-muted);font-size:11px;line-height:1.45}
.ccs-header-logout-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
.ccs-header-logout-cancel,.ccs-header-logout-yes{
  min-height:38px;border-radius:9px;font:800 12px/1 Arial,Helvetica,sans-serif;cursor:pointer
}
.ccs-header-logout-cancel{border:1px solid var(--ccs-border);background:var(--ccs-surface);color:var(--ccs-ink)}
.ccs-header-logout-yes{border:1px solid var(--ccs-orange);background:var(--ccs-orange);color:#fff!important}.ccs-header-logout-yes:hover{border-color:var(--ccs-orange-dark);background:var(--ccs-orange-dark);color:#fff!important}
.ccs-header-logout-cancel:focus-visible,.ccs-header-logout-yes:focus-visible{
  outline:3px solid color-mix(in srgb,var(--ccs-orange) 24%,transparent);outline-offset:2px
}
.ccs-mobile-utilities{display:none;margin-top:14px}
.ccs-mobile-search-action{
  width:100%;min-height:45px;display:flex;align-items:center;justify-content:center;gap:9px;
  border:1px solid var(--ccs-border);border-radius:11px;background:var(--ccs-surface);
  color:var(--ccs-ink);font:inherit;font-size:13px;font-weight:850;cursor:pointer
}
.ccs-mobile-search-action .ccs-icon{width:18px;height:18px;color:var(--ccs-orange)}

.ccs-mobile-account form{margin:0}
.ccs-mobile-account form button{width:100%;min-height:45px;border:0;border-radius:11px;background:var(--ccs-orange);color:#fff!important;font:inherit;font-weight:850;cursor:pointer}
.ccs-footer-account form{margin:0}
.ccs-footer-account form button{padding:9px 12px;border:1px solid var(--ccs-orange);border-radius:9px;background:var(--ccs-orange);color:#fff!important;font:inherit;font-size:12px;font-weight:850;cursor:pointer}

.ccs-mega{display:block!important;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-12px) scale(.992);transform-origin:top center;transition:opacity .24s ease,transform .3s cubic-bezier(.2,.75,.2,1),visibility 0s linear .3s;will-change:opacity,transform}
.ccs-mega.ccs-open{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0) scale(1);transition-delay:0s}
.ccs-mega-inner{padding-top:26px!important}
.ccs-mega-groups{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(215px,1fr))!important;grid-template-rows:auto!important;gap:24px 28px!important}
.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-groups{grid-template-columns:repeat(auto-fit,minmax(215px,1fr))!important;grid-template-rows:auto!important}
.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group{grid-column:auto!important;grid-row:auto!important}
.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:first-child .ccs-mega-links{grid-template-columns:1fr!important}
.ccs-mega-group{min-width:0;padding:14px;border:1px solid var(--ccs-border);border-radius:15px;background:var(--ccs-surface-2)}
.ccs-mega-group h3{margin-bottom:10px!important;color:var(--ccs-orange)!important;font-size:12px!important;font-weight:900!important;letter-spacing:.07em!important}
.ccs-mega-link{min-height:39px!important;padding:5px 7px!important;border:1px solid transparent;transition:background-color .17s ease,border-color .17s ease,transform .17s ease}
.ccs-mega-link:hover,.ccs-mega-link:focus-visible{border-color:color-mix(in srgb,var(--ccs-orange) 28%,var(--ccs-border));background:var(--ccs-orange-soft)!important;transform:translateX(2px)}
.ccs-mega-link-text{font-weight:650!important}
.ccs-mobile-panel{display:block!important;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-12px);transition:opacity .22s ease,transform .28s cubic-bezier(.2,.75,.2,1),visibility 0s linear .28s}
.ccs-mobile-panel.ccs-open{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0);transition-delay:0s}
.ccs-mobile-group-body{display:grid!important;grid-template-rows:0fr;padding:0!important;opacity:0;transition:grid-template-rows .32s cubic-bezier(.2,.75,.2,1),opacity .2s ease}
.ccs-mobile-group-content{min-height:0;overflow:hidden;padding:0 0 0}
.ccs-mobile-group[open] .ccs-mobile-group-body{grid-template-rows:1fr;opacity:1}
.ccs-mobile-group[open] .ccs-mobile-group-content{padding-bottom:17px}
.ccs-mobile-sub strong{color:var(--ccs-orange)!important;font-weight:900!important}
.ccs-mobile-link{transition:border-color .17s ease,background-color .17s ease,transform .17s ease}
.ccs-mobile-link:hover,.ccs-mobile-link:focus-visible{border-color:var(--ccs-orange);background:var(--ccs-orange-soft);transform:translateX(2px)}
.ccs-footer-col h2{color:#fff!important;font-size:13px!important}
.ccs-footer-links a{display:inline-flex;align-items:center;min-height:26px;transition:color .16s ease,transform .16s ease}
.ccs-footer-links a:hover{color:var(--ccs-orange)!important;transform:translateX(2px)}
@media(max-width:900px){.ccs-header-spacer{height:64px;flex-basis:64px}.ccs-mega{display:none!important}.ccs-mobile-panel{top:64px!important}}
@media(max-width:680px){.ccs-mobile-sub{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ccs-mobile-link{min-width:0}.ccs-mobile-link>span:last-child{min-width:0;overflow-wrap:anywhere}.ccs-footer-main{gap:30px!important}.ccs-footer-col{padding-top:4px}}
@media(max-width:430px){.ccs-mobile-sub{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.ccs-mega,.ccs-mobile-panel,.ccs-mobile-group-body,.ccs-nav-btn,.ccs-mega-link,.ccs-mobile-link{transition:none!important;transform:none!important}}

.ccs-favorite-wrap{position:relative;display:inline-flex;flex:0 0 auto}
.ccs-favorite-btn{position:relative}
.ccs-favorite-btn .ccs-favorite-heart{width:19px;height:19px;fill:transparent;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:fill .16s ease,transform .16s ease}
.ccs-favorite-btn.is-active{border-color:var(--ccs-orange);background:var(--ccs-orange-soft);color:var(--ccs-orange)}
.ccs-favorite-btn.is-active .ccs-favorite-heart{fill:currentColor;transform:scale(1.04)}
.ccs-favorite-btn.is-busy{opacity:.62;cursor:wait}
.ccs-favorite-prompt{
  position:absolute;top:calc(100% + 10px);right:0;z-index:2147483645;
  width:min(290px,calc(100vw - 24px));padding:14px;
  border:1px solid var(--ccs-border);border-radius:14px;background:var(--ccs-surface);
  box-shadow:var(--ccs-shadow);color:var(--ccs-text)
}
.ccs-favorite-prompt[hidden]{display:none!important}
.ccs-favorite-prompt::before{
  content:"";position:absolute;right:14px;top:-7px;width:12px;height:12px;
  background:var(--ccs-surface);border-left:1px solid var(--ccs-border);border-top:1px solid var(--ccs-border);
  transform:rotate(45deg)
}
.ccs-favorite-prompt strong{display:block;margin:0 0 5px;color:var(--ccs-ink);font-size:13px;line-height:1.35}
.ccs-favorite-prompt p{margin:0;color:var(--ccs-muted);font-size:11px;line-height:1.5}
.ccs-favorite-prompt-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
.ccs-favorite-prompt-actions a{
  min-height:38px;display:flex;align-items:center;justify-content:center;padding:0 10px;
  border:1px solid var(--ccs-border);border-radius:9px;text-decoration:none;font-size:12px;font-weight:850
}
.ccs-favorite-login{color:var(--ccs-ink);background:var(--ccs-surface)}
.ccs-favorite-signup{border-color:var(--ccs-orange)!important;background:var(--ccs-orange);color:#fff!important}
.ccs-favorite-signup:hover{background:var(--ccs-orange-dark);color:#fff!important}
.ccs-favorite-toast{
  position:fixed;top:132px;right:18px;z-index:2147483646;width:min(330px,calc(100vw - 36px));
  padding:12px 14px;border:1px solid var(--ccs-border);border-radius:12px;background:var(--ccs-surface);
  color:var(--ccs-ink);box-shadow:var(--ccs-shadow);font-size:12px;font-weight:800;line-height:1.4;
  opacity:0;transform:translateY(-7px);pointer-events:none;
  transition:opacity .16s ease,transform .16s ease
}
.ccs-favorite-toast[hidden]{display:none!important}
.ccs-favorite-toast.is-visible{opacity:1;transform:translateY(0)}
.ccs-favorite-toast.is-error{border-color:#fecdca;color:#b42318;background:#fff6f5}
html[data-theme="dark"] .ccs-favorite-toast.is-error{border-color:#5b2420;color:#ffb4ab;background:#241010}
@media(max-width:900px){
  .ccs-favorite-btn{width:38px;height:38px}
  .ccs-favorite-toast{top:76px;left:10px;right:10px;width:auto}
}
@media(max-width:380px){
  .ccs-favorite-btn{width:36px;height:36px}
  .ccs-favorite-prompt{position:fixed;top:70px;right:10px;width:min(290px,calc(100vw - 20px))}
  .ccs-favorite-prompt::before{display:none}
}
@media(prefers-reduced-motion:reduce){
  .ccs-favorite-btn .ccs-favorite-heart,.ccs-favorite-toast{transition:none!important;transform:none!important}
}

.ccs-search-result>span:last-child{min-width:0}.ccs-search-result small{display:block;margin-top:3px;color:var(--ccs-muted);font-size:11px;line-height:1.35}.ccs-search-result[aria-current="page"]{background:var(--ccs-orange-soft)}

/* BEGIN CorrectionCopy header organization - 2026-10-28 */
.ccs-mega .ccs-mega-groups,.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-groups{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.ccs-mega[data-menu-label="Documents"] .ccs-mega-groups,.ccs-mega[data-menu-label="QR & Utilities"] .ccs-mega-groups,.ccs-mega[data-menu-label="Device Tests"] .ccs-mega-groups{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.ccs-mega[data-menu-label="PDF Tools"] .ccs-mega-group:first-child .ccs-mega-links{grid-template-columns:1fr!important}
.ccs-mega .ccs-mega-group{padding:16px;border-radius:14px}
.ccs-mega .ccs-mega-group h3{padding-bottom:10px;margin-bottom:9px!important;border-bottom:1px solid var(--ccs-border);line-height:1.4;letter-spacing:.035em!important}
.ccs-mega .ccs-mega-link-text{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.ccs-nav-btn[data-ccs-trigger="0"]{background:var(--ccs-orange-soft);box-shadow:inset 0 0 0 1px var(--ccs-border)}
.ccs-mega[data-menu-label="Popular"] .ccs-mega-group{background:var(--ccs-surface);border-color:var(--ccs-orange)}
@media(min-width:901px) and (max-width:1180px){.ccs-nav{gap:3px;justify-content:flex-start}.ccs-nav-btn{font-size:13px!important;padding-inline:4px}}
@media(min-width:901px) and (max-width:1120px){.ccs-mega .ccs-mega-groups,.ccs-mega[data-menu-label] .ccs-mega-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.ccs-top{column-gap:8px}.ccs-actions{gap:4px}.ccs-icon-btn,.ccs-menu-btn{width:36px;height:36px}.ccs-theme{width:54px}html[data-theme="dark"] .ccs-theme-knob{transform:translateX(20px)}}
/* Shared category-hub navigation */
.ccs-header .ccs-nav-link{text-decoration:none;white-space:normal!important;overflow-wrap:normal;line-height:1.18;text-align:center;justify-content:center}
.ccs-mobile-hubs{display:grid;gap:8px}
.ccs-mobile-hub{display:flex;align-items:center;min-height:50px;padding:12px 15px;border:1px solid var(--ccs-border);border-radius:11px;background:var(--ccs-surface);color:var(--ccs-ink)!important;text-decoration:none;font-weight:750}
.ccs-mobile-hub:hover,.ccs-mobile-hub:focus-visible{background:var(--ccs-orange-soft);border-color:var(--ccs-orange)}
@media(min-width:768px){
 .ccs-header .ccs-top{width:min(1560px,calc(100% - 28px));min-height:124px;padding:8px 3px 5px;display:flex;flex-wrap:wrap;align-content:start;align-items:center;justify-content:space-between;row-gap:3px}
 .ccs-header .ccs-header-brand{order:1;flex:0 0 auto}
 .ccs-header .ccs-actions{order:2;flex:0 0 auto;margin-left:auto}
 .ccs-header .ccs-nav{order:3;flex:0 0 100%;width:100%;min-height:54px;display:grid!important;grid-template-columns:repeat(9,minmax(0,1fr));gap:clamp(2px,.45vw,8px);margin:0;padding:5px 0 0;border-top:1px solid var(--ccs-border);overflow:visible;align-items:stretch;justify-content:stretch}
 .ccs-header .ccs-nav-link{display:flex;min-width:0;width:100%;min-height:44px;padding:5px clamp(2px,.5vw,8px);font-size:clamp(10px,.85vw,14px)!important;line-height:1.18;white-space:normal!important;align-items:center;justify-content:center}
 .ccs-header .ccs-menu-btn{display:none!important}
 .ccs-header-spacer{height:124px;flex-basis:124px}
}
@media(min-width:768px) and (max-width:1050px){
 .ccs-header .ccs-top{min-height:128px}
 .ccs-header .ccs-nav-link{font-size:11px!important;padding:5px 2px}
 .ccs-header-spacer{height:128px;flex-basis:128px}
 .ccs-header .ccs-actions>.ccs-login{display:inline-flex}
}
@media(max-width:767px){
 .ccs-header .ccs-top{min-height:64px;flex-wrap:nowrap;align-content:center}
 .ccs-header .ccs-nav{display:none!important}
 .ccs-header .ccs-menu-btn{display:grid!important}
 .ccs-header .ccs-actions>[data-ccs-search-open]{display:none!important}
 .ccs-mobile-utilities{display:block}
 .ccs-header .ccs-actions>.ccs-login{display:inline-flex!important;min-height:36px;padding:0 7px;font-size:12px}
 .ccs-header .ccs-profile-button{display:grid}
 .ccs-header .ccs-header-logout-btn{display:inline-flex!important}
 .ccs-header-spacer{height:64px;flex-basis:64px}
}
@media(max-width:420px){
 .ccs-header .ccs-actions{gap:4px}
 .ccs-header .ccs-header-brand-mark{width:34px;height:34px;flex-basis:34px}
 .ccs-header .ccs-header-brand-name{font-size:15px}
 .ccs-header .ccs-theme{width:54px}
 .ccs-header .ccs-profile-button{width:35px;height:35px;flex-basis:35px}
 .ccs-header .ccs-header-logout-btn{width:35px;min-width:35px;min-height:35px}
}
@media(max-width:350px){
 .ccs-header .ccs-header-brand-name{display:none}
 .ccs-header .ccs-actions{gap:3px}
}

/* Compact Popular menu, loaded on demand */
.ccs-header .ccs-popular-trigger{font:inherit;font-weight:850;color:var(--ccs-orange);text-align:center}
.ccs-header .ccs-popular-trigger .ccs-chevron{width:13px;height:13px;flex:0 0 13px;transition:transform .2s ease}
.ccs-header .ccs-popular-trigger[aria-expanded="true"] .ccs-chevron{transform:rotate(180deg)}
.ccs-header .ccs-popular-panel{top:100%;z-index:2147483100;max-height:min(70vh,620px);overflow-y:auto;overscroll-behavior:contain}
.ccs-header .ccs-popular-panel.ccs-open{display:block}
.ccs-header .ccs-popular-panel .ccs-mega-inner{max-width:1280px;padding:20px clamp(20px,4vw,54px) 26px}
.ccs-header .ccs-popular-panel .ccs-mega-groups{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 24px}
.ccs-header .ccs-popular-panel .ccs-mega-group h3{font-size:12px}
.ccs-mobile-popular{border:1px solid color-mix(in srgb,var(--ccs-orange) 25%,var(--ccs-border));border-radius:11px;padding:0 12px;background:var(--ccs-orange-soft)}
.ccs-mobile-popular summary{color:var(--ccs-orange);gap:8px;min-height:50px}
.ccs-mobile-popular summary .ccs-icon{width:16px;height:16px;margin-left:auto}
.ccs-mobile-popular[open] .ccs-mobile-group-body{padding-bottom:12px}
@media(min-width:768px) and (max-width:900px){.ccs-header .ccs-popular-panel.ccs-open{display:block!important}}
@media(min-width:768px) and (max-width:1050px){
.ccs-header .ccs-nav-link{font-size:10px!important;padding:5px 1px;gap:2px}
.ccs-header .ccs-popular-trigger .ccs-chevron{width:11px;height:11px;flex-basis:11px}
.ccs-header .ccs-popular-panel .ccs-mega-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){.ccs-header .ccs-popular-panel{display:none!important}}


/* All category menus reuse the small, deferred Popular panel. */
.ccs-header .ccs-category-trigger{gap:clamp(2px,.3vw,5px);text-decoration:none}
.ccs-header .ccs-category-trigger .ccs-chevron{width:12px;height:12px;flex:0 0 12px;transition:transform .18s ease}
.ccs-header .ccs-category-trigger[aria-expanded="true"] .ccs-chevron{transform:rotate(180deg)}
.ccs-header .ccs-category-panel .ccs-menu-hub-link{display:inline-flex;align-items:center;min-height:38px;padding:8px 16px;margin:0 0 17px clamp(20px,4vw,54px);border:1px solid var(--ccs-orange);border-radius:9px;color:var(--ccs-orange);text-decoration:none;font-weight:800;font-size:13px}
.ccs-header .ccs-category-panel .ccs-menu-hub-link:hover{background:var(--ccs-orange-soft)}
.ccs-mobile-category{border:1px solid var(--ccs-border);border-radius:11px;padding:0 12px;background:var(--ccs-surface)}
.ccs-mobile-category summary{min-height:50px;gap:8px;font-size:14px}
.ccs-mobile-category summary>.ccs-icon{width:16px;height:16px;flex:0 0 16px;margin-left:auto}
.ccs-mobile-category[open] summary{color:var(--ccs-orange)}
.ccs-mobile-category[open] .ccs-mobile-group-body{padding-bottom:12px}
.ccs-mobile-category .ccs-mobile-browse{min-height:42px;justify-content:center;margin:4px 0 13px;border-color:var(--ccs-orange);background:var(--ccs-orange-soft);color:var(--ccs-orange)!important;font-weight:800}
@media(min-width:768px) and (max-width:1050px){.ccs-header .ccs-category-trigger{gap:2px}.ccs-header .ccs-category-trigger .ccs-chevron{width:10px;height:10px;flex-basis:10px}}

/* Consistent orange tool icons across dropdowns and search */
.ccs-mega-link .ccs-mini-icon,.ccs-mobile-link .ccs-mini-icon,.ccs-search-result .ccs-mini-icon{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border:1px solid #ff742e;border-radius:8px;background:#ff742e;color:#fff!important;box-shadow:none}
.ccs-mega-link .ccs-mini-icon .ccs-icon,.ccs-mobile-link .ccs-mini-icon .ccs-icon,.ccs-search-result .ccs-mini-icon .ccs-icon{width:17px;height:17px;color:#fff!important;stroke:currentColor}
.ccs-mega-link:hover .ccs-mini-icon,.ccs-mobile-link:hover .ccs-mini-icon,.ccs-search-result:hover .ccs-mini-icon{background:#ff8b4f;border-color:#ff8b4f;color:#fff!important}
html[data-theme="dark"] .ccs-mega-link .ccs-mini-icon,html[data-theme="dark"] .ccs-mobile-link .ccs-mini-icon,html[data-theme="dark"] .ccs-search-result .ccs-mini-icon{background:#ff742e;border-color:#ff742e;color:#fff!important}

/* Readable calculator pictograms inside existing orange menu icons */
.ccs-mega-link .ccs-mini-icon .ccs-calculator-tool-icon,.ccs-mobile-link .ccs-mini-icon .ccs-calculator-tool-icon{width:22px!important;height:22px!important;flex:0 0 22px;color:#fff!important}

/* END CorrectionCopy header organization */
