/* The UI kit of the owner (his sheet, 2026-10-14; docs/design/ui-kit-components.webp, docs/design/ui-kit.md): ONE look for every control of the panel. Loaded LAST.
   It sets only the look (colour, border, shadow, radius, focus ring) - never a size or a place - so no page moves. Everything new is built from these elements, with these tokens.
     primary   = the blue gradient button        secondary = the dark glass button (the default <button>)      ghost = .ghost (no box until hover)       destructive = .danger / .del (red)
     field     = input, select, textarea (blue ring on focus)       segmented = .tabs       menu = .lab-menu (one column, groups, a line between them, the last item red) */
:root {
  --uk-blue: #1f7bff; --uk-blue-2: #0b5ad9; --uk-blue-glow: rgba(31, 123, 255, .35); --uk-ring: rgba(59, 130, 246, .30);
  --uk-red: #ff6577; --uk-red-bg: rgba(214, 48, 70, .18); --uk-red-line: rgba(255, 101, 119, .55);
  --uk-surface: #151a2b; --uk-surface-2: #1c2236; --uk-field: #0f1424; --uk-line: rgba(255, 255, 255, .10); --uk-line-2: rgba(255, 255, 255, .16); --uk-text: #e8ebf7; --uk-mut: #98a2bd;
}
/* secondary (the default button): dark glass, a light edge, a soft lift on hover, pressed in */
html body button:not(.pri):not(.primary):not(.danger):not(.del):not(.ghost):not(.cta):not(.lab-mi):not(.lab-kb):not(.dns-chip):not(.dns-x):not(.row-x):not([class*="tab"]):not([role="tab"]) {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--uk-line); color: var(--uk-text); transition: background-color .15s, border-color .15s, box-shadow .15s, transform .05s;
}
html body button:not(.pri):not(.primary):not(.danger):not(.del):not(.ghost):not(.cta):not(.lab-mi):not(.lab-kb):not(.dns-chip):not(.dns-x):not(.row-x):not([class*="tab"]):not([role="tab"]):not(:disabled):hover { border-color: var(--uk-line-2); background-color: rgba(255, 255, 255, .06); }
html body button:not(.lab-mi):not(:disabled):active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35); }
html body button:disabled, html body button[aria-disabled="true"] { opacity: .45; cursor: default; }
/* primary: the blue gradient with a glow */
html body button.pri, html body button.primary, html body .cta { background-image: linear-gradient(180deg, #2f8bff, var(--uk-blue-2)) !important; border: 1px solid rgba(120, 180, 255, .55) !important; color: #fff !important; box-shadow: 0 4px 14px var(--uk-blue-glow) !important; }
html body button.pri:not(:disabled):hover, html body button.primary:not(:disabled):hover, html body .cta:hover { filter: brightness(1.08); }
html body button.pri:disabled { opacity: .45; box-shadow: none !important; }
/* destructive: red on a red tint */
html body button.danger, html body button.del { background-image: none !important; background-color: var(--uk-red-bg) !important; border: 1px solid var(--uk-red-line) !important; color: var(--uk-red) !important; }
html body button.danger:not(:disabled):hover, html body button.del:not(:disabled):hover { background-color: rgba(214, 48, 70, .30) !important; }
/* ghost: no box until hover */
html body button.ghost { background: none; border: 1px solid transparent; color: var(--uk-text); } html body button.ghost:hover { border-color: var(--uk-line); background: rgba(255, 255, 255, .05); }
/* fields: a dark well, a blue ring on focus */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), html body select, html body textarea { background-color: var(--uk-field); border: 1px solid var(--uk-line); color: var(--uk-text); transition: border-color .15s, box-shadow .15s; }
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus, html body select:focus, html body textarea:focus { outline: none; border-color: var(--uk-blue); box-shadow: 0 0 0 3px var(--uk-ring); }
html body input:disabled, html body select:disabled, html body textarea:disabled { opacity: .5; }
html body ::placeholder { color: var(--uk-mut); opacity: .8; }
/* segmented control: a dark track, the open one lifted */
html body .tabs { background-color: var(--uk-surface); border: 1px solid var(--uk-line); } html body .tabs button.on, html body .tabs button[aria-selected="true"] { background-color: #2a3a5e; color: #fff; box-shadow: inset 0 0 0 1px rgba(120, 170, 255, .35); }
/* the menu that opens from a "⋯": one column, groups, a line between them, the last item (delete) red - the owner's picture */
html body .lab-menu { background: #23252d; border: 1px solid rgba(255, 255, 255, .10); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
html body .lab-menu .lab-mi { color: #fff; border-radius: 10px; } html body .lab-menu .lab-mi:hover, html body .lab-menu .lab-mi:focus-visible { background: rgba(255, 255, 255, .07); }
html body .lab-menu .lab-mi.danger { background: #42272d; color: #ffa0ad; } html body .lab-menu .lab-mi.danger:hover { background: #55303a; }
html body .lab-menu .lab-mg + .lab-mg { border-top: 1px solid rgba(255, 255, 255, .10); margin-top: 4px; padding-top: 4px; } html body .lab-menu .lab-mgrp { color: var(--uk-mut); letter-spacing: .4px; }
/* a field the browser filled in (a saved or a suggested password) keeps the kit's dark well and light text - the browser's own yellow made the text and the eye unreadable (the owner) */
html body input:-webkit-autofill, html body input:-webkit-autofill:hover, html body input:-webkit-autofill:focus, html body input:-webkit-autofill:active, html body select:-webkit-autofill, html body textarea:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #0f1424 inset !important; box-shadow: 0 0 0 1000px #0f1424 inset !important; -webkit-text-fill-color: #e8ebf7 !important; caret-color: #e8ebf7; transition: background-color 9999s ease-out 0s !important; }
html[data-mode="light"] body input:-webkit-autofill, html[data-mode="light"] body input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #14213d !important; }
html body .eye { color: var(--uk-mut); } html body .eye:hover { color: var(--uk-text); }
/* in a window the focus ring of the fields (a box-shadow too) took the dark well away and the browser's yellow showed; here the dark well and the ring are one shadow (the owner: "when the box turns white the text must be black" - it does not turn white any more, in the light theme it is white with dark text) */
html body #modal input:-webkit-autofill, html body #modal input:-webkit-autofill:hover, html body #modal input:-webkit-autofill:active { -webkit-box-shadow: 0 0 0 1000px #0f1424 inset !important; box-shadow: 0 0 0 1000px #0f1424 inset !important; -webkit-text-fill-color: #e8ebf7 !important; transition: background-color 9999s ease-out 0s !important; }
html body #modal input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #0f1424 inset, 0 0 0 3px rgba(59, 130, 246, .30) !important; box-shadow: 0 0 0 1000px #0f1424 inset, 0 0 0 3px rgba(59, 130, 246, .30) !important; -webkit-text-fill-color: #e8ebf7 !important; transition: background-color 9999s ease-out 0s !important; }
html[data-mode="light"] body #modal input:-webkit-autofill, html[data-mode="light"] body #modal input:-webkit-autofill:hover, html[data-mode="light"] body #modal input:-webkit-autofill:active { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #14213d !important; }
html[data-mode="light"] body #modal input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(59, 130, 246, .30) !important; box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(59, 130, 246, .30) !important; -webkit-text-fill-color: #14213d !important; }
/* THE LIGHT THEME OF THE KIT (the owner, 2026-10-16: "check every element and font in the light theme; change them so they are clear"): the kit was dark only - its tokens, its buttons (light text on a light page: contrast 1.1), its segmented control and its menu had no light look. The tokens first (everything built from them follows), then the pieces that carry their own colours. */
html[data-mode="light"] { --uk-surface: #eef2fa; --uk-surface-2: #e6ecf8; --uk-field: #ffffff; --uk-line: rgba(30, 50, 100, .16); --uk-line-2: rgba(30, 50, 100, .28); --uk-text: #1b2540; --uk-mut: #55618a; --uk-blue: #1456c8; --uk-blue-2: #0b46ab; --uk-blue-glow: rgba(20, 86, 200, .25); --uk-ring: rgba(20, 86, 200, .28); --uk-red: #b4232f; --uk-red-bg: #fdecee; --uk-red-line: rgba(200, 40, 60, .45); }
html[data-mode="light"] body button:not(.pri):not(.primary):not(.danger):not(.del):not(.ghost):not(.cta):not(.lab-mi):not(.lab-kb):not(.dns-chip):not(.dns-x):not(.row-x):not([class*="tab"]):not([role="tab"]) { background-image: linear-gradient(180deg, #ffffff, #f0f3fa); border: 1px solid rgba(30, 50, 100, .2); color: #1b2540; box-shadow: 0 1px 2px rgba(30, 50, 100, .08); }
html[data-mode="light"] body button:not(.pri):not(.primary):not(.danger):not(.del):not(.ghost):not(.cta):not(.lab-mi):not(.lab-kb):not(.dns-chip):not(.dns-x):not(.row-x):not([class*="tab"]):not([role="tab"]):not(:disabled):hover { border-color: rgba(20, 86, 200, .5); background-image: linear-gradient(180deg, #ffffff, #e6edfb); }
html[data-mode="light"] body button:not(:disabled):active { box-shadow: inset 0 2px 5px rgba(30, 50, 100, .18); }
html[data-mode="light"] body button.ghost { color: #1b2540; } html[data-mode="light"] body button.ghost:hover { background: rgba(30, 50, 100, .06); border-color: rgba(30, 50, 100, .16); }
html[data-mode="light"] body button.danger, html[data-mode="light"] body button.del { background-color: #fdecee !important; border-color: rgba(200, 40, 60, .45) !important; color: #b4232f !important; } html[data-mode="light"] body button.danger:not(:disabled):hover, html[data-mode="light"] body button.del:not(:disabled):hover { background-color: #fbd9de !important; }
html[data-mode="light"] body button.pri, html[data-mode="light"] body button.primary, html[data-mode="light"] body .cta { color: #fff !important; box-shadow: 0 6px 16px rgba(20, 86, 200, .28) !important; }
html[data-mode="light"] body ::placeholder { color: #5a6788; opacity: 1; }
html[data-mode="light"] body input:disabled, html[data-mode="light"] body select:disabled, html[data-mode="light"] body textarea:disabled { opacity: .6; }
html[data-mode="light"] body .tabs button.on, html[data-mode="light"] body .tabs button[aria-selected="true"] { background-color: #e3edff; color: #1456c8; box-shadow: inset 0 0 0 1px rgba(20, 86, 200, .35); }
html[data-mode="light"] body .lab-menu { background: #fff; border-color: rgba(30, 50, 100, .16); box-shadow: 0 18px 40px rgba(30, 50, 100, .22); }
html[data-mode="light"] body .lab-menu .lab-mi { color: #1b2540; } html[data-mode="light"] body .lab-menu .lab-mi:hover, html[data-mode="light"] body .lab-menu .lab-mi:focus-visible { background: #eef2fa; }
html[data-mode="light"] body .lab-menu .lab-mi.danger { background: #fdecee; color: #b4232f; } html[data-mode="light"] body .lab-menu .lab-mi.danger:hover { background: #fbd9de; }
html[data-mode="light"] body .lab-menu .lab-mg + .lab-mg { border-top-color: rgba(30, 50, 100, .14); }
