
:root{--brand-navy:#111d2b;--brand-emerald:#236c5e;--brand-gold:#c8a66a;--brand-ivory:#f6f1e8;--clhq-round:17px;--clhq-bg:#0b1724;--clhq-surface:#162a39;--clhq-text:#f0f7f4;--clhq-border:#38555d;--clhq-muted:#a7c0c6}
html{scroll-behavior:smooth}body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.01em}h1,h2{letter-spacing:-.025em;line-height:1.22}h1{font-weight:780}
.card,.panel,.item,.tf-board,.tf-panel,.count,.stat{border-radius:var(--clhq-round)!important;box-shadow:0 9px 28px rgba(0,0,0,.09)}
button,input,select,textarea,a{transition:background-color .17s ease,box-shadow .17s ease,border-color .17s ease,transform .17s ease}
button:not(:disabled):active{transform:scale(.985)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand-gold)!important;outline-offset:3px!important}
.card:hover,.item:hover{border-color:#598d79}
.clhq-crest{width:35px;height:35px;border-radius:10px;display:inline-block;vertical-align:middle;margin-right:9px}
.clhq-theme-switch{position:fixed;bottom:19px;right:17px;z-index:2300;border:1px solid #7da799;border-radius:999px;padding:9px 14px;background:#1e403f;color:#eef9f4;font-weight:750;box-shadow:0 5px 19px #0005;min-height:38px;font-size:12px}
.clhq-mobile-nav{display:none}
.clhq-welcome{background:linear-gradient(105deg,#1c4342 0%,#173744 60%,#1b2738 100%);color:#f5f7ef;padding:clamp(18px,3vw,30px);border:1px solid #4b8177;border-radius:22px;margin-bottom:20px;box-shadow:0 15px 36px #0002}
.clhq-welcome small{color:#e5c68b}.clhq-welcome h1{color:#f9f7ed;font-size:clamp(25px,3.7vw,39px);margin:7px 0}.clhq-welcome p{color:#d6e9e3;margin:0 0 15px}
.clhq-quicklinks{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}
.clhq-quicklinks a{color:#f5f9f3!important;text-decoration:none;border:1px solid #668b80;background:#ffffff13;padding:11px 12px;display:flex;gap:8px;align-items:center;border-radius:12px;font-weight:700;font-size:13px}
.clhq-quicklinks a:hover{background:#36806c;transform:translateY(-2px)}
.clhq-brand{display:inline-flex;align-items:center;gap:6px}.clhq-hero-title{font-weight:780}
html[data-clhq-theme="light"]{color-scheme:light!important;--bg:#f7f3ed;--card:#fffefa;--stroke:#d5e0dc;--text:#263c42;--muted:#526975;--accent:#18765e}
html[data-clhq-theme="light"] body{background:#f7f3ed!important;color:#263c42!important}
html[data-clhq-theme="light"] .side,html[data-clhq-theme="light"] .card,html[data-clhq-theme="light"] .panel,html[data-clhq-theme="light"] .item,html[data-clhq-theme="light"] .tf-board,html[data-clhq-theme="light"] .tf-panel,html[data-clhq-theme="light"] .count,html[data-clhq-theme="light"] .stat,html[data-clhq-theme="light"] .day{background:#fffefa!important;border-color:#d2dfdb!important;color:#263c42!important}
html[data-clhq-theme="light"] .nav button,html[data-clhq-theme="light"] .subnav button,html[data-clhq-theme="light"] button:not(.primary):not(.clhq-theme-switch):not(.active):not(.selected):not(.current),html[data-clhq-theme="light"] input,html[data-clhq-theme="light"] select,html[data-clhq-theme="light"] textarea{background:#f0f5f2!important;color:#284044!important;border-color:#bfd5cc!important}
html[data-clhq-theme="light"] .nav button.active,html[data-clhq-theme="light"] .subnav button.active{background:#d5ece0!important;color:#1d5a4e!important}
html[data-clhq-theme="light"] .muted,html[data-clhq-theme="light"] small,html[data-clhq-theme="light"] .tf-muted,html[data-clhq-theme="light"] .lmuted,html[data-clhq-theme="light"] .nmuted{color:#536978!important}
html[data-clhq-theme="light"] .notice,html[data-clhq-theme="light"] .banner,html[data-clhq-theme="light"] .status,html[data-clhq-theme="light"] .tf-alert{background:#e7f1e9!important;color:#294541!important;border-color:#b6d5c6!important}
html[data-clhq-theme="light"] a:not(.clhq-quicklinks a):not(.clhq-mobile-nav a){color:#176957}
html[data-clhq-theme="light"] .clhq-welcome h1,html[data-clhq-theme="light"] .clhq-welcome p,html[data-clhq-theme="light"] .clhq-welcome a{color:#f5f8f2!important}
html[data-clhq-theme="light"] .clhq-theme-switch{background:#fffefa;color:#21463c}
html[data-clhq-theme="light"] .tf-scroll{background:#f0f5ef!important}
html[data-clhq-theme="light"] .tf-svg .person rect{fill:#e3eee5;stroke:#6d9083}
html[data-clhq-theme="light"] .tf-svg .person text{fill:#19363a}
html[data-clhq-theme="light"] .tf-svg .person .sub{fill:#4c6265}
html[data-clhq-theme="light"] .tf-svg .person.current rect{fill:#cfebdb;stroke:#268269}
html[data-clhq-theme="light"] .tf-svg .person.selected rect{stroke:#c29d60}
@media(max-width:700px){body{padding-bottom:76px!important}.clhq-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;padding:8px 4px max(8px,env(safe-area-inset-bottom));z-index:2100;background:#122834f2;border-top:1px solid #4c7b6f;backdrop-filter:blur(12px)}.clhq-mobile-nav a{color:#d1ece1;text-decoration:none;display:grid;justify-items:center;gap:3px;padding:3px 0;font-size:10px;min-width:0}.clhq-mobile-nav a.selected{color:#e6c58b;font-weight:800}.clhq-mobile-nav svg{width:22px;height:22px;stroke-width:1.8}.clhq-theme-switch{right:13px;bottom:calc(78px + env(safe-area-inset-bottom));padding:7px 10px}.clhq-quicklinks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html[data-clhq-theme="light"] .clhq-mobile-nav{background:#fffefaf2;border-color:#cdded8}html[data-clhq-theme="light"] .clhq-mobile-nav a{color:#315750}html[data-clhq-theme="light"] .clhq-mobile-nav a.selected{color:#ae7a25}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* CLHQ_PROFILE_REFINEMENTS */
.tf-svg .person rect{filter:drop-shadow(0 5px 9px #0003);transition:stroke .16s,fill .16s}
.tf-svg .person:hover rect{stroke:#dfb678;stroke-width:2.6}
.tf-svg .person.current rect{stroke:#d9b879}
.tf-avatar{background:linear-gradient(145deg,#287b68,#193e4a)!important;border:2px solid #d3b47d!important;color:#fff!important;box-shadow:0 5px 22px #0004}
.tf-panel .profiletop{padding:15px;border:1px solid #58796c;border-radius:14px;background:linear-gradient(110deg,#194035,#1a3246);margin-bottom:16px}
.tf-panel .profiletop h2{color:#f9f7ef}
.tf-detail{border-radius:13px;padding:12px 13px;margin-bottom:10px}
.lw .lh h1,.journey-hero h1{font-family:Georgia,ui-serif,serif;letter-spacing:-.035em}
.lflow .node.central{border-color:#c8a66a!important;box-shadow:0 0 0 2px #c8a66a20}
.lflow .node{transition:transform .18s,border-color .18s}
.lflow .node:hover{transform:translateY(-2px);border-color:#81bba3}
.nstats .card,.lstats .card{border-top:2px solid #bda36e}
.npill,.tf-pill,.tag{letter-spacing:.015em}
html[data-clhq-theme="light"] .tf-panel .profiletop{background:linear-gradient(100deg,#255b4d,#36576b)!important;color:#fff}
html[data-clhq-theme="light"] .tf-panel .profiletop h2,html[data-clhq-theme="light"] .tf-panel .profiletop .tf-pill{color:#fff!important}
@media(min-width:950px){.tf-panel{position:sticky;top:20px}}

/* CLHQ_ACCENT_PRESETS */
html[data-clhq-accent="gold"]{--accent:#d9b774;--brand-emerald:#d9b774}
html[data-clhq-accent="ocean"]{--accent:#75b9ea;--brand-emerald:#75b9ea}
html[data-clhq-accent="emerald"]{--accent:#5ed6b5;--brand-emerald:#5ed6b5}
.clhq-accent-switch{position:fixed;bottom:19px;right:142px;z-index:2300;border:1px solid #698f83;border-radius:99px;padding:9px 12px;min-height:38px;background:#1e403f;color:#f3f9f5;font-weight:700;font-size:12px;box-shadow:0 5px 19px #0005}
html[data-clhq-accent="gold"] button.primary{background:#d9b774!important;border-color:#d9b774!important;color:#162b30!important}
html[data-clhq-accent="ocean"] button.primary{background:#75b9ea!important;border-color:#75b9ea!important;color:#172b3d!important}
html[data-clhq-theme="light"] .clhq-accent-switch{background:#fffefa;color:#21463c}
@media(max-width:700px){.clhq-accent-switch{bottom:calc(78px + env(safe-area-inset-bottom));right:116px;padding:7px 9px;min-height:36px}}

/* CLHQ_INTERACTIVE_DISCOVERY_V1 */
.clhq-quicklinks button{background:rgba(255,255,255,.09);border:1px solid #668b80;border-radius:12px;color:#f3f9f4;padding:11px 12px;font-size:13px;font-weight:700;cursor:pointer;text-align:left}
.clhq-quicklinks button:hover{background:#317666}.clhq-dialog{width:min(880px,calc(100vw - 20px));max-height:min(85vh,950px);overflow:auto;border:1px solid #6c9c87;background:#152e3b;color:#eaf7f0;border-radius:18px;padding:24px;box-shadow:0 23px 75px #0009}
.clhq-dialog::backdrop{background:#07131cc9;backdrop-filter:blur(7px)}
.clhq-dialog header{display:flex;justify-content:space-between;align-items:start;gap:15px;flex-wrap:wrap}
.clhq-dialog h2{font:600 clamp(23px,3vw,33px) Georgia,serif;letter-spacing:-.02em;color:#f3f1e8}
.clhq-dialog input{width:100%;min-height:45px;margin:13px 0;background:#0e2530;color:#fff;border:1px solid #7fada0;border-radius:10px;padding:12px}
.clhq-dialog .clhq-result{border:1px solid #4d756a;border-radius:12px;padding:13px;margin:10px 0;background:#1b3941}
.clhq-dialog .clhq-result p{font-size:13px;opacity:.8}.clhq-dialog .clhq-result a{color:#a5e2c3}
.clhq-dialog .clhq-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.clhq-dialog .clhq-tabs button{border:1px solid #4d8272;border-radius:20px;background:#25483f;color:#e5f4e9;padding:7px 11px}
.clhq-dialog .clhq-empty{padding:20px;border:1px dashed #6c8a7e;border-radius:12px}
.clhq-dialog .clhq-status{font-size:13px;color:#d9ebdc;min-height:20px}
html[data-clhq-theme="light"] .clhq-dialog{background:#fffdf9;color:#243e43}
html[data-clhq-theme="light"] .clhq-dialog h2{color:#23423b}
html[data-clhq-theme="light"] .clhq-dialog .clhq-result{background:#f2f5f1;color:#294342}
html[data-clhq-theme="light"] .clhq-dialog .clhq-result a{color:#13664d}
@media(max-width:650px){.clhq-dialog{padding:17px}.clhq-quicklinks button{min-width:0}}

/* CLHQ_GALLERY_V1 */
.clhq-gallery-dialog{width:min(1060px,calc(100vw - 24px));max-height:88vh;overflow:auto;border:1px solid #588576;background:#142c38;color:#eff7f3;border-radius:18px;padding:20px 22px;box-shadow:0 25px 75px #0009}
.clhq-gallery-dialog::backdrop{background:#05121ad9;backdrop-filter:blur(6px)}
.clhq-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.clhq-gallery-header h2{font-family:Georgia,serif}
.clhq-gallery-form{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:15px 0;border:1px solid #4d716b;border-radius:12px;padding:12px}
.clhq-gallery-form input[type=file]{width:190px;max-width:100%}.clhq-gallery-form label{display:flex;align-items:center;gap:6px;margin:0}.clhq-gallery-form input[type=checkbox]{width:auto;min-height:0}
.clhq-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px}
.clhq-gallery-card{background:#213f46;border:1px solid #4c746a;border-radius:13px;overflow:hidden;margin:0}
.clhq-gallery-card img{display:block;width:100%;height:148px;object-fit:cover}
.clhq-gallery-card figcaption{padding:9px;font-size:12px;word-wrap:break-word;line-height:1.4}.clhq-gallery-card small{color:#c3e5d9}
.clhq-gallery-status{font-size:13px;color:#cfebdb;min-height:22px}
html[data-clhq-theme="light"] .clhq-gallery-dialog{background:#fffefa;color:#213f3b}html[data-clhq-theme="light"] .clhq-gallery-card{background:#edf3ef;color:#27453c}
@media(max-width:640px){.clhq-gallery-dialog{padding:12px}.clhq-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.clhq-gallery-card img{height:122px}}

/* CLHQ_MFA_ALERT_V1 */
.clhq-security-alert{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;border:1px solid #ccaa67;background:#332e27;color:#f6e8c8;padding:13px 17px;border-radius:13px;margin:11px 0 17px}
.clhq-security-alert strong{font-weight:800}
.clhq-security-alert a{background:#c8a66a;color:#1d2d2c!important;padding:8px 11px;border-radius:9px;text-decoration:none;font-weight:800}
html[data-clhq-theme="light"] .clhq-security-alert{background:#fff4dd;color:#584627;border-color:#c49b54}
@media(max-width:700px){.clhq-security-alert{padding:12px}.clhq-security-alert a{width:100%;text-align:center}}
