/* =====================================================================
   25-09-2026 (owner): COLOUR THEME — the default look again.
   "Multicoloured with a white base, round-cornered boxes."
   Settings › ui.theme = colour (default) | office (Item 19, the flat
   Word-blue look). With colour, office-theme.css is not loaded and this
   file comes last. Every module keeps its own colour (--mod, set per
   page by ui_head), the page background is white, and cards, buttons,
   inputs, tabs and chips have round corners. Screen only: printed
   documents are untouched.
   ===================================================================== */
@media screen{
:root{
  --bg:#ffffff; --panel:#ffffff;
  --rad:14px; --rad2:10px;
  /* newer screens use the Office accent names: they follow the module colour now */
  --accent:var(--mod,#185ABD);
  --accent-hover:color-mix(in srgb,var(--mod,#185ABD) 84%,#000);
  --accent-pressed:color-mix(in srgb,var(--mod,#185ABD) 72%,#000);
  --accent-tint:color-mix(in srgb,var(--mod,#185ABD) 10%,#fff);
  --accent-ring:color-mix(in srgb,var(--mod,#185ABD) 35%,transparent);
  color-scheme:light;
}
html,body{background:#ffffff}
.bgfx{display:none!important}

/* round corners everywhere on screen */
.card,.mbox,.choicecard,.tile,.kpi,.repcol,.dlist,.firelist,.infostrip,.modgroup,.umpanel,.omenu,.loginbox,
.cbox,.gcard,.ctrow,.plgrp,.cbaskbox,.dsec.orecent .orecgrid,.rvsvg,.rvc-ctl,.cfgcard{border-radius:var(--rad)}
.btn,.btn2,.ghost,.danger-btn,.mini,.tbtn,.tab,.ct,.radios .ro,.rvbtn,.octxb,.oqb,
html.rib .btn,html.rib .btn2,html.rib .ghost,html.rib .mini,html.rib .danger-btn{border-radius:var(--rad2)}
.f input,.f select,.f textarea,.numin,.bigscan,.gsearch,.rsearch,.ostcol,
input[type=text],input[type=number],input[type=search],input[type=date],input[type=email],input[type=tel],
input[type=password],input[type=time],input[type=month],input[type=url],input:not([type]),select,textarea{border-radius:8px}
.tbl input,.tbl select{border-radius:6px}
.pill,.chip{border-radius:999px}
.ki{border-radius:10px}
.ritem{border-radius:8px}
.stickybar{border-radius:0 0 var(--rad) var(--rad)}

/* a white page needs the boxes to show their edge */
.card{border:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.04)}
.tbl th{background:#f8fafc}
.tbl.zebra tbody tr:nth-child(even){background:#fafbfc}

/* newer controls drawn for the blue bar: coloured on the white bar */
.rtabs .osearch.osr-ph,.rtabs .osearch.osr-ph .ic{color:var(--mod)!important;stroke:currentColor}
.rtabs .osearch.osr-ph{background:color-mix(in srgb,var(--mod) 10%,#fff)!important;border-color:color-mix(in srgb,var(--mod) 35%,#fff)!important}
.rright .rtbtn,.rright .rtsearch,.rright .rtsearch label{color:var(--ink2)}
.rright .rtbtn:hover,.rright .rtsearch label:hover{color:var(--mod)}
}
