/* MatteBlack Software theme (palette: .agent-notes/rediseno-mbs/DISENO.md). Dark only. */
:root, :root.dark {
  --blue: #0A6CFF; --dark-blue: #7CC4FF; --red: #FF4D5E; --dark-red: #FF4D5E;
  --icon-blue: #00C8FF; --icon-green: #2ED47A; --icon-yellow: #FFB020; --icon-orange: #FFB020; --icon-red: #FF4D5E;
  --input-red: #4a1e26; --input-green: #12432c;
  --item-selected: #DFE8F5; --action: #DFE8F5; --moon-grey: #152032;
  --background: #0D1420; --surfacePrimary: #111A28; --surfaceSecondary: #152032;
  --textPrimary: #8A9AB3; --textSecondary: #DFE8F5;
  --divider: #1A2433; --hover: #152032;
  --iconPrimary: #00C8FF; --iconSecondary: #DFE8F5; --iconTertiary: #5A6B82;
  --borderPrimary: #1A2433; --borderSecondary: #24405F;
  --dividerPrimary: rgba(13,20,32,.5); --dividerSecondary: rgba(13,20,32,.8);
  color-scheme: dark;
}
html, body, input, button, textarea, select { font-family: "Segoe UI Variable Text", "Segoe UI", Lato, Roboto, Arial, sans-serif; }
body { background: var(--background); color: var(--textSecondary); }
::selection { background: rgba(10,108,255,.35); }

header {
  background: #0F1724; border-bottom: 0; box-shadow: none;
  border-image: linear-gradient(90deg, #00C8FF, #0A6CFF 60%, #0040FF) 1; border-bottom: 2px solid;
}
header img { filter: drop-shadow(0 0 6px rgba(0,200,255,.35)); }

.button { background: linear-gradient(#1F8FFF, #0A5FD8); border: 1px solid #0A6CFF; border-radius: 6px; box-shadow: none; }
.button:hover { background: #1F8FFF; }
.button--flat { background: none; border: 0; color: #7CC4FF; border-radius: 6px; }
.button--flat:hover { background: #152032; }
.button--flat.button--red, .button--red { color: #FF4D5E; }
.button--red:not(.button--flat) { background: transparent; border: 1px solid #FF4D5E; }

.input, input[type=text], input[type=password], input[type=search], select, textarea {
  background: #152032; color: #DFE8F5; border: 1px solid #24405F; border-radius: 6px;
}
.input:focus, input:focus, select:focus, textarea:focus { border-color: #0A6CFF; outline: 2px solid rgba(10,108,255,.35); }

.card, .shell, .dashboard .card { background: #111A28; border: 1px solid #1A2433; border-radius: 8px; box-shadow: none; }
.card .card-title h2, .card-title h2 { text-transform: uppercase; letter-spacing: .06em; font-size: .85em; color: #8A9AB3; }

#listing .item { background: #111A28; border: 1px solid #1A2433; border-radius: 8px; box-shadow: none; }
#listing .item:hover { background: #152032; border-color: #24405F; }
#listing .item[aria-selected=true] { background: rgba(30,144,255,.12) !important; border-color: #0A6CFF; color: #DFE8F5 !important; }
#listing.list .item { border-radius: 0; border-width: 0 0 1px; }
#listing.list .header { background: #0F1724; color: #8A9AB3; }

nav .action:hover, .action:hover { background: #152032; }
nav .action.active, nav .action[aria-current] { color: #7CC4FF; }
.breadcrumbs a { color: #7CC4FF; }
a { color: #7CC4FF; }

#login { background: radial-gradient(ellipse at 50% 20%, #12243f 0%, #0D1420 60%); }
#login form { background: #111A28; border: 1px solid #1A2433; border-radius: 10px; padding: 1.6em 1.4em; max-width: 19em; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
#login img { width: 4.5em; height: 4.5em; filter: drop-shadow(0 0 10px rgba(0,200,255,.45)); }
#login h1 { font-size: 1.5em; font-weight: 600; color: #DFE8F5; }
#login .wrong { background: #FF4D5E; border-radius: 6px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #24405F; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7CC4FF; }

#listing .item .name { color: #DFE8F5; }
