:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #14231f;
  background: #edf5f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 25% 10%, rgba(11, 107, 75, .09), transparent 34%),
    linear-gradient(135deg, #f8fbfa 0%, #eaf4f0 100%);
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 42px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #0b6b4b;
  font-weight: 900;
  text-decoration: none;
}

.account-card {
  border: 1px solid #d5e2de;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 50px rgba(12, 30, 25, .09);
  padding: 24px;
}

#authView {
  width: min(500px, 100%);
  margin: 4vh auto 0;
}

#createdView {
  width: min(780px, 100%);
  margin: 4vh auto 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.brand,
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: #0b6b4b;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.brand-mark {
  display: block;
  object-fit: contain;
  background: transparent;
  color: inherit;
  font-size: 0;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.eyebrow {
  color: #66736f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid #d2dfda;
  border-radius: 12px;
  background: #f3f7f5;
}

button,
input,
select {
  min-height: 42px;
  border: 1px solid #cbd8d3;
  border-radius: 9px;
  padding: 0 12px;
  font: inherit;
}

select {
  width: 100%;
  background: #fff;
  color: #14231f;
}

button {
  border-color: #0b6b4b;
  background: #0b6b4b;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

button[aria-busy="true"] {
  position: relative;
  color: transparent;
}

button[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  margin: auto;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin .75s linear infinite;
}

button.secondary[aria-busy="true"]::after,
button.danger[aria-busy="true"]::after,
.tabs button[aria-busy="true"]::after {
  border-color: rgba(11, 107, 75, .22);
  border-top-color: #0b6b4b;
}

button:disabled,
input:disabled,
select:disabled {
  opacity: .72;
}

button.secondary,
.tabs button {
  background: #eef5f2;
  color: #0b6b4b;
}

.tabs button {
  min-width: 0;
  min-height: 46px;
  border-color: transparent;
  background: transparent;
  color: #52645f;
  line-height: 1.2;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.tabs button:hover:not(.active) {
  background: #e6efeb;
  color: #0b6b4b;
}

.tabs button:focus-visible {
  outline: 3px solid #0b6b4b;
  outline-offset: 2px;
}

.button-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0b6b4b;
  border-radius: 9px;
  padding: 0 12px;
  color: #fff;
  background: #0b6b4b;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.secondary-link {
  background: #eef5f2;
  color: #0b6b4b;
}

.tabs button.active {
  border-color: #4c9a7f;
  background: #dff2e9;
  color: #064b36;
  box-shadow: 0 2px 8px rgba(11, 107, 75, .1), inset 0 -3px #0b6b4b;
}

button.danger {
  border-color: #efb4b9;
  background: #fff2f3;
  color: #b0121e;
}

.stack {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #66736f;
  font-size: 12px;
  font-weight: 900;
}

small {
  color: #66736f;
  font-weight: 700;
}

.created-card {
  display: grid;
  gap: 20px;
  max-width: 1040px;
}

.created-card .brand-row {
  margin-bottom: 0;
}

.created-card h1 {
  max-width: 560px;
}

.created-card p:not(.eyebrow) {
  color: #50635d;
  font-weight: 750;
  line-height: 1.45;
}

.created-portal-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-left: 4px solid #0b6b4b;
  background: #f1f8f5;
}

.created-portal-picker h2,
.created-portal-picker h3 {
  margin: 3px 0 5px;
  font-size: 18px;
}

.created-portal-picker p {
  margin: 0;
  font-size: 13px;
}

.created-portal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.created-portal-actions a {
  padding: 10px 14px;
  border: 1px solid #b9d2c8;
  border-radius: 7px;
  background: #fff;
  color: #075f43;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.created-portal-actions a:hover,
.created-portal-actions a:focus-visible {
  border-color: #0b6b4b;
  background: #e7f4ee;
}

.created-setup-guide {
  overflow: hidden;
  border: 1px solid #cfded8;
  border-radius: 8px;
  background: #fff;
}

.created-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid #d7e3df;
  background: #d7e3df;
}

.created-guide-steps button {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: #fbfdfc;
  color: #19322b;
  text-align: left;
}

.created-guide-steps button.active {
  background: #e7f3ef;
}

.created-guide-steps button > span {
  grid-row: 1 / span 2;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #b8cec6;
  border-radius: 50%;
  background: #fff;
  color: #60716b;
  font-size: 12px;
  font-weight: 950;
}

.created-guide-steps button.active > span {
  border-color: #0b6b4b;
  background: #0b6b4b;
  color: #fff;
}

