/* rts-global.css: fallback skin. Link LAST on every page. Low specificity (no ids), so per-page restyles with ids/:not(#_) still win. */
:root{--rts-ink:#0c1228;--rts-mute:#5b6585;--rts-line:#e2ece6;--rts-green:#157A5B;--rts-mint:#EAF3EF;--rts-pink:#d9245d;--rts-rose:#F5F7FA}
html body{font-family:"Plus Jakarta Sans","Noto Sans Devanagari","Noto Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;color:var(--rts-ink)!important;background:linear-gradient(180deg,#EAF3EF,#F0F6F3 40%,#F5F7FA) fixed!important;-webkit-font-smoothing:antialiased}
html body h1,html body h2,html body h3,html body h4{color:var(--rts-ink)!important;font-weight:800!important;letter-spacing:-.2px}
html body h1{font-family:"Barlow Condensed","Plus Jakarta Sans",sans-serif!important}
html body p,html body li,html body small,html body label,html body td,html body th{color:inherit}
html body small,html body .muted,html body .hint,html body .notice,html body .sub{color:var(--rts-mute)!important}
html body a{color:var(--rts-green)}
html body a:hover{color:#0b7a43}
/* buttons */
html body button,html body .btn,html body a.btn,html body [role=button],html body input[type=button],html body input[type=submit]{font-family:inherit;font-weight:700;border-radius:12px!important;min-height:40px;border:1px solid var(--rts-line)!important;background:#F0F6F3!important;color:var(--rts-ink)!important;box-shadow:none!important;text-shadow:none!important;cursor:pointer}
html body button.primary,html body .btn.primary,html body .btn-primary,html body button[type=submit],html body input[type=submit],html body .btn:not(.secondary):not(.ghost):not(.quiet),html body button.on{background:linear-gradient(150deg,#2E9C7C,#157A5B)!important;color:#fff!important;border:0!important}
html body button.secondary,html body .btn.secondary,html body button.ghost,html body button.quiet,html body button.danger,html body button.cancel{background:var(--rts-rose)!important;color:var(--rts-pink)!important;border:1px solid #E4E7EC!important}
html body button:disabled,html body .btn[disabled]{opacity:.45!important;cursor:not-allowed}
html body button:focus-visible,html body a:focus-visible,html body input:focus-visible,html body select:focus-visible,html body textarea:focus-visible{outline:3px solid #CFE3DA!important;outline-offset:2px}
/* fields */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]):not([type=file]),html body select,html body textarea{font-family:inherit;font-size:14px;color:var(--rts-ink)!important;background:#F7F9FA!important;border:1px solid var(--rts-line)!important;border-radius:12px!important;min-height:42px;padding:8px 12px;box-shadow:none!important}
html body select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230f9d58' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:18px!important;padding-right:38px}
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--rts-green)!important;box-shadow:0 0 0 3px var(--rts-mint)!important;outline:0}
html body input[type=file]{background:#F0F6F3!important;border:1px solid var(--rts-line)!important;border-radius:12px!important;padding:8px 10px;font:inherit}
html body input[type=file]::file-selector-button{border:0;border-radius:10px;background:linear-gradient(150deg,#2E9C7C,#157A5B);color:#fff;font-weight:700;padding:8px 14px;margin-right:10px;cursor:pointer}
html body input[type=checkbox],html body input[type=radio],html body input[type=range],html body progress{accent-color:var(--rts-green)}
/* cards, panels, toolbars, nav */
html body .card,html body .panel,html body .box,html body .tile,html body .tool,html body .ws-tool,html body .x-card,html body aside,html body details,html body fieldset,html body .result,html body .output,html body .formStage{background:#fff!important;border:1px solid var(--rts-line)!important;border-radius:16px!important;box-shadow:0 12px 26px -18px rgba(12,18,40,.3)!important;color:var(--rts-ink)}
html body header,html body .toolbar,html body .topbar,html body .ref-topbar,html body nav{background-color:#ffffffd9;border-color:var(--rts-line)!important;color:var(--rts-ink)}
html body nav a,html body .tabs a,html body .tab,html body .chip,html body [class*=chip],html body .pill,html body [class*=pill]{border-radius:12px!important}
html body .tabs button,html body .seg button,html body [role=tab]{background:#F0F6F3!important;color:var(--rts-mute)!important;border:1px solid var(--rts-line)!important}
html body [role=tab][aria-selected=true],html body .tabs button.on,html body .tab.on,html body .seg button.on{background:var(--rts-mint)!important;color:var(--rts-green)!important;border-color:var(--rts-green)!important}
/* tables */
html body table{border-collapse:separate;border-spacing:0;width:100%;background:#fff;border:1px solid var(--rts-line);border-radius:14px;overflow:hidden}
html body th{background:#F0F6F3!important;color:var(--rts-ink)!important;font-weight:800;text-align:left;padding:10px 12px;border-bottom:1px solid var(--rts-line)}
html body td{padding:10px 12px;border-bottom:1px solid #EAF0EE}
html body tr:last-child td{border-bottom:0}
/* modals, dialogs, toasts */
html body dialog,html body .modal,html body .dialog,html body [role=dialog]{background:#fff!important;color:var(--rts-ink)!important;border:1px solid var(--rts-line)!important;border-radius:20px!important;box-shadow:0 30px 60px -24px rgba(12,18,40,.4)!important}
html body dialog::backdrop{background:rgba(12,18,40,.35)}
html body .toast,html body .status,html body [role=status]{background:var(--rts-mint)!important;color:var(--rts-ink)!important;border-radius:12px!important}
html body img[src*="logo.webp"],html body img[src*="logo-final"]{border-radius:0!important}
html body hr{border:0;border-top:1px solid var(--rts-line)}
html body code,html body pre{background:#F0F6F3;border-radius:8px;color:var(--rts-ink)}
html body ::selection{background:#CFE3DA}
@media(prefers-reduced-motion:reduce){html body *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
html body 
