/* A light, consistent way out of a page without competing with its content. */
.ky-page-nav[hidden]{display:none!important}
.ky-page-nav{display:flex;align-items:center;gap:4px;margin:0 0 12px;min-width:0}
.ky-page-nav button,.ky-page-nav a,.ky-document-home{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 11px;border:0;border-radius:8px;background:transparent;color:#5a388a;font:600 14px/1.35 inherit;text-decoration:none;cursor:pointer;box-shadow:none}
.ky-page-nav button,.ky-page-nav a{font-family:inherit;font-size:14px;font-weight:600;line-height:1.35}
.ky-page-nav button:hover,.ky-page-nav a:hover,.ky-document-home:hover{background:#f4f2f7;color:#492e71}
.ky-page-nav :is(button,a):focus-visible,.ky-document-home:focus-visible{outline:3px solid #5a388a;outline-offset:2px}
.ky-page-nav .ky-nav-arrow{font-size:20px;font-weight:400;line-height:1}
.ky-page-nav .ky-nav-separator{height:18px;border-left:1px solid #dfd9e8;margin:0 2px}
body.category-page .category-page-back{display:none!important}
body.app-subview .listing-breadcrumb{display:none!important}
body.app-subview .results-section{padding-top:16px!important;padding-bottom:40px!important}
/* Related copy and actions stay together. Secondary choices stay visually light. */
.home118 .home118-feature{justify-content:flex-start!important;box-shadow:none!important}
.home118 .home118-feature h2{margin:0 0 4px!important}
.home118 .home118-feature>p:not(.feature-label){margin:0 0 5px!important}
.home118 .feature-actions,.home118 .exchange-home-actions{display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:0 10px!important;margin:0!important}
.home118 .feature-primary,.home118 .feature-link{display:inline-flex!important;align-items:center;min-height:44px!important;padding:5px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#5a388a!important;font-size:14px!important;font-weight:650!important;text-decoration:none;line-height:1.3!important;white-space:normal!important;text-align:left}
.home118 .feature-primary:hover,.home118 .feature-link:hover{text-decoration:underline}
.home118 .feature-exchange .feature-link{margin:0!important}
:is(.account-page-heading,.account-welcome)>div :is(h1,h2){margin-bottom:4px}
:is(.account-page-heading,.account-welcome)>div p{margin-top:4px;line-height:1.45}
.ky-document-home{font-family:inherit;font-size:14px;font-weight:600;line-height:1.35;padding-left:0;margin:8px 0 12px}
@media(max-width:760px){
 body.app-subview .results-section{padding-top:8px!important;padding-bottom:28px!important}
 .ky-page-nav{margin-bottom:8px}
 .home118 .home118-feature{padding:10px 12px!important}
 .home118 .feature-actions,.home118 .exchange-home-actions{gap:0 10px!important}
 .home118 .feature-primary,.home118 .feature-link{min-height:44px!important}
}
@media(prefers-color-scheme:dark){.ky-page-nav :is(button,a),.ky-document-home{color:#e0dae9}.ky-page-nav :is(button,a):hover,.ky-document-home:hover{background:#38313f;color:#fff}.ky-page-nav .ky-nav-separator{border-color:#5b526a}.home118 .feature-primary,.home118 .feature-link{color:#e0dae9!important}}

/* Keep the desktop introduction and category shortcuts close to their content. */
@media(min-width:761px){
 .home118 .home118-features{align-self:start!important;align-items:start!important}
 .home118 .home118-feature{min-height:0!important}
 .category-hero{grid-template-columns:minmax(0,1fr) 160px;min-height:0;gap:24px;padding:20px 24px}
 .category-hero-image{max-width:160px}
 .category-hero h1{font-size:30px;margin:5px 0}
 .category-hero-search{margin-top:10px}
 .category-quick{margin:18px 0 16px}
 .category-quick-head{margin-bottom:10px}
 .category-shortcut{min-height:52px;padding:10px 14px}
}

/* Avoid duplicate navigation and keep account summaries tight. */
.x113-quick-nav{display:none!important}
@media(max-width:760px){.m106-listing-bar>[data-action="listing-back"]{display:none!important}}
.u16-overview-group{padding:14px 16px;margin:10px 0;border-radius:10px}
.u16-overview-group .account-section-head{margin:0 0 8px!important;gap:8px}
.u16-overview-group>p{margin:6px 0 10px;line-height:1.45}
.u16-overview-task{padding:12px 0}.u16-overview-task p{margin:6px 0}

/* The action center should not dominate the catalogue or the profile. */
.launch-center{width:100%;max-width:850px;margin:0 0 16px;padding:12px 14px;border:1px solid #e5e1ec;border-radius:10px;background:#faf9fc;box-shadow:none}
.launch-center-head{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:32px;padding:0}
.launch-center-head .eyebrow,.launch-center-head p{display:none}
.launch-center h2{margin:0;font-size:16px;line-height:1.35}
.launch-center .launch-count{display:grid;place-items:center;width:24px;min-width:24px;height:24px;margin-left:0;border-radius:6px;background:#f0edf4;color:#5a388a;font-size:13px;font-weight:700}
.launch-center>summary:after{margin-left:auto}
.launch-center[open]>summary:after{transform:rotate(225deg);margin-bottom:-4px}
.launch-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 0;padding:0}
.launch-action{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:3px 12px;min-width:0;min-height:60px;padding:9px 11px;border:1px solid #e5e1ec;border-radius:8px;background:#fff;box-shadow:none;transform:none!important}
.launch-action strong,.launch-action span{grid-column:1;min-width:0;overflow-wrap:anywhere;line-height:1.35}
.launch-action strong{font-size:14px}.launch-action span{font-size:14px;color:#625c69}
.launch-action b{grid-column:2;grid-row:1 / 3;align-self:center;white-space:nowrap;font-size:14px}
.launch-center summary:focus-visible,.launch-action:focus-visible{outline:3px solid #5a388a;outline-offset:2px}
@media(max-width:760px){
 .launch-center{max-width:none;margin-bottom:12px;padding:0;border:0;border-block:1px solid var(--line);border-radius:0;background:var(--ui-surface)}
 .launch-center-head{padding:6px 0;min-height:44px}
 .launch-actions{grid-template-columns:minmax(0,1fr);margin:0;padding:4px 0 8px}
 .launch-action{min-height:56px}
}
@media(prefers-color-scheme:dark){.launch-center{background:var(--ui-surface);border-color:var(--line)}.launch-center .launch-count{background:#38313f;color:#e0dae9}.launch-action{background:var(--ui-surface);border-color:var(--line)}.launch-action span{color:var(--muted)}}
