:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #172033; background: #f3f6fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { padding: 28px 22px; background: #111a2d; color: #f8fafc; display: flex; flex-direction: column; }
.brand, .login-brand { display: flex; align-items: center; gap: 12px; }
.brand small { display: block; margin-top: 2px; color: #9aabc4; }
.brand-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #ff7a1a; color: white; font-weight: 800; letter-spacing: -.04em; }
nav { display: grid; gap: 8px; margin-top: 44px; }
nav a, .nav-disabled { padding: 11px 13px; border-radius: 9px; color: #ccd6e6; text-decoration: none; }
nav a.active { color: white; background: #23314b; }
.nav-disabled { opacity: .45; }
.sidebar-footer { margin-top: auto; display: grid; gap: 15px; }
.language-links { display: flex; gap: 12px; }
.language-links a { color: #9aabc4; text-decoration: none; font-size: .8rem; }
.logout { width: 100%; padding: 10px; color: #e8edf6; border: 1px solid #34435e; background: transparent; border-radius: 9px; cursor: pointer; }
.content { min-width: 0; padding: 44px clamp(24px, 5vw, 72px); }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; } h2 { margin-bottom: 5px; }
.eyebrow { margin-bottom: 8px; color: #e5640c; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-badge, .pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #e9eef7; color: #526178; font-size: .78rem; font-weight: 700; }
.pill.active { color: #126044; background: #dff5eb; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.metrics article, .panel { padding: 22px; border: 1px solid #e1e7f0; border-radius: 16px; background: white; box-shadow: 0 12px 35px rgba(24, 36, 58, .05); }
.metrics span { display: block; color: #65738a; font-size: .85rem; }.metrics strong { display: block; margin-top: 10px; font-size: 1.8rem; }
.panel-heading p, .muted, .empty { color: #65738a; }.table-wrap { overflow-x: auto; margin: 18px -22px -22px; }
table { width: 100%; border-collapse: collapse; } th, td { padding: 14px 22px; border-top: 1px solid #edf0f5; text-align: left; white-space: nowrap; } th { color: #65738a; font-size: .75rem; text-transform: uppercase; } td small { display: block; color: #7d899c; margin-top: 3px; }
.table-link, .back-link { color: #c95008; font-weight: 750; text-decoration: none; }.back-link { display: inline-block; margin-bottom: 16px; }.detail-header .eyebrow { margin-top: 6px; }.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }.detail-grid .panel { display: grid; gap: 7px; }.field-label { color: #65738a; font-size: .78rem; font-weight: 700; text-transform: uppercase; }.modules-panel { padding-bottom: 8px; }.module-list { margin: 20px -22px 0; }.module-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 22px; border-top: 1px solid #edf0f5; }.module-row small { display: block; margin-top: 5px; color: #728097; }.toggle { min-width: 112px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid #d7deea; border-radius: 999px; background: #f1f4f8; color: #5d6b80; cursor: pointer; }.toggle span { width: 18px; height: 18px; border-radius: 50%; background: #a6b1c1; }.toggle.enabled { color: #126044; background: #e4f6ee; border-color: #bce7d5; }.toggle.enabled span { background: #1d9569; }.toggle:disabled { cursor: not-allowed; opacity: .62; }
.ai-panel, .usage-panel { margin-top: 20px; }.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }.form-grid label > span { display: block; margin-bottom: 7px; color: #5d6b80; font-size: .82rem; font-weight: 700; }.form-grid input, .form-grid select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #cfd7e4; border-radius: 9px; background: white; color: #172033; }.form-grid input:disabled { background: #f3f5f8; color: #66758a; }.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }.check-label { display: flex; align-items: center; gap: 9px; color: #44526a; }.primary.compact { padding: 10px 16px; }.security-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #edf0f5; color: #728097; font-size: .78rem; }.success { margin: 16px 0; padding: 12px 14px; border: 1px solid #bce7d5; border-radius: 9px; background: #e4f6ee; color: #126044; }.usage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }.usage-grid article { padding: 16px; border-radius: 12px; background: #f5f7fb; }.usage-grid span, .usage-grid small { display: block; color: #6d7a90; font-size: .76rem; }.usage-grid strong { display: block; margin: 8px 0 4px; font-size: 1.35rem; }.usage-compare { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #edf0f5; color: #66758a; }.usage-compare strong { color: #27334a; }
.secondary-button, .details-button { padding: 9px 13px; border: 1px solid #d5dde9; border-radius: 9px; background: white; color: #42516a; font-weight: 700; cursor: pointer; }.audit-filters { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr auto; align-items: end; gap: 14px; margin-bottom: 20px; }.audit-filters label span { display: block; margin-bottom: 7px; color: #65738a; font-size: .78rem; font-weight: 700; }.audit-filters select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #cfd7e4; border-radius: 9px; background: white; }.audit-panel { padding-bottom: 0; }.pill.failed { color: #8f2d23; background: #fff0ee; }.details-button { padding: 6px 10px; color: #c95008; }.audit-detail-row td { padding: 0; background: #f7f9fc; }.audit-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px 22px; }.audit-detail-grid pre { max-height: 300px; overflow: auto; padding: 14px; border-radius: 9px; background: #172033; color: #e8edf6; font-size: .76rem; white-space: pre-wrap; }.audit-detail-grid dl { margin: 0; }.audit-detail-grid dt { margin-top: 8px; color: #748197; font-size: .72rem; font-weight: 700; text-transform: uppercase; }.audit-detail-grid dd { margin: 3px 0 10px; overflow-wrap: anywhere; }.load-more { display: flex; justify-content: center; margin-top: 18px; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top right, #223459, #10182a 56%); }
.security-panel { max-width: 760px; }.authenticator-qr { width: fit-content; margin: 18px 0; padding: 12px; border: 1px solid #dce3ec; border-radius: 12px; background: #fff; }.authenticator-qr img { display: block; width: 240px; height: 240px; image-rendering: pixelated; }.setup-secret { display: grid; gap: 7px; margin: 20px 0; }.setup-secret span, .confirm-code label span { color: #65738a; font-size: .78rem; font-weight: 700; }.setup-secret code { padding: 14px; border-radius: 9px; background: #f1f4f8; font-size: 1rem; letter-spacing: .08em; overflow-wrap: anywhere; }.uri-code { display: block; margin-top: 10px; overflow-wrap: anywhere; }.confirm-code { display: flex; align-items: end; gap: 12px; margin-top: 22px; }.confirm-code label { display: grid; gap: 7px; }.confirm-code input { min-height: 40px; padding: 8px 10px; border: 1px solid #cfd7e4; border-radius: 9px; font-size: 1.05rem; letter-spacing: .12em; }.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.recovery-codes code { padding: 12px; border-radius: 8px; background: #f1f4f8; text-align: center; }
.credential-editor { display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #dce3ec; }.credential-editor h3 { margin: 0 0 4px; }.credential-editor p { margin: 0; }.credential-editor small { margin-left: 10px; color: #65738a; }.credential-input { display: flex; align-items: end; gap: 12px; }.credential-input label { display: grid; flex: 1; gap: 7px; }.credential-input label span { color: #65738a; font-size: .78rem; font-weight: 700; }.credential-input input { min-height: 40px; padding: 8px 10px; border: 1px solid #cfd7e4; border-radius: 9px; }
.login-card { width: min(440px, 100%); padding: 36px; border-radius: 20px; background: white; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.login-brand { margin-bottom: 32px; font-weight: 800; }.login-form { display: grid; gap: 16px; margin-top: 26px; }.login-form label span { display: block; margin-bottom: 7px; font-size: .85rem; font-weight: 700; }.login-form input { width: 100%; padding: 12px 13px; border: 1px solid #cfd7e4; border-radius: 9px; }.primary, .button.button-primary { padding: 13px; border: 0; border-radius: 9px; color: white; background: #e8660e; font-weight: 800; cursor: pointer; }.login-note { margin: 22px 0 0; color: #7d899c; font-size: .78rem; text-align: center; }.alert { margin: 18px 0; padding: 12px 14px; color: #8f2d23; background: #fff0ee; border: 1px solid #ffd5d0; border-radius: 9px; }
.link-button { display: inline-block; color: white; text-decoration: none; }.provisioning-form { max-width: 920px; }
.plan-list { display: grid; gap: 18px; margin-top: 20px; }.plan-card { padding: 20px; border: 1px solid #e1e7f0; border-radius: 13px; background: #fafbfc; }.plan-heading, .version-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }.plan-heading h3 { margin: 3px 0 0; }.form-grid .wide { grid-column: 1 / -1; }.inline-checks, .entitlement-grid { display: flex; flex-wrap: wrap; gap: 16px; }.version-editor, .version-summary { margin-top: 20px; padding-top: 18px; border-top: 1px solid #dce3ec; }.version-editor small { display: block; margin-top: 5px; color: #6d7a90; }.entitlement-grid { margin-top: 16px; }
.subscription-panel { margin-bottom: 20px; }.subscription-current { display: flex; align-items: baseline; gap: 10px; }.subscription-current small { color: #6d7a90; }
.price-editor { margin-top: 18px; padding-top: 18px; border-top: 1px solid #dce3ec; }.price-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }.price-row { display: grid; grid-template-columns: .65fr .85fr 1fr 1.5fr auto; align-items: end; gap: 10px; margin-top: 12px; }.price-row label { min-width: 0; }.price-row label span { display: block; margin-bottom: 6px; color: #65738a; font-size: .75rem; font-weight: 700; }.price-row input, .price-row select { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid #cfd7e4; border-radius: 8px; background: white; }
.offer-groups-panel { padding-bottom: 0; }.offer-groups-layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 2fr); margin: 20px -22px 0; border-top: 1px solid #e1e7f0; min-height: 540px; }.offer-groups-master { padding: 18px; border-right: 1px solid #e1e7f0; background: #f7f9fc; }.offer-group-create { padding: 12px; border: 1px solid #dce3ec; border-radius: 11px; background: white; }.offer-group-create summary { cursor: pointer; color: #c95008; }.offer-group-create-fields { display: grid; gap: 12px; margin-top: 16px; }.offer-group-create-fields label > span { display: block; margin-bottom: 6px; color: #5d6b80; font-size: .82rem; font-weight: 700; }.offer-group-create-fields input, .offer-group-create-fields select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #cfd7e4; border-radius: 8px; background: white; }.offer-group-list { display: grid; gap: 8px; margin-top: 16px; }.offer-group-nav { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #172033; text-align: left; cursor: pointer; }.offer-group-nav:hover { background: white; border-color: #e1e7f0; }.offer-group-nav.selected { background: #fff4ec; border-color: #ffcda9; box-shadow: 0 6px 18px rgba(201, 80, 8, .08); }.offer-group-nav strong, .offer-group-nav small { display: block; }.offer-group-nav small { margin-top: 4px; color: #6d7a90; line-height: 1.35; }.offer-group-detail { min-width: 0; padding: 24px; }.offer-group-members { margin-top: 22px; padding-top: 20px; border-top: 1px solid #e1e7f0; }.offer-group-empty { display: grid; place-items: center; padding: 40px; color: #65738a; }
.offer-plan-grid { display: grid; gap: 9px; margin-top: 16px; }.offer-plan-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: end; gap: 14px; padding: 11px 13px; border: 1px solid #e1e7f0; border-radius: 10px; background: #fafbfc; }.offer-plan-row > label > span { display: block; margin-bottom: 5px; color: #65738a; font-size: .75rem; font-weight: 700; }.offer-plan-row input[type="number"] { width: 100%; min-height: 36px; padding: 7px 9px; border: 1px solid #cfd7e4; border-radius: 8px; background: white; }.offer-plan-row input:disabled { background: #eef1f5; color: #7d899c; }
@media (max-width: 800px) { .app-shell { grid-template-columns: 1fr; }.sidebar { padding: 16px; flex-direction: row; align-items: center; gap: 14px; }.brand small, nav .nav-disabled, .sidebar-footer { display: none; } nav { margin: 0 0 0 auto; }.content { padding: 26px 16px; }.metrics, .detail-grid, .form-grid, .usage-grid, .audit-filters, .audit-detail-grid { grid-template-columns: 1fr; }.page-header { align-items: flex-start; flex-direction: column; }.module-row, .form-actions, .credential-input { align-items: stretch; flex-direction: column; }.toggle, .form-actions .primary, .credential-input .primary { width: 100%; justify-content: center; }.usage-compare { align-items: flex-start; flex-direction: column; } }
@media (max-width: 800px) { .price-row { grid-template-columns: 1fr; } }
@media (max-width: 1050px) { .offer-groups-layout { grid-template-columns: 1fr; }.offer-groups-master { border-right: 0; border-bottom: 1px solid #e1e7f0; }.offer-group-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
@media (max-width: 560px) { .offer-plan-row { grid-template-columns: 1fr; } }
.button { padding: 10px 14px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-weight: 700; cursor: pointer; } .button.button-secondary { background: #eef2f8; color: #223459; border-color: #cfd7e4; } .button:disabled { opacity: .5; cursor: not-allowed; }
