.fec-directory{--navy:#0b1728;--gold:#c9a66b;--line:#e0d5c2;color:var(--navy);font-family:inherit;line-height:1.9;max-width:1250px;margin:auto;padding:20px 0}.fec-directory *{box-sizing:border-box}.fec-directory h1{font-size:clamp(1.5rem,3vw,2.25rem);margin:.5em 0}.fec-directory h2{font-size:1.15rem}.fec-directory a{color:inherit}.fec-back,.fec-overline{color:#806020!important;font-size:.9rem}.fec-tabs,.fec-form,.fec-grid{display:grid;gap:12px}.fec-tabs{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin:24px 0}.fec-tabs a,.fec-card,.fec-empty,.fec-profile{background:#fffefa;border:1px solid var(--line);border-radius:12px;padding:16px}.fec-tabs a{text-decoration:none;text-align:center}.fec-tabs a[aria-current]{background:var(--navy);color:#fff}.fec-form{grid-template-columns:2fr 1fr 1fr auto;align-items:end;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fffefa}.fec-form label{display:grid;gap:5px;font-size:.9rem;min-width:0}.fec-form input{width:100%;min-width:0;border:1px solid #b7ae9e;border-radius:7px;padding:10px;font:inherit;background:white;color:var(--navy)}.fec-button{display:inline-block;border:1px solid #ac884c;border-radius:7px;background:#e8c990;color:var(--navy)!important;padding:9px 15px;text-decoration:none;font:inherit;cursor:pointer}.fec-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));margin:20px 0}.fec-card{overflow-wrap:anywhere}.fec-verified{font-size:.85rem;color:#326344}.fec-profile{padding:clamp(16px,4vw,40px);overflow-wrap:anywhere}.fec-profile dl{display:grid;grid-template-columns:minmax(100px,1fr) 3fr;gap:8px}.fec-profile dd{margin:0}.fec-note{font-size:.85rem;color:#536074;margin-top:24px}.fec-pagination{display:flex;gap:15px;align-items:center}.fec-directory :focus-visible{outline:3px solid #9c742c;outline-offset:3px}@media(max-width:700px){.fec-form{grid-template-columns:1fr}.fec-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.fec-profile dl{grid-template-columns:1fr}.fec-profile dd{margin-bottom:10px}}

.fec-card{box-shadow:0 8px 25px #0b17280b;border-top:3px solid #c9a66b}.fec-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}.fec-card-top{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px}.fec-card-top h2{margin:.2em 0}.fec-card-top p{margin:.25em 0}.fec-portrait{width:90px;height:90px;object-fit:cover;border-radius:10px;flex:none;border:1px solid #c9a66b}.fec-portrait-large{width:160px;height:160px;float:inline-start;margin-inline-end:22px;margin-bottom:12px}.fec-placeholder{display:grid;place-items:center;background:#0b1728;color:#e8c990;font-size:2rem}.fec-profile dl{clear:both}@media(max-width:420px){.fec-portrait-large{float:none;display:block}.fec-card-top{gap:10px}.fec-portrait{width:72px;height:72px}.fec-portrait-large{width:125px;height:125px}}
.fec-profile-smart{padding:0;overflow:hidden}.fec-profile-hero{background:linear-gradient(115deg,#192b43,#0b1728);color:#f8f5ef;padding:clamp(22px,5vw,48px);display:flow-root;border-bottom:3px solid #c9a66b}.fec-profile-hero h1{color:#e8c990}.fec-profile-hero .fec-overline{color:#e8c990!important}.fec-profile-hero .fec-verified{color:#f2d9a5}.fec-profile-body{padding:clamp(16px,4vw,40px)}.fec-profile-body h2{border-bottom:1px solid #e0d5c2;padding-bottom:8px;margin-top:24px}.fec-profile-body dl{background:#f8f5ef;border-radius:10px;padding:18px;border:1px solid #e0d5c2}.fec-profile-body .fec-button{margin:6px 0 6px 8px}

.fec-compare-select{margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:10px}.fec-compare-choice,.fed-compare-choice{display:block;margin-top:12px}.fec-compare-choice input,.fed-compare-choice input{margin-inline-end:6px}.fec-compare-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.fec-compare-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:10px}.fec-compare-table{border-collapse:collapse;width:100%;min-width:560px;table-layout:fixed;background:#fffefa}.fec-compare-table caption{padding:10px;text-align:start}.fec-compare-table th,.fec-compare-table td{padding:12px;border:1px solid var(--line);text-align:start;vertical-align:top;overflow-wrap:anywhere}.fec-compare-table thead th{background:var(--navy);color:white}.fec-compare-table thead a{color:white}.fec-compare-table tbody th{background:#f5f0e7;width:22%}.fec-compare-table tr:nth-child(even) td{background:#faf7f0}

/* FE Royal profile layout — shared component view; fallback tokens for other templates. */
.fec-profile-path{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--fe-muted,#526070);font-size:.9rem;margin:0 0 16px;padding-inline:4px}.fec-profile-path a{color:var(--fe-gold-dark,#80591c);text-decoration:underline;text-underline-offset:4px}.fec-profile-royal{background:var(--fe-ivory,#f8f5ef);border:1px solid var(--fe-border,#e0d5c2);border-radius:var(--fe-radius-large,16px);box-shadow:var(--fe-shadow,0 8px 24px #0b17280d)}.fec-profile-royal .fec-profile-hero{display:grid;grid-template-columns:160px minmax(0,1fr);gap:clamp(18px,4vw,36px);align-items:center;background:radial-gradient(ellipse at 100% 0%,#31465c,transparent 65%),linear-gradient(115deg,var(--fe-navy2,#192b43),var(--fe-navy,#0b1728));padding:clamp(22px,4vw,44px)}.fec-royal-avatar{width:160px;aspect-ratio:1;border:1px solid var(--fe-gold,#c9a66b);border-radius:14px;overflow:hidden;background:#253950;display:grid;place-items:center;color:var(--fe-gold-light,#e8c990)}.fec-profile-royal .fec-portrait-large{width:100%;height:100%;float:none;margin:0;border:0;border-radius:0;object-fit:cover}.fec-royal-monogram{display:grid;place-items:center;width:100%;height:100%}.fec-royal-identity{min-width:0}.fec-royal-identity h1{font-size:clamp(1.65rem,3vw,2.65rem);line-height:1.5;margin:.25em 0;color:#fff3d8}.fec-royal-identity p{margin:.4em 0}.fec-royal-profession{font-weight:600}.fec-royal-place{color:#e0e6ee;font-size:.95rem}.fec-royal-identity .fec-verified{display:inline-block;border:1px solid #c9a66b66;background:#ffffff09;padding:5px 10px;border-radius:6px;font-size:.8rem;color:#f2d9a5}.fec-profile-royal .fec-royal-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:20px;padding:clamp(12px,3vw,28px);align-items:start}.fec-royal-main,.fec-royal-aside{display:grid;gap:16px;min-width:0}.fec-royal-main>section,.fec-royal-aside>section{background:var(--fe-white,#fff);border:1px solid var(--fe-border,#e0d5c2);border-radius:var(--fe-radius,12px);padding:clamp(14px,2.5vw,24px);min-width:0}.fec-profile-royal .fec-profile-body h2{font-size:1.15rem;margin:0 0 14px;border:0;padding:0 12px 0 0;padding-inline-start:12px;border-inline-start:3px solid var(--fe-gold,#c9a66b);line-height:1.65}.fec-profile-royal .fec-profile-body h3{font-size:.95rem;margin:18px 0 8px}.fec-profile-royal .fec-note{margin:10px 0;color:var(--fe-muted,#526070);line-height:1.8}.fec-royal-main section ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.fec-royal-main section li{background:var(--fe-ivory,#f8f5ef);border:1px solid var(--fe-border,#e0d5c2);border-radius:6px;padding:5px 10px;font-size:.9rem;max-width:100%;overflow-wrap:anywhere}.fec-profile-royal .fec-profile-body dl{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;background:none;border:0;border-radius:0;padding:0;margin:0}.fec-profile-royal dt{font-size:.82rem;color:var(--fe-muted,#526070)}.fec-profile-royal dd{font-weight:600;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid var(--fe-border,#e0d5c2);overflow-wrap:anywhere}.fec-profile-royal dd a{color:var(--fe-gold-dark,#80591c);text-decoration:underline;text-underline-offset:3px;display:inline-block;min-height:44px;align-content:center}.fec-royal-actions{display:grid;gap:8px}.fec-profile-royal .fec-button{display:block;text-align:center;min-height:44px;margin:0;padding:10px 12px;line-height:1.7;background:var(--fe-gold-light,#e8c990);border:1px solid var(--fe-gold,#c9a66b);border-radius:var(--fe-radius-small,8px);font-weight:600;width:100%;overflow-wrap:anywhere}.fec-profile-royal .fec-button:hover{background:var(--fe-gold,#c9a66b)}.fec-royal-account form{margin:0}.fec-royal-claim{display:block;padding:10px 0;margin-top:6px;text-align:center;color:var(--fe-gold-dark,#80591c)!important;text-decoration:underline;text-underline-offset:4px;min-height:44px}.fec-royal-notice{margin:0 clamp(12px,3vw,28px) 24px;padding:12px 16px;background:#fff;border:1px solid var(--fe-border,#e0d5c2);border-radius:var(--fe-radius,12px)}.fec-royal-notice .fec-note{margin:0}.fec-profile-royal :focus-visible{outline:3px solid var(--fe-focus,#80591c);outline-offset:3px}
@media(max-width:800px){.fec-profile-royal .fec-royal-body{grid-template-columns:minmax(0,1fr)}.fec-royal-aside{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}}
@media(max-width:520px){.fec-profile-royal .fec-profile-hero{grid-template-columns:minmax(0,1fr);gap:14px;text-align:center;padding:22px 14px}.fec-royal-avatar{width:104px;margin:auto}.fec-royal-aside{grid-template-columns:minmax(0,1fr)}.fec-profile-royal .fec-royal-body{gap:14px}.fec-profile-royal .fec-profile-body h2{font-size:1.05rem}.fec-royal-identity h1{font-size:1.55rem}.fec-royal-notice{margin-bottom:14px}}

.fec-profile-royal .fec-royal-jump{display:inline-flex;align-items:center;min-height:44px;color:var(--fe-gold-light,#e8c990);text-decoration:underline;text-underline-offset:4px;font-size:.9rem}.fec-profile-royal .fec-profile-hero :focus-visible{outline-color:var(--fe-gold-light,#e8c990)}.fec-royal-contact{scroll-margin-top:24px}

/* Royal geographic directory */
.fec-geo{overflow-wrap:anywhere}.fec-geo-hero{background:linear-gradient(110deg,var(--fe-navy-2,#192b43),var(--fe-navy,#0b1728));color:#fffefa;border-radius:16px;border-bottom:3px solid #c9a66b;padding:clamp(20px,4vw,48px);margin-bottom:24px}.fec-geo-hero h1,.fec-geo-hero .fec-overline{color:#e8c990!important}.fec-geo-total{display:inline-block;border:1px solid #c9a66b;border-radius:8px;padding:8px 14px;margin-bottom:0}.fec-geo-section{margin:24px 0}.fec-geo-section h2{font-size:clamp(1.15rem,2vw,1.5rem)}.fec-geo-places,.fec-geo-groups{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.fec-geo-places a,.fec-geo-groups a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px;border:1px solid #e0d5c2;border-radius:10px;background:#fffefa;text-decoration:none;min-width:0}.fec-geo-places a:hover,.fec-geo-groups a:hover{border-color:#80591c;text-decoration:underline}.fec-geo-groups a[aria-current]{background:#0b1728;color:#e8c990;border-color:#c9a66b}.fec-geo-groups strong{font-size:1.2rem}.fec-geo-city-list{border:1px solid #e0d5c2;border-radius:12px;padding:14px;background:#f8f5ef}.fec-geo-city-list summary{cursor:pointer;padding:4px 0 12px}.fec-geo .fec-card h3{font-size:1.1rem;margin:.4em 0}.fec-geo .fec-pagination{flex-wrap:wrap}@media(max-width:480px){.fec-geo-places,.fec-geo-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.fec-geo-places a,.fec-geo-groups a{padding:10px;min-height:48px;font-size:.85rem}.fec-geo-hero{padding:20px 16px}}

/* Step47: mobile controls. */
@media(max-width:767px){ .fec-directory :where(.fec-button,.fec-tabs a,.fec-pagination a,.fec-royal-actions a,.fec-royal-jump a){min-height:44px;box-sizing:border-box} .fec-royal-actions{gap:8px} .fec-compare-scroll{overscroll-behavior-x:contain} .fec-directory :where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px;max-width:100%;min-height:44px;box-sizing:border-box}}
