.hkai-noc-app,
.hkai-noc-app * { box-sizing: border-box; }

.hkai-noc-app {
    --hkai-red: #ED1C24;
    --hkai-red-dark: #C9141B;
    --hkai-red-soft: #FFF4F4;
    --hkai-green: #0F766E;
    --hkai-green-soft: #ECF8F6;
    --hkai-amber: #A65300;
    --hkai-amber-soft: #FFF8E8;
    --hkai-rose-soft: #FFF2F3;
    --hkai-blue-soft: #F3F7FC;
    --hkai-text: #292D33;
    --hkai-muted: #6E737C;
    --hkai-border: #E3E6EA;
    --hkai-border-strong: #D3D7DD;
    width: 100%;
    direction: rtl;
    color: inherit;
}

.hkai-noc-app.is-en { direction: ltr; }
.hkai-noc-app [hidden] { display: none !important; }
.hkai-noc-app button,
.hkai-noc-app input,
.hkai-noc-app textarea,
.hkai-noc-app select { font: inherit; }

.hkai-shell { width: min(1180px, 100%); margin: 0 auto; }
.hkai-product-hero,
.hkai-page-band,
.hkai-results,
.hkai-no-result { margin-bottom: 28px; }

/* Hero */
.hkai-product-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .72fr);
    gap: 34px;
    align-items: center;
    padding: 42px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hkai-border);
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(30, 36, 48, .065);
}

.hkai-product-hero::after {
    content: '';
    position: absolute;
    inset-inline-end: -110px;
    bottom: -150px;
    width: 280px;
    height: 280px;
    border: 36px solid rgba(237, 28, 36, .035);
    border-radius: 50%;
    pointer-events: none;
}

.hkai-hero-content { min-width: 0; }
.hkai-product-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid rgba(237, 28, 36, .18);
    border-radius: 14px;
}
.hkai-product-brand img { width: 58px; max-height: 50px; object-fit: contain; }
.hkai-product-brand div { display: grid; gap: 1px; }
.hkai-product-brand strong { color: var(--hkai-red); }
.hkai-product-brand span { color: var(--hkai-muted); }

.hkai-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 11px;
    color: var(--hkai-red);
    background: var(--hkai-red-soft);
    border: 1px solid rgba(237, 28, 36, .16);
    border-radius: 999px;
}

.hkai-hero-content h2,
.hkai-section-intro h3,
.hkai-results-heading h2,
.hkai-understanding-heading h3,
.hkai-result-title h3 { margin-top: 0; color: var(--hkai-text); }
.hkai-hero-content h2 { max-width: 760px; margin-bottom: 14px; }
.hkai-hero-content > p { max-width: 790px; margin: 0; color: var(--hkai-muted); }
.hkai-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.hkai-hero-actions > span { color: var(--hkai-muted); }
.hkai-hero-notes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.hkai-hero-notes span { position: relative; padding-inline-start: 20px; color: var(--hkai-muted); }
.hkai-hero-notes span::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--hkai-green); }

