/* APPGOG SaaS design system — shared by landing, customer and operator portals. */
:root {
  color-scheme: light;
  --canvas: #f6f8fc;
  --surface: #fff;
  --ink: #17213a;
  --muted: #65748d;
  --subtle: #8c9ab0;
  --line: #e4eaf2;
  --line-strong: #d7e0ec;
  --navy: #0d1830;
  --navy-soft: #172744;
  --accent: #315fe5;
  --accent-deep: #244ac1;
  --accent-pale: #edf2ff;
  --green: #138665;
  --amber: #a46b0a;
  --red: #bd425c;
  --radius: 14px;
  --shadow: 0 12px 38px rgba(18, 34, 70, .055);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--canvas); color: var(--ink); font: 14px/1.55 Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(49, 95, 229, .32); outline-offset: 3px; }
::selection { background: #dae6ff; color: #12264e; }
.overline { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .19em; line-height: 1.5; }
.overline-light { color: #8eafff; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #42d6ab; box-shadow: 0 0 0 4px rgba(66, 214, 171, .11); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 16px; font-weight: 850; letter-spacing: -.06em; line-height: 1; white-space: nowrap; }
.wordmark-light { color: #fff; }
.wordmark-mark { display: block; flex: none; width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.license-product-mark.brand-product-logo { display: block; background: transparent; object-fit: cover; }

/* Landing. Explanatory motion is reserved for this rare first-visit surface. */
.landing-page { background: #f8faff; }
.landing-header, .landing-main, .landing-footer { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.landing-header { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.landing-status { display: inline-flex; gap: 11px; align-items: center; color: var(--muted); font-size: 12px; font-weight: 600; }
.landing-main { padding-bottom: 82px; }
.landing-hero { min-height: 610px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); align-items: center; gap: clamp(40px, 7vw, 110px); padding: 92px 0 78px; }
.hero-copy h1 { max-width: 700px; margin: 21px 0 24px; font-size: clamp(42px, 4.6vw, 70px); line-height: 1.13; letter-spacing: -.065em; font-weight: 780; }
.hero-copy h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 570px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 35px; }
.hero-actions .button { min-height: 50px; padding-inline: 23px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 43px; color: var(--subtle); font-size: 11px; font-weight: 650; }
.hero-trust span::before { content: '✓'; color: var(--green); margin-right: 7px; }
.hero-console { overflow: hidden; width: 100%; max-width: 520px; margin-left: auto; border: 1px solid #293c5c; border-radius: 19px; background: var(--navy); color: #fff; box-shadow: 0 38px 90px rgba(18, 38, 83, .19); }
.console-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 50px; padding: 0 23px; border-bottom: 1px solid #273650; color: #91a4c3; font-size: 11px; }
.console-top > span { display: flex; gap: 5px; }.console-top i { width: 6px; height: 6px; border-radius: 50%; background: #4b5b75; }.console-top b { color: #7ee3bc; font-size: 10px; letter-spacing: .12em; }
.console-card { display: grid; gap: 6px; margin: 24px 24px 8px; padding: 20px 22px; border: 1px solid #344663; border-radius: 12px; background: #1a2a46; }
.console-card span, .console-bottom span { color: #8ca1c2; font-size: 10px; font-weight: 750; letter-spacing: .12em; }.console-card strong { font-size: 20px; letter-spacing: .03em; }.console-card small { color: #a8b8d2; font-size: 12px; }
.console-flow { padding: 20px 35px 19px; }.flow-item { display: flex; align-items: center; gap: 14px; color: #899bb7; }.flow-item > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid #53627b; border-radius: 50%; font-size: 11px; font-weight: 750; }.flow-item div { display: grid; gap: 2px; }.flow-item strong { font-size: 12px; font-weight: 700; }.flow-item small { font-size: 11px; }.flow-item.complete > span { color: #86e4c0; border-color: #32735f; background: #20443b; }.flow-item.complete strong, .flow-item.active strong { color: #f6f9ff; }.flow-item.active > span { color: #a8c3ff; border-color: #4d6ac2; background: #273f81; }.flow-line { width: 1px; height: 30px; margin: 5px 13px; background: #477a6b; }.flow-line.muted { background: #394762; }
.console-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px 22px; border-top: 1px solid #273650; }.console-bottom div { display: grid; gap: 4px; }.console-bottom strong { font-size: 12px; }.success-text { color: #7ee3bc; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.platform-card { display: flex; gap: 24px; min-height: 204px; padding: 31px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }.platform-index { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--accent-pale); color: var(--accent); font-size: 11px; font-weight: 800; }.platform-card h2 { margin: 9px 0 8px; font-size: 23px; letter-spacing: -.035em; }.platform-card p { max-width: 430px; color: var(--muted); line-height: 1.7; }.platform-card strong { display: inline-block; margin-top: 18px; color: var(--accent); font-size: 12px; }
.landing-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 11px; }

/* Authentication. No empty dashboard rail before a user is authenticated. */
.auth-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(430px, 47%) minmax(0, 1fr); background: #fff; }
.auth-brand-panel { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100dvh; overflow: hidden; padding: clamp(32px, 4vw, 58px); background: radial-gradient(circle at 90% 15%, #1b386c 0, transparent 42%), linear-gradient(155deg, #111e38, #0a1429 78%); color: #fff; }
.auth-brand-copy { max-width: 590px; padding: 50px 0; }.auth-brand-copy h1 { margin: 18px 0 19px; font-size: clamp(34px, 3.15vw, 54px); font-weight: 760; letter-spacing: -.055em; line-height: 1.2; }.auth-brand-copy p { max-width: 480px; color: #b1c0db; font-size: 15px; line-height: 1.9; }
.auth-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 49px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); }.auth-proof-grid div { display: grid; gap: 9px; }.auth-proof-grid strong { color: #94b2ff; font-size: 18px; letter-spacing: -.03em; }.auth-proof-grid span { color: #a4b5d0; font-size: 11px; }.auth-brand-footer { display: flex; align-items: center; gap: 11px; color: #a0b2cf; font-size: 11px; }
.admin-feature-list { display: grid; gap: 18px; margin-top: 48px; color: #c1cee3; font-size: 13px; }.admin-feature-list span { margin-right: 12px; color: #6ee0b4; }
.auth-form-panel { display: grid; place-items: center; padding: 40px 28px; }.auth-card { width: min(440px, 100%); }.auth-card-head { margin-bottom: 32px; }.auth-card-head h2 { margin: 13px 0 11px; font-size: 36px; letter-spacing: -.055em; line-height: 1.22; }.auth-card-head p { color: var(--muted); font-size: 13px; line-height: 1.8; }.back-link { display: inline-block; margin-top: 31px; color: var(--muted); font-size: 12px; }.back-link:hover { color: var(--accent); }
.security-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 25px; padding: 17px; border: 1px solid #e6ebf5; border-radius: 12px; background: #f7f9fd; }.security-icon { display: grid; place-items: center; width: 25px; height: 25px; flex: none; border-radius: 8px; background: #e6efff; color: var(--accent); font-weight: 800; }.security-note strong { font-size: 12px; }.security-note p { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.65; }

/* Functional controls. */
.form-stack { display: grid; gap: 18px; }.form-compact { gap: 16px; }.field { display: grid; gap: 8px; color: #45536c; font-size: 12px; font-weight: 700; }.field > span { line-height: 1.4; }.field input, .field select, .field textarea, .filter-select, .search-box input { width: 100%; min-width: 0; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; background: #fff; color: var(--ink); font-size: 13px; }.field input, .field select, .filter-select, .search-box input { height: 46px; }.field textarea { min-height: 96px; padding-block: 11px; resize: vertical; line-height: 1.6; }.field input::placeholder, .field textarea::placeholder, .search-box input::placeholder { color: #a1aabb; }.field input:focus, .field select:focus, .field textarea:focus, .filter-select:focus, .search-box:focus-within { border-color: #8ba9fa; box-shadow: 0 0 0 3px rgba(49, 95, 229, .11); }.field input[readonly] { background: #f5f7fb; color: #52627c; }.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 43px; padding: 0 17px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 750; white-space: nowrap; transition: transform 140ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }.button:active:not(:disabled) { transform: scale(.97); }.button-wide { width: 100%; justify-content: space-between; min-height: 47px; }.button-primary { background: var(--accent); color: #fff; box-shadow: 0 7px 16px rgba(49, 95, 229, .15); }.button-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }.button-ghost { background: transparent; color: var(--accent); border-color: #cbd9f7; }.text-action { border: 0; background: none; color: var(--accent); font-size: 12px; font-weight: 750; }.icon-button, .mobile-menu { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #526784; font-size: 19px; }.mobile-menu { display: none; }
.button-danger { background: var(--red); color: #fff; }
.search-box { display: flex; align-items: center; gap: 5px; width: min(350px, 100%); padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; color: var(--subtle); font-size: 18px; }.search-box input { border: 0; box-shadow: none !important; padding: 0 2px; }.filter-select { width: auto; min-width: 124px; height: 43px; }.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }.toolbar-note { margin-left: auto; color: var(--subtle); font-size: 11px; }
.upload-field { display: grid; justify-items: center; gap: 6px; position: relative; min-width: 0; min-height: 154px; padding: 24px 15px; border: 1px dashed #aebfe0; border-radius: 11px; background: #f8faff; text-align: center; cursor: pointer; transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out); }.upload-field:focus-visible, .upload-field.is-dragging { outline: 3px solid rgba(49,95,229,.18); border-color: var(--accent); background: #eef3ff; }.upload-field.has-file { border-style: solid; }.upload-field.upload-valid { border-color: #a9ddc8; background: #f3fbf7; }.upload-field.upload-error { border-color: #efb8c3; background: #fff6f7; }.upload-field input { display: none; }.upload-icon { color: var(--accent); font-size: 22px; }.upload-field strong { max-width: 100%; overflow-wrap: anywhere; font-size: 12px; }.upload-field small { color: var(--muted); font-size: 10px; }.upload-file-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 8px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: left; }.upload-file-meta > span { display: grid; min-width: 0; }.upload-file-meta b { overflow: hidden; max-width: 100%; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.upload-file-meta button { flex: none; padding: 5px 8px; border: 0; border-radius: 6px; background: #fff0f2; color: var(--red); font-size: 10px; font-weight: 700; }.upload-progress { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 4px; }.upload-progress > span { overflow: hidden; height: 6px; flex: 1; border-radius: 99px; background: #e3e9f2; }.upload-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width 120ms linear; }.upload-progress b { min-width: 54px; color: var(--muted); font-size: 9px; text-align: right; }

/* The authenticated workspace is intentionally dense but never cramped. */
.saas-shell { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.app-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; width: 224px; height: 100vh; min-height: 580px; padding: 29px 14px 19px; background: var(--navy); color: #e7efff; }
.sidebar-brand { display: grid; align-content: start; gap: 17px; padding: 0 14px 37px; border-bottom: 1px solid rgba(255,255,255,.08); }.workspace-badge { width: fit-content; padding: 4px 8px; border: 1px solid rgba(174, 201, 255, .17); border-radius: 6px; color: #9fb2d4; font-size: 10px; letter-spacing: .08em; }
.app-nav { display: grid; align-content: start; gap: 5px; padding-top: 29px; }.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 13px; border: 0; border-radius: 9px; background: transparent; color: #93a5c0; text-align: left; font-size: 12px; font-weight: 650; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out); }.nav-item.active { background: #233a63; color: #f5f8ff; }.nav-icon { display: inline-grid; place-items: center; width: 19px; font-size: 17px; line-height: 1; font-weight: 500; }
.sidebar-meta { display: grid; gap: 21px; margin-top: auto; padding: 20px 14px 0; border-top: 1px solid rgba(255,255,255,.09); }.service-state { display: flex; align-items: center; gap: 11px; }.service-state > div { display: grid; gap: 2px; }.service-state strong { font-size: 11px; color: #e7efff; }.service-state span:not(.live-dot) { color: #8196b7; font-size: 10px; }.sidebar-logout { width: fit-content; padding: 0; border: 0; background: none; color: #9db0cd; text-align: left; font-size: 11px; }
.workspace { min-width: 0; background: var(--canvas); }.workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; padding: 0 clamp(25px, 3.2vw, 54px); border-bottom: 1px solid var(--line); background: #fff; }.header-left, .header-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }.header-context { display: block; color: var(--subtle); font-size: 10px; font-weight: 700; letter-spacing: .04em; }.workspace-header h1 { margin-top: 2px; font-size: 16px; letter-spacing: -.02em; }.header-domain { overflow: hidden; max-width: 245px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; color: #64748d; font-size: 11px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }.operator-chip { display: flex; align-items: center; gap: 9px; padding-right: 8px; }.operator-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #e7eeff; color: var(--accent); font-size: 12px; font-weight: 850; }.operator-chip > span:last-child { display: grid; line-height: 1.3; }.operator-chip strong { font-size: 11px; }.operator-chip small { color: var(--subtle); font-size: 10px; }
.account-menu { position: relative; }.account-menu-toggle { min-height: 42px; padding: 5px 9px 5px 6px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); text-align: left; }.account-menu-toggle:hover, .account-menu-toggle[aria-expanded="true"] { border-color: var(--line); background: #f8faff; }.account-menu-toggle > span:nth-child(2) { display: grid; line-height: 1.3; }.account-chevron { color: var(--subtle); font-size: 14px; }.account-menu-popover { position: absolute; z-index: 55; top: calc(100% + 8px); right: 0; width: 150px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 16px 42px rgba(18, 34, 70, .14); }.account-menu-popover button { width: 100%; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-align: left; font-size: 12px; }.account-menu-popover button:hover { background: var(--accent-pale); color: var(--accent-deep); }.header-logout { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #526784; font-size: 11px; font-weight: 700; }.header-logout:hover { border-color: #a7b9e1; background: #f9fbff; }.mini-button-danger { border-color: #f2ccd5; background: #fff5f7; color: var(--red); }
.workspace-content { width: min(100%, 1540px); margin: 0 auto; padding: 35px clamp(25px, 3.2vw, 54px) 80px; }.page-view { display: none; }.page-view.active { display: block; }.welcome-row, .page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }.welcome-row h2, .page-heading h2 { margin: 7px 0 5px; font-size: clamp(23px, 2.35vw, 31px); letter-spacing: -.045em; line-height: 1.25; }.welcome-row p, .page-heading p { color: var(--muted); font-size: 12px; line-height: 1.7; }.date-chip { flex: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #71809a; font-size: 11px; }
.stats-grid { display: grid; gap: 15px; margin-bottom: 18px; }.stats-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }.stats-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }.stat-card { display: flex; align-items: flex-start; gap: 15px; min-width: 0; min-height: 123px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }.stat-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; font-size: 16px; font-weight: 750; }.stat-green { background: #e6f7f1; color: var(--green); }.stat-blue { background: #eaf0ff; color: var(--accent); }.stat-violet { background: #f0edff; color: #7158ca; }.stat-amber { background: #fff3e1; color: var(--amber); }.stat-card > div:last-child { display: grid; gap: 3px; min-width: 0; }.stat-card span { color: var(--muted); font-size: 11px; }.stat-card strong { overflow: hidden; max-width: 100%; color: var(--ink); font-size: 23px; line-height: 1.35; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }.stat-card small { color: var(--subtle); font-size: 10px; }
.surface { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }.surface-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.surface-head h3 { margin: 6px 0 0; font-size: 17px; line-height: 1.35; letter-spacing: -.035em; }.surface-head p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.7; }.surface-number { color: #c9d5e9; font-size: 23px; font-weight: 750; letter-spacing: -.06em; }
.customer-grid, .admin-overview-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 17px; margin-bottom: 18px; }.build-composer, .process-card, .activity-card, .form-surface, .license-profile, .detail-surface { padding: 25px; }.build-composer .form-stack { max-width: 575px; margin-top: 24px; }.process-list { display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }.process-list li { display: flex; gap: 13px; position: relative; padding-bottom: 22px; }.process-list li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 29px; bottom: 0; width: 1px; background: var(--line-strong); }.process-list li:last-child { padding-bottom: 0; }.process-list li > span { z-index: 1; display: grid; place-items: center; width: 29px; height: 29px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--subtle); font-size: 10px; font-weight: 750; }.process-list li.done > span { border-color: #cae9dc; background: #e9f8f1; color: var(--green); }.process-list li div { display: grid; gap: 3px; }.process-list strong { font-size: 12px; }.process-list small { color: var(--subtle); font-size: 10px; }
.service-list { margin-top: 22px; }.service-list > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }.service-list > div:last-child { border: 0; }.service-list strong { color: var(--ink); font-size: 12px; }.service-list .live-dot { width: 6px; height: 6px; margin-right: 6px; }
.management-grid { display: grid; grid-template-columns: minmax(290px, 340px) minmax(0, 1fr); align-items: start; gap: 17px; width: 100%; min-width: 0; }.management-grid > *, .form-columns > * { min-width: 0; }.form-surface .form-stack { margin-top: 22px; }.version-grid { grid-template-columns: minmax(320px, 430px) minmax(0, 1fr); }.member-grid { grid-template-columns: minmax(290px, 350px) minmax(0, 1fr); }.grow-surface { min-height: 345px; }
.release-list { display: grid; padding: 0 24px 22px; }.release-item, .version-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }.release-item:last-child, .version-item:last-child { border-bottom: 0; }.release-item strong, .version-item strong { display: block; font-size: 13px; }.release-item small { color: var(--subtle); font-size: 11px; }.release-summary { min-width: 0; }.release-summary > small { display: block; margin-top: 5px; }.release-summary > p { max-width: 650px; margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.7; white-space: pre-line; }.release-side { display: grid; flex: none; justify-items: end; gap: 8px; text-align: right; }.release-side small { max-width: 145px; }
.version-catalog-panel { padding: 25px; }.customer-version-list { display: grid; gap: 12px; margin-top: 22px; }.customer-version-card { display: grid; gap: 14px; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcff; }.customer-version-card.latest { border-color: #cddaff; background: linear-gradient(145deg, #fff 0%, #f4f7ff 100%); box-shadow: 0 10px 27px rgba(49, 95, 229, .07); }.version-card-top, .version-card-footer, .version-name-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.version-name-row { justify-content: flex-start; flex-wrap: wrap; }.version-card-top strong { font-size: 14px; }.version-card-top small, .version-card-footer small { display: block; margin-top: 5px; color: var(--subtle); font-size: 10px; }.version-notes { color: var(--muted); font-size: 11px; line-height: 1.75; white-space: pre-line; }.version-meta { display: flex; flex-wrap: wrap; gap: 7px; }.version-meta span { padding: 4px 7px; border-radius: 6px; background: #edf2fa; color: #586a86; font-size: 9px; font-weight: 700; }.version-card-footer { padding-top: 12px; border-top: 1px solid var(--line); }.version-card-footer .button { min-height: 35px; padding: 8px 12px; font-size: 10px; }
.member-identity { display: flex; align-items: center; gap: 10px; }.member-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--accent-pale); color: var(--accent); font-size: 12px; font-weight: 850; }.member-identity strong { display: block; font-size: 12px; }.member-identity small, .table-subline, .table-muted { display: block; margin-top: 2px; color: var(--subtle); font-size: 9px; }.table-subline { margin-top: 4px; }
.license-layout { display: grid; grid-template-columns: minmax(250px, .68fr) minmax(0, 1fr); gap: 17px; }.license-profile { display: flex; align-items: center; gap: 18px; }.license-product-mark { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 14px; background: #eaf0ff; color: var(--accent); font-size: 21px; font-weight: 850; letter-spacing: -.08em; }.license-profile h3 { margin-top: 8px; font-size: 21px; }.license-profile p { margin-top: 3px; color: var(--muted); font-size: 12px; }.details { margin: 0; }.details > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }.details > div:last-child { border: 0; }.details dt { color: var(--muted); font-size: 12px; }.details dd { overflow-wrap: anywhere; margin: 0; font-size: 12px; font-weight: 700; text-align: right; }.notice-card { display: flex; gap: 13px; max-width: 840px; margin-top: 18px; padding: 19px 21px; border: 1px solid #d9e4fb; border-radius: 12px; background: #f0f5ff; }.notice-card > span { display: grid; place-items: center; width: 21px; height: 21px; flex: none; border-radius: 50%; background: #ddeaff; color: var(--accent); font-size: 11px; font-weight: 800; }.notice-card strong { font-size: 12px; }.notice-card p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.announcement-banner { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; padding: 17px 19px; border: 1px solid #d6e2fb; border-radius: 12px; background: #f0f5ff; }.announcement-banner > span { display: grid; place-items: center; width: 23px; height: 23px; flex: none; border-radius: 50%; background: #dce8ff; color: var(--accent); font-size: 11px; font-weight: 850; }.announcement-banner div { min-width: 0; }.announcement-banner strong { font-size: 13px; }.announcement-banner p { margin-top: 4px; overflow-wrap: anywhere; color: #52647e; font-size: 11px; line-height: 1.75; white-space: pre-wrap; }.announcement-banner small { display: block; margin-top: 7px; color: var(--subtle); font-size: 9px; }.readonly-settings { margin-top: 22px; padding-top: 9px; border-top: 1px solid var(--line); }.readonly-settings dd { max-width: 58%; font-size: 10px; }

/* Tables and live states. These are functional data, never animated for decoration. */
.table-surface { overflow: hidden; }.table-title { align-items: center; padding: 21px 23px 17px; border-bottom: 1px solid var(--line); }.table-scroll { width: 100%; overflow-x: auto; }.table-scroll table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; }.table-scroll th { padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fcfdff; color: #8290a7; font-size: 10px; font-weight: 750; white-space: nowrap; }.table-scroll th:first-child, .table-scroll td:first-child { padding-left: 23px; }.table-scroll th:last-child, .table-scroll td:last-child { padding-right: 23px; }.table-scroll td { padding: 15px 16px; border-bottom: 1px solid #eef1f6; color: #4d5c74; font-size: 11px; vertical-align: middle; }.table-scroll tbody tr:last-child td { border-bottom: 0; }.table-scroll td:first-child { color: var(--ink); font-weight: 680; }.table-scroll .empty-cell { padding: 43px 20px !important; color: var(--subtle) !important; font-weight: 450 !important; text-align: center; }.table-scroll td code { padding: 4px 6px; border-radius: 5px; background: #f1f4fa; color: #53647e; font-size: 10px; }.table-scroll .actions { white-space: nowrap; }.table-scroll .actions button { margin: 2px 3px 2px 0; }
.status-pill, .badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; padding: 5px 9px; border: 1px solid #e2e8f2; border-radius: 99px; background: #f3f6fb; color: #596b86; font-size: 10px; font-weight: 720; white-space: nowrap; }.badge.success, .status-success { border-color: #c8ecd9; background: #eaf8f0; color: var(--green); }.badge.failed { border-color: #f3d5da; background: #fff0f2; color: var(--red); }.badge.processing { border-color: #f5dfb5; background: #fff7e9; color: var(--amber); }.badge.suspended { border-color: #f5dfb5; background: #fff7e9; color: var(--amber); }
.mini-button { display: inline-flex; align-items: center; justify-content: center; min-height: 27px; padding: 4px 8px; border: 1px solid #dce5f6; border-radius: 6px; background: #f5f8ff; color: #315bc3; font-size: 10px; font-weight: 700; }.mini-button:disabled { opacity: .4; }.empty-state { display: grid; justify-items: center; gap: 6px; padding: 32px 18px; text-align: center; }.empty-state > span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 7px; border-radius: 11px; background: var(--accent-pale); color: var(--accent); font-size: 20px; }.empty-state strong { font-size: 13px; }.empty-state p { color: var(--muted); font-size: 11px; }
.progress-track { display: inline-block; width: 73px; height: 5px; margin-right: 7px; overflow: hidden; border-radius: 99px; background: #e8edf5; vertical-align: middle; }.progress-fill { display: block; height: 100%; border-radius: inherit; background: var(--accent); }.progress-label { color: var(--muted); font-size: 10px; }.key-inline { color: #506481; font: 650 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }

/* Occasional feedback: toast and modal are the only moving app surfaces. */
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; max-width: min(440px, calc(100vw - 44px)); padding: 14px 18px; border-radius: 10px; background: #1c2942; color: #fff; box-shadow: 0 18px 44px rgba(13, 24, 48, .2); font-size: 12px; line-height: 1.65; opacity: 1; transform: translateY(0); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }.toast.error { background: #a82e4b; }.toast[data-closing] { opacity: 0; transform: translateY(10px); }.toast:not([hidden]) { @starting-style { opacity: 0; transform: translateY(10px); } }
.key-dialog, .modal-overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(11, 21, 42, .56); backdrop-filter: blur(3px); opacity: 1; transition: opacity 220ms var(--ease-out); }.dialog-card, .modal-card { width: min(520px, 100%); max-height: min(88vh, 760px); overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 32px 80px rgba(10, 22, 45, .2); opacity: 1; transform: scale(1); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }.key-dialog[data-closing], .modal-overlay[data-closing] { opacity: 0; }.key-dialog[data-closing] .dialog-card, .modal-overlay[data-closing] .modal-card { opacity: 0; transform: scale(.96); }.key-dialog:not([data-closing]), .modal-overlay:not([data-closing]) { @starting-style { opacity: 0; } }.key-dialog:not([data-closing]) .dialog-card, .modal-overlay:not([data-closing]) .modal-card { @starting-style { opacity: 0; transform: scale(.96); } }.dialog-card h2, .modal-card h2 { margin-bottom: 8px; font-size: 22px; letter-spacing: -.035em; }.dialog-card p, .modal-card p { margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }.key-code { display: block; overflow-wrap: anywhere; margin: 17px 0; padding: 16px; border: 1px solid #dbe6fb; border-radius: 9px; background: #f2f6ff; color: #244cb2; font: 750 14px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 21px; }.download-button { margin-top: 10px; }.modal-card .form-stack { margin-top: 17px; }

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover:not(:disabled) { background: var(--accent-deep); box-shadow: 0 10px 21px rgba(49, 95, 229, .2); }
  .button-secondary:hover:not(:disabled), .icon-button:hover { border-color: #a7b9e1; background: #f9fbff; }
  .button-ghost:hover { background: #edf2ff; }
  .nav-item:hover:not(.active) { background: #1b2d4b; color: #dce8ff; }
  .sidebar-logout:hover { color: #fff; }
  .platform-card:hover { border-color: #bdcbeb; box-shadow: 0 16px 45px rgba(18, 34, 70, .09); }
  .text-action:hover { color: var(--accent-deep); }
  .mini-button:hover:not(:disabled) { border-color: #b8c9ec; background: #eaf1ff; }
}

.cms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.announcement-editor { max-width: 820px; }
.online-update-card { grid-column: 1 / -1; }
.update-details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.update-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.update-log { min-height: 105px; max-height: 250px; overflow: auto; margin-top: 17px; padding: 15px; border: 1px solid #dfe6f0; border-radius: 9px; background: #0d1729; color: #c9d5e8; font: 500 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.compact-release-list { gap: 10px; padding-top: 4px; }
.compact-release-item { padding: 15px 0; }
.release-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.release-meta span { padding: 4px 7px; border-radius: 5px; background: #f1f4f9; color: #62718a; font-size: 9px; font-weight: 700; }
.key-preview { display: flex; align-items: center; gap: 7px; }
.key-preview code { white-space: nowrap; }
.key-reveal-button { padding: 4px 7px; border: 1px solid #d8e1ef; border-radius: 6px; background: #fff; color: #37598e; font-size: 10px; font-weight: 750; }
.key-reveal-button:hover { border-color: #aebfda; background: #f4f7fc; }
.build-version-catalog { margin-bottom: 18px; }
.switch-list { display: grid; gap: 9px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #f8faff; cursor: pointer; }
.switch-row > span { display: grid; gap: 3px; }.switch-row strong { color: var(--ink); font-size: 13px; }.switch-row small { color: var(--muted); font-size: 11px; font-weight: 500; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }.switch-row i { position: relative; flex: 0 0 42px; width: 42px; height: 24px; border-radius: 999px; background: #cbd4e4; transition: background 180ms ease; }.switch-row i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(19, 35, 65, .2); transition: transform 180ms ease; }
.switch-row input:checked + i { background: var(--accent); }.switch-row input:checked + i::after { transform: translateX(18px); }.switch-row input:focus-visible + i { outline: 3px solid rgba(49, 95, 229, .2); outline-offset: 2px; }
.node-identity { display: grid; gap: 3px; }.node-identity strong { color: var(--ink); }.node-identity small { color: var(--muted); font-size: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

@media (max-width: 1180px) {
  .stats-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .management-grid, .version-grid, .cms-grid { grid-template-columns: 1fr; }
  .form-surface { max-width: 750px; }
}
@media (max-width: 980px) {
  .landing-header, .landing-main, .landing-footer { width: min(100% - 48px, 760px); }
  .landing-hero { grid-template-columns: 1fr; gap: 40px; padding: 65px 0; }.hero-console { max-width: 600px; margin: 0; }
  .auth-shell { grid-template-columns: minmax(320px, 41%) minmax(0, 1fr); }.auth-brand-panel { padding: 30px; }.auth-brand-copy h1 { font-size: 34px; }.auth-proof-grid { grid-template-columns: 1fr; gap: 12px; }.auth-proof-grid div { display: flex; align-items: center; gap: 13px; }
  .customer-grid, .admin-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .version-card-top, .version-card-footer { align-items: flex-start; flex-direction: column; }.version-card-footer .button { width: 100%; }.release-item { flex-wrap: wrap; }.release-side { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .landing-header, .landing-main, .landing-footer { width: calc(100% - 36px); }.landing-header { height: 72px; }.landing-status { font-size: 10px; }.landing-hero { min-height: 0; padding: 64px 0 58px; }.hero-copy h1 { font-size: clamp(36px, 10vw, 51px); }.hero-copy > p { font-size: 14px; }.hero-trust { gap: 11px 17px; margin-top: 28px; }.platform-grid { grid-template-columns: 1fr; }.platform-card { min-height: 0; padding: 24px; }.hero-console { display: none; }
  .auth-shell { grid-template-columns: 1fr; min-height: 100dvh; }.auth-brand-panel { min-height: 0; padding: 23px 24px 27px; }.auth-brand-copy { padding: 35px 0 0; }.auth-brand-copy h1 { max-width: 540px; font-size: 29px; }.auth-brand-copy p { font-size: 12px; }.auth-proof-grid, .admin-feature-list, .auth-brand-footer { display: none; }.auth-form-panel { align-items: start; padding: 43px 24px 55px; }.auth-card { width: min(480px, 100%); }.auth-card-head h2 { font-size: 29px; }
  .saas-shell { display: block; }.app-sidebar { position: fixed; z-index: 40; width: min(280px, 85vw); height: 100dvh; min-height: 0; transform: translateX(-100%); transition: transform 250ms var(--ease-out); }.saas-shell.nav-open .app-sidebar { transform: translateX(0); }.saas-shell.nav-open::after { content: ''; position: fixed; inset: 0; z-index: 39; background: rgba(8, 17, 34, .48); }.mobile-menu { display: grid; }.workspace-header { height: 66px; padding: 0 17px; }.workspace-content { padding: 25px 17px 60px; }.header-actions { gap: 8px; }.header-domain { max-width: 116px; }.operator-chip > span:nth-child(2) { display: none; }.account-menu-toggle { padding-right: 6px; }.welcome-row, .page-heading { align-items: start; flex-direction: column; gap: 14px; }.welcome-row h2, .page-heading h2 { font-size: 25px; }.stats-grid-three, .stats-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.stat-card { min-height: 110px; padding: 15px; gap: 9px; }.stat-icon { width: 29px; height: 29px; font-size: 13px; }.stat-card strong { font-size: 18px; }.build-composer, .process-card, .activity-card, .form-surface, .license-profile, .detail-surface { padding: 20px; }.license-layout { grid-template-columns: 1fr; }.toolbar { padding: 15px; }.search-box { flex: 1 1 230px; }.toolbar-note { margin-left: 0; }.table-scroll table { min-width: 620px; }
  .update-details { grid-template-columns: 1fr; }
  body[data-portal="customer"] [data-page="builds"] .table-scroll { overflow: visible; }
  body[data-portal="customer"] [data-page="builds"] table { min-width: 0; width: 100%; }
  body[data-portal="customer"] [data-page="builds"] thead { display: none; }
  body[data-portal="customer"] [data-page="builds"] tbody { display: grid; gap: 10px; padding: 12px; }
  body[data-portal="customer"] [data-page="builds"] tr { display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  body[data-portal="customer"] [data-page="builds"] td { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-bottom: 1px dashed var(--line); text-align: right; }
  body[data-portal="customer"] [data-page="builds"] td:last-child { border-bottom: 0; }
  body[data-portal="customer"] [data-page="builds"] td::before { flex: none; color: var(--subtle); font-size: 10px; font-weight: 700; }
  body[data-portal="customer"] [data-page="builds"] td:nth-child(1)::before { content: '版本'; }
  body[data-portal="customer"] [data-page="builds"] td:nth-child(2)::before { content: '授权域名'; }
  body[data-portal="customer"] [data-page="builds"] td:nth-child(3)::before { content: '状态'; }
  body[data-portal="customer"] [data-page="builds"] td:nth-child(4)::before { content: '进度'; }
  body[data-portal="customer"] [data-page="builds"] td:nth-child(5)::before { content: '创建时间'; }
  body[data-portal="customer"] [data-page="builds"] td:nth-child(6)::before { content: '交付'; }
}
@media (max-width: 390px) {
  .stats-grid-three, .stats-grid-four { grid-template-columns: 1fr; }.form-columns { grid-template-columns: 1fr; }.hero-actions { display: grid; }.platform-card { gap: 14px; }.header-domain { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app-sidebar, .button, .toast, .key-dialog, .modal-overlay, .dialog-card, .modal-card { transition-duration: 120ms; }
  .button:active:not(:disabled), .toast[data-closing], .key-dialog[data-closing] .dialog-card, .modal-overlay[data-closing] .modal-card { transform: none; }
  .toast:not([hidden]), .key-dialog:not([data-closing]), .modal-overlay:not([data-closing]), .key-dialog:not([data-closing]) .dialog-card, .modal-overlay:not([data-closing]) .modal-card { @starting-style { opacity: 0; transform: none; } }
}

/* Release identity and announcement operations. */
.sidebar-version { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.07); color: #8196b7; font-size: 9px; letter-spacing: .04em; }.sidebar-version strong { color: #c9d6ea; font-size: 10px; font-weight: 720; letter-spacing: .02em; }
.announcement-operations-grid { display: grid; grid-template-columns: minmax(340px, .86fr) minmax(420px, 1.14fr); align-items: start; gap: 18px; }.announcement-operations-grid > * { min-width: 0; }.announcement-operations-grid .announcement-editor { max-width: none; }.field-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.field-heading b { color: var(--ink); font-size: inherit; }.field-heading small { color: var(--subtle); font-size: 9px; font-weight: 650; }.announcement-switch { margin-top: 2px; }.announcement-form-actions { display: flex; align-items: center; gap: 13px; padding-top: 4px; }.announcement-form-actions > span { color: var(--subtle); font-size: 10px; }.announcement-preview-panel { padding: 25px; }.announcement-preview-browser { overflow: hidden; margin-top: 22px; border: 1px solid var(--line-strong); border-radius: 13px; background: #f7f9fc; }.announcement-preview-toolbar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-bottom: 1px solid var(--line); background: #fff; }.announcement-preview-toolbar i { width: 6px; height: 6px; border-radius: 50%; background: #d6deea; }.announcement-preview-toolbar span { margin-left: 5px; color: var(--subtle); font-size: 9px; font-weight: 700; }.announcement-preview-canvas { min-height: 255px; padding: clamp(22px, 4vw, 42px); background: linear-gradient(180deg, #f7f9fc 0%, #f3f6fa 100%); }.announcement-preview-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px 17px; border: 1px solid #d7e3fa; border-radius: 11px; background: #f4f7ff; box-shadow: 0 10px 26px rgba(32, 61, 119, .05); transition: opacity 160ms var(--ease-out), filter 160ms var(--ease-out); }.announcement-preview-card.is-disabled { opacity: .5; filter: grayscale(.3); }.announcement-preview-card > div { min-width: 0; }.announcement-preview-card strong { display: block; margin-top: 7px; font-size: 12px; }.announcement-preview-card p { margin-top: 4px; overflow-wrap: anywhere; color: #5e6e87; font-size: 10px; line-height: 1.7; white-space: pre-wrap; }.announcement-icon { display: grid; place-items: center; width: 23px; height: 23px; flex: none; border-radius: 50%; background: #dce8ff; color: var(--accent); font-size: 11px; font-weight: 850; }.announcement-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }.announcement-meta small { color: var(--subtle); font-size: 9px; }.announcement-label { display: inline-flex; align-items: center; min-height: 20px; padding: 2px 7px; border-radius: 5px; background: #e5edff; color: var(--accent-deep); font-size: 9px; font-weight: 750; }.announcement-preview-status { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 16px; color: var(--subtle); font-size: 10px; }.announcement-preview-status > span { display: flex; align-items: center; gap: 7px; color: var(--muted); }.announcement-preview-status i { width: 7px; height: 7px; border-radius: 50%; background: #aeb9c9; }.announcement-preview-status i.is-live { background: #36b989; box-shadow: 0 0 0 4px rgba(54,185,137,.11); }
@media (max-width: 1080px) { .announcement-operations-grid { grid-template-columns: 1fr; }.announcement-preview-canvas { min-height: 210px; } }
@media (max-width: 760px) { .announcement-form-actions, .announcement-preview-status { align-items: flex-start; flex-direction: column; }.announcement-form-actions .button { width: 100%; }.announcement-preview-panel { padding: 20px; }.announcement-preview-canvas { padding: 18px; } }

/* v1.2.8 version publishing and support desk */
.version-heading { align-items: flex-end; }.version-kpis { display: flex; gap: 8px; flex-wrap: wrap; }.version-kpis span { display: grid; min-width: 92px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 10px; }.version-kpis b { color: var(--ink); font-size: 20px; line-height: 1.1; }.version-workbench { grid-template-columns: minmax(340px, 430px) minmax(0, 1fr); }.version-publisher { position: sticky; top: 88px; }.upload-field-compact { min-height: 132px; padding: 19px 14px; }.version-toolbar { margin: 0 24px; padding: 14px 0; border-top: 1px solid var(--line); }.compact-empty { min-height: 150px; }
.ticket-workspace { display: grid; grid-template-columns: minmax(290px, 360px) minmax(0, 1fr); gap: 17px; align-items: start; }.customer-ticket-workspace { grid-template-columns: minmax(310px, 390px) minmax(260px, 330px) minmax(380px, 1fr); }.ticket-queue { overflow: hidden; min-height: 480px; }.ticket-list { display: grid; max-height: 690px; overflow: auto; }.ticket-list-item { display: grid; gap: 7px; width: 100%; padding: 15px 18px; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }.ticket-list-item.selected { background: #f1f5ff; box-shadow: inset 3px 0 var(--accent); }.ticket-list-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.ticket-list-item b { color: var(--accent); font-size: 10px; letter-spacing: .05em; }.ticket-list-item strong { font-size: 12px; line-height: 1.5; }.ticket-list-item small { color: var(--muted); font-size: 9px; }
.ticket-status { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border-radius: 999px; background: #edf1f7; color: var(--muted); font-size: 9px; font-weight: 700; }.ticket-status.status-pending { background: #fff2dc; color: #966018; }.ticket-status.status-processing { background: #eaf0ff; color: var(--accent); }.ticket-status.status-waiting_customer { background: #f3edff; color: #7252ac; }.ticket-status.status-resolved { background: #e7f7ef; color: #207553; }.ticket-status.status-closed { background: #edf0f4; color: #667085; }
.ticket-detail { min-height: 480px; padding: 22px; }.ticket-detail-head { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }.ticket-detail-head h3 { margin: 5px 0 4px; font-size: 18px; }.ticket-detail-head p { color: var(--muted); font-size: 10px; }.ticket-context-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }.ticket-context-grid div { display: grid; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f9fbff; }.ticket-context-grid span { color: var(--muted); font-size: 9px; }.ticket-context-grid strong { font-size: 10px; }
.ticket-admin-controls, .ticket-reply-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }.ticket-admin-controls { padding-bottom: 16px; border-bottom: 1px solid var(--line); }.ticket-admin-controls select, .ticket-reply-actions select { min-height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-size: 10px; }.ticket-conversation { display: grid; gap: 11px; max-height: 440px; margin: 18px 0; overflow: auto; }.ticket-message { width: min(86%, 680px); padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px 12px 12px; background: #f7f9fc; }.ticket-message.mine { justify-self: end; border-color: #cdd9ff; border-radius: 12px 4px 12px 12px; background: #eef3ff; }.ticket-message.internal { border-color: #ead9aa; background: #fff8e9; }.ticket-message-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; }.ticket-message-head strong { font-size: 10px; }.ticket-message-head time { color: var(--subtle); font-size: 8px; }.ticket-message p { color: var(--ink); font-size: 11px; line-height: 1.75; white-space: pre-wrap; }
.ticket-attachments { display: flex; gap: 8px; flex-wrap: wrap; }.ticket-attachment { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--accent); font-size: 9px; text-decoration: none; }.ticket-reply-form { display: grid; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }.ticket-reply-form textarea { min-height: 92px; resize: vertical; padding: 11px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 11px; }.ticket-file-field small { color: var(--muted); font-size: 9px; }
.update-fallback { display: grid; gap: 7px; margin-top: 14px; padding: 13px; border: 1px solid #efcf94; border-radius: 9px; background: #fff9ed; }.update-fallback strong { color: #7b581d; font-size: 10px; }.update-fallback code { padding: 7px 9px; border-radius: 6px; background: #20283a; color: #e9eefc; font-size: 9px; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .ticket-list-item:hover { background: #f7f9ff; }.ticket-attachment:hover { border-color: #b9c9f6; background: #f5f8ff; } }
@media (max-width: 1180px) { .customer-ticket-workspace { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); }.customer-ticket-workspace .ticket-detail { grid-column: 1 / -1; } }
@media (max-width: 850px) { .version-workbench, .ticket-workspace, .customer-ticket-workspace { grid-template-columns: 1fr; }.version-publisher { position: static; }.ticket-context-grid { grid-template-columns: repeat(2, 1fr); }.customer-ticket-workspace .ticket-detail { grid-column: auto; } }
