/* Comfortable light palette and the unified theme editor. */
body.np-studio-theme { direction:rtl; text-align:right; }
body.np-studio-theme .np-floating-actions { inset-inline-start:auto; inset-inline-end:auto; left:clamp(16px,2vw,24px); right:auto; }
body.np-studio-theme .np-brand__copy small { direction:rtl; font-family:inherit; font-size:10px; letter-spacing:0; max-width:220px; }
body.np-studio-theme .np-header__inner { gap:24px; }
body.np-studio-theme .np-menu > li > a { white-space:normal; line-height:1.8; }
html:has(body.np-palette-ivory) { background:#faf8f3; color-scheme:light; }
body.np-studio-theme.np-palette-ivory {
  --np-black:#faf8f3; --np-black-deep:#f0ece3; --np-panel:#fffefa;
  --np-panel-raised:#f6f0e3; --np-ivory:#302d26; --np-muted:#666156;
  --np-muted-dark:#716a5d; --np-subtle:#666156; --np-line:#ded8cc;
  --np-gold-dark:#795c23; --np-gold-line:#cbb887; --np-hero-bg:#f7f2e8;
  --np-shadow:0 16px 48px rgba(84,67,36,.07); --nf-muted:#666156;
  --nf-surface:#faf8f3; --nf-rule:#ded8cc;
  background:var(--np-black); color:var(--np-ivory); color-scheme:light;
}
body.np-palette-ivory .np-header,
body.np-factory-experience.np-palette-ivory .np-header,
body.np-factory-experience.np-palette-ivory .np-header.is-scrolled {
  background:rgba(255,254,250,.97); border-color:var(--np-line);
  box-shadow:0 5px 24px rgba(84,67,36,.045);
}
body.np-palette-ivory .np-topline,
body.np-factory-experience.np-palette-ivory .np-topline { background:#ede5d4; color:#5d513b; border-color:var(--np-line); }
body.np-palette-ivory .np-topline a { color:#5d513b; }
body.np-factory-experience.np-palette-ivory .np-topline a b { color:#795c23; }
body.np-palette-ivory .np-brand__copy small { color:var(--np-subtle); }
body.np-palette-ivory .np-brand__mark { background:transparent; box-shadow:none; border-color:transparent; border-radius:8px; }
body.np-studio-theme .np-brand__image { object-fit:contain; border-radius:4px; }
body.np-studio-theme .np-brand__mark::after { display:none; }
body.np-palette-ivory .np-menu > li > a,
body.np-palette-ivory .np-menu .sub-menu a { color:var(--np-ivory); }
body.np-palette-ivory .np-menu .sub-menu { background:var(--np-panel); box-shadow:var(--np-shadow); }
body.np-palette-ivory .np-menu a:hover { color:#795c23; }
body.np-palette-ivory .np-page-hero { background:linear-gradient(120deg,#f4eedf,#faf8f3); }
body.np-palette-ivory .np-page-hero::before { color:rgba(121,92,35,.045); }
body.np-palette-ivory .np-editor-surface,
body.np-palette-ivory .np-form-surface { background:var(--np-panel); border-radius:16px; }
body.np-palette-ivory .np-page-content,
body.np-palette-ivory .np-page-content blockquote { color:var(--np-ivory); }
body.np-palette-ivory .np-page-content input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
body.np-palette-ivory .np-page-content select,
body.np-palette-ivory .np-page-content textarea,
body.np-palette-ivory .search-field {
  color:#302d26; background:#fffefa; border-color:#c9c1b2; border-radius:8px;
}
body.np-palette-ivory .np-page-content input::placeholder,
body.np-palette-ivory .np-page-content textarea::placeholder,
body.np-palette-ivory .search-field::placeholder { color:#787164; opacity:1; }
body.np-palette-ivory .np-page-content .wp-element-button,
body.np-palette-ivory .np-page-content .wp-block-button__link,
body.np-palette-ivory .np-button,
body.np-palette-ivory .search-submit { color:#292414 !important; border-radius:8px; }
body.np-palette-ivory .np-footer { background:#f0ece3; border-color:var(--np-line); }
body.np-palette-ivory .np-footer__brand p,
body.np-palette-ivory .np-footer__bottom,
body.np-palette-ivory .np-footer-menu a,
body.np-palette-ivory .np-footer__domain { color:var(--np-subtle); }
body.np-palette-ivory .np-footer__nav > span,
body.np-palette-ivory .np-footer__contact > span { color:#795c23; }
body.np-studio-theme .np-footer__main { grid-template-columns:minmax(220px,1fr) minmax(360px,1.5fr) minmax(190px,.8fr); gap:40px; align-items:start; }
body.np-studio-theme .np-footer__main--simple { grid-template-columns:1fr auto; }
body.np-studio-theme .np-footer__nav > span,
body.np-studio-theme .np-footer__contact > span { font-size:12px; }
body.np-studio-theme .np-footer-menu { gap:10px 28px; }
body.np-studio-theme .np-footer-menu a { font-size:14px; line-height:2; }
body.np-palette-ivory .np-mobile-dock { background:rgba(255,254,250,.98); border-color:var(--np-line); }
body.np-palette-ivory .np-mobile-dock a,
body.np-palette-ivory .np-mobile-dock button { color:var(--np-ivory); }
body.np-palette-ivory .np-float-button { box-shadow:0 5px 18px rgba(84,67,36,.09); }
body.np-palette-ivory :is(.np-eyebrow,.np-icon,.np-section-heading span) { color:#795c23; }
body.np-palette-ivory a:focus-visible,
body.np-palette-ivory button:focus-visible,
body.np-palette-ivory input:focus-visible,
body.np-palette-ivory select:focus-visible,
body.np-palette-ivory textarea:focus-visible { outline:2px solid #795c23; outline-offset:4px; }

/* Factory: ivory canvas, soft panels and readable copy. */
body.np-factory-experience.np-palette-ivory .nf-hero { background:linear-gradient(130deg,#faf8f3 25%,#f1e9d9); }
body.np-factory-experience.np-palette-ivory .nf-hero__media { box-shadow:0 20px 55px rgba(92,73,36,.10); border-color:#d8c9a8; }
body.np-factory-experience.np-palette-ivory .nf-hero__media::before { background:#e9e0ce; opacity:.6; }
body.np-factory-experience.np-palette-ivory .nf-hero__media.has-illustration::after { background:linear-gradient(0deg,rgba(241,234,219,.96),transparent 30%); }
body.np-factory-experience.np-palette-ivory .nf-golden-form > rect { fill:#f5efdf; }
body.np-factory-experience.np-palette-ivory .nf-golden-form > ellipse[fill="#000"] { opacity:.13; }
body.np-factory-experience.np-palette-ivory .nf-golden-form > g:last-child { fill:#795c23; }
body.np-factory-experience.np-palette-ivory .nf-hero__media.has-illustration .nf-hero__caption,
body.np-factory-experience.np-palette-ivory .nf-hero__media.has-illustration .nf-hero__caption small { color:#625339; }
body.np-factory-experience.np-palette-ivory .nf-services { background:#faf8f3; }
body.np-factory-experience.np-palette-ivory .nf-portal-card { box-shadow:0 8px 26px rgba(84,67,36,.045); }
body.np-factory-experience.np-palette-ivory .nf-process { background:#f0ece3; }
body.np-factory-experience.np-palette-ivory .nf-access-card { background:#fffefa; }
body.np-factory-experience.np-palette-ivory .nf-access-card--staff { background:linear-gradient(125deg,#fffefa,#f3ead6); }
body.np-factory-experience.np-palette-ivory .nf-contact__inner { background:#f1e8d4; }
body.np-factory-experience.np-palette-ivory :is(.nf-eyebrow,.nf-section-number,.nf-service__number,.nf-portal-card__number,.nf-process-step__number,.nf-hero__signature,.nf-kicker,.nf-access-card__label,.nf-portal-card__arrow) { color:#795c23; }
body.np-factory-experience :is(.nf-hero__description,.nf-section-heading p,.nf-service p,.nf-portal-card p,.nf-process-step p,.nf-access-card p,.nf-contact__inner p) {
  font-size:var(--np-reading-size,15px); font-weight:400; line-height:2.05;
}
body.np-factory-experience :is(.nf-kicker,.nf-hero__eyebrow,.nf-access-card__label,.nf-portal-card__badge,.nf-portal-card__action,.nf-portal__search-status) { font-size:12px; }
body.np-factory-experience .nf-button { font-size:13px; min-height:50px; }
body.np-factory-experience .np-menu > li > a { font-size:13px; font-weight:500; }
body.np-factory-experience .nf-portal__search input[type=search] { font-size:14px; }
body.np-factory-experience .np-footer__brand p,
body.np-factory-experience .np-footer-menu a { font-size:14px; }
body.np-factory-experience .np-footer__bottom { font-size:12px; }
body.np-factory-experience .nf-access__grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); }
body.np-factory-experience .nf-process__grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); }
body.np-factory-experience .nf-kicker:empty { display:none; }
body.np-section-numbers-off :is(.nf-section-number,.nf-service__number,.nf-process-step__number) { display:none; }
body.np-factory-experience.np-section-numbers-off .nf-section-heading { grid-template-columns:1fr auto; }
body.np-factory-experience .nf-section-heading:has(>.nf-section-number[hidden]) { grid-template-columns:1fr auto; }

/* A separate trust strip keeps the official seal visible without crowding links. */
.np-trust { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:24px 0; border-top:1px solid var(--np-line); }
.np-trust__copy h2 { margin:0 0 8px; color:var(--np-ivory); font-size:18px; line-height:1.8; }
.np-trust__copy p { margin:0; color:var(--np-subtle); font-size:14px; line-height:2; }
.np-trust__badge { flex:0 0 auto; display:grid; place-items:center; min-width:calc(var(--np-seal-size,120px) + 24px); min-height:calc(var(--np-seal-size,120px) + 24px); padding:12px; background:#fff; border:1px solid #ded8cc; border-radius:14px; }
.np-trust__badge a { display:block; color:#473b22; text-align:center; font-size:12px; }
.np-trust__badge img { display:block; width:var(--np-seal-size,120px); max-width:100%; height:auto; min-height:80px; object-fit:contain; }
.np-trust__link { display:block; margin-top:8px; color:#795c23; font-size:12px; line-height:1.8; font-weight:600; }
.np-trust__badge.is-unavailable { min-height:72px; }
.np-trust__badge.is-unavailable .np-trust__link { margin:0; }

/* Settings: native controls, clear cards, inline row editors. */
.np-studio { color:#302d26; --np-studio-bg:#faf8f3; }
.np-studio .np-studio__hero { background:linear-gradient(115deg,#f1e6cb,#fffdf8); color:#302d26; border:1px solid #ddd2bb; box-shadow:none; }
.np-studio .np-studio__hero h1,.np-studio .np-studio__hero h1 span { color:#302d26; }
.np-studio .np-studio__hero p,.np-studio .np-studio__eyebrow { color:#695b40; }
.np-studio .np-studio__field { min-width:0; }
.np-studio .np-studio__field:has(.np-row-editor) { grid-column:1 / -1; display:block; }
.np-studio .np-row-editor { margin-top:16px; }
.np-row-editor__list { display:grid; gap:16px; margin-bottom:12px; }
.np-row-editor__row { margin:0; padding:18px; min-width:0; border:1px solid #dcd5c8; border-radius:12px; background:#fffdf8; }
.np-row-editor__row legend { padding:0 8px; color:#795c23; font-size:13px; font-weight:700; }
.np-row-editor__row > label { display:block; margin-bottom:12px; color:#4e493e; font-size:13px; }
.np-row-editor__row input:not([type=checkbox]),.np-row-editor__row textarea { display:block; width:100%; box-sizing:border-box; margin-top:6px; padding:10px 12px; border:1px solid #cfc7b7; border-radius:7px; background:#fff; color:#302d26; font:inherit; }
.np-row-editor__row textarea { min-height:70px; resize:vertical; }
.np-row-editor__actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.np-row-editor__actions label { display:flex; align-items:center; gap:6px; margin-inline-end:auto; color:#514b3f; font-size:13px; }
.np-row-button { min-height:38px; padding:7px 12px; border:1px solid #cdbb93; border-radius:7px; background:#f8f2e5; color:#5c451b; font:inherit; font-size:12px; cursor:pointer; }
.np-row-button:hover { background:#eee1c5; }
.np-row-button:focus-visible { outline:2px solid #795c23; outline-offset:3px; }
.np-studio__control > .np-row-button { margin-top:10px; }
.np-studio .np-studio__tabs { max-height:calc(100vh - 150px); overflow-y:auto; }
.np-studio .np-studio__savebar { background:#fffdf8; border-color:#ded8cc; }
@media(max-width:1100px) {
  body.np-palette-ivory .np-navigation { background:#fffefa; }
  body.np-factory-experience .np-menu > li > a { font-size:15px; }
  body.np-studio-theme .np-footer__main { grid-template-columns:1fr 1fr; }
  body.np-studio-theme .np-footer__nav { grid-column:1 / -1; order:3; }
}
@media(max-width:700px) {
  body.np-studio-theme .np-footer__main { grid-template-columns:1fr; gap:28px; }
  body.np-studio-theme .np-footer__contact { justify-self:start; }
  body.np-studio-theme .np-footer__nav { grid-column:auto; order:initial; }
  body.np-studio-theme .np-brand__copy small { font-size:9px; max-width:170px; }
  body.np-factory-experience.np-section-numbers-off .nf-section-heading { grid-template-columns:1fr; }
  body.np-factory-experience.np-section-numbers-off .nf-section-heading > p { grid-column:1; }
  body.np-factory-experience.np-section-numbers-off .nf-service,
  body.np-factory-experience.np-section-numbers-off .nf-process-step { grid-template-columns:1fr; }
  body.np-factory-experience.np-section-numbers-off .nf-service__detail { grid-column:1; }
  .np-trust { flex-wrap:wrap; gap:20px; }
  .np-trust__copy { flex:1 1 200px; }
  .np-trust__badge { margin-inline:auto; }
  .np-studio .np-studio__tabs { max-height:none; }
  .np-row-editor__row { padding:12px; }
  body.np-factory-experience .nf-hero__caption { flex-wrap:wrap; gap:6px; }
}
