/* UnderRevieu: shared visual foundations, with no external font dependency.
   Colour roles
   - Platform (UnderRevieu): navy ink, the two pinks of the mark (#fd6f91, #fda7ab) and its cyan.
     --ui-accent is the platform rose wherever no journal is in context.
   - Journals: .journal-nntdm (NNTDM blue #0066cc) and .journal-nifs (NIFS green #21734b) in
     journals.css remap --ui-accent* for a whole journal page or for one card in a mixed list.
   - Workflow states (notices, status chips) never use a journal colour.
   Dark colour scheme: the block at the end of this file swaps the tokens when the device asks for dark
   (prefers-color-scheme); every stylesheet ends with its own dark block for the colours it sets itself. */
:root { color-scheme:light; --ui-bg:#f5f6f8; --ui-surface:#fff; --ui-ink:#1d2433; --ui-muted:#606b7e; --ui-line:#e3e7ed; --ui-navy:#223143; --ui-rose:#fd6f91; --ui-blush:#fda7ab; --ui-cyan:#00b5de; --ui-accent:#b83d65; --ui-accent-hover:#9d3154; --ui-accent-soft:#fff0f4; --ui-accent-line:#f6cfdc; --ui-accent-ink:#a52e52; --ui-highlight:#fd6f91; --ui-radius:20px; --ui-shadow:0 4px 24px rgb(29 36 51 / 4%); --ui-focus:0 0 0 4px rgb(184 61 101 / 18%); --ui-font:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; --ui-serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif; font-family:var(--ui-font); font-optical-sizing:auto; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
:root { --ui-hover:#f0f3f7; --ui-field-line:#d8dde5; --ui-placeholder:#717b8c; --ui-on-accent:#fff; --ui-selection:#ffd9e4; --ui-selection-ink:#4d1529; --ui-error-ink:#a32a36; --ui-error-bg:#fff3f3; --ui-error-line:#f4d6da; --ui-success-ink:#217147; --ui-success-bg:#edf8f1; --ui-success-line:#cde7d7; --ui-warning-ink:#885a15; --ui-warning-bg:#fff9ec; --ui-warning-line:#f0e1bd; --ui-chip-bg:#f3f5f8; --ui-chip-line:#e1e5ec; --ui-chip-ink:#465166; --ui-chip-dot:#8d97a8; --ui-chip-progress-bg:#fff3f3; --ui-chip-progress-line:#fdd3d5; --ui-chip-progress-ink:#7a3a45; --ui-chip-attention-bg:#fff7e6; --ui-chip-attention-line:#f2dfb4; --ui-chip-attention-ink:#7f5200; --ui-chip-attention-dot:#e0a01c; --ui-chip-positive-line:#d6dbe3; --ui-chip-negative-ink:#9a2c3d; --ui-chip-negative-dot:#d0546a; }
*,*::before,*::after { box-sizing:border-box; }
:where(body) { margin:0; min-height:100vh; background:var(--ui-bg); color:var(--ui-ink); font-family:var(--ui-font); font-size:.9375rem; line-height:1.55; }
:where(h1,h2,h3,h4,p,figure) { margin:0; }
:where(h1,h2,h3,h4) { color:var(--ui-ink); font-weight:650; line-height:1.2; letter-spacing:-.035em; }
:where(h1) { font-size:clamp(2rem,4vw,3rem); }
:where(h2) { font-size:1.375rem; }
:where(h3) { font-size:1.0625rem; letter-spacing:-.015em; }
:where(a) { color:var(--ui-accent); text-decoration:none; text-underline-offset:4px; }
:where(a:hover) { text-decoration:underline; }
:where(button,input,textarea,select) { font:inherit; }
:where(button,a,input,select,textarea,summary) { -webkit-tap-highlight-color:transparent; }
:where(button,[role="button"],a,summary) { touch-action:manipulation; }
:where(button) { cursor:pointer; border:1px solid var(--ui-line); border-radius:10px; padding:.625rem 1rem; background:var(--ui-surface); color:var(--ui-ink); font-weight:600; line-height:1.4; transition:background-color 150ms ease,color 150ms ease,box-shadow 150ms ease; }
:where(button:hover) { background:var(--ui-hover); }
:where(button:active,.primary-action:active) { transform:scale(.985); }
:where(button:disabled,input:disabled,select:disabled) { cursor:not-allowed; opacity:.55; }
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea,select) { min-width:0; max-width:100%; min-height:44px; border:1px solid var(--ui-field-line); border-radius:10px; padding:.6875rem .875rem; background:var(--ui-surface); color:var(--ui-ink); transition:border-color 150ms ease,box-shadow 150ms ease; }
:where(textarea) { resize:vertical; line-height:1.6; }
:where(input::placeholder,textarea::placeholder) { color:var(--ui-placeholder); opacity:1; }
:where(input[type="checkbox"],input[type="radio"]) { width:18px; height:18px; accent-color:var(--ui-accent); }
:where(input:focus,textarea:focus,select:focus) { outline:none; border-color:var(--ui-accent); box-shadow:var(--ui-focus); }
:where(a,button,summary,[tabindex]):focus-visible { outline:3px solid var(--ui-accent); outline-offset:4px; }
:where(img) { max-width:100%; }
/* A themed image (app_themed_img() in pages/portal-ui.php): the <picture> wrapper and its <source> take no box of their own. */
:where(picture) { display:contents; }
:where(picture > source) { display:none; }
:where(table) { font-variant-numeric:tabular-nums; }
:where(summary) { cursor:pointer; }
:where([hidden]) { display:none !important; }
::selection { background:var(--ui-selection); color:var(--ui-selection-ink); }
.eyebrow { margin:0 0 .625rem; color:var(--ui-muted); font-size:.75rem; font-weight:700; letter-spacing:.12em; line-height:1.4; text-transform:uppercase; }
.form-alert,.notice { margin:0 0 1.25rem; padding:1rem 1.125rem; border:1px solid var(--ui-line); border-radius:12px; font-size:.875rem; line-height:1.55; overflow-wrap:anywhere; }
.form-alert--error,.notice-error { color:var(--ui-error-ink); background:var(--ui-error-bg); border-color:var(--ui-error-line); }
.form-alert--success,.notice-success { color:var(--ui-success-ink); background:var(--ui-success-bg); border-color:var(--ui-success-line); }
.form-alert--warning,.notice-warning { color:var(--ui-warning-ink); background:var(--ui-warning-bg); border-color:var(--ui-warning-line); }
/* Manuscript status: wording and tone come from app_status_view(); tones are journal-neutral. */
.status-chip { display:inline-flex; align-items:center; gap:.45rem; max-width:100%; padding:.32rem .7rem .32rem .6rem; border:1px solid var(--ui-chip-line); border-radius:999px; background:var(--ui-chip-bg); color:var(--ui-chip-ink); font-size:.75rem; font-weight:600; line-height:1.35; white-space:nowrap; }
.status-chip::before { content:''; flex:0 0 7px; width:7px; height:7px; border-radius:50%; background:var(--ui-chip-dot); }
.status-chip--progress { border-color:var(--ui-chip-progress-line); background:var(--ui-chip-progress-bg); color:var(--ui-chip-progress-ink); }
.status-chip--progress::before { background:var(--ui-blush); }
.status-chip--attention { border-color:var(--ui-chip-attention-line); background:var(--ui-chip-attention-bg); color:var(--ui-chip-attention-ink); }
.status-chip--attention::before { background:var(--ui-chip-attention-dot); }
.status-chip--positive { border-color:var(--ui-chip-positive-line); background:var(--ui-surface); color:var(--ui-ink); }
.status-chip--positive::before { content:'✓'; content:'✓' / ''; width:auto; height:auto; background:none; color:var(--ui-ink); font-size:.75rem; font-weight:700; line-height:1; }
.status-chip--negative { border-color:var(--ui-chip-line); background:var(--ui-chip-bg); color:var(--ui-chip-negative-ink); }
.status-chip--negative::before { background:var(--ui-chip-negative-dot); }
.visually-hidden { position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:-100px; left:20px; z-index:9999; padding:12px 20px; background:var(--ui-surface); color:var(--ui-accent); border-radius:10px; box-shadow:var(--ui-shadow); }
.skip-link:focus { top:12px; }
/* The cookie notice (script/cookie-notice.js): not modal, above the page, below the skip link. The editorial pages give their own colours. */
.cookie-notice { position:fixed; right:20px; bottom:20px; z-index:200; display:flex; align-items:center; gap:18px; width:min(480px,calc(100vw - 32px)); padding:16px 18px; border:1px solid var(--admin-border,var(--ui-line)); border-radius:16px; background:var(--admin-surface,var(--ui-surface)); color:var(--admin-text,var(--ui-ink)); box-shadow:0 12px 40px rgb(29 36 51 / 22%); font-size:.8125rem; line-height:1.55; }
.cookie-notice p { margin:0; }
.cookie-notice a { color:var(--admin-primary,var(--ui-accent)); text-decoration:underline; }
.cookie-notice button { flex:none; min-width:64px; min-height:44px; padding:10px 18px; border:1px solid var(--admin-primary,var(--ui-accent)); border-radius:10px; background:var(--admin-primary,var(--ui-accent)); color:var(--admin-surface,var(--ui-on-accent)); font-size:.875rem; font-weight:650; }
@media(max-width:560px) { .cookie-notice { right:16px; bottom:16px; gap:14px; padding:14px; } }
@media print { .cookie-notice { display:none; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } :where(button:active,.primary-action:active) { transform:none; } }
@media(prefers-contrast:more) { :root { --ui-muted:#414b5d; --ui-line:#8b96a6; } :where(input,textarea,select) { border-color:#697589; } }

/* Dark colour scheme: the device's setting (prefers-color-scheme), the palette of the editorial workspace's dark theme
   (admin.css). The workspace keeps its own switch: script/admin-theme.js sets <body data-theme> on editorial pages, so the
   portal rules below match only pages without it. Brand colours (--ui-rose, --ui-blush, --ui-cyan) stay as they are.
   Dark-only tokens for page stylesheets: --ui-inset (a recessed panel, table head or well inside a card) and
   --ui-raised (a raised tile, chip or hover inside a card). */
@media(prefers-color-scheme:dark) {
  :root:where(:not([data-color-scheme="light"])) { color-scheme:dark; }
  :where(html:not([data-color-scheme="light"])) body:not([data-theme]) { color-scheme:dark; --ui-bg:#15181e; --ui-surface:#20242c; --ui-ink:#edf1f7; --ui-muted:#a4afbf; --ui-line:#343b47; --ui-navy:#dbe4f0; --ui-accent:#ff8fb1; --ui-accent-hover:#ffa8c4; --ui-accent-soft:#38252e; --ui-accent-line:#633244; --ui-accent-ink:#ffb4cb; --ui-on-accent:#2a0f1a; --ui-shadow:0 4px 24px rgb(0 0 0 / 30%); --ui-focus:0 0 0 4px rgb(255 143 177 / 30%); --ui-hover:#2a303a; --ui-field-line:#6b7586; --ui-placeholder:#8d97a8; --ui-selection:#633244; --ui-selection-ink:#fff; --ui-error-ink:#ffadbc; --ui-error-bg:#412a33; --ui-error-line:#67404d; --ui-success-ink:#99d8b6; --ui-success-bg:#223c31; --ui-success-line:#3e644f; --ui-warning-ink:#ecc78b; --ui-warning-bg:#3b3325; --ui-warning-line:#615138; --ui-chip-bg:#282d36; --ui-chip-line:#3a414e; --ui-chip-ink:#c3ccd9; --ui-chip-dot:#8d97a8; --ui-chip-progress-bg:#3a2629; --ui-chip-progress-line:#5c3a40; --ui-chip-progress-ink:#ffc9ce; --ui-chip-attention-bg:#3b3325; --ui-chip-attention-line:#615138; --ui-chip-attention-ink:#ecc78b; --ui-chip-positive-line:#4a5363; --ui-chip-negative-ink:#ffadbc; --ui-chip-negative-dot:#e07a8c; --ui-inset:#191d24; --ui-raised:#282d36; }
  @media(prefers-contrast:more) { :where(html:not([data-color-scheme="light"])) body:not([data-theme]) { --ui-muted:#d3dbe8; --ui-line:#8e9aab; } :where(html:not([data-color-scheme="light"])) body:not([data-theme]) :where(input,textarea,select) { border-color:#8e9aab; } }
}
/* Generated by dontuploadcl/dark-toggle-20261102/tools/scheme_blocks.py from the dark block above: the same rules when Dark is chosen in the profile (html[data-color-scheme="dark"]). Do not edit by hand. */
  :root:where([data-color-scheme="dark"]) { color-scheme:dark; }
  :where(html[data-color-scheme="dark"]) body:not([data-theme]) { color-scheme:dark; --ui-bg:#15181e; --ui-surface:#20242c; --ui-ink:#edf1f7; --ui-muted:#a4afbf; --ui-line:#343b47; --ui-navy:#dbe4f0; --ui-accent:#ff8fb1; --ui-accent-hover:#ffa8c4; --ui-accent-soft:#38252e; --ui-accent-line:#633244; --ui-accent-ink:#ffb4cb; --ui-on-accent:#2a0f1a; --ui-shadow:0 4px 24px rgb(0 0 0 / 30%); --ui-focus:0 0 0 4px rgb(255 143 177 / 30%); --ui-hover:#2a303a; --ui-field-line:#6b7586; --ui-placeholder:#8d97a8; --ui-selection:#633244; --ui-selection-ink:#fff; --ui-error-ink:#ffadbc; --ui-error-bg:#412a33; --ui-error-line:#67404d; --ui-success-ink:#99d8b6; --ui-success-bg:#223c31; --ui-success-line:#3e644f; --ui-warning-ink:#ecc78b; --ui-warning-bg:#3b3325; --ui-warning-line:#615138; --ui-chip-bg:#282d36; --ui-chip-line:#3a414e; --ui-chip-ink:#c3ccd9; --ui-chip-dot:#8d97a8; --ui-chip-progress-bg:#3a2629; --ui-chip-progress-line:#5c3a40; --ui-chip-progress-ink:#ffc9ce; --ui-chip-attention-bg:#3b3325; --ui-chip-attention-line:#615138; --ui-chip-attention-ink:#ecc78b; --ui-chip-positive-line:#4a5363; --ui-chip-negative-ink:#ffadbc; --ui-chip-negative-dot:#e07a8c; --ui-inset:#191d24; --ui-raised:#282d36; }
  @media(prefers-contrast:more) { :where(html[data-color-scheme="dark"]) body:not([data-theme]) { --ui-muted:#d3dbe8; --ui-line:#8e9aab; } :where(html[data-color-scheme="dark"]) body:not([data-theme]) :where(input,textarea,select) { border-color:#8e9aab; } }
/* End of the generated copy. */