.created-guide-steps strong,
.created-guide-steps small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.created-guide-steps strong {
  font-size: 13px;
  line-height: 1.2;
}

.created-guide-steps small {
  font-size: 11px;
  line-height: 1.3;
}

.created-guide-panel {
  padding: 20px;
}

.created-guide-panel[hidden] {
  display: none !important;
}

.created-guide-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.created-guide-panel-head h2 {
  margin: 3px 0 6px;
  font-size: 22px;
}

.created-guide-panel-head p {
  max-width: 720px;
  margin: 0;
  font-size: 13px;
}

.created-guide-panel-head > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #d7e1de;
  border-radius: 999px;
  background: #f7faf9;
  color: #64736e;
  font-size: 11px;
  font-weight: 900;
}

.created-guide-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #c9d8d3;
  border-radius: 7px;
  background: #eef3f1;
  box-shadow: 0 10px 26px rgba(15, 56, 44, .1);
}

.created-guide-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.created-guide-target {
  position: absolute;
  left: 78.45%;
  top: 11.1%;
  width: 38px;
  height: 38px;
  border: 3px solid #dc3434;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(220, 52, 52, .17);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.created-guide-target::after {
  content: attr(data-number);
  position: absolute;
  top: -13px;
  right: -11px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #cf2929;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
}

.created-guide-pin-visual .extensions-target {
  left: 83.2%;
  top: 18.25%;
}

.created-guide-pin-visual .pin-target {
  left: 73.45%;
  top: 64.4%;
}

.created-guide-visual figcaption {
  padding: 10px 12px;
  border-top: 1px solid #d7e3df;
  background: #fbfdfc;
  color: #40554e;
  font-size: 12px;
  text-align: center;
}

.created-pin-layout,
.created-scan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, .8fr);
  gap: 18px;
  align-items: start;
}

.created-pin-layout ol,
.created-scan-layout ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 15px 16px 15px 34px;
  border-left: 4px solid #0b6b4b;
  background: #f1f8f5;
  color: #324a42;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.created-scan-layout {
  margin-top: 16px;
}

.created-guide-actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 16px;
}

.created-guide-actions.split {
  justify-content: space-between;
}

.created-help {
  border-top: 1px solid #d7e3df;
  border-bottom: 1px solid #d7e3df;
  padding: 12px 2px;
}

.created-help summary {
  color: #0b6046;
  cursor: pointer;
  font-weight: 950;
}

.created-help div {
  display: grid;
  gap: 7px;
  padding-top: 10px;
}

.created-help p {
  margin: 0;
  font-size: 13px;
}

.created-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  gap: 16px;
}

.hero-card {
  align-self: start;
}

.wide {
  grid-column: 1 / -1;
}

.license-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d7e2de;
  border-radius: 12px;
  background: #f7fbfa;
  margin: 16px 0;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.profile-header .brand-row {
  min-width: 0;
  margin-bottom: 0;
}

#profileName,
#profileEmail {
  overflow: hidden;
  text-overflow: ellipsis;
}

#profileEmail {
  white-space: nowrap;
}

#editAccountButton {
  flex: 0 0 auto;
  min-height: 38px;
}

.account-edit-panel {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #dbe6e2;
  border-radius: 12px;
  background: #fbfdfc;
}

.account-edit-panel section {
  display: grid;
  gap: 10px;
}

.account-edit-panel h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.notice {
  padding: 11px 12px;
  margin: 0 0 14px;
  border: 1px solid #d8e5e0;
  border-radius: 10px;
  background: #f5faf8;
  color: #24463c;
  font-size: 13px;
  font-weight: 800;
}

.notice.loading::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border: 2px solid #b7d5cb;
  border-top-color: #0b6b4b;
  border-radius: 999px;
  vertical-align: -2px;
  animation: spin .75s linear infinite;
}

.notice.error {
  border-color: #f0c2c7;
  background: #fff5f6;
  color: #a40f1b;
}

.notice.success {
  border-color: #aadbc9;
  background: #effaf6;
  color: #07543b;
}

.notice.info {
  border-color: #cfded9;
}

.license-box strong {
  font-size: 22px;
}

.license-box.active {
  border-color: #a8d9c8;
  background: #effaf6;
}

.license-box.warn {
  border-color: #efd1a2;
  background: #fff8ec;
}

.account-plans-box {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dbe6e2;
  border-radius: 14px;
  background: #fbfdfc;
}

