/* PM Hub shared shell: tokens, buttons, header, footer. Same rules as the home page, so every page matches. */
.pmhh {
	--ink: #0b1020; --ink-2: #434a63; --mute: #6b7289; --line: #e7e9f0; --line-2: #d9dce6; --soft: #f7f8fb;
	--brand: #6d28d9; --brand-d: #5b21b6; --brand-t: #f3efff; --brand-l: #a78bfa; --ok: #0f9f6e; --r: 16px;
	--sh-1: 0 1px 2px rgba(11,16,32,.05), 0 1px 1px rgba(11,16,32,.03);
	--sh-2: 0 1px 2px rgba(11,16,32,.04), 0 12px 32px -12px rgba(11,16,32,.14);
	--sh-3: 0 2px 6px rgba(11,16,32,.04), 0 32px 72px -28px rgba(46,22,120,.34);
	--ease: cubic-bezier(.2,.7,.2,1);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px; line-height: 1.6; color: var(--ink-2); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.pmhh *, .pmhh *::before, .pmhh *::after { box-sizing: border-box; }
.pmhh h1, .pmhh h2, .pmhh h3, .pmhh p, .pmhh ul, .pmhh ol, .pmhh figure { margin: 0; padding: 0; }
.pmhh ul, .pmhh ol { list-style: none; }
.pmhh a { color: inherit; text-decoration: none; }
.pmhh img, .pmhh svg { display: block; max-width: 100%; }
.pmhh button, .pmhh input, .pmhh select { font: inherit; color: inherit; }
.pmhh h1, .pmhh h2, .pmhh h3 { color: var(--ink); font-family: inherit; }
.pmhh :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.pmhh [hidden] { display: none !important; }
.pmhh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pmhh-skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff !important; padding: 8px 16px; border-radius: 8px; font-weight: 600; }
.pmhh-skip:focus { top: 12px; }
.pmhh-w { width: min(1200px, 100% - 48px); margin-inline: auto; }
.pmhh-ar { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.pmhh-ck { width: 16px; height: 16px; flex: none; }

/* buttons */
.pmhh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; background: var(--brand); color: #fff !important; font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 2px rgba(46,16,101,.2), inset 0 1px 0 rgba(255,255,255,.14); transition: background .2s, box-shadow .2s, transform .2s var(--ease), border-color .2s; }
.pmhh-btn:hover { background: var(--brand-d); box-shadow: 0 6px 16px -6px rgba(91,33,182,.55), inset 0 1px 0 rgba(255,255,255,.14); }
.pmhh-btn:hover .pmhh-ar, .pmhh-tl:hover .pmhh-ar, a:hover > .pmhh-ga .pmhh-ar { transform: translateX(3px); }
.pmhh-btn:active { transform: translateY(1px); }
.pmhh-btn--lg { height: 52px; padding: 0 24px; font-size: 16px; }
.pmhh-btn--ghost { background: #fff; color: var(--ink) !important; border-color: var(--line-2); box-shadow: var(--sh-1); }
.pmhh-btn--ghost:hover { background: var(--soft); border-color: #c9cddb; box-shadow: var(--sh-1); }
.pmhh-btn--light { background: #fff; color: var(--ink) !important; box-shadow: none; }
.pmhh-btn--light:hover { background: var(--brand-t); box-shadow: none; }
.pmhh-btn--block { width: 100%; }
.pmhh-btn--hd { height: 40px; padding: 0 16px; font-size: 14px; }
.pmhh-tl { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--brand) !important; }

/* header (fixed on inner pages, pages keep their own top padding) */
.pmhh-hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.pmhh-hd.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 16px -12px rgba(11,16,32,.18); }
.pmds-fixed { position: fixed !important; top: 0; left: 0; right: 0; z-index: 9000; background: rgba(255,255,255,.92); }
.admin-bar .pmhh-hd { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .pmhh-hd { top: 46px; } }
.pmhh-hd-in { height: 72px; display: flex; align-items: center; gap: 40px; }
.pmhh-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.pmhh-mark svg { width: 32px; height: 32px; }
.pmhh-wm { font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.pmhh-nav { display: flex; align-items: center; gap: 4px; }
.pmhh-nav > a, .pmhh-ddb { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.pmhh-nav > a:hover, .pmhh-ddb:hover, .pmhh-dd.is-open .pmhh-ddb { color: var(--ink); background: var(--soft); }
.pmhh-ddb svg { display: block !important; width: 12px; height: 12px; flex: none; transition: transform .25s var(--ease); }
.pmhh-dd { position: relative; }
.pmhh-dd.is-open .pmhh-ddb svg { transform: rotate(180deg); }
.pmhh-mega { position: absolute; top: calc(100% + 10px); left: -16px; width: 600px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 56px -20px rgba(11,16,32,.28); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; overflow: hidden; }
.pmhh-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.pmhh-dd.is-open .pmhh-mega { opacity: 1; visibility: visible; transform: none; }
.pmhh-mega-in { padding: 20px; }
.pmhh-mega-k { font-size: 12px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; padding: 0 8px 8px; }
.pmhh-mega ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pmhh-mega li a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 8px; border-radius: 12px; transition: background .2s; }
.pmhh-mega li a:hover { background: var(--soft); }
.pmhh-mi { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--brand-t); color: var(--brand); display: grid; place-items: center; }
.pmhh-mi svg { width: 18px; height: 18px; }
.pmhh-mega li b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.pmhh-mega li small { display: block; font-size: 13px; color: var(--mute); margin-top: 2px; }
.pmhh-mega-f { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; background: var(--soft); border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.pmhh-mega-f b { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; white-space: nowrap; }
.pmhh-hd-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.pmhh-search { position: relative; display: flex; align-items: center; }
.pmhh-search svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--mute); pointer-events: none; }
.pmhh-search input { width: 180px; height: 40px; padding: 0 12px 0 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); font-size: 14px; transition: border-color .2s, background .2s, width .3s var(--ease); }
.pmhh-search input:focus { outline: none; border-color: var(--brand-l); background: #fff; width: 220px; box-shadow: 0 0 0 4px var(--brand-t); }
.pmhh-hd-l { white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 0 8px; }
.pmhh-hd-l:hover { color: var(--ink); }
.pmhh-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; padding: 0; }
.pmhh-burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.pmhh-burger span:first-child { top: 15px; } .pmhh-burger span:last-child { top: 23px; }
.pmhh-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.pmhh-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.pmhh-drawer { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 72px); overflow: auto; }
.pmhh-drawer .pmhh-w { padding: 16px 0 24px; }
.pmhh-drawer .pmhh-mega-k { padding: 16px 0 8px; }
.pmhh-drawer a { display: block; padding: 10px 0; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--soft); }

