:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #6e7789;
  --line: #e7eaf0;
  --soft: #f6f8fa;
  --navy: #0d1729;
  --navy-2: #111f35;
  --mint: #72d9be;
  --mint-dark: #1b8d72;
  --blue: #4d7df3;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f5f7fa; color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; fill: currentColor; }
.brand { display: flex; align-items: center; gap: 11px; color: white; font: 800 25px/1 'Manrope', sans-serif; letter-spacing: -.8px; }
.brand-mark { width: 31px; height: 31px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; align-items: end; transform: skew(-7deg); }
.brand-mark i { display: block; border-radius: 3px 3px 1px 1px; background: var(--mint); height: 58%; }
.brand-mark i:nth-child(2) { height: 95%; }
.brand-mark i:nth-child(3) { height: 72%; }
.eyebrow, .form-kicker { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; }

/* Login */
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 48%) 1fr; background: white; }
.login-panel { position: relative; overflow: hidden; min-height: 720px; color: white; padding: 50px clamp(45px, 6vw, 100px); background: radial-gradient(circle at 80% 72%, rgba(57, 115, 114, .28), transparent 35%), linear-gradient(150deg, #0c1526, #101d32 70%, #0b1423); display: flex; flex-direction: column; }
.login-panel::before, .login-panel::after { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(118, 222, 193, .08); border-radius: 50%; right: -280px; bottom: -135px; }
.login-panel::after { width: 380px; height: 380px; right: -210px; bottom: -65px; }
.login-copy { position: relative; z-index: 1; margin: auto 0; max-width: 560px; }
.login-copy h1 { font: 700 clamp(38px, 4.2vw, 62px)/1.08 'Manrope', sans-serif; letter-spacing: -2.5px; margin: 24px 0 20px; }
.login-copy h1 em { color: var(--mint); font-style: normal; }
.login-copy > p { max-width: 490px; color: #9eabba; font-size: 17px; line-height: 1.75; }
.signal-card { margin-top: 48px; width: min(100%, 440px); padding: 18px 20px; display: flex; align-items: center; gap: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.045); backdrop-filter: blur(8px); }
.signal-visual { position: relative; width: 62px; height: 50px; display: flex; align-items: flex-end; gap: 4px; padding: 7px 8px; border-radius: 8px; background: rgba(113, 217, 190, .09); }
.signal-visual span { width: 6px; background: var(--mint); border-radius: 2px; height: 14px; opacity: .6; }
.signal-visual span:nth-child(2) { height: 24px; opacity: .8; }.signal-visual span:nth-child(3) { height: 32px; }
.signal-visual b { position: absolute; top: 3px; right: -8px; font-size: 9px; color: var(--mint); }
.signal-card strong, .signal-card small { display: block; }.signal-card strong { font-size: 14px; }.signal-card small { color: #8d9aaa; margin-top: 5px; font-size: 12px; }
.login-legal { color: #697588; font-size: 11px; position: relative; z-index: 1; }
.login-form-wrap { display: grid; place-items: center; padding: 48px; }
.login-form { width: min(100%, 410px); }
.mobile-brand { display: none; }
.login-form .form-kicker { color: var(--mint-dark); }
.login-form h2 { font: 700 32px/1.2 'Manrope', sans-serif; letter-spacing: -1.2px; margin: 13px 0 9px; }
.login-form > p { color: var(--muted); margin: 0 0 36px; }
.login-form label:not(.check-row) { display: flex; flex-direction: column; position: relative; color: #364054; font-size: 13px; font-weight: 700; margin-bottom: 20px; gap: 8px; }
.login-form input, .login-form select { border: 1px solid #dfe3e8; border-radius: 8px; padding: 13px 14px; outline: none; color: var(--ink); background: white; transition: .2s; }
.login-form input:focus, .form-grid input:focus, .form-grid select:focus { border-color: #70cdb5; box-shadow: 0 0 0 3px rgba(112, 205, 181, .14); }
.label-row { position: absolute; right: 0; top: 0; }.label-row a { color: #18836c; text-decoration: none; font-weight: 700; }
.password-wrap { position: relative; }.password-wrap input { width: 100%; padding-right: 60px; }
.text-button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #5d6879; font-size: 12px; font-weight: 700; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5d6879; margin-bottom: 25px; }.check-row input { accent-color: #17866d; }
.primary-button { border: 0; border-radius: 8px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #1c997a; color: white; font-weight: 700; box-shadow: 0 5px 14px rgba(30, 151, 121, .18); transition: transform .15s, background .15s; }
.primary-button:hover { background: #16856a; transform: translateY(-1px); }.primary-button svg { width: 17px; height: 17px; }
.sign-in { width: 100%; justify-content: space-between; padding: 14px 17px; }.sign-in.loading { opacity: .75; pointer-events: none; }
.secure-note { text-align: center; color: #8b93a0; font-size: 11px; margin-top: 22px; }.secure-note span { color: #5dbba4; margin-right: 5px; }
.auth-note { margin: -5px 0 22px; padding: 10px 12px; border-radius: 7px; background: #f4f7f8; color: #6f7887; font-size: 11px; line-height: 1.45; }
.form-alert { margin: -18px 0 20px; padding: 10px 12px; border: 1px solid #f2ced1; border-radius: 7px; background: #fff5f5; color: #b84851; font-size: 11px; line-height: 1.45; }
.restricted-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 20%, #1b3143, transparent 38%), var(--navy); }.restricted-card { width: min(100%, 510px); padding: 38px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: white; box-shadow: 0 28px 70px rgba(0,0,0,.28); }.restricted-card .brand { color: var(--navy); margin-bottom: 34px; }.restricted-card .form-kicker { color: #a06013; }.restricted-card h1 { font: 700 28px/1.2 'Manrope'; margin: 10px 0 9px; }.restricted-card > p { color: var(--muted); font-size: 13px; line-height: 1.65; }.access-icon { width: 46px; height: 46px; display: grid; place-items: center; float: right; border-radius: 10px; color: #9a671f; background: #fff3dc; }.permission-list { margin: 24px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }.permission-list span { display: flex; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); color: #596477; font-size: 11px; }.permission-list span:last-child { border: 0; }.permission-list b { color: #ba4c55; }

/* App shell */
.shell { min-height: 100vh; display: grid; grid-template-columns: 236px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; z-index: 20; display: flex; flex-direction: column; background: var(--navy); padding: 28px 18px 20px; }
.sidebar > .brand { padding: 0 12px 34px; }
.sidebar nav { display: flex; flex-direction: column; gap: 6px; }
.nav-label { padding: 0 12px 9px; color: #667389; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; }
.sidebar nav button { border: 0; border-radius: 7px; padding: 10px 11px; display: flex; align-items: center; gap: 12px; background: transparent; color: #8f9bad; font-size: 13px; text-align: left; }
.sidebar nav button:hover { color: white; background: rgba(255,255,255,.04); }.sidebar nav button.active { color: #b4f0df; background: rgba(88, 190, 162, .12); }.sidebar nav button.active::before { content: ''; position: absolute; left: 0; width: 3px; height: 24px; background: var(--mint); border-radius: 0 3px 3px 0; }
.sidebar nav button svg { width: 18px; height: 18px; }.sidebar nav button b { margin-left: auto; min-width: 23px; border-radius: 12px; padding: 3px 6px; background: rgba(114, 217, 190, .12); font-size: 10px; text-align: center; }
.side-bottom { margin-top: auto; }
.user-card { border-top: 1px solid rgba(255,255,255,.07); margin-top: 20px; padding: 20px 4px 0; display: flex; align-items: center; gap: 9px; color: white; }
.user-avatar, .mini-profile b { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #a7e7d5; background: #22463f; font-size: 11px; }
.user-card div { min-width: 0; flex: 1; }.user-card b, .user-card small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.user-card b { font-size: 11px; }.user-card small { color: #758196; font-size: 9px; margin-top: 3px; }.user-card > span:last-child { color: #68758b; font-size: 10px; }
.main-area { min-width: 0; }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 31px; border-bottom: 1px solid var(--line); background: white; }
.top-search { display: flex; align-items: center; gap: 9px; color: #98a0ad; }.top-search svg { width: 17px; }.top-search input { width: 210px; border: 0; outline: 0; font-size: 12px; }.top-search kbd { border: 1px solid #e2e5e9; border-radius: 4px; padding: 3px 6px; background: #f7f8fa; font: 10px 'DM Sans'; }
.top-actions, .mini-profile { display: flex; align-items: center; }.top-actions { gap: 19px; }.top-actions > span { width: 1px; height: 24px; background: var(--line); }
.notification { position: relative; border: 0; background: none; font-size: 24px; color: #576276; }.notification i { position: absolute; right: 1px; top: 2px; width: 6px; height: 6px; border-radius: 50%; background: #e35d66; border: 1px solid white; }
.connection-state { display: inline-flex; align-items: center; gap: 6px; color: #7b8492; font-size: 10px; font-weight: 700; }.connection-state i { width: 6px; height: 6px; border-radius: 50%; background: #d9a238; }.connection-state.live i { background: #24977a; }
.mini-profile { gap: 9px; }.mini-profile b { color: #31665b; background: #dff3ed; }.mini-profile strong, .mini-profile small { display: block; }.mini-profile strong { font-size: 11px; }.mini-profile small { color: #8b94a2; font-size: 9px; margin-top: 2px; }.mini-profile svg { width: 15px; color: #9ba2ad; }
.mobile-menu { display: none; }
.content { padding: 26px 32px 45px; max-width: 1500px; margin: auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }.breadcrumb { color: #9aa2ae !important; font-size: 10px !important; margin-bottom: 15px !important; }.breadcrumb b { color: #697386; }.page-heading h1 { font: 700 27px/1.2 'Manrope'; letter-spacing: -.8px; margin: 0 0 6px; }.page-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.contract-banner { margin-top: 20px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #f1d7a6; border-radius: 8px; background: #fffaef; }.contract-banner.demo { border-color: #cfe7df; background: #f1faf7; }.contract-banner b, .contract-banner span { display: block; }.contract-banner b { color: #73511a; font-size: 11px; }.contract-banner.demo b { color: #25715f; }.contract-banner span { margin-top: 3px; color: #8b7146; font-size: 10px; line-height: 1.45; }.contract-banner.demo span { color: #668078; }.contract-banner code { padding: 1px 4px; border-radius: 3px; background: rgba(0,0,0,.05); font-size: 9px; }.lookup-control { flex: 0 0 auto; display: flex; gap: 7px; }.lookup-control input { width: 205px; height: 34px; padding: 0 10px; border: 1px solid #e3c987; border-radius: 6px; outline: 0; background: white; font-size: 10px; }.lookup-control button { height: 34px; border: 0; border-radius: 6px; padding: 0 12px; background: #7e632b; color: white; font-size: 10px; font-weight: 700; }.lookup-control button:disabled { opacity: .55; }
.feature-summary { margin: 20px 0; padding: 16px 18px; display: flex; align-items: center; gap: 20px; border: 1px solid #dce9e5; border-radius: 8px; background: #f5faf8; }.feature-summary div { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }.feature-summary strong { color: #21836b; font: 700 24px 'Manrope'; }.feature-summary span { color: #5f786f; font-size: 10px; }.feature-summary p { margin: 0; color: #71827d; font-size: 10px; line-height: 1.5; }
.stats-grid { margin: 25px 0 21px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stat-card { min-width: 0; padding: 17px 18px 15px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 2px 5px rgba(21, 32, 50, .025); }.stat-top { display: flex; justify-content: space-between; align-items: center; color: #6c7686; font-size: 11px; }.stat-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; font-size: 14px; }.stat-icon svg { width: 14px; }.stat-icon.mint { color: #2d9a7f; background: #e2f5ef; }.stat-icon.blue { color: #547fe5; background: #e8eeff; }.stat-icon.amber { color: #d99a2b; background: #fff2d9; }.stat-icon.violet { color: #8b6ad6; background: #efe8ff; }
.stat-card > strong { display: block; font: 700 25px 'Manrope'; margin: 7px 0 5px; }.stat-card small { color: #9ba2ad; font-size: 9px; }.stat-card small em { color: #24977a; font-style: normal; font-weight: 700; }
.license-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 2px 6px rgba(21, 32, 50, .025); }.card-header { min-height: 78px; padding: 17px 19px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }.card-header h2 { font: 700 15px 'Manrope'; margin: 0 0 5px; }.card-header p { margin: 0; color: #8f98a6; font-size: 10px; }
.table-tools { display: flex; gap: 9px; }.table-search { width: 205px; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #e0e4e9; border-radius: 6px; color: #9aa3b0; }.table-search svg { width: 15px; }.table-search input { width: 100%; border: 0; outline: 0; font-size: 10px; }.table-tools select { height: 34px; min-width: 126px; border: 1px solid #e0e4e9; border-radius: 6px; padding: 0 28px 0 10px; background: white; color: #566174; font-size: 10px; outline: 0; }
.refresh-button { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #e0e4e9; border-radius: 6px; background: white; color: #748093; }.refresh-button:hover { color: #21836b; background: #f7faf9; }.refresh-button svg { width: 15px; }
.table-scroll { overflow-x: auto; }table { width: 100%; border-collapse: collapse; white-space: nowrap; }th { height: 37px; padding: 0 16px; background: #fafbfc; color: #8c95a3; font-size: 9px; text-transform: uppercase; letter-spacing: .6px; text-align: left; }td { height: 64px; padding: 0 16px; border-top: 1px solid #edf0f3; color: #4e596b; font-size: 10px; }tr:hover td { background: #fcfdfd; }.customer-cell, .owner-cell { display: flex; align-items: center; gap: 10px; }.company-avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 6px; background: #edf1f6; color: #536076; font-size: 9px; font-weight: 800; }.customer-cell b, .customer-cell small { display: block; }.customer-cell b { color: #273247; font-size: 10px; }.customer-cell small { color: #9aa2ae; margin-top: 4px; font-size: 8px; letter-spacing: .3px; }.product-name { color: #3d485b; }.owner-cell > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e8eef7; color: #53647d; font-size: 8px; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 12px; padding: 4px 8px; font-size: 9px; font-weight: 700; }.status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.status.active { color: #21836b; background: #e5f6f0; }.status.expiring { color: #b57919; background: #fff3dc; }.status.expired, .status.revoked, .status.retired { color: #c34b55; background: #fdebed; }.status.suspended, .status.inactive { color: #6c7280; background: #edf0f3; }
.mode-pill { padding: 4px 7px; border: 1px solid #e6e9ed; border-radius: 5px; color: #596477; background: #fafbfc; font-size: 9px; }.revision-cell b, .revision-cell span { display: block; }.revision-cell b { color: #3d485b; font-size: 9px; }.revision-cell span { max-width: 160px; margin-top: 4px; overflow: hidden; color: #929ba8; font-size: 8px; text-overflow: ellipsis; }
.feature-avatar svg { width: 15px; height: 15px; }.description-cell { display: block; max-width: 310px; overflow: hidden; color: #697386; line-height: 1.45; text-overflow: ellipsis; }.feature-picker { margin: 0; padding: 0; border: 0; }.feature-picker legend { margin-bottom: 8px; color: #475265; font-size: 11px; font-weight: 700; }.feature-choice { margin-top: -1px; padding: 10px 11px; display: flex !important; align-items: center; flex-direction: row !important; gap: 10px !important; border: 1px solid #e3e7eb; background: white; }.feature-choice:first-of-type { border-radius: 7px 7px 0 0; }.feature-choice:last-child { border-radius: 0 0 7px 7px; }.feature-choice:only-of-type { border-radius: 7px; }.feature-choice input { width: 15px; height: 15px; flex: 0 0 auto; accent-color: #1c997a; }.feature-choice > span { min-width: 0; flex: 1; }.feature-choice b, .feature-choice small { display: block; }.feature-choice b { color: #364054; font-size: 10px; }.feature-choice small { margin-top: 3px; overflow: hidden; color: #8a94a1; text-overflow: ellipsis; white-space: nowrap; }.feature-choice em { flex: 0 0 auto; font-style: normal; }.feature-choice.disabled { opacity: .55; background: #fafbfc; }.feature-empty { padding: 17px; border: 1px dashed #d8dde3; border-radius: 7px; color: #8a94a1; font-size: 10px; text-align: center; }
.form-grid .feature-choice input { width: 15px; height: 15px; padding: 0; }
.icon-button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 6px; color: #8e97a4; background: transparent; }.icon-button:hover { background: #f1f3f6; color: #364054; }.icon-button svg { width: 17px; }.table-footer { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-top: 1px solid var(--line); color: #8d96a4; font-size: 9px; }.table-footer div { display: flex; gap: 4px; }.table-footer button { width: 25px; height: 25px; border: 1px solid #e0e4e9; border-radius: 5px; background: white; color: #9098a4; font-size: 9px; }.table-footer button.current { color: white; background: #1d987a; border-color: #1d987a; }.empty-state { padding: 28px; text-align: center; }.empty-state b, .empty-state span { display: block; }.empty-state span { margin-top: 5px; color: #9aa2ae; }

/* Modal and feedback */
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(6, 13, 24, .58); backdrop-filter: blur(3px); animation: fade .18s ease-out; }.modal { width: min(100%, 590px); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 12px; background: white; box-shadow: 0 28px 70px rgba(0,0,0,.25); animation: rise .2s ease-out; }.modal.wide-modal { width: min(100%, 680px); }.modal header { padding: 24px 25px 18px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }.modal header .form-kicker { color: var(--mint-dark); }.modal h2 { font: 700 22px 'Manrope'; margin: 7px 0 4px; }.modal header p { margin: 0; color: var(--muted); font-size: 12px; }.modal form { padding: 22px 25px 0; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.form-grid label { display: flex; flex-direction: column; gap: 7px; color: #475265; font-size: 11px; font-weight: 700; }.form-grid label.full { grid-column: 1 / -1; }.form-grid label small { color: #929ba7; font-size: 9px; font-weight: 500; }.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid #dde2e7; border-radius: 7px; padding: 0 11px; outline: 0; background: white; color: var(--ink); font-size: 12px; }.form-grid input, .form-grid select { height: 41px; }.form-grid textarea { min-height: 68px; padding-top: 10px; resize: vertical; font-family: 'DM Sans', sans-serif; }.form-grid textarea:focus { border-color: #70cdb5; box-shadow: 0 0 0 3px rgba(112, 205, 181, .14); }.form-grid .hidden { display: none; }.modal-error { min-height: 16px; margin-top: 13px; color: #bf4650; font-size: 10px; }.modal footer { margin-top: 10px; padding: 17px 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); }.modal footer > div { display: flex; gap: 9px; }.record-actions { display: flex; gap: 8px; }.secondary-button, .danger-button { border: 1px solid #dfe3e8; border-radius: 7px; padding: 10px 15px; background: white; color: #596477; font-weight: 700; font-size: 11px; }.danger-button { color: #c74851; border-color: #f0cfd2; }.danger-button:hover { background: #fff5f5; }.toast-region { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; gap: 8px; }.toast { display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 12px 16px; border-radius: 8px; background: #101b2d; color: white; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 12px; animation: rise .2s ease-out; }.toast span { color: var(--mint); font-weight: 800; }.toast.error span { color: #ff929a; }.sidebar-scrim { display: none; }.spinner { width: 18px; height: 18px; display: inline-block !important; margin: 0 auto 8px; border: 2px solid #dce4e2; border-top-color: #23977a; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes fade { from { opacity: 0; } } @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-profile div, .mini-profile > svg, .top-search kbd { display: none; }
}
@media (max-width: 760px) {
  .login-page { display: block; background: linear-gradient(#0d1729 0 180px, white 180px); padding: 30px 20px; }
  .login-panel { display: none; }.login-form-wrap { min-height: calc(100vh - 60px); display: grid; align-items: center; padding: 28px 22px; border-radius: 16px; background: white; box-shadow: 0 18px 45px rgba(6, 14, 28, .15); }.mobile-brand { display: block; margin-bottom: 50px; }.mobile-brand .brand { color: var(--navy); }
  .shell { display: block; }.sidebar { position: fixed; left: -250px; width: 236px; transition: left .22s; }.menu-open .sidebar { left: 0; }.sidebar-scrim { position: fixed; inset: 0; z-index: 15; background: rgba(5, 12, 22, .48); }.menu-open .sidebar-scrim { display: block; }
  .mobile-menu { display: block; border: 0; background: transparent; color: #4a5567; font-size: 19px; }.topbar { padding: 0 17px; }.top-search { display: none; }.content { padding: 22px 17px 35px; }.page-heading { align-items: center; }.breadcrumb { display: none; }.page-heading p { max-width: 220px; line-height: 1.5; }.page-heading .primary-button span { display: none; }.stats-grid { margin-top: 20px; }
  .contract-banner { align-items: stretch; flex-direction: column; }.lookup-control { width: 100%; }.lookup-control input { flex: 1; width: auto; }.card-header { align-items: flex-start; flex-direction: column; }.table-tools { width: 100%; }.table-search { flex: 1; width: auto; }.table-tools select { min-width: 118px; }.connection-state { display: none; }
  .feature-summary { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
  .login-page { padding: 20px 12px; }.login-form-wrap { padding: 25px 20px; }.mobile-brand { margin-bottom: 38px; }.login-form h2 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr; }.stat-card { padding: 15px 17px; }.top-actions > span { display: none; }.mini-profile { display: none; }.page-heading h1 { font-size: 24px; }.lookup-control { flex-direction: column; }.lookup-control button { width: 100%; }.table-tools { flex-wrap: wrap; }.table-search { min-width: calc(100% - 43px); }.table-tools select { width: 100%; }.modal-backdrop { padding: 12px; }.modal { max-height: calc(100vh - 24px); overflow-y: auto; }.form-grid { grid-template-columns: 1fr; }.form-grid label.full { grid-column: auto; }.modal footer { align-items: stretch; flex-direction: column-reverse; }.modal footer > div { flex: 1; }.modal footer .primary-button, .modal footer .secondary-button { flex: 1; }.record-actions { width: 100%; }.record-actions button { flex: 1; }
}
