/* Calm native product UI. Brand blue carries actions; peripheral UI recedes.
   Controls: 8px; grouped regions: 12px; document/QR: square.
   Layers: modal 20, transient status 40. White signatures/QR preserve legibility. */
:root {
  color-scheme: light dark;
  --bg: #f8f9fb;
  --surface: #fdfdfe;
  --subtle: #f1f3f6;
  --text: #242730;
  --muted: #656b77;
  --line: #e5e8ee;
  --control: #84909f;
  --blue: #225eba;
  --blue-hover: #1b4c98;
  --tint: #edf3fd;
  --focus: #225eba;
  --danger: #a82434;
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
:where(button, a, input, select, canvas, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -1px;
  font-weight: 720;
  margin-bottom: 8px;
}
h2 {
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.6px;
  font-weight: 680;
  margin-bottom: 8px;
}
h3 {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 10px;
}
p {
  color: var(--muted);
  margin-bottom: 20px;
}
img {
  max-width: 100%;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  vertical-align: middle;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.icon-eye {
  -webkit-mask-image: url("/icons/eye.svg");
  mask-image: url("/icons/eye.svg");
}
.icon-eye-slash {
  -webkit-mask-image: url("/icons/eye-slash.svg");
  mask-image: url("/icons/eye-slash.svg");
}
.icon-check {
  -webkit-mask-image: url("/icons/check.svg");
  mask-image: url("/icons/check.svg");
}
.icon-plus {
  -webkit-mask-image: url("/icons/plus.svg");
  mask-image: url("/icons/plus.svg");
}
.icon-copy {
  -webkit-mask-image: url("/icons/copy.svg");
  mask-image: url("/icons/copy.svg");
}
.icon-download-simple {
  -webkit-mask-image: url("/icons/download-simple.svg");
  mask-image: url("/icons/download-simple.svg");
}
.icon-arrow-up-right {
  -webkit-mask-image: url("/icons/arrow-up-right.svg");
  mask-image: url("/icons/arrow-up-right.svg");
}
.icon-magnifying-glass {
  -webkit-mask-image: url("/icons/magnifying-glass.svg");
  mask-image: url("/icons/magnifying-glass.svg");
}
.icon-x {
  -webkit-mask-image: url("/icons/x.svg");
  mask-image: url("/icons/x.svg");
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  flex-shrink: 0;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.brand-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
}
.brand-name {
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.8px;
}
.brand-badge {
  font-size: 11px;
  color: var(--muted);
  padding-left: 10px;
  margin-left: 3px;
  border-left: 1px solid var(--line);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.12s,
    transform 0.12s;
}
.btn:hover {
  background: var(--blue-hover);
  text-decoration: none;
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn.secondary {
  background: var(--subtle);
  color: var(--text);
}
.btn.secondary:hover {
  background: var(--line);
}
.btn.small {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 12px;
}
.btn.full {
  width: 100%;
}
.field {
  display: block;
  margin: 0 0 22px;
  min-width: 0;
}
.field > span,
.field > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.field input,
.field select,
.search {
  width: 100%;
  min-width: 0;
  height: 50px;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 12px 14px;
  transition: border-color 0.12s;
}
.field input:hover,
.field select:hover,
.search:hover {
  border-color: var(--muted);
}
input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field input:focus,
.field select:focus,
.search:focus {
  border-color: var(--blue);
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.error:not(:empty) {
  padding: 12px 14px;
  border-left: 3px solid var(--danger);
  background: var(--subtle);
  color: var(--danger);
  margin: 12px 0;
  font-size: 13px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 56px;
}
.password-toggle {
  position: absolute;
  right: 3px;
  top: 3px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}
.password-toggle .icon {
  width: 20px;
  height: 20px;
}
.password-toggle:hover {
  background: var(--subtle);
  color: var(--text);
}
.password-toggle[aria-pressed="true"] {
  color: var(--blue);
}
.login-help {
  font-size: 12px;
  color: var(--muted);
  margin: -6px 0 24px;
}
.login-layout {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: var(--surface);
}
.login {
  width: min(100%, 380px);
  padding: 20px 0;
}
.login .brand {
  margin-bottom: 24px;
}
.login h1 {
  font-size: 27px;
}
.entry-panel > p {
  margin-bottom: 28px;
  font-size: 13px;
}
.login .btn.full {
  min-height: 48px;
  margin-top: 4px;
}
/* A stable check slot, blue boundary and tinted surface distinguish active tabs. */
.entry-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: var(--subtle);
  border: 1px solid var(--line);
}
.entry-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.entry-tabs button:hover {
  background: var(--line);
  color: var(--text);
}
.entry-tabs button[aria-selected="true"] {
  background: var(--tint);
  border-color: var(--blue);
  color: var(--blue);
}
.entry-tabs button .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  visibility: hidden;
}
.entry-tabs button[aria-selected="true"] .icon {
  visibility: visible;
}
.entry-notice {
  padding: 20px 0;
}
.entry-saved {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--tint);
}
.entry-saved p {
  font-size: 13px;
  margin-bottom: 8px;
}
.field select {
  padding-right: 28px;
  text-overflow: ellipsis;
}
.field select:disabled {
  color: var(--muted);
  opacity: 1;
  cursor: default;
}
.login-footnote {
  font-size: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.shell {
  min-height: 100dvh;
  background: var(--surface);
}
.app-header {
  height: 64px;
  padding: 0 max(28px, calc((100vw - 1360px) / 2));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-label {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}
.app-header #logout {
  background: var(--surface);
  color: var(--muted);
}
.app-header #logout:hover {
  background: var(--subtle);
  color: var(--text);
}
.main {
  max-width: 1360px;
  margin: auto;
  padding: 30px 28px 64px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.heading h1 {
  font-size: 24px;
  margin-bottom: 6px;
}
.heading p {
  font-size: 12px;
  margin: 0;
}
.heading #create {
  background: var(--surface);
  color: var(--muted);
}
.heading #create:hover {
  background: var(--subtle);
  color: var(--text);
}
.workspace {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.panel {
  min-width: 0;
}
.program-rail {
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
}
.program-rail .panelhead {
  padding: 0 8px 12px;
}
.panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 24px;
}
.panelhead h2,
.panelhead h3 {
  margin: 0;
  overflow-wrap: anywhere;
}
.panelhead > div {
  min-width: 0;
}
.program-rail h2 {
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
}
.eventbutton {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 8px;
  padding: 12px 28px 12px 12px;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 4px;
  min-height: 64px;
}
.eventbutton strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
.eventbutton .muted {
  display: block;
  font-size: 11px;
}
.eventbutton > .icon-check {
  position: absolute;
  right: 8px;
  top: 14px;
  width: 15px;
  height: 15px;
  color: var(--blue);
}
.eventbutton.selected {
  background: var(--tint);
}
.eventbutton:hover {
  background: var(--subtle);
}
.eventbutton.selected:hover {
  background: var(--tint);
}
.workspace-content {
  background: var(--surface);
}
.workspace-content > .panelhead h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.workspace-content > .panelhead .btn {
  flex-shrink: 0;
}
.section-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.shootlist {
  display: flex;
  gap: 4px;
  padding: 3px 3px 14px;
  margin: -3px;
  overflow-x: auto;
  scroll-padding: 3px;
}
.shootbutton {
  position: relative;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 10px 28px 10px 12px;
  text-align: left;
  flex: 0 0 152px;
  min-height: 64px;
}
.shootbutton b {
  display: block;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.shootbutton span:not(.icon) {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  color: var(--muted);
}
.shootbutton small {
  font-size: 10px;
  color: var(--muted);
}
.shootbutton > .icon-check {
  position: absolute;
  right: 8px;
  top: 14px;
  width: 14px;
  height: 14px;
  color: var(--blue);
}
.shootbutton.selected {
  background: var(--tint);
  color: var(--text);
}
.shootbutton:hover {
  background: var(--subtle);
  color: var(--text);
}
.shootbutton.selected:hover {
  background: var(--tint);
}
.detail {
  position: relative;
  padding: 22px 160px 22px 24px;
  border-radius: 12px;
  background: var(--bg);
  min-height: 188px;
  margin: 8px 0 24px;
}
.eventhero h2 {
  font-size: 23px;
  margin: 6px 0 8px;
  letter-spacing: -0.7px;
}
.badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}
.qr {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 116px;
  height: 116px;
  border: 6px solid white;
  border-radius: 0;
  background: white;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.detail .btn.secondary {
  background: var(--surface);
}
.detail .btn.secondary:hover {
  background: var(--line);
}
.management-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.management-tabs button {
  padding: 12px 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
}
.management-tabs button.active {
  color: var(--text);
  border-color: var(--blue);
}
.management-tabs button:hover {
  color: var(--text);
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 20px 0;
}
.search-group {
  width: min(100%, 320px);
}
.search-group label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 7px;
}
.search-wrap {
  position: relative;
}
.search {
  height: 44px;
  font-size: 12px;
  padding-left: 38px;
  padding-right: 44px;
}
.search-wrap > .icon {
  position: absolute;
  left: 12px;
  top: 13px;
  width: 17px;
  height: 17px;
  pointer-events: none;
  color: var(--muted);
}
#clearsearch {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
}
#clearsearch:hover {
  color: var(--text);
  background: var(--subtle);
}
.tablewrap {
  overflow-x: auto;
  max-width: 100%;
}
.table-scroll-hint {
  display: none;
  font-size: 12px;
  margin: 0 0 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  padding: 12px 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
tbody tr:hover {
  background: var(--bg);
}
td .btn {
  min-height: 44px;
  padding: 8px;
  font-size: 11px;
  gap: 4px;
}
td .btn.secondary {
  background: var(--surface);
  color: var(--blue);
}
td .btn.secondary:hover {
  background: var(--tint);
}
td .icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}
.empty {
  padding: 44px 24px;
  text-align: center;
  color: var(--muted);
}
.empty h2,
.empty h3 {
  color: var(--text);
}
.empty p {
  font-size: 13px;
  margin: 12px 0 24px;
}
.program-rail .empty {
  padding: 24px 8px;
  text-align: left;
  font-size: 13px;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #171c2466;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--surface);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.modalhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.modalhead h2 {
  font-size: 21px;
  margin: 0;
}
.modal > p {
  font-size: 13px;
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}
.close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--surface);
  color: var(--muted);
  border: 0;
  border-radius: 8px;
}
.close:hover {
  background: var(--subtle);
  color: var(--text);
}
.modal-open {
  overflow: hidden;
}
.mobile {
  width: min(100%, 600px);
  padding: 28px 24px 48px;
  margin: auto;
}
.mobile > .brand {
  margin: 0 0 36px;
}
.mobilecard {
  background: var(--bg);
  padding: 0;
}
.mobilecard h1 {
  font-size: 27px;
  overflow-wrap: anywhere;
}
.mobilecard > p {
  font-size: 13px;
}
.form-section {
  padding: 30px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.form-section:last-of-type {
  border: 0;
  padding-bottom: 20px;
}
.section-heading {
  margin-bottom: 24px;
}
.section-heading h2 {
  font-size: 18px;
  margin-bottom: 5px;
}
.section-heading p {
  font-size: 12px;
  margin-bottom: 0;
}
.hint {
  background: var(--subtle);
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text);
}
.terms {
  white-space: pre-wrap;
  line-height: 1.85;
  background: var(--subtle);
  padding: 18px;
  border-radius: 8px;
  font-size: 12px;
  margin: 14px 0 24px;
  overflow-wrap: anywhere;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 8px;
  font-size: 13px;
  cursor: pointer;
  margin: 8px 0;
  border: 0;
  border-radius: 8px;
  min-height: 48px;
}
.check:has(input:checked) {
  background: var(--tint);
}
.check input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: var(--blue);
  margin: 1px 0;
}
.signature {
  display: block;
  width: 100%;
  height: 170px;
  border: 1px solid var(--control);
  border-radius: 8px;
  background: white;
  touch-action: none;
}
.success {
  margin: 0 auto 16px;
  color: var(--blue);
  font-size: 28px;
  text-align: center;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px 20px;
}
.document {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.document-brand {
  margin-bottom: 28px;
}
.document-brand .brand-name {
  font-size: 17px;
}
.document-brand .brand-logo {
  width: 27px;
  height: 27px;
}
.document h1 {
  font-size: 28px;
  margin-bottom: 28px;
}
.document h3 {
  margin-top: 28px;
}
.document p {
  font-size: 13px;
}
.docgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-bottom: 26px;
}
.docgrid > div {
  padding: 14px 8px 14px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.docgrid b {
  font-size: 14px;
  font-weight: 600;
}
.signimage {
  background: white;
  width: 180px;
  height: 80px;
  object-fit: contain;
  margin-top: 10px;
}
.docactions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px 60px;
}
.document > .muted {
  font-size: 11px;
  overflow-wrap: anywhere;
}
#toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  background: var(--text);
  color: var(--surface);
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 13px;
  max-width: calc(100% - 32px);
  width: max-content;
}
.recovery-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.text-button {
  border: 0;
  border-radius: 8px;
  background: var(--bg);
  color: var(--blue);
  font-weight: 600;
  min-height: 44px;
  padding: 8px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button:hover {
  background: var(--tint);
}
.recovery-help {
  font-size: 12px;
  margin: 20px 0;
  color: var(--muted);
}
.lookup-pin small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.pin-management {
  padding-bottom: 0;
}
.pin-management details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 20px;
  background: var(--surface);
}
.pin-management summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  display: list-item;
  align-content: center;
  color: var(--text);
}
.pin-management details > p {
  font-size: 12px;
  margin: 12px 0 20px;
}
.pin-status:not(:empty) {
  color: var(--blue);
  font-size: 13px;
  margin: 12px 0;
}
.heading-actions,
.usage-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.usage-controls { margin-bottom: 24px; }
.usage-controls label { display: flex; align-items: center; gap: 12px; }
.usage-controls select { width: auto; min-width: 120px; }
.usage-period { font-size: 12px; }
.usage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 20px;
}
.usage-metric {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.usage-metric dt { font-weight: 650; }
.usage-metric dd { margin: 4px 0; font-size: 30px; font-weight: 720; font-variant-numeric: tabular-nums; }
.usage-metric small { color: var(--muted); font-size: 12px; }
.usage-last { color: var(--text); }
.usage-notice { padding: 16px; background: var(--subtle); border-radius: 12px; }
.usage-notice p { font-size: 12px; margin: 0 0 8px; }
.usage-notice p:last-child { margin-bottom: 0; }
.usage-section { margin-top: 32px; }
.usage-shoots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.usage-shoot { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.usage-shoot h3 { margin-bottom: 4px; }
.usage-shoot p { font-size: 12px; margin-bottom: 12px; }
.usage-shoot p:last-child { margin: 0; }
.usage-shoot dl { display: grid; gap: 6px; margin: 0 0 16px; }
.usage-shoot dl > div { display: flex; justify-content: space-between; gap: 12px; }
.usage-shoot dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.usage-daily { width: 100%; min-width: 480px; }
.usage-daily th { white-space: nowrap; }
@media (max-width: 767px) {
  .usage-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .usage-metric { padding: 14px; }
  .usage-metric dt, .usage-metric small { font-size: 11px; }
  .usage-metric dd { font-size: 26px; }
  .usage-shoots { grid-template-columns: 1fr; }
  .heading-actions { gap: 8px; }
  .heading-actions .btn { padding: 10px; font-size: 12px; }
  .usage-controls { align-items: stretch; gap: 10px; }
  .usage-controls label { flex: 1; flex-wrap: wrap; gap: 4px; }
  .usage-controls .btn { align-self: end; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181a1f;
    --surface: #1e2026;
    --subtle: #292c33;
    --text: #e9ebf0;
    --muted: #adb1bd;
    --line: #343840;
    --control: #8b94a3;
    --blue: #9ec2fb;
    --blue-hover: #bed7ff;
    --tint: #29374d;
    --focus: #9ec2fb;
    --danger: #ff9fa9;
  }
  .btn {
    color: #1a2a41;
  }
  .btn.secondary {
    color: var(--text);
  }
  td .btn.secondary {
    color: var(--blue);
  }
}
@media (max-width: 1023px) {
  .main {
    padding: 26px 24px;
  }
  .app-header {
    padding: 0 24px;
  }
  .workspace {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 24px;
  }
  .detail {
    padding-right: 144px;
  }
  .qr {
    width: 96px;
    height: 96px;
  }
  .table-toolbar {
    flex-wrap: wrap;
  }
  .table-scroll-hint {
    display: block;
  }
}
@media (max-width: 767px) {
  .app-header {
    height: 60px;
    padding: 0 16px;
    gap: 12px;
  }
  .header-label {
    display: none;
  }
  .app-header #logout {
    margin-left: auto;
  }
  .main {
    padding: 24px 16px 40px;
  }
  .heading {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
  }
  .heading h1 {
    font-size: 22px;
  }
  .heading p {
    font-size: 11px;
  }
  .heading > .btn {
    font-size: 12px;
    padding: 10px;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .program-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px;
  }
  .program-rail .panelhead {
    flex-basis: 100%;
    padding: 0 4px 6px;
  }
  .eventbutton {
    width: auto;
    min-width: 126px;
    max-width: 100%;
    flex: 1 1 126px;
    margin: 0;
    padding: 10px 24px 10px 10px;
  }
  .eventbutton strong {
    font-size: 13px;
  }
  .workspace-content > .panelhead {
    gap: 12px;
    padding-bottom: 16px;
  }
  .workspace-content > .panelhead h2 {
    font-size: 22px;
  }
  .shootbutton {
    flex-basis: 144px;
  }
  .detail {
    padding: 20px 16px;
    margin-top: 8px;
  }
  .eventhero {
    min-height: 104px;
    padding-right: 108px;
  }
  .eventhero h2 {
    font-size: 18px;
  }
  .eventhero .muted {
    font-size: 11px;
  }
  .qr {
    width: 88px;
    height: 88px;
    top: 24px;
    right: 16px;
  }
  .actions {
    gap: 8px;
    margin-top: 14px;
  }
  .actions .btn.small {
    font-size: 12px;
    padding: 10px;
  }
  .management-tabs {
    gap: 24px;
  }
  .management-tabs button {
    padding: 12px 2px;
  }
  .table-toolbar {
    display: block;
  }
  .search-group {
    width: 100%;
  }
  .table-toolbar .actions {
    margin-top: 12px !important;
    justify-content: flex-end;
  }
  .empty {
    padding: 36px 12px;
  }
  .modal {
    padding: 22px;
  }
  .modal .grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mobile {
    padding: 24px 22px 36px;
  }
  .mobile > .brand {
    margin-bottom: 30px;
  }
  .mobilecard h1 {
    font-size: 25px;
  }
  .mobile .grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .field input,
  .field select {
    font-size: 16px;
    height: 50px;
  }
  .document {
    margin: 0 12px;
    padding: 24px 20px;
  }
  .document h1 {
    font-size: 25px;
  }
  .document .docgrid {
    gap: 0 12px;
  }
  .docgrid b {
    font-size: 13px;
  }
  .tabs .btn {
    font-size: 13px;
  }
  .docactions {
    padding: 20px 16px 40px;
  }
  .docactions .btn {
    flex: 1 1 auto;
  }
  .login-layout {
    align-items: start;
    padding: 54px 24px;
  }
  .login .brand {
    margin-bottom: 24px;
  }
  .login h1 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .tabs,
  .docactions,
  .no-print,
  #toast {
    display: none !important;
  }
  .document {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: white;
    color: black;
  }
  .document .terms,
  .document .hint,
  th {
    background: white;
    color: black;
  }
  .document .muted,
  .document .brand-badge {
    color: #555;
  }
  .document .tablewrap {
    overflow: visible;
  }
  .document table {
    white-space: normal;
    font-size: 8px;
  }
  a {
    color: black;
  }
}
