/* Extend the established Nagorik palette and components; do not redefine Portfolio. */
.nac-portal-layout{max-width:1140px;margin:auto;padding:2rem 1.25rem;color:#302d28}
.nac-portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1.25rem}
.nac-panel{background:#fff;border:1px solid #e5dfd6;border-radius:6px;padding:1.4rem;margin-bottom:1.25rem}
.nac-panel h2,.nac-panel h3{margin-top:0}.nac-muted{color:#696359;font-size:.92rem}
.nac-plain-text{white-space:pre-wrap;overflow-wrap:anywhere}.nac-portal-layout table{width:100%;border-collapse:collapse}
.nac-portal-layout th,.nac-portal-layout td{padding:.65rem;text-align:left;border-bottom:1px solid #e5dfd6;vertical-align:top}
.nac-scroll-table{overflow-x:auto}.nac-portal-layout input:not([type=hidden]),.nac-portal-layout textarea,.nac-portal-layout select{width:100%;padding:.7rem;border:1px solid #9b9388;border-radius:3px;margin-bottom:1rem;background:#fff;color:#302d28}
.nac-portal-layout textarea{min-height:125px}.nac-portal-layout label{display:block;font-weight:600;margin:.6rem 0 .35rem}
.nac-portal-layout button,.nac-preview-controls button{background:#302d28;color:#fff;border:0;padding:.75rem 1rem;cursor:pointer}
.nac-portal-layout :focus-visible,.nac-preview-controls :focus-visible,.nac-youtube-play:focus-visible{outline:3px solid #9b6e32;outline-offset:3px}
.nac-alert{border-left:4px solid #a52b28;padding:1rem;background:#fff1ef}.nac-success{background:#eff7ee;padding:1rem}
.nac-progress{width:100%;height:1rem;accent-color:#9b6e32}.nac-message{border-left:3px solid #d5c3ab;padding:1rem;margin:1rem 0;background:#fcfaf7}
.nac-status{display:inline-block;padding:.2rem .6rem;background:#eee6da;border-radius:3px}.nac-portal-team{display:flex;gap:1.5rem;flex-wrap:wrap}
.nac-testimonial{margin:0;padding:1.5rem;border-top:2px solid #c79b7e;background:#fbf9f5}.nac-testimonial blockquote{margin:0 0 1rem;line-height:1.7}
.nac-testimonial img{max-width:72px;max-height:72px;object-fit:contain}.nac-sector-links{max-width:1140px;margin:1rem auto;display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center;padding:0 1rem}
.nac-sector-links a{border:1px solid #d4c6b4;padding:.6rem .9rem;color:inherit}.nac-episode-player{aspect-ratio:16/9;background:#292722;position:relative;margin:1.2rem 0;overflow:hidden}
.nac-episode-player img{width:100%;height:100%;object-fit:cover}.nac-episode-player iframe{width:100%;height:100%;border:0}
.nac-youtube-play{position:absolute;inset:0;background:transparent;border:0;color:#fff;cursor:pointer;font:inherit}
.nac-youtube-play span{display:inline-block;background:#292722e8;padding:1rem 1.5rem;border:1px solid #e0d5c5}.nac-related-links{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.5rem}
.nac-preview-controls{padding:1rem;background:#efe8dc;text-align:center}.nac-media-preview{max-width:1140px;margin:1rem auto;border:1px solid #ccc;transition:max-width .2s}
.nac-media-preview img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.nac-private-banner{padding:.8rem;background:#fff0c9;text-align:center}
@media(max-width:600px){.nac-portal-layout{padding:1rem}.nac-panel{padding:1rem}.nac-portal-layout th,.nac-portal-layout td{padding:.5rem}.nac-portal-team{gap:.8rem}.nac-testimonial{padding:1rem}}
@media(prefers-reduced-motion:reduce){.nac-media-preview{transition:none}}

/* NAC original public typography v1: never changes ERP or client portal. */
body.nac-original-typography .nac-section h1,
body.nac-original-typography .nac-section h2,
body.nac-original-typography .nac-section h3,
body.nac-original-typography .nac-section h4{font-family:"Playfair Display",Georgia,serif}
body.nac-original-typography .nac-section > .nac-container > h1,
body.nac-original-typography .nac-section > .nac-container > h2,
body.nac-original-typography .nac-section > .nac-article > h1{font-size:3.75rem;font-weight:400;line-height:1.1}
body.nac-original-typography .nac-card h3{font-size:1.875rem;line-height:1.2}
body.nac-original-typography .nac-person h3,
body.nac-original-typography .nac-process article h3{font-family:"Playfair Display",Georgia,serif}
body.nac-original-typography .nac-footer,
body.nac-original-typography .nac-footer a,
body.nac-original-typography .u-footer .u-small-text,
body.nac-original-typography .u-footer .u-small-text a{font-family:"Open Sans",Arial,sans-serif;font-size:14px;line-height:1.6}
@media(max-width:767px){
 body.nac-original-typography .nac-section > .nac-container > h1,
 body.nac-original-typography .nac-section > .nac-container > h2,
 body.nac-original-typography .nac-section > .nac-article > h1{font-size:2.25rem}
}
@media(max-width:575px){
 body.nac-original-typography .nac-section > .nac-container > h2{font-size:1.875rem}
 body.nac-original-typography .nac-card h3{font-size:1.5rem}
}
