:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #19332a;
  background: #f5f7f9;
  font-size: 16px;
  line-height: 1.5;
  --green: #087f5b;
  --muted: #506550;
  --border: #e3eae5;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
button, a { color: inherit; }
a { text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.04em; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #47ae88; outline-offset: 3px; }
.icon { width: 21px; height: 21px; flex-shrink: 0; display: inline-block; vertical-align: middle; pointer-events: none; }
.skip-link { position: fixed; top: -100px; left: 20px; background: #173d2e; color: white; padding: 12px 20px; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.loading-screen { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 25px; letter-spacing: -1.2px; }
.brand strong { font-weight: 750; }
.brand strong span { font-weight: 450; }
.brand b { color: var(--muted); }
.eyebrow { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-story { background: #143c2e; color: #f5fff8; padding: 45px 60px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-story > *:not(.auth-orbit) { position: relative; z-index: 1; }
.auth-story .brand img { width: 43px; height: 43px; }
.auth-story .brand { font-size: 29px; }
.auth-story-copy { padding: 75px 0; max-width: 500px; }
.auth-story .eyebrow { color: var(--muted); font-size: 10px; }
.auth-story h1 { font-size: clamp(36px, 3.5vw, 57px); font-weight: 550; line-height: 1.13; margin: 25px 0; }
.auth-story-copy > p { font-size: 16px; color: var(--muted); line-height: 1.9; max-width: 410px; }
.story-features { display: grid; gap: 20px; margin-top: 40px; font-size: 14px; color: #d1e4d8; }
.story-features > span { display: flex; align-items: center; gap: 13px; }
.story-features .icon { color: var(--muted); width: 20px; }
.auth-footnote { color: var(--muted); font-size: 12px; }
.auth-orbit { position: absolute; width: 650px; height: 650px; border-radius: 50%; border: 1px solid #b0d1ae12; right: -280px; bottom: -250px; }
.orbit-two { width: 850px; height: 850px; right: -380px; bottom: -350px; }
.auth-form-panel { background: #fff; padding: 55px 50px; display: flex; align-items: center; justify-content: center; }
.auth-form-wrap { width: 100%; max-width: 400px; }
.auth-form-wrap h2 { font-size: 34px; font-weight: 650; line-height: 1.2; }
.auth-form-wrap > p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); margin: 28px 0 24px; gap: 25px; }
.auth-tabs button { border: 0; background: transparent; font-size: 14px; color: var(--muted); padding: 12px 0; border-bottom: 2px solid transparent; }
.auth-tabs button.active { color: var(--green); border-bottom-color: var(--green); font-weight: 650; }
label { display: block; font-size: 14px; font-weight: 550; margin-bottom: 18px; color: #546f5c; }
input, select, textarea { display: block; border: 1px solid #dce5dc; background: #fcfdfb; border-radius: 7px; width: 100%; min-height: 45px; padding: 11px 13px; margin-top: 7px; color: #30523c; font-size: 14px; }
input::placeholder { color: var(--muted); font-size: 14px; }
textarea { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 13px; resize: vertical; overflow-wrap: anywhere; }
select { appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23758b78' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.button { border: 1px solid transparent; border-radius: 7px; padding: 12px 18px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.button .icon { width: 17px; height: 17px; }
.green { background: var(--green); color: white; border-color: var(--green); }
.green:hover { background: #066548; }
.outline { background: white; border-color: #dce5da; color: var(--muted); }
.outline:hover { background: #f2f7ef; }
.destructive { background: #a04e3e; color: white; }
.full { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-row > label { min-width: 0; }
.form-hint { font-size: 12px; color: var(--muted); line-height: 1.9; margin: -4px 0 18px; }
.form-error { color: #b04b3b; font-size: 14px; line-height: 1.8; margin: 10px 0; }
.form-error:empty { display: none; }
.auth-security { display: flex; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 24px; align-items: flex-start; }
.auth-security .icon { width: 15px; height: 15px; margin-top: 3px; }
.auth-form-wrap > .release-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 20px; padding-top: 20px; border-top: 1px solid #edf1e8; }
.sidebar { width: 245px; position: fixed; inset: 0 auto 0 0; background: white; border-right: 1px solid var(--border); padding: 32px 22px 20px; display: flex; flex-direction: column; z-index: 10; }
.console-label { font-size: 9px; letter-spacing: 2px; color: var(--muted); font-weight: 650; margin: 13px 0 29px 49px; }
.workspace-card { display: flex; align-items: center; gap: 11px; border: 1px solid var(--border); background: #fafcf9; border-radius: 9px; padding: 12px; margin-bottom: 28px; }
.workspace-letter { display: grid; place-items: center; width: 32px; height: 32px; background: #e6eee1; color: var(--muted); font-size: 15px; border-radius: 7px; flex-shrink: 0; }
.workspace-card > div { min-width: 0; }
.workspace-card strong { font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-card div > span { font-size: 11px; color: var(--muted); text-transform: capitalize; }
.sidebar nav { display: grid; gap: 6px; }
.nav-button { border: 0; background: transparent; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 8px; width: 100%; color: var(--muted); text-align: left; font-size: 14px; min-height: 47px; }
.nav-button .icon { width: 19px; height: 19px; }
.nav-button:hover { background: #f3f8f0; }
.nav-button.active { background: #eaf4e8; color: var(--green); font-weight: 650; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.security-note { background: #f7faf4; border: 1px solid #ecf1e5; padding: 17px; border-radius: 10px; margin-bottom: 18px; }
.security-note > .icon { display: block; color: var(--muted); margin-bottom: 12px; }
.security-note strong { display: block; font-size: 12px; }
.security-note p { font-size: 12px; line-height: 1.8; margin-top: 7px; color: var(--muted); }
.main-shell { margin-left: 245px; }
.topbar { height: 83px; background: white; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 40px; }
.breadcrumb { display: flex; align-items: center; gap: 13px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.breadcrumb strong { color: #57724b; font-weight: 500; }
.breadcrumb > span { color: #d2dbca; }
.topbar-actions { display: flex; align-items: center; gap: 13px; min-width: 0; }
.topbar select { width: 210px; min-height: 35px; font-size: 12px; padding: 8px 30px 8px 11px; margin: 0; background-color: #fff; }
.icon-button { width: 34px; height: 34px; background: transparent; border: 1px solid #e2e9dc; border-radius: 7px; display: inline-grid; place-items: center; color: var(--muted); }
.icon-button .icon { width: 16px; height: 16px; }
.user-avatar { display: grid; place-items: center; width: 33px; height: 33px; flex-shrink: 0; border-radius: 50%; background: #e8eee3; color: var(--muted); font-size: 10px; font-weight: 700; border: 3px solid white; outline: 1px solid #e2e9dc; }
.main-shell main { padding: 37px 40px 0; max-width: 1480px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.page-heading .eyebrow { font-size: 10px; margin-bottom: 8px; }
.page-heading h1 { font-size: 31px; line-height: 1.25; font-weight: 650; }
.page-heading p { font-size: 14px; color: var(--muted); margin-top: 9px; line-height: 1.8; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.metric-card { border: 1px solid var(--border); border-radius: 11px; background: white; padding: 21px; min-width: 0; }
.metric-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.metric-card > div > span:first-child { color: var(--muted); font-size: 12px; }
.metric-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: #f0f6ec; color: var(--muted); }
.metric-icon .icon { width: 17px; height: 17px; }
.metric-card > strong { font-size: 34px; line-height: 1.2; letter-spacing: -1px; font-weight: 550; display: block; margin: 13px 0; }
.metric-card small { display: block; font-size: 11px; line-height: 1.8; color: var(--muted); }
.welcome-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 32px; background: #e9f2e6; border: 1px solid #dce8d5; border-radius: 13px; margin-top: 25px; }
.welcome-panel .eyebrow { font-size: 9px; letter-spacing: 1.2px; color: var(--muted); }
.welcome-panel h2 { font-size: 30px; line-height: 1.2; color: #446938; font-weight: 550; }
.welcome-panel > div > p { font-size: 14px; color: var(--muted); line-height: 1.9; margin-top: 15px; max-width: 380px; }
.progress-label { font-size: 11px; color: var(--muted); display: block; margin-top: 25px; }
.progress-track { width: 190px; height: 4px; border-radius: 4px; background: #d6e3cd; margin-top: 9px; overflow: hidden; }
.progress-fill { display: block; height: 100%; background: #6c9b55; border-radius: 4px; }
.progress-0 { width: 0; }.progress-1 { width: 33.33%; }.progress-2 { width: 66.67%; }.progress-3 { width: 100%; }
.setup-steps { display: grid; gap: 12px; align-content: center; }
.setup-step { width: 100%; display: flex; align-items: center; gap: 13px; text-align: left; padding: 17px; background: #ffffffc9; border: 1px solid #dfe9d8; border-radius: 9px; }
.setup-step > span { width: 32px; height: 32px; border: 1px solid #dce6d4; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.setup-step > span .icon { width: 17px; height: 17px; }
.setup-step strong { display: block; font-size: 13px; color: #557749; font-weight: 600; }
.setup-step p { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.setup-step > small { margin-left: auto; font-size: 10px; color: var(--muted); white-space: nowrap; }
.setup-step.completed > span { background: #e7f0de; border-color: #d9e6cf; color: var(--muted); }
.setup-step:hover { border-color: #a9c398; background: white; }
.overview-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 25px; }
.panel { border: 1px solid var(--border); background: white; border-radius: 11px; padding: 25px; }
.panel-heading { display: flex; gap: 12px; align-items: flex-start; }
.panel-icon { color: var(--muted); }.panel-icon .icon { width: 21px; height: 21px; }
.panel h2 { font-size: 19px; font-weight: 600; letter-spacing: -.5px; }
.panel > p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 16px 0; }
.text-button { background: transparent; border: 0; padding: 5px 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.text-button:hover { text-decoration: underline; }
.integration-panel .eyebrow { font-size: 9px; margin-bottom: 7px; }
.integration-list { display: grid; margin-top: 17px; gap: 13px; }
.integration-list > span { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 12px; color: var(--muted); }
.integration-list b { background: #f2f5ed; border: 1px solid #e8eee0; padding: 3px 7px; border-radius: 5px; font-size: 10px; font-weight: 500; color: var(--muted); white-space: nowrap; }
footer { margin-top: 35px; padding: 22px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--muted); font-size: 11px; }
footer > span { display: flex; align-items: center; gap: 5px; }
footer .icon { width: 12px; height: 12px; }
.foundation-tag { font-size: 8px; letter-spacing: 1.1px; font-weight: 650; }
.empty-state { min-height: 400px; background: white; border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px; }
.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; background: #edf5e7; color: var(--muted); border: 1px solid #e1ecd9; border-radius: 13px; }
.empty-icon .icon { width: 24px; height: 24px; }
.empty-state .empty-icon { width: 74px; height: 74px; border-radius: 21px; transform: rotate(-7deg); margin-bottom: 26px; }
.empty-state .empty-icon .icon { width: 35px; height: 35px; }
.empty-state h2 { font-size: 26px; font-weight: 550; }
.empty-state p { font-size: 15px; line-height: 1.9; color: var(--muted); margin: 12px 0 25px; max-width: 400px; }
.location-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.location-card { padding: 25px; background: white; border: 1px solid var(--border); border-radius: 12px; position: relative; min-width: 0; }
.location-card > .pill { position: absolute; right: 20px; top: 27px; }
.location-card h2 { margin-top: 20px; font-size: 23px; font-weight: 600; overflow-wrap: anywhere; }
.location-card > p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.card-divider { height: 1px; background: #e9eee2; margin: 25px 0 18px; }
.location-card > small { font-size: 12px; color: var(--muted); }
.helper-note { display: block; font-size: 12px; line-height: 1.9; color: var(--muted); margin-top: 13px; }
.pill { font-size: 11px; font-weight: 500; color: var(--muted); background: #f2f5ec; border: 1px solid #e5ecdc; padding: 4px 8px; border-radius: 5px; display: inline-block; white-space: nowrap; text-transform: capitalize; }
.green-pill { background: #eaf5e5; color: var(--muted); border-color: #deebd4; }
.red-pill { background: #fbefeb; color: var(--muted); border-color: #f0dfd5; }
.package-price { display: block; font-size: 30px; font-weight: 550; letter-spacing: -1px; margin-top: 20px; }
.package-details { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.package-details > span { padding: 5px 8px; border: 1px solid #e4ecdc; background: #f9fbf6; font-size: 12px; border-radius: 5px; color: var(--muted); }
.table-wrap { border: 1px solid var(--border); border-radius: 11px; background: white; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 14px; }
th { background: #fafcf7; color: var(--muted); font-size: 11px; font-weight: 550; padding: 15px 22px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 20px 22px; color: var(--muted); font-size: 13px; border-bottom: 1px solid #edf1e6; }
tr:last-child td { border: 0; }
td > strong { font-size: 14px; color: var(--muted); }
td > small { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.table-person { font-weight: 600; color: var(--muted); }
td code { font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.audit-action { text-transform: capitalize; font-size: 13px; }
.danger { color: var(--muted); }
.info-strip { padding: 15px 18px; display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 1.8; color: var(--muted); background: #eff5e8; border: 1px solid #e0ead5; border-radius: 9px; margin-bottom: 22px; }
.info-strip .icon { width: 17px; height: 17px; margin-top: 3px; }
.page-note { font-size: 12px; color: var(--muted); line-height: 1.9; margin-top: 20px; }
.loading-card { padding: 65px; color: var(--muted); font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 13px; background: white; border: 1px solid var(--border); border-radius: 11px; }
.spinner { width: 19px; height: 19px; border: 2px solid #d9e6cf; border-top-color: #86aa6a; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-banner { background: #fff3eb; color: var(--muted); padding: 18px 22px; border: 1px solid #efdac9; border-radius: 9px; font-size: 14px; line-height: 1.8; margin-bottom: 25px; display: flex; justify-content: space-between; gap: 20px; }
.error-banner button { border: 0; background: transparent; color: #8f6549; text-decoration: underline; font-size: 14px; white-space: nowrap; }
dialog { width: 480px; max-width: calc(100vw - 30px); max-height: calc(100dvh - 40px); padding: 34px; color: #31532a; border: 1px solid #dfe9d5; border-radius: 17px; background: white; box-shadow: 0 25px 100px #18391825; overflow-y: auto; }
dialog::backdrop { background: #18332765; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 12px; top: 12px; border: 0; }
dialog .eyebrow { font-size: 9px; margin-top: 7px; }
dialog h2 { font-size: 28px; line-height: 1.2; font-weight: 600; max-width: 350px; padding-right: 12px; }
.dialog-description { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 12px 0 25px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.command-note { background: #f4f8ef; border: 1px solid #e4eddb; border-radius: 8px; padding: 16px; margin: 20px 0; }
.command-note > strong { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.command-note code { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.command-note p { font-size: 12px; line-height: 1.9; color: var(--muted); margin-top: 10px; }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,15px); opacity: 0; pointer-events: none; background: #254f30; color: #f5f9ed; border: 1px solid #45694a; padding: 13px 20px; box-shadow: 0 6px 25px #24452c22; border-radius: 9px; z-index: 100; font-size: 14px; max-width: calc(100vw - 30px); text-align: center; transition: opacity .15s,transform .15s; }
#toast.visible { opacity: 1; transform: translate(-50%,0); }
.mobile-navigation { display: none; }
.mobile-signout { display: none; }
.batch-done{margin-top:12px}.sync-guidance{margin-top:24px}.sync-review{margin-top:30px}.sync-review h2{font-size:22px;margin-bottom:18px}
@media(max-width:760px){.mobile-navigation{justify-content:flex-start;overflow-x:auto}.mobile-navigation button{flex:0 0 68px;min-width:68px}.mobile-navigation button span{font-size:10px}}
@media(max-width:480px) { .mobile-navigation button { flex: 1; min-width: 0; }.mobile-navigation button span { font-size: 11px; } }
/* Secondary metadata can be smaller; controls and business records stay readable. */
.metric-card > div > span:first-child,.metric-card small,.setup-step strong,.setup-step p,.setup-step > small,.panel > p,.text-button,.integration-list > span,.integration-list b,.pill,td,th,.page-note,.info-strip,.helper-note,.location-card > small { font-size: 14px; }
.metric-card small,.setup-step p,.setup-step > small,.integration-list b,.pill,.helper-note,.location-card > small { font-size: 12px; }
@media (max-width:1250px) {
  .sidebar { width: 215px; padding: 28px 17px 20px; }.brand { font-size: 22px; gap: 9px; }.brand img { width: 33px; height: 33px; }.console-label { margin-left: 42px; font-size: 8px; }
  .main-shell { margin-left: 215px; }.topbar { padding: 0 28px; }.main-shell main { padding: 30px 28px 0; }.metric-grid { gap: 14px; }.metric-card { padding: 17px; }.metric-card > div { align-items: flex-start; }.metric-card > div > span:first-child { font-size: 12px; }.metric-card small { font-size: 11px; }
  .welcome-panel { gap: 25px; padding: 27px; }.welcome-panel h2 { font-size: 27px; }.setup-step { padding: 14px; }.setup-step > small { display: none; }.setup-step p { font-size: 11px; }.overview-bottom { gap: 18px; }.panel { padding: 22px; }.integration-list > span { font-size: 12px; }.integration-list b { font-size: 10px; }.location-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.page-heading h1 { font-size: 28px; }.page-heading p { font-size: 13px; }
}
@media (max-width:1000px) {
  .sidebar { width: 190px; padding: 25px 14px 15px; }.brand { font-size: 20px; gap: 8px; }.brand img { width: 30px; height: 30px; }.console-label { margin-left: 38px; font-size: 7px; letter-spacing: 1.5px; }.workspace-card { padding: 10px; gap: 8px; }.workspace-card strong { font-size: 10px; }.workspace-card div > span { font-size: 9px; }.workspace-letter { width: 27px; height: 27px; }.nav-button { padding: 12px 11px; font-size: 12px; gap: 10px; }.security-note { padding: 14px; }.security-note strong { font-size: 11px; }.security-note p { font-size: 11px; }
  .main-shell { margin-left: 190px; }.topbar { padding: 0 22px; height: 75px; }.breadcrumb { font-size: 11px; gap: 9px; }.topbar select { width: 160px; font-size: 11px; }.topbar-actions { gap: 9px; }.user-avatar { width: 29px; height: 29px; font-size: 9px; }.main-shell main { padding: 28px 22px 0; }.page-heading { align-items: flex-start; }.page-heading h1 { font-size: 25px; }.page-heading p { font-size: 12px; }.page-heading > .button { font-size: 12px; padding: 10px 12px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.metric-card > div > span:first-child { font-size: 14px; }.metric-card small { font-size: 12px; }.welcome-panel { grid-template-columns: 1fr; }.welcome-panel h2 { font-size: 30px; }.welcome-panel h2 br { display: none; }.welcome-panel > div > p { max-width: none; }.setup-step p { font-size: 12px; }.setup-step > small { display: block; font-size: 11px; }.overview-bottom { grid-template-columns: 1fr; }.panel h2 { font-size: 21px; }.panel > p { font-size: 14px; }.integration-list > span { font-size: 14px; }.integration-list b { font-size: 12px; }.location-card { padding: 22px; }.location-card .pill { position: static; margin-top: 16px; }.location-card h2 { font-size: 21px; margin-top: 14px; }
  .auth-story { padding: 35px; }.auth-story-copy > p { font-size: 14px; }.auth-story .eyebrow { font-size: 8px; }.story-features { font-size: 12px; }.auth-form-panel { padding: 40px 30px; }.auth-form-wrap h2 { font-size: 30px; }
}
@media (max-width:760px) {
  .mobile-signout { display: inline-grid; }
  .auth-layout { grid-template-columns: 1fr; }.auth-story { padding: 25px; min-height: auto; }.auth-story-copy { padding: 35px 0 15px; max-width: none; }.auth-story h1 { font-size: 36px; margin: 13px 0; }.auth-story h1 br { display: none; }.auth-story .eyebrow { font-size: 9px; }.auth-story-copy > p { font-size: 14px; max-width: none; }.story-features,.auth-footnote { display: none; }.auth-form-panel { padding: 35px 25px 45px; }.auth-form-wrap { max-width: 460px; }.auth-form-wrap h2 { font-size: 31px; }.auth-tabs { margin-top: 22px; }
  .sidebar { display: none; }.main-shell { margin-left: 0; }.topbar { height: 69px; padding: 0 20px; }.main-shell main { padding: 27px 20px 0; }.breadcrumb { font-size: 12px; }.topbar select { width: 180px; font-size: 12px; }.topbar-actions { gap: 10px; }.user-avatar { display: none; }.page-heading h1 { font-size: 28px; }.page-heading p { font-size: 14px; }.page-heading .eyebrow { font-size: 9px; }.page-heading { margin-bottom: 25px; }.metric-grid { gap: 16px; }.welcome-panel { margin-top: 22px; }.overview-bottom { margin-top: 22px; }.mobile-navigation { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; border-top: 1px solid var(--border); background: #ffffffef; backdrop-filter: blur(15px); padding: 8px 6px max(8px,env(safe-area-inset-bottom)); z-index: 10; }.mobile-navigation button { background: transparent; border: 0; color: var(--muted); display: flex; flex-direction: column; gap: 5px; align-items: center; font-size: 9px; padding: 5px 7px; }.mobile-navigation button .icon { width: 20px; height: 20px; }.mobile-navigation button.active { color: var(--green); }.main-shell footer { margin-bottom: 82px; }.foundation-tag { display: none; }#toast { bottom: 88px; }.location-grid { gap: 18px; }.table-wrap { margin-right: -1px; }td,th { padding: 17px; }.loading-card { padding: 45px 20px; }
}
@media (max-width:480px) {
  .topbar .breadcrumb { font-size: 0; gap: 0; }
  .topbar .breadcrumb > span { display: none; }
  .topbar .breadcrumb strong { font-size: 12px; }
  .topbar { padding: 0 16px; gap: 12px; }.breadcrumb { font-size: 11px; gap: 7px; }.breadcrumb > span,.breadcrumb { color: var(--muted); }.topbar select { width: 155px; max-width: 43vw; font-size: 11px; padding-left: 9px; }.icon-button { width: 31px; height: 31px; }.topbar-actions { gap: 7px; }.main-shell main { padding: 25px 16px 0; }.page-heading { display: block; }.page-heading h1 { font-size: 28px; max-width: 340px; }.page-heading p { font-size: 14px; line-height: 1.9; }.page-heading > .button { font-size: 14px; margin-top: 18px; min-height: 44px; }.page-heading > .button[data-action="refresh"] { display: none; }.metric-grid { gap: 12px; }.metric-card { padding: 17px; }.metric-card > div { gap: 6px; }.metric-card > div > span:first-child { font-size: 12px; }.metric-icon { width: 27px; height: 27px; }.metric-icon .icon { width: 15px; height: 15px; }.metric-card > strong { font-size: 34px; }.metric-card small { font-size: 11px; }.welcome-panel { padding: 23px; gap: 25px; }.welcome-panel h2 { font-size: 28px; }.welcome-panel > div > p { font-size: 14px; }.setup-step { padding: 14px 12px; gap: 10px; }.setup-step > small { display: none; }.setup-step strong { font-size: 13px; }.setup-step p { font-size: 11px; }.setup-step > span { width: 28px; height: 28px; }.panel { padding: 22px; }.panel h2 { font-size: 22px; }.panel > p { font-size: 14px; }.integration-list > span { font-size: 12px; gap: 10px; }.integration-list b { font-size: 10px; }.location-grid { grid-template-columns: 1fr; }.location-card .pill { position: absolute; margin: 0; right: 22px; top: 30px; }.location-card h2 { font-size: 25px; margin-top: 24px; }.empty-state { padding: 35px 22px; }.empty-state h2 { font-size: 25px; }.empty-state p { font-size: 14px; }.info-strip { font-size: 13px; padding: 15px; }.page-note { font-size: 12px; }.mobile-navigation button { padding: 5px 4px; font-size: 8px; }.mobile-navigation button .icon { width: 19px; height: 19px; }.main-shell footer { font-size: 10px; gap: 10px; }footer > span:nth-child(2) { font-size: 9px; }.auth-story { padding: 24px; }.auth-story h1 { font-size: 32px; }.auth-story-copy { padding-top: 30px; }.auth-story .eyebrow { font-size: 8px; letter-spacing: 1.2px; }.auth-story-copy > p { font-size: 13px; }.auth-form-panel { padding: 31px 24px 45px; }.auth-form-wrap .eyebrow { font-size: 9px; letter-spacing: 1px; }.auth-form-wrap h2 { font-size: 29px; }.auth-form-wrap > p { font-size: 14px; }.auth-form-wrap .form-row { gap: 12px; }label { font-size: 14px; }input,select { font-size: 16px; }select { padding-right: 27px; }.auth-form-wrap select { font-size: 13px; }.auth-security { font-size: 11px; }.auth-form-wrap > .release-note { font-size: 11px; }dialog { padding: 28px 23px; max-height: calc(100dvh - 24px); }dialog h2 { font-size: 27px; }.dialog-description { font-size: 14px; }.form-row { grid-template-columns: 1fr; gap: 0; }.form-hint { font-size: 12px; }.dialog-actions { gap: 10px; }.dialog-actions .button { font-size: 13px; }.command-note p { font-size: 12px; }.error-banner { font-size: 13px; padding: 16px; }.error-banner button { font-size: 13px; }
}
@media (prefers-reduced-motion:reduce) { *,*:before,*:after { animation: none!important; transition: none!important; } }

.billing-summary { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:24px; margin-bottom:24px; }
.billing-summary h2 { text-transform:capitalize; margin:12px 0; }
.billing-usage { display:flex; flex-wrap:wrap; gap:16px; margin:24px 0; }
.billing-usage span { padding:14px 18px; border:1px solid #d9e3db; border-radius:12px; background:white; }
.billing-plans ul { padding:16px 20px; line-height:2; }
.billing-invoices { margin-top:24px; }
.billing-invoices > p { margin:12px 0 20px; }
.billing-invoices code { overflow-wrap:anywhere; }


.auth-story .eyebrow,.auth-story-copy > p,.auth-footnote { color:#b4cdbd; }
.story-features .icon { color:#a6cdb7; }

/* Workspace navigation stays bounded even on short windows and enlarged text. */
.sidebar { height:100dvh; padding-top:24px; gap:0; }
.sidebar > a,.console-label,.workspace-card,.sidebar-bottom { flex-shrink:0; }
.console-label { margin-bottom:18px; }
.workspace-card { margin-bottom:16px; }
.sidebar nav { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; align-content:start; padding:3px; scrollbar-gutter:stable; }
.sidebar-bottom { padding-top:12px; }
.security-note { margin-bottom:8px; }
.nav-button { font-size:14px; min-height:44px; }
.icon-button { min-width:44px; width:44px; height:44px; flex-shrink:0; }
.topbar select { min-height:44px; font-size:14px; }
.text-button { min-height:44px; padding:10px 4px; font-size:14px; }
.danger,.red-pill,.state-failed,.state-expired,.state-revoked { color:#8c332b; }
.green-pill,.state-successful,.state-enrolled,.state-recorded { color:#245d35; background:#eaf5e5; }
.state-pending,.state-review { color:#775018; background:#fff4da; border-color:#dfcda8; }
.pill,.info-strip,.page-note,.form-hint,.helper-note,td,th,td > small,.package-details > span,.dialog-description,.command-note p,.form-error { font-size:14px; }
.eyebrow,.console-label,.workspace-card div > span,.breadcrumb,.metric-card small,.auth-security,.release-note { color:var(--muted); }
.auth-story .eyebrow,.auth-story-copy > p,.auth-footnote { color:#b4cdbd; }
input::placeholder { color:var(--muted); }
.more-menu { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:22px; }
.more-menu .nav-button { min-height:48px; border:1px solid var(--border); }
.mobile-records { display:none; }
.record-card { border:1px solid var(--border); border-radius:12px; padding:20px; background:white; min-width:0; }
.record-card > header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.record-card h3 { font-size:16px; font-weight:650; line-height:1.5; overflow-wrap:anywhere; }
.record-amount { display:block; font-size:24px; letter-spacing:-.5px; margin-top:8px; }
.record-card dl { display:grid; gap:12px; margin:20px 0 0; }
.record-card dl > div { display:grid; grid-template-columns:100px minmax(0,1fr); gap:12px; font-size:14px; line-height:1.7; }
.record-card dt { color:var(--muted); }
.record-card dd { margin:0; overflow-wrap:anywhere; }
.record-card details { margin-top:18px; padding-top:8px; border-top:1px solid var(--border); }
.record-card details dl > div { grid-template-columns:1fr; gap:4px; }
.record-card summary { min-height:44px; padding:10px 0; cursor:pointer; font-size:14px; color:var(--green); font-weight:600; }
.record-reference { display:inline-flex; align-items:center; gap:8px; max-width:100%; vertical-align:middle; }
.record-reference code { font-size:14px; color:inherit; overflow-wrap:anywhere; white-space:normal; min-width:0; }
.record-reference .icon-button { color:#30523c; }
.record-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.offer-assignments { font-size:14px; line-height:1.8; }
.offer-assignments p { margin-top:10px; }
.offer-assignments .pill { position:static; margin:4px 0; }
.package-card > .button { margin-top:18px; }
#console-heading:focus { outline:none; }
@media (min-width:761px) and (max-height:850px) { .security-note { display:none; } }
@media (max-width:760px) {
  .desktop-only,.desktop-records { display:none; }
  .mobile-records { display:grid; gap:16px; margin-top:18px; }
  .mobile-navigation { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); overflow:visible; gap:4px; padding-left:8px; padding-right:8px; }
  .mobile-navigation > button { min-width:0; min-height:56px; width:100%; font-size:12px; padding:8px 4px; color:var(--muted); }
  .mobile-navigation button span { font-size:12px; }
  .mobile-navigation .active { background:#eaf4e8; border-radius:8px; }
  .topbar { gap:12px; padding:0 16px; }
  .topbar-actions { gap:8px; }
  .topbar select { width:160px; max-width:42vw; font-size:14px; }
  .breadcrumb { overflow:hidden; min-width:0; }
  .breadcrumb strong { overflow:hidden; text-overflow:ellipsis; }
  .page-heading p,.info-strip,.page-note,.form-hint,.helper-note,.dialog-actions .button,.auth-security,.auth-form-wrap > .release-note { font-size:14px; }
  .dialog-actions { flex-wrap:wrap; }
  .pill { font-size:14px; }
  .location-card > .pill { max-width:calc(100% - 100px); white-space:normal; }
  .offer-assignments .pill { max-width:none; }
}
@media (max-width:360px) { .more-menu { grid-template-columns:1fr; } .topbar select { width:135px; } .record-card { padding:16px; } .record-card dl > div { grid-template-columns:85px minmax(0,1fr); } }
