:root {
  --bg: #f5f7fa;
  --surface: #fff;
  --text: #202a3c;
  --muted: #8590a3;
  --line: #e9edf3;
  --primary: #3766dc;
  --primary-hover: #2856c8;
  --green: #29a88b;
  --sidebar: #172238;
  --sidebar-muted: #8998b3;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .52; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #a9c2ff; outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: #7f9ee8; box-shadow: 0 0 0 3px #3766dc12; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.muted { color: var(--muted); }
.mono { font-family: "Cascadia Code", Consolas, monospace; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.65px; color: #8c98ac; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 20px; font-weight: 650; letter-spacing: 1px; line-height: 1.25; }
.brand-mark { width: 42px; height: 42px; display: block; flex-shrink: 0; object-fit: contain; }
.brand-name { white-space: nowrap; }
.brand-subtitle { display: block; font-size: 10px; font-weight: 400; letter-spacing: 2.1px; opacity: .56; margin-top: 5px; }
.button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 40px; border: 1px solid transparent; border-radius: 7px; padding: 9px 16px; font-size: 13px; font-weight: 550; line-height: 20px; white-space: nowrap; transition: background .16s, border-color .16s, box-shadow .16s; }
.button .icon { width: 17px; height: 17px; }
.button.primary { background: var(--primary); color: #fff; box-shadow: 0 2px 4px #3766dc10; }
.button.primary:hover:not(:disabled) { background: var(--primary-hover); }
.button.secondary { border-color: #dfe5ee; background: #fff; color: #59677e; }
.button.secondary:hover:not(:disabled) { background: #f7f9fd; border-color: #cbd5e6; }
.button.danger { background: #cf494c; color: #fff; }
.button.danger:hover:not(:disabled) { background: #b7393d; }
.button.small { min-height: 32px; padding: 5px 12px; font-size: 12px; }
.text-button { padding: 2px 0; background: none; border: 0; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; white-space: nowrap; }
.text-button:hover { color: #2149ad; }
.text-button .icon { width: 15px; height: 15px; }
.icon-button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 0; background: none; color: #8894a8; border-radius: 7px; padding: 0; }
.icon-button:hover:not(:disabled) { color: var(--primary); background: #edf2fc; }
.icon-button .icon { width: 18px; height: 18px; }
.status-dot { width: 6px; height: 6px; display: inline-block; background: #5dc8ac; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px #5dc8ac13; }
.spinner { width: 18px; height: 18px; display: inline-block; vertical-align: middle; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot-screen { min-height: 100vh; display: flex; gap: 20px; align-items: center; justify-content: center; flex-direction: column; color: #8090ab; font-size: 13px; }
.boot-screen .brand-mark { width: 54px; height: 54px; }
.boot-screen .spinner { margin-top: 14px; color: #6d8fdf; }

/* 管理员入口 */
.login-screen { min-height: 100vh; display: grid; grid-template-columns: 49% 51%; background: #fff; }
.login-story { min-height: 100vh; padding: 46px 10.5% 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: #19273e; color: #fff; }
.login-story::before { content: ""; width: 600px; height: 600px; position: absolute; bottom: -230px; left: -210px; border-radius: 50%; background: radial-gradient(circle, #284f6e70 0, transparent 70%); pointer-events: none; }
.login-story .brand { position: relative; z-index: 1; }
.login-story-copy { position: relative; z-index: 1; padding: 70px 0 0; }
.login-story-copy .eyebrow { color: #86a4cc; font-size: 10px; letter-spacing: 2.6px; margin-bottom: 25px; }
.login-story h1 { font-size: clamp(32px, 3.15vw, 49px); font-weight: 550; line-height: 1.55; letter-spacing: 2px; }
.login-intro { color: #9baec8; line-height: 2; margin-top: 21px; font-size: 13px; }
.login-story-foot { position: relative; z-index: 1; font-size: 10px; letter-spacing: 1px; color: #7185a3; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.login-story-foot > span { font-size: 9px; }
.login-art { height: 245px; position: relative; margin: 20px 0 10px; width: 350px; max-width: 100%; }
.art-orbit { position: absolute; border: 1px solid #4e73923b; border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 320px; height: 150px; left: -12px; top: 53px; }
.orbit-two { width: 250px; height: 205px; left: 25px; top: 25px; transform: rotate(29deg); }
.art-key { position: absolute; top: 65px; left: 105px; width: 101px; height: 101px; border: 1px solid #6b93c447; border-radius: 28px; background: linear-gradient(140deg, #355d895c, #254165a3); box-shadow: 0 24px 50px #05132836; transform: rotate(-10deg); display: grid; place-items: center; }
.art-key .icon { color: #8bb5e6; width: 45px; height: 45px; stroke-width: 1.2; }
.art-badge { position: absolute; top: 168px; left: 120px; background: #283e53; border: 1px solid #4d7c7b70; padding: 9px 14px; color: #a6d8d0; font-size: 10px; letter-spacing: .7px; border-radius: 7px; box-shadow: 0 8px 30px #0a172430; white-space: nowrap; }
.art-badge .status-dot { margin-right: 7px; }
.art-mini { width: 42px; height: 42px; border-radius: 13px; background: #284b5c; border: 1px solid #416a7575; position: absolute; left: 25px; top: 110px; display: grid; place-items: center; color: #77b9af; transform: rotate(9deg); }
.login-form-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 70px 36px; position: relative; }
.login-form-inner { width: 355px; max-width: 100%; margin-top: -36px; }
.section-kicker { color: var(--primary); font-size: 12px; font-weight: 550; display: inline-block; border-left: 3px solid var(--primary); padding-left: 10px; line-height: 1.2; margin-bottom: 18px; }
.login-form-inner h2 { font-size: 30px; font-weight: 600; letter-spacing: 1px; margin-bottom: 8px; }
.login-form-inner > .muted { font-size: 13px; }
#login-form { margin-top: 34px; }
#login-form .field { margin-bottom: 22px; }
#login-form input { min-height: 46px; }
.login-submit { width: 100%; justify-content: space-between; min-height: 46px; margin-top: 9px; padding: 11px 18px; }
.login-help { margin-top: 22px; color: #a0a9b7; font-size: 11px; display: flex; align-items: center; gap: 7px; }
.login-help .icon { width: 13px; height: 13px; }
.login-bottom { position: absolute; bottom: 30px; font-size: 11px; color: #a0a9b7; letter-spacing: .5px; }
.login-bottom > span { padding: 0 9px; }

/* 工作台结构 */
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 224px; position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; flex-direction: column; background: var(--sidebar); padding: 32px 18px 22px; }
.sidebar .brand { margin: 0 11px 43px; }
.sidebar .brand-mark { width: 37px; height: 37px; }
.sidebar .brand { font-size: 18px; gap: 11px; }
.sidebar .brand-subtitle { font-size: 9px; margin-top: 5px; }
.sidebar-label { margin: 0 15px 13px; color: #60728e; font-size: 10px; letter-spacing: 2px; }
.nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item { width: 100%; min-height: 45px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 7px; background: transparent; padding: 11px 15px; color: #a2b0c7; font-size: 13px; text-align: left; }
.nav-item .icon { width: 18px; height: 18px; opacity: .85; }
.nav-item:hover { background: #ffffff05; color: #d9e3f3; }
.nav-item.active { background: #2d4e84; color: #f4f7ff; position: relative; }
.nav-item.active::before { content: ""; position: absolute; left: -18px; height: 20px; width: 3px; background: #6295fe; border-radius: 0 3px 3px 0; }
.nav-item.active .icon { opacity: 1; }
.nav-count { font-size: 10px; margin-left: auto; color: #8da2c3; border: 1px solid #8da2c328; border-radius: 4px; min-width: 24px; padding: 0 4px; text-align: center; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid #a0b5d316; padding: 20px 10px 0; }
.service-label { display: flex; align-items: center; gap: 8px; color: #b8c4d8; font-size: 11px; }
.service-label .version { color: #7185a3; font-size: 9px; margin-left: auto; }
.sidebar-bottom p { color: #60738f; font-size: 10px; margin-top: 10px; letter-spacing: .25px; }
.workspace { margin-left: 224px; min-width: 0; width: calc(100% - 224px); }
.topbar { height: 70px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 36px; background: #fff; gap: 15px; }
.breadcrumb { display: flex; gap: 13px; align-items: center; font-size: 12px; }
.breadcrumb-root { color: #9aa4b4; }
.breadcrumb-divider { color: #d1d7e1; }
#breadcrumb-page { color: #58677c; }
.account-area { display: flex; align-items: center; gap: 11px; font-size: 12px; color: #66748a; }
.account-avatar { width: 29px; height: 29px; border-radius: 50%; background: #eef2fc; display: grid; place-items: center; font-size: 10px; color: #6d87b4; }
.account-link { color: #909aaa; font-size: 11px; margin-left: 9px; }
.account-divider { width: 1px; height: 14px; background: #e9edf3; margin-left: 3px; }
.mobile-menu { display: none; }
.main-content { padding: 32px 36px 0; margin: 0 auto; max-width: 1640px; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 29px; }
.page-header h1 { font-size: 25px; font-weight: 650; margin-top: 5px; letter-spacing: .5px; }
.page-description { margin-top: 7px; color: #8a95a7; font-size: 12px; }
.page-header .button { margin-top: 11px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; min-height: 30px; }
.section-caption { font-size: 13px; font-weight: 550; color: #53617a; }
.section-meta { display: flex; align-items: center; gap: 8px; color: #9aa5b6; font-size: 10px; }
.section-meta .icon-button { height: 27px; width: 27px; }
.section-meta .icon { height: 14px; width: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 25px; }
.stat-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px 17px 15px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: #738199; }
.stat-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: #a4b9f2; background: #ffffff12; }
.stat-icon .icon { width: 15px; height: 15px; }
.stat-icon.green { color: #34a78b; background: #edf8f5; }
.stat-icon.blue { color: #6386d7; background: #f0f4fd; }
.stat-icon.amber { color: #c6a061; background: #faf5ea; }
.stat-icon.gray { color: #94a1b7; background: #f3f5f8; }
.stat-icon.violet { color: #9280c6; background: #f5f1fb; }
.stat-card > strong { display: block; font-family: "Segoe UI", sans-serif; font-size: 29px; line-height: 1.2; font-weight: 600; margin-top: 16px; color: #2c3b54; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.stat-card > p { font-size: 10px; color: #a0a9b8; margin-top: 10px; white-space: nowrap; }
.stat-featured { background: #3863c9; border-color: #3863c9; box-shadow: 0 6px 18px #3863c912; }
.stat-featured .stat-top { color: #d4dffa; }
.stat-featured > strong { color: #fff; }
.stat-featured > p { color: #b1c4f1; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.panel-heading { padding: 22px 23px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-heading h2 { font-size: 14px; font-weight: 600; color: #3a4861; }
.panel-heading p { font-size: 10px; margin-top: 5px; color: #98a2b2; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr); gap: 21px; }
.recent-panel .panel-heading { padding-bottom: 21px; }
.data-table { width: 100%; border-collapse: collapse; border-spacing: 0; text-align: left; font-size: 12px; }
.data-table th { background: #fafbfd; color: #96a0b1; font-size: 10px; font-weight: 500; white-space: nowrap; padding: 12px 20px; border-top: 1px solid #f1f3f7; border-bottom: 1px solid #eff2f7; }
.data-table td { padding: 17px 20px; color: #637189; border-bottom: 1px solid #f1f3f7; height: 64px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfcff; }
.compact-table th { padding: 12px 23px; }
.compact-table td { padding: 18px 23px; height: 65px; font-size: 11px; }
.compact-table td:first-child { color: #53647f; }
.compact-table td:last-child { font-size: 10px; color: #98a3b5; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; padding: 3px 8px; font-size: 10px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.badge.active { background: #edf8f3; color: #39a387; }
.badge.unused { background: #eff3fd; color: #6386cc; }
.badge.expired { background: #fbf5e9; color: #b79250; }
.badge.disabled { background: #f1f3f6; color: #929dad; }
.distribution { padding: 6px 23px 12px; display: flex; flex-direction: column; gap: 23px; }
.distribution-row > div { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 11px; color: #7a879b; }
.distribution-row > div > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.distribution-row > div > span:last-child { font-family: "Segoe UI", sans-serif; font-size: 11px; color: #728199; font-variant-numeric: tabular-nums; }
.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: #29a88b; }
.legend-dot.blue { background: #6b91e0; }
.legend-dot.amber { background: #d8b86d; }
.legend-dot.gray { background: #b3bfd0; }
progress { appearance: none; -webkit-appearance: none; width: 100%; height: 5px; border: 0; border-radius: 8px; background: #f1f4f9; overflow: hidden; display: block; }
progress::-webkit-progress-bar { background: #f1f4f9; border-radius: 8px; }
progress::-webkit-progress-value { background: #4eb89f; border-radius: 8px; }
progress.blue::-webkit-progress-value { background: #7c9ee8; }
progress.amber::-webkit-progress-value { background: #d8b86d; }
progress.gray::-webkit-progress-value { background: #b3bfd0; }
progress::-moz-progress-bar { background: #4eb89f; border-radius: 8px; }
progress.blue::-moz-progress-bar { background: #7c9ee8; }
progress.amber::-moz-progress-bar { background: #d8b86d; }
progress.gray::-moz-progress-bar { background: #b3bfd0; }
.panel-footnote { margin: 14px 23px 20px; padding-top: 15px; border-top: 1px dashed #e8edf3; font-size: 9px; color: #a1aaba; }
.guide-banner { margin-top: 21px; border: 1px solid #e4eaf6; background: #f0f4fb; border-radius: var(--radius); padding: 22px 24px; display: flex; align-items: center; gap: 15px; }
.guide-icon { width: 40px; height: 40px; flex-shrink: 0; background: #e6edfb; border-radius: 10px; display: grid; place-items: center; color: #7a98d4; }
.guide-icon .icon { width: 21px; height: 21px; }
.guide-banner strong { font-size: 12px; color: #61789f; font-weight: 550; }
.guide-banner p { font-size: 10px; color: #8d9bb0; margin-top: 4px; }
.guide-banner > .text-button { margin-left: auto; color: #6685bd; font-size: 11px; padding-left: 15px; }
.workspace-footer { border-top: 1px solid #e8edf3; display: flex; justify-content: space-between; color: #b0b9c7; font-size: 9px; margin-top: 35px; padding: 19px 0 22px; letter-spacing: .6px; }

/* 卡密及记录 */
.panel-toolbar { padding: 20px 21px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-form { display: flex; gap: 9px; min-width: 0; }
.search-input { position: relative; display: block; width: 300px; max-width: 100%; }
.search-input .icon { width: 15px; height: 15px; position: absolute; left: 12px; top: 12px; color: #9ba6b8; }
.search-input input { width: 100%; padding-left: 36px; height: 39px; font-size: 12px; }
.filter-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.filter-group > label { font-size: 11px; color: #8d98a9; }
.filter-group select { min-width: 116px; height: 39px; font-size: 12px; }
.table-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #dce3ee transparent; }
.license-table { min-width: 1020px; }
.license-table th, .license-table td { padding-left: 17px; padding-right: 17px; }
.license-table td { font-size: 11px; height: 79px; }
.license-table th:first-child, .license-table td:first-child { padding-left: 23px; }
.license-table th:last-child, .license-table td:last-child { padding-right: 23px; }
.cell-primary { display: block; color: #4b5e7c; font-size: 11px; white-space: nowrap; }
.cell-secondary { display: block; font-size: 9px; color: #a0aabd; margin-top: 5px; white-space: nowrap; }
.cell-note { width: 160px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.platform-tags { display: flex; gap: 4px; flex-wrap: wrap; max-width: 145px; }
.platform-tag { font-size: 9px; padding: 1px 5px; border: 1px solid #e9edf4; border-radius: 3px; color: #8997ad; background: #fafbfd; white-space: nowrap; }
.align-right { text-align: right; }
.manage-button { min-height: 29px; padding: 4px 10px; font-size: 10px; border-color: #e0e8f8; color: #6984b9; }
.table-footer { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; gap: 15px; border-top: 1px solid #f0f3f7; font-size: 11px; color: #95a1b4; }
.pagination { display: flex; gap: 13px; align-items: center; }
.pagination > span { min-width: 50px; text-align: center; font-size: 11px; }
.below-table { display: flex; align-items: flex-start; gap: 7px; margin-top: 17px; color: #9aa6ba; font-size: 10px; }
.below-table .icon { width: 14px; height: 14px; margin-top: 1px; }
.audit-table { min-width: 700px; }
.audit-table td { font-size: 11px; }
.audit-table td:first-child { width: 178px; color: #8c99ac; white-space: nowrap; font-variant-numeric: tabular-nums; }
.audit-table td:nth-child(2) { width: 150px; }
.audit-table td:nth-child(3) { width: 160px; word-break: break-word; }
.audit-table td:last-child { max-width: 500px; overflow-wrap: anywhere; }
.audit-action { background: #f1f4f9; color: #7589a7; border-radius: 5px; padding: 4px 8px; font-size: 10px; white-space: nowrap; }
.table-empty { text-align: center; padding: 52px 20px !important; height: 245px !important; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-state > .icon { width: 35px; height: 35px; color: #c5d0e3; margin-bottom: 7px; stroke-width: 1.2; }
.empty-state strong { font-size: 12px; font-weight: 500; color: #8191ab; }
.empty-state p { font-size: 10px; color: #adb7c8; }
.table-loading { height: 245px !important; text-align: center; color: #8d9eb9 !important; }
.table-loading .spinner { width: 16px; height: 16px; margin-right: 8px; }
.view-section[aria-busy="true"] .stat-card > strong { opacity: .5; }

/* 通用表单与弹窗 */
input:not([type="checkbox"]):not([type="radio"]), select, textarea { border: 1px solid #dfe5ee; border-radius: 7px; padding: 10px 12px; background: #fff; color: #44556d; min-width: 0; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #b1bac8; font-size: 12px; }
input:disabled, select:disabled, textarea:disabled { background: #f7f9fc; color: #a0aabc; }
input[type="number"] { font-variant-numeric: tabular-nums; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); width: 15px; height: 15px; margin: 0; flex-shrink: 0; }
select { padding: 9px 30px 9px 11px; }
textarea { resize: vertical; }
.field { display: flex; flex-direction: column; gap: 8px; color: #66748b; font-size: 12px; margin-bottom: 20px; }
.field > span:first-child { font-weight: 500; }
.field > input, .field > select, .field > textarea { width: 100%; }
.field small, .field-hint { color: #99a4b7; font-size: 10px; font-weight: 400; line-height: 1.7; }
.field > small { margin-top: -2px; }
.field-group { border: 0; padding: 0; margin: 0 0 23px; min-width: 0; }
.field-group > legend { padding: 0; margin-bottom: 11px; font-weight: 500; color: #66748b; font-size: 12px; }
.legend-optional { color: #a2adbe; margin-left: 5px; font-size: 10px; font-weight: 400; }
.input-affix { position: relative; display: flex; align-items: center; width: 100%; }
.input-affix > input { width: 100%; padding-right: 38px !important; }
.input-affix > span { position: absolute; right: 15px; font-size: 11px; color: #a2adbf; pointer-events: none; }
.inline-field { flex-direction: row; align-items: center; margin: 14px 0 5px; gap: 13px; }
.inline-field .input-affix { width: 154px; }
.inline-field > span { width: 74px; font-size: 11px; }
.form-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.notice { display: flex; align-items: flex-start; gap: 9px; border-radius: 7px; border: 1px solid; padding: 11px 13px; font-size: 11px; line-height: 1.85; margin-bottom: 19px; overflow-wrap: anywhere; }
.notice .icon { width: 16px; height: 16px; margin-top: 2px; }
.notice.error { background: #fff4f3; border-color: #f9d9d5; color: #bd5f59; }
.notice.info { background: #f1f6ff; border-color: #dce8fb; color: #6f89b1; }
.notice.warning { background: #fffbf1; border-color: #f3e7c5; color: #a9915a; }
.global-notice { margin-top: -7px; }
.login-form-inner > .notice { margin-top: 20px; margin-bottom: -10px; }
.modal { width: min(96vw, 660px); max-height: calc(100dvh - 44px); padding: 0; border: 1px solid #e9edf3; border-radius: 15px; box-shadow: 0 30px 90px #1722382b; color: var(--text); background: #fff; overflow-y: auto; scrollbar-width: thin; }
.modal::backdrop { background: #14203965; backdrop-filter: blur(3px); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 25px 28px 21px; border-bottom: 1px solid #edf1f6; }
.modal-header .eyebrow { font-size: 9px; letter-spacing: 1.7px; margin-bottom: 6px; }
.modal-header h2 { font-size: 19px; font-weight: 600; letter-spacing: .4px; }
.modal-header p:not(.eyebrow) { font-size: 11px; color: #9ba6b7; margin-top: 7px; }
.modal-header .icon-button { margin-top: -4px; margin-right: -7px; }
.modal-body { padding: 24px 28px 2px; }
.modal-footer { padding: 18px 28px; border-top: 1px solid #edf1f6; background: #fcfdff; display: flex; align-items: center; justify-content: flex-end; gap: 9px; position: sticky; bottom: 0; z-index: 1; }
.footer-note { margin-right: auto; color: #a0aabb; display: flex; align-items: center; gap: 6px; font-size: 10px; }
.footer-note .icon { width: 13px; height: 13px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: #f4f6fa; padding: 4px; border-radius: 8px; gap: 4px; margin-bottom: 15px; }
.segmented label { display: block; text-align: center; cursor: pointer; position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; border-radius: 5px; color: #929fb3; padding: 7px; font-size: 11px; border: 1px solid transparent; }
.segmented input:checked + span { background: #fff; color: #5a7ac0; border-color: #e8edf6; box-shadow: 0 1px 3px #20305205; }
.segmented input:focus-visible + span { outline: 3px solid #a9c2ff; }
.template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.template-button { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; border: 1px solid #e5eaf2; border-radius: 7px; background: #fff; padding: 10px 13px; }
.template-button strong { font-size: 12px; font-weight: 500; color: #677995; }
.template-button span { font-size: 10px; color: #9da9bb; }
.template-button.selected { border-color: #8ba9ee; background: #f4f7ff; }
.template-button.selected strong { color: #4d73c7; }
.template-button.selected span { color: #8b9fc8; }
.template-button:hover { border-color: #a8bdec; }
.platform-selection { display: flex; gap: 8px; flex-wrap: wrap; }
.checkbox-pill { position: relative; display: block; cursor: pointer; }
.checkbox-pill input { position: absolute; opacity: 0; }
.checkbox-pill span { display: flex; align-items: center; justify-content: center; min-height: 33px; min-width: 66px; padding: 6px 12px; border: 1px solid #e4eaf2; border-radius: 6px; font-size: 11px; color: #9ca8b9; }
.checkbox-pill input:checked + span { background: #f2f6ff; border-color: #c3d4f6; color: #6a88c5; }
.checkbox-pill input:focus-visible + span { outline: 3px solid #a9c2ff; outline-offset: 2px; }
.platform-shortcuts { display: flex; gap: 8px; align-items: center; margin-top: 9px; color: #ccd3df; }
.platform-shortcuts .text-button { font-size: 10px; color: #91a3c0; }
.platform-fieldset { margin-bottom: 19px; }
.result-modal { width: min(94vw, 600px); }
.result-modal .modal-header { padding-top: 28px; }
.result-modal .modal-header h2 { margin-top: 13px; }
.success-symbol { width: 38px; height: 38px; background: #edf9f4; color: #35a68a; border-radius: 50%; display: grid; place-items: center; }
.card-output { font-family: "Cascadia Code", Consolas, monospace; font-size: 12px; line-height: 2.3; letter-spacing: .3px; background: #f8faff !important; min-height: 110px; max-height: 310px; }
.result-actions { display: flex; gap: 9px; margin-top: -3px; margin-bottom: 23px; }
.save-confirm { display: flex; gap: 9px; align-items: center; font-size: 11px; color: #8190a7; margin-bottom: 23px; cursor: pointer; }
.action-modal, .password-modal { width: min(94vw, 490px); }
.action-modal #action-card { color: #8798b3; font-size: 11px; }
.card-facts { display: grid; grid-template-columns: 80px 1fr; row-gap: 10px; padding: 16px 18px; margin: 0 0 23px; border: 1px solid #eaf0f8; border-radius: 8px; background: #fafcff; font-size: 11px; }
.card-facts dt { color: #a1acc0; }
.card-facts dd { color: #71839f; margin: 0; overflow-wrap: anywhere; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 100; max-width: calc(100vw - 30px); border: 1px solid #dce9e3; background: #fff; color: #648878; border-radius: 9px; box-shadow: 0 8px 35px #152e3520; display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 13px 20px; }
.toast .icon { color: #45ac8a; width: 17px; height: 17px; }
.noscript-message { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; color: #64748b; }
.nav-scrim { position: fixed; inset: 0; border: 0; background: #17223870; z-index: 25; }

@media (min-width: 1500px) { .main-content { padding-top: 40px; } .stat-card { padding: 22px; } .stat-card > strong { font-size: 32px; margin-top: 20px; } .stat-card > p { margin-top: 13px; } .stats-grid { margin-bottom: 29px; } .overview-grid { gap: 25px; } .compact-table td { height: 72px; } .panel-footnote { margin-top: 30px; } .distribution { gap: 27px; padding-top: 12px; } }
@media (max-width: 1270px) { .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; } .stat-card { padding: 15px 18px; } .stat-card > strong { margin-top: 10px; } .stat-card > p { margin-top: 7px; } .overview-grid { grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr); gap: 17px; } .compact-table th, .compact-table td { padding-left: 15px; padding-right: 15px; } .compact-table th:last-child, .compact-table td:last-child { display: none; } .search-input { width: 265px; } }
@media (max-width: 1080px) { .sidebar { width: 200px; padding-left: 14px; padding-right: 14px; } .sidebar .brand { margin-left: 9px; } .workspace { margin-left: 200px; width: calc(100% - 200px); } .main-content { padding-left: 25px; padding-right: 25px; } .topbar { padding-left: 25px; padding-right: 25px; } .nav-item.active::before { left: -14px; } .sidebar .brand { gap: 9px; } .sidebar .brand-subtitle { letter-spacing: 1px; } .overview-grid { grid-template-columns: minmax(0, 1.4fr) minmax(225px, 1fr); gap: 14px; } .panel-heading { padding-left: 18px; padding-right: 18px; } .distribution { padding-left: 18px; padding-right: 18px; } .panel-footnote { margin-left: 18px; margin-right: 18px; } .panel-toolbar { flex-wrap: wrap; gap: 14px; } .search-form { flex: 1; } .search-input { width: 100%; } .guide-banner { padding-left: 18px; padding-right: 18px; } .guide-banner > .text-button { padding-left: 0; } .guide-banner p { max-width: 300px; } .login-story { padding-left: 9%; padding-right: 9%; } }
@media (max-width: 880px) { .overview-grid { grid-template-columns: 1fr; } .distribution { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 30px; } .panel-footnote { margin-top: 13px; } .compact-table th:last-child, .compact-table td:last-child { display: table-cell; } .account-link { margin-left: 2px; } .account-area { gap: 7px; } .breadcrumb { gap: 8px; } .login-story { padding-left: 8%; padding-right: 8%; } .login-story h1 { font-size: 32px; letter-spacing: 1px; } .login-art { transform: scale(.85); transform-origin: left center; } .login-story-foot > span { display: none; } .login-form-wrap { padding-left: 28px; padding-right: 28px; } }
@media (max-width: 700px) { .sidebar { width: 224px; transform: translateX(-100%); transition: transform .2s ease; padding-left: 18px; padding-right: 18px; } .sidebar.open { transform: translateX(0); } .sidebar .brand { margin-left: 11px; } .nav-item.active::before { left: -18px; } .workspace { width: 100%; margin-left: 0; } .mobile-menu { display: inline-flex; margin-left: -7px; margin-right: 1px; } .topbar { height: 61px; padding: 0 20px; } .breadcrumb-root, .breadcrumb-divider { display: none; } .account-area { gap: 8px; } .account-avatar { width: 27px; height: 27px; } .account-link { font-size: 10px; } .account-divider { display: none; } .main-content { padding: 25px 20px 0; } .page-header { align-items: flex-start; margin-bottom: 22px; gap: 10px; } .page-header h1 { font-size: 23px; } .page-header .eyebrow { font-size: 8px; } .page-description { font-size: 11px; margin-top: 6px; max-width: 235px; } .page-header .button { margin-top: 16px; min-height: 36px; padding: 7px 11px; font-size: 11px; gap: 5px; } .page-header .button .icon { width: 15px; height: 15px; } .stats-grid { gap: 10px; margin-bottom: 20px; } .stat-card { padding: 13px 13px 12px; border-radius: 9px; } .stat-top { font-size: 11px; gap: 4px; } .stat-icon { width: 23px; height: 23px; border-radius: 6px; } .stat-icon .icon { width: 13px; height: 13px; } .stat-card > strong { font-size: 26px; margin-top: 12px; } .stat-card > p { font-size: 8px; margin-top: 8px; } .section-caption { font-size: 12px; } .section-meta { font-size: 9px; } .guide-banner { padding: 18px; gap: 12px; align-items: flex-start; flex-wrap: wrap; } .guide-banner > div { flex: 1; } .guide-banner p { max-width: none; line-height: 1.8; } .guide-banner strong { font-size: 11px; } .guide-banner > .text-button { margin-left: 52px; margin-top: -2px; } .guide-icon { width: 37px; height: 37px; } .compact-table th, .compact-table td { padding-left: 16px; padding-right: 16px; } .compact-table td { font-size: 10px; } .compact-table td:last-child { font-size: 9px; } .compact-table th { font-size: 9px; } .panel-heading { padding: 18px 18px 15px; } .panel-heading h2 { font-size: 13px; } .recent-panel .panel-heading { padding-bottom: 17px; } .panel-toolbar { padding: 17px; gap: 12px; } .search-form { flex-basis: 100%; } .filter-group { width: 100%; justify-content: flex-start; } .filter-group select { flex: 1; } .filter-group .icon-button { margin-left: auto; } .table-footer { padding: 15px 16px; gap: 10px; font-size: 10px; } .pagination { gap: 8px; } .pagination .button { padding-left: 9px; padding-right: 9px; font-size: 10px; } .pagination > span { font-size: 10px; min-width: 44px; } .below-table { font-size: 9px; line-height: 1.8; } .workspace-footer { margin-top: 27px; font-size: 8px; } .modal { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; } .modal-header { padding: 21px 21px 18px; } .modal-header h2 { font-size: 18px; } .modal-header p:not(.eyebrow) { font-size: 10px; } .modal-body { padding: 20px 21px 0; } .modal-footer { padding: 15px 21px; gap: 8px; } .modal-footer .button { padding-left: 13px; padding-right: 13px; font-size: 12px; } .footer-note { font-size: 9px; gap: 4px; } .form-two-columns { gap: 15px; } .template-button { padding: 10px 11px; } .template-grid { gap: 7px; } .template-button strong { font-size: 11px; } .checkbox-pill span { min-width: 62px; } .login-screen { grid-template-columns: 1fr; } .login-story { min-height: auto; padding: 27px 28px 28px; } .login-story-copy { padding-top: 32px; } .login-story-copy .eyebrow { font-size: 8px; margin-bottom: 15px; } .login-story h1 { font-size: 28px; line-height: 1.4; } .login-story h1 br { display: none; } .login-intro { font-size: 11px; margin-top: 11px; } .login-intro br { display: none; } .login-art, .login-story-foot { display: none; } .login-story .brand-mark { width: 33px; height: 33px; } .login-story .brand { font-size: 18px; gap: 9px; } .login-story .brand-subtitle { font-size: 8px; margin-top: 3px; } .login-form-wrap { min-height: 0; padding: 45px 30px 75px; } .login-form-inner { margin-top: 0; width: 400px; } .login-form-inner h2 { font-size: 26px; } .login-bottom { bottom: 22px; font-size: 9px; } #login-form { margin-top: 28px; } .login-help { font-size: 10px; } }
@media (max-width: 390px) { .main-content { padding-left: 15px; padding-right: 15px; } .topbar { padding-left: 15px; padding-right: 15px; } .stats-grid { gap: 7px; } .stat-card { padding: 11px 10px; } .stat-icon { width: 20px; height: 20px; } .stat-top { font-size: 10px; } .stat-card > p { font-size: 8px; } .stat-card > strong { font-size: 24px; } .compact-table th:last-child, .compact-table td:last-child { display: none; } #account-name { max-width: 60px; overflow: hidden; text-overflow: ellipsis; } .page-description { max-width: 200px; } .distribution { column-gap: 20px; } .template-grid { gap: 5px; } .template-button { padding: 9px; } .result-actions .button { font-size: 11px; padding-left: 10px; padding-right: 10px; } .footer-note { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