.hkai-primary-button,
.hkai-restart-button,
.hkai-official-link {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 22px;
    color: #fff !important;
    background: var(--hkai-red);
    border: 1px solid var(--hkai-red);
    border-radius: 10px;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(237, 28, 36, .15);
    transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.hkai-primary-button:hover,
.hkai-primary-button:focus,
.hkai-restart-button:hover,
.hkai-restart-button:focus,
.hkai-official-link:hover,
.hkai-official-link:focus { color: #fff !important; background: var(--hkai-red-dark); transform: translateY(-1px); box-shadow: 0 11px 22px rgba(237, 28, 36, .2); }
.hkai-primary-button:disabled { opacity: .58; cursor: wait; transform: none; }

.hkai-hero-panel {
    position: relative;
    z-index: 1;
    padding: 22px;
    background: #FCFCFD;
    border: 1px solid var(--hkai-border);
    border-radius: 18px;
}
.hkai-panel-eyebrow { display: block; padding-bottom: 13px; color: var(--hkai-red); border-bottom: 1px solid var(--hkai-border); }
.hkai-hero-panel > div { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 12px; align-items: center; padding: 16px 0; }
.hkai-noc-app.is-en .hkai-hero-panel > div { grid-template-columns: 40px minmax(0, 1fr); }
.hkai-hero-panel > div + div { border-top: 1px solid var(--hkai-border); }
.hkai-hero-panel b { display: grid; place-items: center; width: 38px; height: 38px; color: var(--hkai-red); background: var(--hkai-red-soft); border-radius: 11px; }
.hkai-hero-panel strong,
.hkai-hero-panel small { display: block; }
.hkai-hero-panel small { margin-top: 3px; color: var(--hkai-muted); }

/* Sections */
.hkai-page-band {
    padding: 34px;
    background: #fff;
    border: 1px solid var(--hkai-border);
    border-radius: 22px;
}
.hkai-how-section { background: #FCFBFB; }
.hkai-guidance-section { background: #FAFCFD; }
.hkai-form-section { background: #F7F9FC; }
.hkai-section-intro { max-width: 780px; margin: 0 auto 26px; text-align: center; }
.hkai-section-intro h3 { margin-bottom: 8px; }
.hkai-section-intro p { margin: 0; color: var(--hkai-muted); }

.hkai-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hkai-how-grid article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 14px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--hkai-border);
    border-radius: 15px;
}
.hkai-noc-app.is-en .hkai-how-grid article { grid-template-columns: 48px minmax(0, 1fr); }
.hkai-how-grid article > span { display: grid; place-items: center; width: 44px; height: 44px; color: var(--hkai-red); background: var(--hkai-red-soft); border-radius: 13px; }
.hkai-how-grid h4 { margin: 0 0 5px; }
.hkai-how-grid p { margin: 0; color: var(--hkai-muted); }

.hkai-guidance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hkai-guidance-card { position: relative; padding: 21px; border: 1px solid var(--hkai-border); border-radius: 15px; background: #fff; }
.hkai-guidance-card.is-good { background: var(--hkai-green-soft); border-color: #BDE1DB; }
.hkai-guidance-card.is-bad { background: var(--hkai-rose-soft); border-color: #F4C8CC; }
.hkai-guidance-card.is-warning { background: var(--hkai-amber-soft); border-color: #EFD5A6; }
.hkai-guidance-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: rgba(255,255,255,.75); }
.hkai-guidance-card h4 { margin: 0 0 10px; }
.hkai-guidance-card p,
.hkai-guidance-card ul { margin-bottom: 0; }
.hkai-guidance-card ul { padding-inline-start: 20px; }

/* Form */
.hkai-intake-card { padding: 26px; background: #fff; border: 1px solid var(--hkai-border); border-radius: 18px; }
.hkai-compact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.hkai-field label { display: block; margin-bottom: 7px; color: var(--hkai-text); }
.hkai-optional { color: var(--hkai-muted); }
.hkai-field input,
.hkai-field textarea {
    display: block;
    width: 100%;
    color: inherit;
    background: #fff;
    border: 1px solid var(--hkai-border-strong);
    border-radius: 11px;
    outline: none;
    transition: border .15s ease, box-shadow .15s ease;
}
.hkai-field input { min-height: 46px; padding: 10px 13px; }
.hkai-field textarea { min-height: 260px; padding: 14px; resize: vertical; line-height: inherit; }
.hkai-field input:focus,
.hkai-field textarea:focus { border-color: rgba(237, 28, 36, .6); box-shadow: 0 0 0 3px rgba(237, 28, 36, .08); }
.hkai-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hkai-label-row > span { color: var(--hkai-muted); }
.hkai-field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--hkai-muted); }
.hkai-char-count { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.hkai-writing-aids { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 17px; }
.hkai-writing-aids span { padding: 7px 11px; background: #F7F8FA; border: 1px solid var(--hkai-border); border-radius: 999px; }
.hkai-threshold-note { margin: 18px 0 0; padding: 13px 16px; text-align: center; color: #174A47; background: var(--hkai-green-soft); border-inline-start: 3px solid var(--hkai-green); border-radius: 9px; }
.hkai-submit-row { display: flex; justify-content: center; margin-top: 20px; }
.hkai-form-error,
.hkai-contact-error { margin-top: 14px; padding: 11px 13px; color: #A2141B; background: var(--hkai-rose-soft); border: 1px solid #F2C3C7; border-radius: 9px; }
.hkai-honeypot { position: absolute !important; inset-inline-start: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* Modal */
html.hkai-modal-open { overflow: hidden; }
.hkai-modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 20px; background: rgba(20, 24, 32, .58); backdrop-filter: blur(4px); }
.hkai-modal-card { position: relative; width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 28px 100px rgba(0,0,0,.22); }
.hkai-modal-close { position: absolute; inset-inline-end: 15px; top: 15px; z-index: 2; width: 36px; height: 36px; padding: 0; color: var(--hkai-muted); background: #F5F6F8; border: 0; border-radius: 50%; cursor: pointer; }

.hkai-analysis-card { padding: 34px; text-align: center; }
.hkai-analysis-motion {
    position: relative;
    width: 168px;
    height: 168px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    isolation: isolate;
}
.hkai-motion-field,
.hkai-motion-pulse,
.hkai-motion-orbit,
.hkai-motion-signal { position: absolute; pointer-events: none; }
.hkai-motion-field {
    inset: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,28,36,.13) 0 17%, rgba(237,28,36,.045) 33%, transparent 67%);
    animation: hkai-core-glow 2.2s ease-in-out infinite;
}
.hkai-motion-pulse {
    inset: 30px;
    border: 1px solid rgba(237,28,36,.16);
    border-radius: 50%;
    animation: hkai-soft-pulse 2.4s ease-out infinite;
}
.hkai-pulse-two { animation-delay: -1.2s; }
.hkai-motion-orbit {
    z-index: 4;
    inset: 8px;
    border: 1.5px solid transparent;
    border-top-color: rgba(237,28,36,.82);
    border-right-color: rgba(237,28,36,.20);
    border-radius: 50%;
    animation: hkai-clean-spin 2.8s linear infinite;
}
.hkai-motion-orbit::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    top: 17px;
    right: 21px;
    background: #ED1C24;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(237,28,36,.09), 0 0 16px rgba(237,28,36,.30);
}
.hkai-motion-orbit i { display: none; }
.hkai-motion-orbit-b {
    inset: 20px;
    border-top-color: rgba(73,80,91,.44);
    border-left-color: rgba(73,80,91,.12);
    animation-duration: 3.8s;
    animation-direction: reverse;
}
.hkai-motion-orbit-b::after { top: auto; right: auto; bottom: 10px; left: 18px; width: 6px; height: 6px; background: #555D69; box-shadow: 0 0 0 4px rgba(85,93,105,.08); }
.hkai-motion-orbit-c {
    inset: 35px;
    border-top-color: rgba(237,28,36,.34);
    border-left-color: rgba(237,28,36,.10);
    animation-duration: 2.1s;
}
.hkai-motion-orbit-c::after { display: none; }
.hkai-motion-signal { display: none; }
.hkai-logo-core {
    position: relative;
    z-index: 10;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(237,28,36,.14);
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(29,34,44,.13), 0 0 0 7px rgba(255,255,255,.88);
    animation: hkai-logo-breathe 2.2s ease-in-out infinite;
}
.hkai-logo-core::before {
    content: '';
    position: absolute;
    inset: -9px;
    z-index: -1;
    border: 1px solid rgba(237,28,36,.08);
    border-radius: 50%;
}
.hkai-logo-core img { width: 55px; height: 55px; object-fit: contain; filter: drop-shadow(0 4px 7px rgba(237,28,36,.10)); }
@keyframes hkai-clean-spin { to { transform: rotate(360deg); } }
@keyframes hkai-core-glow { 0%,100% { transform: scale(.96); opacity: .68; } 50% { transform: scale(1.035); opacity: 1; } }
@keyframes hkai-soft-pulse { 0% { transform: scale(.72); opacity: .32; } 78%,100% { transform: scale(1.72); opacity: 0; } }
@keyframes hkai-logo-breathe { 0%,100% { transform: scale(.985); } 50% { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .hkai-analysis-motion *, .hkai-analysis-motion *::before, .hkai-analysis-motion *::after { animation: none !important; } }
.hkai-analysis-card h3 { margin: 0 0 9px; }
.hkai-analysis-intro { margin: 0 auto 18px; max-width: 500px; color: var(--hkai-muted); }
.hkai-analysis-progress { height: 7px; overflow: hidden; background: #EFF1F4; border-radius: 999px; }
.hkai-analysis-progress span { display: block; width: 5%; height: 100%; background: var(--hkai-red); border-radius: inherit; transition: width .3s ease; }
.hkai-analysis-status { margin: 15px 0 0; color: var(--hkai-text); }
.hkai-analysis-tip { display: none !important; }

.hkai-contact-card { padding: 30px; }
.hkai-contact-brand { display: grid; justify-items: center; gap: 5px; margin-bottom: 16px; text-align: center; }
.hkai-contact-brand img { width: 82px; max-height: 72px; object-fit: contain; }
.hkai-contact-brand span { color: var(--hkai-red); }
.hkai-contact-brand strong { color: var(--hkai-text); }
.hkai-contact-heading { max-width: 500px; margin: 0 auto 22px; text-align: center; }
.hkai-contact-heading h3 { margin: 0 0 7px; }
.hkai-contact-heading p { margin: 0; color: var(--hkai-muted); }
.hkai-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hkai-contact-fields .hkai-field-full { grid-column: 1 / -1; }
.hkai-check-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; cursor: pointer; }
.hkai-check-row input { margin-top: 4px; }
.hkai-contact-form > .hkai-primary-button { display: flex; margin: 20px auto 0; }
.hkai-contact-disclaimer { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--hkai-border); color: var(--hkai-muted); }
.hkai-contact-disclaimer summary { cursor: pointer; color: var(--hkai-text); }
.hkai-contact-disclaimer p { margin-bottom: 0; font-size: .9em; }

/* Results */
.hkai-results,
.hkai-no-result { padding: 34px; background: #fff; border: 1px solid var(--hkai-border); border-radius: 22px; }
.hkai-result-notice { margin-bottom: 24px; padding: 12px 16px; text-align: center; color: #145E58; background: var(--hkai-green-soft); border: 1px solid #B8DED8; border-radius: 10px; }
.hkai-results-heading { max-width: 820px; margin: 0 auto 26px; text-align: center; }
.hkai-results-heading > span { display: inline-block; margin-bottom: 8px; color: var(--hkai-red); }
.hkai-results-heading h2 { margin-bottom: 8px; }
.hkai-results-heading p { margin: 0; color: var(--hkai-muted); }

.hkai-understanding-card { margin-bottom: 24px; padding: 24px; background: var(--hkai-blue-soft); border: 1px solid #DDE6F1; border-radius: 17px; }
.hkai-understanding-heading { max-width: 820px; margin: 0 auto 19px; text-align: center; }
.hkai-understanding-heading > span { color: #3A6188; }
.hkai-understanding-heading h3 { margin: 7px 0; }
.hkai-understanding-heading p { margin: 0; color: var(--hkai-muted); }
.hkai-understanding-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hkai-understanding-grid > div { padding: 14px; text-align: center; background: #fff; border: 1px solid #DDE6F1; border-radius: 11px; }
.hkai-understanding-grid small,
.hkai-understanding-grid strong { display: block; }
.hkai-understanding-grid small { margin-bottom: 5px; color: var(--hkai-muted); }
.hkai-understanding-list { margin-top: 15px; padding-top: 14px; border-top: 1px solid #D6E0EC; }
.hkai-understanding-list h4 { margin: 0 0 8px; }
.hkai-understanding-list ul { margin: 0; padding-inline-start: 20px; }
.hkai-evidence-gaps { margin-top: 14px; padding-top: 13px; border-top: 1px solid #D6E0EC; }
.hkai-evidence-gaps summary { cursor: pointer; }

.hkai-result-list { display: grid; gap: 22px; }
.hkai-result-card { position: relative; overflow: hidden; border: 1px solid var(--hkai-border-strong); border-radius: 18px; background: #fff; }
.hkai-result-card::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: #7E8794; }
.hkai-result-card.is-primary::before { background: var(--hkai-green); }
.hkai-result-head { padding: 25px 26px 21px; text-align: center; background: #FCFCFD; border-bottom: 1px solid var(--hkai-border); }
.hkai-rank-badge { display: inline-flex; margin-bottom: 14px; padding: 6px 11px; color: var(--hkai-green); background: var(--hkai-green-soft); border: 1px solid #B8DED8; border-radius: 999px; }
.is-comparison .hkai-rank-badge { color: #5A6472; background: #F3F5F8; border-color: #D9DEE5; }
.hkai-score-ring { --score: 0; width: 96px; height: 96px; margin: 0 auto 15px; padding: 7px; border-radius: 50%; background: conic-gradient(var(--hkai-green) calc(var(--score) * 1%), #E7EBEF 0); }
.is-comparison .hkai-score-ring { background: conic-gradient(var(--hkai-red) calc(var(--score) * 1%), #E7EBEF 0); }
.hkai-score-ring > span { display: grid; place-items: center; align-content: center; width: 100%; height: 100%; background: #fff; border-radius: 50%; }
.hkai-score-ring b { display: block; color: var(--hkai-text); }
.hkai-score-ring small { display: block; color: var(--hkai-muted); }
.hkai-result-title h3 { margin-bottom: 6px; }
.hkai-result-title p { margin: 0; color: var(--hkai-muted); }
.hkai-result-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 13px; }
.hkai-result-chips span { padding: 6px 10px; background: #F3F5F7; border-radius: 999px; }
.hkai-component-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; padding: 22px 26px; }
.hkai-metric-row > div { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.hkai-metric-row > div span { color: var(--hkai-muted); }
.hkai-metric-track { display: block; height: 8px; overflow: hidden; background: #EDF0F3; border-radius: 999px; }
.hkai-metric-track i { display: block; height: 100%; background: var(--hkai-green); border-radius: inherit; }
.is-comparison .hkai-metric-track i { background: #687384; }
.hkai-coverage-line { margin: 0 26px 18px; padding: 11px 14px; text-align: center; color: #155E58; background: var(--hkai-green-soft); border-radius: 9px; }
.hkai-evidence-box { margin: 0 26px 15px; padding: 18px; border-radius: 12px; }
.hkai-evidence-box h4 { margin: 0 0 10px; }
.hkai-evidence-box ul { margin: 0; padding-inline-start: 21px; }
.hkai-evidence-box p { margin-bottom: 0; }
.hkai-evidence-match { background: var(--hkai-green-soft); border: 1px solid #B8DED8; }
.hkai-evidence-missing { background: var(--hkai-amber-soft); border: 1px solid #EFD4A4; }
.hkai-evidence-reason { background: #F5F7FA; border: 1px solid #DDE2E8; }
.hkai-evidence-caution { background: var(--hkai-rose-soft); border: 1px solid #F0C4C8; }
.hkai-box-note { color: var(--hkai-muted); }
.hkai-result-action { display: flex; justify-content: center; padding: 4px 26px 25px; }
.hkai-results-footer-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hkai-border); }
.hkai-results-footer-notes article { padding: 0 4px; }
.hkai-results-footer-notes h4 { margin: 0 0 7px; }
.hkai-results-footer-notes p { margin: 0; color: var(--hkai-muted); }
.hkai-restart-wrap { display: flex; justify-content: center; margin-top: 25px; }

.hkai-no-result-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 15px; align-items: start; padding: 20px; background: var(--hkai-rose-soft); border: 1px solid #F0C4C8; border-radius: 14px; }
.hkai-noc-app:not(.is-en) .hkai-no-result-card { grid-template-columns: minmax(0, 1fr) 48px; }
.hkai-no-result-card > span { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--hkai-red); border-radius: 50%; }
.hkai-no-result-card h3 { margin: 0 0 7px; }
.hkai-no-result-card p { margin: 0; }

@media (max-width: 900px) {
    .hkai-product-hero { grid-template-columns: 1fr; padding: 30px; }
    .hkai-hero-panel { order: 2; }
    .hkai-how-grid,
    .hkai-guidance-grid { grid-template-columns: 1fr; }
    .hkai-understanding-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hkai-product-hero,
    .hkai-page-band,
    .hkai-results,
    .hkai-no-result { padding: 21px 16px; border-radius: 17px; }
    .hkai-product-brand { width: 100%; justify-content: center; text-align: center; }
    .hkai-hero-actions,
    .hkai-hero-notes { justify-content: center; text-align: center; }
    .hkai-hero-actions .hkai-primary-button { width: 100%; }
    .hkai-hero-content h2,
    .hkai-hero-content > p { text-align: center; }
    .hkai-compact-fields,
    .hkai-contact-fields,
    .hkai-component-metrics,
    .hkai-results-footer-notes { grid-template-columns: 1fr; }
    .hkai-label-row,
    .hkai-field-meta { align-items: flex-start; }
    .hkai-label-row { flex-direction: column; gap: 4px; }
    .hkai-field textarea { min-height: 300px; }
    .hkai-intake-card { padding: 18px 14px; }
    .hkai-modal { padding: 10px; }
    .hkai-analysis-card,
    .hkai-contact-card { padding: 26px 17px; }
    .hkai-result-head { padding: 22px 15px 18px; }
    .hkai-component-metrics { padding: 18px 15px; }
    .hkai-coverage-line,
    .hkai-evidence-box { margin-inline: 15px; }
    .hkai-result-action { padding-inline: 15px; }
    .hkai-official-link { width: 100%; text-align: center; }
    .hkai-understanding-card { padding: 18px 14px; }
}

/* Final quality pass: calm alignment and compact result evidence. */
.hkai-noc-app:not(.is-en) .hkai-product-brand {
    margin-inline-start: auto;
}
.hkai-component-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hkai-contact-form .hkai-field label,
.hkai-contact-form .hkai-field input {
    text-align: center;
}
.hkai-contact-form .hkai-check-row {
    max-width: 520px;
    margin-inline: auto;
}
@media (max-width: 760px) {
    .hkai-component-metrics { grid-template-columns: 1fr; }
}

/* On-device understanding-first profile */
.hkai-job-profile {
    margin-bottom: 24px;
    padding: 24px;
    background: var(--hkai-blue-soft);
    border: 1px solid #DDE6F1;
    border-radius: 17px;
}
.hkai-job-profile-head {
    max-width: 820px;
    margin: 0 auto 18px;
    text-align: center;
}
.hkai-job-profile-head > span { color: #3A6188; }
.hkai-job-profile-head h3 { margin: 7px 0; color: var(--hkai-text); }
.hkai-job-profile-head p { margin: 0; color: var(--hkai-muted); }
.hkai-job-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.hkai-job-profile-grid article {
    padding: 14px;
    text-align: center;
    background: #fff;
    border: 1px solid #DDE6F1;
    border-radius: 11px;
}
.hkai-job-profile-grid strong,
.hkai-job-profile-grid p { display: block; }
.hkai-job-profile-grid p { margin: 5px 0 0; color: var(--hkai-muted); }
.hkai-profile-list,
.hkai-profile-gaps {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid #D6E0EC;
}
.hkai-profile-list ul,
.hkai-profile-gaps ul { margin: 8px 0 0; padding-inline-start: 20px; }
.hkai-profile-gaps { color: #6A4A13; }
.hkai-analysis-tip { transition: opacity .18s ease, transform .18s ease; }
.hkai-analysis-tip.is-changing { opacity: .35; transform: translateY(2px); }
.hkai-engine-state { max-width: 72%; }

@media (max-width: 760px) {
    .hkai-job-profile { padding: 18px 14px; }
    .hkai-job-profile-grid { grid-template-columns: 1fr; }
    .hkai-engine-state { max-width: 65%; }
}

/* Readable full-width analysis and validation states */
.hkai-form-error,
.hkai-contact-error {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    direction: rtl;
    unicode-bidi: plaintext;
    writing-mode: horizontal-tb !important;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.9;
}
.hkai-noc-app.is-en .hkai-form-error,
.hkai-noc-app.is-en .hkai-contact-error {
    direction: ltr;
}
.hkai-form-error[hidden],
.hkai-contact-error[hidden] {
    display: none !important;
}
.hkai-no-result-card {
    width: 100%;
    box-sizing: border-box;
}
.hkai-no-result-card > div {
    min-width: 0;
    writing-mode: horizontal-tb !important;
}
.hkai-no-result-card h3,
.hkai-no-result-card p {
    overflow-wrap: anywhere;
    word-break: normal;
}
.hkai-engine-state {
    display: block;
    min-width: 0;
    max-width: none;
    line-height: 1.7;
}
@media (max-width: 640px) {
    .hkai-no-result-card,
    .hkai-noc-app:not(.is-en) .hkai-no-result-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hkai-no-result-card > span {
        margin-inline: auto;
    }
    .hkai-field-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.hkai-field-meta-count-only { justify-content: center; text-align: center; }
.hkai-field-meta-count-only .hkai-char-count { margin-inline: auto; }

/* 3.6 result redesign: concise, centered, evidence-led */
.hkai-results {
    width: min(980px, 100%);
    margin-inline: auto;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--hkai-border);
    border-radius: 22px;
    box-shadow: 0 14px 42px rgba(32, 42, 58, .055);
}
.hkai-results-heading {
    margin: 0 0 22px;
    text-align: center;
}
.hkai-results-heading > span {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--hkai-red);
}
.hkai-results-heading h2 { margin: 0; }
.hkai-result-notice,
.hkai-results-footer-notes,
.hkai-component-metrics,
.hkai-score-ring { display: none !important; }

.hkai-job-profile {
    margin: 0 0 22px;
    padding: 24px;
    background: #F7F9FC;
    border: 1px solid #DCE4EE;
    border-radius: 16px;
}
.hkai-job-profile-head {
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
}
.hkai-job-profile-head > span {
    display: inline-block;
    margin-bottom: 6px;
    color: #49647E;
}
.hkai-job-profile-head h3 {
    margin: 0 0 8px;
    color: var(--hkai-text);
}
.hkai-job-profile-head p {
    margin: 0;
    color: #505863;
    line-height: 1.9;
}
.hkai-job-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.hkai-job-profile-grid article {
    min-width: 0;
    padding: 14px 12px;
    text-align: center;
    background: #fff;
    border: 1px solid #E0E6ED;
    border-radius: 12px;
}
.hkai-job-profile-grid strong {
    display: block;
    color: var(--hkai-red);
}
.hkai-job-profile-grid p {
    margin: 5px 0 0;
    color: var(--hkai-text);
    overflow-wrap: anywhere;
}

.hkai-result-list { display: grid; gap: 22px; }
.hkai-result-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #D9DEE5;
    border-radius: 17px;
    box-shadow: 0 10px 30px rgba(34, 43, 58, .045);
}
.hkai-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: 4px;
    background: #8A929C;
}
.hkai-noc-app.is-en .hkai-result-card::before { right: auto; left: 0; }
.hkai-result-card.is-primary::before { background: var(--hkai-green); }
.hkai-result-head {
    padding: 28px 28px 22px;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFD 100%);
    border-bottom: 1px solid #E8EBEF;
}
.hkai-rank-badge {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 5px 12px;
    color: #0E6E67;
    background: #EAF7F5;
    border: 1px solid #B9DDD8;
    border-radius: 999px;
}
.is-comparison .hkai-rank-badge {
    color: #5D626A;
    background: #F2F4F6;
    border-color: #D9DEE3;
}
.hkai-code-line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--hkai-red);
}
.hkai-code-line span { font-weight: 600; }
.hkai-code-line bdi { font-weight: 700; font-size: 1.55em; }
.hkai-result-head h3 {
    max-width: 780px;
    margin: 0 auto 7px;
    color: var(--hkai-text);
    line-height: 1.65;
}
.hkai-result-subtitle {
    margin: 0 auto;
    color: var(--hkai-muted);
    direction: ltr;
    unicode-bidi: plaintext;
}
.hkai-result-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}
.hkai-result-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 5px 10px;
    color: #555D66;
    background: #F4F6F8;
    border: 1px solid #E0E4E8;
    border-radius: 999px;
}
.hkai-result-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 24px 18px;
    padding: 14px 18px;
    text-align: center;
    color: #155E57;
    background: #EDF8F6;
    border: 1px solid #C2E2DD;
    border-radius: 11px;
}
.hkai-result-summary strong { white-space: nowrap; }
.hkai-result-summary span { color: #365F5B; }
.hkai-evidence-box {
    margin: 0 24px 14px;
    padding: 17px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
}
.hkai-evidence-box h4 {
    margin: 0 0 10px;
    color: var(--hkai-text);
}
.hkai-evidence-box ul {
    margin: 0;
    padding-inline-start: 21px;
}
.hkai-evidence-box li + li { margin-top: 6px; }
.hkai-evidence-reason { background: #F5F7FA; border-color: #DFE4EA; }
.hkai-evidence-match { background: #EDF8F6; border-color: #BFE1DB; }
.hkai-evidence-missing { background: #FFF8E9; border-color: #EAC982; }
.hkai-evidence-caution { background: #FFF2F3; border-color: #F0BFC3; }
.hkai-box-note,
.hkai-more-count {
    margin: 11px 0 0;
    color: var(--hkai-muted);
}
.hkai-result-action {
    display: flex;
    justify-content: center;
    padding: 8px 24px 26px;
}
.hkai-official-link { min-width: min(360px, 100%); text-align: center; }
.hkai-restart-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.hkai-submit-row {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hkai-submit-row .hkai-primary-button { margin-inline: auto; }

@media (max-width: 760px) {
    .hkai-results { padding: 18px 12px; border-radius: 16px; }
    .hkai-job-profile { padding: 18px 12px; }
    .hkai-job-profile-grid { grid-template-columns: 1fr; }
    .hkai-result-head { padding: 24px 15px 19px; }
    .hkai-result-summary {
        flex-direction: column;
        gap: 3px;
        margin-inline: 14px;
    }
    .hkai-evidence-box { margin-inline: 14px; padding: 15px; }
    .hkai-result-action { padding-inline: 14px; }
}

.hkai-unit-group {
    margin: 8px auto 0;
    max-width: 760px;
    font-size: .9em;
    color: var(--hkai-muted);
    line-height: 1.7;
}
.hkai-unit-group strong { color: var(--hkai-text); }
.hkai-unit-group span { opacity: .86; }

/* =========================================================
   NOC Finder 4.3.5 — Website Result UI (Concept 6)
   ========================================================= */
.hkai-results {
  max-width: 1260px;
  margin: 34px auto 0;
  padding: 34px;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(28, 39, 51, .06);
}
.hkai-web-results-head { text-align: center; margin: 0 auto 24px; max-width: 760px; }
.hkai-web-results-head > span { display:inline-block; margin-bottom:8px; color:#ED1C24; font-weight:800; }
.hkai-web-results-head h2 { margin:0; font-size:clamp(27px,3vw,38px); line-height:1.35; color:#242b33; }
.hkai-web-results-head p { margin:9px 0 0; color:#6a7480; font-size:15px; }

.hkai-role-strip {
  display:grid;
  grid-template-columns:minmax(260px,1.2fr) minmax(420px,1.8fr);
  gap:18px;
  align-items:center;
  margin:0 0 22px;
  padding:18px 20px;
  background:linear-gradient(135deg,#f8fafc,#f2f6fa);
  border:1px solid #e4e9ef;
  border-radius:17px;
}
.hkai-role-strip-main > span { display:block; color:#66717d; font-size:13px; margin-bottom:4px; }
.hkai-role-strip-main strong { display:block; font-size:20px; color:#28313b; }
.hkai-role-strip-main p { margin:5px 0 0; color:#68737f; font-size:14px; line-height:1.8; }
.hkai-role-strip-chips { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.hkai-role-strip-chips > div { padding:11px 12px; background:#fff; border:1px solid #e2e7ed; border-radius:12px; min-height:72px; }
.hkai-role-strip-chips small { display:block; color:#8a939d; font-size:11px; margin-bottom:5px; }
.hkai-role-strip-chips span { display:block; color:#3a434d; font-size:13px; line-height:1.65; font-weight:700; }

.hkai-web-result-list { display:grid; gap:18px; }
.hkai-web-result-card {
  --accent:#2b8b57;
  --accent2:#6fc58d;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  direction:ltr;
  overflow:hidden;
  background:#fff;
  border:1px solid #dfe6ea;
  border-radius:20px;
  box-shadow:0 9px 28px rgba(29,43,55,.055);
  min-height:280px;
}
.hkai-web-result-card.is-secondary { --accent:#356fbe; --accent2:#74a8e6; }
.hkai-web-result-card.limited { --accent:#6c7d90; --accent2:#aab5c1; }
.hkai-score-rail {
  direction:rtl;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:26px 18px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--accent) 10%, white),#fff 74%);
  border-right:1px solid #e7ebef;
}
.hkai-result-rank {
  position:absolute;
  top:14px;
  right:14px;
  padding:6px 11px;
  border-radius:999px;
  color:#fff;
  background:var(--accent);
  font-size:12px;
  font-weight:800;
  box-shadow:0 6px 15px color-mix(in srgb,var(--accent) 22%, transparent);
}
.hkai-score-donut {
  --score:0;
  width:142px;
  height:142px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:conic-gradient(var(--accent) calc(var(--score) * 1%), #e8edf2 0);
  position:relative;
  filter:drop-shadow(0 9px 17px rgba(35,52,66,.09));
}
.hkai-score-donut::before { content:""; position:absolute; inset:12px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 1px #eef1f4; }
.hkai-score-donut > div { position:relative; z-index:1; text-align:center; }
.hkai-score-donut strong { display:block; color:#202831; font-size:31px; line-height:1.05; font-weight:900; letter-spacing:-.5px; }
.hkai-score-donut span { display:block; margin-top:7px; color:var(--accent); font-size:12px; font-weight:800; }
.hkai-score-rail > small { color:#7a8590; font-size:11px; }

.hkai-result-body { direction:rtl; padding:26px 28px 23px; min-width:0; }
.hkai-noc-app.is-en .hkai-result-body, .hkai-noc-app.is-en .hkai-score-rail { direction:ltr; }
.hkai-result-topline { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.hkai-result-code { color:#202832; font-weight:900; font-size:18px; letter-spacing:.2px; }
.hkai-result-body h3 { margin:6px 0 0; color:#202832; font-size:23px; line-height:1.5; }
.hkai-result-subtitle { margin:2px 0 0; direction:ltr; text-align:right; color:#7a838d; font-size:13px; }
.hkai-noc-app.is-en .hkai-result-subtitle { text-align:left; }
.hkai-result-chips { margin:0; display:flex; gap:7px; justify-content:flex-end; }
.hkai-result-chips span { background:#f3f5f7; border:1px solid #e5e9ed; border-radius:999px; padding:6px 10px; color:#505a65; font-size:12px; white-space:nowrap; }
.hkai-unit-group { margin:10px 0 0; color:#6c7681; font-size:12px; line-height:1.8; }
.hkai-unit-group span { direction:ltr; display:inline-block; }
.hkai-result-support-line { display:flex; align-items:center; gap:9px; margin:14px 0 0; padding:10px 12px; background:#f7f9fb; border-radius:10px; color:#66717c; font-size:12px; }
.hkai-result-support-line strong { color:var(--accent); font-size:16px; white-space:nowrap; }
.hkai-result-content-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px; }
.hkai-result-reasons, .hkai-result-duties { padding:15px 16px; border:1px solid #e5e9ee; border-radius:13px; background:#fbfcfd; }
.hkai-result-reasons h4, .hkai-result-duties h4, .hkai-result-missing h4 { margin:0 0 9px; color:#313943; font-size:13px; }
.hkai-result-reasons ul, .hkai-result-duties ul, .hkai-result-missing ul { margin:0; padding-inline-start:20px; }
.hkai-result-reasons li, .hkai-result-duties li, .hkai-result-missing li { color:#46515d; font-size:13px; line-height:1.9; }
.hkai-result-duties li::marker { color:var(--accent); }
.hkai-result-missing { margin-top:14px; padding:15px 16px; background:#fff9ed; border:1px solid #f0d99c; border-radius:13px; }
.hkai-result-missing p { margin:9px 0 0; color:#7c6842; font-size:12px; line-height:1.75; }
.hkai-result-warning { display:flex; gap:9px; align-items:flex-start; margin-top:14px; padding:12px 14px; background:#fff5f5; border:1px solid #f2cccc; border-radius:12px; }
.hkai-result-warning strong { flex:0 0 auto; color:#b32027; font-size:12px; }
.hkai-result-warning p { margin:0; color:#6a5557; font-size:12px; line-height:1.75; }
.hkai-result-footer { margin-top:17px; padding-top:14px; border-top:1px solid #edf0f3; }
.hkai-result-footer a { color:var(--accent); font-weight:800; text-decoration:none; font-size:13px; }
.hkai-result-footer a:hover { text-decoration:underline; }
.hkai-results-note { margin:18px 0 0; padding:12px 15px; text-align:center; border-radius:11px; background:#f7f8fa; color:#6c7580; font-size:12px; line-height:1.8; }

@media (max-width: 920px) {
  .hkai-results { padding:22px 16px; border-radius:19px; }
  .hkai-role-strip { grid-template-columns:1fr; }
  .hkai-role-strip-chips { grid-template-columns:1fr; }
  .hkai-web-result-card { grid-template-columns:1fr; }
  .hkai-score-rail { border-right:0; border-bottom:1px solid #e7ebef; min-height:205px; }
  .hkai-result-rank { right:14px; }
  .hkai-score-donut { width:126px; height:126px; }
  .hkai-score-donut strong { font-size:27px; }
}
@media (max-width: 620px) {
  .hkai-web-results-head h2 { font-size:26px; }
  .hkai-result-body { padding:20px 16px 18px; }
  .hkai-result-topline { display:block; }
  .hkai-result-chips { justify-content:flex-start; margin-top:10px; }
  .hkai-result-content-grid { grid-template-columns:1fr; }
  .hkai-result-support-line { align-items:flex-start; }
}


/* =========================================================
   NOC Finder 4.3.5 — Typography, RTL/LTR and full-width results
   ========================================================= */
.hkai-results {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding: 36px !important;
}
.hkai-results,
.hkai-results * { font-family: inherit !important; }
.hkai-web-results-head { max-width: 900px; margin-bottom: 28px; }
.hkai-web-results-head > span { font-size: 16px; line-height: 2; }
.hkai-web-results-head h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.55; font-weight: 800; }
.hkai-web-results-head p { font-size: 17px; line-height: 2; }

.hkai-role-strip { grid-template-columns: minmax(300px,1.15fr) minmax(480px,1.85fr); padding: 22px 24px; gap: 20px; }
.hkai-role-strip-main > span { font-size: 15px; line-height: 2; }
.hkai-role-strip-main strong { font-size: 24px; line-height: 1.8; font-weight: 800; }
.hkai-role-strip-main p { font-size: 16px; line-height: 2; }
.hkai-role-strip-chips > div { min-height: 88px; padding: 14px 15px; }
.hkai-role-strip-chips small { font-size: 13px; line-height: 1.8; }
.hkai-role-strip-chips span { font-size: 15px; line-height: 1.9; }

.hkai-web-result-list { gap: 24px; }
.hkai-web-result-card { grid-template-columns: 250px minmax(0,1fr); min-height: 340px; border-radius: 22px; }
.hkai-score-rail { padding: 32px 20px; gap: 15px; }
.hkai-result-rank { top: 16px; right: 16px; padding: 7px 13px; font-size: 14px; line-height: 1.6; }
.hkai-score-donut { width: 158px; height: 158px; box-shadow: 0 14px 32px color-mix(in srgb,var(--accent) 16%, transparent); }
.hkai-score-donut::before { inset: 13px; box-shadow: inset 0 0 0 1px #edf1f4, 0 0 0 6px rgba(255,255,255,.75); }
.hkai-score-donut::after { content:""; position:absolute; inset:-7px; border-radius:50%; border:1px solid color-mix(in srgb,var(--accent) 17%, transparent); pointer-events:none; }
.hkai-score-donut strong { font-size: 36px; }
.hkai-score-donut span { margin-top: 8px; font-size: 14px; line-height: 1.7; }
.hkai-score-rail > small { font-size: 13px; line-height: 1.8; }

.hkai-result-body { padding: 30px 32px 27px; }
.hkai-result-meta-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.hkai-result-code { font-size: 20px; line-height: 1.8; color:#202832; }
.hkai-result-code bdi,
.hkai-teer-chip bdi { direction:ltr; unicode-bidi:isolate; }
.hkai-teer-chip { display:inline-flex; align-items:center; min-height:38px; padding:6px 13px; background:#f3f5f7; border:1px solid #e2e7eb; border-radius:999px; color:#505a65; font-size:15px; font-weight:700; white-space:nowrap; }
.hkai-result-title-block { margin-top: 7px; }
.hkai-result-body h3 { margin:0; font-size:28px; line-height:1.75; font-weight:800; overflow-wrap:anywhere; }
.hkai-result-subtitle { margin:4px 0 0; font-size:15px; line-height:1.9; color:#737e89; unicode-bidi:isolate; overflow-wrap:anywhere; }
.hkai-noc-app:not(.is-en) .hkai-result-subtitle { text-align:right; }
.hkai-noc-app.is-en .hkai-result-subtitle { text-align:left; }

.hkai-unit-group-card { margin-top:16px; padding:14px 16px; background:#f7f9fb; border:1px solid #e4e9ee; border-radius:12px; }
.hkai-unit-group-card > span { display:block; margin-bottom:5px; color:#7c8792; font-size:14px; line-height:1.8; }
.hkai-unit-group-card > strong { display:block; color:#36414c; font-size:16px; line-height:1.9; font-weight:800; }
.hkai-unit-group-card > small { display:block; margin-top:3px; color:#7a8590; font-size:14px; line-height:1.8; unicode-bidi:isolate; overflow-wrap:anywhere; }
.hkai-noc-app:not(.is-en) .hkai-unit-group-card > small { text-align:right; }

.hkai-result-support-line { margin-top:16px; padding:12px 14px; font-size:14px; line-height:1.9; }
.hkai-result-support-line strong { font-size:18px; }
.hkai-result-content-grid { gap:16px; margin-top:18px; align-items:stretch; }
.hkai-result-reasons,
.hkai-result-duties { padding:18px 19px; min-height:100%; }
.hkai-result-reasons h4,
.hkai-result-duties h4,
.hkai-result-missing h4 { font-size:16px; line-height:1.9; margin-bottom:11px; }
.hkai-result-reasons li,
.hkai-result-duties li,
.hkai-result-missing li { font-size:15px; line-height:2; }
.hkai-result-missing { margin-top:16px; padding:18px 19px; }
.hkai-result-missing p { font-size:14px; line-height:2; }
.hkai-result-warning { margin-top:16px; padding:14px 16px; gap:11px; }
.hkai-result-warning strong { font-size:15px; line-height:1.9; }
.hkai-result-warning p { font-size:15px; line-height:2; }
.hkai-result-footer { margin-top:19px; padding-top:16px; }
.hkai-result-footer a { font-size:15px; line-height:1.9; }
.hkai-results-note { margin-top:20px; padding:14px 17px; font-size:14px; line-height:2; }

@media (max-width: 920px) {
  .hkai-results { padding:24px 17px !important; }
  .hkai-role-strip { grid-template-columns:1fr; }
  .hkai-role-strip-chips { grid-template-columns:1fr; }
  .hkai-web-result-card { grid-template-columns:1fr; }
  .hkai-score-rail { min-height:230px; border-right:0; border-bottom:1px solid #e7ebef; }
}
@media (max-width: 620px) {
  .hkai-results { padding:20px 12px !important; }
  .hkai-web-results-head h2 { font-size:30px; }
  .hkai-web-results-head p { font-size:16px; }
  .hkai-result-body { padding:23px 17px 21px; }
  .hkai-result-meta-row { align-items:flex-start; }
  .hkai-result-body h3 { font-size:24px; }
  .hkai-result-content-grid { grid-template-columns:1fr; }
  .hkai-score-donut { width:145px; height:145px; }
}


/* =========================================================
   NOC Finder 4.5.0 — premium result presentation
   ========================================================= */
.hkai-results {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(237,28,36,.035), transparent 24%),
    radial-gradient(circle at 92% 0%, rgba(39,134,84,.045), transparent 25%),
    #fff;
}
.hkai-web-results-head {
  position: relative;
  max-width: 860px;
  margin: 0 auto 30px;
  padding: 8px 18px 0;
  text-align: center;
}
.hkai-web-results-head > span {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff3f3;
  border: 1px solid #ffd7d9;
  color: #ED1C24;
  box-shadow: 0 8px 24px rgba(237,28,36,.06);
}
.hkai-web-results-head h2 { margin-top: 10px; letter-spacing: -.45px; }
.hkai-web-results-head p { max-width: 700px; margin: 10px auto 0; }

.hkai-role-strip {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
  padding: 25px 28px;
  gap: 18px;
  text-align: center;
  background: linear-gradient(135deg,#f8fbfd 0%,#f2f6fa 52%,#f7faf8 100%);
  border-color: #dfe7ed;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.hkai-role-strip::before,
.hkai-role-strip::after {
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.hkai-role-strip::before { width:150px;height:150px;right:-72px;top:-88px;background:rgba(39,134,84,.045); }
.hkai-role-strip::after { width:120px;height:120px;left:-65px;bottom:-78px;background:rgba(53,111,190,.04); }
.hkai-role-strip-main { position:relative; z-index:1; max-width: 900px; margin: 0 auto; }
.hkai-role-strip-main > span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 12px;
  margin:0 auto 7px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid #e1e7ec;
  color:#6c7680;
  font-weight:700;
}
.hkai-role-strip-main strong { text-align:center; color:#222c35; }
.hkai-role-strip-main p { max-width:800px; margin:6px auto 0; text-align:center; }
.hkai-role-strip-chips {
  position:relative;
  z-index:1;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
  max-width:1000px;
  margin:0 auto;
}
.hkai-role-strip-chips > div { text-align:center; box-shadow:0 8px 22px rgba(31,43,55,.035); }

.hkai-web-result-card {
  grid-template-columns: 218px minmax(0,1fr);
  min-height: 0;
  border-radius: 24px;
  border-color:#dfe5ea;
  box-shadow: 0 18px 44px rgba(30,45,58,.065);
  transition: transform .22s ease, box-shadow .22s ease;
}
.hkai-web-result-card:hover { transform:translateY(-2px); box-shadow:0 24px 52px rgba(30,45,58,.09); }
.hkai-score-rail {
  min-height: 330px;
  justify-content:center;
  padding: 72px 20px 30px;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb,var(--accent) 8%, white), transparent 56%),
    linear-gradient(160deg,color-mix(in srgb,var(--accent) 9%, white),#fff 72%);
}
.hkai-result-rank {
  top: 20px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  min-width: 112px;
  text-align:center;
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 22px color-mix(in srgb,var(--accent) 20%, transparent);
}
.hkai-score-donut {
  --ring-size: 172px;
  width: var(--ring-size);
  height: var(--ring-size);
  background:
    conic-gradient(from -90deg, var(--accent) calc(var(--score) * 1%), #e8edf2 0);
  box-shadow:
    0 22px 48px color-mix(in srgb,var(--accent) 18%, transparent),
    inset 0 0 0 1px rgba(255,255,255,.95);
  isolation:isolate;
}
.hkai-score-donut::before {
  inset: 14px;
  background:
    radial-gradient(circle at 50% 33%, rgba(255,255,255,1), rgba(255,255,255,.96) 58%, #f8fafb 100%);
  box-shadow:
    inset 0 0 0 1px #e8edf1,
    0 0 0 7px rgba(255,255,255,.72),
    0 7px 24px rgba(31,43,55,.07);
  z-index:1;
}
.hkai-score-donut::after {
  content:"";
  position:absolute;
  width:13px;
  height:13px;
  left:50%;
  top:50%;
  margin:-6.5px;
  border-radius:50%;
  background:#fff;
  border:4px solid var(--accent);
  box-shadow:0 4px 13px color-mix(in srgb,var(--accent) 34%, transparent);
  transform: rotate(calc((var(--score) * 3.6deg) - 90deg)) translateX(calc(var(--ring-size) / 2 - 3px));
  z-index:3;
}
.hkai-score-donut > div { z-index:2; }
.hkai-score-donut strong { font-size: 39px; letter-spacing:-1px; }
.hkai-score-donut span {
  display:inline-block;
  margin-top:9px;
  padding:5px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--accent) 9%, white);
  border:1px solid color-mix(in srgb,var(--accent) 18%, white);
  color:var(--accent);
  font-size:14px;
}
.hkai-score-rail > small { margin-top:2px; color:#74808c; font-weight:700; }

.hkai-result-body { padding: 31px 34px 29px; }
.hkai-result-meta-row { padding-bottom: 3px; }
.hkai-result-code { font-size: 19px; }
.hkai-result-title-block { margin-top:9px; padding-bottom:3px; }
.hkai-result-body h3 { font-size: 27px; line-height:1.7; }
.hkai-result-subtitle { font-size:15px; line-height:1.95; }
.hkai-unit-group-card,
.hkai-result-reasons,
.hkai-result-duties,
.hkai-result-missing,
.hkai-result-warning { box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.hkai-result-footer { text-align:center; }
.hkai-result-footer a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:240px;
  padding:10px 17px;
  border-radius:999px;
  background:color-mix(in srgb,var(--accent) 8%, white);
  border:1px solid color-mix(in srgb,var(--accent) 20%, white);
  text-decoration:none !important;
}

@media (max-width: 920px) {
  .hkai-role-strip-chips { grid-template-columns:1fr; }
  .hkai-web-result-card { grid-template-columns:1fr; }
  .hkai-score-rail {
    min-height: 265px;
    padding: 70px 18px 28px;
    border-right:0;
    border-bottom:1px solid #e7ebef;
  }
  .hkai-score-donut { --ring-size: 158px; }
}
@media (max-width: 620px) {
  .hkai-web-results-head { padding-inline:4px; margin-bottom:22px; }
  .hkai-web-results-head h2 { font-size:29px; line-height:1.55; }
  .hkai-role-strip { padding:20px 16px; }
  .hkai-role-strip-main strong { font-size:22px; }
  .hkai-score-rail { min-height:245px; }
  .hkai-score-donut { --ring-size: 148px; }
  .hkai-score-donut strong { font-size:34px; }
  .hkai-result-body { padding:23px 16px 21px; }
  .hkai-result-body h3 { font-size:23px; }
  .hkai-result-footer a { width:100%; min-width:0; box-sizing:border-box; }
}


/* 4.7.1 — clean premium score ring; no endpoint marker, responsive and compact */
.hkai-web-result-card { grid-template-columns: 190px minmax(0,1fr); }
.hkai-score-rail {
  min-height: 260px;
  padding: 62px 18px 24px;
  gap: 13px;
  background: linear-gradient(165deg,color-mix(in srgb,var(--accent) 7%, white),#fff 68%);
}
.hkai-score-donut {
  --ring-size: 148px;
  width:var(--ring-size);
  height:var(--ring-size);
  border-radius:50%;
  position:relative;
  display:grid;
  place-items:center;
  background:conic-gradient(from -90deg,var(--accent) 0 calc(var(--score) * 1%),#e7ecf0 calc(var(--score) * 1%) 100%);
  box-shadow:0 13px 30px color-mix(in srgb,var(--accent) 12%, transparent),0 0 0 1px color-mix(in srgb,var(--accent) 10%, transparent);
  isolation:isolate;
}
.hkai-score-donut::before {
  content:"";
  position:absolute;
  inset:11px;
  border-radius:50%;
  background:#fff;
  box-shadow:inset 0 0 0 1px #edf0f3;
  z-index:1;
}
.hkai-score-donut::after { content:none !important; display:none !important; }
.hkai-score-donut > div { position:relative;z-index:2;text-align:center; }
.hkai-score-donut strong { font-size:34px;line-height:1;font-weight:900;letter-spacing:-.6px;color:#202831; }
.hkai-score-donut span { margin-top:9px;padding:5px 10px;border-radius:999px;font-size:13px;line-height:1.5;font-weight:800;background:color-mix(in srgb,var(--accent) 8%, white);border:1px solid color-mix(in srgb,var(--accent) 15%, white);color:var(--accent); }
.hkai-score-rail > small { font-size:12px;line-height:1.7;color:#7b8792;font-weight:700;text-align:center; }
.hkai-result-rank { top:18px;left:50%;right:auto;transform:translateX(-50%);text-align:center; }
@media (max-width:920px){
  .hkai-web-result-card{grid-template-columns:1fr;}
  .hkai-score-rail{min-height:225px;padding:60px 18px 22px;border-right:0;border-bottom:1px solid #e7ebef;}
  .hkai-score-donut{--ring-size:140px;}
}
@media (max-width:620px){
  .hkai-score-rail{min-height:210px;}
  .hkai-score-donut{--ring-size:132px;}
  .hkai-score-donut strong{font-size:31px;}
}

/* 4.8.0 clearer occupation-vs-unit title hierarchy */
.hkai-result-title-label { display:block; margin-bottom:7px; color:#7b8794; font-size:14px; line-height:1.8; font-weight:700; }
.hkai-web-results-head p { text-align:center; margin-inline:auto; }
@media (max-width:640px){ .hkai-result-title-label{font-size:13px;} }


/* 5.0.2 — stable three-field occupation profile contract */
.hkai-role-strip-chips { align-items: stretch; }
.hkai-role-strip-chips > div {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:104px;
  height:100%;
  box-sizing:border-box;
}
.hkai-role-strip-chips small,
.hkai-role-strip-chips span { text-align:center; width:100%; }
@media (max-width:920px){
  .hkai-role-strip-chips > div { min-height:92px; }
}

/* =========================================================
   NOC Finder 5.1.2 — centered result header + cleaner opening hero
   ========================================================= */
.hkai-web-results-head {
    max-width: 900px;
    margin: 0 auto 28px !important;
    text-align: center !important;
}
.hkai-web-results-head > span,
.hkai-web-results-head h2,
.hkai-web-results-head p {
    text-align: center !important;
    margin-inline: auto;
}

/* Opening card: calmer, centered, and easier to scan. */
.hkai-product-hero {
    display: block !important;
    padding: 46px 48px 40px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-color: #e1e6ec;
    box-shadow: 0 16px 44px rgba(30, 36, 48, .055);
}
.hkai-product-hero::after {
    width: 230px;
    height: 230px;
    inset-inline-end: -120px;
    bottom: -145px;
    border-width: 30px;
    opacity: .72;
}
.hkai-hero-content {
    width: min(940px, 100%);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hkai-product-brand {
    margin: 0 auto 18px !important;
    justify-content: center;
    text-align: center;
}
.hkai-hero-content .hkai-kicker {
    margin-inline: auto;
}
.hkai-hero-content h2 {
    max-width: 900px;
    margin-inline: auto;
    text-align: center !important;
}
.hkai-hero-content > p {
    max-width: 860px;
    margin-inline: auto;
    text-align: center !important;
}
.hkai-hero-actions,
.hkai-hero-notes {
    justify-content: center !important;
    text-align: center !important;
}
.hkai-hero-actions {
    width: 100%;
}
.hkai-hero-notes {
    max-width: 900px;
}

.hkai-hero-panel {
    width: min(1000px, 100%);
    margin: 32px auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.hkai-panel-eyebrow {
    grid-column: 1 / -1;
    padding: 0 0 3px;
    text-align: center;
    border: 0;
}
.hkai-hero-panel > div,
.hkai-noc-app.is-en .hkai-hero-panel > div {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-height: 154px;
    padding: 18px 16px;
    text-align: center;
    background: #fff;
    border: 1px solid #e3e7ec !important;
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(32, 42, 58, .035);
}
.hkai-hero-panel > div + div {
    border-top: 1px solid #e3e7ec !important;
}
.hkai-hero-panel > div > span {
    width: 100%;
}
.hkai-hero-panel b {
    order: -1;
    flex: 0 0 auto;
}
.hkai-hero-panel strong,
.hkai-hero-panel small {
    text-align: center;
}

/* Job-input header: less empty space, clearer hierarchy. */
.hkai-form-section {
    background: #f8fafc;
}
.hkai-form-section > .hkai-section-intro {
    max-width: 900px;
    margin: 0 auto 22px;
    padding: 24px 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid #e3e8ee;
    border-radius: 18px;
    box-shadow: 0 9px 26px rgba(32, 42, 58, .035);
}
.hkai-form-section > .hkai-section-intro .hkai-kicker {
    margin-inline: auto;
}

@media (max-width: 900px) {
    .hkai-product-hero {
        padding: 34px 24px 30px !important;
    }
    .hkai-hero-panel {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }
    .hkai-panel-eyebrow {
        grid-column: 1;
    }
    .hkai-hero-panel > div,
    .hkai-noc-app.is-en .hkai-hero-panel > div {
        min-height: 0;
    }
}
@media (max-width: 640px) {
    .hkai-product-hero {
        padding: 24px 16px !important;
    }
    .hkai-form-section > .hkai-section-intro {
        padding: 20px 16px;
        border-radius: 15px;
    }
}


/* 5.1.3 — brand refinement + clearer role profile alignment + visible NOC code */
.hkai-product-brand {
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:18px 22px;
    border-radius:20px;
    border:1px solid rgba(237,28,36,.14);
    box-shadow:0 12px 30px rgba(25,31,42,.045);
}
.hkai-product-brand img {
    width:72px;
    height:72px;
    max-height:none;
    padding:10px;
    background:linear-gradient(180deg,#fff8f8 0%,#fff 100%);
    border:1px solid rgba(237,28,36,.12);
    border-radius:18px;
    object-fit:contain;
}
.hkai-product-brand div {
    display:grid;
    gap:4px;
    justify-items:center;
    text-align:center;
}
.hkai-product-brand strong {
    font-size:18px;
    line-height:1.4;
    font-weight:900;
}
.hkai-product-brand span {
    font-size:15px;
    line-height:1.8;
    font-weight:700;
}
.hkai-kicker {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hkai-role-strip-chips {
    align-items:stretch;
}
.hkai-role-strip-chips > div {
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
}
.hkai-role-strip-chips small {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:26px;
    margin:0;
    white-space:nowrap;
    text-align:center;
}
.hkai-role-strip-chips span {
    display:flex;
    align-items:flex-start;
    justify-content:center;
    width:100%;
    min-height:56px;
    text-align:center;
}

.hkai-result-title-code {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 10px;
    padding:5px 10px;
    border-radius:999px;
    background:#f4f7fa;
    border:1px solid #dde4eb;
    color:#51606f;
    font-size:13px;
    font-weight:800;
    line-height:1.5;
}

@media (max-width: 900px) {
    .hkai-product-brand {
        padding:16px 18px;
        gap:8px;
    }
    .hkai-product-brand img {
        width:64px;
        height:64px;
    }
    .hkai-role-strip-chips small {
        white-space:normal;
        min-height:0;
    }
    .hkai-role-strip-chips span {
        min-height:0;
    }
}

/* 5.1.4 — centered helper copy, 1500-char form polish, stronger analysis motion, cleaner consent checks */
.hkai-form-section .hkai-section-intro,
.hkai-how-section .hkai-section-intro {
    text-align: center !important;
}
.hkai-form-section .hkai-section-intro {
    max-width: 860px;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid #E2E7EE;
    border-radius: 24px;
    box-shadow: 0 8px 28px rgba(28, 36, 48, .04);
}
.hkai-form-section .hkai-section-intro h3,
.hkai-form-section .hkai-section-intro p,
.hkai-form-section .hkai-kicker,
.hkai-how-section .hkai-section-intro h3,
.hkai-how-section .hkai-section-intro p {
    text-align: center !important;
    margin-inline: auto;
}
.hkai-form-section .hkai-section-intro p,
.hkai-how-section .hkai-section-intro p {
    max-width: 700px;
}

/* richer analysis animation */
.hkai-analysis-motion {
    width: 184px;
    height: 184px;
    margin-bottom: 24px;
}
.hkai-motion-halo,
.hkai-motion-ring,
.hkai-motion-grid,
.hkai-motion-scan,
.hkai-motion-dots,
.hkai-motion-dots i {
    position: absolute;
    pointer-events: none;
}
.hkai-motion-halo {
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237,28,36,.12) 0 28%, rgba(237,28,36,.03) 50%, transparent 72%);
    animation: hkai-core-glow 2.6s ease-in-out infinite;
}
.hkai-motion-ring {
    border-radius: 50%;
    border: 1px solid rgba(237,28,36,.12);
}
.hkai-motion-ring-a {
    inset: 12px;
    animation: hkai-soft-pulse 2.5s ease-out infinite;
}
.hkai-motion-ring-b {
    inset: 26px;
    border-color: rgba(91, 100, 114, .12);
    animation: hkai-soft-pulse 2.5s ease-out infinite -.85s;
}
.hkai-motion-grid {
    inset: 34px;
    border-radius: 50%;
    background-image:
        linear-gradient(rgba(237,28,36,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(237,28,36,.08) 1px, transparent 1px);
    background-size: 16px 16px;
    background-position: center;
    opacity: .55;
    -webkit-mask-image: radial-gradient(circle, transparent 0 18%, #000 19% 100%);
            mask-image: radial-gradient(circle, transparent 0 18%, #000 19% 100%);
}
.hkai-motion-scan {
    inset-inline: 26px;
    top: 50%;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(237,28,36,0), rgba(237,28,36,.10), rgba(237,28,36,.42), rgba(237,28,36,.10), rgba(237,28,36,0));
    box-shadow: 0 0 18px rgba(237,28,36,.16);
    animation: hkai-scan-sweep 2.2s ease-in-out infinite;
}
.hkai-motion-orbit {
    z-index: 4;
    inset: 18px;
    border: 1.5px dashed rgba(237,28,36,.26);
    border-top-color: rgba(237,28,36,.88);
    border-right-color: rgba(237,28,36,.18);
    animation: hkai-clean-spin 3.2s linear infinite;
}
.hkai-motion-orbit::after {
    content: '';
    position: absolute;
    top: 18px;
    right: 22px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ED1C24;
    border: 2px solid #fff;
    box-shadow: 0 0 0 5px rgba(237,28,36,.08), 0 0 18px rgba(237,28,36,.34);
}
.hkai-motion-orbit-b {
    inset: 38px;
    border-color: rgba(84, 93, 107, .20);
    border-top-color: rgba(84, 93, 107, .50);
    animation-duration: 4.4s;
    animation-direction: reverse;
}
.hkai-motion-orbit-b::after {
    top: auto;
    right: auto;
    left: 16px;
    bottom: 14px;
    width: 6px;
    height: 6px;
    background: #5E6774;
    box-shadow: 0 0 0 4px rgba(94,103,116,.08);
}
.hkai-motion-dots {
    bottom: 12px;
    left: 50%;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
    z-index: 9;
}
.hkai-motion-dots i {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ED1C24;
    opacity: .28;
    animation: hkai-dot-blink 1.2s ease-in-out infinite;
}
.hkai-motion-dots i:nth-child(2) { animation-delay: .18s; }
.hkai-motion-dots i:nth-child(3) { animation-delay: .36s; }
.hkai-logo-core {
    width: 84px;
    height: 84px;
    border-color: rgba(237,28,36,.18);
    box-shadow: 0 16px 38px rgba(29,34,44,.15), 0 0 0 8px rgba(255,255,255,.92);
}
.hkai-logo-core::before {
    inset: -11px;
    border-color: rgba(237,28,36,.10);
}
.hkai-logo-core img {
    width: 58px;
    height: 58px;
    filter: drop-shadow(0 5px 10px rgba(237,28,36,.12));
}
@keyframes hkai-scan-sweep {
    0%, 100% { transform: translateY(-42px); opacity: .55; }
    50% { transform: translateY(42px); opacity: 1; }
}
@keyframes hkai-dot-blink {
    0%, 100% { opacity: .22; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

/* cleaner consent rows and custom checkboxes */
.hkai-contact-form .hkai-check-row {
    max-width: 620px;
    margin: 12px auto 0;
    padding: 4px 0;
    align-items: flex-start;
    gap: 12px;
}
.hkai-check-row span {
    flex: 1 1 auto;
    line-height: 1.9;
}
.hkai-check-row input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 4px 0 0;
    border: 1.5px solid #CDD5E0;
    border-radius: 6px;
    background: #fff;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.hkai-check-row input[type="checkbox"]::before {
    content: '';
    width: 10px;
    height: 6px;
    border-inline-start: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform .14s ease;
    margin-top: -1px;
}
.hkai-check-row input[type="checkbox"]:hover {
    border-color: rgba(237,28,36,.55);
}
.hkai-check-row input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(237,28,36,.10);
    border-color: rgba(237,28,36,.72);
}
.hkai-check-row input[type="checkbox"]:checked {
    background: var(--hkai-red);
    border-color: var(--hkai-red);
    box-shadow: 0 0 0 4px rgba(237,28,36,.08);
}
.hkai-check-row input[type="checkbox"]:checked::before {
    transform: rotate(-45deg) scale(1);
}

@media (max-width: 640px) {
    .hkai-form-section .hkai-section-intro {
        padding: 18px 14px;
        border-radius: 18px;
    }
    .hkai-contact-form .hkai-check-row {
        max-width: none;
        gap: 10px;
    }
}

/* 5.1.5 — checkbox glyph fix: real checkmark, RTL-safe */
.hkai-check-row input[type="checkbox"] {
    direction: ltr !important;
    unicode-bidi: isolate;
    position: relative;
    overflow: hidden;
}
.hkai-check-row input[type="checkbox"]::before {
    content: "" !important;
    position: absolute;
    inset: 0;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border: 0 !important;
    transform: none !important;
    background: transparent;
}
.hkai-check-row input[type="checkbox"]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    transform: scale(.72);
    transition: opacity .12s ease, transform .12s ease;
    pointer-events: none;
}
.hkai-check-row input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: scale(1);
}
.hkai-check-row input[type="checkbox"]:checked {
    background: var(--hkai-red) !important;
    border-color: var(--hkai-red) !important;
}


/* 5.1.6 — richer NOC identity header */
.hkai-result-title-block {
  position: relative;
  padding: 18px 20px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg,#ffffff 0%, #fbfcfd 100%);
  border: 1px solid #e7edf2;
}
.hkai-result-title-code {
  margin-bottom: 12px;
  background: linear-gradient(180deg,#f7fafc 0%, #eef3f7 100%);
  border-color: #dce5ec;
  color: #3f4d5b;
}
.hkai-result-identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.hkai-result-identity-card {
  min-height: 100%;
  padding: 15px 16px;
  border: 1px solid #e5ebf0;
  border-radius: 16px;
  background: #f9fbfc;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.hkai-result-identity-card > span {
  display: block;
  margin-bottom: 7px;
  color: #7a8794;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}
.hkai-result-identity-card > strong {
  display: block;
  color: #1f2935;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.hkai-result-identity-card > small {
  display: block;
  margin-top: 5px;
  color: #6c7783;
  font-size: 14px;
  line-height: 1.8;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
}
.hkai-result-identity-card.is-code {
  background: linear-gradient(180deg,#f5f8fb 0%, #f1f5f8 100%);
}
.hkai-result-identity-card.is-code > strong {
  font-size: 21px;
  letter-spacing: .2px;
}
.hkai-result-identity-card.is-proposed {
  background: linear-gradient(180deg,#fffdf8 0%, #fffaf0 100%);
  border-color: #f0e5c9;
}
.hkai-result-identity-card.is-official {
  background: linear-gradient(180deg,#f7fbf8 0%, #f2f8f4 100%);
  border-color: #dceade;
}
@media (max-width: 980px) {
  .hkai-result-identity-grid { grid-template-columns: 1fr; }
}

/* 5.1.7 — minimal result identity + hard-centered guidance copy */
.hkai-guidance-section > .hkai-section-intro > p,
.hkai-how-section > .hkai-section-intro > p,
.hkai-form-section > .hkai-section-intro > p {
    display: block !important;
    width: 100% !important;
    max-width: 760px !important;
    margin-inline: auto !important;
    text-align: center !important;
}

.hkai-result-meta-row {
    padding-bottom: 0;
    margin-bottom: 10px;
}
.hkai-noc-app:not(.is-en) .hkai-result-meta-row { justify-content: flex-end; }
.hkai-noc-app.is-en .hkai-result-meta-row { justify-content: flex-start; }

.hkai-result-identity {
    overflow: hidden;
    margin-top: 4px;
    border: 1px solid #E3E9EF;
    border-radius: 18px;
    background: #fff;
}
.hkai-result-identity-main {
    display: grid;
    grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
    align-items: stretch;
}
.hkai-result-code-block,
.hkai-result-official-title {
    padding: 20px 22px;
}
.hkai-result-code-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #F6F8FA;
    border-inline-end: 1px solid #E3E9EF;
}
.hkai-result-code-block > span,
.hkai-result-official-title > span,
.hkai-result-suggested-title > span {
    display: block;
    margin-bottom: 6px;
    color: #7B8794;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 700;
}
.hkai-result-code-block > strong {
    display: block;
    color: #1F2935;
    font-size: 23px;
    line-height: 1.5;
    font-weight: 900;
    letter-spacing: .2px;
}
.hkai-result-official-title {
    min-width: 0;
}
.hkai-result-official-title h3 {
    margin: 0 !important;
    color: #1F2935;
    font-size: 25px !important;
    line-height: 1.75 !important;
    font-weight: 850 !important;
}
.hkai-result-official-title p {
    margin: 4px 0 0;
    color: #6F7A86;
    font-size: 14px;
    line-height: 1.8;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}
.hkai-result-suggested-title {
    display: grid;
    grid-template-columns: minmax(170px, auto) minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
    padding: 14px 22px;
    background: #FCF8F2;
    border-top: 1px solid #EFE6D8;
}
.hkai-result-suggested-title > span {
    margin: 0;
    color: #8B7357;
}
.hkai-result-suggested-title > strong {
    display: block;
    color: #28323D;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.hkai-result-suggested-title > small {
    grid-column: 2;
    display: block;
    margin-top: 2px;
    color: #737E89;
    font-size: 13px;
    line-height: 1.8;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
}

/* Remove the older duplicated identity UI from layout if stale markup is cached. */
.hkai-result-title-block,
.hkai-result-identity-grid,
.hkai-unit-group-card {
    display: none !important;
}

@media (max-width: 780px) {
    .hkai-result-identity-main { grid-template-columns: 1fr; }
    .hkai-result-code-block {
        border-inline-end: 0;
        border-bottom: 1px solid #E3E9EF;
    }
    .hkai-result-code-block,
    .hkai-result-official-title { padding: 16px 17px; }
    .hkai-result-suggested-title {
        grid-template-columns: 1fr;
        row-gap: 4px;
        padding: 14px 17px;
    }
    .hkai-result-suggested-title > small { grid-column: 1; }
}


/* 5.1.8 — mobile result readability hard-fix */
@media (max-width: 640px) {
  .hkai-web-result-card,
  .hkai-result-body,
  .hkai-result-content-grid,
  .hkai-result-reasons,
  .hkai-result-duties,
  .hkai-result-missing,
  .hkai-result-warning,
  .hkai-result-warning p,
  .hkai-result-warning strong {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hkai-result-warning {
    display: block !important;
    width: 100% !important;
    padding: 16px 15px !important;
    margin-top: 16px !important;
    text-align: right !important;
    direction: rtl !important;
  }
  .hkai-noc-app.is-en .hkai-result-warning {
    text-align: left !important;
    direction: ltr !important;
  }
  .hkai-result-warning strong {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.9 !important;
  }
  .hkai-result-warning p {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 2 !important;
    text-align: inherit !important;
    unicode-bidi: plaintext !important;
  }

  .hkai-result-reasons,
  .hkai-result-duties,
  .hkai-result-missing {
    width: 100% !important;
    padding: 16px 15px !important;
    overflow: visible !important;
  }
  .hkai-result-reasons h4,
  .hkai-result-duties h4,
  .hkai-result-missing h4,
  .hkai-result-reasons li,
  .hkai-result-duties li,
  .hkai-result-missing li,
  .hkai-result-missing p {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    unicode-bidi: plaintext !important;
  }

  .hkai-result-content-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }
}

/* 5.1.9 — calmer opening flow + paste/source-risk warnings */
.hkai-product-hero-lite {
    display:block !important;
    padding:34px 34px 30px !important;
    margin-bottom:18px !important;
    text-align:center;
    background:#fff;
    border:1px solid #e3e8ed;
    border-radius:22px;
    box-shadow:0 12px 34px rgba(29,36,48,.045);
}
.hkai-product-hero-lite::after { display:none !important; }
.hkai-product-hero-lite .hkai-hero-content {
    width:min(820px,100%);
    margin-inline:auto;
    align-items:center;
    text-align:center;
}
.hkai-product-brand-lite {
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    margin:0 auto 18px !important;
    padding:0 !important;
    gap:10px !important;
    border:0 !important;
    box-shadow:none !important;
    background:transparent !important;
}
.hkai-product-brand-lite img {
    width:42px !important;
    height:42px !important;
    max-height:none !important;
    padding:6px !important;
    border:1px solid rgba(237,28,36,.12) !important;
    border-radius:12px !important;
    background:#fff8f8 !important;
}
.hkai-product-brand-lite div {
    display:grid !important;
    gap:0 !important;
    justify-items:start !important;
    text-align:start !important;
}
.hkai-product-brand-lite strong {
    font-size:16px !important;
    line-height:1.45 !important;
}
.hkai-product-brand-lite span {
    font-size:12px !important;
    line-height:1.65 !important;
    font-weight:650 !important;
}
.hkai-product-hero-lite h2 {
    max-width:760px;
    margin:0 auto 10px !important;
    text-align:center !important;
}
.hkai-product-hero-lite p {
    max-width:720px;
    margin:0 auto 20px !important;
    color:var(--hkai-muted);
    text-align:center !important;
}
.hkai-product-hero-lite .hkai-hero-actions {
    display:flex;
    justify-content:center !important;
    width:100%;
}

.hkai-form-section-compact {
    padding:30px !important;
    margin-bottom:22px !important;
    background:#f8fafc !important;
    border:1px solid #e3e8ed;
    border-radius:22px;
}
.hkai-form-section-compact > .hkai-section-intro {
    max-width:780px !important;
    margin:0 auto 18px !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    text-align:center !important;
}
.hkai-form-section-compact > .hkai-section-intro h3,
.hkai-form-section-compact > .hkai-section-intro p {
    text-align:center !important;
    margin-inline:auto !important;
}
.hkai-form-section-compact > .hkai-section-intro p {
    max-width:650px;
}

.hkai-quick-rules {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    width:min(920px,100%);
    margin:0 auto 12px;
}
.hkai-quick-rules span {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:10px 13px;
    text-align:center;
    color:#4a5663;
    background:#fff;
    border:1px solid #e1e7ec;
    border-radius:13px;
    line-height:1.8;
    font-weight:700;
}
.hkai-quick-rules span::before {
    content:'✓';
    margin-inline-end:7px;
    color:#15825f;
    font-weight:900;
}
.hkai-quick-rules .is-warning {
    background:#fff9f2;
    border-color:#eed9b6;
    color:#68553d;
}
.hkai-quick-rules .is-warning::before {
    content:'!';
    color:#b66b12;
}
.hkai-example-details {
    width:min(920px,100%);
    margin:0 auto 18px;
    padding:0;
    text-align:center;
}
.hkai-example-details summary {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    color:#6b7580;
    line-height:1.8;
}
.hkai-example-mini-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:10px;
    text-align:start;
}
.hkai-example-mini-grid > div {
    padding:13px 14px;
    border-radius:12px;
    border:1px solid #e2e7ec;
    background:#fff;
}
.hkai-example-mini-grid .is-good { background:#f2faf7; border-color:#cfe6dc; }
.hkai-example-mini-grid .is-bad { background:#fff6f6; border-color:#efd1d4; }
.hkai-example-mini-grid strong { display:block; margin-bottom:5px; }
.hkai-example-mini-grid p { margin:0; color:#5e6873; line-height:1.9; }

.hkai-paste-card {
    width:min(560px,100%);
    padding:30px 28px;
    text-align:center;
}
.hkai-paste-icon {
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    margin:0 auto 14px;
    border-radius:50%;
    color:#c11d25;
    background:#fff1f2;
    border:1px solid #efc6ca;
    font-weight:900;
}
.hkai-paste-card h3 { margin:0 0 10px; }
.hkai-paste-card p {
    margin:0;
    color:#5f5558;
    line-height:2;
}
.hkai-paste-actions {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:20px;
}
.hkai-secondary-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:9px 16px;
    color:#4d5965;
    background:#f5f7f9;
    border:1px solid #dce2e8;
    border-radius:11px;
    cursor:pointer;
}

.hkai-source-risk {
    margin:0 auto 18px;
    padding:14px 16px;
    max-width:540px;
    text-align:start;
    color:#67464a;
    background:#fff4f5;
    border:1px solid #efc7cb;
    border-radius:13px;
}
.hkai-source-risk strong {
    display:block;
    margin-bottom:5px;
    color:#b51e27;
    line-height:1.8;
}
.hkai-source-risk p {
    margin:0;
    line-height:1.95;
}

@media (max-width:760px) {
    .hkai-product-hero-lite {
        padding:24px 17px 22px !important;
        border-radius:18px;
    }
    .hkai-product-brand-lite {
        margin-bottom:14px !important;
    }
    .hkai-product-brand-lite img {
        width:38px !important;
        height:38px !important;
    }
    .hkai-product-brand-lite span {
        display:none;
    }
    .hkai-product-hero-lite h2 {
        margin-bottom:8px !important;
    }
    .hkai-product-hero-lite p {
        margin-bottom:16px !important;
    }
    .hkai-form-section-compact {
        padding:21px 14px !important;
        border-radius:18px;
    }
    .hkai-quick-rules {
        grid-template-columns:1fr;
        gap:7px;
    }
    .hkai-quick-rules span {
        min-height:0;
        padding:9px 11px;
        justify-content:flex-start;
        text-align:start;
    }
    .hkai-example-mini-grid {
        grid-template-columns:1fr;
    }
    .hkai-paste-card {
        padding:24px 17px;
    }
    .hkai-paste-actions {
        flex-direction:column-reverse;
    }
    .hkai-paste-actions .hkai-primary-button,
    .hkai-paste-actions .hkai-secondary-button {
        width:100%;
    }
}
