/* Shared NORMIC surfaces, aligned with ISOENUNO.COM corporate-palette.css
   (verified 20 November 2026). Navy text, pale blue/cyan surfaces and cream
   help areas. Status, risk, destructive-action and validation colors stay semantic. */
body.sv-experience[data-standard-theme] {
    --normic-canvas:#f8fbfc;
    --normic-edge:#d3e3e8;
    --normic-ink:#112b45;
    --normic-muted:#465e70;
    --normic-tutorial-soft:#f6f3e8;
    --normic-tutorial-line:#e5dcc2;
    --normic-tutorial-accent:#b9a66b;
}
body :is([data-standard-theme="integrado"],[data-module-theme="integrado"]),
body[data-standard-theme="integrado"] { --normic-color:#284f70; --normic-soft:#e4effb; --normic-line:#bfd5ea; --normic-accent:#487ba6; }
body :is([data-standard-theme="9001"],[data-module-theme="9001"]),
body[data-standard-theme="9001"] {
    --normic-color:#284f70; --normic-soft:#e4effb; --normic-line:#bfd5ea; --normic-accent:#487ba6;
}
body :is([data-standard-theme="14001"],[data-module-theme="14001"]),
body[data-standard-theme="14001"] {
    --normic-color:#007784; --normic-soft:#eaf9fb; --normic-line:#b9e2e8; --normic-accent:#00b7c7;
}
body :is([data-standard-theme="45001"],[data-module-theme="45001"]),
body[data-standard-theme="45001"] {
    --normic-color:#665100; --normic-soft:#fff4c7; --normic-line:#eadb9d; --normic-accent:#efb900;
}
body :is([data-standard-theme="haccp"],[data-module-theme="haccp"]),
body[data-standard-theme="haccp"] {
    --normic-color:#286344; --normic-soft:#e2f2e8; --normic-line:#b8d9c5; --normic-accent:#36845a;
}
/* Tutorials use a warm, desaturated mustard tint, distinct from safety yellow. */
body :is([data-standard-theme="tutoriales"],[data-module-theme="tutoriales"]),
body[data-standard-theme="tutoriales"] {
    --normic-color:#665100; --normic-soft:var(--normic-tutorial-soft);
    --normic-line:var(--normic-tutorial-line); --normic-accent:var(--normic-tutorial-accent);
}
body.sv-experience[data-standard-theme] .normic-standard-selector {
    background:var(--normic-soft); color:var(--normic-ink);
    border:1px solid var(--normic-line); border-left:4px solid var(--normic-accent); box-shadow:none; padding:12px 18px;
}
body.sv-experience[data-standard-theme] .normic-standard-selector :is(.normic-standard-identity strong,label,p) { color:var(--normic-ink); }
body.sv-experience[data-standard-theme] .normic-standard-selector .normic-standard-eyebrow { color:var(--normic-muted); opacity:1; }
body.sv-experience[data-standard-theme] .normic-standard-symbol {
    background:#fff; color:var(--normic-color); border:1px solid var(--normic-line);
}
body.sv-experience[data-standard-theme] .normic-standard-selector select { border-color:#becbd7; }
body.sv-experience[data-standard-theme] .normic-standard-selector button { background:#fff; color:var(--normic-ink); border-color:#becbd7; }
body.sv-experience[data-standard-theme] .normic-standard-selector :is(button,select,a):focus-visible { outline:3px solid #284f70; outline-offset:3px; }
body.sv-experience[data-standard-theme] #main-sidebar .sidebar-menu-item[data-module-theme] {
    background:transparent; border-color:transparent; color:var(--normic-ink);
}
body.sv-experience[data-standard-theme] #main-sidebar .sidebar-menu-item[data-module-theme] .sidebar-icon { color:var(--normic-color); }
body.sv-experience[data-standard-theme] #main-sidebar .sidebar-menu-item[data-module-theme][aria-current="page"],
body.sv-experience[data-standard-theme] #main-sidebar .sidebar-subitems a[aria-current="page"] {
    background:var(--normic-soft); color:var(--normic-color); border-color:var(--normic-line);
    box-shadow:inset 3px 0 var(--normic-color);
}
body.sv-experience[data-standard-theme] #main-sidebar :is(.sidebar-menu-item[data-module-theme][aria-current="page"] .sidebar-icon,.sidebar-subitems a[aria-current="page"] i) { color:var(--normic-color); }
body.sv-experience[data-standard-theme] #main-sidebar .normic-haccp-access { background:#e7f0f4; color:#175b78; border-color:#c7dce5; box-shadow:inset 3px 0 #175b78; }
body.sv-experience[data-standard-theme] #main-sidebar .normic-haccp-access .sidebar-icon { color:inherit; }
body.sv-experience[data-standard-theme] .sv-help-bar { padding-bottom:10px; margin-bottom:14px; gap:10px; }
body.sv-experience[data-standard-theme] main:not(:has([data-module-directory])) > .sv-help-bar > p { display:none; }
body.sv-experience[data-standard-theme] main:not(:has([data-module-directory])) > .sv-help-bar { justify-content:flex-end; border:0; padding:0; }
body.sv-experience[data-standard-theme] main [data-module-card][data-module-name] {
    background:var(--normic-soft); border:1px solid var(--normic-line); border-radius:14px;
    border-top:3px solid var(--normic-accent);
    min-height:154px; padding:20px; box-shadow:0 2px 6px #112b4504;
}
body.sv-experience[data-standard-theme] main [data-module-card] .normic-tool-icon span {
    background:#fff; color:var(--normic-color); border:1px solid var(--normic-line);
}
body.sv-experience[data-standard-theme] main [data-module-card] .normic-tool-open {
    background:transparent; color:var(--normic-ink); padding:4px 0 0; font-size:12px;
}
body.sv-experience[data-standard-theme] main [data-module-card][data-module-name]:hover {
    background:#fff; border-color:var(--normic-color); box-shadow:0 4px 14px #112b4509; transform:none;
}
body.sv-experience[data-standard-theme] main [data-module-card] h3 { font-weight:600; color:var(--normic-ink); }
/* Color identifies a working surface or help, while readable text stays dark. */
body.sv-experience[data-standard-theme] .sv-help-bar :is(.sv-help-button,.normic-video-button),
body.sv-experience[data-standard-theme] .normic-document-heading button[data-document-guide] {
    background:#fff9e5; color:var(--normic-ink); border:1px solid #eadfae; box-shadow:none;
}
body.sv-experience[data-standard-theme] .sv-help-bar :is(.sv-help-button,.normic-video-button):hover,
body.sv-experience[data-standard-theme] .normic-document-heading button[data-document-guide]:hover { background:#fff4c7; }
body.sv-experience[data-standard-theme] :is(.sv-dashboard-hero,.normic-page-banner,.normic-document-heading) {
    background:#fff; color:var(--normic-ink); border:1px solid var(--normic-edge);
    border-left:3px solid var(--normic-accent); padding:20px 24px; box-shadow:none;
}
body.sv-experience[data-standard-theme] :is(.sv-dashboard-hero,.normic-page-banner,.normic-document-heading) :is(h1,h2,h3,strong,.text-white,[class*="text-blue-"],[class*="text-indigo-"],[class*="text-violet-"]) { color:var(--normic-ink); }
body.sv-experience[data-standard-theme] :is(.sv-dashboard-hero,.normic-page-banner,.normic-document-heading) p { color:var(--normic-muted); line-height:1.6; }
body.sv-experience[data-standard-theme] :is(.sv-dashboard-hero,.normic-page-banner,.normic-document-heading) :is(button,a):where([class*="rounded"],[class*="btn-"]) {
    background:#fff; color:var(--normic-ink); border:1px solid #becbd7; box-shadow:none;
}
body.sv-experience[data-standard-theme] :is(.sv-dashboard-hero,.normic-page-banner,.normic-document-heading) :is(button,a):focus-visible { outline:3px solid #284f70; outline-offset:3px; }
body.sv-experience[data-standard-theme] .normic-review-entry { background:#eef4f8; border-color:#d3e3e8; }
body.sv-experience[data-standard-theme] .normic-review-entry [data-document-inbox] { background:#284f70; color:#fff; border:1px solid #284f70; }
body.sv-experience[data-standard-theme] :is(main,dialog,[id^="modal"]) :is(button,a):has(> :is(.fa-upload,.fa-cloud-upload-alt,.fa-cloud-arrow-up)) { background:#eaf9fb; color:#112b45; border-color:#b9e2e8; }
body.sv-experience[data-standard-theme] .normic-document-library :is(input,select) { background:#fff; border-color:#cbd5df; }
body.sv-experience[data-standard-theme] .normic-document-library thead { background:#f8fbfc; }
body.sv-experience[data-standard-theme] .normic-document-library th { color:#52667a; font-weight:600; letter-spacing:.02em; }
body.sv-experience[data-standard-theme] .normic-document-library td { border-color:#edf0f4; }
body.sv-experience[data-standard-theme] .normic-document-library tbody tr:hover { background:#f8fafc; }
body.sv-experience[data-standard-theme] .nd-review > header { background:#eef4f8; color:#112b45; border-bottom:1px solid #d3e3e8; }
body.sv-experience[data-standard-theme] .nd-review > header :is(h2,small,button) { color:#112b45; }
body.sv-experience[data-standard-theme] .nd-review .nd-primary { background:#284f70; }
.normic-document-demo { margin:0 0 20px; border:1px solid #d3e3e8; border-radius:12px; background:#fff; color:#112b45; }
.normic-document-demo > summary { cursor:pointer; padding:16px 20px; font-size:14px; font-weight:600; background:#fff9e5; border-radius:11px; border-left:3px solid #efb900; }
.normic-document-demo[open] > summary { border-radius:11px 11px 0 0; border-bottom:1px solid #eadfae; margin-bottom:16px; }
.normic-document-demo > summary span { font-size:12px; font-weight:400; color:#465e70; margin-left:10px; }
.normic-document-demo > summary:focus-visible { outline:3px solid #284f70; outline-offset:3px; border-radius:12px; }
.normic-demo-content { padding:0 20px 20px; font-size:13px; line-height:1.7; }
.normic-demo-content > p { margin-bottom:14px; color:#465e70; }
.normic-demo-steps { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; counter-reset:demo; }
.normic-demo-steps > li { padding:16px; border:1px solid #e3e9ef; border-radius:10px; background:#fafbfd; counter-increment:demo; }
.normic-demo-steps h3 { font-size:14px; font-weight:650; margin:0 0 8px; line-height:1.5; }
.normic-demo-steps h3::before { content:counter(demo,decimal-leading-zero); display:inline-block; margin-right:10px; color:#284f70; font-variant-numeric:tabular-nums; }
.normic-demo-steps p { margin:6px 0 0; }
.normic-demo-content .normic-demo-note { margin:16px 0 0; padding:12px 16px; background:#eef4f8; border-radius:8px; }
@media(max-width:767px) {
    body.sv-experience[data-standard-theme] .normic-standard-selector { padding:12px; }
    body.sv-experience[data-standard-theme] :is(.sv-dashboard-hero,.normic-page-banner,.normic-document-heading) { padding:18px 16px; }
    .normic-demo-steps { grid-template-columns:1fr; }
    .normic-document-demo > summary span { display:block; margin:4px 0 0; }
    .normic-demo-content { padding:0 14px 16px; }
}
@media print {
    .normic-document-demo { break-inside:auto; }
    .normic-demo-steps { display:block; }
    .normic-demo-steps > li { break-inside:avoid; margin-bottom:10px; }
}

/* Brand accents are decorative; small text uses a darker accessible tone. */
body.sv-experience[data-standard-theme] { --normic-ink:#112b45; --normic-muted:#465e70; --normic-canvas:#f8fbfc; --normic-edge:#d3e3e8; --normic-radius:14px; --normic-surface-shadow:0 3px 14px #112b4506; }
body.sv-experience[data-standard-theme] :is(.normic-standard-selector,.normic-page-banner,.normic-document-heading,.sv-dashboard-hero) { box-shadow:0 2px 10px #112b4504; }
body.sv-experience[data-standard-theme] :is(button,a,input,select,textarea,summary):focus-visible { outline-color:#007c8b; }
body.sv-experience[data-standard-theme] :is(main,dialog,[role="dialog"],[id*="Modal"],[id^="modal"]) :is(button,a):has(> :is(.fa-save,.fa-floppy-disk)),
body.sv-experience[data-standard-theme] .normic-action-save { background:#112b45; color:#fff; border:1px solid #112b45; box-shadow:none; }
body.sv-experience[data-standard-theme] :is(main,dialog,[role="dialog"],[id*="Modal"],[id^="modal"]) :is(button,a):has(> :is(.fa-upload,.fa-cloud-upload-alt,.fa-cloud-arrow-up)),
body.sv-experience[data-standard-theme] .normic-action-upload { background:#eaf9fb; color:#112b45; border:1px solid #b9e2e8; box-shadow:none; }
body.sv-experience[data-standard-theme] :is(button,a):has(> :is(.fa-save,.fa-floppy-disk,.fa-upload,.fa-cloud-upload-alt,.fa-cloud-arrow-up)) > i { color:inherit; }

/* Entry screen: the same light palette, with no saturated full-card fills. */
body.sv-experience.normic-hub { background:#f8fbfc; }
body.sv-experience.normic-hub a.group { border-radius:18px; padding:30px; box-shadow:0 5px 18px #112b4507; }
body.sv-experience.normic-hub a.group[href="/plataforma"] { background:#e4effb; border:1px solid #bfd5ea; border-top:3px solid #487ba6; }
body.sv-experience.normic-hub a.group[href="/haccp"] { background:#e2f2e8; border:1px solid #b8d9c5; border-top:3px solid #36845a; }
body.sv-experience.normic-hub a.group :is(h2,p,.text-blue-400,.text-violet-400) { color:#112b45; }
body.sv-experience.normic-hub a.group h2 { font-weight:600; }
body.sv-experience.normic-hub a.group p { color:#465e70; }
body.sv-experience.normic-hub a.group .relative > .bg-gradient-to-br { background:#fff; border:1px solid #d3e3e8; box-shadow:none; }
body.sv-experience.normic-hub a.group[href="/plataforma"] .relative > .bg-gradient-to-br i { color:#284f70; }
body.sv-experience.normic-hub a.group[href="/haccp"] .relative > .bg-gradient-to-br i { color:#175b78; }
body.sv-experience.normic-hub a.group:hover { border-color:var(--normic-color); box-shadow:0 6px 18px #112b4514; }
body.sv-experience.normic-hub .nm-module-icon { width:64px; height:64px; border-radius:18px; margin-bottom:20px; }
body.sv-experience.normic-hub .nm-module-icon svg { width:46px; height:46px; }
body.sv-experience.normic-hub > .fixed { display:none; }

/* Inocuidad uses the soft green requested on 20 November; Ambiente stays turquoise. */
body.sv-experience[data-standard-theme="haccp"] > .normic-haccp-shell { background:#f5faf7; color:#112b45; border-color:var(--normic-line); border-top:3px solid var(--normic-accent); }
body.sv-experience[data-standard-theme="haccp"] :is(.normic-haccp-top,.normic-haccp-brand) { border-color:#d3e3e8; }
body.sv-experience[data-standard-theme="haccp"] :is(.normic-haccp-back,.normic-haccp-brand,.normic-haccp-title h1,.normic-haccp-title p,.normic-haccp-account > span) { color:#112b45; }
body.sv-experience[data-standard-theme="haccp"] .normic-haccp-account > form > button,
body.sv-experience[data-standard-theme="haccp"] .normic-haccp-account #haccpNotifContainer > button { background:var(--normic-soft); color:var(--normic-color); border:1px solid var(--normic-line); }
body.sv-experience[data-standard-theme="haccp"] .normic-haccp-navigation { background:#f8fbfc; }
body.sv-experience[data-standard-theme="haccp"] .normic-haccp-home.is-current,
body.sv-experience[data-standard-theme="haccp"] .normic-haccp-groups [role="tab"][aria-selected="true"],
body.sv-experience[data-standard-theme="haccp"] .normic-haccp-tools .haccp-nav-item.active { background:var(--normic-soft); color:var(--normic-color); border-color:var(--normic-line); box-shadow:inset 0 -2px var(--normic-accent); }
body.sv-experience[data-standard-theme="haccp"] main a.haccp-card { background:var(--normic-soft); border:1px solid var(--normic-line); border-top:3px solid var(--normic-accent); }
body.sv-experience[data-standard-theme="haccp"] main a.haccp-card :is(h3,p) { color:#112b45; }
body.sv-experience[data-standard-theme="haccp"] main a.haccp-card:hover { background:#fff; border-color:var(--normic-accent); }
body.sv-experience[data-standard-theme="haccp"] :is(.hx-panel,.hx-count,.hx-index a) { color:var(--normic-color); border-color:var(--normic-line); }
body.sv-experience[data-standard-theme="haccp"] .normic-haccp-navigation :is(a,button):focus-visible { outline-color:#007c8b; }

/* Login and guided setup belong to the same visual system. */
body.sv-experience[data-standard-theme] .normic-login-intro { background-color:#eaf9fb; color:#112b45; }
body.sv-experience[data-standard-theme] .normic-login-intro > .absolute { background:linear-gradient(180deg,rgba(234,249,251,.08) 0%,rgba(238,244,248,.25) 30%,rgba(238,244,248,.94) 60%,rgba(234,249,251,.98) 100%); }
body.sv-experience[data-standard-theme] .normic-login-intro h1 { font-weight:600; }
body.sv-experience[data-standard-theme] .normic-login-intro :is(p,.text-slate-400) { color:#465e70; }
body.sv-experience[data-standard-theme] .normic-login-intro .border-t { border-color:#c5e0e6; }
body.sv-experience[data-standard-theme] .normic-login-intro i { color:#007784; }
body.sv-experience[data-standard-theme] .nm-login-panel button[type="submit"] { background:#112b45; color:#fff; }
body.sv-experience.normic-onboarding { --onb-bg:#f8fbfc; --onb-surface:#fff; --onb-surface-2:#eef4f8; --onb-border:#d3e3e8; --onb-text:#112b45; --onb-text-muted:#465e70; --onb-accent:#175b78; --onb-accent-2:#007784; }
body.sv-experience[data-standard-theme] .nd-review .nd-filters button[aria-pressed="true"] { background:#eaf9fb; color:#112b45; border-color:#9fcbd2; }
body.sv-experience[data-standard-theme] .nd-review .nd-banner { border-left-color:#008b9c; background:#eff8fb; }
body.sv-experience[data-standard-theme] #ai-fab { background:#eaf9fb; color:#112b45; border:1px solid #b9e2e8; box-shadow:0 4px 16px #112b4512; }
body.sv-experience[data-standard-theme] #ai-chat-panel > .bg-gradient-to-r { background:#eef4f8; color:#112b45; border-bottom:1px solid #d3e3e8; }
body.sv-experience[data-standard-theme] #ai-chat-panel > .bg-gradient-to-r :is(h3,p,button,span) { color:#112b45; }
body.sv-experience[data-standard-theme] #ai-send-btn { background:#175b78; color:#fff; }
body.sv-experience[data-standard-theme] .normic-shell-header :is(.bg-indigo-50,.bg-violet-50) { background:#eaf9fb; color:#007784; border-color:#c5eaf0; }
/* A consistent section marker without recoloring validation or risk states. */
body.sv-experience[data-standard-theme] .normic-shell-header { border-bottom:3px solid var(--normic-accent); }
body.sv-experience[data-standard-theme] :is(.sv-help-bar .normic-video-button,[data-open-tutorial],a[href="/tutoriales"]) {
    background:var(--normic-tutorial-soft); color:#665100;
    border:1px solid var(--normic-tutorial-line); box-shadow:none;
}
body.sv-experience.normic-tutorials > header { background:var(--normic-soft); border-bottom:3px solid var(--normic-accent); }
body.sv-experience.normic-tutorials main { background:transparent; }
body.sv-experience.normic-tutorials :is(.tutorial-filters,article) { border-color:var(--normic-line); }
body.sv-experience.normic-tutorials article { border-top:3px solid var(--normic-accent); }
body.sv-experience.normic-tutorials article > .copy:first-child,
body.sv-experience.normic-tutorials .tutorial-filters { background:var(--normic-soft); }
body.sv-experience.normic-tutorials .tutorial-formats a { color:#465e70; border-color:var(--normic-line); }
body.sv-experience.normic-tutorials .tutorial-formats a[aria-current="page"] { background:var(--normic-soft); color:var(--normic-color); border-color:var(--normic-accent); box-shadow:inset 0 -2px var(--normic-accent); }
body.sv-experience.normic-tutorials :is(.tutorial-duration,.normic-tutorial-download) { background:var(--normic-soft); color:var(--normic-color); border-color:var(--normic-line); }
body.sv-experience.normic-tutorials .tutorial-filters button { background:#112b45; color:#fff; }
@media print {
    body.sv-experience[data-standard-theme] :is(.normic-standard-selector,.sv-dashboard-hero,.normic-page-banner,.normic-document-heading) { background:#fff; color:#112b45; border-color:#d3e3e8; }
}