.account-plans-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.account-plans-head h2 {
  margin-bottom: 6px;
}

.account-plans-head p:not(.eyebrow) {
  color: #50635d;
  font-weight: 700;
  line-height: 1.45;
}

.account-billing-toggle {
  display: inline-flex;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid #d7e2de;
  border-radius: 999px;
  background: #f2f8f5;
}

.account-billing-toggle button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  color: #0b5d42;
  background: transparent;
  font-size: 12px;
}

.account-billing-toggle button.active {
  color: #fff;
  background: #0b6b4b;
}

.account-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-plan-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  border: 1px solid #d7e2de;
  border-radius: 12px;
  background: #fff;
}

.account-plan-card.featured {
  border-color: #0b6b4b;
  box-shadow: 0 16px 35px rgba(11, 107, 75, .14);
}

.account-plan-card.selected {
  outline: 3px solid rgba(11, 107, 75, .16);
  border-color: #0b6b4b;
}

.plan-kicker {
  color: #60706b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-plan-badge {
  justify-self: start;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: #0b6b4b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-plan-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.account-plan-price strong {
  color: #0f241f;
  font-size: 28px;
  line-height: 1;
}

.account-plan-card.featured .account-plan-price strong {
  color: #0b6b4b;
}

.account-plan-price span {
  color: #60706b;
  font-size: 12px;
  font-weight: 850;
}

.account-plan-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-plan-card li {
  position: relative;
  padding-left: 16px;
  color: #50635d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.account-plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #11a673;
}

.account-plan-card button {
  width: 100%;
  min-height: 38px;
  margin-top: 2px;
}

.account-plan-card.selected button {
  background: #eef7f3;
  color: #0b5d42;
}

.account-plan-details {
  border: 1px solid #dbe6e2;
  border-radius: 10px;
  background: #fff;
}

.account-plan-details summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #0b4d39;
  font-size: 13px;
  font-weight: 950;
}

.account-compare-wrap {
  overflow-x: auto;
  padding: 0 12px 12px;
}

.account-plan-compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.account-plan-compare th,
.account-plan-compare td {
  padding: 10px;
  border: 1px solid #dce8e4;
  text-align: left;
  vertical-align: middle;
  font-size: 12px;
}

.account-plan-compare th {
  color: #0b362b;
  background: #edf6f2;
  font-weight: 950;
}

.account-plan-compare td {
  color: #31413d;
  background: #fff;
  font-weight: 750;
}

.account-plan-compare .yes {
  color: #0b6b4b;
  font-weight: 950;
}

.account-plan-compare .no {
  color: #879590;
}

.onboarding-card {
  display: grid;
  gap: 14px;
}

.onboarding-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.onboarding-head h2 {
  margin-bottom: 6px;
}

.onboarding-head p:not(.eyebrow) {
  color: #50635d;
  font-weight: 700;
}

.progress-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf6f1;
  color: #07543b;
  font-size: 14px;
  font-weight: 950;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3eee9;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #0b6b4b;
  transition: width .25s ease;
}

.onboarding-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.onboarding-step {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 13px;
  border: 1px solid #d8e6e1;
  border-radius: 12px;
  background: #fbfdfc;
}

.onboarding-step.done {
  border-color: #abdcca;
  background: #effaf6;
}

.onboarding-step .step-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef5f2;
  color: #0b6b4b;
  font-weight: 950;
}

.onboarding-step.done .step-icon {
  background: #0b6b4b;
  color: #fff;
}

.onboarding-step strong {
  font-size: 14px;
  line-height: 1.18;
}

.onboarding-step p {
  color: #66736f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.onboarding-step a {
  align-self: end;
  color: #0b6b4b;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.onboarding-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #f1d38f;
  border-radius: 12px;
  background: #fff8e7;
}

.onboarding-value strong {
  color: #7b4c00;
}

.onboarding-value p {
  color: #5f4a22;
  font-weight: 750;
}

.onboarding-value button {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-dialog {
  width: min(570px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
}

.payment-dialog::backdrop {
  background: rgba(8, 24, 19, .42);
  backdrop-filter: blur(4px);
}

.payment-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #d5e2de;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(12, 30, 25, .22);
}

.payment-card h2 {
  margin-bottom: 6px;
}

.payment-card p {
  color: #50635d;
  font-weight: 750;
  line-height: 1.45;
}

.payment-methods {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  color: #17372f;
  font-size: 15px;
  font-weight: 950;
}

.payment-method-help {
  margin: -4px 0 2px;
  color: #66736f !important;
  font-size: 12px;
  font-weight: 700 !important;
}

.payment-method-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid #cfddd8;
  border-radius: 11px;
  background: #fbfdfc;
  color: #17372f;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.payment-method-option:hover {
  border-color: #87b5a5;
  background: #f7fbf9;
}

