:root {
  --shipendo-account-ink: #0b1f4a;
  --shipendo-account-blue: #0d4fb8;
  --shipendo-account-deep: #071b41;
  --shipendo-account-paper: #f7faff;
  --shipendo-account-sand: #edf5ff;
  --shipendo-account-muted: #4c6385;
  --shipendo-account-line: #cfdff2;
  --shipendo-account-lime: #c4f079;
}

body.page-user,
body.page-user-login {
  background: var(--shipendo-account-sand);
  color: var(--shipendo-account-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
}

body.page-user,
body.page-user *,
body.page-user-login,
body.page-user-login * {
  box-sizing: border-box;
}

.shipendo-account-page {
  background-color: var(--shipendo-account-sand);
  background-image: linear-gradient(rgba(37, 99, 191, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 191, .07) 1px, transparent 1px), radial-gradient(circle at 15% 15%, rgba(108, 171, 255, .3), transparent 30%), linear-gradient(135deg, #f7fbff 0%, #e8f2ff 100%);
  background-size: 46px 46px, 46px 46px, auto, auto;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px 32px 24px;
}

.shipendo-account-page,
.shipendo-account-page * {
  box-sizing: border-box;
}

.shipendo-account-shell {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 52px);
}

.shipendo-account-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.shipendo-account-brand {
  align-items: center;
  color: var(--shipendo-account-ink);
  display: inline-flex;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.06em;
  text-decoration: none;
}

.shipendo-account-brand .shipendo-wordmark {
  display: inline-flex;
  font-size: 21px;
  font-weight: 750;
  line-height: 1;
}

.shipendo-account-brand .shipendo-wordmark-dot { color: var(--shipendo-account-blue); }

.shipendo-account-back {
  color: var(--shipendo-account-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.shipendo-account-back span {
  display: inline-block;
  margin-left: 5px;
  transition: transform .2s ease;
}

.shipendo-account-back:hover span { transform: translate(3px, -3px); }

.shipendo-account-layout {
  align-items: center;
  display: grid;
  flex: 1;
  gap: clamp(60px, 9vw, 140px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  padding: 72px 5vw 65px;
}

.shipendo-account-intro { max-width: 530px; }

.shipendo-account-kicker,
.shipendo-account-card-kicker {
  color: #8f3f3d;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  margin: 0;
  text-transform: uppercase;
}

.shipendo-account-intro h1,
.shipendo-account-card h2 {
  color: var(--shipendo-account-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -.05em;
  margin: 19px 0 0;
}

.shipendo-account-intro h1 {
  font-size: clamp(52px, 6.2vw, 82px);
  line-height: .98;
  max-width: 500px;
}

.shipendo-account-intro-copy {
  color: #304a70;
  font-size: 19px;
  line-height: 1.65;
  margin: 28px 0 0;
  max-width: 450px;
}

.shipendo-account-points {
  display: grid;
  gap: 13px;
  margin-top: 38px;
}

.shipendo-account-points span {
  align-items: center;
  color: #29415a;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 11px;
}

.shipendo-account-points i {
  align-items: center;
  background: #dff4e7;
  border-radius: 50%;
  color: #236b43;
  display: inline-flex;
  font-size: 12px;
  font-style: normal;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.shipendo-account-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid #c7daf1;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(28, 73, 137, .18);
  padding: 36px 38px 34px;
}

.shipendo-account-card-mark { margin-bottom: 25px; }
.shipendo-account-card h2 { font-size: 42px; line-height: 1.05; }

.shipendo-account-card-copy {
  color: var(--shipendo-account-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0 0;
}

.shipendo-account-form { margin-top: 30px; }
.shipendo-account-form .region-content { margin: 0; }
.shipendo-account-form .block { margin: 0; }
.shipendo-account-form .block h2 { display: none; }

.shipendo-account-form form { margin: 0; }
.shipendo-account-form .form-item { margin: 0 0 19px; }

.shipendo-account-form label {
  color: var(--shipendo-account-ink);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px;
}

.shipendo-account-form .form-required { color: #8f3f3d; }

.shipendo-account-form input.form-text {
  background: #fff;
  border: 1px solid #afc8e7;
  border-radius: 10px;
  color: var(--shipendo-account-ink);
  display: block;
  font: inherit;
  font-size: 16px;
  height: 52px;
  max-width: none;
  padding: 0 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.shipendo-account-form input.form-text:focus {
  border-color: var(--shipendo-account-blue);
  box-shadow: 0 0 0 4px rgba(13, 79, 184, .15);
  outline: 0;
}

.shipendo-account-form .description {
  color: var(--shipendo-account-muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 7px;
}

.shipendo-account-form .form-actions { margin: 25px 0 0; }

.shipendo-account-form input.form-submit {
  background: var(--shipendo-account-blue);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(13, 79, 184, .2);
  color: #fff;
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 52px;
  padding: 0 20px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
  width: 100%;
}

.shipendo-account-form input.form-submit:hover {
  background: var(--shipendo-account-deep);
  box-shadow: 0 16px 30px rgba(13, 79, 184, .26);
  transform: translateY(-1px);
}

.shipendo-account-form input.form-submit:focus-visible,
.shipendo-account-back:focus-visible,
.shipendo-account-brand:focus-visible,
.shipendo-account-reset:focus-visible {
  outline: 3px solid rgba(13, 79, 184, .35);
  outline-offset: 3px;
}

.shipendo-account-reset {
  color: var(--shipendo-account-blue);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 22px;
  text-decoration: none;
}

.shipendo-account-reset:hover { text-decoration: underline; }

.shipendo-account-form #block-system-powered-by,
.shipendo-account-form #block-system-navigation,
.shipendo-account-form .region-footer,
.shipendo-account-form .region-sidebar-first,
.shipendo-account-form .region-sidebar-second { display: none; }

.shipendo-profile-layout {
  align-items: start;
  display: grid;
  flex: 1;
  gap: clamp(32px, 4vw, 72px);
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1.58fr);
  padding: 56px clamp(18px, 2.4vw, 34px) 60px;
}

/* Use the full desktop canvas for account pages and keep the rail focused. */
.shipendo-profile-page .shipendo-account-shell,
.shipendo-workspace-page .shipendo-account-shell {
  max-width: 1440px;
}

.shipendo-profile-sidebar {
  max-width: 310px;
  padding-top: 24px;
}

.shipendo-profile-sidebar h1 {
  color: var(--shipendo-account-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 3.8vw, 56px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .98;
  margin: 12px 0 0;
}

.shipendo-profile-sidebar > p:not(.shipendo-account-kicker) {
  color: #304a70;
  font-size: 16px;
  line-height: 1.65;
  margin: 22px 0 0;
}

.shipendo-account-menu {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.shipendo-account-menu-primary { margin-top: 24px; }

.shipendo-account-menu-secondary {
  border-top: 1px solid rgba(137, 171, 214, .55);
  margin-top: 24px;
  padding-top: 18px;
}

.shipendo-account-menu a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #405a7a;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 11px;
  min-height: 48px;
  padding: 0 12px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.shipendo-account-menu a span {
  align-items: center;
  background: #e2efff;
  border-radius: 8px;
  color: var(--shipendo-account-blue);
  display: inline-flex;
  font-size: 15px;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.shipendo-account-menu a:hover,
.shipendo-account-menu a:focus-visible,
.shipendo-account-menu a.is-active {
  background: #fff;
  border-color: #c7daf1;
  box-shadow: 0 10px 22px rgba(21, 67, 128, .1);
  color: var(--shipendo-account-blue);
  outline: 0;
  transform: translateX(2px);
}

.shipendo-account-menu a:focus-visible {
  box-shadow: 0 0 0 3px rgba(13, 79, 184, .22), 0 10px 22px rgba(21, 67, 128, .1);
}

.shipendo-user-tabs {
  border-top: 1px solid rgba(137, 171, 214, .55);
  margin-top: 22px;
  padding-top: 18px;
}

.shipendo-user-tabs-label {
  color: #526b8e;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.shipendo-user-tabs .tabs {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shipendo-user-tabs .tabs li {
  background: transparent;
  border: 0;
  display: block;
  margin: 0;
  padding: 0;
}

.shipendo-user-tabs .tabs a {
  background: rgba(255, 255, 255, .82);
  border: 1px solid #c7daf1;
  border-radius: 10px;
  color: #405a7a;
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  padding: 10px 12px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.shipendo-user-tabs .tabs a:hover,
.shipendo-user-tabs .tabs a:focus-visible,
.shipendo-user-tabs .tabs a.active,
.shipendo-user-tabs .tabs li.active a {
  background: var(--shipendo-account-blue);
  border-color: #c7daf1;
  box-shadow: 0 10px 22px rgba(13, 79, 184, .2);
  color: #fff;
  outline: 0;
}

.shipendo-user-tabs .tabs a:focus-visible {
  box-shadow: 0 0 0 3px rgba(13, 79, 184, .22), 0 8px 18px rgba(21, 67, 128, .08);
}

.shipendo-user-tabs .tabs.secondary {
  border-top: 1px solid #e0eaf6;
  margin-top: 12px;
  padding-top: 12px;
}

.shipendo-profile-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid #c7daf1;
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(24, 63, 116, .13);
  min-width: 0;
  padding: 36px 38px;
}

.shipendo-profile-card-top {
  align-items: flex-start;
  border-bottom: 1px solid #e0eaf6;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 24px;
}

.shipendo-profile-card h2 {
  color: var(--shipendo-account-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1;
  margin: 14px 0 0;
}

.shipendo-profile-status {
  align-items: center;
  background: #e5f6ea;
  border-radius: 100px;
  color: #236b43;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  padding: 8px 11px;
  white-space: nowrap;
}

.shipendo-profile-status i {
  background: #2d8b55;
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.shipendo-profile-content {
  color: #304a70;
  margin-top: 26px;
}

.shipendo-profile-content .region-content,
.shipendo-profile-content .block {
  margin: 0;
}

.shipendo-profile-content #block-system-powered-by,
.shipendo-profile-content #block-user-login,
.shipendo-profile-content #block-system-navigation,
.shipendo-profile-content .region-footer,
.shipendo-profile-content .region-sidebar-first,
.shipendo-profile-content .region-sidebar-second {
  display: none;
}

.shipendo-profile-content .messages {
  background: #fff6e6;
  border: 1px solid #e8c98f;
  border-radius: 12px;
  color: #654b1c;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 15px 17px;
}

.shipendo-profile-messages {
  margin: 0 0 22px;
}

.shipendo-account-form .shipendo-profile-messages {
  margin-bottom: 24px;
}

.shipendo-profile-messages .messages {
  background: #fff6e6;
  border: 1px solid #e8c98f;
  border-radius: 12px;
  color: #654b1c;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 15px 17px;
}

.shipendo-profile-content .tabs,
.shipendo-profile-content .action-links {
  margin-top: 20px;
}

.shipendo-profile-content a {
  color: var(--shipendo-account-blue);
  font-weight: 700;
  text-decoration: none;
}

.shipendo-profile-content a:hover,
.shipendo-profile-content a:focus-visible {
  text-decoration: underline;
}

.shipendo-profile-content h2,
.shipendo-profile-content h3,
.shipendo-profile-content h4 {
  color: var(--shipendo-account-ink);
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 26px 0 14px;
}

.shipendo-profile-content h2 { font-size: 32px; }
.shipendo-profile-content h3 { font-size: 25px; }
.shipendo-profile-content h4 { font-size: 20px; }

.shipendo-profile-content .item-list ul,
.shipendo-profile-content ul.menu,
.shipendo-profile-content ul.links,
.shipendo-profile-content > ul,
.shipendo-profile-content > ol {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.shipendo-profile-content .item-list li,
.shipendo-profile-content ul.menu > li,
.shipendo-profile-content ul.links > li,
.shipendo-profile-content > ul > li,
.shipendo-profile-content > ol > li {
  margin: 0;
  padding: 0;
}

.shipendo-profile-content .item-list li a,
.shipendo-profile-content ul.menu > li a,
.shipendo-profile-content ul.links > li a,
.shipendo-profile-content > ul > li a,
.shipendo-profile-content > ol > li a {
  background: #eef5ff;
  border: 1px solid #c7daf1;
  border-radius: 12px;
  display: block;
  padding: 13px 15px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.shipendo-profile-content .item-list li a:hover,
.shipendo-profile-content .item-list li a:focus-visible,
.shipendo-profile-content ul.menu > li a:hover,
.shipendo-profile-content ul.menu > li a:focus-visible,
.shipendo-profile-content ul.links > li a:hover,
.shipendo-profile-content ul.links > li a:focus-visible,
.shipendo-profile-content > ul > li a:hover,
.shipendo-profile-content > ul > li a:focus-visible,
.shipendo-profile-content > ol > li a:hover,
.shipendo-profile-content > ol > li a:focus-visible {
  background: #fff;
  border-color: #9fbee5;
  box-shadow: 0 8px 18px rgba(21, 67, 128, .1);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Make Views controls feel like the compact cards used across Shipendo. */
.shipendo-profile-content .views-exposed-form .views-exposed-widgets {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 0;
}

.shipendo-profile-content .views-exposed-form .views-exposed-widget {
  float: none;
  margin: 0;
  padding: 0;
}

.shipendo-profile-content .views-exposed-form label {
  color: var(--shipendo-account-ink);
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 7px;
}

.shipendo-profile-content .views-exposed-form select {
  background: #fff;
  min-width: 240px;
  width: auto;
}

.shipendo-profile-content .views-exposed-form select[multiple] {
  height: 148px;
  min-height: 148px;
  min-width: 300px;
  padding: 7px;
}

.shipendo-profile-content .views-exposed-form select[multiple] option {
  border-radius: 6px;
  padding: 5px 7px;
}

.shipendo-profile-content .views-exposed-form .views-submit-button {
  align-self: flex-end;
}

.shipendo-profile-content .views-exposed-form .views-submit-button input.form-submit {
  margin: 0;
}

.shipendo-profile-content .item-list ul.pager {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.shipendo-profile-content .item-list ul.pager li {
  margin: 0;
  padding: 0;
}

.shipendo-profile-content .item-list ul.pager li a,
.shipendo-profile-content .item-list ul.pager li.pager-current {
  border: 1px solid #c7daf1;
  border-radius: 999px;
  display: block;
  font-size: 12px;
  line-height: 1;
  padding: 9px 12px;
}

.shipendo-profile-content .item-list ul.pager li.pager-current {
  background: var(--shipendo-account-blue);
  color: #fff;
  font-weight: 800;
}

.shipendo-profile-content .item-list ul.pager li a:hover,
.shipendo-profile-content .item-list ul.pager li a:focus-visible {
  background: #eaf3ff;
  text-decoration: none;
}

.shipendo-profile-content .item-list ul:not(.pager) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shipendo-profile-content .views-exposed-form {
  background: #eef5ff;
  border: 1px solid #c7daf1;
  border-radius: 14px;
  margin: 0 0 24px;
  padding: 18px;
}

.shipendo-profile-content table {
  background: #fff;
  border: 1px solid #c7daf1;
  border-collapse: separate;
  border-radius: 14px;
  border-spacing: 0;
  display: block;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.shipendo-profile-content th,
.shipendo-profile-content td {
  border-bottom: 1px solid #e0eaf6;
  padding: 12px 13px;
  text-align: left;
  vertical-align: top;
}

.shipendo-profile-content th {
  background: #eef5ff;
  color: var(--shipendo-account-ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.shipendo-profile-content tbody tr:hover td {
  background: #f8fbff;
}

/* Use a calm, spacious data surface instead of the default Drupal table. */
.shipendo-profile-content .view-content {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 5px;
}

.shipendo-profile-content .view-content table,
.shipendo-profile-content table.views-table {
  display: table;
  min-width: 760px;
  max-width: none;
  overflow: visible;
  table-layout: auto;
  width: 100%;
}

.shipendo-profile-content .view-content th {
  background: #eaf3ff;
  border-bottom: 2px solid #c7daf1;
  color: var(--shipendo-account-blue);
  font-size: 12px;
  letter-spacing: .01em;
  padding-bottom: 13px;
  padding-top: 13px;
}

.shipendo-profile-content .view-content td {
  background: #fff;
  color: #304a70;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
}

.shipendo-profile-content .view-content tbody tr:nth-child(even) td {
  background: #f7faff;
}

.shipendo-profile-content .view-content tbody tr:hover td {
  background: #e7f1ff;
}

.shipendo-profile-content .view-content td:last-child a {
  align-items: center;
  background: #eaf3ff;
  border: 1px solid #c7daf1;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  line-height: 1;
  padding: 8px 11px;
}

.shipendo-profile-content .view-content td:last-child a:hover,
.shipendo-profile-content .view-content td:last-child a:focus-visible {
  background: var(--shipendo-account-blue);
  color: #fff;
  text-decoration: none;
}

/* Give data-heavy profile pages room to breathe and keep their tables usable. */
.shipendo-profile-report-page .shipendo-profile-layout {
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(220px, .38fr) minmax(0, 1.62fr);
  padding-left: clamp(24px, 3vw, 44px);
  padding-right: clamp(24px, 3vw, 44px);
}

.shipendo-profile-report-page .shipendo-profile-card {
  padding: clamp(28px, 3vw, 38px);
}

.shipendo-profile-report-page .view-content {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 5px;
}

.shipendo-profile-report-page .view-content table,
.shipendo-profile-report-page table.views-table {
  display: table;
  min-width: 680px;
  max-width: none;
  overflow: visible;
  table-layout: auto;
  width: 100%;
}

.shipendo-profile-report-page .view-content th,
.shipendo-profile-report-page .view-content td {
  white-space: nowrap;
}

.shipendo-profile-report-page .view-content td {
  color: #304a70;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.shipendo-profile-report-page .view-content th:nth-child(1),
.shipendo-profile-report-page .view-content td:nth-child(1) { min-width: 130px; }

.shipendo-profile-report-page .view-content th:nth-child(2),
.shipendo-profile-report-page .view-content td:nth-child(2) { min-width: 150px; }

.shipendo-profile-report-page .view-content th:nth-child(3),
.shipendo-profile-report-page .view-content td:nth-child(3) { min-width: 100px; }

.shipendo-profile-report-page .view-content th:last-child,
.shipendo-profile-report-page .view-content td:last-child {
  text-align: right;
}

.shipendo-profile-report-page .view-content td a {
  align-items: center;
  background: #eaf3ff;
  border: 1px solid #c7daf1;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  line-height: 1;
  padding: 8px 11px;
}

.shipendo-profile-report-page .view-content td a:hover,
.shipendo-profile-report-page .view-content td a:focus-visible {
  background: var(--shipendo-account-blue);
  color: #fff;
  text-decoration: none;
}

.shipendo-profile-report-page .item-list ul.pager {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.shipendo-profile-report-page .item-list ul.pager li {
  margin: 0;
  padding: 0;
}

.shipendo-profile-report-page .item-list ul.pager li a,
.shipendo-profile-report-page .item-list ul.pager li.pager-current {
  border: 1px solid #c7daf1;
  border-radius: 999px;
  display: block;
  font-size: 12px;
  line-height: 1;
  padding: 9px 12px;
}

.shipendo-profile-report-page .item-list ul.pager li.pager-current {
  background: var(--shipendo-account-blue);
  color: #fff;
  font-weight: 800;
}

.shipendo-profile-report-page .item-list ul.pager li a:hover,
.shipendo-profile-report-page .item-list ul.pager li a:focus-visible {
  background: #eaf3ff;
  text-decoration: none;
}

.shipendo-profile-content input.form-text,
.shipendo-profile-content input.form-email,
.shipendo-profile-content input.form-password,
.shipendo-profile-content select,
.shipendo-profile-content textarea {
  border: 1px solid #b8cce6;
  border-radius: 10px;
  box-sizing: border-box;
  color: var(--shipendo-account-ink);
  font: inherit;
  max-width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  width: 100%;
}

.shipendo-profile-content input.form-submit {
  background: var(--shipendo-account-blue);
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 48px;
  padding: 0 18px;
}

.shipendo-profile-content input.form-submit:hover,
.shipendo-profile-content input.form-submit:focus-visible {
  background: var(--shipendo-account-deep);
}

/* Give long Drupal forms the same clear hierarchy as the public landing page. */
.shipendo-profile-content form {
  color: #304a70;
  max-width: 100%;
}

.shipendo-profile-content form .form-item {
  margin: 0 0 18px;
}

.shipendo-profile-content form .form-item > label,
.shipendo-profile-content form .fieldset-legend {
  color: var(--shipendo-account-ink);
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 7px;
}

.shipendo-profile-content form .form-required {
  color: #a23943;
}

.shipendo-profile-content form .description {
  color: var(--shipendo-account-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
}

.shipendo-profile-content form input[type="text"],
.shipendo-profile-content form input[type="email"],
.shipendo-profile-content form input[type="url"],
.shipendo-profile-content form input[type="number"],
.shipendo-profile-content form input[type="password"],
.shipendo-profile-content form select,
.shipendo-profile-content form textarea {
  background: #fff;
  border: 1px solid #b8cce6;
  border-radius: 10px;
  box-sizing: border-box;
  color: var(--shipendo-account-ink);
  font: inherit;
  line-height: 1.4;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.shipendo-profile-content form textarea {
  min-height: 104px;
  resize: vertical;
}

.shipendo-profile-content form select[multiple] {
  min-height: 132px;
  padding: 8px;
}

.shipendo-profile-content form input:disabled,
.shipendo-profile-content form select:disabled,
.shipendo-profile-content form textarea:disabled {
  background: #eef2f8;
  color: #526b8e;
  cursor: not-allowed;
}

.shipendo-profile-content form input[type="text"]:focus,
.shipendo-profile-content form input[type="email"]:focus,
.shipendo-profile-content form input[type="url"]:focus,
.shipendo-profile-content form input[type="number"]:focus,
.shipendo-profile-content form input[type="password"]:focus,
.shipendo-profile-content form select:focus,
.shipendo-profile-content form textarea:focus {
  border-color: var(--shipendo-account-blue);
  box-shadow: 0 0 0 4px rgba(13, 79, 184, .14);
  outline: 0;
}

.shipendo-profile-content form fieldset {
  background: #f8fbff;
  border: 1px solid #c7daf1;
  border-radius: 16px;
  margin: 24px 0;
  padding: 24px 18px 8px;
}

.shipendo-profile-content form fieldset fieldset {
  background: #fff;
  border-color: #d5e2f2;
  margin: 20px 0;
}

.shipendo-profile-content form fieldset legend {
  color: var(--shipendo-account-blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  padding: 0 8px;
}

.shipendo-profile-content form fieldset legend a {
  color: var(--shipendo-account-blue);
  text-decoration: none;
}

.shipendo-profile-content form fieldset legend a:hover,
.shipendo-profile-content form fieldset legend a:focus-visible {
  text-decoration: underline;
}

.shipendo-profile-content form .form-type-checkbox,
.shipendo-profile-content form .form-type-radio {
  align-items: start;
  column-gap: 10px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  margin-bottom: 13px;
}

.shipendo-profile-content form .form-type-checkbox input,
.shipendo-profile-content form .form-type-radio input {
  accent-color: var(--shipendo-account-blue);
  grid-column: 1;
  grid-row: 1;
  height: 17px;
  margin: 2px 0 0;
  width: 17px;
}

.shipendo-profile-content form .form-type-checkbox label,
.shipendo-profile-content form .form-type-radio label {
  color: #304a70;
  font-size: 13px;
  font-weight: 700;
  grid-column: 2;
  grid-row: 1;
  line-height: 1.45;
  margin: 0;
}

.shipendo-profile-content form .form-type-checkbox .description,
.shipendo-profile-content form .form-type-radio .description {
  grid-column: 2;
  grid-row: 2;
  margin-top: 3px;
}

.shipendo-profile-content form .form-actions {
  border-top: 1px solid #e0eaf6;
  margin: 30px 0 0;
  padding-top: 24px;
}

.shipendo-profile-content form input.form-submit,
.shipendo-profile-content form button.form-submit {
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13, 79, 184, .18);
  min-height: 50px;
  padding: 0 24px;
}

/* Dedicated layout for the shop settings form. */
.shipendo-shop-settings-form {
  column-gap: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shipendo-shop-settings-form > .shipendo-shop-id,
.shipendo-shop-settings-form > .form-item-iban,
.shipendo-shop-settings-form > .shipendo-settings-section,
.shipendo-shop-settings-form > .form-actions {
  grid-column: 1 / -1;
}

.shipendo-shop-settings-form > .shipendo-shop-id {
  align-items: center;
  background: #eaf3ff;
  border: 1px solid #c7daf1;
  border-radius: 12px;
  color: #304a70;
  display: flex;
  gap: 8px;
  margin: 0 0 6px;
  padding: 11px 14px;
}

.shipendo-shop-settings-form > .shipendo-shop-id strong {
  color: var(--shipendo-account-blue);
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.shipendo-shop-settings-form > .shipendo-shop-id span {
  color: var(--shipendo-account-ink);
  font-size: 14px;
  font-weight: 800;
}

.shipendo-shop-settings-form > .form-item-title,
.shipendo-shop-settings-form > .form-item-url,
.shipendo-shop-settings-form > .form-item-iban {
  min-width: 0;
}

.shipendo-shop-settings-form > .form-item-iban i {
  color: var(--shipendo-account-muted);
  display: block;
  font-size: 11px;
  line-height: 1.45;
  margin-top: 7px;
}

.shipendo-shop-settings-form > .shipendo-settings-section {
  box-shadow: 0 14px 30px rgba(24, 63, 116, .07);
  margin: 18px 0 0;
  padding: 28px 20px 10px;
}

.shipendo-shop-settings-form > .shipendo-settings-section > legend {
  color: var(--shipendo-account-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  letter-spacing: -.03em;
  padding: 0 9px;
}

.shipendo-shop-settings-form fieldset.collapsible > legend a {
  align-items: center;
  background: #eaf3ff;
  border: 1px solid #c7daf1;
  border-radius: 999px;
  color: var(--shipendo-account-blue);
  display: inline-flex;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  padding: 8px 12px;
  text-decoration: none;
}

.shipendo-shop-settings-form fieldset.collapsible > legend a:hover,
.shipendo-shop-settings-form fieldset.collapsible > legend a:focus-visible {
  background: var(--shipendo-account-blue);
  color: #fff;
  outline: 0;
}

.shipendo-shop-settings-form fieldset fieldset {
  border-radius: 13px;
  margin: 18px 0;
  padding: 22px 15px 5px;
}

.shipendo-shop-settings-form fieldset fieldset legend {
  font-size: 13px;
}

.shipendo-shop-settings-form > .form-actions {
  align-items: center;
  background: #eaf3ff;
  border: 1px solid #c7daf1;
  border-radius: 14px;
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
  padding: 14px;
}

.shipendo-shop-settings-form > .form-actions input.form-submit {
  box-shadow: 0 10px 22px rgba(13, 79, 184, .2);
  min-width: 132px;
}

.shipendo-workspace-layout {
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
}

.shipendo-workspace-card {
  align-self: start;
  min-height: 320px;
}

.shipendo-workspace-card h2 {
  overflow-wrap: anywhere;
}

.shipendo-workspace-content .form-item {
  margin: 0 0 20px;
}

.shipendo-workspace-content label {
  color: var(--shipendo-account-ink);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 7px;
}

.shipendo-workspace-content .form-actions {
  margin: 26px 0 0;
}

.shipendo-workspace-content table {
  border-collapse: collapse;
  display: block;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.shipendo-workspace-content th,
.shipendo-workspace-content td {
  border-bottom: 1px solid #e0eaf6;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.shipendo-workspace-content th {
  color: var(--shipendo-account-ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.shipendo-workspace-content .description {
  color: var(--shipendo-account-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 7px;
}

.shipendo-workspace-content form.shipendo-credit-form {
  margin: 0;
  max-width: 760px;
}

.shipendo-credit-form .shipendo-credit-summary {
  background: #eef5ff;
  border: 1px solid #c7daf1;
  border-radius: 14px;
  color: var(--shipendo-account-ink);
  display: grid;
  gap: 4px;
  margin: 0 0 28px;
  padding: 16px 18px;
}

.shipendo-credit-form .shipendo-credit-summary p {
  margin: 0;
}

.shipendo-credit-form .form-item-credit-date,
.shipendo-credit-form .form-item-credit-type {
  background: #fff;
  border: 1px solid #d5e2f2;
  border-radius: 14px;
  padding: 18px;
}

.shipendo-credit-form .form-item-credit-date label,
.shipendo-credit-form .form-item-credit-type > label {
  font-size: 15px;
  margin-bottom: 10px;
}

.shipendo-credit-form .form-item-credit-date .form-select {
  display: inline-block;
  margin-right: 8px;
  width: auto;
}

.shipendo-credit-form .form-radios {
  display: grid;
  gap: 10px;
}

.shipendo-credit-form .form-type-radio,
.shipendo-credit-form .form-type-checkbox {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.shipendo-credit-form .form-type-radio label,
.shipendo-credit-form .form-type-checkbox label {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.shipendo-credit-form input[type="radio"],
.shipendo-credit-form input[type="checkbox"] {
  accent-color: var(--shipendo-account-blue);
  flex: 0 0 auto;
  height: 18px;
  margin: 2px 0 0;
  width: 18px;
}

.shipendo-credit-form .shipendo-credit-items-fieldset {
  background: #f8fbff;
  border: 1px solid #c7daf1;
  border-radius: 16px;
  margin: 26px 0 0;
  padding: 24px 20px 8px;
}

.shipendo-credit-form .shipendo-credit-items-fieldset > legend {
  color: var(--shipendo-account-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  padding: 0 8px;
}

.shipendo-credit-form .shipendo-credit-items-fieldset .form-item {
  background: #fff;
  border: 1px solid #d5e2f2;
  border-radius: 12px;
  margin: 0 0 12px;
  padding: 14px;
}

.shipendo-credit-form .shipendo-credit-items-fieldset .form-item label {
  margin-bottom: 7px;
}

.shipendo-credit-form .shipendo-credit-actions {
  margin-top: 28px;
}

.shipendo-credit-form .shipendo-credit-actions .form-submit {
  min-width: 210px;
}

.shipendo-credit-form input:focus-visible,
.shipendo-credit-form select:focus-visible,
.shipendo-credit-form textarea:focus-visible {
  border-color: var(--shipendo-account-blue);
  box-shadow: 0 0 0 4px rgba(13, 79, 184, .15);
  outline: 0;
}

.shipendo-account-footer {
  align-items: center;
  border-top: 1px solid rgba(137, 171, 214, .45);
  color: #526b8e;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding-top: 19px;
}

@media (max-width: 800px) {
  .shipendo-account-page { padding: 22px 20px 20px; }
  .shipendo-account-shell { min-height: calc(100vh - 42px); }
  .shipendo-account-layout {
    gap: 42px;
    grid-template-columns: 1fr;
    padding: 58px 0 48px;
  }
  .shipendo-account-intro { max-width: 600px; }
  .shipendo-account-intro h1 { font-size: clamp(52px, 14vw, 72px); }
  .shipendo-account-card { max-width: 520px; padding: 30px 26px 28px; width: 100%; }
  .shipendo-profile-layout {
    gap: 36px;
    grid-template-columns: 1fr;
    padding: 52px 0 48px;
  }
  .shipendo-profile-sidebar { max-width: 600px; padding-top: 0; }
  .shipendo-profile-sidebar h1 { font-size: clamp(40px, 11vw, 56px); }
  .shipendo-profile-card { padding: 30px 26px; }
  .shipendo-workspace-card { min-height: 0; }
  .shipendo-profile-report-page .shipendo-profile-layout {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }
  .shipendo-profile-report-page .shipendo-profile-card { padding: 30px 26px; }
  .shipendo-profile-content .views-exposed-form .views-exposed-widgets {
    display: grid;
    gap: 14px;
  }
  .shipendo-profile-content .views-exposed-form .views-exposed-widget,
  .shipendo-profile-content .views-exposed-form select,
  .shipendo-profile-content .views-exposed-form select[multiple] {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .shipendo-profile-content .item-list ul:not(.pager) {
    grid-template-columns: 1fr;
  }
  .shipendo-shop-settings-form {
    grid-template-columns: 1fr;
  }
  .shipendo-shop-settings-form > .form-actions {
    align-items: stretch;
    display: block;
  }
  .shipendo-shop-settings-form > .form-actions input.form-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .shipendo-account-header { align-items: flex-start; }
  .shipendo-account-back { font-size: 12px; margin-top: 8px; }
  .shipendo-account-layout { padding-top: 48px; }
  .shipendo-account-intro h1 { font-size: clamp(46px, 14vw, 62px); }
  .shipendo-account-intro-copy { font-size: 17px; }
  .shipendo-account-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .shipendo-profile-card { padding: 26px 20px; }
  .shipendo-profile-card-top { display: block; }
  .shipendo-profile-status { margin-top: 18px; }
  .shipendo-account-menu { margin-top: 22px; }
  .shipendo-profile-sidebar h1 { font-size: clamp(38px, 11vw, 50px); }
  .shipendo-credit-form .form-item-credit-date .form-select {
    margin: 0 5px 8px 0;
    width: calc(50% - 8px);
  }
  .shipendo-credit-form .shipendo-credit-items-fieldset { padding: 20px 14px 6px; }
  .shipendo-credit-form .shipendo-credit-actions .form-submit { width: 100%; }
}

/* Account workspace polish. Keep the Shipendo visual language, but give the
 * application a clear navigation rail and a flexible main work surface. */
.shipendo-profile-page,
.shipendo-workspace-page {
  --shipendo-account-ui-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --shipendo-account-display-font: Georgia, 'Times New Roman', serif;
  font-family: var(--shipendo-account-ui-font);
  padding-left: clamp(20px, 3vw, 56px);
  padding-right: clamp(20px, 3vw, 56px);
}

.shipendo-profile-page .shipendo-account-shell,
.shipendo-workspace-page .shipendo-account-shell {
  max-width: 1680px;
  width: 100%;
}

.shipendo-profile-page .shipendo-account-kicker,
.shipendo-profile-page .shipendo-account-card-kicker,
.shipendo-profile-page .shipendo-user-tabs-label,
.shipendo-profile-page .shipendo-profile-content .shipendo-user-dashboard-eyebrow,
.shipendo-profile-page .shipendo-profile-content .shipendo-user-dashboard-performance-eyebrow,
.shipendo-workspace-page .shipendo-account-kicker,
.shipendo-workspace-page .shipendo-account-card-kicker {
  font-family: var(--shipendo-account-ui-font);
  font-weight: 800;
  letter-spacing: .11em;
}

.shipendo-profile-page .shipendo-profile-layout,
.shipendo-workspace-page .shipendo-profile-layout {
  align-items: start;
  gap: 24px;
  grid-template-columns: 292px minmax(0, 1fr);
  padding: 48px 0 56px;
}

.shipendo-profile-page .shipendo-profile-sidebar,
.shipendo-workspace-page .shipendo-profile-sidebar {
  align-self: start;
  background: rgba(226, 239, 255, .78);
  border: 1px solid #c7daf1;
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 18px 38px rgba(24, 63, 116, .08);
  max-width: none;
  min-width: 0;
  padding: 26px 22px 24px;
  position: sticky;
  top: 24px;
}

.shipendo-profile-page .shipendo-profile-sidebar h1,
.shipendo-workspace-page .shipendo-profile-sidebar h1 {
  font-family: var(--shipendo-account-display-font);
  font-size: clamp(38px, 3.2vw, 52px);
  letter-spacing: -.045em;
  line-height: 1;
  margin-top: 11px;
}

.shipendo-profile-page .shipendo-profile-sidebar > p:not(.shipendo-account-kicker),
.shipendo-workspace-page .shipendo-profile-sidebar > p:not(.shipendo-account-kicker) {
  font-size: 15px;
  line-height: 1.55;
  margin-top: 15px;
}

.shipendo-profile-page .shipendo-account-menu,
.shipendo-workspace-page .shipendo-account-menu {
  gap: 6px;
}

.shipendo-profile-page .shipendo-account-menu a,
.shipendo-workspace-page .shipendo-account-menu a {
  min-height: 46px;
}

.shipendo-profile-page .shipendo-user-tabs,
.shipendo-workspace-page .shipendo-user-tabs {
  margin-top: 22px;
  padding-top: 20px;
}

.shipendo-profile-page .shipendo-user-tabs-label,
.shipendo-workspace-page .shipendo-user-tabs-label {
  font-size: 10px;
  margin-bottom: 9px;
}

.shipendo-profile-page .shipendo-user-tabs .tabs a,
.shipendo-workspace-page .shipendo-user-tabs .tabs a {
  font-family: var(--shipendo-account-ui-font);
  font-size: 13px;
  min-height: 42px;
  padding: 10px 12px;
}

.shipendo-profile-page .shipendo-profile-card,
.shipendo-workspace-page .shipendo-profile-card {
  border-radius: 22px;
  min-width: 0;
  padding: 32px clamp(26px, 3vw, 48px) 40px;
  width: 100%;
}

.shipendo-profile-page .shipendo-profile-card h2,
.shipendo-workspace-page .shipendo-profile-card h2 {
  font-family: var(--shipendo-account-display-font);
  font-size: clamp(34px, 3.5vw, 48px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.shipendo-profile-page .shipendo-profile-content,
.shipendo-workspace-page .shipendo-profile-content {
  font-family: var(--shipendo-account-ui-font);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 24px;
}

.shipendo-profile-page .shipendo-profile-content h2,
.shipendo-profile-page .shipendo-profile-content h3,
.shipendo-profile-page .shipendo-profile-content h4,
.shipendo-workspace-page .shipendo-profile-content h2,
.shipendo-workspace-page .shipendo-profile-content h3,
.shipendo-workspace-page .shipendo-profile-content h4 {
  font-family: var(--shipendo-account-display-font);
  letter-spacing: -.035em;
}

.shipendo-profile-page .shipendo-profile-content input,
.shipendo-profile-page .shipendo-profile-content select,
.shipendo-profile-page .shipendo-profile-content textarea,
.shipendo-profile-page .shipendo-profile-content button,
.shipendo-workspace-page .shipendo-profile-content input,
.shipendo-workspace-page .shipendo-profile-content select,
.shipendo-workspace-page .shipendo-profile-content textarea,
.shipendo-workspace-page .shipendo-profile-content button {
  font-family: var(--shipendo-account-ui-font);
}

.shipendo-profile-report-page .shipendo-profile-layout,
.shipendo-profile-issues-page .shipendo-profile-layout {
  grid-template-columns: 292px minmax(0, 1fr);
  padding-left: 0;
  padding-right: 0;
}

.shipendo-profile-report-page .shipendo-profile-card,
.shipendo-profile-issues-page .shipendo-profile-card {
  padding-left: clamp(24px, 2.8vw, 44px);
  padding-right: clamp(24px, 2.8vw, 44px);
}

.shipendo-workspace-page .shipendo-workspace-layout {
  grid-template-columns: 292px minmax(0, 1fr);
}

@media (max-width: 1000px) {
  .shipendo-profile-page .shipendo-profile-layout,
  .shipendo-workspace-page .shipendo-profile-layout,
  .shipendo-profile-report-page .shipendo-profile-layout,
  .shipendo-profile-issues-page .shipendo-profile-layout {
    gap: 18px;
    grid-template-columns: 250px minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .shipendo-profile-page,
  .shipendo-workspace-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .shipendo-profile-page .shipendo-profile-layout,
  .shipendo-workspace-page .shipendo-profile-layout,
  .shipendo-profile-report-page .shipendo-profile-layout,
  .shipendo-profile-issues-page .shipendo-profile-layout {
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 42px 0 48px;
  }

  .shipendo-profile-page .shipendo-profile-sidebar,
  .shipendo-workspace-page .shipendo-profile-sidebar {
    position: static;
    width: 100%;
  }

  .shipendo-profile-page .shipendo-profile-card,
  .shipendo-workspace-page .shipendo-profile-card {
    padding: 28px 24px 34px;
  }
}
