/* Hanguk Pathway Tools: styles for the deadlines, MOU and self-assessment pages.
   Matches the site design: navy #0B2545, green #1E7B3C, mint #E3F1E7, cream #F8F8F4,
   ink #46536A, font Plus Jakarta Sans. Mobile-first. */

.hp-app {
	--hp-navy: #0B2545; --hp-green: #1E7B3C; --hp-green-2: #2E9E55; --hp-mint: #E3F1E7; --hp-cream: #F8F8F4;
	--hp-ink: #46536A; --hp-line: #E6E9EE; --hp-coral: #E5576F; --hp-amber: #B26200; --hp-amber-bg: #FFF4E0;
	display: block; width: 100%; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 15px; line-height: 1.55;
	color: var(--hp-ink); text-align: left; cursor: auto; white-space: normal;
}
.hp-app *, .hp-app *::before, .hp-app *::after { box-sizing: border-box; }
.hp-app h3, .hp-app h4 { font-family: inherit; color: var(--hp-navy); margin: 0; font-weight: 800; letter-spacing: -0.01em; }
.hp-app p { margin: 0; }
.hp-app a { color: inherit; }
.hp-loading, .hp-muted { color: #8A95A6; }
.hp-noscroll { overflow: hidden; }

/* Buttons */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s; }
.hp-btn:focus-visible, .hp-link:focus-visible, .hp-app select:focus-visible, .hp-app input:focus-visible, .hp-cal-chip:focus-visible { outline: 3px solid #8FD6A5; outline-offset: 2px; }
.hp-btn-small { padding: 9px 14px; font-size: 13px; }
.hp-btn-dark { background: var(--hp-navy); color: #fff !important; }
.hp-btn-dark:hover { background: var(--hp-green); }
.hp-btn-green { background: var(--hp-green); color: #fff !important; }
.hp-btn-green:hover { background: var(--hp-navy); }
.hp-btn-light { background: #fff; border-color: #D5DBE3; color: var(--hp-navy) !important; }
.hp-btn-light:hover { border-color: var(--hp-navy); }
.hp-btn-wa { background: #25D366; color: #fff !important; }
.hp-btn-wa:hover { background: #1DA851; }
.hp-btn[disabled] { opacity: .6; cursor: wait; }
.hp-link { background: none; border: 0; padding: 4px 2px; font-family: inherit; font-weight: 700; font-size: 13px; line-height: 1.3; color: var(--hp-navy); text-decoration: underline; cursor: pointer; }
.hp-link:hover { color: var(--hp-green); }

/* Toolbar + filters */
.hp-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding: 16px; margin: 0 0 12px; background: #fff; border: 1px solid var(--hp-line); border-radius: 20px; }
.hp-ctl { display: flex; flex-direction: column; gap: 4px; min-width: 140px; flex: 1 1 140px; }
.hp-ctl-grow { flex: 3 1 220px; }
.hp-ctl span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hp-ink); }
.hp-app select, .hp-app input[type="text"], .hp-app input[type="search"], .hp-app input[type="email"], .hp-app input[type="tel"], .hp-app input[type="number"], .hp-app input:not([type]) {
	width: 100%; min-height: 44px; padding: 10px 12px; background: var(--hp-cream); border: 1px solid #DDE2E8; border-radius: 12px; font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--hp-navy);
}
.hp-seg { display: inline-flex; padding: 4px; background: var(--hp-cream); border: 1px solid #DDE2E8; border-radius: 999px; }
.hp-seg button { padding: 9px 16px; background: transparent; border: 0; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1; color: var(--hp-navy); cursor: pointer; }
.hp-seg button.is-on { background: var(--hp-navy); color: #fff; }
.hp-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--hp-mint); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--hp-green); cursor: pointer; }
.hp-toggle input { width: 18px; height: 18px; accent-color: var(--hp-green); }

/* Notes */
.hp-dl-note { padding: 14px 18px; margin: 0 0 14px; background: var(--hp-amber-bg); border: 1px solid #F3D29B; border-radius: 16px; color: #6B4A12; font-size: 14px; }
.hp-dl-note strong { color: #4A3208; }
.hp-dl-updated { margin: 0 0 14px; font-size: 13px; color: #8A95A6; }
.hp-disclaimer { margin: 18px 0 0; padding: 14px 18px; background: #F1F4F8; border-radius: 14px; font-size: 13px; line-height: 1.6; color: var(--hp-ink); }
.hp-empty { padding: 28px; background: #fff; border: 1px dashed #CBD3DD; border-radius: 20px; text-align: center; }
.hp-empty p + p { margin-top: 8px; }

/* Deadline cards */
.hp-dl-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .hp-dl-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hp-dl-grid { grid-template-columns: 1fr 1fr 1fr; } }
.hp-dl-card, .hp-mou-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--hp-line); border-left: 5px solid #CBD3DD; border-radius: 20px; transition: box-shadow .2s; }
.hp-dl-card.is-open { border-left-color: var(--hp-green-2); }
.hp-dl-card.is-closing { border-left-color: var(--hp-coral); }
.hp-dl-card.is-opening { border-left-color: #3B82F6; }
.hp-dl-card.is-closed { opacity: .75; }
.hp-dl-card.is-flash { box-shadow: 0 0 0 4px #8FD6A5; }
.hp-mou-card { border-left: 1px solid var(--hp-line); }
.hp-dl-head { display: flex; align-items: center; gap: 12px; }
.hp-dl-head img { flex: 0 0 auto; width: 48px; height: 48px; padding: 4px; object-fit: contain; background: #fff; border: 1px solid var(--hp-line); border-radius: 12px; }
.hp-mou-card .hp-dl-head img { width: 56px; height: 56px; }
.hp-dl-title { flex: 1 1 auto; min-width: 0; }
.hp-dl-title h3 { font-size: 17px; line-height: 1.25; }
.hp-dl-title p { font-size: 13px; color: var(--hp-ink); }
.hp-badge { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.hp-badge.is-open { background: var(--hp-mint); color: var(--hp-green); }
.hp-badge.is-closing { background: #FDE8EC; color: #B4233F; }
.hp-badge.is-opening { background: #E5EEFF; color: #1D4ED8; }
.hp-badge.is-closed { background: #EEF1F5; color: #6B778A; }
.hp-badge.is-tbc { background: var(--hp-amber-bg); color: var(--hp-amber); }
.hp-pill { align-self: flex-start; padding: 4px 10px; background: var(--hp-cream); border: 1px solid #E1E5EA; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--hp-navy); }
.hp-dl-dates { display: grid; gap: 8px; margin: 0; }
.hp-dl-dates div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #EEF0F3; }
.hp-dl-dates dt { font-size: 13px; color: var(--hp-ink); }
.hp-dl-dates dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--hp-navy); text-align: right; }
.hp-dl-tbc { padding: 12px 14px; background: var(--hp-amber-bg); border-radius: 12px; font-size: 14px; color: #6B4A12; }
.hp-cd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--hp-navy); border-radius: 12px; color: #C9D5E3; font-size: 13px; }
.hp-cd strong { font-size: 17px; font-variant-numeric: tabular-nums; color: #fff; }
.hp-dl-card.is-closing .hp-cd { background: #7A1E31; }
.hp-dl-notes { font-size: 14px; }
.hp-verified { font-size: 12px; color: #8A95A6; }
.hp-dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.hp-toolbar[hidden], .hp-dl-updated[hidden] { display: none; }
/* "More options" menu on each deadline card */
.hp-more { position: relative; flex: 1 1 100%; }
.hp-more summary { display: inline-block; padding: 4px 2px; font-weight: 700; font-size: 13px; color: var(--hp-ink); text-decoration: underline; cursor: pointer; list-style: none; }
.hp-more summary::-webkit-details-marker { display: none; }
.hp-more summary::after { content: " \25BE"; }
.hp-more[open] summary::after { content: " \25B4"; }
.hp-more-list { display: grid; gap: 2px; margin-top: 6px; padding: 6px; background: var(--hp-cream); border-radius: 12px; }
.hp-more-list a { padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--hp-navy); text-decoration: none; }
.hp-more-list a:hover, .hp-more-list a:focus-visible { background: #fff; color: var(--hp-green); }
/* One summary box for intakes whose dates are not confirmed yet */
.hp-tbc-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--hp-line); border-left: 5px solid #F3D29B; border-radius: 20px; }
.hp-tbc-box > div { flex: 1 1 320px; }
.hp-tbc-title { font-weight: 800; font-size: 17px; color: var(--hp-navy); }
.hp-tbc-text { margin-top: 4px; font-size: 14px; line-height: 1.6; }
.hp-dl-grid + .hp-tbc-box { margin-top: 22px; }
.hp-past { margin-top: 22px; }
.hp-past summary { padding: 14px 18px; background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; font-weight: 700; color: var(--hp-navy); cursor: pointer; }
.hp-past[open] summary { margin-bottom: 14px; }

/* Remind-me form */
.hp-remind { display: grid; gap: 10px; padding: 14px; background: var(--hp-cream); border-radius: 14px; }
.hp-remind[hidden] { display: none; }
.hp-remind-title { font-weight: 700; color: var(--hp-navy); }
.hp-remind-grid { display: grid; gap: 8px; }
.hp-remind label span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.hp-remind input { background: #fff !important; }
.hp-remind-msg { font-size: 13px; }
.hp-remind-done { font-weight: 700; color: var(--hp-green); }
.hp-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.hp-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--hp-green); }
.hp-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Calendar */
.hp-cal { padding: 16px; background: #fff; border: 1px solid var(--hp-line); border-radius: 20px; }
.hp-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hp-cal-head h3 { font-size: 18px; text-align: center; }
.hp-cal-head small { font-size: 12px; color: #8A95A6; font-weight: 600; }
.hp-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.hp-cal-dow { padding: 6px 0; font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; color: #8A95A6; }
.hp-cal-cell { display: flex; flex-direction: column; gap: 3px; min-height: 64px; padding: 4px; background: var(--hp-cream); border-radius: 10px; overflow: hidden; }
.hp-cal-cell.is-empty { background: transparent; }
.hp-cal-cell.is-today { outline: 2px solid var(--hp-green); }
.hp-cal-num { font-size: 12px; font-weight: 700; color: var(--hp-navy); }
.hp-cal-chip { display: block; width: 100%; padding: 3px 4px; border: 0; border-radius: 6px; font-family: inherit; font-weight: 700; font-size: 10px; line-height: 1.2; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; background: var(--hp-mint); color: var(--hp-green); }
.hp-cal-chip.is-closing { background: #FDE8EC; color: #B4233F; }
.hp-cal-chip.is-opening { background: #E5EEFF; color: #1D4ED8; }
.hp-cal-chip.is-closed { background: #EEF1F5; color: #6B778A; }
.hp-cal-note { margin: 12px 0 0; font-size: 13px; color: var(--hp-amber); }
.hp-cal-sub { margin: 22px 0 12px; font-size: 18px; }
@media (min-width: 768px) { .hp-cal-cell { min-height: 92px; padding: 6px; } .hp-cal-chip { font-size: 11px; } }

/* MOU */
.hp-mou-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .hp-mou-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hp-mou-grid { grid-template-columns: 1fr 1fr 1fr; } }
.hp-mou-card .hp-btn { align-self: flex-start; margin-top: auto; }
.hp-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(7, 26, 51, .72); }
.hp-modal[hidden] { display: none; }
.hp-modal-box { display: flex; flex-direction: column; width: 100%; max-width: 980px; height: min(92vh, 900px); background: #fff; border-radius: 20px; overflow: hidden; }
.hp-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--hp-line); }
.hp-modal-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #EEF1F5; font-size: 24px; line-height: 1; color: var(--hp-navy); cursor: pointer; }
.hp-modal-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px 0; }
.hp-modal-tabs:empty { display: none; }
.hp-modal-tabs button { padding: 7px 12px; border: 1px solid #D5DBE3; border-radius: 999px; background: #fff; font-family: inherit; font-weight: 700; font-size: 13px; line-height: 1.2; cursor: pointer; }
.hp-modal-tabs button[aria-selected="true"] { background: var(--hp-navy); color: #fff; border-color: var(--hp-navy); }
.hp-modal-view { flex: 1 1 auto; min-height: 0; padding: 12px 18px; overflow: auto; background: #F1F4F8; }
.hp-modal-view iframe { width: 100%; height: 100%; min-height: 60vh; border: 0; background: #fff; border-radius: 8px; }
.hp-modal-view img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.hp-modal-foot { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--hp-line); }

/* Self-assessment */
.hp-assess-card, .hp-result-card { padding: 22px; background: #fff; border: 1px solid var(--hp-line); border-radius: 24px; box-shadow: 0 24px 50px rgba(11, 37, 69, .06); }
@media (min-width: 768px) { .hp-assess-card, .hp-result-card { padding: 36px; } }
.hp-assess-top { margin-bottom: 18px; }
.hp-step-label { margin-bottom: 8px !important; font-size: 13px; font-weight: 700; color: var(--hp-green); letter-spacing: .04em; }
.hp-progress { height: 8px; background: #EEF1F5; border-radius: 8px; overflow: hidden; }
.hp-progress-bar { display: block; height: 100%; width: 16%; background: var(--hp-green); border-radius: 8px; transition: width .3s; }
.hp-step h3 { margin-bottom: 16px; font-size: 24px; }
.hp-step[hidden] { display: none; }
.hp-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.hp-field > label, .hp-field > legend { font-size: 14px; font-weight: 700; color: var(--hp-navy); padding: 0; margin-bottom: 2px; }
.hp-req { color: #B4233F; }
.hp-opt { font-weight: 500; color: #8A95A6; }
.hp-help { font-size: 12px; color: #8A95A6; }
.hp-two { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .hp-two { grid-template-columns: 1fr 1fr; } }
.hp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-chip { position: relative; cursor: pointer; }
.hp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hp-chip span { display: inline-block; padding: 11px 16px; background: var(--hp-cream); border: 1px solid #DDE2E8; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--hp-navy); }
.hp-chip input:checked + span { background: var(--hp-navy); border-color: var(--hp-navy); color: #fff; }
.hp-chip input:focus-visible + span { outline: 3px solid #8FD6A5; outline-offset: 2px; }
.hp-checks { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .hp-checks { grid-template-columns: 1fr 1fr; } }
.hp-check { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--hp-cream); border: 1px solid #DDE2E8; border-radius: 12px; font-size: 14px; cursor: pointer; }
.hp-check input { width: 18px; height: 18px; accent-color: var(--hp-green); }
.is-invalid select, .is-invalid input:not([type="radio"]):not([type="checkbox"]), .is-invalid .hp-chip span { border-color: #D93855 !important; background: #FFF5F6 !important; }
.hp-consent.is-invalid { color: #B4233F; }
.hp-form-error { margin: 4px 0 12px !important; padding: 12px 14px; background: #FFF5F6; border: 1px solid #F3B7C2; border-radius: 12px; color: #B4233F; font-weight: 600; font-size: 14px; }
.hp-form-error[hidden] { display: none; }
.hp-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 8px; }
.hp-nav [data-next], .hp-nav [data-submit] { margin-left: auto; }
.hp-nav [hidden] { display: none; }
.hp-saved-note { margin-top: 12px !important; font-size: 12px; color: #8A95A6; text-align: center; }

/* Result */
.hp-result[hidden] { display: none; }
.hp-result:focus { outline: none; }
.hp-result-card h4 { margin: 22px 0 10px; font-size: 16px; }
.hp-result-top { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
@media (min-width: 640px) { .hp-result-top { flex-direction: row; align-items: center; gap: 24px; } }
.hp-result-top h3 { font-size: 30px; margin: 2px 0 6px; }
.hp-result-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-green); }
.hp-ring { flex: 0 0 auto; width: 132px; height: 132px; color: var(--hp-green); }
.is-almost .hp-ring { color: #D98A0B; }
.is-needs .hp-ring { color: var(--hp-coral); }
.hp-ring-num { font: 800 30px/1 "Plus Jakarta Sans", sans-serif; fill: var(--hp-navy); }
.hp-ring-of { font: 600 10px/1 "Plus Jakarta Sans", sans-serif; fill: #8A95A6; }
.hp-bars { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hp-bars li { display: grid; grid-template-columns: 96px 1fr 36px; align-items: center; gap: 10px; font-size: 14px; }
.hp-bar-label { font-weight: 700; color: var(--hp-navy); }
.hp-bar { height: 10px; background: #EEF1F5; border-radius: 10px; overflow: hidden; }
.hp-bar span { display: block; height: 100%; background: var(--hp-green); border-radius: 10px; }
.hp-bars li.is-weak .hp-bar span { background: #D98A0B; }
.hp-bar-num { font-weight: 800; color: var(--hp-navy); text-align: right; }
.hp-result-cols { display: grid; grid-template-columns: 1fr; gap: 0 22px; }
@media (min-width: 640px) { .hp-result-cols { grid-template-columns: 1fr 1fr; } }
.hp-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hp-list li { position: relative; padding-left: 24px; font-size: 14px; }
.hp-list-good li::before { content: "✓"; position: absolute; left: 0; color: var(--hp-green); font-weight: 800; }
.hp-list-gap li::before { content: "!"; position: absolute; left: 4px; color: #D98A0B; font-weight: 800; }
.hp-route { margin-top: 22px; padding: 18px; background: var(--hp-mint); border-radius: 16px; }
.hp-route h4 { margin: 4px 0 4px !important; font-size: 18px !important; }
.hp-checklist { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.hp-result-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }

/* ---------------- Blog: [hp_blog] grid ---------------- */
.hp-blog-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.hp-blog-topics a { padding: 9px 16px; background: #fff; border: 1px solid var(--hp-line); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--hp-navy); text-decoration: none; }
.hp-blog-topics a:hover { border-color: var(--hp-navy); }
.hp-blog-topics a.is-on { background: var(--hp-navy); border-color: var(--hp-navy); color: #fff; }
.hp-blog-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .hp-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hp-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.hp-blog-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--hp-line); border-radius: 22px; transition: box-shadow .2s, transform .2s; }
.hp-blog-card:hover { box-shadow: 0 18px 40px rgba(11, 37, 69, .10); transform: translateY(-2px); }
.hp-blog-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hp-mint); }
.hp-blog-media img, .hp-blog-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-blog-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.hp-blog-cat { align-self: flex-start; padding: 4px 10px; background: var(--hp-mint); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hp-green) !important; text-decoration: none; }
.hp-app .hp-blog-title { margin: 0; font-family: inherit; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; color: var(--hp-navy); }
.hp-blog-title a { color: var(--hp-navy) !important; text-decoration: none; }
.hp-blog-title a:hover { color: var(--hp-green) !important; }
.hp-blog-excerpt { font-size: 15px; line-height: 1.6; }
.hp-blog-meta { margin-top: auto !important; padding-top: 6px; font-size: 13px; color: #8A95A6; }
.hp-blog-pages { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.hp-blog-pages a, .hp-blog-pages span { min-width: 42px; padding: 10px 14px; border: 1px solid var(--hp-line); border-radius: 12px; text-align: center; font-weight: 700; color: var(--hp-navy); text-decoration: none; background: #fff; }
.hp-blog-pages span { background: var(--hp-navy); color: #fff; }

/* ---------------- Blog: shared header/footer on articles ---------------- */
body.hp-chrome #masthead, body.hp-chrome #colophon, body.hp-chrome .ast-scroll-top-icon { display: none !important; }
.hp-chrome-header { position: sticky; top: 0; z-index: 999; }
.admin-bar .hp-chrome-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hp-chrome-header { top: 0; } }

/* ---------------- Blog: article ---------------- */
body.hp-article, body.hp-chrome { background: #F8F8F4; }
.hp-article .site-content > .ast-container { max-width: 820px; padding: 0 16px; }
.hp-article #primary { margin: 28px 0 60px; }
.hp-article .ast-article-single, .hp-article article.post { padding: 0 !important; background: transparent !important; border: 0 !important; }
.hp-article .entry-meta, .hp-article .post-navigation, .hp-article .ast-author-meta, .hp-article .ast-single-author-box { display: none !important; }
.hp-article .entry-header { margin-bottom: 6px; }
.hp-article .entry-title { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: clamp(30px, 5vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #0B2545; }
.hp-article .post-thumb-img-content, .hp-article .ast-single-post-featured-section { margin: 0 0 18px; }
.hp-article .post-thumb-img-content img, .hp-article .ast-single-post-featured-section img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; }
.hp-article .entry-content { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.75; color: #3A4250; }
.hp-article .entry-content > * + * { margin-top: 1.1em; }
.hp-article .entry-content h2 { margin-top: 1.8em; font-family: inherit; font-size: clamp(23px, 3.4vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: #0B2545; scroll-margin-top: 120px; }
.hp-article .entry-content h3 { margin-top: 1.4em; font-family: inherit; font-size: 20px; font-weight: 800; line-height: 1.3; color: #0B2545; }
.hp-article .entry-content a { color: #1E7B3C; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hp-article .entry-content a:hover { color: #0B2545; }
.hp-article .entry-content ul, .hp-article .entry-content ol { margin-left: 0; padding-left: 1.3em; }
.hp-article .entry-content li + li { margin-top: .45em; }
.hp-article .entry-content strong { color: #0B2545; }
.hp-article .entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; border: 1px solid #E6E9EE; border-radius: 16px; font-size: 15px; }
.hp-article .entry-content th, .hp-article .entry-content td { padding: 12px 14px; border: 0; border-bottom: 1px solid #E6E9EE; text-align: left; vertical-align: top; }
.hp-article .entry-content thead th { background: #0B2545; color: #fff; }
.hp-article .entry-content tbody tr:last-child td { border-bottom: 0; }
.hp-article .entry-content td:first-child { font-weight: 700; color: #0B2545; }
@media (max-width: 600px) { .hp-article .entry-content table { display: block; overflow-x: auto; } }
.hp-post-hero { margin: 1.2em 0 0; }
.hp-post-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; }
.hp-post-hero figcaption { margin-top: 6px; font-size: 12px; color: #8A95A6; text-align: right; }
.hp-article .entry-content .hp-post-hero figcaption a { color: #8A95A6; font-weight: 400; }
.hp-crumbs { font-size: 13px; color: #8A95A6; }
.hp-article .entry-content .hp-crumbs a { color: #46536A; font-weight: 600; text-decoration: none; }
.hp-post-meta { margin-top: .4em !important; font-size: 14px; color: #8A95A6; }
.hp-toc { padding: 18px 22px; background: #fff; border: 1px solid #E6E9EE; border-radius: 18px; }
.hp-toc summary { font-weight: 800; color: #0B2545; cursor: pointer; }
.hp-toc ol { margin: 10px 0 0; font-size: 15px; }
.hp-article .entry-content .hp-toc a { font-weight: 600; text-decoration: none; color: #46536A; }
.hp-article .entry-content .hp-toc a:hover { color: #1E7B3C; }
.hp-post-faq { margin-top: 2em !important; padding: 6px 24px 22px; background: #fff; border: 1px solid #E6E9EE; border-radius: 20px; }
.hp-post-faq h3 { font-size: 17px !important; }
.hp-post-faq p { margin-top: .35em !important; }
.hp-post-cta { display: grid; gap: 16px; margin-top: 2.2em !important; padding: 26px; background: #0B2545; border-radius: 24px; color: #C9D5E3; }
.hp-post-cta p { margin: 0; }
.hp-post-cta-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8FD6A5; }
.hp-post-cta-title { margin-top: 4px !important; font-size: 24px; font-weight: 800; line-height: 1.2; color: #fff; }
.hp-post-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hp-article .entry-content .hp-post-cta a.hp-btn { color: #fff; text-decoration: none; }
.hp-article .entry-content .hp-post-cta a.hp-link { color: #fff; font-weight: 700; }
.hp-related { margin-top: 2.6em !important; }
.hp-app .hp-related-title, .hp-article .entry-content .hp-related-title { margin: 0 0 16px; font-size: 24px; }
.hp-article .entry-content .hp-blog-card a { text-decoration: none; }
@media (min-width: 700px) { .hp-blog-grid-small { grid-template-columns: repeat(3, 1fr); } .hp-blog-grid-small .hp-blog-excerpt { display: none; } .hp-app .hp-blog-grid-small .hp-blog-title { font-size: 16px; } }

/* ---------------- Fee guide: [hp_fee_guide] ---------------- */
.hp-fee-tabs { display: inline-flex; gap: 4px; padding: 5px; margin: 0 0 24px; background: #fff; border: 1px solid var(--hp-line); border-radius: 999px; }
.hp-fee-tabs button { padding: 11px 20px; background: transparent; border: 0; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1; color: var(--hp-navy); cursor: pointer; }
.hp-fee-tabs button[aria-selected="true"] { background: var(--hp-navy); color: #fff; }
.hp-fee-tabs button:focus-visible { outline: 3px solid #8FD6A5; outline-offset: 2px; }
.hp-fee-panel[hidden] { display: none; }
.hp-fee-panel + .hp-fee-panel { margin-top: 40px; }
.hp-app .hp-fee-step { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 21px; }
.hp-fee-step span { display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; background: var(--hp-navy); border-radius: 50%; font-size: 15px; color: #fff; }
.hp-fee-card { padding: 24px; background: #fff; border: 1px solid var(--hp-line); border-radius: 20px; }
.hp-fee-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hp-green); }
.hp-fee-big { margin-top: 6px !important; font-size: clamp(32px, 5vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--hp-navy); }
.hp-fee-big small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--hp-ink); }
.hp-fee-plus { margin-top: 6px !important; font-size: 16px; color: var(--hp-ink); }
.hp-fee-small { margin-top: 10px !important; font-size: 14px; line-height: 1.6; color: var(--hp-ink); }
.hp-fee-tracks { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 28px; }
@media (min-width: 640px) { .hp-fee-tracks-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .hp-fee-tracks-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .hp-fee-tracks-3 { grid-template-columns: repeat(2, 1fr); } }
.hp-fee-cols { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hp-fee-cols { grid-template-columns: 1fr 1fr; align-items: start; } }
.hp-fee-schedule dl { margin: 0; }
.hp-fee-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hp-line); }
.hp-fee-row:last-child { border-bottom: 0; padding-bottom: 0; }
.hp-fee-row dt { display: grid; gap: 3px; margin: 0; }
.hp-fee-row dt strong { font-size: 16px; color: var(--hp-navy); }
.hp-fee-row dt span { font-size: 14px; line-height: 1.5; color: var(--hp-ink); }
.hp-fee-row dd { flex: 0 0 auto; margin: 0; font-size: 16px; font-weight: 800; color: var(--hp-navy); white-space: nowrap; }
.hp-fee-total { margin: 4px -12px; padding: 14px 12px; background: var(--hp-mint); border-bottom: 0; border-radius: 14px; }
.hp-fee-sem { margin-bottom: 12px; padding: 18px 20px; border: 1px solid var(--hp-line); border-radius: 16px; }
.hp-fee-sem.is-dark { background: var(--hp-navy); border-color: var(--hp-navy); }
.hp-fee-sem.is-dark .hp-fee-label { color: #8FD6A5; }
.hp-fee-sem.is-dark .hp-fee-big { color: #fff; }
.hp-fee-bank { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hp-line); }
.hp-fee-bank ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hp-fee-bank li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; color: var(--hp-ink); }
.hp-fee-bank li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--hp-green-2); border-radius: 50%; }
.hp-fee-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding: 20px 24px; background: var(--hp-mint); border-radius: 18px; }
.hp-fee-ask p { font-size: 16px; color: var(--hp-navy); }
.hp-fee-note { margin-top: 14px !important; font-size: 13px; color: #8A95A6; }

/* Print: only the result */
@media print {
	body.hp-print-result * { visibility: hidden !important; }
	body.hp-print-result .hp-result, body.hp-print-result .hp-result * { visibility: visible !important; }
	body.hp-print-result .hp-result { position: absolute; left: 0; top: 0; width: 100%; }
	body.hp-print-result .hp-noprint { display: none !important; }
	body.hp-print-result .hp-result-card { box-shadow: none; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .hp-app * { transition: none !important; scroll-behavior: auto !important; } }
