/* OmniView portal pages (sign-in, password, sample gallery). Light canvas #A6B3C3, navy bar. */
:root {
  --canvas: #A6B3C3; --navy: #091529; --card: #FFFFFF; --line: #C9D3DF; --text: #0B1A30; --muted: #2E3D52; --dim: #33435A;
  --blue-deep: #1450B8; --blue: #1E8FE1; --cyan: #33C3F0; --danger: #A3201B; --danger-bg: #FCE9E8; --focus: #1450B8; --radius: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--canvas); color: var(--text); min-height: 100vh; display: flex; flex-direction: column;
  font: 15px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--blue-deep); }
.bar { background: #0F2F63; color: #EEF3FA; box-shadow: 0 2px 10px rgba(9,21,41,.25); }
.bar-in { max-width: none; margin: 0; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 18px; }
.bar .brand img { width: 150px; height: auto; display: block; }
.bar .grow { flex: 1; }
.bar a.lnk { color: #DCE6F3; text-decoration: none; font-size: 14px; font-weight: 600; }
.bar a.lnk:hover { color: #fff; }
.bar .who { text-align: right; font-size: 12px; color: #A9BBD3; line-height: 1.3; }
.bar .who b { display: block; color: #fff; font-size: 14px; }
.bar a:focus-visible, .bar button:focus-visible { outline-color: #33C3F0; }
.bar form { margin: 0; }
.wrap { width: 100%; max-width: 440px; margin: 0 auto; padding: 40px 16px; flex: 1; }
.wrap.wide { max-width: 1180px; padding: 36px 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(11,26,48,.12); }
h1 { font-size: 22px; margin: 0 0 6px; font-weight: 700; }
.sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; font-weight: 600; }
.field { position: relative; }
input[type=email], input[type=password], input[type=text] { width: 100%; height: 44px; padding: 0 12px; border-radius: 8px;
  border: 1px solid #9AA9BC; background: #fff; color: var(--text); font: inherit; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field input { padding-right: 64px; }
.toggle { position: absolute; right: 6px; top: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.toggle:hover { background: #EEF2F7; color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px;
  border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: #fff; color: var(--text); border-color: #9AA9BC; }
.btn.ghost:hover { background: #EEF2F7; }
.bar .btn.ghost { height: 36px; padding: 0 14px; font-size: 13px; background: transparent; color: #fff; border-color: #4B6CA3; }
.bar .btn.ghost:hover { background: #12397A; }
.btn[disabled] { opacity: .7; cursor: progress; }
.full { width: 100%; margin-top: 22px; }
.alert { background: var(--danger-bg); border: 1px solid #F2B8B5; color: var(--danger); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 6px; }
.hint { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* sign-in: one light panel, fits a 1280x720 screen without scrolling */
.auth { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-panel { width: 100%; max-width: 860px; display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(11,26,48,.16); }
.auth-side { padding: 36px 34px; background: linear-gradient(160deg, #EEF3F9 0%, #DDE5EE 100%); border-right: 1px solid var(--line); }
.auth-side h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.5px; margin: 0 0 12px; color: #091529; }
.auth-side .lead { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 14px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #1450B8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.auth-form { padding: 34px; }
.auth-form h2 { margin: 0 0 4px; font-size: 22px; color: #091529; }
.auth-form .sub { margin-bottom: 14px; }
.auth-form label { margin-top: 12px; }
.auth-form input::placeholder { color: #7F8EA3; }
.help { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.help a { font-weight: 600; }
@media (max-width: 760px) {
  .auth { align-items: flex-start; padding: 20px 14px 28px; }
  .auth-panel { grid-template-columns: 1fr; max-width: 440px; }
  .auth-side { order: 2; border-right: 0; border-top: 1px solid var(--line); padding: 18px 22px; }
  .auth-side .eyebrow, .auth-side h1, .auth-side .ticks { display: none; }
  .auth-side .lead { margin: 0; font-size: 14px; }
  .auth-form { padding: 24px 22px; }
}

.foot { text-align: center; color: #2E3D52; font-size: 12px; padding: 14px 16px 18px; }

/* sample gallery */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.head h1 { font-size: 30px; letter-spacing: -.4px; }
.head p { margin: 0; color: var(--muted); max-width: 46em; }
.eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #0E3A8A; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; }
.meta span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--muted); }
.meta strong { color: var(--text); text-transform: capitalize; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.sample { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: 0 8px 24px rgba(11,26,48,.10); transition: transform .15s, box-shadow .15s; }
.sample:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11,26,48,.18); }
.sample:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.thumb { aspect-ratio: 16 / 10; background: #E4ECF7; border-bottom: 1px solid var(--line); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-deep); background: #E4ECF7; border-radius: 999px; padding: 3px 10px; }
.chip.ind { color: var(--muted); background: #EEF2F7; }
.sample h2 { margin: 4px 0 0; font-size: 19px; }
.sample p { margin: 0; color: var(--muted); font-size: 14px; }
.sample .si { font-size: 12.5px; color: var(--dim); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: auto; }
.sample .go { font-weight: 700; color: var(--blue-deep); font-size: 14px; }
.note { margin-top: 26px; color: #2E3D52; font-size: 13px; }
@media (max-width: 560px) {
  .bar .who, .bar a.lnk.hide-sm { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .head h1 { font-size: 24px; }
}
