
      .module-dashboard-back { margin-bottom: 12px; }
      body main :is([data-back-dashboard],button[data-view="dashboard"]){display:inline-block!important;width:auto!important;min-height:0!important;flex:none!important;background:#147c20!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:11px 16px!important;font:700 16px/normal Arial,sans-serif!important;text-decoration:none!important;cursor:pointer}
      body main :is([data-back-dashboard],button[data-view="dashboard"]):hover{background:#105a18!important}
      .policy-footer { background: #147c20 !important; border-top: 5px solid #e30613 !important; color: white !important; }
      .policy-footer :is(strong, span, a) { color: white !important; }
      .policy-footer, .policy-footer :is(div, strong, span, a) { font-size: 13px !important; line-height: 1.6 !important; }
      .policy-footer .tas-capital-footer { background: white; padding: 12px; border-radius: 8px; }
      .policy-footer .tas-capital-footer img { mix-blend-mode: normal; }
      .app-header { padding: 0; gap: 0; overflow: hidden; border-radius: 12px; background: white; }
      .app-header .brand { display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow: visible; }
      .app-header .header-logo-frame { order: 0; flex: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 160px !important; padding: 16px; background: white; }
      .app-header .header-logo-frame img { width: 260px; max-width: 100%; height: 128px; object-fit: contain; object-position: center; }
      .app-header .brand-meta { order: 1; flex: none; width: 100%; max-width: none; padding: 20px 24px; gap: 5px; background: #147c20; border-bottom: 5px solid #e30613; color: white; font-size: 13px; line-height: 1.5; }
      .app-header .brand-meta strong { color: white; font-size: 22px; }
      .app-header .brand-meta :is(span, a) { color: white; }
      .app-header .brand-meta a:hover { text-decoration: underline; }
      .app-header .tabs { padding: 14px 20px; margin: 0; border: 0; background: white; }
      @media (max-width: 640px) { .app-header .header-logo-frame { height: 132px !important; } .app-header .header-logo-frame img { height: 100px; width: 220px; } .app-header .brand-meta { padding: 16px; font-size: 12px; } .app-header .brand-meta strong { font-size: 19px; } .app-header .tabs { padding: 12px; } }
      /* Dashboard and its existing workspace pages share the review palette. */
      :is(#dashboard, #workspace) { --green: #147c20; --green-dark: #147c20; --line: #d5deea; --bg: #f3f6f4; background: #f3f6f4; color: #152536; padding: 20px; border-radius: 12px; }
      :is(#dashboard, #workspace) .page-title { background: #147c20; color: white; border: 0; border-bottom: 6px solid #e30613; border-radius: 12px; padding: 24px; margin-bottom: 22px; }
      :is(#dashboard, #workspace) .page-title :is(h1, p, .eyebrow, .save-status) { color: white; }
      #dashboard .page-title .save-status { background: transparent; border: 0; padding: 0; }
      #dashboard .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
      #dashboard .dashboard-folder { background: white; border: 1px solid #d5deea; border-top: 5px solid #147c20; border-radius: 12px; padding: 24px; min-height: 160px; box-shadow: 0 4px 14px #147c200d; }
      #dashboard .dashboard-folder span { color: #147c20; font-size: 20px; font-weight: 700; }
      #dashboard .dashboard-folder strong { display: none; }
      #dashboard .dashboard-folder::after { background: #e30613; color: white; border-radius: 8px; padding: 11px 16px; font-size: 14px; }
      #dashboard .dashboard-folder:hover { border-color: #e30613; box-shadow: 0 6px 18px #147c2020; }
      :is(#dashboard, #workspace) .panel { background: white; border-color: #d5deea; border-radius: 12px; }
      :is(#dashboard, #workspace) button:not(.dashboard-folder) { background: #147c20; color: white; border: 1px solid #147c20; border-radius: 8px; padding: 11px 16px; }
      :is(#dashboard, #workspace) button.primary { background: #e30613; border-color: #e30613; }
      :is(#dashboard, #workspace) :is(h2, h3, label) { color: #147c20; }
      :is(#dashboard, #workspace) :is(input, select, textarea) { border-color: #aebed1; border-radius: 8px; accent-color: #147c20; }
      :is(#dashboard, #workspace) th { background: #147c20; color: white; }
      :is(#dashboard, #workspace) button:focus-visible { outline: 3px solid #e30613; outline-offset: 3px; }
      @media (max-width: 640px) { :is(#dashboard, #workspace) { padding: 10px; } #dashboard .metrics { grid-template-columns: 1fr; } :is(#dashboard, #workspace) .page-title { padding: 18px; } }
      /* Safety File Review palette, scoped to these three existing modules. */
      #audit { --green: #147c20; --green-dark: #147c20; --red: #e30613; --line: #d5deea; --bg: #f3f6f4; }
      #actions { --green: #147c20; --green-dark: #147c20; --red: #e30613; --line: #d5deea; --bg: #f3f6f4; }
      #actions .workflow-dashboard-grid > div { background: #eef3fb; border-left-color: #147c20; }
      #actions :is(.safetyculture-summary, .workflow-dashboard-grid) strong { color: #147c20; }
      :is(#actions, #settings, #login, #audit) { background: #f3f6f4; color: #152536; padding: 20px; border-radius: 12px; }
      :is(#actions, #settings, #login, #audit) .page-title { background: #147c20; color: #fff; border: 0; border-bottom: 6px solid #e30613; padding: 22px; border-radius: 10px; }
      :is(#actions, #settings, #login, #audit) .page-title :is(h1, p) { color: #fff; }
      :is(#actions, #settings, #login, #audit) :is(.panel, .analytics-card, .login-help-box) { background: #fff; color: #152536; border: 1px solid #d5deea; border-radius: 12px; box-shadow: 0 3px 12px #147c200d; }
      :is(#actions, #settings, #login, #audit) :is(h2, h3, label) { color: #147c20; }
      :is(#actions, #settings, #login, #audit) button { background: #147c20; color: #fff; border: 1px solid #147c20; border-radius: 8px; padding: 11px 16px; font-weight: 700; }
      :is(#actions, #settings, #login, #audit) button.primary { background: #e30613; border-color: #e30613; }
      :is(#actions, #settings, #login, #audit) button:hover:not(:disabled) { filter: brightness(1.12); }
      :is(#actions, #settings, #login, #audit) button:disabled { opacity: .5; cursor: not-allowed; }
      :is(#actions, #settings, #login, #audit) :is(input, select, textarea) { background: #fff; color: #152536; border: 1px solid #aebed1; border-radius: 8px; accent-color: #147c20; }
      :is(#actions, #settings, #login, #audit) :is(input, select, textarea):disabled { background: #e8edf3; color: #526173; }
      :is(#actions, #settings, #login, #audit) :is(button, input, select, textarea):focus-visible { outline: 3px solid #e30613; outline-offset: 2px; }
      :is(#actions, #settings, #login, #audit) th { background: #147c20; color: #fff; }
      .app-header :is(.tab, .external-app-tab) { background: #147c20; color: #fff; border: 0; border-radius: 8px; min-height: 40px; padding: 11px 16px; font: 700 16px/normal Arial,sans-serif; }
      .app-header :is(.tab, .external-app-tab):hover { background: #105a18; border-color: #105a18; }
      .app-header .tab.active { background: #e30613; color: #fff; border-color: #e30613; }
      .app-header :is(.tab, .external-app-tab):focus-visible { outline: 3px solid #e30613; outline-offset: 2px; }
      @media (max-width: 640px) { :is(#actions, #settings, #login, #audit) { padding: 10px; } :is(#actions, #settings, #login, #audit) .page-title { padding: 16px; } }
      .external-app-tab { border-radius: 999px; min-height: 34px; font-size: 12px; padding: 8px 10px; line-height: 1.15; }
      @media (max-width: 720px) { .external-app-tab { width: 100%; text-align: center; white-space: normal; } }
      @media (max-width: 640px) { .external-app-tab { min-height: 38px; padding: 7px 6px; font-size: 11px; line-height: 1.1; } }
      @media print { .module-dashboard-back { display: none !important; } }
      @media screen {
        body > :is(.app-header, main, .app-footer) { width: calc(100% - 48px); max-width: 1320px; margin-left: auto; margin-right: auto; }
        body > main { padding-left: 0; padding-right: 0; }
        main > .view:is(#dashboard, #workspace, #actions, #login, #settings, #audit, #report) { padding-left: 0; padding-right: 0; }
      }
      @media screen and (max-width: 640px) {
        body > :is(.app-header, main, .app-footer) { width: calc(100% - 20px); }
      }
    
/* Shared IQAUDIT adaptation of the TAS shell, including account screens. */
:root{--green:#147c20;--green-dark:#105a18;--red:#e30613}
.app-header .brand-meta{background:#147c20!important}
.app-header .header-logo-frame{height:160px!important}
.app-header .header-logo-frame img{height:128px!important;width:320px!important}
body:not(.iq-dashboard) .app-header .tabs{display:none!important}
.app-header .external-app-tab{text-decoration:none;border-radius:6px!important;display:inline-block}
#dashboard .dashboard-folder{display:flex!important;flex-direction:column;align-items:flex-start;text-align:left;gap:22px;text-decoration:none;min-height:155px!important}
#dashboard .dashboard-folder strong{display:none!important}
#dashboard .dashboard-folder span{font-size:20px!important;color:#152536!important}
#dashboard .dashboard-folder::after{content:'Open page';display:inline-block!important;width:auto!important;background:#e30613!important;color:white!important;border-radius:6px!important;padding:11px 16px!important;font-size:14px!important}
.page-title .save-status{background:transparent!important;border:0!important;padding:0!important;color:white!important}
main>.view{background:#f3f6f4;color:#152536}
main>.view .panel{background:white;border-radius:8px}
.iq-back-dashboard{display:inline-block;margin:0 0 18px;padding:11px 16px;background:#147c20!important;color:white!important;text-decoration:none;border-radius:6px;font-weight:700}
.iq-audit-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.app-footer{font-size:13px!important;line-height:1.6;background:#147c20!important}
.app-footer :is(span,strong,a,div){font-size:13px!important}
button,input,select,textarea{max-width:100%;box-sizing:border-box}
button,.button,.tab{border-radius:6px!important}
@media(max-width:640px){#dashboard .metrics{grid-template-columns:1fr!important}.app-header .tabs{display:flex;flex-wrap:wrap}.app-header .external-app-tab{width:auto}.app-footer{grid-template-columns:1fr!important}}
@media print{.iq-back-dashboard,.iq-audit-tools,.app-header .tabs{display:none!important}}