/* footer */
.pmhh-ft { background: var(--soft); border-top: 1px solid var(--line); padding: 80px 0 32px; font-size: 14px; margin-top: 80px; }
.pmhh-ft-g { display: grid; grid-template-columns: 1.6fr 1.2fr .8fr .8fr; gap: 48px; }
.pmhh-ft-b p { margin-top: 16px !important; max-width: 340px; color: var(--mute); line-height: 1.6; }
.pmhh-ft-b .pmhh-ft-tag { font-weight: 700; color: var(--ink); }
.pmhh-ft-k { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 16px !important; }
.pmhh-ft ul { display: grid; gap: 10px; }
.pmhh-ft ul a { color: var(--ink-2); transition: color .2s; }
.pmhh-ft ul a:hover { color: var(--brand); }
.pmhh-ft-bar { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: var(--mute); font-size: 13px; }
.pmhh-ft-bar span:last-child { display: flex; gap: 24px; }
.pmhh-ft-bar a:hover { color: var(--ink); }

@media (max-width: 1180px) { .pmhh-search { display: none; } .pmhh-hd-in { gap: 24px; } }
@media (max-width: 1024px) {
	.pmhh-nav, .pmhh-hd-l { display: none; }
	.pmhh-burger { display: block; }
	.pmhh-ft-g { grid-template-columns: 1fr 1fr; }
	.pmhh-ft-b { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.pmhh-w { width: min(1200px, 100% - 40px); }
	.pmhh-hd-in { height: 64px; }
	.pmhh-btn--hd { display: none; }
	.pmhh-ft-g { grid-template-columns: 1fr; gap: 32px; }
	.pmhh-ft-bar { flex-direction: column; }
}
