.login-screen { min-height: 100dvh; display: grid; grid-template-columns: 1.08fr 1fr; background: white; }
.login-story { position: relative; overflow: hidden; background: #f2f2f5; padding: 47px 9%; min-height: 760px; }
.login-story .brand { position: relative; z-index: 1; }
.login-story-copy { position: relative; z-index: 2; margin-top: 96px; }
.login-story-copy .eyebrow { color: #7d7d84; font-size: 9px; }
.login-story-copy h1 { margin-top: 20px; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.19; font-weight: 650; letter-spacing: -2.7px; }
.login-story-copy p { margin-top: 24px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.login-story-footer { position: absolute; bottom: 34px; left: 9%; font-size: 10px; color: #96969d; }
.identity-sculpture { position: absolute; width: 310px; height: 325px; bottom: 85px; right: 11%; perspective: 900px; }
.sculpture-halo { width: 400px; height: 400px; background: radial-gradient(ellipse, #dfdfe9 0%, #ebebf1 37%, transparent 69%); position: absolute; top: -10px; left: -40px; }
.sculpture-back { position: absolute; width: 192px; height: 260px; border: 1px solid #d9d9e4; border-radius: 22px; top: 29px; left: 82px; transform: rotate(-13deg); background: linear-gradient(160deg, #e9e9f0, #e0e0e9); box-shadow: 15px 22px 38px #bebecd25; }
.sculpture-label { position: absolute; left: 42px; top: 38px; width: 192px; height: 260px; border-radius: 20px; padding: 25px; background: linear-gradient(150deg, #fff 45%, #f7f7f9); box-shadow: 0 1px 2px #fff inset, 0 24px 48px #9999b02b, 0 0 0 1px #e1e1e755; transform: rotate(10deg); }
.sculpture-brand { font-size: 9px; font-weight: 700; letter-spacing: 4px; color: #868691; }
.sculpture-lines { display: flex; gap: 6px; align-items: flex-end; margin-top: 34px; height: 75px; overflow: hidden; }
.sculpture-lines i { display: block; width: 7px; height: 57px; border-radius: 3px; background: #31313d; }
.sculpture-lines i:nth-child(2n) { height: 75px; width: 3px; background: #9999a8; }
.sculpture-lines i:nth-child(3n) { height: 45px; width: 14px; background: #535362; }
.sculpture-lines i:nth-child(5n) { height: 65px; width: 8px; background: #d0d0da; }
.sculpture-serial { display: block; margin-top: 14px; font-size: 5px; font-weight: 600; letter-spacing: 1.35px; color: #888894; white-space: nowrap; }
.sculpture-label-foot { border-top: 1px solid #eeeef3; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; margin-top: 29px; color: #868692; font-size: 7px; }
.sculpture-label-foot svg { width: 18px; height: 18px; }
.login-panel { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 35px; }
.login-card { width: min(100%, 355px); }
.login-card .eyebrow { font-size: 9px; color: #a0a0a7; }
.login-card h2 { font-size: 35px; line-height: 1.2; letter-spacing: -1.5px; font-weight: 600; margin-top: 15px; }
.login-subtitle { margin-top: 14px; color: var(--muted); font-size: 12px; }
#login-form { margin-top: 42px; }
#login-form label { font-size: 11px; }
.password-field { position: relative; }
.password-field input { padding: 14px 44px 14px 14px; font-size: 13px; border-radius: 12px; }
.password-field .icon-button { position: absolute; right: 6px; top: 7px; }
#login-form .button { margin-top: 20px; min-height: 47px; border-radius: 12px; }
.login-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 10px; color: #a0a0a8; margin-top: 23px; }
.login-note .icon { width: 13px; height: 13px; }
.login-public-link { margin-top: 65px; font-size: 10px; color: var(--muted); }
.login-public-link span { margin-left: 5px; }
.console-screen { min-height: 100dvh; }
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 228px; z-index: 30; background: #fbfbfd; border-right: 1px solid #e6e6eb; display: flex; flex-direction: column; padding: 31px 19px 16px; }
.sidebar .brand { margin: 0 9px; }
.sidebar-caption { color: #9999a0; font-size: 10px; margin: 34px 14px 11px; }
#main-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-link { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 10px; font-size: 12px; color: #77777f; transition: background .18s, color .18s; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link:hover { background: #eeeef4; color: var(--ink); }
.nav-link.is-active { background: #eaeaf0; color: var(--ink); font-weight: 550; }
.nav-active-dot { margin-left: auto; width: 4px; height: 4px; background: var(--ink); border-radius: 50%; }
.sidebar-bottom { margin-top: auto; }
.sidebar-public-link { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 16px 12px; color: #87878f; font-size: 10px; }
.sidebar-public-link .icon { width: 13px; height: 13px; }
.sidebar-public-link:hover { color: var(--blue); }
.admin-account { display: flex; align-items: center; gap: 10px; border-top: 1px solid #e7e7ed; padding: 19px 4px 4px; }
.account-avatar { width: 31px; height: 31px; border-radius: 10px; background: #e9e9ef; color: #686875; display: grid; place-items: center; font-size: 12px; font-weight: 650; }
.admin-account strong { font-size: 10px; font-weight: 550; display: block; }
.admin-account small { display: block; font-size: 8px; color: #8e8e98; margin-top: 3px; }
.admin-account .icon-button { margin-left: auto; width: 30px; height: 30px; }
.admin-account .icon { width: 15px; height: 15px; }
.workspace { margin-left: 228px; display: flex; min-height: 100dvh; flex-direction: column; }
.topbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 16px 42px; border-bottom: 1px solid #e8e8ee; background: #f5f5f7ee; gap: 20px; }
.topbar-left { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #7b7b83; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.workspace-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; color: #818189; }
.workspace-pill i { width: 4px; height: 4px; border-radius: 50%; background: #7d9a88; }
.mobile-menu { display: none; }
.main-content { width: 100%; max-width: 1540px; margin: 0 auto; padding: 36px 42px 38px; flex: 1; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading .eyebrow { font-size: 9px; letter-spacing: 1.7px; color: #9a9aa3; }
.page-heading h1 { font-size: 30px; letter-spacing: -1px; font-weight: 600; line-height: 1.35; margin-top: 11px; }
.page-heading p { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.page-actions { display: flex; gap: 9px; flex-shrink: 0; }
.overview-hero { border-radius: 25px; min-height: 309px; padding: 36px 42px; background: linear-gradient(115deg, #ebedf4 0%, #f1f2f7 58%, #e7eaf3 100%); position: relative; display: flex; overflow: hidden; border: 1px solid #e5e7ef; }
.overview-hero-copy { position: relative; z-index: 2; }
.hero-tag { color: #7d8091; font-size: 8px; font-weight: 550; letter-spacing: 1.7px; }
.overview-hero h2 { margin-top: 15px; font-size: 36px; line-height: 1.25; font-weight: 600; letter-spacing: -1.6px; }
.overview-hero p { color: #7b7d8c; font-size: 11px; line-height: 1.9; margin-top: 15px; }
.overview-hero .text-link { margin-top: 21px; font-size: 11px; }
.hero-art { width: 300px; height: 100%; right: 5%; position: absolute; top: 0; }
.hero-orbit { position: absolute; width: 340px; height: 340px; border: 1px solid #dfe2ed; border-radius: 50%; top: -14px; left: -10px; }
.orbit-two { width: 230px; height: 230px; top: 40px; left: 45px; border-color: #dce0ed; }
.hero-tag-card { position: absolute; background: linear-gradient(155deg, #fff 30%, #fbfbff); border: 1px solid #e4e6ef; width: 166px; height: 225px; left: 77px; top: 41px; border-radius: 20px; padding: 21px 22px; transform: rotate(10deg); box-shadow: 0 16px 34px #8991b023, 0 1px 0 #fff inset; }
.tag-card-brand { display: block; font-size: 8px; color: #9a9ba8; letter-spacing: 3px; font-weight: 650; }
.tag-card-title { display: block; font-size: 10px; color: #8a8c99; margin-top: 20px; }
.tag-card-code { display: flex; align-items: baseline; gap: 5px; margin-top: 5px; overflow: hidden; }
.tag-card-code span { font-size: 9px; color: #a0a1ad; }
.tag-card-code strong { font-size: 33px; font-weight: 500; line-height: 1.3; letter-spacing: -1.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tag-card-code strong.serial-long { font-size: 18px; letter-spacing: -.6px; }
.tag-card-code strong.serial-extra-long { font-size: 10px; letter-spacing: -.4px; }
.tag-card-code strong.namespace-label { font-size: 20px; letter-spacing: -.5px; margin-top: 5px; }
.tag-card-note { color: #a0a1ad; font-size: 7px; margin-top: 5px; display: block; }
.tag-card-divider { height: 1px; background: #eeeef3; margin: 21px 0 13px; }
.tag-card-security { display: flex; align-items: center; gap: 4px; font-size: 6px; color: #7e8090; }
.tag-card-security .icon { width: 12px; height: 12px; }
.hero-floating-chip { position: absolute; right: 6px; top: 190px; padding: 9px 13px; display: flex; align-items: center; gap: 6px; border: 1px solid #ffffffa0; background: #ffffffcf; color: #757b8e; border-radius: 12px; backdrop-filter: blur(12px); font-size: 9px; transform: rotate(-5deg); box-shadow: 0 6px 22px #8991b016; }
.hero-floating-chip .icon { width: 12px; height: 12px; color: #7d9a88; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.stat-card { background: white; padding: 20px 22px; border: 1px solid #ebebef; border-radius: 18px; }
.stat-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; color: #7d7d86; }
.stat-label .icon { width: 16px; height: 16px; color: #b1b1ba; }
.stat-value { margin-top: 15px; font-size: 31px; line-height: 1.2; font-weight: 550; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.stat-card p { font-size: 8px; color: #a0a0a9; margin-top: 9px; }
.overview-columns { display: grid; grid-template-columns: 1.08fr 1fr; gap: 22px; margin-top: 25px; }
.overview-columns .panel-heading { padding: 23px 24px 18px; }
.overview-columns .panel-heading h2 { font-size: 15px; }
.overview-columns .panel-heading p { font-size: 10px; }
.overview-columns .panel-heading .text-link { font-size: 10px; }
.recent-list { padding: 0 23px 12px; }
.recent-batch, .recent-event { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid #f0f0f3; }
.recent-batch:last-child, .recent-event:last-child { border-bottom: 0; }
.recent-batch:hover .recent-batch-main strong { color: var(--blue); }
.item-icon { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; flex-shrink: 0; border-radius: 11px; background: #f3f3f7; color: #8d8d99; }
.item-icon .icon { width: 17px; height: 17px; }
.item-icon-green { background: #eff7f2; color: #6c9b7e; }
.item-icon-amber { background: #fff7ec; color: #bf9965; }
.recent-batch-main, .recent-event-main { min-width: 0; flex: 1; }
.recent-batch-main strong, .recent-event-main strong { font-size: 11px; font-weight: 550; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.recent-batch-main > span, .recent-event-main > span { color: #9898a2; font-size: 9px; display: block; margin-top: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.recent-batch-right, .recent-event-right { text-align: right; flex-shrink: 0; }
.recent-batch-right small, .recent-event-right small { display: block; font-size: 8px; color: #a0a0aa; margin-top: 6px; }
.recent-batch .badge { font-size: 8px; padding: 3px 6px; }
.recent-batch > .icon { width: 13px; height: 13px; color: #c1c1c8; }
.recent-event-right .subtle-label { font-size: 9px; }
.workspace-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 42px 23px; border-top: 1px solid #e8e8ee; color: #a5a5ad; font-size: 9px; }
.workspace-footer > span:first-child { letter-spacing: 1px; }
.section-summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; font-size: 10px; color: #8c8c96; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; border-radius: 22px; border: 1px solid #e8e8ee; background: white; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.product-monogram { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 17px; background: #eff0f7; color: #888ca8; }
.product-monogram .icon { width: 25px; height: 25px; }
.monogram-1 { background: #f1f4f0; color: #929e84; }
.monogram-2 { background: #f8f3ed; color: #b29d82; }
.monogram-3 { background: #f3eff7; color: #a190b0; }
.product-sku { color: #9696a1; font-family: ui-monospace, Menlo, monospace; font-size: 9px; overflow: hidden; text-overflow: ellipsis; }
.product-card h2 { font-size: 19px; font-weight: 600; letter-spacing: -.5px; overflow-wrap: anywhere; }
.product-description { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 12px; flex: 1; overflow-wrap: anywhere; white-space: pre-line; }
.product-card-meta { margin-top: 23px; display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid #f0f0f4; color: #9898a2; font-size: 10px; }
.product-card-meta strong { font-weight: 450; color: #73737d; text-align: right; }
.product-card-foot { padding-top: 17px; border-top: 1px solid #f0f0f4; display: flex; flex-direction: column; gap: 12px; }
.product-card-foot > span { font-size: 8px; color: #a4a4af; }
.product-card-foot .text-link { font-size: 10px; align-self: flex-start; }
.issue-panel { display: grid; grid-template-columns: 244px 1fr; margin-bottom: 29px; }
.issue-intro { background: #fbfbfd; border-right: 1px solid #eeeef2; padding: 30px; }
.issue-icon { display: grid; place-items: center; width: 44px; height: 44px; background: #ededf3; border-radius: 14px; color: #7f8090; }
.issue-icon .icon { width: 22px; height: 22px; }
.issue-intro h2 { margin-top: 20px; font-size: 18px; font-weight: 600; letter-spacing: -.4px; }
.issue-intro p { font-size: 10px; line-height: 1.9; color: #92929d; margin-top: 10px; margin-bottom: 25px; }
.issue-step { display: flex; align-items: center; gap: 11px; margin-top: 14px; font-size: 10px; color: #7b7b87; }
.issue-step span { color: #b2b2bb; font-size: 9px; font-variant-numeric: tabular-nums; }
.batch-form { padding: 30px; }
.batch-form .form-grid { gap: 19px 22px; }
.batch-form label { font-size: 11px; }
.batch-form input, .batch-form select { font-size: 12px; padding-top: 11px; padding-bottom: 11px; }
.batch-form .form-field small { font-size: 9px; }
.select-with-action { display: flex; gap: 10px; }
.select-with-action .button { min-height: 39px; padding: 9px 12px; font-size: 10px; }
.select-with-action .icon { width: 13px; height: 13px; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 23px; margin-top: 24px; border-top: 1px solid #eeeef2; }
.form-footer > span { color: #9696a0; font-size: 9px; display: inline-flex; align-items: center; gap: 5px; }
.form-footer > span .icon { width: 12px; height: 12px; }
.form-footer .button { font-size: 11px; min-height: 39px; }
.range-separator { color: #c0c0c8; font-size: 10px; padding: 0 2px; }
.back-link { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #8e8e98; margin-bottom: 24px; }
.back-link .icon { width: 13px; height: 13px; }
.back-link:hover { color: var(--blue); }
.batch-detail-summary { padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.batch-range .eyebrow { font-size: 9px; letter-spacing: 1px; color: #9696a1; }
.batch-range > strong { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; font-size: 30px; font-weight: 450; margin-top: 12px; line-height: 1.3; }
.batch-range > strong span { color: #c7c7d0; font-size: 19px; }
.batch-range > p { font-size: 10px; color: #9898a3; margin-top: 11px; }
.batch-status-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.batch-counts { display: flex; gap: 27px; }
.batch-counts > div { min-width: 36px; display: flex; flex-direction: column; gap: 5px; text-align: center; }
.batch-counts strong { font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.3; }
.batch-counts span { font-size: 9px; color: #9999a4; }
.batch-action-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 5px; }
.batch-action-strip > div:first-child { display: flex; gap: 10px; align-items: flex-start; }
.batch-action-strip > div:first-child > .icon { width: 18px; height: 18px; color: #9a9aa6; margin-top: 2px; }
.batch-action-strip strong { display: block; font-size: 11px; font-weight: 500; }
.batch-action-strip span { display: block; font-size: 9px; color: #9696a1; margin-top: 4px; }
.batch-action-buttons { display: flex; flex-shrink: 0; gap: 8px; }
.code-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; padding: 5px 25px 25px; }
.code-card { border: 1px solid #e8e8ef; border-radius: 16px; min-width: 0; padding: 14px; }
.code-card-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: space-between; }
.code-card-top > strong { font-size: 10px; font-weight: 550; overflow-wrap: anywhere; }
.code-card-top .badge { font-size: 8px; padding: 3px 6px; }
.qr-preview { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 160px; border: none; background: #fff; padding: 10px; margin: 12px auto 10px; }
.qr-preview img { width: 134px; height: 134px; object-fit: contain; image-rendering: pixelated; }
.qr-preview > span { position: absolute; opacity: 0; bottom: 0; display: inline-flex; gap: 5px; align-items: center; justify-content: center; border-radius: 7px; background: #f4f4f8f2; padding: 6px 10px; font-size: 9px; color: #777785; transition: opacity .18s; }
.qr-preview > span .icon { width: 12px; height: 12px; }
.qr-preview:hover > span, .qr-preview:focus-visible > span { opacity: 1; }
.code-card-stats { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; border-top: 1px solid #eeeef3; padding-top: 12px; font-size: 9px; color: #9696a2; }
.code-card-stats strong { font-size: 10px; font-weight: 500; color: #747480; }
.code-card-links { display: flex; justify-content: space-between; gap: 6px; align-items: center; margin-top: 14px; }
.code-card-links .text-link, .code-card-links .subtle-label { font-size: 8px; }
.code-card-links .icon { width: 10px; height: 10px; }
.code-revoke { background: none; border: 0; padding: 0; font-size: 8px; color: #bd7f7f; }
.code-revoke:hover { color: var(--red); }
.dialog-qr { width: min(440px, calc(100vw - 32px)); }
.qr-dialog-image { display: flex; justify-content: center; padding: 15px 30px 0; }
.qr-dialog-image img { width: 248px; height: 248px; object-fit: contain; image-rendering: pixelated; }
.qr-dialog-meta { display: flex; justify-content: center; gap: 15px; align-items: center; color: #92929f; font-size: 10px; margin: 5px 30px 24px; }
.qr-url-field { margin: 0 30px; }
.qr-url-field label { font-size: 10px; color: #8b8b98; }
.qr-url-field > div { display: flex; gap: 7px; align-items: center; }
.qr-url-field input { font-size: 10px; min-width: 0; }
.qr-url-field .icon-button { background: #f4f4f7; }
.dialog-qr .dialog-footer { justify-content: space-between; }
.records-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 25px; }
.records-toolbar h2 { font-size: 17px; font-weight: 600; letter-spacing: -.4px; }
.records-toolbar p { color: var(--muted); font-size: 11px; margin-top: 5px; }
.filter-form { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-width: 0; }
.filter-form select { flex: 1; min-width: 160px; max-width: 230px; font-size: 11px; padding: 9px 32px 9px 11px; }
.search-field { display: flex; align-items: center; gap: 8px; background: white; border: 1px solid #dcdce2; padding: 0 11px; border-radius: 9px; }
.search-field:focus-within { border-color: #428ad5; }
.search-field .icon { width: 15px; height: 15px; color: #aaaab4; }
.search-field input { border: 0; border-radius: 0; font-size: 11px; width: 155px; padding: 9px 0; }
.search-field input:focus { box-shadow: none; }
.filter-error { margin: 0 25px 20px; }
.key-current-panel { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 31px 34px; margin-bottom: 24px; border: 1px solid #e1e6ef; border-radius: 23px; background: linear-gradient(115deg, #eef2f8, #f8f9fc); }
.key-current-copy { min-width: 0; flex: 1; }
.key-current-copy .eyebrow { color: #7c8798; font-size: 8px; }
.key-current-copy h2 { font-size: 15px; font-weight: 550; margin-top: 14px; }
.key-current-id { display: block; font-size: 26px; font-weight: 550; letter-spacing: -.7px; margin-top: 9px; line-height: 1.4; overflow-wrap: anywhere; }
.key-current-copy p { color: #778293; font-size: 11px; line-height: 1.8; margin-top: 13px; max-width: 510px; }
.key-current-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; flex-shrink: 0; }
.key-protection-label { display: inline-flex; align-items: center; gap: 7px; color: #778293; font-size: 10px; overflow-wrap: anywhere; }
.key-protection-label .icon { width: 14px; height: 14px; }
.key-current-actions .button { font-size: 12px; }
.key-registry-panel { margin-bottom: 27px; min-width: 0; }
.key-registry-panel .panel-heading { flex-wrap: wrap; gap: 14px; }
.key-version-list { list-style: none; padding: 0 25px; margin: 0; }
.key-version-row { display: grid; grid-template-columns: minmax(135px, .8fr) minmax(0, 2fr); align-items: center; gap: 24px; padding: 24px 0; border-top: 1px solid #eeeef3; }
.key-version-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.key-version-identity strong { font-size: 13px; font-weight: 550; line-height: 1.6; overflow-wrap: anywhere; max-width: 100%; }
.key-version-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; margin: 0; }
.key-version-facts > div { min-width: 0; }
.key-version-facts dt { font-size: 10px; color: #93939e; }
.key-version-facts dd { margin: 8px 0 0; color: #555560; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.key-history-note { display: flex; align-items: flex-start; gap: 8px; padding: 18px 25px; border-top: 1px solid #eeeef3; color: #93939e; font-size: 10px; line-height: 1.8; }
.key-history-note .icon { width: 15px; height: 15px; margin-top: 1px; }
.key-rotation-notes { display: flex; flex-direction: column; gap: 14px; padding: 22px 30px 0; }
.key-rotation-notes p { display: flex; align-items: flex-start; gap: 10px; color: #777780; font-size: 12px; line-height: 1.8; }
.key-rotation-notes .icon { width: 16px; height: 16px; margin-top: 2px; color: #858d9c; }
.dialog-key-rotation .confirmation-summary strong { overflow-wrap: anywhere; }
.dialog-key-rotation .dialog-footer { flex-wrap: wrap; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 27px; align-items: start; }
.settings-list { margin: 0; padding: 0 25px 15px; }
.settings-list > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 23px 0; border-top: 1px solid #eeeef3; }
.settings-list dt { font-size: 11px; color: #92929f; flex-shrink: 0; }
.settings-list dd { margin: 0; text-align: right; font-size: 12px; overflow-wrap: anywhere; }
.settings-note { padding: 32px; background: #eef0f6; border: 1px solid #e4e7ef; border-radius: 23px; }
.settings-note-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; background: #ffffff8c; color: #929ab0; }
.settings-note-icon .icon { width: 23px; height: 23px; }
.settings-note h2 { font-size: 21px; font-weight: 550; letter-spacing: -.7px; margin-top: 21px; }
.settings-note p { font-size: 11px; color: #858a9c; line-height: 1.95; margin-top: 15px; }
.settings-note-divider { height: 1px; background: #dfe2eb; margin: 28px 0 22px; }
.settings-note h3 { font-size: 11px; font-weight: 550; color: #7d8396; }
.settings-note ul { padding-left: 15px; margin: 11px 0 0; font-size: 10px; color: #8b90a0; line-height: 2.2; }
@media (min-width: 1500px) {
  .main-content { padding-top: 44px; }
  .overview-hero { min-height: 340px; }
  .overview-hero-copy { padding-top: 10px; }
  .hero-art { right: 10%; }
  .hero-tag-card { top: 57px; }
  .hero-floating-chip { top: 210px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 206px; padding-left: 15px; padding-right: 15px; }
  .sidebar .brand { margin-left: 6px; }
  .workspace { margin-left: 206px; }
  .topbar { padding-left: 29px; padding-right: 29px; }
  .main-content { padding-left: 29px; padding-right: 29px; }
  .workspace-footer { padding-left: 29px; padding-right: 29px; }
  .overview-hero { padding: 31px 32px; }
  .hero-art { right: 2%; transform: scale(.9); transform-origin: right center; }
  .overview-hero h2 { font-size: 33px; }
  .stat-card { padding: 18px; }
  .overview-columns { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .issue-panel { grid-template-columns: 215px 1fr; }
  .issue-intro, .batch-form { padding: 26px; }
  .page-heading h1 { font-size: 28px; }
  .page-actions { flex-wrap: wrap; justify-content: flex-end; }
  .code-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .batch-action-strip { align-items: flex-start; flex-direction: column; gap: 15px; }
}
@media (max-width: 960px) {
  .sidebar { width: 192px; }
  .brand > span { font-size: 18px; }
  .brand small { font-size: 8px; letter-spacing: 1.5px; }
  .brand-mark { width: 31px; height: 31px; }
  .workspace { margin-left: 192px; }
  .main-content { padding: 29px 23px; }
  .topbar { padding: 15px 23px; min-height: 64px; }
  .page-heading { align-items: flex-start; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 10px; }
  .page-heading .button { font-size: 10px; padding: 10px 12px; }
  .overview-hero { min-height: 290px; padding: 30px; }
  .hero-art { right: -26px; transform: scale(.78); }
  .overview-hero h2 { font-size: 30px; }
  .overview-hero p { font-size: 10px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 16px 14px; }
  .stat-label { font-size: 9px; }
  .stat-label .icon { display: none; }
  .stat-value { font-size: 26px; }
  .stat-card p { font-size: 7px; }
  .issue-panel { grid-template-columns: 1fr; }
  .issue-intro { border-right: 0; border-bottom: 1px solid #eeeef2; padding: 23px 26px; }
  .issue-intro h2 { margin-top: 0; }
  .issue-intro p { margin-bottom: 0; }
  .issue-icon { float: right; }
  .issue-step { display: none; }
  .batch-detail-summary { align-items: flex-start; flex-direction: column; gap: 23px; }
  .batch-status-summary { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid #eeeef3; padding-top: 20px; }
  .code-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-grid { grid-template-columns: 1fr; }
  .key-current-panel { align-items: flex-start; gap: 25px; padding: 28px; }
  .key-current-actions { flex-shrink: 1; max-width: 205px; }
  .key-protection-label { align-items: flex-start; }
  .key-version-row { grid-template-columns: minmax(120px, .7fr) minmax(0, 2fr); gap: 20px; }
  .key-version-facts { gap: 13px; }
  .records-toolbar { align-items: flex-start; flex-direction: column; }
  .login-story { padding: 38px 10%; min-height: 730px; }
  .login-story-copy { margin-top: 83px; }
  .login-story-copy h1 { font-size: 43px; }
  .identity-sculpture { right: 5%; transform: scale(.86); transform-origin: bottom right; }
  .login-panel { padding-left: 35px; padding-right: 35px; }
  .login-card h2 { font-size: 29px; }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .22s; width: 228px; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar .brand > span { font-size: 21px; }
  .sidebar .brand small { font-size: 10px; }
  .sidebar .brand-mark { width: 36px; height: 36px; }
  .sidebar-backdrop { position: fixed; inset: 0; background: #1d1d1f50; z-index: 29; backdrop-filter: blur(2px); }
  .workspace { margin-left: 0; }
  .mobile-menu { display: inline-flex; margin-left: -7px; }
  .topbar { position: sticky; top: 0; backdrop-filter: blur(15px); z-index: 20; padding: 12px 20px; min-height: 61px; }
  .topbar-left { font-size: 10px; }
  .topbar-right { gap: 10px; }
  .workspace-pill { font-size: 8px; }
  .main-content { padding: 29px 20px; }
  .page-heading { gap: 20px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 11px; }
  .page-heading .eyebrow { font-size: 8px; }
  .overview-hero { min-height: 300px; }
  .hero-art { right: 0; transform: scale(.86); }
  .overview-hero h2 { font-size: 33px; }
  .stats-grid { gap: 13px; }
  .stat-card { padding: 20px; }
  .stat-value { font-size: 30px; }
  .stat-label { font-size: 10px; }
  .stat-label .icon { display: block; }
  .stat-card p { font-size: 8px; }
  .workspace-footer { padding: 20px; }
  .login-screen { grid-template-columns: 1fr; min-height: 100dvh; }
  .login-story { min-height: 285px; padding: 27px 30px; }
  .login-story .brand > span { font-size: 19px; }
  .login-story .brand-mark { width: 32px; height: 32px; }
  .login-story-copy { margin-top: 36px; }
  .login-story-copy h1 { font-size: 34px; letter-spacing: -1.5px; margin-top: 12px; }
  .login-story-copy .eyebrow { font-size: 7px; }
  .login-story-copy p { display: none; }
  .identity-sculpture { transform: scale(.52); right: 12px; bottom: 10px; }
  .login-story-footer { display: none; }
  .login-panel { padding: 42px 30px 29px; min-height: auto; }
  .login-card h2 { font-size: 29px; }
  .login-card .eyebrow { font-size: 8px; }
  .login-subtitle { font-size: 11px; }
  #login-form { margin-top: 29px; }
  .login-public-link { margin-top: 30px; }
}
@media (max-width: 540px) {
  .main-content { padding: 25px 16px; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 23px; gap: 17px; }
  .page-heading h1 { font-size: 26px; }
  .page-heading p { font-size: 10px; max-width: 335px; }
  .page-actions { align-self: stretch; justify-content: flex-start; }
  .page-heading .button { font-size: 11px; }
  .overview-hero { min-height: 272px; padding: 25px 24px; }
  .overview-hero h2 { font-size: 30px; }
  .hero-tag { font-size: 6px; letter-spacing: 1.2px; }
  .overview-hero p { max-width: 185px; font-size: 9px; line-height: 1.8; }
  .hero-art { right: -43px; transform: scale(.58); transform-origin: right center; }
  .hero-floating-chip { display: none; }
  .overview-hero .text-link { font-size: 10px; margin-top: 17px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
  .stat-card { padding: 18px; border-radius: 16px; }
  .stat-value { margin-top: 13px; font-size: 29px; }
  .stat-label { font-size: 9px; }
  .stat-card p { font-size: 7px; }
  .overview-columns { margin-top: 20px; gap: 20px; }
  .overview-columns .panel-heading { padding: 21px 19px 15px; }
  .recent-list { padding-left: 19px; padding-right: 19px; }
  .recent-batch, .recent-event { gap: 9px; }
  .recent-batch-main strong, .recent-event-main strong { font-size: 10px; }
  .recent-batch-main > span, .recent-event-main > span { font-size: 8px; }
  .recent-batch-right small, .recent-event-right small { font-size: 7px; }
  .recent-batch > .icon { display: none; }
  .recent-event-right .subtle-label { font-size: 8px; }
  .section-summary { font-size: 9px; gap: 12px; align-items: flex-start; }
  .section-summary > span:last-child { text-align: right; max-width: 170px; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card { padding: 24px; }
  .product-card-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .issue-intro { padding: 23px; }
  .issue-intro p { font-size: 9px; }
  .batch-form { padding: 23px; }
  .form-footer { align-items: flex-start; flex-direction: column; gap: 15px; }
  .form-footer .button { width: 100%; min-height: 42px; }
  .batch-detail-summary { padding: 23px; }
  .batch-range > strong { font-size: 24px; gap: 12px; }
  .batch-range > p { font-size: 9px; }
  .batch-counts { gap: 16px; }
  .batch-counts strong { font-size: 22px; }
  .batch-counts span { font-size: 8px; }
  .batch-status-summary .badge { font-size: 9px; }
  .batch-action-strip { padding-top: 20px; padding-bottom: 20px; }
  .batch-action-strip strong { font-size: 10px; }
  .batch-action-strip span { font-size: 8px; }
  .batch-action-buttons { flex-wrap: wrap; width: 100%; }
  .code-grid { padding: 2px 15px 20px; gap: 10px; }
  .code-card { padding: 11px; border-radius: 13px; }
  .code-card-top { flex-direction: column; align-items: flex-start; }
  .qr-preview { height: 127px; margin-top: 10px; padding: 2px; }
  .qr-preview img { width: 120px; height: 120px; }
  .code-card-links { flex-wrap: wrap; row-gap: 8px; }
  .code-card-links .text-link { font-size: 8px; }
  .code-card-stats { font-size: 8px; }
  .code-card-stats strong { font-size: 9px; }
  .filter-form { width: 100%; gap: 7px; flex-wrap: wrap; }
  .filter-form select { max-width: none; flex-basis: 100%; min-width: 0; }
  .search-field { flex: 1; min-width: 150px; }
  .search-field input { width: 100%; min-width: 0; }
  .records-toolbar { padding: 22px 19px; }
  .settings-list { padding-left: 19px; padding-right: 19px; }
  .key-current-panel { flex-direction: column; padding: 25px 23px; gap: 22px; }
  .key-current-copy h2 { font-size: 14px; }
  .key-current-id { font-size: 22px; }
  .key-current-actions { max-width: 100%; width: 100%; align-items: flex-start; gap: 15px; }
  .key-current-actions .button { width: 100%; }
  .key-version-list { padding-left: 19px; padding-right: 19px; }
  .key-version-row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 23px 0; }
  .key-version-identity { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 13px; }
  .key-version-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .key-history-note { padding-left: 19px; padding-right: 19px; }
  .key-rotation-notes { padding-left: 23px; padding-right: 23px; }
  .dialog-key-rotation .dialog-error { margin-left: 23px; margin-right: 23px; }
  .settings-list > div { gap: 15px; padding: 20px 0; }
  .settings-list dt { font-size: 10px; }
  .settings-list dd { font-size: 11px; }
  .settings-note { padding: 26px; }
  .settings-note h2 { font-size: 19px; }
  .settings-note p { font-size: 10px; }
  .workspace-footer { padding: 20px 16px; font-size: 8px; }
}

/* Lottery management shares the existing console typography and controls. */
.lottery-editor { padding: 28px; }
.lottery-editor fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lottery-editor fieldset:disabled { opacity: .8; }
.lottery-prize-row { display: grid; grid-template-columns: 100px 1.3fr 80px 110px 1.1fr 100px auto; gap: 12px; margin-bottom: 18px; align-items: end; }
.lottery-prize-row input, .lottery-prize-row select { width: 100%; min-width: 0; }
.lottery-prize-row .form-field { gap: 8px; margin: 0; min-width: 0; }
.lottery-prize-row .form-field > span, .lottery-none-pool .form-field > span { font-size: 12px; color: var(--text-secondary); }
.lottery-prize-row > .button, .lottery-prize-row > .lottery-shipping-option { align-self: end; margin-bottom: 8px; }
.lottery-none-pool { display: flex; align-items: center; gap: 24px; padding: 20px; margin-top: 24px; background: var(--surface-secondary, #f7f7f5); border-radius: 12px; }
.lottery-none-pool .form-field { flex: 0 0 150px; gap: 8px; margin: 0; }
.lottery-none-pool p { color: var(--text-secondary); font-size: 13px; line-height: 1.7; margin: 0; }
.lottery-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lottery-toolbar { display: flex; flex-wrap: wrap; gap: 12px; padding: 22px; }
.lottery-toolbar select, .lottery-toolbar input { max-width: 210px; }
.lottery-address { padding: 0 28px; line-height: 1.8; word-break: break-word; }
progress { width: 140px; height: 7px; accent-color: #963d32; }
#lottery-pool-total { margin-top: 16px; }
@media(max-width:1100px) { .lottery-prize-row { grid-template-columns: 1fr 1fr; } .lottery-editor { padding:20px; } }
@media(max-width:600px) { .lottery-none-pool { align-items: stretch; flex-direction: column; gap: 12px; } .lottery-none-pool .form-field { flex-basis: auto; } }

.lottery-shipping-option { display:flex; align-items:center; gap:8px; white-space:nowrap; font-size:13px; color:var(--text-secondary); }
.lottery-prize-row .lottery-shipping-option input { width:16px; height:16px; min-height:0; accent-color:var(--accent); }

.user-identity { display:flex; align-items:center; gap:12px; min-width:150px; }
.user-avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.user-avatar-empty { display:grid; place-items:center; background:#f2ece4; color:#a18d78; font-size:16px; }

.login-filing { grid-column: 1 / -1; padding: 8px 20px; background: white; }
.workspace-footer .site-filing { flex-basis: 100%; }
