/* RyomenX console: shared presentation over the existing management controls. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface2: #f4f6f8;
  --line: #e6e9ef;
  --text: #1c293c;
  --muted: #758196;
  --text-muted: #758196;
  --accent: #138a79;
  --green: #138a79;
  --sidebar: #152235;
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
body { font-size: 14px; line-height: 1.5; background: var(--bg); }
h1, h2, h3 { color: var(--text); }
h1 { font-size: 30px; line-height: 1.2; font-weight: 680; letter-spacing: -1.1px; }
h2 { font-size: 18px; font-weight: 650; letter-spacing: -.45px; }
h3 { font-size: 15px; font-weight: 650; }
p { line-height: 1.65; }
button, input, select, textarea { font-size: 14px; }
button { transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
button:disabled { opacity: .5; }
input, select, textarea { color: var(--text); background: #fff; border: 1px solid #dce1e9; border-radius: 8px; padding: 11px 13px; }
input::placeholder, textarea::placeholder { color: #9aa3b2; }
input:focus, select:focus, textarea:focus { border-color: #138a79; box-shadow: 0 0 0 3px #138a7912; }
label { color: #445169; font-size: 13px; font-weight: 550; gap: 8px; }
small, .muted { color: var(--muted); }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #8390a4; }
.primary, .secondary { min-height: 42px; gap: 8px; border-radius: 8px; padding: 11px 17px; font-size: 13px; font-weight: 620; }
.primary { color: #fff; background: #138a79; box-shadow: 0 3px 5px #138a790c; }
.primary:hover { color: #fff; background: #107567; }
.secondary { color: #42506a; background: #fff; border: 1px solid #dce2ea; }
.secondary:hover { background: #f2f5f8; border-color: #bec8d6; }
.primary svg, .secondary svg, .text-button svg { width: 16px; height: 16px; flex: 0 0 auto; }
.small { padding: 8px 12px; min-height: 36px; font-size: 12px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #6b778a; padding: 8px 0; font-size: 12px; }
.text-button:hover { color: #138a79; background: transparent; }
.notice { background: #fff9eb; border: 1px solid #f0ddb2; color: #806025; padding: 14px 18px; border-radius: 10px; font-size: 13px; margin: 0 0 22px; }
.error { color: #c4454c; font-size: 13px; }
.orange { color: var(--accent); }
.green { color: #138a79; }
.global-progress-bar { background: #138a79; height: 3px; }
.workspace { display: flex; min-height: 100vh; }
.sidebar {
  width: 232px; padding: 30px 16px 18px; position: fixed; inset: 0 auto 0 0;
  background: var(--sidebar); border: 0; display: flex; flex-direction: column; z-index: 60;
  overflow-y: auto; overflow-x: hidden;
}
.brand.console-brand { color: #f6f8fc; display: flex; align-items: center; gap: 11px; letter-spacing: 0; text-decoration: none; font-size: 16px; line-height: 1.3; }
.sidebar .brand.console-brand { margin: 0 12px 43px; }
.console-mark { width: 36px; height: 38px; background: #e1f4ed; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 780; letter-spacing: -3px; color: #147664; padding-right: 2px; flex: 0 0 auto; }
.console-mark span { font-size: 16px; transform: translateY(4px); margin-left: 1px; }
.console-brand-text { font-weight: 700; letter-spacing: 1.1px; }
.console-brand-text small { display: block; color: #8390a7; font-size: 11px; font-weight: 450; margin-top: 4px; letter-spacing: .2px; }
.sidebar nav { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.sidebar-label { display: block; color: #6d7e97; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; margin: 0 14px 10px; }
.nav-section-label { margin-top: 25px; }
.sidebar .nav-item { display: flex; align-items: center; text-align: left; width: 100%; gap: 12px; padding: 12px 14px; border-radius: 7px; color: #9eabc0; border: 0; min-height: 45px; font-size: 13px; font-weight: 480; background: transparent; }
.sidebar .nav-item > span:first-child { font-size: inherit; width: 18px; display: flex; align-items: center; flex: 0 0 auto; }
.sidebar .nav-item svg { width: 18px; height: 18px; }
.sidebar .nav-item:hover { color: #e5edf9; background: #ffffff07; }
.sidebar .nav-item.active { background: #e8f4ee; color: #156e60; font-weight: 650; }
.nav-count { color: #9baac0; background: #ffffff0a; border: 0; font-size: 10px; padding: 1px 6px; border-radius: 4px; margin-left: auto; }
.nav-item.active .nav-count { color: #217f6d; background: #d3e9df; }
.nav-more { margin-top: 18px; }
.nav-more summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; color: #8b9bb3; font-size: 12px; cursor: pointer; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary > span { transition: transform .15s; }
.nav-more[open] summary > span { transform: rotate(180deg); }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.sidebar-help { margin: 0 5px 23px; border: 1px solid #ffffff0d; border-radius: 9px; padding: 15px 11px; display: flex; gap: 9px; background: #ffffff03; }
.sidebar-help-icon { border: 1px solid #617089; color: #9eacc1; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; margin-top: 2px; flex: 0 0 auto; }
.sidebar-help strong { color: #bbc6d6; font-size: 11px; font-weight: 550; }
.sidebar-help p { color: #7888a1; font-size: 10px; line-height: 1.7; margin-top: 5px; }
.protocol-badge { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #8497ae; margin: 0 15px 20px; letter-spacing: 0; }
.protocol-badge > span:last-child { display: inline; font-size: 10px; color: #8497ae; margin: 0; }
.status-dot, .tiny-dot { width: 6px; height: 6px; background: #2fa88c; margin-right: 3px; }
.status-dot.unavailable { background: #d09a45; }
.sidebar .profile { padding: 18px 8px 0; gap: 10px; border-top: 1px solid #ffffff0b; font-size: 11px; color: #d4dce8; }
.sidebar .profile small { color: #7486a1; font-size: 10px; margin-top: 2px; }
.sidebar .profile > svg { margin-left: auto; width: 15px; color: #7d8ea8; }
.owner-avatar { width: 32px; height: 32px; border-radius: 50%; background: #2b3b51; color: #b9c9df; display: grid; place-items: center; font-size: 13px; }
.main-shell { margin-left: 232px; min-width: 0; flex: 1; }
.topbar { height: 72px; padding: 0 38px; background: #ffffff; border-bottom: 1px solid var(--line); }
.topbar-left { display: flex; align-items: center; gap: 15px; }
.breadcrumb { color: #9ba5b5; font-size: 12px; }
.breadcrumb span { color: #d0d7e1; padding: 0 11px; }
.breadcrumb strong { color: #526078; font-weight: 550; }
.topbar-right { gap: 17px; }
.session-label { color: #8490a3; font-size: 11px; }
.environment { color: #758399; border-color: #e0e6ee; font-size: 9px; background: #f8fafc; padding: 4px 7px; }
.owner-mini { width: 32px; height: 32px; border-radius: 50%; color: #50716c; background: #e6f0ec; border: 1px solid #dbe8e1; font-size: 12px; }
.nav-toggle { display: none; background: transparent; padding: 6px; color: #465771; }
.sidebar-backdrop { display: none; }
main { max-width: 1520px; padding: 34px 38px 20px; margin: 0 auto; }
.page-heading { align-items: center; margin: 0 0 27px; gap: 15px; }
.page-heading .eyebrow { display: none; }
.page-heading p { font-size: 13px; color: #8791a3; margin-top: 9px; }
.main-footer { padding: 25px 0 0; margin-top: 20px; border: 0; color: #a6afbd; font-size: 9px; letter-spacing: .8px; }
.panel { color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 3px 5px #22354b02; overflow: hidden; }
.panel-heading { padding: 23px 24px 20px; border-bottom: 1px solid #edf0f4; gap: 14px; align-items: center; }
.panel-heading p { color: #8691a2; font-size: 12px; margin-top: 6px; }
.count-badge { color: #8190a4; background: #f0f3f6; font-size: 10px; font-weight: 600; border-radius: 5px; padding: 3px 6px; margin-left: 6px; }
.overview-welcome { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-radius: 13px; background: #eaf2ed; border: 1px solid #e1eae3; padding: 32px 35px; overflow: hidden; }
.welcome-copy .eyebrow { color: #669081; font-size: 9px; }
.welcome-copy h2 { margin-top: 11px; font-size: clamp(23px,2.3vw,31px); letter-spacing: -1px; font-weight: 620; color: #244f43; line-height: 1.2; }
.welcome-copy p { color: #7c9189; margin-top: 11px; font-size: 12px; line-height: 1.85; }
.welcome-actions { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.welcome-actions .primary { font-size: 12px; min-height: 39px; padding: 9px 15px; }
.welcome-find { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 550; color: #477466; background: transparent; }
.welcome-find svg { width: 15px; }
.welcome-key-graphic { width: 280px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.welcome-key-card { width: 246px; background: #ffffffb5; border: 1px solid #fff; border-radius: 11px; padding: 17px 20px; transform: rotate(-5deg); box-shadow: 0 12px 30px #6f998b18; }
.key-card-top, .key-card-bottom { display: flex; align-items: center; gap: 9px; }
.mini-mark { color: #1c7d68; font-size: 16px; font-weight: 750; letter-spacing: -1.4px; }
.key-card-top > span:nth-child(2) { font-size: 7px; color: #9caeaa; letter-spacing: 1.1px; }
.key-card-top i { width: 5px; height: 5px; background: #52af8d; border-radius: 50%; margin-left: auto; }
.key-card-line { border-top: 1px dashed #dce9e1; border-bottom: 1px dashed #dce9e1; margin: 12px 0 11px; padding: 15px 0; font-family: ui-monospace, Consolas, monospace; color: #407264; font-size: 14px; font-weight: 550; }
.key-card-line > span { letter-spacing: 2px; color: #a6bcb2; }
.key-card-bottom { justify-content: space-between; font-size: 6px; color: #a0b0a9; letter-spacing: .7px; }
.key-card-bottom svg { width: 14px; height: 14px; color: #9bb3a7; }
.key-graphic-note { font-size: 9px; color: #9bafa5; margin-top: 18px; }
.overview-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin: 22px 0; }
.overview-stat { display: flex; align-items: flex-start; gap: 15px; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 21px 22px; }
.stat-symbol { display: grid; place-items: center; width: 36px; height: 36px; color: #71839b; border: 1px solid #e5ebf1; background: #f7f9fb; border-radius: 9px; flex: 0 0 auto; }
.stat-symbol svg { width: 17px; height: 17px; }
.overview-stat > div { min-width: 0; display: grid; }
.overview-stat > div > span { font-size: 11px; color: #8a95a7; margin: 1px 0 6px; }
.overview-stat strong { font-size: 27px; line-height: 1.2; color: #2e3d51; font-weight: 620; letter-spacing: -.7px; }
.overview-stat strong.stat-word { font-size: 20px; line-height: 1.6; letter-spacing: -.45px; }
.overview-stat small { font-size: 10px; margin-top: 5px; color: #a0a9b7; }
.overview-search { display: flex; align-items: center; gap: 23px; padding: 15px 19px; border: 1px solid var(--line); background: #fff; border-radius: 10px; margin-bottom: 30px; }
.overview-search-heading { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.overview-search-heading svg { width: 17px; height: 17px; color: #7f8ca1; }
.overview-search-heading label { font-size: 12px; color: #69778c; font-weight: 500; }
.overview-search-field { display: flex; flex: 1; align-items: center; gap: 14px; min-width: 0; }
.overview-search-field input { flex: 1; min-width: 0; border: 0; box-shadow: none; background: #f7f9fb; font-size: 12px; padding: 10px 12px; }
.overview-search-field .secondary { min-height: 36px; padding: 8px 12px; font-size: 11px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.section-heading h2 { font-size: 17px; }
.section-heading p { font-size: 11px; color: #909baa; margin-top: 5px; }
.overview-projects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin-bottom: 28px; }
.overview-app-card { border: 1px solid var(--line); border-radius: 11px; padding: 21px 21px 16px; background: #fff; min-width: 0; }
.app-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.application-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: #f0f4f8; border: 1px solid #e8edf2; }
.application-icon img[src*="apple"] { filter: brightness(.55); }
.application-icon img { width: 21px; height: 21px; object-fit: contain; }
.app-card-top .status-pill { font-size: 9px; padding: 3px 7px; }
.overview-app-card h3 { font-size: 13px; font-weight: 630; letter-spacing: -.1px; }
.app-card-platform { color: #9ca6b6; font-size: 10px; margin-top: 3px; }
.app-card-metrics { display: flex; align-items: baseline; gap: 6px; margin: 21px 0 17px; }
.app-card-metrics strong { color: #3c4d63; font-size: 22px; font-weight: 600; letter-spacing: -.4px; }
.app-card-metrics span { font-size: 10px; color: #9aa5b6; }
.app-card-actions { border-top: 1px solid #edf0f4; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
.app-card-actions button { font-size: 11px; background: transparent; color: #7c8b9e; display: inline-flex; gap: 8px; align-items: center; padding: 4px 0; }
.app-card-actions button:first-child { color: #1c8a74; font-weight: 600; }
.app-card-actions button:hover { color: #155c50; }
.app-card-actions svg { width: 13px; height: 13px; }
.overview-bottom-grid { display: grid; grid-template-columns: minmax(0,2.5fr) minmax(220px,1fr); gap: 20px; align-items: stretch; }
.recent-panel .panel-heading { padding: 20px 21px 16px; }
.recent-panel h2 { font-size: 15px; }
.recent-panel .panel-heading p { font-size: 10px; }
.recent-panel td, .recent-panel th { padding: 13px 20px; }
.recent-panel .recent-customer { display: block; color: #536178; font-size: 11px; font-weight: 500; margin-bottom: 3px; }
.recent-panel code { font-size: 10px; color: #9aa5b5; background: none; padding: 0; }
.recent-project-name { color: #8995a6; font-size: 10px; }
.recent-panel .status-pill { font-size: 9px; padding: 3px 7px; }
.recent-open { border: 1px solid #e3e8ef; border-radius: 5px; color: #8492a5; background: white; width: 25px; height: 25px; display: grid; place-items: center; }
.recent-open svg { width: 13px; height: 13px; }
.quick-guide { border: 1px solid #e4e9ef; background: #edf1f5; border-radius: 11px; padding: 24px 23px; }
.quick-guide .eyebrow { font-size: 8px; color: #8c9aac; }
.quick-guide h3 { font-size: 21px; font-weight: 560; letter-spacing: -.6px; line-height: 1.35; margin-top: 11px; color: #51647e; }
.quick-guide > p { color: #91a0b2; font-size: 11px; margin-top: 12px; }
.quick-guide ol { list-style: none; padding: 0; margin: 19px 0 13px; display: grid; gap: 13px; }
.quick-guide li { color: #7c8ea3; display: flex; align-items: center; gap: 9px; font-size: 10px; }
.quick-guide li > span { display: grid; place-items: center; border: 1px solid #d7e0ea; width: 18px; height: 18px; border-radius: 50%; font-size: 8px; color: #91a1b5; }
.quick-guide li strong { font-weight: 600; }
.quick-guide .text-button { color: #7287a2; font-size: 11px; }
.status-pill { color: #21836b; background: #edf7f1; border: 1px solid #dfeee5; border-radius: 5px; font-size: 11px; font-weight: 500; padding: 4px 8px; white-space: nowrap; }
.status-pill.disabled, .status-pill.expired { color: #b06c72; background: #fdf1f1; border-color: #f4e0e1; }
.status-pill.pending { color: #ae8e4c; background: #fcf8eb; border-color: #f1e9d0; }
.table-toolbar, .unified-filter-toolbar { background: #fff; border-color: #edf0f4; padding: 18px 23px; }
.table-scroll { background: #fff; }
table { color: #58667b; font-size: 12px; }
thead { background: #f9fafc; }
th { color: #8b98aa; font-size: 9px; font-weight: 600; letter-spacing: .65px; background: #f9fafc; border-color: #edf0f4; padding: 13px 20px; }
td { color: #647188; border-color: #edf0f4; padding: 17px 20px; font-size: 12px; }
tbody tr:hover { background: #fbfcfd; }
tr.selected { background: #eef8f3 !important; }
.key { color: #344960; font-size: 12px; }
.note { color: #929fb0; font-size: 11px; margin-top: 5px; }
.row-action, .expiry-edit-btn { background: #fff; border: 1px solid #e0e6ed; color: #738298; font-size: 11px; border-radius: 5px; }
.row-action { padding: 7px 9px; }
.row-action:hover, .expiry-edit-btn:hover { background: #f0f5f7; border-color: #cbd7df; color: #314a60; }
.row-action.danger, .row-action.delete-btn { background: #fff; color: #b2787b; border-color: #eee0e1; }
.row-action.danger:hover, .row-action.delete-btn:hover { background: #fcf0f1; color: #a5444a; }
.danger-icon-btn { background: #fff5f5; border-color: #edcfd0; color: #ae555d; }
.expiry-date-text { color: #6e7f96; font-size: 11px; }
.table-empty { color: #8c9aad; font-size: 13px; padding: 36px 22px; }
.table-footer { padding: 16px 23px; font-size: 10px; color: #9aa7b8; background: #fcfdfe; border-color: #edf0f4; }
.search-box, .search-composite { background: #f8fafc; border-color: #e5eaf1; border-radius: 7px; }
.search-box input, .search-composite input { background: transparent; color: #42536c; font-size: 12px; }
.search-lens { color: #91a1b6; }
.filter-toggle-btn { background: #fff; color: #718199; border-color: #e1e7ee; }
.filter-toggle-btn:hover, .filter-toggle-btn.active { background: #edf7f2; color: #19816d; border-color: #cce5d8; }
.filter-popover-panel { background: #fff; border-color: #e1e6ee; box-shadow: 0 10px 40px #19304418; }
.popover-title-row, .popover-actions { border-color: #edf0f4; color: #41546d; }
.filter-field label { color: #8491a4; font-size: 11px; }
.filter-select { background: #f8fafb; color: #52647b; border-color: #dfe5ed; }
.filter-tag, .active-filter-tags .tag { background: #eef5f1; color: #568576; border-color: #dce9e1; }
.bulk-action-bar { background: #edf7f1; border-color: #cfe8dc; color: #487c6b; }
.bulk-pill { background: #dceee5; border-color: #cde3d6; color: #39856b; }
.project-tag-thumb { display: none; }
.project-tag-mini { color: #718198; font-size: 11px; }
.creator-pill, .creator-pill.owner, .creator-pill.bot { color: #7a8ca4; background: #f4f7fa; border-color: #e4eaf1; }
.devices-pill-btn { color: #527e85; background: #edf6f6; border-color: #dceaea; }
.project-toolbar { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 15px 20px; margin-bottom: 23px; }
.project-cover-thumb, .profile-badge-logo { display: none; }
.project-badge-unit .badge-stack label { color: #8d99a9; font-size: 9px; }
.project-toolbar select { background: #fff; color: #4e6178; font-size: 14px; border: 0; padding: 4px 0; }
.project-meta { color: #8a98a9; font-size: 10px; }
.platform-badge { background: #f4f7fa; border-color: #e3eaf0; }
.stats { gap: 16px; margin-bottom: 24px; }
.stats article { background: #fff; border-color: var(--line); border-radius: 10px; padding: 22px; }
.stat-label { color: #9aa6b6; font-size: 9px; }
.stats article strong { color: #3e526c; font-size: 29px; }
.stats article > span { color: #9ba6b5; font-size: 10px; }
.bottom-grid { display: none; }
#generate-view .generation-intro { margin: 0 0 24px; padding: 0; }
#generate-view .generation-intro .eyebrow { display: none; }
#generate-view .generation-intro h2 { font-size: 18px; letter-spacing: -.3px; }
#generate-view .generation-intro p { font-size: 12px; color: #8a98a9; margin-top: 6px; }
.generation-trust { background: #edf6f0; color: #4d8b71; border-color: #dae9df; font-size: 10px; }
#generate-view .generation-grid { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(275px,1fr); gap: 24px; align-items: start; }
#generate-view .generation-form { padding: 0; border-radius: 12px; background: #fff; }
#generate-view .generation-form form { display: grid; gap: 0; }
.generation-section { padding: 25px 27px; border-color: #edf0f4; }
.generation-step { gap: 12px; margin-bottom: 22px; }
.generation-step > span { color: #46947f; border: 1px solid #dcece4; border-radius: 8px; background: #eff7f2; font-size: 10px; width: 29px; height: 29px; }
.generation-step h3 { color: #4e6077; font-size: 13px; }
.generation-step p { color: #93a0b1; font-size: 11px; margin-top: 4px; }
.generation-project-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.generation-project-card { background: #fff; border: 1px solid #e0e7ee; border-radius: 9px; padding: 16px 12px; gap: 13px; }
.generation-project-card:hover { background: #fafcfb; border-color: #abcfc0; }
.generation-project-card[aria-pressed=true] { background: #f0f8f3; border-color: #59aa8a; box-shadow: 0 0 0 1px #59aa8a10; }
.generation-project-card > img, .generation-project-card > img[src*="android"] { border: 1px solid #e4ebe7; background: #f8fbf9; border-radius: 8px; object-fit: contain; padding: 6px; width: 32px; height: 32px; }
.generation-project-card > img[src*="apple"], .generation-ticket-brand img[src*="apple"] { filter: brightness(.7); }
.generation-project-card strong { color: #4d6278; font-size: 11px; font-weight: 600; }
.generation-project-card small { color: #9ba8b7; font-size: 8px; letter-spacing: .6px; }
.generation-project-check { border-color: #d9e2e9; color: transparent; background: #fff; width: 14px; height: 14px; font-size: 9px; }
.generation-project-card[aria-pressed=true] .generation-project-check { color: #fff; background: #2a9675; border-color: #2a9675; }
#generate-view .duration-presets { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 7px; }
.duration-presets button { color: #7f8da1; background: #fff; border-color: #e0e6ed; font-size: 10px; border-radius: 6px; padding: 10px 4px; }
.duration-presets button:hover { background: #f4f8f5; color: #548975; }
.duration-presets button[aria-pressed=true] { background: #edf7f1; color: #2d8968; border-color: #76b99c; }
#generate-view .duration-presets button { background: #fff; color: #6f8096; border-color: #dce4ec; }
#generate-view .duration-presets button:hover { background: #f2f8f4; border-color: #a1cbb8; color: #397e67; }
#generate-view .duration-presets button[aria-pressed=true] { background: #edf7f1; border-color: #72b69a; color: #247d5c; }
.generation-custom-duration { color: #8997a9; font-size: 11px; margin-top: 17px; }
.generation-input-unit { background: #fafcfd; border-color: #e1e7ee; }
.generation-input-unit input { background: transparent; border: 0; color: #55687f; }
.generation-input-unit > span { color: #9ba8b7; }
.form-grid { gap: 16px; }
.form-grid label > small, .generation-note > span { color: #9ba7b7; font-size: 10px; font-weight: 400; }
.generation-note { color: #6e7e92; font-size: 12px; margin-top: 19px; }
.generation-submit { border-color: #edf0f4; background: #fafcfb; padding: 20px 27px; }
.generation-submit p { color: #71837c; font-size: 11px; }
.generation-submit small { color: #9baba3; font-size: 9px; }
.generation-submit .primary { min-width: 155px; justify-content: space-between; }
#generate-view .generation-summary { padding: 23px; border-radius: 12px; background: #fff; position: sticky; top: 24px; }
#generate-view .generation-summary { border-color: #e1e8ee; }
#generate-view .generation-ticket dd { color: #526c80; font-size: 12px; }
#generate-view .generation-summary .secondary { border-color: #dce4ec; background: #fff; }
.generation-preview-heading .eyebrow { font-size: 9px; color: #95a2b2; }
.generation-preview-live { color: #639980; background: #eef6f0; border-color: #e0ece3; font-size: 7px; }
.generation-ticket { background: #fff; border-color: #e4eaf0; border-radius: 10px; }
.generation-ticket-brand { padding: 21px 18px; gap: 12px; }
.generation-ticket-brand img { background: #f0f5f3; padding: 10px; object-fit: contain; border: 1px solid #e6ede8; width: 43px; height: 43px; }
.generation-ticket-brand h2 { color: #4c6278; font-size: 13px; font-weight: 600; }
.generation-ticket-brand small { font-size: 8px; color: #94a3b4; letter-spacing: .7px; }
.generation-sample-key { border-color: #e6ebf0; background: #f9fbfc; padding: 20px; }
.generation-sample-key > span { font-size: 8px; color: #9ba9ba; }
.generation-sample-key code { color: #679985; font-size: 13px; background: transparent; }
.generation-sample-key small { color: #9cabbc; font-size: 9px; }
.generation-ticket dl { padding: 20px; gap: 16px; font-size: 11px; }
.generation-ticket dt { color: #9aa6b6; }
.generation-ticket dd { color: #546b83; font-weight: 600; }
.generation-ticket-footer { background: #f2f8f4; border-color: #e6eee8; color: #799b89; font-size: 9px; }
.generation-summary-help { color: #95a2b4; font-size: 11px; line-height: 1.8; margin: 18px 0; }
.generation-summary .secondary { font-size: 11px; }
.project-cards { padding: 23px; gap: 20px; }
.project-card { border: 1px solid #e3e9ef; border-radius: 11px; padding: 20px; background: #fff; }
.project-card:hover { border-color: #bfd6cb; background: #fff; box-shadow: 0 5px 20px #223b4b05; }
.project-card-cover { display: none; }
.project-card-visual { background: #f6f9f7; border-radius: 7px; padding: 18px; margin-bottom: 12px; }
.project-card-titles h3 { color: #486178; }
.project-card-titles p, .project-card > p { color: #96a5b6; font-size: 10px; }
.card-actions { border-color: #e6edf1; }
.bot-health { background: #eef6f1; border-color: #dcebe2; padding: 25px; margin-bottom: 22px; }
.bot-health h3 { color: #427e65; font-size: 20px; }
.bot-health p { font-size: 12px; color: #8b9f92; }
.bot-health .eyebrow { color: #91a998; }
.pricing-notes-card { margin: 20px; }
.info-box { background: #f7faf8; color: #758e7f; border-color: #e1ebe5; border-radius: 8px; padding: 18px; font-size: 12px; }
.event-list { padding: 8px 23px; }
.event { color: #687b92; border-color: #e8edf3; }
.event small, .event time { color: #9cabbc; }
.integration-panel { padding: 25px; }
.integration-panel code, code { background: #f1f5f7; color: #5a7b88; border-radius: 4px; }
.integration-panel pre { background: #f7f9fb; border-color: #e3eaf1; color: #748aa1; padding: 20px; }
dialog { color: var(--text); background: #fff; border: 1px solid #e0e7ed; border-radius: 14px; padding: 28px; box-shadow: 0 24px 100px #162d4230; }
dialog::backdrop { background: #172b4259; backdrop-filter: blur(3px); }
.dialog-heading { border-color: #edf0f4; margin-bottom: 22px; }
.dialog-heading h2 { font-size: 23px; color: #354b64; letter-spacing: -.6px; }
.dialog-heading .eyebrow { font-size: 9px; color: #8fa6a2; }
.close { color: #95a5b7; background: #f3f6f8; border-radius: 6px; }
.close:hover { color: #4e687f; background: #e8eef1; }
.dialog-actions { border-color: #e9eef3; margin-top: 22px; gap: 10px; }
.generated-key-meta { background: #f5f9f6; border-color: #e1eae4; }
.generated-key-meta span { color: #6d9480; font-size: 11px; border-color: #dfe9e3; }
.generated-key-label { color: #9eacba; font-size: 10px; }
#generated-keys { color: #278768; background: #f7fbf8; border: 1px solid #dbe9df; font-size: 13px; line-height: 2; padding: 17px; }
.generated-key-help { color: #91a2b4; font-size: 11px; }
.device-card, .edit-device-overview-card, .edit-key-vault-card, .expiry-card-preview { color: #657f95; background: #f7f9fb; border-color: #e0e8ef; }
.device-card code, .vault-key-display, .key-preview, .key-preview-full, .vault-key-box { color: #487d70; background: #f2f8f4; border-color: #dceae1; }
.device-card h4, .device-card strong { color: #51768b; }
.device-card small, .devices-dialog-meta, .devices-empty-state { color: #96a8b9; }
.vault-proj-label, .vault-key-label, .vault-hint-note, .edit-device-title, .edit-device-count-line, .field-sublabel { color: #879db1; }
.edit-expiry-subpanel, .expiry-section { background: #fff; border-color: #e5ecf1; }
.expiry-meta-grid { color: #7591a6; }
.expiry-meta-grid small, .calendar-hint { color: #9cb0be; }
.unactivated-banner { color: #a18b5d; background: #fcf9ec; border-color: #eee7cc; }
.stepper-chip, .step-btn, .quick-fund-btn, .preset-btn { color: #6b8c9c; background: #f6f9fb; border-color: #dce6ee; }
.reset-pause-btn { background: #f9f5ea; border-color: #e8e1c8; color: #9c8657; }
.features-dialog, .features-broadcast-section, .features-bulk-bar, .feature-category, .feature-item, .feature-group { background: #fff; border-color: #e3eaf0; color: #607e96; }
.features-dialog h3, .features-dialog h4 { color: #4e718b; }
.features-dialog p, .features-dialog small { color: #8ca3b6; }
.feature-toggle-card { background: #f8fafb; color: #5d7f96; border-color: #e1eaf0; }
.checkbox-group { color: #7e95a8; }
.checkbox-group label { background: #f7fafb; border-color: #e2ebef; color: #728e9e; }
.auth-tabs { border-color: #dfe7ed; background: #f3f6f8; border-radius: 8px; }
.tab-btn { color: #8a9cae; background: transparent; font-size: 12px; }
.tab-btn.active { color: #3e6f65; background: #fff; border-color: #e1e9e7; box-shadow: 0 2px 5px #183e2e05; }
.login-screen { grid-template-columns: .94fr 1fr; background: #fafbfc; }
.login-art { padding: 45px 50px; background: #162438; border: 0; }
.login-copy { max-width: 440px; margin: 115px auto 100px; }
.login-copy .eyebrow { color: #729c8e; font-size: 9px; }
.login-copy h1 { color: #e6eef5; font-size: clamp(40px,4vw,61px); font-weight: 520; line-height: 1.2; letter-spacing: -2px; margin: 22px 0; }
.login-copy p { color: #7e92aa; max-width: 340px; font-size: 13px; line-height: 1.9; }
.login-benefits { display: grid; gap: 20px; margin-top: 38px; }
.login-benefits span { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #94a8bd; }
.login-benefits svg { color: #6ea392; width: 17px; height: 17px; }
.footer-note { color: #586d86; font-size: 8px; }
.login-panel { background: #fafbfc; padding: 50px; }
.login-form-wrap { max-width: 365px; }
.login-form-wrap h2 { color: #344a65; font-size: 31px; font-weight: 620; margin-top: 13px; }
.login-form-wrap > p { color: #95a5b7; font-size: 13px; }
.login-form-wrap form { gap: 18px; margin-top: 28px; }
.login-form-wrap label { color: #71869d; font-size: 12px; }
.login-form-wrap .login-note { color: #a6b2c1; font-size: 10px !important; line-height: 1.8; }
.remember-label { color: #8e9eaf !important; }
.session-screen { background: #f6f8fa; }
.session-card { color: #6b8398; background: #fff; border-color: #e1e9ef; }
.session-card h2 { color: #4e6c85; }
.session-card p { color: #9aabbc; }
.table-scroll th:last-child { background: #f9fafc; box-shadow: -1px 0 #edf0f4; }
.table-scroll td:last-child { background: #fff; box-shadow: -1px 0 #edf0f4; }
.table-scroll tr:hover td:last-child { background: #fbfcfd; }
.clickable-key { color: #536d83; font-size: 12px; }
.clickable-key:hover { color: #14866e; }
.row-action.edit-btn { color: #5e8d83; background: #eff8f3; border-color: #d7e9df; }
.row-action.edit-btn:hover { color: #28745e; background: #e3f1e9; border-color: #b7d9c7; }
.devices-pill-btn small { color: #7c999f !important; background: #e1eeee !important; }

/* Main task text stays readable at normal browser zoom. */
.sidebar .nav-item { font-size: 14px; }
.page-heading p { color: #6d7d91; font-size: 14px; }
.welcome-copy p { color: #6c8278; font-size: 13px; }
.overview-stat > div > span { font-size: 12px; color: #718196; }
.overview-stat small { font-size: 11px; color: #8291a3; }
.overview-app-card h3 { font-size: 14px; }
.app-card-platform { font-size: 11px; color: #8090a3; }
.app-card-actions button { font-size: 12px; }
.overview-search-heading label { font-size: 13px; color: #64778c; }
.overview-search-field input { font-size: 13px; }
.section-heading p { font-size: 12px; color: #8291a3; }
.recent-panel .recent-customer { font-size: 12px; color: #4c6077; }
.recent-panel code { font-size: 11px; color: #7c8ba1; }
.recent-project-name { font-size: 11px; color: #74849a; }
#generate-view .generation-intro { display: none; }
.generation-step h3 { font-size: 14px; }
.generation-step p { font-size: 12px; color: #8493a4; }
.generation-project-card strong { font-size: 12px; }
.generation-ticket-brand h2 { margin: 5px 0 0; }
.generation-ticket dd { font-size: 13px; }
@media (min-width: 1800px) { main { padding-top: 43px; } }
@media (max-width: 1200px) {
  .sidebar { width: 210px; }
  .sidebar .brand.console-brand { margin-left: 8px; }
  .main-shell { margin-left: 210px; }
  main { padding: 29px 27px 20px; }
  .topbar { padding: 0 27px; }
  .overview-search { gap: 16px; }
  .overview-search-heading label { max-width: 125px; }
  .overview-welcome { padding: 28px; }
  .welcome-key-graphic { width: 237px; }
  .welcome-key-card { width: 215px; }
  .overview-stat { padding: 19px 16px; gap: 10px; }
  .overview-app-card { padding: 19px 16px 14px; }
  .overview-bottom-grid { grid-template-columns: minmax(0,2fr) minmax(205px,1fr); }
  .recent-panel td, .recent-panel th { padding-inline: 15px; }
  #generate-view .generation-grid { grid-template-columns: minmax(0,1.7fr) minmax(250px,1fr); gap: 18px; }
  .generation-project-cards { grid-template-columns: 1fr; }
  .generation-project-card { flex-direction: row; align-items: center; gap: 12px; padding: 11px 12px; }
  .generation-project-check { top: 22px; }
  .generation-submit { flex-wrap: wrap; gap: 15px; }
}
@media (max-width: 980px) {
  .overview-welcome { padding: 26px; gap: 8px; }
  .welcome-key-graphic { width: 190px; padding-right: 0; }
  .welcome-key-card { width: 180px; padding: 14px; }
  .key-card-line { font-size: 11px; }
  .welcome-copy p br { display: none; }
  .overview-stats { gap: 10px; }
  .stat-symbol { display: none; }
  .overview-projects { gap: 10px; }
  .app-card-actions { flex-wrap: wrap; gap: 8px; }
  .overview-bottom-grid { grid-template-columns: 1fr; }
  .quick-guide { display: none; }
  #generate-view .generation-grid { grid-template-columns: 1fr; }
  #generate-view .generation-summary { position: static; }
  .generation-ticket { display: grid; grid-template-columns: 1fr 1fr; }
  .generation-ticket-brand { border-bottom: 1px solid #e6edf0; }
  .generation-sample-key { border-top: 0; border-bottom: 1px solid #e6edf0; }
  .generation-ticket-footer { grid-column: 1 / -1; }
  .generation-summary-help { font-size: 11px; }
  .generation-summary .secondary { display: none; }
  .generation-project-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .generation-project-card { flex-direction: column; align-items: flex-start; padding: 16px 13px; }
  .generation-project-check { top: 17px; }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s; width: 250px; padding-top: 26px; height: 100dvh; flex-direction: column; }
  .workspace.nav-open .sidebar { transform: translateX(0); }
  .sidebar-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; background: #12273e70; backdrop-filter: blur(2px); z-index: 59; }
  .sidebar nav { display: flex; flex-direction: column; overflow: visible; padding: 0; width: auto; }
  .sidebar .nav-item { width: 100%; min-width: 0; flex-shrink: 0; justify-content: flex-start; }
  .sidebar .nav-item > span { display: initial; }
  .sidebar .nav-item > span:first-child { display: flex; }
  .sidebar .sidebar-label, .sidebar-bottom, .sidebar .brand.console-brand { display: flex; }
  .sidebar .sidebar-label { margin-bottom: 8px; }
  .sidebar .sidebar-bottom { display: block; }
  .main-shell { margin-left: 0; width: 100%; }
  .topbar { height: 62px; padding: 0 19px; }
  .nav-toggle { display: inline-flex; }
  .topbar-right { gap: 10px; }
  .session-label { display: none; }
  .topbar-right .environment { font-size: 8px; }
  .owner-mini { width: 28px; height: 28px; font-size: 11px; }
  .topbar .breadcrumb { font-size: 11px; }
  .breadcrumb > span { padding: 0 7px; }
  .topbar #logout-mobile { display: none; }
  main { padding: 25px 20px 19px; }
  h1 { font-size: 26px; }
  .page-heading { margin-bottom: 22px; }
  .page-heading p { font-size: 12px; line-height: 1.8; max-width: 400px; }
  .page-heading .secondary { padding: 8px 10px; font-size: 11px; min-height: 35px; }
  .overview-welcome { padding: 26px; }
  .welcome-key-graphic { width: 220px; }
  .welcome-key-card { width: 210px; }
  .welcome-copy h2 { font-size: 27px; }
  .welcome-copy p { font-size: 12px; }
  .overview-projects { gap: 12px; }
  .overview-search-heading label { max-width: none; }
  .overview-stat { padding: 18px; }
  .overview-stat strong { font-size: 25px; }
  .overview-stat strong.stat-word { font-size: 19px; }
  .generation-project-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .generation-step h3 { font-size: 14px; }
  .generation-step p { font-size: 11px; }
  #generate-view .duration-presets { grid-template-columns: repeat(7,minmax(0,1fr)); }
  .generation-submit { flex-direction: row; }
  .generation-submit p { display: block; }
  .project-toolbar { padding: 13px; }
  .project-meta { display: none; }
  .project-toolbar select { font-size: 12px; }
  .panel-heading { padding: 20px; }
  .login-screen { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .login-panel { min-height: 100dvh; padding: 35px 25px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .table-toolbar, .unified-filter-toolbar { padding: 16px; }
  .filter-search-row { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .welcome-key-graphic { display: none; }
  .welcome-copy h2 { font-size: 26px; max-width: 260px; }
  .welcome-copy p { max-width: 280px; }
  .welcome-copy .eyebrow { font-size: 8px; }
  .overview-welcome { padding: 25px 22px; }
  .overview-stats { grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
  .overview-stat { padding: 17px 16px; }
  .overview-stat:last-child { grid-column: 1 / -1; flex-direction: row; }
  .overview-stat:last-child .stat-symbol { display: grid; margin-top: 3px; }
  .overview-stat:last-child > div { grid-template-columns: auto 1fr; align-items: center; width: 100%; column-gap: 10px; }
  .overview-stat:last-child > div > span { margin: 0; }
  .overview-stat:last-child strong { grid-column: 2; grid-row: 1; text-align: right; font-size: 15px; }
  .overview-stat:last-child small { grid-column: 1 / -1; margin-top: 3px; font-size: 9px; }
  .overview-stat > div > span { font-size: 10px; }
  .overview-stat small { font-size: 9px; }
  .overview-search { align-items: stretch; flex-direction: column; gap: 12px; padding: 17px; margin-bottom: 25px; }
  .overview-search-heading label { font-size: 11px; }
  .overview-search-field { gap: 8px; }
  .overview-search-field input { padding: 10px; font-size: 10px; }
  .overview-search-field .secondary { font-size: 10px; padding: 8px 10px; gap: 3px; }
  .overview-search-field .secondary svg { width: 13px; }
  .section-heading { align-items: flex-start; gap: 8px; }
  .section-heading h2 { font-size: 16px; }
  .section-heading p { font-size: 10px; }
  .section-heading > .text-button { font-size: 10px; max-width: 90px; padding: 0; text-align: right; }
  .section-heading .text-button svg { display: none; }
  .overview-projects { grid-template-columns: 1fr; gap: 11px; }
  .overview-app-card { display: grid; grid-template-columns: 1fr auto; padding: 18px; }
  .app-card-top { grid-column: 1 / -1; margin-bottom: 10px; }
  .application-icon { width: 33px; height: 33px; border-radius: 8px; }
  .application-icon img[src*="apple"] { filter: brightness(.55); }
.application-icon img { width: 18px; height: 18px; }
  .overview-app-card h3 { font-size: 13px; grid-column: 1; }
  .app-card-platform { grid-column: 1; }
  .app-card-metrics { margin: 0; grid-column: 2; grid-row: 2 / 4; flex-direction: column; align-items: flex-end; gap: 0; }
  .app-card-metrics strong { font-size: 23px; }
  .app-card-metrics span { font-size: 9px; }
  .app-card-actions { grid-column: 1 / -1; margin-top: 15px; }
  .app-card-actions button { font-size: 11px; }
  .recent-panel .panel-heading { padding: 19px 17px 15px; }
  .recent-panel .panel-heading h2 { font-size: 14px; }
  .recent-panel .panel-heading > .text-button { font-size: 10px; }
  .recent-panel table { min-width: 410px; }
  .recent-panel td, .recent-panel th { padding-inline: 16px; }
  .generation-intro { display: none; }
  .generation-section { padding: 22px 19px; }
  .generation-project-cards { grid-template-columns: 1fr; gap: 9px; }
  .generation-project-card { flex-direction: row; align-items: center; padding: 12px; gap: 12px; }
  .generation-project-card strong { font-size: 12px; }
  .generation-project-card small { font-size: 9px; }
  .generation-project-check { top: 24px; right: 15px; }
  #generate-view .duration-presets { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  .duration-presets button { font-size: 10px; padding: 11px 5px; }
  .generation-custom-duration { align-items: center; }
  .generation-submit { padding: 20px; flex-direction: column; align-items: stretch; }
  .generation-submit p { display: none; }
  .generation-submit .primary { width: 100%; }
  .generation-ticket { display: block; }
  .generation-ticket-brand h2 { font-size: 14px; }
  .stats article { padding: 17px; }
  .stat-label { font-size: 8px; }
  .stats article strong { font-size: 26px; }
  .stats article > span { font-size: 9px; }
  .main-footer { letter-spacing: .3px; font-size: 8px; }
  .main-footer > span:first-child { display: none; }
  dialog { padding: 23px 19px; width: calc(100vw - 28px); max-height: calc(100dvh - 28px); }
  .dialog-heading h2 { font-size: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  .generated-key-meta { gap: 5px; flex-wrap: wrap; }
  #generated-keys { font-size: 11px; padding: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Key actions: one quiet toolbar with a clear primary action. */
.actions-cell-wrap{display:inline-flex;align-items:center;justify-content:flex-end;gap:0;padding:4px;background:#fff;border:1px solid #e1e5eb;border-radius:10px;box-shadow:0 2px 4px #18263805;white-space:nowrap}
.actions-cell-wrap .row-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:36px;height:34px;margin:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#738093;font-size:11px;font-weight:550;line-height:1;transition:background .15s,color .15s,box-shadow .15s}
.actions-cell-wrap .row-action .ui-icon{width:15px;height:15px;stroke-width:1.7}
.actions-cell-wrap .row-action.edit-btn{min-width:66px;margin-right:5px;background:#253345;color:#fff;box-shadow:0 1px 2px #18263818}
.actions-cell-wrap .row-action.edit-btn:hover{background:#36495f;color:#fff}
.actions-cell-wrap .row-action.action-icon{width:36px;padding:0}
.actions-cell-wrap .row-action:hover{background:#f0f3f7;color:#253345}
.actions-cell-wrap .row-action.danger,.actions-cell-wrap .row-action.delete-btn{background:transparent;border:0;color:#8490a0}
.actions-cell-wrap .row-action.delete-btn{width:36px;min-width:36px;padding:0;margin-left:5px;position:relative}
.actions-cell-wrap .row-action.delete-btn:before{content:"";position:absolute;left:-3px;top:8px;height:18px;width:1px;background:#e7ebf0}
.actions-cell-wrap .row-action.danger:hover,.actions-cell-wrap .row-action.delete-btn:hover{color:#b44049;background:#fbf0f1}
.actions-cell-wrap .row-action:focus-visible{outline:2px solid #54789a;outline-offset:2px}
@media(max-width:800px){.actions-cell-wrap .row-action{height:40px;min-width:40px}.actions-cell-wrap .row-action.action-icon,.actions-cell-wrap .row-action.delete-btn{width:40px}.actions-cell-wrap .row-action.delete-btn:before{top:11px}}
@media(prefers-reduced-motion:reduce){.actions-cell-wrap .row-action{transition:none}}
