/* WikiNative Studio — shared interface system, 26 October 2026. */
body.tilcayo, body.signed-in, body.signed-out {
    --wn-purple: #92278f;
    --wn-white: #ffffff;
    --wn-mint: #25b29a;
    --wn-gold: #ffc333;
    --wn-red: #ed1c24;
    --tks-font-ui: "Times New Roman", Times, serif;
    --tks-ink: #92278f;
    --tks-paper: #ffffff;
    --tks-purple-dark: #92278f;
    --ink: #92278f;
    --muted: #92278f;
    --paper: #ffffff;
    --tint: #ffffff;
    --line: #92278f;
    --color-base: #92278f;
    --color-base--hover: #92278f;
    --color-emphasized: #92278f;
    --color-subtle: #92278f;
    --color-placeholder: #92278f;
    --color-progressive: #92278f;
    --color-progressive--hover: #92278f;
    --color-progressive--active: #92278f;
    --color-destructive: #ed1c24;
    --color-destructive--hover: #ed1c24;
    --color-visited: #92278f;
    --background-color-base: #ffffff;
    --background-color-neutral: #ffffff;
    --background-color-neutral-subtle: #ffffff;
    --background-color-interactive: #ffffff;
    --background-color-interactive--hover: #ffffff;
    --background-color-interactive--active: #ffffff;
    --background-color-progressive-subtle: #ffffff;
    --background-color-progressive: #92278f;
    --background-color-progressive--hover: #92278f;
    --background-color-progressive--active: #92278f;
    --border-color-base: #92278f;
    --border-color-subtle: #92278f;
    --border-color-interactive: #92278f;
    --border-color-progressive: #92278f;
    --outline-color-progressive--focus: #92278f;
    --font-family-system-sans: "Times New Roman", Times, serif;
    color: #92278f;
    background: #ffffff !important;
    font-family: "Times New Roman", Times, serif !important;
    color-scheme: light;
}
body:is(.tilcayo,.signed-in,.signed-out) :is(button,input,textarea,select,summary,h1,h2,h3,h4,h5,h6,.oo-ui-widget,.cdx-text-input,.cdx-button) {
    font-family: "Times New Roman", Times, serif;
}
body:is(.tilcayo,.signed-in,.signed-out) :is(h1,h2,h3,h4,h5,h6) { color:#92278f; font-weight:400; letter-spacing:normal; }
body:is(.tilcayo,.signed-in,.signed-out) :is(button,input,textarea,select,summary,a,[tabindex]):focus-visible {
    outline:2px solid #92278f !important; outline-offset:3px; box-shadow:none !important;
}
body:is(.tilcayo,.signed-in,.signed-out) :is(.mw-page-container,.mw-body,.mw-body-content,.vector-header-container,.vector-header,.vector-main-menu,.vector-page-tools,.vector-toc,.vector-dropdown-content,.sidebar,.main-content,.app-shell,.site-header,.site-footer,.card) {
    background:#ffffff !important; color:#92278f; box-shadow:none !important;
}
body.tilcayo :is(.mw-body-header,.vector-page-toolbar,.vector-menu-heading,.vector-toc-heading,.vector-pinnable-header) { border-color:#92278f; }
body.tilcayo :is(#firstHeading,.mw-parser-output h2,.mw-parser-output h3) { color:#92278f; font-weight:400; border-color:#92278f; }
body.tilcayo #firstHeading { font-size:clamp(28px,2.5vw,38px); line-height:1.2; padding-bottom:10px; }
body.tilcayo .vector-pinnable-header-label { color:#92278f; font-size:16px; font-weight:400; }
body.tilcayo .vector-pinnable-header-toggle-button {
    background:transparent !important; color:#92278f !important; border:0 !important; border-radius:0;
    min-height:32px !important; padding:4px 8px !important; font-size:14px; text-decoration:underline; text-underline-offset:3px;
}
body.tilcayo .vector-menu-content-list { line-height:1.5; }
body.tilcayo .vector-menu-content-list .mw-list-item { margin-block:4px; }
body.tilcayo :is(.vector-icon,.mw-ui-icon)::before { background-color:#92278f; }
/* Studio has one consistent appearance; retain the useful page/history tools. */
body.tilcayo :is(.vector-appearance-landmark,#vector-appearance,#vector-appearance-dropdown,#vector-appearance-pinned-container,#vector-appearance-unpinned-container),
body.tilcayo #n-randompage,
body.tilcayo #n-help { display:none !important; }
body.wn-client-interface :is(#ca-watch,#ca-unwatch,#pt-watchlist,#catlinks,.mw-editsection) { display:none !important; }
body.tilcayo .vector-column-end:not(:has(.vector-page-tools)) { display:none !important; }
body.tilcayo :is(.mw-footer,.mw-footer li,.vector-menu-heading,#contentSub) { color:#92278f; }
/* Quiet, consistently sized controls, including previously unstyled HTML forms. */
body:is(.tilcayo,.signed-in,.signed-out) :is(button,input[type=submit],input[type=button],input[type=reset],.mw-ui-button,.oo-ui-buttonElement-button,.cdx-button) {
    box-sizing:border-box; min-height:44px; padding:9px 15px;
    border:1px solid #92278f; border-radius:4px; background:#ffffff; color:#92278f;
    font-size:16px; line-height:1.4; font-weight:400; box-shadow:none; text-shadow:none;
}
body:is(.tilcayo,.signed-in,.signed-out) :is(button[type=submit],input[type=submit],.csrc-btn,.wn-primary,.wn-btn-next,.oo-ui-flaggedElement-primary,.cdx-button--weight-primary) {
    background:#92278f; color:#ffffff; border-color:#92278f;
}
body:is(.tilcayo,.signed-in,.signed-out) :is(button,input[type=submit],.button,.mw-ui-button):hover:not(:disabled) { border-color:#92278f; box-shadow:none; text-decoration:underline; text-underline-offset:3px; }
body:is(.tilcayo,.signed-in,.signed-out) :is(button,input,select,textarea):disabled { cursor:not-allowed; opacity:.55; }
body:is(.tilcayo,.signed-in,.signed-out) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]),select,textarea,.oo-ui-inputWidget-input) {
    box-sizing:border-box; max-width:100%; min-height:44px; padding:9px 12px; border:1px solid #92278f; border-radius:4px;
    background:#ffffff; color:#92278f; font-size:16px; line-height:1.5; box-shadow:none;
}
body:is(.tilcayo,.signed-in,.signed-out) input[type=file] { max-width:100%; color:#92278f; font-size:16px; }
body:is(.tilcayo,.signed-in,.signed-out) input[type=file]::file-selector-button {
    border:1px solid #92278f; border-radius:4px; min-height:44px; padding:9px 15px; margin-right:12px;
    color:#92278f; background:#ffffff; font:inherit;
}
body:is(.tilcayo,.signed-in,.signed-out) :is(input[type=checkbox],input[type=radio],progress) { accent-color:#92278f; }
body:is(.tilcayo,.signed-in,.signed-out) :is(input,textarea)::placeholder { color:#92278f; opacity:.65; }
body:is(.tilcayo,.signed-in,.signed-out) :is(textarea,pre,code,kbd,samp) { box-shadow:none; }
body.tilcayo :is(.mw-searchInput,.cdx-text-input__input) { min-width:0; }
body.tilcayo .cdx-search-input__end-button { border-radius:0 4px 4px 0; }
/* Surfaces and tables share the same thin outline; no gradients or raised panels. */
body:is(.tilcayo,.signed-in,.signed-out) :is(.card,.cs-card,.cs-composer,.ce-note,.ce-hint,.ci-record,.ci-transfer-row,.csrc-drop,.csrc-queue-item,.csrc-item,.wn-panel,.wn-callout,.wn-work-card,.ss-form,.csup-table,.wikitable) {
    border-color:#92278f; border-radius:4px; background-image:none !important; box-shadow:none !important;
}
body:is(.tilcayo,.signed-in,.signed-out) :is(table,.wikitable) { color:#92278f; background:#ffffff; border-color:#92278f; }
body:is(.tilcayo,.signed-in,.signed-out) :is(th,td) { border-color:#92278f; }
body:is(.tilcayo,.signed-in,.signed-out) :is(th,.wikitable>*>tr>th) { color:#92278f; background:#ffffff; font-weight:700; }
body.signed-in :is(th,td) { padding:12px 14px; }
body.signed-in .nav-link { border-radius:4px; border:1px solid transparent; }
body.signed-in .nav-link.is-active { border-color:#92278f; background:#ffffff; }
body:is(.signed-in,.signed-out) :is(.card,.notice,.button,.pill,.field input,.field select,.field textarea) { border-radius:4px; }
body:is(.signed-in,.signed-out) .card { border:1px solid #92278f; }
body:is(.signed-in,.signed-out) .eyebrow { letter-spacing:.08em; }
/* Semantic status is retained in words and a restrained border, never low-contrast text. */
body:is(.tilcayo,.signed-in,.signed-out) :is(.successbox,.mw-message-box-success,.notice-success,.ss-ok,.csrc-ok,.ci-success) { border:1px solid #25b29a; background:#ffffff; color:#92278f; }
body:is(.tilcayo,.signed-in,.signed-out) :is(.warningbox,.mw-message-box-warning,.notice-warning,.csrc-warn,.ci-warning) { border:1px solid #ffc333; background:#ffffff; color:#92278f; }
body:is(.tilcayo,.signed-in,.signed-out) :is(.errorbox,.mw-message-box-error,.notice-error,.csrc-err,#ci-error) { border:1px solid #ed1c24; background:#ffffff; color:#92278f; }
body:is(.signed-in,.signed-out) :is(.pill,.tag,.badge) { background:#ffffff; color:#92278f; border:1px solid #92278f; }
body:is(.tilcayo,.signed-in,.signed-out) .button-danger { background:#ffffff; color:#92278f; border-color:#ed1c24; }
body.tilcayo :is(.cs-ins,.wn-edit-plan ins) { background:#ffffff; color:#92278f; text-decoration:underline; text-decoration-color:#25b29a; text-decoration-thickness:2px; }
body.tilcayo :is(.cs-del,.wn-edit-plan del) { background:#ffffff; color:#92278f; text-decoration:line-through; text-decoration-color:#ed1c24; }
body.tilcayo :is(.cs-card,.cs-composer,.csrc-queue-item,.ci-record) :is(p,small,time,label) { color:inherit; }
/* Compact, text-led support and onboarding controls. Existing Adobe artwork is preserved. */
body:is(.tilcayo,.signed-in,.signed-out) :is(#cs-fab,#csup-fab,.wn-help-button,.wn-ask-button) {
    min-height:44px; width:auto; height:auto; padding:9px 16px; border:1px solid #92278f; border-radius:4px;
    background:#ffffff; color:#92278f; box-shadow:none; font:400 16px/1.4 "Times New Roman",Times,serif;
}
body:is(.tilcayo,.signed-in,.signed-out) :is(.wn-help-button,.wn-ask-button) img { display:none; }
body:is(.tilcayo,.signed-in,.signed-out) :is(.wn-ring,.wn-pop,.wn-popover,.wn-callout,.wn-modal,.wn-dialog,.cs-modal,.csup-chat) { box-shadow:none; border-radius:4px; }
body.tilcayo :is(.csup-small,.cs-sub,.ci-record-meta,.csrc-private-notice) { color:#92278f; }
body.tilcayo .wn-ico { display:none; }
@media(max-width:720px) {
    body.tilcayo #firstHeading { font-size:28px; overflow-wrap:anywhere; }
    body:is(.tilcayo,.signed-in,.signed-out) :is(button,input,select,textarea) { max-width:100%; }
    body.signed-in :is(th,td) { padding:10px 12px; }
}
@media(prefers-reduced-motion:reduce) {
    body:is(.tilcayo,.signed-in,.signed-out) * { scroll-behavior:auto !important; }
}
@media(forced-colors:active) {
    body:is(.tilcayo,.signed-in,.signed-out) :is(button,input,select,textarea,a) { forced-color-adjust:auto; }
}
/* Citation and tour overlays remain light and readable, including their links. */
body.tilcayo .wn-citation-bubble,
body.tilcayo .wn-citation-bubble :is(p,span,div,strong,small) {
    background:#ffffff !important; color:#92278f !important; box-shadow:none !important;
    backdrop-filter:none; -webkit-backdrop-filter:none; border-color:#92278f; border-radius:4px;
}
body:is(.tilcayo,.signed-in,.signed-out) .wn-backdrop { background:rgba(255,255,255,.94); }

/* Final spacing and responsive corrections from live client/operator checks. */
body.tilcayo .vector-sticky-header-context-bar-primary { font-family:"Times New Roman",Times,serif; }
body.tilcayo .cdx-text-input--has-start-icon .cdx-text-input__input { padding-left:36px !important; }
body.tilcayo .wn-scratch-li { border:1px solid #92278f; border-radius:4px; }
body.tilcayo .wn-scratch-rename > summary { border:1px solid #92278f; border-radius:4px; padding:9px 15px; min-height:44px; box-sizing:border-box; }
body.tilcayo .wn-scratch-do-delete input[type=submit] { color:#92278f; background:#ffffff; border-color:#ed1c24; }
body.tilcayo .ci-drop { border-radius:4px; }
body.wn-client-interface :is(#pt-watchlist-2,#pt-watchlist-sticky-header) { display:none !important; }
body.tilcayo.mw-special-OperatorDashboard .wikitable { display:block; max-width:100%; width:max-content; overflow-x:auto; }
body.signed-in button.button-text { background:transparent; color:#92278f; border:0; padding:9px 0; text-decoration:underline; text-underline-offset:3px; }

body.tilcayo .cs-avatar { background:#ffffff; color:#92278f; border:1px solid #92278f; border-radius:4px; }