.payment-method-option.is-selected,
.payment-method-option:has(input:checked) {
  border-color: #0b7956;
  background: #f0f8f5;
  box-shadow: 0 0 0 2px rgba(11, 121, 86, .12);
}

.payment-method-option:focus-within {
  outline: 2px solid rgba(11, 121, 86, .24);
  outline-offset: 2px;
}

.payment-method-option input[type="radio"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  accent-color: #0b7956;
}

.payment-method-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.payment-method-copy strong {
  color: #17372f;
  font-size: 13px;
  line-height: 1.25;
}

.payment-method-copy small,
.payment-method-details small {
  color: #61726c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.42;
}

.payment-method-details {
  display: grid;
  gap: 7px;
  margin: -2px 0 2px 31px;
  padding: 13px 14px;
  border-left: 3px solid #9dcaba;
  border-radius: 0 9px 9px 0;
  background: #f5faf8;
}

.payment-method-details label {
  color: #385048;
}

.payment-method-details input {
  width: 100%;
  background: #fff;
}

.payment-method-details input:focus {
  border-color: #0b7956;
  outline: 2px solid rgba(11, 121, 86, .16);
  outline-offset: 1px;
}

.payment-method-details-guest p {
  margin: 0;
  color: #385048;
  font-size: 12px;
  font-weight: 700;
}

.payment-method-status {
  min-height: 18px;
  margin: -2px 0 0;
  color: #66736f !important;
  font-size: 12px;
  font-weight: 800 !important;
}

.payment-method-status.ready {
  color: #0b6b4b !important;
}

.payment-method-status.error {
  color: #a40f1b !important;
}

#paymentContinueButton:disabled {
  cursor: not-allowed;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.sessions-list {
  display: grid;
  gap: 10px;
}

.session-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe6e2;
  border-radius: 10px;
  background: #fbfdfc;
}

.session-row small {
  display: block;
  margin-top: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf6f1;
  color: #0b6b4b;
  font-size: 12px;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 430px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #10231d;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(12, 30, 25, .24);
}

.account-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: #66736f;
  font-size: 12px;
  font-weight: 800;
}

.account-footer a {
  color: #0b6b4b;
  text-decoration: none;
}

.legal-shell {
  max-width: 860px;
}

.legal-copy {
  display: grid;
  gap: 10px;
  color: #31413d;
  line-height: 1.55;
}

.legal-copy h2 {
  margin: 14px 0 0;
  font-size: 18px;
}

.legal-copy a {
  color: #0b6b4b;
  font-weight: 900;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .profile-grid,
  .session-row,
  .account-plans-grid,
  .created-pin-layout,
  .created-scan-layout {
    grid-template-columns: 1fr;
  }

  .created-guide-steps button {
    grid-template-columns: 25px minmax(0, 1fr);
    padding: 9px 8px;
  }

  .created-guide-steps button > span {
    width: 24px;
    height: 24px;
  }

  .created-guide-steps small {
    display: none;
  }

  .created-guide-panel {
    padding: 14px;
  }

  .created-guide-panel-head > span {
    display: none;
  }

  .created-guide-actions,
  .created-guide-actions.split {
    display: grid;
    justify-content: stretch;
  }

  .created-guide-actions button {
    width: 100%;
  }

  .onboarding-head,
  .onboarding-value,
  .account-plans-head {
    grid-template-columns: 1fr;
  }

  .onboarding-head,
  .account-plans-head {
    flex-direction: column;
  }

  .onboarding-checklist {
    grid-template-columns: 1fr;
  }

  .onboarding-value button {
    grid-column: auto;
    grid-row: auto;
  }

  .account-card {
    padding: 18px;
  }

  .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tabs button:last-child {
    grid-column: 1 / -1;
  }

  .created-portal-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .created-portal-actions {
    justify-content: stretch;
  }

  .created-portal-actions a {
    flex: 1 1 80px;
    text-align: center;
  }

  .profile-header,
  .dialog-actions {
    flex-direction: column;
  }

  .profile-header button,
  .dialog-actions button,
  .created-actions button,
  .created-actions a {
    width: 100%;
  }

  .payment-method-details {
    margin-left: 0;
  }
}
