/* Executive Glass R4.1 materials, with Caden's subsequent 12px action corners.
   Identical shared component source is served by public and application shells.
   No permission, scoring, publication, data or event handling is defined here. */
:is(body.gw-home,body.service-page,body.eg-app){
 --gw-glass-ink:#12344d;
 --gw-glass-edge:#496d86;
 --gw-glass-focus:#173f60;
 --gw-glass-rest:linear-gradient(180deg,#ffffffa6 0%,#ffffff18 42%,#ffffff00 52%),radial-gradient(ellipse at 28% -20%,#ffffffe6,transparent 68%),linear-gradient(155deg,#f5f5f5c9,#d6d6d6b8 43%,#b6b6b6c7 78%,#e9e9e9c4);
 --gw-glass-hover:linear-gradient(180deg,#ffffffcc 0%,#ffffff24 42%,#ffffff00 52%),radial-gradient(ellipse at 28% -20%,#fff,transparent 68%),linear-gradient(155deg,#f9f9f9d9,#e0e0e0cc 43%,#c4c4c4d4 78%,#f0f0f0cc);
 --gw-glass-shadow:0 4px 0 #41647f69,0 9px 18px #23496736,inset 0 2px 2px #fffffff2,inset 0 -2px 4px #3c779a40,inset 0 0 0 2px #ffffff45;
}
/* Actions use a defined blue edge as well as a luminous decorative rim. Text
   links and the approved text-only motion controls deliberately stay text. */
:is(body.gw-home,body.service-page,body.eg-app) :is(
 .btn,.glass-button,.service-link,.gw-app-button,.nav-cta,.menu,.gw-back-to-top,.service-menu a,.service-related a,
 .eg-family-links a,.eg-context-return,.rail-link,.gtm-draft-tools a,.report-nav a,
 .boardroom-switch,details>summary,
 button:not(:where(.gw-motion,.gw-career-motion,.text-control,.link,#gwInlinePause,#gwInlineReplay,.gw-wall-preview))
){
 color:var(--gw-glass-ink)!important;
 background:var(--gw-glass-rest)!important;
 border:1px solid var(--gw-glass-edge)!important;
 border-radius:12px!important;
 box-shadow:var(--gw-glass-shadow)!important;
 backdrop-filter:blur(14px) saturate(1.12);
 -webkit-backdrop-filter:blur(14px) saturate(1.12);
 transition:transform 160ms ease,box-shadow 160ms ease,border-color 160ms ease,background-color 160ms ease;
 cursor:pointer;
 text-shadow:none;
 max-width:100%;
 overflow-wrap:anywhere;
}
:is(body.gw-home,body.service-page,body.eg-app) :is(
 .btn,.glass-button,.service-link,.gw-app-button,.nav-cta,.menu,.gw-back-to-top,.service-menu a,.service-related a,
 .eg-family-links a,.eg-context-return,.rail-link,.gtm-draft-tools a,.report-nav a,
 .boardroom-switch,details>summary,
 button:not(:where(.gw-motion,.gw-career-motion,.text-control,.link,#gwInlinePause,#gwInlineReplay,.gw-wall-preview))
):is(:focus-visible,:has(>input:focus-visible)){
 outline:3px solid var(--gw-glass-focus)!important;
 outline-offset:4px;
 box-shadow:0 4px 0 #41647f69,0 9px 20px #23496745,inset 0 2px 3px #fff,inset 0 0 0 2px #ffffff8c!important;
}
@media(hover:hover) and (pointer:fine){
 :is(body.gw-home,body.service-page,body.eg-app) :is(
  .btn,.glass-button,.service-link,.gw-app-button,.nav-cta,.menu,.gw-back-to-top,.service-menu a,.service-related a,
  .eg-family-links a,.eg-context-return,.rail-link,.gtm-draft-tools a,.report-nav a,
  .boardroom-switch,details>summary,
  button:not(:where(.gw-motion,.gw-career-motion,.text-control,.link,#gwInlinePause,#gwInlineReplay,.gw-wall-preview))
 ):hover:not(:disabled,[aria-disabled=true]){
  background:var(--gw-glass-hover)!important;
  border-color:#315f81!important;
  transform:translateY(-2px);
  box-shadow:0 5px 0 #41647f69,0 13px 24px #23496745,inset 0 2px 3px #fff,inset 0 -2px 5px #4c8bad45,inset 0 0 0 2px #ffffff70!important;
 }
}
:is(body.gw-home,body.service-page,body.eg-app) :is(
 .btn,.glass-button,.service-link,.gw-app-button,.nav-cta,.menu,.gw-back-to-top,.service-menu a,.service-related a,
 .eg-family-links a,.eg-context-return,.rail-link,.gtm-draft-tools a,.report-nav a,
 .boardroom-switch,details>summary,
 button:not(:where(.gw-motion,.gw-career-motion,.text-control,.link,#gwInlinePause,#gwInlineReplay,.gw-wall-preview))
):active:not(:disabled,[aria-disabled=true]){
 transform:translateY(1px);
 box-shadow:0 1px 0 #41647f80,0 3px 7px #2349672e,inset 0 2px 5px #497a9840,inset 0 0 0 2px #ffffff5c!important;
}
:is(body.gw-home,body.service-page,body.eg-app) :is(button,.btn,.glass-button,.service-link,[role=button]):is(:disabled,[aria-disabled=true]){
 color:#455c6b!important;background:linear-gradient(150deg,#ebebeb,#d5d5d5)!important;
 border-color:#8396a3!important;box-shadow:inset 0 1px 2px #ffffffa6!important;
 opacity:1!important;cursor:not-allowed;transform:none!important;
}
/* Links styled as controls and checkbox-backed report tools keep their native
   semantics. Their labels can wrap rather than clipping enlarged words. */
.eg-app :is(.rail-link,.eg-family-links a,.eg-context-return,.gtm-draft-tools a,.report-nav a),
body.service-page :is(.service-menu a,.service-related a){
 min-height:44px;white-space:normal;line-height:1.5;text-decoration:none;
}
.eg-app :is(.rail-link.is-current,.eg-family-links a[aria-current]),
body.service-page .service-menu a[aria-current=page]{
 border-color:#285e81!important;box-shadow:var(--gw-glass-shadow),inset 0 0 0 1px #285e81!important;
 font-weight:700;text-decoration:underline;text-underline-offset:.2em;
}
.eg-app .boardroom-switch{line-height:1.5;white-space:normal}
.eg-app .boardroom-switch:has(input:checked){border-color:#285e81!important}
/* Answer cards retain their approved card radius and native radio/checkbox.
   A raised surface at rest makes their interaction visible without hover. */
.eg-app :is(.choice,.answer-option,.answer-card,.option):has(input:not([type=hidden])){
 color:#1c2934;background:linear-gradient(150deg,#ffffffc9,#ecececc4);
 border-color:var(--gw-glass-edge);box-shadow:0 3px 0 #5d7b902e,0 7px 14px #2349671f,inset 0 2px 2px #ffffffe6;
 cursor:pointer;
}
.eg-app :is(.choice,.answer-option,.answer-card,.option):has(input:checked){
 background:linear-gradient(145deg,#f4f4f4ed,#d7d7d7d9);border-color:#285e81;
 box-shadow:0 3px 0 #41647f4d,0 7px 14px #2349672e,inset 0 0 0 1px #285e81,inset 0 2px 2px #fff;
}
.eg-app :is(.choice,.answer-option,.answer-card,.option):has(input:focus-visible){outline:3px solid #173f60;outline-offset:4px}
@media(hover:hover) and (pointer:fine){
 .eg-app :is(.choice,.answer-option,.answer-card,.option):has(input:not(:disabled)):hover{transform:translateY(-2px);box-shadow:0 4px 0 #41647f4d,0 10px 20px #2349672e,inset 0 2px 2px #fff}
}
.eg-app :is(.choice,.answer-option,.answer-card,.option):has(input:disabled){color:#455c6b;background:#e6e6e6;border-color:#8396a3;box-shadow:none;cursor:not-allowed;transform:none}
/* Public summary prose is directly on the page, including the identified
   Implementation and Advisory aside. Keep its existing position and spacing. */
body.service-page .service-summary,
body.service-page .section>.container{background:transparent!important;border-color:transparent!important;box-shadow:none!important;backdrop-filter:none}
body.service-page .nav .gw-login-nav{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#273b4b}
/* Shared shell surfaces and fields use the approved slate and readable ink;
   preserve the content hierarchy and report status/evidence qualifications. */
.eg-app{
 --paper:#e9ebeb;--surface:#fafbf8cc;--surface-sunk:#e8e8e8;--paper-2:#e2e2e2;
 --ink:#1c2934;--ink-2:#273b4b;--ink-3:#405565;--line:#b3b3b3;--line-strong:#7d95a7;
 --accent:#244e70;--accent-ink:#194968;--accent-soft:#ebebeb;
 --risk:#7b4d18;--risk-soft:#fcf3e5;--risk-line:#b19a71;
 --crit:#74252b;--crit-soft:#fff1f0;--crit-line:#b85a50;
 --good:#194e3d;--good-soft:#edf8f2;--good-line:#629782;
 --watch:#6c4e18;--watch-soft:#faf4e5;--watch-line:#a88b4b;--neutral-soft:#e8e8e8;
 --sans:GridwardBody,ReadinessSans,Arial,sans-serif;--serif:GridwardHeading,ReadinessHead,Arial,sans-serif;
 --radius:24px;--skip-bg:#173f60;--skip-ink:#fff;--btn-ink:#12344d;--tier-pill-border:#8fa4b3;
 --avatar-bg:#e0e0e0;--avatar-ink:#24465e;
 background:linear-gradient(90deg,#eeefed,#e0e0e0 49%,#cdcdcd);color:#1c2934;
}
.eg-app :is(.card,.panel,.empty){background:linear-gradient(135deg,#fafbf8c7,#ebebebb3);border-color:#b3b3b3;border-radius:24px;box-shadow:0 10px 30px #263e5110,inset 0 1px 1px #ffffffb3;backdrop-filter:blur(10px)}
.eg-app :is(.masthead,.eg-evaluation-surface>header){background:#ecececb8}
.eg-app :is(input,select,textarea):not([type=checkbox],[type=radio],[type=hidden]){border-color:var(--gw-glass-edge);background:#f8fcfbe6;box-shadow:inset 0 2px 5px #2b455112;border-radius:12px;color:#1c2934}
@media(prefers-reduced-motion:reduce){
 :is(body.gw-home,body.service-page,body.eg-app) :is(button,.btn,.glass-button,.service-link,.gw-app-button,.service-menu a,.service-related a,.rail-link,.eg-family-links a,.gtm-draft-tools a,.report-nav a,details>summary,.boardroom-switch){transition:none!important;transform:none!important}
 .eg-app :is(.choice,.answer-option,.answer-card,.option){transition:none!important;transform:none!important}
}
@media print{
 :is(body.gw-home,body.service-page,body.eg-app) :is(button,.btn,.glass-button,.service-link,.gw-app-button,.service-menu a,.service-related a,.rail-link,.eg-family-links a,.gtm-draft-tools a,.report-nav a,details>summary,.boardroom-switch){color:#1c2934!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;transform:none!important}
}

/* Disabled fields remain visibly distinct from editable glass fields. */
.eg-app :is(input,select,textarea):disabled{color:#455c6b;background:#e6e6e6;border-color:#8396a3;box-shadow:inset 0 1px 2px #ffffffa6;cursor:not-allowed}

/* Match the document canvas as well as the body; prevent legacy navy from
   appearing below short pages or in the remaining area of the last print page. */
html:has(>body.eg-app){background:#e0e0e0}
@media print{html:has(>body.eg-app),body.eg-app{background:#fff!important}}

/* Consistent forward hover motion for every button/control, including text-only
   motion controls; backgrounds and animation contents remain unchanged. */
:is(body.gw-home,body.service-page,body.eg-app) :is(button,a.btn,a.glass-button,a.service-link,a.gw-app-button,[role=button],.menu,.nav-cta,.gw-back-to-top,.service-menu a,.service-related a,.eg-family-links a,.eg-context-return,.rail-link,.gtm-draft-tools a,.report-nav a,.boardroom-switch,details>summary){transition:transform 160ms ease,box-shadow 160ms ease,border-color 160ms ease,background-color 160ms ease}
@media(hover:hover) and (pointer:fine){
 :is(body.gw-home,body.service-page,body.eg-app) :is(button,a.btn,a.glass-button,a.service-link,a.gw-app-button,[role=button],.menu,.nav-cta,.gw-back-to-top,.service-menu a,.service-related a,.eg-family-links a,.eg-context-return,.rail-link,.gtm-draft-tools a,.report-nav a,.boardroom-switch,details>summary):hover:not(:disabled,[aria-disabled=true],:active){transform:perspective(800px) translateY(-2px) translateZ(8px)}
}
@media(prefers-reduced-motion:reduce){
 :is(body.gw-home,body.service-page,body.eg-app) :is(button,a.btn,a.glass-button,a.service-link,a.gw-app-button,[role=button],.menu,.nav-cta,.gw-back-to-top,.service-menu a,.service-related a,.eg-family-links a,.eg-context-return,.rail-link,.gtm-draft-tools a,.report-nav a,.boardroom-switch,details>summary){transition:none!important;transform:none!important}
}
@media print{
 :is(body.gw-home,body.service-page,body.eg-app) :is(button,a.btn,a.glass-button,a.service-link,a.gw-app-button,[role=button],.menu,.nav-cta,.gw-back-to-top,.service-menu a,.service-related a,.eg-family-links a,.eg-context-return,.rail-link,.gtm-draft-tools a,.report-nav a,.boardroom-switch,details>summary){transform:none!important}
}

/* Public interaction contract: measured homepage header reference = 1px lift,
   160ms easing. Cover semantic targets, not a hand-maintained button class list.
   The app stylesheet is deliberately unchanged by this public-only correction. */
body:is(.gw-home,.service-page) :is(a[href],button,summary,[role="button"]){
 transition:transform 160ms ease,box-shadow 160ms ease,filter 160ms ease,background-color 160ms ease!important;
}
/* Inline anchors need their own transformable box. Keep ordinary links as
   underlined text, not oversized buttons; card links retain their own layout. */
body:is(.gw-home,.service-page) a[href]:where(:not([class]),.text-link,.service-back-button,.gw-client-signin){
 display:inline-block;max-width:100%;overflow-wrap:anywhere;
}
body:is(.gw-home,.service-page) :is(.nav-links a,.gw-login-nav,.breadcrumbs a,.text-link,.service-back-button,.eg-engagement-note>a,.text-control){
 text-shadow:0 1px 0 #ffffffb3;
 text-decoration:underline;text-underline-offset:.22em;
}
body:is(.gw-home,.service-page) .nav :is(.nav-links a,.gw-login-nav){text-decoration:none}
/* A single native link makes each guide's title, copy and CTA one real target.
   No click handler or nested interactive target is introduced. */
body.gw-home .home-guide-card{padding:0;overflow:visible}
body.gw-home .home-guide-link{
 display:flex;flex-direction:column;min-height:100%;padding:28px;margin:0;
 color:inherit;text-decoration:none;border-radius:inherit;max-width:100%;
 background:linear-gradient(135deg,#fafbf8f7,#eff3f4ed);
 border:1px solid #8fa4b3;box-shadow:0 3px 0 #5d7b902e,0 7px 14px #2349671f,inset 0 2px 2px #ffffffe6;
}
body.gw-home .home-guide-link .text-link{margin-top:auto;text-decoration:underline;text-underline-offset:.22em}
/* Secondary actions are still visibly raised at rest. Motion-only controls
   remain text-only, as approved; nav and breadcrumbs remain ordinary links. */
body:is(.gw-home,.service-page) .text-control.open-session{
 color:var(--gw-glass-ink)!important;background:var(--gw-glass-rest)!important;
 border:1px solid var(--gw-glass-edge)!important;border-radius:12px!important;
 box-shadow:var(--gw-glass-shadow)!important;padding:10px 16px;
}
body:is(.gw-home,.service-page) :is(a[href],button,summary,[role="button"]):focus-visible{
 outline:3px solid #173f60!important;outline-offset:4px;
 transform:translateY(-1px)!important;filter:drop-shadow(0 3px 3px #23496745);
}
@media(hover:hover) and (pointer:fine){
 body:is(.gw-home,.service-page) :is(a[href],button,summary,[role="button"]):hover:not(:disabled,[aria-disabled="true"],:active){
  transform:translateY(-1px)!important;filter:drop-shadow(0 3px 3px #23496745);
 }
 body:is(.gw-home,.service-page) :is(.nav-links a,.gw-login-nav,.breadcrumbs a,.text-link,.service-back-button):hover{
  color:#12344d;text-decoration:underline;text-underline-offset:.22em;
 }
}
body:is(.gw-home,.service-page) :is(a[href],button,summary,[role="button"]):active:not(:disabled,[aria-disabled="true"]){
 transform:translateY(1px)!important;filter:drop-shadow(0 1px 1px #23496736);
}
body:is(.gw-home,.service-page) :is(a[href],button,summary,[role="button"]):is(:disabled,[aria-disabled="true"]){
 transform:none!important;filter:none!important;cursor:not-allowed;
}
/* Do not lift illustration panels or ordinary prose merely because they have
   the same legacy card class as an action. Current breadcrumb text is untouched. */
body:is(.gw-home,.service-page) :is(.artifact,.journey-card,.tier,.xf-card):not(a[href],button,[role="button"]):hover{transform:none!important}
/* Leave room for the lift/focus ring without clipping header or card targets. */
body:is(.gw-home,.service-page) :is(.nav-inner,.service-actions,.eg-engagement-note,.home-guide-grid,.service-related,.breadcrumbs){overflow:visible}
body:is(.gw-home,.service-page) .nav .nav-links.open{padding-top:20px;padding-bottom:20px}
@media(max-width:760px){body.gw-home .home-guide-link{padding:24px}}
@media(prefers-reduced-motion:reduce){
 body:is(.gw-home,.service-page) :is(a[href],button,summary,[role="button"]){transition:none!important}
 body:is(.gw-home,.service-page) :is(a[href],button,summary,[role="button"]):is(:hover,:focus-visible,:active):not(:disabled,[aria-disabled="true"]){transform:none!important}
}
@media print{
 body:is(.gw-home,.service-page) :is(a[href],button,summary,[role="button"]){transform:none!important;filter:none!important;box-shadow:none!important}
}
