:root {
  --ink: #12251c;
  --ink-soft: #4d5e55;
  --paper: #f4f6ef;
  --white: #ffffff;
  --line: #ccd3c7;
  --green: #0f6b4f;
  --green-dark: #0b4b39;
  --green-pale: #d9eadf;
  --coral: #e9674a;
  --coral-pale: #fbe3dc;
  --yellow: #f2ba4b;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-sans); font-synthesis: none; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.auth-body { min-height: 100vh; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 42%) 1fr; }
.auth-context { position: relative; overflow: hidden; display: flex; min-height: 100vh; flex-direction: column; padding: 46px clamp(38px, 5vw, 80px) 40px; color: var(--white); background: var(--ink); }
.auth-context::after { content: ""; position: absolute; width: 330px; height: 220px; right: -95px; bottom: 13%; border: 1px solid #4d6559; box-shadow: -48px -48px 0 -1px var(--ink), -48px -48px 0 0 #3d574a, -96px -96px 0 -1px var(--ink), -96px -96px 0 0 #2c493b; opacity: .62; transform: rotate(-3deg); }
.auth-brand { position: relative; z-index: 2; display: inline-flex; width: fit-content; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 19px; font-weight: 700; }
.auth-brand-light { color: var(--white); }
.auth-brand-mark { width: 27px; height: 27px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; background: currentColor; border-radius: 4px; transform: rotate(-2deg); }
.auth-brand-mark span { display: block; background: var(--paper); border-radius: 1px; }
.auth-brand-mark span:first-child { height: 60%; align-self: end; }
.auth-brand-mark span:last-child { height: 100%; }
.context-copy { position: relative; z-index: 2; max-width: 590px; margin: auto 0 56px; padding-top: 70px; }
.context-kicker { margin: 0 0 18px; color: #b8dfcc; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.context-copy h1 { max-width: 570px; margin: 0; font-family: var(--font-sans); font-size: clamp(42px, 4.6vw, 65px); line-height: 1.06; font-weight: 650; letter-spacing: 0; }
.context-copy > p:last-child { max-width: 510px; margin: 25px 0 0; color: #c5cec8; font-size: 17px; line-height: 1.65; }
.context-status { position: relative; z-index: 2; display: grid; max-width: 630px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #405249; }
.context-status > div { min-width: 0; padding: 24px 22px 0 0; }
.context-status strong, .context-status small { display: block; }
.context-status strong { margin: 12px 0 4px; font-family: var(--font-sans); font-size: 13px; }
.context-status small { color: #9eaea5; font-size: 10px; line-height: 1.5; }
.status-dot { width: 8px; height: 8px; display: block; background: #54c292; border-radius: 50%; box-shadow: 0 0 0 5px rgba(84,194,146,.12); }
.status-dot-coral { background: var(--coral); box-shadow: 0 0 0 5px rgba(233,103,74,.12); }
.status-dot-yellow { background: var(--yellow); box-shadow: 0 0 0 5px rgba(242,186,75,.12); }
.context-foot { position: relative; z-index: 2; margin: 50px 0 0; color: #86988e; font-size: 11px; }

.auth-main { position: relative; min-width: 0; min-height: 100vh; padding: 104px 32px 46px; }
.auth-topbar { position: absolute; inset: 31px 38px auto; display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: 13px; }
.auth-topbar a { color: var(--green); font-weight: 700; }
.auth-topbar > a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.auth-topbar > a:hover, .auth-topbar span a:hover { color: var(--ink); }
.auth-panel { width: min(480px, 100%); margin: 0 auto; padding: 42px 0 0; }
.mobile-brand { display: none; }
.auth-heading { margin-bottom: 28px; }
.auth-heading h2 { margin: 0; font-family: var(--font-sans); font-size: 34px; line-height: 1.15; font-weight: 650; letter-spacing: 0; }
.auth-heading > p { margin: 12px 0 0; color: var(--ink-soft); }
.mail-status-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; color: var(--green-dark); background: var(--green-pale); border: 1px solid #b6cfbf; border-radius: 6px; font-family: var(--font-sans); font-size: 19px; font-weight: 700; }
.invalid-icon { color: #a63d29; background: var(--coral-pale); border-color: #efb9ac; }
.form-message { display: grid; grid-template-columns: 25px 1fr; gap: 10px; align-items: start; margin: 0 0 21px; padding: 12px 14px; border: 1px solid; border-radius: 4px; font-size: 13px; }
.form-message span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; }
.form-message p { margin: 1px 0 0; }
.form-error { color: #83311f; background: #fff3ef; border-color: #efb9ac; }
.form-error span { color: var(--white); background: var(--coral); }
.form-success { color: var(--green-dark); background: #e8f4ec; border-color: #b6cfbf; }
.form-success span { color: var(--white); background: var(--green); }
.oauth-options { display: grid; gap: 10px; }
.oauth-button { width: 100%; min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 16px; color: var(--ink); background: var(--white); border: 1px solid #bfc8be; border-radius: 4px; font-size: 13px; font-weight: 700; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.oauth-button:hover { background: #fafbf8; border-color: #86968d; transform: translateY(-1px); }
.oauth-button:focus-visible { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,107,79,.12); }
.oauth-icon, .microsoft-icon { width: 19px; height: 19px; flex: 0 0 19px; }
.microsoft-icon { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.microsoft-icon i { display: block; }.microsoft-icon i:nth-child(1) { background: #f25022; }.microsoft-icon i:nth-child(2) { background: #7fba00; }.microsoft-icon i:nth-child(3) { background: #00a4ef; }.microsoft-icon i:nth-child(4) { background: #ffb900; }
.oauth-terms { margin: 11px auto 0; color: #75837b; font-size: 10px; line-height: 1.5; text-align: center; }
.oauth-terms a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 21px; color: #849188; font-size: 10px; text-transform: uppercase; }
.form-divider::before, .form-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-form { display: flex; flex-direction: column; }
.auth-form label, .label-row { margin: 0 0 7px; font-size: 12px; font-weight: 700; }
.auth-form label:not(:first-of-type), .label-row { margin-top: 18px; }
.auth-form label span { color: #829087; font-weight: 400; }
.label-row { display: flex; justify-content: space-between; align-items: center; }
.label-row label { margin: 0; }
.label-row a { color: var(--green); font-weight: 700; }
.input-wrap { position: relative; min-width: 0; }
.input-wrap input { width: 100%; height: 49px; padding: 0 14px; color: var(--ink); background: var(--white); border: 1px solid #bfc8be; border-radius: 4px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.input-wrap input::placeholder { color: #8e9a93; }
.input-wrap input:hover { border-color: #86968d; }
.input-wrap input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,107,79,.12); }
.input-with-prefix > span { position: absolute; z-index: 2; left: 13px; top: 50%; color: var(--green); font-weight: 700; transform: translateY(-50%); }
.input-with-prefix input { padding-left: 37px; }
.password-wrap input { padding-right: 62px; }
.password-wrap button { position: absolute; right: 4px; top: 4px; height: 41px; padding: 0 10px; color: var(--green); background: transparent; border: 0; font-size: 11px; font-weight: 700; }
.auth-button { width: 100%; min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; padding: 12px 18px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; transition: background-color .18s ease, transform .18s ease, opacity .18s ease; }
.auth-button:hover { transform: translateY(-1px); }
.auth-button:disabled { cursor: wait; opacity: .7; transform: none; }
.auth-button-primary { color: var(--white); background: var(--green); }
.auth-button-primary:hover { background: var(--green-dark); }
.auth-button-dark { color: var(--white); background: var(--ink); }
.auth-button-dark:hover { background: #223b2e; }
.field-help { margin: 9px 0 0; color: #75837b; font-size: 11px; }
.centered { text-align: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.form-grid label { display: block; }
.password-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.password-meter > span { height: 3px; background: #d3d9d1; border-radius: 1px; transition: background-color .18s ease; }
.password-meter > span.active { background: var(--green); }
.password-meter small { grid-column: 1 / -1; color: #75837b; font-size: 10px; }
.password-meter small.valid { color: var(--green); }
.check-control { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; margin-top: 19px !important; cursor: pointer; }
.check-control input { position: absolute; opacity: 0; pointer-events: none; }
.check-control > span { width: 18px; height: 18px; display: block; background: var(--white); border: 1px solid #aeb9af; border-radius: 3px; }
.check-control input:focus + span { box-shadow: 0 0 0 3px rgba(15,107,79,.12); }
.check-control input:checked + span { position: relative; background: var(--green); border-color: var(--green); }
.check-control input:checked + span::after { content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font-size: 11px; }
.check-control em { color: var(--ink-soft); font-size: 11px; font-style: normal; font-weight: 400; line-height: 1.55; }
.check-control a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-switch { margin: 25px 0 0; text-align: center; font-size: 13px; }
.auth-switch a { color: var(--green); font-weight: 700; }
.check-email-details { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.check-email-details span, .check-email-details strong { display: block; }
.check-email-details span { color: #75837b; font-size: 10px; text-transform: uppercase; }
.check-email-details strong { margin-top: 3px; overflow-wrap: anywhere; font-family: var(--font-sans); font-size: 16px; }
.check-email-details p { margin: 14px 0 0; color: var(--ink-soft); font-size: 12px; }
.dev-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 12px 14px; color: #674a0e; background: #fff3ce; border: 1px solid #e6c760; border-radius: 4px; font-size: 11px; }
.dev-link a { font-weight: 700; text-decoration: underline; }
.invalid-actions { display: flex; flex-direction: column; align-items: center; }
.invalid-actions > a:last-child { margin-top: 18px; color: var(--green); font-size: 13px; font-weight: 700; }
.auth-panel-footer { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: #7a8880; font-size: 10px; text-align: center; }
.lock-mark { position: relative; width: 11px; height: 9px; display: inline-block; border: 1px solid #78867e; border-radius: 2px; }
.lock-mark::before { content: ""; position: absolute; width: 5px; height: 5px; left: 2px; top: -6px; border: 1px solid #78867e; border-bottom: 0; border-radius: 4px 4px 0 0; }

/* Console */
.console-body { min-height: 100vh; background: #f2f4ef; }
.console-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.console-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 5; width: 248px; height: 100vh; display: flex; flex-direction: column; padding: 27px 19px 21px; color: var(--white); background: var(--ink); }
.console-workspace-label { min-width: 0; display: flex; flex-direction: column; margin-top: 34px; padding: 0 10px 20px; border-bottom: 1px solid #3d5046; }
.console-workspace-label span { color: #9aaca2; font-size: 10px; text-transform: uppercase; }.console-workspace-label strong { overflow: hidden; margin-top: 4px; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.console-nav { display: flex; flex-direction: column; gap: 5px; margin-top: 18px; }
.console-nav > a { min-height: 46px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; color: #afbeb6; border-radius: 4px; font-size: 13px; font-weight: 600; transition: color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.console-nav > a:hover { color: #f3f7f4; background: #1b3529; }.console-nav .active { color: #f7fbf8; background: #244a38; box-shadow: inset 3px 0 0 #72c89d; }.console-nav .active .nav-icon { color: #8bd8b3; }
.console-nav > a:focus-visible { outline: 2px solid #72c89d; outline-offset: 2px; }
.console-nav small { min-width: 21px; margin-left: auto; padding: 2px 6px; color: var(--ink); background: #dce8df; border-radius: 10px; font-size: 10px; text-align: center; }.console-nav .nav-alert { color: #7b2919; background: #ffd8ce; }
.nav-icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .78; transition: opacity .18s ease, transform .18s ease; }
.console-nav > a:hover .nav-icon, .console-nav .active .nav-icon { opacity: 1; }.console-nav > a:hover .nav-icon { transform: translateX(1px); }
.sidebar-account { min-width: 0; margin-top: auto; padding: 19px 8px 0; border-top: 1px solid #3d5046; }
.sidebar-account div { min-width: 0; display: flex; flex-direction: column; }.sidebar-account strong, .sidebar-account small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.sidebar-account strong { font-size: 12px; }.sidebar-account small { color: #a1b0a8; font-size: 10px; }
.console-main { grid-column: 2; min-width: 0; }
.console-topbar { position: sticky; top: 0; z-index: 4; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: rgba(255,255,255,.96); border-bottom: 1px solid #d8ded6; backdrop-filter: blur(12px); }
.mobile-console-brand { display: none; }.console-page-name { font-size: 12px; font-weight: 700; }
.console-top-actions { display: flex; align-items: center; gap: 20px; }.console-top-actions > a { color: var(--green); font-size: 12px; font-weight: 700; }.console-top-actions form { margin: 0; }.console-top-actions button { min-height: 36px; padding: 7px 12px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; font-weight: 700; }
.console-mobile-nav { display: none; }
.console-content { width: min(1160px, calc(100% - 64px)); margin: 0 auto; padding: 48px 0 72px; }
.console-notice { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; padding: 12px 14px; color: var(--green-dark); background: #e3f0e7; border: 1px solid #b7d0bf; border-radius: 4px; font-size: 12px; }
.console-notice span { width: 20px; height: 20px; display: grid; place-items: center; color: var(--white); background: var(--green); border-radius: 50%; font-size: 10px; }.console-notice p { margin: 0; }
.console-dev { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding: 15px 17px; color: #63490f; background: #fff2c9; border: 1px solid #dfc057; border-radius: 4px; }
.console-dev div { display: flex; flex-direction: column; }.console-dev strong { font-size: 13px; }.console-dev span { font-size: 11px; }.console-dev > a { font-size: 12px; font-weight: 700; text-decoration: underline; }
.console-eyebrow { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.console-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }.console-page-header > div { max-width: 750px; }.console-page-header h1 { margin: 0; font-family: var(--font-sans); font-size: 36px; line-height: 1.15; }.console-page-header > div > p:last-child { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; }.workspace-id { flex: 0 0 auto; padding: 7px 10px; color: #5f6f66; border: 1px solid #ccd4cb; border-radius: 3px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.console-button { width: fit-content; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 14px; color: var(--white); background: var(--green); border: 1px solid var(--green); border-radius: 4px; font-size: 12px; font-weight: 700; transition: transform .18s ease, background-color .18s ease; }.console-button:hover { background: var(--green-dark); transform: translateY(-1px); }.console-button-dark { background: var(--ink); border-color: var(--ink); }
.console-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; background: var(--white); border: 1px solid #d5dcd3; }.console-stats > div { min-width: 0; min-height: 132px; display: flex; flex-direction: column; padding: 21px 22px; border-right: 1px solid #d5dcd3; }.console-stats > div:last-child { border-right: 0; }.console-stats span { color: #627168; font-size: 11px; }.console-stats strong { margin-top: 8px; font-family: var(--font-sans); font-size: 30px; line-height: 1.1; }.console-stats .stat-plan { font-size: 20px; }.console-stats small { margin-top: auto; color: #748179; font-size: 10px; }
.implementation-panel { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 38px; align-items: center; margin-top: 20px; padding: 30px; color: var(--white); background: var(--green-dark); }.implementation-panel .console-eyebrow { color: #b8dfcc; }.implementation-panel h2 { margin: 0; font-family: var(--font-sans); font-size: 23px; }.implementation-panel p { margin: 9px 0 0; color: #c9d4ce; font-size: 13px; }.implementation-panel ol { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }.implementation-panel li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: center; }.implementation-panel li > span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 3px; font-size: 10px; font-weight: 700; }.implementation-panel li div { display: flex; flex-direction: column; }.implementation-panel li strong { font-size: 12px; }.implementation-panel li small { color: #b3c2ba; font-size: 10px; }
.operations-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; background: var(--white); border: 1px solid #d5dcd3; }.operations-strip > div { min-width: 0; padding: 20px 21px; border-right: 1px solid #d5dcd3; }.operations-strip > div:last-child { border-right: 0; }.operations-strip > div > div { min-width: 0; display: flex; flex-direction: column; }.operations-strip small { color: #66756c; font-size: 10px; }.operations-strip strong { overflow: hidden; margin-top: 3px; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.account-action, .support-panel, .operations-policy { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 20px; padding: 23px 25px; border: 1px solid #d0d8ce; }.account-action > div { display: flex; align-items: center; gap: 14px; }.account-action h2, .support-panel h2, .operations-policy h2 { margin: 0; font-family: var(--font-sans); font-size: 17px; }.account-action p, .support-panel p, .operations-policy p { margin: 4px 0 0; color: var(--ink-soft); font-size: 12px; }.account-action form { margin: 0; }.action-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #7b2919; background: #ffd8ce; border-radius: 4px; font-weight: 700; }
.console-section { margin-top: 34px; }.section-title-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }.section-title-row h2 { margin: 0; font-family: var(--font-sans); font-size: 21px; }.section-title-row > a { color: var(--green); font-size: 12px; font-weight: 700; }.project-rows { display: grid; grid-template-columns: minmax(230px, 1.4fr) minmax(140px, .7fr) minmax(100px, .5fr) auto; column-gap: 22px; border-top: 1px solid #d2d9d0; }.project-row { min-height: 98px; display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; padding: 16px 0; border-bottom: 1px solid #d2d9d0; }.project-identity { min-width: 0; }.project-identity h3 { overflow: hidden; margin: 0; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }.project-identity p { overflow: hidden; margin: 4px 0 0; color: #627168; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }.project-fact { display: flex; flex-direction: column; }.project-fact > span { margin-bottom: 6px; color: #65736b; font-size: 10px; text-transform: uppercase; }.project-fact > strong { font-size: 12px; }.project-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }.icon-link { color: var(--green); font-size: 12px; font-weight: 700; }.disabled-action { color: #75827a; font-size: 11px; font-weight: 600; }
.status-pill, .status-text { width: fit-content; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }.status-pill { padding: 6px 9px; border-radius: 3px; font-size: 10px; }.status-text { font-size: 11px; }.status-pill i, .status-text i { width: 7px; height: 7px; display: block; border-radius: 50%; background: currentColor; }.status-good { color: #116345; }.status-pill.status-good { background: #dcecdf; }.status-progress { color: #755613; }.status-pill.status-progress { background: #f9eabf; }.status-alert { color: #9a3923; }.status-pill.status-alert { background: #ffd8ce; }.status-muted { color: #5f6d65; }.status-pill.status-muted { background: #e8ece7; }
.project-list { display: grid; gap: 15px; margin-top: 32px; }.project-card { padding: 26px; background: var(--white); border: 1px solid #d4dbd2; border-radius: 6px; }.project-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.project-number { color: var(--green); font-size: 10px; font-weight: 700; text-transform: uppercase; }.project-card h2 { margin: 6px 0 0; font-family: var(--font-sans); font-size: 21px; }.project-card header p { margin: 5px 0 0; color: #627168; font-size: 12px; }.project-card dl { display: grid; grid-template-columns: repeat(5, 1fr); margin: 23px 0 0; padding: 19px 0; border-top: 1px solid #e0e5de; border-bottom: 1px solid #e0e5de; }.project-card dl div { min-width: 0; padding: 0 18px; border-right: 1px solid #e0e5de; }.project-card dl div:first-child { padding-left: 0; }.project-card dl div:last-child { border-right: 0; }.project-card dt { color: #65736b; font-size: 10px; text-transform: uppercase; }.project-card dd { overflow: hidden; margin: 7px 0 0; font-size: 12px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }.project-card footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 17px; }.project-card footer > div a { color: var(--green); font-size: 12px; font-weight: 700; }.project-card footer > div span { color: #748179; font-size: 11px; }
.project-name-form { display: flex; align-items: center; gap: 8px; margin-top: 6px; }.project-name-form input { width: min(420px, 52vw); padding: 5px 7px; color: var(--ink); background: #f8faf7; border: 1px solid transparent; border-radius: 3px; font: 700 21px/1.25 var(--font-sans); }.project-name-form input:focus { background: var(--white); border-color: var(--green); outline: none; }.project-name-form button { padding: 7px 9px; color: var(--green); background: transparent; border: 1px solid #cbd5cc; border-radius: 3px; font-size: 10px; font-weight: 700; cursor: pointer; }.project-fact small { margin-top: 5px; color: #75827a; font-size: 9px; }.console-error { color: #7b2924; background: #fff0ee; border-color: #ecc5c0; }
.console-empty { min-height: 360px; display: flex; align-items: center; flex-direction: column; justify-content: center; margin-top: 32px; padding: 44px; border: 1px dashed #b9c4ba; text-align: center; }.console-empty h2 { margin: 0; font-family: var(--font-sans); font-size: 21px; }.console-empty p { max-width: 500px; margin: 9px 0 22px; color: var(--ink-soft); font-size: 12px; }
.operations-table-wrap { overflow-x: auto; margin-top: 32px; background: var(--white); border: 1px solid #d4dbd2; }.operations-table { width: 100%; min-width: 860px; border-collapse: collapse; }.operations-table th { padding: 13px 16px; color: #5f6f66; background: #e8ece6; font-size: 10px; text-align: left; text-transform: uppercase; }.operations-table td { padding: 19px 16px; border-top: 1px solid #e0e5de; vertical-align: middle; }.operations-table td > strong, .operations-table td > span { display: block; }.operations-table td > strong { font-size: 12px; }.operations-table td > span { margin-top: 4px; color: #68766e; font-size: 10px; }.operations-policy { margin-top: 16px; }.operations-policy > a { flex: 0 0 auto; color: var(--green); font-size: 12px; font-weight: 700; }
.billing-layout { display: grid; grid-template-columns: 1.1fr .9fr; margin-top: 32px; border: 1px solid #d4dbd2; }.plan-summary-panel { min-height: 340px; display: flex; flex-direction: column; padding: 31px; color: var(--white); background: var(--ink); }.plan-summary-panel > span { color: #b9c7bf; font-size: 10px; text-transform: uppercase; }.plan-summary-panel > strong { margin-top: 15px; color: var(--yellow); font-family: var(--font-sans); font-size: 31px; }.plan-summary-panel p { max-width: 500px; margin: 14px 0 28px; color: #cad4ce; font-size: 13px; }.plan-summary-panel .console-button { margin-top: auto; color: var(--ink); background: var(--yellow); border-color: var(--yellow); }.billing-facts { display: grid; background: var(--white); }.billing-facts > div { display: flex; flex-direction: column; justify-content: center; padding: 23px 27px; border-bottom: 1px solid #dde3db; }.billing-facts > div:last-child { border-bottom: 0; }.billing-facts span { color: #647269; font-size: 10px; text-transform: uppercase; }.billing-facts strong { overflow-wrap: anywhere; margin-top: 6px; font-size: 13px; }.billing-facts small { margin-top: 4px; color: #748179; font-size: 10px; }.commercial-terms { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border: 1px solid #d4dbd2; }.commercial-terms > div { min-height: 180px; padding: 24px; border-right: 1px solid #d4dbd2; }.commercial-terms > div:last-child { border-right: 0; }.commercial-terms span { color: var(--green); font-size: 10px; font-weight: 700; text-transform: uppercase; }.commercial-terms strong { display: block; margin-top: 10px; font-size: 15px; }.commercial-terms p { margin: 9px 0 0; color: var(--ink-soft); font-size: 12px; }
.account-layout { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; background: var(--white); border: 1px solid #d4dbd2; }.account-profile { display: flex; align-items: center; padding: 30px; border-right: 1px solid #d4dbd2; }.account-profile h2 { margin: 0; font-family: var(--font-sans); font-size: 21px; }.account-profile p { margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; }.account-profile div > span { display: block; margin-top: 10px; color: #748179; font-size: 11px; }.account-details { display: grid; }.account-details > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 15px 22px; border-bottom: 1px solid #e0e5de; }.account-details > div:last-child { border-bottom: 0; }.account-details span { color: #647269; font-size: 10px; text-transform: uppercase; }.account-details strong { overflow-wrap: anywhere; font-size: 12px; }.support-panel { margin-top: 18px; }.support-panel .console-eyebrow { margin-bottom: 7px; }
.console-workspace-label span, .console-nav small, .sidebar-account small, .workspace-id,
.console-stats small, .implementation-panel li > span, .implementation-panel li small,
.operations-strip small, .project-fact > span, .status-pill,
.project-number, .project-card dt, .operations-table th, .operations-table td > span,
.plan-summary-panel > span, .billing-facts span, .billing-facts small, .commercial-terms span,
.account-details span { font-size: 11px; }

@media (max-width: 1100px) {
  .console-stats { grid-template-columns: repeat(2, 1fr); }.console-stats > div:nth-child(2) { border-right: 0; }.console-stats > div:nth-child(-n+2) { border-bottom: 1px solid #d5dcd3; }
  .implementation-panel { grid-template-columns: 1fr 1fr; }.implementation-panel > a { grid-column: 1 / -1; }
  .project-rows { grid-template-columns: minmax(220px, 1.2fr) minmax(130px, .7fr) auto; }.project-row .project-fact:nth-child(3) { display: none; }
}

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: minmax(310px, 38%) 1fr; }
  .auth-context { padding-inline: 35px; }
  .context-status { grid-template-columns: 1fr; gap: 12px; border-top: 0; }
  .context-status > div { display: grid; grid-template-columns: 15px 1fr; padding: 0; }.context-status .status-dot { grid-row: 1 / 3; margin-top: 5px; }.context-status strong { margin: 0; }.context-status small { grid-column: 2; }
}

@media (max-width: 760px) {
  .auth-shell { display: block; }
  .auth-context { display: none; }
  .auth-main { padding: 94px 22px 38px; }
  .auth-topbar { inset: 24px 22px auto; }.auth-topbar > a { display: none; }
  .auth-topbar { justify-content: flex-end; }
  .auth-panel { padding-top: 18px; }
  .mobile-brand { display: block; margin-bottom: 40px; }
  .console-shell { display: block; }.console-sidebar { display: none; }.console-main { display: block; }
  .console-topbar { height: 64px; padding: 0 18px; }.mobile-console-brand { display: inline-flex; font-size: 15px; }.mobile-console-brand .auth-brand-mark { width: 23px; height: 23px; }.console-page-name { display: none; }
  .console-mobile-nav { position: sticky; top: 64px; z-index: 3; overflow-x: auto; display: flex; gap: 5px; padding: 9px 15px; background: var(--white); border-bottom: 1px solid #d8ded6; scrollbar-width: none; }.console-mobile-nav::-webkit-scrollbar { display: none; }.console-mobile-nav a { flex: 0 0 auto; padding: 8px 10px; color: #596860; border-radius: 3px; font-size: 11px; font-weight: 700; }.console-mobile-nav .active { color: var(--ink); background: var(--yellow); }
  .console-content { width: min(100% - 30px, 1160px); padding-top: 34px; }
  .console-page-header { align-items: flex-start; flex-direction: column; gap: 20px; }.console-page-header > .console-button { margin-top: 0; }
  .project-card dl { grid-template-columns: repeat(2, 1fr); }.project-card dl div { padding: 12px 16px; border-bottom: 1px solid #e0e5de; }.project-card dl div:nth-child(even) { border-right: 0; }.project-card dl div:nth-child(odd) { padding-left: 0; }.project-card dl div:last-child { border-bottom: 0; }
  .billing-layout, .account-layout { grid-template-columns: 1fr; }.account-profile { border-right: 0; border-bottom: 1px solid #d4dbd2; }
}

@media (max-width: 500px) {
  .auth-main { padding-inline: 16px; }
  .auth-topbar { inset-inline: 16px; font-size: 11px; }
  .auth-heading h2 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-grid > div + div label { margin-top: 18px; }
  .dev-link { align-items: flex-start; flex-direction: column; gap: 8px; }
  .console-top-actions { gap: 10px; }.console-top-actions > a { display: none; }
  .console-page-header h1 { font-size: 31px; }.workspace-id { display: none; }
  .console-stats { grid-template-columns: 1fr; }.console-stats > div, .console-stats > div:nth-child(2) { min-height: 110px; border-right: 0; border-bottom: 1px solid #d5dcd3; }.console-stats > div:last-child { border-bottom: 0; }
  .implementation-panel { grid-template-columns: 1fr; padding: 24px; }.implementation-panel > a { grid-column: auto; }
  .operations-strip { grid-template-columns: 1fr; }.operations-strip > div { border-right: 0; border-bottom: 1px solid #d5dcd3; }.operations-strip > div:last-child { border-bottom: 0; }
  .project-rows { grid-template-columns: 1fr; column-gap: 0; }.project-row { row-gap: 13px; padding: 18px 0; }.project-row .project-fact:nth-child(3) { display: flex; }.project-actions { justify-content: flex-start; }
  .section-title-row { align-items: flex-start; flex-direction: column; gap: 9px; }
  .project-card { padding: 21px; }.project-card header, .project-card footer { align-items: flex-start; flex-direction: column; }.project-card dl { grid-template-columns: 1fr; }.project-card dl div, .project-card dl div:nth-child(3) { padding: 11px 0; border-right: 0; border-bottom: 1px solid #e0e5de; }.project-card dl div:last-child { border-bottom: 0; }
  .console-empty { min-height: 330px; padding: 32px 22px; }
  .account-action, .support-panel, .operations-policy { align-items: flex-start; flex-direction: column; }.account-action > div { align-items: flex-start; }
  .commercial-terms { grid-template-columns: 1fr; }.commercial-terms > div { min-height: auto; border-right: 0; border-bottom: 1px solid #d4dbd2; }.commercial-terms > div:last-child { border-bottom: 0; }
  .account-profile { align-items: flex-start; padding: 24px; }.account-details > div { grid-template-columns: 90px 1fr; padding-inline: 18px; }
  .console-dev { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Customer support tickets */
.ticket-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap: 28px; align-items: start; }
.ticket-form, .ticket-history, .ticket-detail { padding: 30px; border: 1px solid #d5dcd3; background: #fff; }
.ticket-form { display: grid; gap: 18px; }.ticket-form header, .ticket-history > header { display: flex; justify-content: space-between; gap: 24px; align-items: start; }.ticket-form header span, .ticket-history header span, .ticket-message > span, .ticket-attachments > span { color: #6f7c73; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }.ticket-form header h2 { margin-top: 5px; }.ticket-form header small { max-width: 280px; color: #6f7c73; text-align: right; }
.ticket-form label { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 700; }.ticket-form input, .ticket-form select, .ticket-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #d5dcd3; border-radius: 3px; color: var(--ink); background: #fff; font: inherit; }.ticket-form textarea { resize: vertical; line-height: 1.55; }.ticket-form input[type="file"] { padding: 10px; background: #f5f7f2; }.ticket-form label small { color: #6f7c73; font-size: 11px; font-weight: 500; line-height: 1.5; }
.ticket-history > header { padding-bottom: 18px; border-bottom: 1px solid #d5dcd3; }.ticket-history > header strong { font-size: 26px; }.ticket-history > div { display: grid; }.ticket-history > div > a { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid #d5dcd3; }.ticket-history a span { display: grid; gap: 4px; }.ticket-history a b { color: #6f7c73; font-size: 10px; text-transform: uppercase; }.ticket-history a small, .ticket-history > p { color: #6f7c73; }.ticket-history a em { align-self: start; padding: 5px 8px; border-radius: 99px; font-size: 10px; font-style: normal; font-weight: 750; white-space: nowrap; }.ticket-history a em.status-good { color: #166044; background: #dcefe5; }.ticket-history a em.status-progress { color: #765612; background: #fff0bf; }.ticket-history a em.status-alert { color: #8a2e21; background: #f8ddd8; }
.ticket-detail { display: grid; gap: 22px; margin-bottom: 22px; }.ticket-message { padding: 22px; border: 1px solid #d5dcd3; background: #f5f7f2; }.ticket-message p { margin: 10px 0 0; white-space: pre-wrap; line-height: 1.65; }.ticket-message small { display: block; margin-top: 12px; color: #6f7c73; }.ticket-reply { border-color: #b8d9ca; background: #edf7f1; }.ticket-attachments { display: grid; gap: 11px; }.ticket-attachments > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.ticket-attachments a { display: grid; gap: 7px; }.ticket-attachments img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid #d5dcd3; background: #f5f7f2; }.ticket-attachments small { overflow: hidden; color: #6f7c73; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.ticket-pending { display: flex; gap: 15px; align-items: center; padding: 20px; border: 1px dashed #d5dcd3; }.ticket-pending > span { font-size: 28px; }.ticket-pending p { margin: 4px 0 0; color: #6f7c73; }
@media (max-width: 900px) { .ticket-layout { grid-template-columns: 1fr; }.ticket-attachments > div { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .ticket-form, .ticket-history, .ticket-detail { padding: 20px; }.ticket-form header { display: block; }.ticket-form header small { display: block; margin-top: 8px; text-align: left; }.ticket-attachments > div { grid-template-columns: 1fr; } }

/* Legal pages */
.legal-body { background: #f8faf5; }
.legal-container { width: min(860px, calc(100% - 42px)); margin-inline: auto; }
.legal-header { height: 76px; display: flex; align-items: center; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-header .legal-container { width: min(1120px, calc(100% - 42px)); display: flex; align-items: center; justify-content: space-between; }
.legal-header .legal-container > a:last-child { color: var(--green); font-size: 12px; font-weight: 700; }
.legal-main { padding: 161px 0 100px; }
.legal-title { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-title p { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.legal-title h1 { margin: 0; font-family: var(--font-sans); font-size: clamp(40px, 6vw, 62px); line-height: 1.1; font-weight: 650; }
.legal-title span { display: block; margin-top: 16px; color: #748078; font-size: 11px; }
.legal-content { padding-top: 28px; }
.legal-content section { display: grid; grid-template-columns: 210px 1fr; gap: 35px; padding: 27px 0; border-bottom: 1px solid #dde2da; }
.legal-content h2 { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.4; }
.legal-content p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.legal-content a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-footer { padding: 24px 0; color: #b8c5bd; background: var(--ink); font-size: 11px; }
.legal-footer .legal-container { display: flex; justify-content: space-between; }
.legal-footer a:hover { color: var(--white); }
@media (max-width: 650px) {
  .legal-main { padding: 128px 0 75px; }
  .legal-content section { grid-template-columns: 1fr; gap: 10px; }
}
