/* Laravel Nova 5's standard admin look (gray page, white cards), drawn by hand so the PRD-123 concepts read like
   the real Nova at /admin. Nova is not the Cashbook kit: never use .cb-* here. The primary is sky-700, not Nova's
   default sky-500, because white on sky-500 is 2.8:1; set it in config/nova.php 'brand.colors'. */
.nv { --nv-primary: rgb(3 105 161); --nv-primary-600: rgb(7 89 133); --nv-bg: rgb(243 244 246); --nv-card: #fff;
  --nv-fg: rgb(31 41 55); --nv-muted: rgb(107 114 128); --nv-line: rgb(229 231 235); --nv-line-2: rgb(209 213 219);
  --nv-red: rgb(220 38 38); --nv-green: rgb(21 128 61); --nv-amber: rgb(245 158 11);
  min-height: 100vh; background: var(--nv-bg); color: var(--nv-fg);
  font-family: 'Nunito Sans', 'Nunito', ui-sans-serif, system-ui, sans-serif; font-size: 14px; line-height: 1.5; }
.nv * { box-sizing: border-box; }
.nv-header { height: 3.5rem; background: var(--nv-card); border-bottom: 1px solid var(--nv-line); display: flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem; }
.nv-logo { display: flex; align-items: center; gap: .5rem; width: 12rem; font-weight: 700; font-size: 1rem; color: var(--nv-fg); }
.nv-logo svg { height: 1.75rem; width: 1.75rem; }
.nv-search { height: 2.25rem; width: 22rem; border-radius: 9999px; border: 1px solid var(--nv-line); background: var(--nv-bg); padding: 0 1rem; color: var(--nv-muted); display: flex; align-items: center; font-size: .8125rem; }
.nv-user { margin-left: auto; display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--nv-fg); }
.nv-avatar { height: 2rem; width: 2rem; border-radius: 9999px; background: rgb(224 242 254); color: var(--nv-primary-600); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8125rem; }
.nv-shell { display: flex; align-items: flex-start; }
.nv-side { width: 13.5rem; flex-shrink: 0; padding: 1.5rem .75rem; }
.nv-side-h { display: flex; align-items: center; gap: .625rem; padding: .375rem .5rem; font-weight: 700; color: var(--nv-muted); font-size: .875rem; border-radius: .375rem; }
.nv-side-h svg { height: 1.25rem; width: 1.25rem; }
.nv-side-h[data-active='true'] { color: var(--nv-primary); }
.nv-side-a { display: block; padding: .25rem .5rem .25rem 2.375rem; color: var(--nv-muted); font-size: .875rem; }
.nv-side-a[data-active='true'] { color: var(--nv-primary); font-weight: 700; }
.nv-main { flex: 1; min-width: 0; padding: 1.5rem 1.5rem 4rem; }
.nv-h1 { margin: 0 0 1.5rem; font-size: 1.5rem; font-weight: 400; color: var(--nv-fg); }
.nv-h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.nv-card { background: var(--nv-card); border-radius: .5rem; box-shadow: 0 1px 3px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .06); }
.nv-pad { padding: 1.5rem; }
.nv-muted { color: var(--nv-muted); }
.nv-small { font-size: .8125rem; }
.nv-row { display: flex; align-items: center; gap: .75rem; }
.nv-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .375rem; height: 2.25rem; padding: 0 .875rem; border-radius: .25rem; border: 0; font: inherit; font-weight: 700; font-size: .875rem; cursor: pointer; background: var(--nv-primary); color: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .08); white-space: nowrap; }
.nv-btn:hover { background: var(--nv-primary-600); }
.nv-btn:disabled { opacity: .5; cursor: not-allowed; }
.nv-btn-sm { height: 1.875rem; padding: 0 .625rem; font-size: .8125rem; }
.nv-btn-outline { background: var(--nv-card); color: var(--nv-fg); border: 1px solid var(--nv-line-2); box-shadow: none; }
.nv-btn-outline:hover { background: var(--nv-bg); }
.nv-btn-danger { background: var(--nv-red); }
.nv-btn-danger:hover { background: rgb(185 28 28); }
.nv-btn-block { width: 100%; }
.nv-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--nv-primary); cursor: pointer; text-decoration: none; }
.nv-link:hover { color: var(--nv-primary-600); }
.nv-link-danger { color: var(--nv-red); }
.nv-label { display: block; margin-bottom: .375rem; font-weight: 700; font-size: .875rem; }
.nv-input { display: block; width: 100%; height: 2.25rem; border: 1px solid var(--nv-line-2); border-radius: .25rem; padding: 0 .75rem; font: inherit; background: #fff; color: var(--nv-fg); }
.nv-input:focus { outline: 2px solid rgb(56 189 248); outline-offset: 0; border-color: var(--nv-primary); }
.nv-input[aria-invalid='true'] { border-color: var(--nv-red); }
.nv-error { margin-top: .375rem; color: var(--nv-red); font-size: .8125rem; }
.nv-help { margin-top: .375rem; color: var(--nv-muted); font-size: .8125rem; }
.nv-select { appearance: auto; height: 2.25rem; border: 1px solid var(--nv-line-2); border-radius: .25rem; padding: 0 .5rem; background: #fff; font: inherit; color: var(--nv-fg); }
.nv-table { width: 100%; border-collapse: collapse; }
.nv-table th { background: rgb(249 250 251); text-align: left; text-transform: uppercase; letter-spacing: .05em; font-size: .6875rem; font-weight: 700; color: var(--nv-muted); padding: .625rem 1rem; border-bottom: 1px solid var(--nv-line); white-space: nowrap; }
.nv-table td { padding: .75rem 1rem; border-top: 1px solid rgb(243 244 246); vertical-align: middle; }
.nv-table tr.nv-click { cursor: pointer; }
.nv-table tr.nv-click:hover td { background: rgb(249 250 251); }
.nv-num { text-align: right; font-variant-numeric: tabular-nums; }
.nv-table th.nv-num { text-align: right; }
.nv-readonly { padding: .5rem .75rem; background: rgb(243 244 246); border-radius: .25rem; font-weight: 600; overflow-wrap: anywhere; }
.nv-pill { display: inline-flex; align-items: center; gap: .25rem; border-radius: 9999px; padding: .125rem .5rem; font-size: .75rem; font-weight: 700; background: rgb(243 244 246); color: rgb(75 85 99); white-space: nowrap; }
.nv-pill-on { background: rgb(220 252 231); color: rgb(21 128 61); }
.nv-pill-some { background: rgb(224 242 254); color: rgb(3 105 161); }
.nv-pill-warn { background: rgb(254 243 199); color: rgb(146 64 14); }
.nv-pill-red { background: rgb(254 226 226); color: rgb(185 28 28); }
.nv-seg { display: inline-flex; border: 1px solid var(--nv-line-2); border-radius: .375rem; overflow: hidden; background: #fff; }
.nv-seg button { border: 0; border-left: 1px solid var(--nv-line-2); background: none; padding: .5rem .875rem; font: inherit; font-weight: 700; color: var(--nv-muted); cursor: pointer; }
.nv-seg button:first-child { border-left: 0; }
.nv-seg button[aria-pressed='true'] { background: var(--nv-primary); color: #fff; }
.nv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.nv-stat dt { text-transform: uppercase; letter-spacing: .05em; font-size: .6875rem; font-weight: 700; color: var(--nv-muted); }
.nv-stat dd { margin: .25rem 0 0; font-size: 1.5rem; font-weight: 700; }
.nv-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--nv-line); border-radius: .375rem; }
.nv-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .625rem .875rem; border-top: 1px solid var(--nv-line); }
.nv-list li:first-child { border-top: 0; }
.nv-note { border-radius: .375rem; padding: .75rem 1rem; font-size: .875rem; background: rgb(240 249 255); color: rgb(7 89 133); border: 1px solid rgb(186 230 253); }
.nv-note-warn { background: rgb(255 251 235); color: rgb(146 64 14); border-color: rgb(253 230 138); }
.nv-note-red { background: rgb(254 242 242); color: rgb(153 27 27); border-color: rgb(254 202 202); }
.nv-toast { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60; display: flex; align-items: center; gap: .5rem; background: var(--nv-green); color: #fff; font-weight: 700; padding: .75rem 1rem; border-radius: .375rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .15); }
.nv-toast-red { background: var(--nv-red); }
.nv-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-start; justify-content: center; padding-top: 8rem; background: rgb(107 114 128 / .6); }
.nv-modal-box { width: min(32rem, calc(100% - 2rem)); background: #fff; border-radius: .5rem; box-shadow: 0 20px 25px -5px rgb(0 0 0 / .2); overflow: hidden; }
.nv-modal-body { padding: 1.5rem 2rem; }
.nv-modal-title { margin: 0 0 .75rem; font-size: 1.25rem; font-weight: 400; }
.nv-modal-foot { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; padding: .875rem 1.5rem; background: rgb(243 244 246); }
.nv-auth { min-height: calc(100vh - 2rem); display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem; }
.nv-auth-logo { display: flex; align-items: center; gap: .5rem; margin-bottom: 2rem; font-weight: 700; font-size: 1.25rem; }
.nv-auth-logo svg { height: 2.25rem; width: 2.25rem; }
.nv-auth-card { width: 100%; max-width: 25rem; background: #fff; border-radius: .5rem; box-shadow: 0 1px 3px rgb(0 0 0 / .1); padding: 2rem; }
.nv-auth-title { margin: 0 0 1.5rem; text-align: center; font-size: 1.5rem; font-weight: 400; }
.nv-field { margin-bottom: 1.25rem; }
.nv-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; background: rgb(243 244 246); border-radius: .25rem; padding: .125rem .375rem; }
/* Storyboard frames for flows that are many small screens (sign-in, account options). */
.nv-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 1.5rem; padding: 1.5rem; }
.nv-frame { border: 1px solid var(--nv-line-2); border-radius: .5rem; overflow: hidden; background: var(--nv-bg); display: flex; flex-direction: column; }
.nv-frame-cap { background: #fff; border-bottom: 1px solid var(--nv-line); padding: .625rem .875rem; font-size: .8125rem; }
.nv-frame-cap b { display: block; font-size: .875rem; }
.nv-frame-url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; color: var(--nv-muted); }
.nv-frame-body { padding: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; flex: 1; }
.nv-frame .nv-auth-card { padding: 1.5rem; }
.nv-frame .nv-auth-title { font-size: 1.25rem; margin-bottom: 1rem; }
.nv-qr { height: 9rem; width: 9rem; background:
  repeating-linear-gradient(90deg, #111 0 6px, #fff 6px 12px), repeating-linear-gradient(0deg, #111 0 6px, #fff 6px 12px);
  background-blend-mode: difference; border: 6px solid #fff; outline: 1px solid var(--nv-line); }
.nv-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .25rem .75rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; background: rgb(243 244 246); border-radius: .25rem; padding: .75rem; }
.nv-term { width: 100%; background: rgb(17 24 39); color: rgb(209 213 219); border-radius: .5rem; padding: 1rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.nv-term b { color: rgb(134 239 172); font-weight: 400; }
.nv-cf { width: 100%; max-width: 25rem; background: #fff; border-radius: .5rem; border: 1px solid var(--nv-line); padding: 1.5rem; text-align: center; }
html.cb-concept .nv-modal { top: 2rem; }
