/* soundpacs.css - the look of every SOUND PACS page (same colors as the approved mock-up).
   One text size (--fs) drives everything. */
:root { --fs: 14px; --navy: #1f3b57; --teal: #2d6e8e; --line: #c4ced6; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font: var(--fs)/1.35 "Segoe UI", Arial, sans-serif; color: #1c1c1c; background: #f4f6f8; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: #0b5a8a; }
.hint { color: #666; }

/* ---------- top line: name + version left, account buttons right ---------- */
.topline { display: flex; align-items: center; gap: 10px; height: 2.3em; padding: 0 8px; background: var(--navy); color: #fff; white-space: nowrap; }
.topline .brand { font-weight: 700; letter-spacing: .5px; }
.topline .ver { color: #b9cde0; }
.topline .spacer { flex: 1; }
.topline .user { color: #dfe9f3; }
.topline .role { background: #2f5579; border: 1px solid #44729c; padding: 0 6px; border-radius: 2px; }
.topline .btn, .topline form button { background: #2f5579; border: 1px solid #44729c; color: #fff; padding: 2px 9px; border-radius: 2px; text-decoration: none; }
.topline form { margin: 0; }

/* ---------- main menu (left to right in the order of the work) ---------- */
.menubar { display: flex; height: 2.2em; background: var(--teal); }
.menu { position: relative; }
.menu > .mtitle { display: block; height: 2.2em; line-height: 2.2em; padding: 0 12px; color: #fff; font-weight: 600; border-right: 1px solid #3f84a6; cursor: default; }
.menu:hover > .mtitle, .menu:focus-within > .mtitle { background: #3f8fb4; }
.menu .drop { display: none; position: absolute; top: 2.2em; left: 0; min-width: 250px; background: #fff; border: 1px solid #9fb6c6; box-shadow: 0 3px 8px rgba(0,0,0,.2); z-index: 50; }
.menu:hover .drop, .menu:focus-within .drop { display: block; }
.drop a { display: block; padding: 4px 12px; color: #1c1c1c; text-decoration: none; }
.drop a:hover { background: #e3f0f7; }
.drop .mhint { color: #888; font-size: .85em; margin-left: 6px; }
.drop .mgroup { padding: 6px 12px 2px; font-size: .78em; font-weight: 700; color: #6a7a88; text-transform: uppercase; letter-spacing: .04em; border-top: 1px solid #e3e8ec; }
.drop .mgroup:first-child { border-top: 0; }

/* ---------- page body ---------- */
.main { padding: 14px 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; margin-bottom: 14px; max-width: 980px; }
.panel h1, .panel h2 { margin: 0 0 8px; color: var(--navy); }
.panel h1 { font-size: 1.45em; }
.panel h2 { font-size: 1.15em; }
.status { display: inline-block; padding: 1px 8px; border-radius: 10px; font-weight: 700; font-size: .85em; }
.status.built { background: #dff5df; color: #1b5e20; }
.status.mock { background: #fff3c4; color: #6b5200; }
.status.notyet { background: #eceff1; color: #555; }
table.plain { border-collapse: collapse; width: 100%; }
table.plain th, table.plain td { text-align: left; padding: 5px 8px; border-bottom: 1px solid #e3e8ec; vertical-align: top; }
table.plain th { background: #e9eef2; }

/* ---------- sign-in / one-box pages ---------- */
.onebox { max-width: 420px; margin: 60px auto; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px 28px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.onebox h1 { margin: 0 0 4px; color: var(--navy); font-size: 1.5em; }
.onebox .sub { color: #667; margin-bottom: 18px; }
.onebox label { display: block; font-weight: 600; margin: 10px 0 3px; }
.onebox input { width: 100%; padding: 7px 9px; border: 1px solid #b6c2cb; border-radius: 3px; }
.onebox button { width: 100%; margin-top: 18px; padding: 9px; background: var(--navy); color: #fff; border: 0; border-radius: 4px; font-weight: 700; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 40px; }
.onebox .pw-eye, .pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 28px; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: #5a6b78; }
.onebox .pw-eye:hover, .pw-eye:hover { color: var(--navy); background: #eef3f7; }
.error { background: #fdecea; border: 1px solid #e6a5a0; color: #8c1c1c; padding: 7px 10px; border-radius: 3px; margin-bottom: 8px; }
.notice { background: #e8f4fb; border: 1px solid #9cc7e2; padding: 7px 10px; border-radius: 3px; margin-bottom: 8px; }
